@nebula.js/sn-pie-chart 1.27.2 → 1.27.4

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.
@@ -1,24 +1,24 @@
1
1
  /*
2
- * @nebula.js/sn-pie-chart v1.27.2
2
+ * @nebula.js/sn-pie-chart v1.27.4
3
3
  * Copyright (c) 2024 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
6
6
 
7
- System.register(["hammerjs","picasso.js","picasso-plugin-q","qlik-chart-modules","react","react-dom","@nebula.js/stardust","qlik-object-conversion"],(function(e){"use strict";var t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,x,S,w,C,k,E,T,R,M,P,O,D,I,A,q,N,L,z,j,_,$,F,H,W,B;return{setters:[function(e){t=e.default},function(e){n=e.default},function(e){r=e.default},function(e){o=e.getValue,i=e.setValue,a=e.selectionService,s=e.storage,l=e.cache,c=e.tooltipService,u=e.colorService,d=e.pluginService,p=e.themeService,f=e.debouncer,h=e.fontResolver},function(e){m=e.default,g=e,y=e.Children,v=e.isValidElement,b=e.cloneElement,x=e.forwardRef,S=e.useContext},function(e){w=e,C=e.default},function(e){k=e.useOptions,E=e.useElement,T=e.useSelections,R=e.useState,M=e.useLayout,P=e.useTranslator,O=e.useAction,D=e.useEffect,I=e.useModel,A=e.useApp,q=e.useStaleLayout,N=e.usePlugins,L=e.useConstraints,z=e.useTheme,j=e.useAppLayout,_=e.useEmbed,$=e.usePromise,F=e.useRect,H=e.onTakeSnapshot,W=e.useImperativeHandle},function(e){B=e.default}],execute:function(){var U={properties_dataPoints_labelmode_share:{id:"properties.dataPoints.labelmode.share",locale:{"en-US":"Share","zh-TW":"佔有率","zh-CN":"份额","tr-TR":"Pay","sv-SE":"Andel","it-IT":"Percentuale","es-ES":"Cuota","de-DE":"Anteil","pl-PL":"Udział","nl-NL":"Aandeel","ko-KR":"공유","pt-BR":"Percentual","fr-FR":"Part","ja-JP":"割合","ru-RU":"Доля"}},Tooltip_selections_locked:{id:"Tooltip.selections.locked",locale:{"en-US":"Selections on this dimension are locked","zh-TW":"已鎖定此維度上的選項","zh-CN":"相关维度的选择已锁定","tr-TR":"Bu boyuttaki seçimler kilitli","sv-SE":"Urval i den här dimensionen är låsta","it-IT":"Le selezioni in questa dimensione sono bloccate","es-ES":"Las selecciones de esta dimensión están bloqueadas.","de-DE":"Auswahlen sind für diese Dimension gesperrt","pl-PL":"Selekcje dotyczące tego wymiaru są zablokowane","nl-NL":"Selecties voor deze dimensie zijn vergrendeld","ko-KR":"이 차원의 선택은 잠겨 있습니다.","pt-BR":"Seleções estão bloqueadas nesta dimensão","fr-FR":"Sélections verrouillées pour cette dimension","ja-JP":"この軸での選択はロックされています","ru-RU":"Выборки для данного измерения заблокированы"}},Tooltip_dimensions_drilldown:{id:"Tooltip.dimensions.drilldown",locale:{"en-US":"Drill-down dimension","zh-TW":"向下探查維度","zh-CN":"下钻维度","tr-TR":"Detaya inme boyutu","sv-SE":"Hierarkisk dimension","it-IT":"Dimensione di drill-down","es-ES":"Dimensión jerárquica","de-DE":"Drilldown-Dimension:","pl-PL":"Wymiar hierarchiczny","nl-NL":"Drill-downdimensie","ko-KR":"드릴다운 차원","pt-BR":"Dimensão da hierarquia","fr-FR":"Descendre dans la hiérarchie de la dimension","ja-JP":"軸のドリルダウン","ru-RU":"Измерение с детализацией"}},Object_ErrorMessage_MissingDimension:{id:"Object.ErrorMessage.MissingDimension",locale:{"en-US":"Dimension not found","zh-TW":"找不到維度","zh-CN":"未找到维度","tr-TR":"Boyut bulunamadı","sv-SE":"Dimensionen hittades inte","it-IT":"Dimensione non trovata","es-ES":"No se ha encontrado la dimensión","de-DE":"Dimension nicht gefunden","pl-PL":"Wymiar nie został znaleziony","nl-NL":"Dimensie niet gevonden","ko-KR":"차원을 찾지 못했습니다.","pt-BR":"Dimensão não encontrada","fr-FR":"Dimension introuvable","ja-JP":"軸が見つかりません","ru-RU":"Измерение не найдено"}},Object_ErrorMessage_MissingMeasure:{id:"Object.ErrorMessage.MissingMeasure",locale:{"en-US":"Measure not found","zh-TW":"找不到量值","zh-CN":"未找到度量","tr-TR":"Hesaplama bulunamadı","sv-SE":"Måttet hittades inte","it-IT":"Misura non trovata","es-ES":"No se ha encontrado la medida","de-DE":"Kennzahl nicht gefunden","pl-PL":"Miara nie została znaleziona","nl-NL":"Meting niet gevonden","ko-KR":"측정값을 찾지 못했습니다.","pt-BR":"Medida não encontrada","fr-FR":"Mesure introuvable","ja-JP":"メジャーが見つかりません","ru-RU":"Мера не найдена"}},Object_Disclaimer_LimitedData:{id:"Object.Disclaimer.LimitedData",locale:{"en-US":"Currently showing a limited data set.","zh-TW":"目前顯示的是有限的資料集。","zh-CN":"当前正显示有限的数据集。","tr-TR":"Şu anda sınırlı bir veri kümesi gösteriliyor.","sv-SE":"Just nu visas en begränsad uppsättning data.","it-IT":"Attualmente viene visualizzata una serie di dati limitata.","es-ES":"Mostrando actualmente un conjunto limitado de datos.","de-DE":"Zurzeit wird nur ein beschränkter Datensatz angezeigt.","pl-PL":"Aktualnie przedstawiany jest ograniczony zestaw danych.","nl-NL":"Momenteel wordt een beperkte gegevensverzameling getoond.","ko-KR":"현재 제한된 데이터 집합을 표시하고 있습니다.","pt-BR":"Mostrando um conjunto de dados limitado.","fr-FR":"Affichage d'un ensemble de données limité pour l'instant.","ja-JP":"現在、限定的なデータ セットを表示しています。","ru-RU":"В настоящее время отображается ограниченный набор данных."}},Object_Disclaimer_OnlyNegativeOrZeroValues:{id:"Object.Disclaimer.OnlyNegativeOrZeroValues",locale:{"en-US":"The chart is not displayed because it contains only negative or zero values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含負值或零值。","zh-CN":"未显示图表,因为它仅包含负值或零值。","tr-TR":"Yalnızca negatif veya sıfır değerlerini içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller negativa eller nollvärden","it-IT":"Il grafico non viene visualizzato poiché contiene solo valori negativi o uguali a zero.","es-ES":"El gráfico no se muestra porque sólo contiene valores negativos o valores cero.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur negative oder 0-Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości ujemne lub zerowe.","nl-NL":"De grafiek wordt niet weergegeven omdat het alleen negatieve waarden of nulwaarden bevat.","ko-KR":"음수 또는 zero 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores negativos ou zero.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs négatives ou égales à zéro.","ja-JP":"チャートは負の値またはゼロ値しか含まれていないため、表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только отрицательные или нулевые значения."}},Object_Disclaimer_NegativeOrZeroValues:{id:"Object.Disclaimer.NegativeOrZeroValues",locale:{"en-US":"The data set contains negative or zero values that cannot be shown in this chart.","zh-TW":"資料集包含無法在此圖表中顯示的負值或零值。","zh-CN":"数据集中包含无法在此图表中显示的负值或零值。","tr-TR":"Veri kümesi, bu grafikte gösterilemeyen negatif veya sıfır değerlerini içeriyor.","sv-SE":"Datauppsättningen innehåller negativa värden eller nollvärden som inte kan visas i detta diagram.","it-IT":"La serie di dati contiene valori negativi o uguali a zero che non possono essere visualizzati in questo grafico.","es-ES":"El conjunto de datos contiene valores negativos o cero que no se pueden mostrar en este gráfico.","de-DE":"Die in den Datensätzen enthaltenen negativen oder 0-Werte können nicht in diesem Diagramm dargestellt werden.","pl-PL":"Zestaw danych zawiera wartości ujemne lub zerowe, których nie można przedstawić w tym wykresie.","nl-NL":"De gegevensverzameling bevat negatieve waarden of nulwaarden die niet kunnen worden weergegeven in deze grafiek.","ko-KR":"데이터 집합에 해당 차트에 표시할 수 없는 음수 값 또는 zero 값이 포함되어 있습니다.","pt-BR":"O conjunto de dados contém valores negativos ou iguais a zero que não podem ser mostrados neste gráfico.","fr-FR":"L'ensemble de données contient des valeurs négatives ou égales à zéro impossibles à afficher dans ce graphique.","ja-JP":"データ セットには、本チャートに表示できない負の値またはゼロ値が含まれています。","ru-RU":"Набор данных содержит отрицательные или нулевые значения, которые невозможно показать в этой диаграмме."}},Object_Disclaimer_DataRangeIncludingZero:{id:"Object.Disclaimer.DataRangeIncludingZero",locale:{"en-US":"The logarithmic scale has been replaced by a linear scale because the data range includes zero.","zh-TW":"對數刻度已遭線性刻度取代,因為資料範圍包含零。","zh-CN":"对数刻度已替换为线性刻度,因为该数据范围包括零。","tr-TR":"Veri aralığı sıfır değerini içerdiğinden, logaritmik ölçek yerine doğrusal ölçek kullanıldı.","sv-SE":"Den logaritmiska skalan har ersatts av en linjär skala eftersom dataintervallet innehåller värdet noll.","it-IT":"La scala logaritmica è stata sostituita da una scala lineare perché l'intervallo di dati include zero.","es-ES":"La escala logarítmica ha sido reemplazada por una escala lineal porque el rango de datos incluye cero.","de-DE":"Die logarithmische Skala wurde durch die lineare Skala ersetzt, weil der Datenbereich NULL enthält.","pl-PL":"Skala logarytmiczna została zastąpiona liniową, ponieważ zakres danych zawiera zero.","nl-NL":"De logaritmische schaal is vervangen door een lineaire schaal omdat het gegevensbereik nullen bevat.","ko-KR":"데이터 범위에 0이 포함되어 있으므로 로그 눈금이 선형 눈금으로 바뀌었습니다.","pt-BR":"A escala logarítmica foi substituída por uma escala linear, pois o intervalo de dados inclui zero.","fr-FR":"L'échelle logarithmique a été remplacée par une échelle linéaire, car la plage de données comprend la valeur zéro.","ja-JP":"データ範囲にゼロが含まれるため、Log スケールは Linear スケールで置換されています。","ru-RU":"Логарифмический масштаб заменен линейным масштабом, поскольку диапазон данных включает ноль."}},Object_Disclaimer_NoDataExist:{id:"Object.Disclaimer.NoDataExist",locale:{"en-US":"The selections generated no data for this chart.","zh-TW":"此選項無法產生任何適用於此圖表的資料。","zh-CN":"选择未生成此图表的数据。","tr-TR":"Seçimler bu grafik için hiç veri oluşturmadı.","sv-SE":"Urvalen genererade inga data för detta diagram.","it-IT":"Le selezioni non hanno generato dati per questo grafico.","es-ES":"Las selecciones no han generado datos para este gráfico.","de-DE":"Die Auswahlen haben für dieses Diagramm keine Daten generiert.","pl-PL":"Selekcje nie spowodowały wygenerowania danych dla tego wykresu.","nl-NL":"De selecties hebben geen gegevens voor de grafiek gegenereerd.","ko-KR":"선택 내용으로 해당 차트에 대한 데이터가 생성되지 않았습니다.","pt-BR":"As seleções não geraram dados para este gráfico.","fr-FR":"Les sélections n'ont pas généré de données pour ce graphique.","ja-JP":"このチャートには選択からデータが生成されませんでした。","ru-RU":"В результате выборок данные для этой диаграммы не созданы."}},Object_Disclaimer_OnlyNanData:{id:"Object.Disclaimer.OnlyNanData",locale:{"en-US":"The chart is not displayed because it contains only undefined values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含未定義的值。","zh-CN":"未显示图表,因为它仅包含未定义的值。","tr-TR":"Yalnızca tanımsız değerleri içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller odefinierade värden.","it-IT":"Il grafico non è visualizzato poiché contiene solo valori non definiti.","es-ES":"El gráfico no se muestra porque solo contiene valores indefinidos.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur nicht definierte Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości niezdefiniowane.","nl-NL":"De grafiek wordt niet weergegeven omdat deze alleen ongedefinieerde waarden bevat.","ko-KR":"정의되지 않은 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores não definidos.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs non définies.","ja-JP":"未定義の値しか含まれていないため、チャートは表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только неопределенные значения."}},Object_ChartTooltip_NMore:{id:"Object.ChartTooltip.NMore",locale:{"en-US":"+{0} more","zh-TW":"再加 {0} 個","zh-CN":"+{0} 个","tr-TR":"+{0} öğe daha","sv-SE":"+{0} till","it-IT":"Altre +{0}","es-ES":"+{0} más","de-DE":"+{0} mehr","pl-PL":"+ {0} więcej","nl-NL":"+ {0} meer","ko-KR":"+추가 {0}개","pt-BR":"+{0} mais","fr-FR":"+ {0} de plus","ja-JP":"さらに {0}","ru-RU":"+ дополнительно: {0}"}},Object_ChartTooltip_sumOfPositives:{id:"Object.ChartTooltip.sumOfPositives",locale:{"en-US":"Sum of positives","zh-TW":"正數總和","zh-CN":"正值总和","tr-TR":"Pozitif değerlerin toplamı","sv-SE":"Summan av positiva","it-IT":"Somma valori positivi","es-ES":"Suma de positivos","de-DE":"Summe positiver Werte","pl-PL":"Suma dodatnich","nl-NL":"Som positieven","ko-KR":"양수 합계","pt-BR":"Soma de positivos","fr-FR":"Sommes des valeurs positives","ja-JP":"正の合計","ru-RU":"Сумма положительных значений"}},Object_ChartTooltip_sumOfNegatives:{id:"Object.ChartTooltip.sumOfNegatives",locale:{"en-US":"Sum of negatives","zh-TW":"負數總和","zh-CN":"负值总和","tr-TR":"Negatif değerlerin toplamı","sv-SE":"Summan av negativa","it-IT":"Somma valori negativi","es-ES":"Suma de negativos","de-DE":"Summe negativer Werte","pl-PL":"Suma ujemnych","nl-NL":"Som negatieven","ko-KR":"음수 합계","pt-BR":"Soma de negativos","fr-FR":"Somme des valeurs négatives","ja-JP":"負の合計","ru-RU":"Сумма отрицательных значений"}},Object_ChartTooltip_ColorExpression:{id:"Object.ChartTooltip.ColorExpression",locale:{"en-US":"Color expression","zh-TW":"色彩運算式","zh-CN":"颜色表达式","tr-TR":"Renk ifadesi","sv-SE":"Färguttryck","it-IT":"Espressione colore","es-ES":"Expresión de color","de-DE":"Farbformel","pl-PL":"Wyrażenie koloru","nl-NL":"Kleuruitdrukking","ko-KR":"색상 표현식","pt-BR":"Expressão de cor","fr-FR":"Expression de couleur","ja-JP":"カラー表現","ru-RU":"Выражение для цвета"}},Object_Disclaimer_OnlyNanColor:{id:"Object.Disclaimer.OnlyNanColor",locale:{"en-US":"The data used to color this visualization only contains undefined values.","zh-TW":"用以定義此視覺化的色彩的資料只包含未定義的值。","zh-CN":"用于将该可视化着色的数据仅包含未定义的值。","tr-TR":"Bu görselleştirmeyi renklendirmek için kullanılan veriler yalnızca tanımlanmamış değerler içeriyor.","sv-SE":"Data som används för att färgsätta denna visualisering innehåller enbart odefinierade värden.","it-IT":"I dati utilizzati per colorare questa visualizzazione contengono solo valori non definiti.","es-ES":"Los datos utilizados para colorear esta visualización solo contienen valores indefinidos.","de-DE":"Die verwendeten Daten für die Farbgebung dieser Visualisierung enthalten undefinierte Werte.","pl-PL":"Dane używane do kolorowania tej wizualizacji zawierają wyłącznie niezdefiniowane wartości.","nl-NL":"De gegevens die worden gebruikt om deze visualisatie kleur te geven bevatten uitsluitend ongedefinieerde waarden.","ko-KR":"이 시각화에 색을 지정하는 데 사용된 데이터에는 정의되지 않은 값만 포함되어 있습니다.","pt-BR":"Os dados usados para colorir esse visualização contém somente valores indefinidos.","fr-FR":"Les données utilisées pour colorer cette visualisation ne comportent que des valeurs non définies.","ja-JP":"このビジュアライゼーションの色の割り当てに使用したデータには、未定義の値が含まれています。","ru-RU":"Данные, используемые для выбора цвета визуализации, содержат только неопределенные значения."}},properties_trendlines_types_average:{id:"properties.trendlines.types.average",locale:{"en-US":"Average","zh-TW":"平均值","zh-CN":"平均值","tr-TR":"Ortalama","sv-SE":"Medel","it-IT":"Media","es-ES":"Media","de-DE":"Durchschnitt","pl-PL":"Średnia","nl-NL":"Gemiddelde","ko-KR":"평균","pt-BR":"Média","fr-FR":"Moyenne","ja-JP":"平均値","ru-RU":"Среднее"}},properties_trendlines_types_linear:{id:"properties.trendlines.types.linear",locale:{"en-US":"Linear","zh-TW":"線性","zh-CN":"线性","tr-TR":"Doğrusal","sv-SE":"Linjär","it-IT":"Lineare","es-ES":"Lineal","de-DE":"Linear","pl-PL":"Liniowa","nl-NL":"Lineair","ko-KR":"선형","pt-BR":"Linear","fr-FR":"Linéaire","ja-JP":"線形","ru-RU":"Линейный"}},properties_trendlines_types_polynomial2:{id:"properties.trendlines.types.polynomial2",locale:{"en-US":"Second degree polynomial","zh-TW":"第二度多項式","zh-CN":"二次多项式","tr-TR":"İkinci derece polinom","sv-SE":"Polynomial, andra graden","it-IT":"Polinomio di secondo grado","es-ES":"Polinómica de segundo grado","de-DE":"Polynom zweiten Grades","pl-PL":"Wielomianowa drugiego stopnia","nl-NL":"Tweedegraadspolynoom","ko-KR":"2차 다항식","pt-BR":"Polinômio de segundo grau","fr-FR":"Polynomial du 2ème degré","ja-JP":"2 番目の角度の多項式近似","ru-RU":"Полиномиальный второй степени"}},properties_trendlines_types_polynomial3:{id:"properties.trendlines.types.polynomial3",locale:{"en-US":"Third degree polynomial","zh-TW":"第三度多項式","zh-CN":"三次多项式","tr-TR":"Üçüncü derece polinom","sv-SE":"Polynomial, tredje graden","it-IT":"Polinomio di terzo grado","es-ES":"Polinómica de tercer grado","de-DE":"Polynom dritten Grades","pl-PL":"Wielomianowa trzeciego stopnia","nl-NL":"Derdegraadspolynoom","ko-KR":"3차 다항식","pt-BR":"Polinômio de terceiro grau","fr-FR":"Polynomial du 3ème degré","ja-JP":"3 番目の角度の多項式近似","ru-RU":"Полиномиальный третьей степени"}},properties_trendlines_types_polynomial4:{id:"properties.trendlines.types.polynomial4",locale:{"en-US":"Fourth degree polynomial","zh-TW":"第四度多項式","zh-CN":"四次多项式","tr-TR":"Dördüncü derece polinom","sv-SE":"Polynomial, fjärde graden","it-IT":"Polinomio di quarto grado","es-ES":"Polinómica de cuarto grado","de-DE":"Polynom vierten Grades","pl-PL":"Wielomianowa czwartego stopnia","nl-NL":"Vierdegraadspolynoom","ko-KR":"4차 다항식","pt-BR":"Polinômio de quarto grau","fr-FR":"Polynomial du 4ème degré","ja-JP":"4 番目の角度の多項式近似","ru-RU":"Полиномиальный четвертой степени"}},properties_trendlines_types_exponential:{id:"properties.trendlines.types.exponential",locale:{"en-US":"Exponential","zh-TW":"指數","zh-CN":"指数","tr-TR":"Üstel","sv-SE":"Exponentiell","it-IT":"Esponenziale","es-ES":"Exponencial","de-DE":"Exponentiell","pl-PL":"Wykładnicze","nl-NL":"Exponentieel","ko-KR":"지수","pt-BR":"Exponencial","fr-FR":"Exponentiel","ja-JP":"指数","ru-RU":"Экспоненциальный"}},properties_trendlines_types_logarithmic:{id:"properties.trendlines.types.logarithmic",locale:{"en-US":"Logarithmic","zh-TW":"對數","zh-CN":"对数","tr-TR":"Logaritmik","sv-SE":"Logaritmisk","it-IT":"Logaritmica","es-ES":"Logarítmica","de-DE":"Logarithmisch","pl-PL":"Logarytmiczna","nl-NL":"Logaritmisch","ko-KR":"로그","pt-BR":"Logarítmico","fr-FR":"Logarithmique","ja-JP":"対数","ru-RU":"Логарифмический"}},properties_trendlines_types_power:{id:"properties.trendlines.types.power",locale:{"en-US":"Power","zh-TW":"乘冪","zh-CN":"幂","tr-TR":"Üs","sv-SE":"Potens","it-IT":"Potenza","es-ES":"Potencia","de-DE":"Potenz","pl-PL":"Potęgowa","nl-NL":"Macht","ko-KR":"거듭제곱","pt-BR":"Potência","fr-FR":"Puissance","ja-JP":"累乗","ru-RU":"Силовой"}},Common_Measures:{id:"Common.Measures",locale:{"en-US":"Measures","de-DE":"Kennzahlen","fr-FR":"Mesures","it-IT":"Misure","ja-JP":"メジャー","ko-KR":"측정값","es-ES":"Medidas","nl-NL":"Metingen","pl-PL":"Miary","pt-BR":"Medidas","sv-SE":"Mått","tr-TR":"Hesaplamalar","zh-CN":"度量","zh-TW":"量值","ru-RU":"Меры"}},Tooltip_ToggleOnLassoSelection:{id:"Tooltip.ToggleOnLassoSelection",locale:{"en-US":"Turn on lasso selection","de-DE":"Lasso-Auswahl aktivieren","fr-FR":"Activer la sélection au lasso","it-IT":"Attiva selezione lazo","ja-JP":"囲み選択をオンにする","ko-KR":"올가미 선택 켜기","es-ES":"Activar la selección de contorno","nl-NL":"Lassoselectie inschakelen","pl-PL":"Włącz zaznaczenie lasso","pt-BR":"Ativar seleção de laço","sv-SE":"Slå på lassourval","tr-TR":"Serbest seçimi aç","zh-CN":"开启套索选择方法","zh-TW":"開啟套索選取","ru-RU":"Включить выбор лассо"}},Tooltip_ToggleOffLassoSelection:{id:"Tooltip.ToggleOffLassoSelection",locale:{"en-US":"Turn off lasso selection","de-DE":"Lasso-Auswahl deaktivieren","fr-FR":"Désactiver la sélection au lasso","it-IT":"Disattiva selezione lazo","ja-JP":"囲み選択をオフにする","ko-KR":"올가미 선택 끄기","es-ES":"Desactivar la selección de contorno","nl-NL":"Lassoselectie uitschakelen","pl-PL":"Wyłącz zaznaczenie lasso","pt-BR":"Desativar seleção de laço","sv-SE":"Stäng av lassourval","tr-TR":"Serbest seçimi kapat","zh-CN":"关闭套索选择方法","zh-TW":"關閉套索選取","ru-RU":"Выключить выбор лассо"}}};const V={click:"Tap",Click:"Tap",tap:"Tap",pan:"Pan",swipe:"Swipe",rotate:"Rotate",press:"Press",pinch:"Pinch"};function G(e){return V[e]||e}function K(e){return function(t,n,r){let o,i,a,s,l=[],c=!0;function u(){"function"==typeof o.enable&&(o.enable=o.enable.bind(i)()),o.enable&&(o.gestures.forEach((t=>{t.options=t.options||{},void 0===t.options.enable&&(t.options.enable=!0),"function"==typeof t.options.enable&&(t.options.enable=t.options.enable.bind(i));const n=G(t.type);e&&e[n]&&(t.options.event=t.options.event||t.type.toLowerCase(),a=a||new e.Manager(r),a.add(new e[n](t.options)),Object.keys(t.events).forEach((e=>{t.events[e]=t.events[e].bind(i),a.on(e,t.events[e])})),l.push(t))})),o.gestures.forEach((t=>{const n=G(t.type);e&&e[n]&&(t.recognizeWith&&a.get(t.options.event).recognizeWith(t.recognizeWith.split(" ").filter((e=>""!==e))),t.requireFailure&&a.get(t.options.event).requireFailure(t.requireFailure.split(" ").filter((e=>""!==e))))})))}function d(){l.forEach((e=>{Object.keys(e.events).forEach((t=>{a.off(t,e.events[t])})),a.remove(e.options.event)})),l=[]}return{get key(){return s},set(e){!function(e){s=e.key,o=e,i={chart:t,mediator:n,settings:o},o.gestures=o.gestures||[],void 0===o.enable&&(o.enable=!0)}(e),d(),c&&u()},off(){c=!1,d()},on(){c=!0,0===l.length&&u()},destroy(){d(),a&&a.destroy(),a=null,i=null,o=null}}}}function Y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function X(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var Z=Object.prototype.hasOwnProperty,J=Object.prototype.toString,Q=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,te=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===J.call(e)},ne=function(e){if(!e||"[object Object]"!==J.call(e))return!1;var t,n=Z.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&Z.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||Z.call(e,t)},re=function(e,t){Q&&"__proto__"===t.name?Q(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},oe=function(e,t){if("__proto__"===t){if(!Z.call(e,t))return;if(ee)return ee(e,t).value}return e[t]},ie=function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=oe(s,n),s!==(o=oe(t,n))&&(u&&o&&(ne(o)||(i=te(o)))?(i?(i=!1,a=r&&te(r)?r:[]):a=r&&ne(r)?r:{},re(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&re(s,{name:n,newValue:o}));return s},ae=Y(ie);const se="center",le="bottom";var ce={NoDataExist:{label:"NoDataExist",alignment:se,default:!0},OnlyNanData:{label:"OnlyNanData",alignment:se,default:!0},OnlyNegativeOrZeroValues:{label:"OnlyNegativeOrZeroValues",alignment:se,default:!1},LimitedData:{label:"LimitedData",alignment:le,default:!1},OnlyNanColor:{label:"OnlyNanColor",alignment:le,default:!1},NegativeOrZeroValues:{label:"NegativeOrZeroValues",alignment:le,default:!1},DataRangeIncludingZero:{label:"DataRangeIncludingZero",alignment:le,default:!1}};const ue=[["FULL",{width:550,height:450}],["MEDIUM",{width:400,height:220}],["SMALL",{width:300,height:150}],["XSMALL",{width:150,height:75}],["SPARK",{width:0,height:0}]],de={};ue.forEach((([e,{width:t,height:n}])=>{de[e]={width:t,height:n}}));const pe={getLayoutModes:()=>de,getLayoutMode(e,t){let n;for(n=0;n<ue.length;++n)if(e>=ue[n][1].width&&t>=ue[n][1].height)return ue[n][0];return"SPARK"}};function fe(e,t){return{layoutModes:pe.getLayoutModes(),center:void 0!==t.minCenterRatio?{minWidthRatio:t.minCenterRatio,minHeightRatio:t.minCenterRatio}:void 0,logicalSize:t.logicalSize?{align:.5,preserveAspectRatio:!0,...t.logicalSize}:void 0}}const he=/^[A-Z][A-z0-9_]*$/i,me={setValue:(e,t,n)=>{if(!t)return!1;const r=t.split("."),o=r[r.length-1];let i,a=e;for(i=0;i<r.length-1;++i)void 0===a[r[i]]&&(a[r[i]]=Number.isNaN(+r[i+1])?{}:[]),a=a[r[i]];if(void 0!==n){const e=a[o];return a[o]=n,{updated:n,previous:e}}return delete a[o],!1},getValue:(e,t,n)=>{const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(void 0===i[r[o]])return n;i=i[r[o]]}return i},moveArrayElement:(e,t,n)=>{if(n>=e.length){let t=n-e.length;for(;1+t--;)e.push(void 0)}e.splice(n,0,e.splice(t,1)[0])},escapeField:e=>{let t;return t=!e||"]"===e||he.test(e)?e:`[${e.replace(/\]/g,"]]")}]`,t},deleteUndefinedProperties:e=>{Object.keys(e).forEach((t=>{void 0===e[t]&&delete e[t]}))},shouldUseFormat:e=>!e.isCustomFormatted&&(e.qIsAutoFormat||"U"===e.qNumFormat.qType)};function ge(e,t){const n=e.component(t);return n&&n._DO_NOT_USE_getInfo&&n._DO_NOT_USE_getInfo().offset}const ye=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͽΆΈ-ϵϷ-҂Ҋ-։ः-हऻऽ-ीॉ-ौॎ-ॐक़-ॡ।-ॿং-হঽ-ীে-ৌৎ-ৡ০-ৱ৴-৺ਃ-ਹਾ-ੀਖ਼-੯ੲ-ੴઃ-હઽ-ીૉ-ૌૐ-ૡ૦-૯ଂ-ହଽ-ାୀେ-ୌୗ-ୡ୦-୷ஃ-ிு-ௌௐ-௲ఁ-ఽు-ౄౘ-ౡ౦-౯౿-ಹಽ-ೋೕ-ೡ೦-ീെ-ൌൎ-ൡ൦-ෆා-ෑෘ-ะา-ำเ-ๆ๏-ະາ-ຳຽ-ໆ໐-༗༚-༴༶༸༾-ཬཿ྅ྈ-ྌ྾-࿅࿇-ာေးျ-ြဿ-ၗၚ-ၝၡ-ၰၵ-ႁႃ-ႄႇ-ႌႎ-ႜ႞-ፚ፠-ᎏᎠ-Ᏼᐁ-ᙿᚁ-ᚚᚠ-ᜑᜠ-ᜱ᜵-ᝑᝠ-ᝰក-ាើ-ៅះ-ៈ។-៚ៜ០-៩᠐-ᢨᢪ-ᤜᤣ-ᤦᤩ-ᤱᤳ-ᤸ᥆-᧚ᨀ-ᨖᨙ-ᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪭ᬄ-ᬳᬵᬻᬽ-ᭁᭃ-᭪᭴-᭼ᮂ-ᮡᮦ-ᮧ᮪-ᯥᯧᯪ-ᯬᯮ᯲-ᰫᰴ-ᰵ᰻-᱿᳓᳡ᳩ-ᳬᳮ-ᶿḀ-ᾼιῂ-ῌῐ-Ίῠ-Ῥῲ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ-⅏Ⅰ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-ⳤⳫ-ⳮⴀ-⵰ⶀ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ㆺㇰ-㈜㈠-㉏㉠-㉻㉿-㊰㋀-㋋㋐-㍶㍻-㏝㏠-㏾㐀-䶵一-ꒌꓐ-ꘌꘐ-ꙮꚀ-ꛯ꛲-꛷Ꜣ-ꞇ꞉-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠤꠧ꠰-꠷ꡀ-ꡳꢀ-ꣃ꣎-꣙ꣲ-ꤥ꤮-ꥆꥒ-ꥼꦃ-ꦲꦴ-ꦵꦺ-ꦻꦽ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂ-ꯤꯦ-ꯧꯩ-꯬꯰-ﬗA-Za-zヲ-ᅵ]"),ve=new RegExp("[־׀׃׆א-״߀-ߪߴ-ߵߺ-ࠕࠚࠤࠨ࠰-ࡘ࡞‏יִײַ-ﬨשׁ-ﭏ]"),be=new RegExp("[؈؋؍؛-ي٭-ٯٱ-ەۥ-ۦۮ-ۯۺ-܍ܐܒ-ܯݍ-ޥޱﭐ-ﴽﵐ-﷼ﹰ-ﻼ]"),xe={lrm:String.fromCharCode(8206),rlm:String.fromCharCode(8207),isLtrChar:e=>ye.test(e),isRtlChar:e=>ve.test(e)||be.test(e),detectTextDirection(e){const t=e?e.length:0;let n,r;for(n=0;n<t;n++){if(r=e[n],xe.isLtrChar(r))return"ltr";if(xe.isRtlChar(r))return"rtl"}return"ltr"}},Se={getColorSymbol:(e,t)=>e.h("div",{style:{display:"inline-block",width:"10px",height:"10px","background-color":t.color.fill,margin:"0 8px"}}),getNodeFillColor:e=>e.attrs&&void 0!==e.attrs.fill?e.attrs.fill:e.children&&e.children[0]&&e.children[0].attrs&&void 0!==e.children[0].attrs.fill?e.children[0].attrs.fill:void 0,getColor(e,t,n){const r=t.data,o=e.resources.formatter,i=e.resources.dataset,a={};if(n.coloring.label&&(a.label=`${n.coloring.label}`),"color"!==n.coloring.type&&r.fillTooltip){const e=o("fill"),t="measure"===n.coloring.fieldType;if(a.value=t&&e?e(r.fillTooltip.value):r.fillTooltip.label?r.fillTooltip.label:r.fillTooltip.value,!n.coloring.label){const e=i(r.fillTooltip.source.key).field(r.fillTooltip.source.field).title();a.label=`${e}`}}return a.fill=void 0===r._fillColor?Se.getNodeFillColor(t):r._fillColor,a},getMeasure:(e,t)=>({label:`${e(t.source.key).field(t.source.field).title()}`,value:""===t.label||"NaN"===t.label?"-":t.label,field:t.source.field}),hideColorRow:(e,t)=>void 0===e.color.value||e.measures.some((e=>e.field===t.coloring.field)),getTitleRow(e,t){const n=xe.detectTextDirection(e.title);return[{content:e.title,style:{"font-weight":"bold","text-align":t?"right":"left",direction:n},colspan:2},{}]},getDescriptionRow(e,t){const n=xe.detectTextDirection(e.value);return[{content:e.value,style:{"text-align":t?"right":"left",direction:n},colspan:2},{}]},getNMoreRow(e,t,n){const r=t?t.get("Object.ChartTooltip.NMore",e):`+${e} more`;return[{content:r,style:{"font-weight":"bold","text-align":n?"right":"left",direction:xe.detectTextDirection(r)},colspan:2},{}]},getSeparatorRow:()=>[{content:"",style:{"background-image":"linear-gradient(transparent 8px, rgba(255, 255, 255, 0.4) 8px, rgba(255, 255, 255, 0.4) 9.2px, transparent 9.2px)",height:"17px"},colspan:2},{}],getColorRow(e,t,n){const r=xe.detectTextDirection(t.color.label),o=n?[":",t.color.label]:[t.color.label,":"],i=xe.detectTextDirection(t.color.value);return[{content:o,style:{"text-align":n?"right":"left",direction:r}},{content:n?[t.color.value,Se.getColorSymbol(e,t)]:[Se.getColorSymbol(e,t),t.color.value],style:{"text-align":n?"left":"right",direction:i,"vertical-align":"middle"}}]},getMeasureRow(e,t,n,r,o=!1){const i=xe.detectTextDirection(e.label),a=r?[":",e.label]:[e.label,":"],s=xe.detectTextDirection(e.value);let l;return l=o?r?[e.value,Se.getColorSymbol(t,n)]:[Se.getColorSymbol(t,n),e.value]:[e.value],[{content:a,style:{"text-align":r?"right":"left",direction:i}},{content:l,style:{"text-align":r?"left":"right",direction:s,"vertical-align":"middle"}}]}};function we(e){const t=parseInt(e,10);if(!isNaN(t))return t}const Ce=e=>t=>e.getContrastingColorTo(t.node.attrs.fill);function ke(e,t){const n=e.styleService.label.value.getStyle();return{padding:10,placements:e.simplifiedPlacements.map((n=>function(e,t,n){const r=n.themeService.getStyles(),o=n.styleService.label.value.getStyle(),i=o.fill===r.label.value.color;return{position:e.position,justify:e.justify,fill:i&&!e.onBackground?Ce(t):o.fill,overflow:e.overflow,padding:e.padding}}(n,t,e))),fontSize:we(n.fontSize),fontFamily:n.fontFamily,label:e.label}}function Ee(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Te(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Re(){}var Me=.7,Pe=1/Me,Oe="\\s*([+-]?\\d+)\\s*",De="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ie="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ae=/^#([0-9a-f]{3,8})$/,qe=new RegExp(`^rgb\\(${Oe},${Oe},${Oe}\\)$`),Ne=new RegExp(`^rgb\\(${Ie},${Ie},${Ie}\\)$`),Le=new RegExp(`^rgba\\(${Oe},${Oe},${Oe},${De}\\)$`),ze=new RegExp(`^rgba\\(${Ie},${Ie},${Ie},${De}\\)$`),je=new RegExp(`^hsl\\(${De},${Ie},${Ie}\\)$`),_e=new RegExp(`^hsla\\(${De},${Ie},${Ie},${De}\\)$`),$e={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Fe(){return this.rgb().formatHex()}function He(){return this.rgb().formatRgb()}function We(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Ae.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Be(t):3===n?new Ge(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ue(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ue(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=qe.exec(e))?new Ge(t[1],t[2],t[3],1):(t=Ne.exec(e))?new Ge(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Le.exec(e))?Ue(t[1],t[2],t[3],t[4]):(t=ze.exec(e))?Ue(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=je.exec(e))?Qe(t[1],t[2]/100,t[3]/100,1):(t=_e.exec(e))?Qe(t[1],t[2]/100,t[3]/100,t[4]):$e.hasOwnProperty(e)?Be($e[e]):"transparent"===e?new Ge(NaN,NaN,NaN,0):null}function Be(e){return new Ge(e>>16&255,e>>8&255,255&e,1)}function Ue(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ge(e,t,n,r)}function Ve(e){return e instanceof Re||(e=We(e)),e?new Ge((e=e.rgb()).r,e.g,e.b,e.opacity):new Ge}function Ge(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ke(){return`#${Je(this.r)}${Je(this.g)}${Je(this.b)}`}function Ye(){const e=Xe(this.opacity);return`${1===e?"rgb(":"rgba("}${Ze(this.r)}, ${Ze(this.g)}, ${Ze(this.b)}${1===e?")":`, ${e})`}`}function Xe(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ze(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Je(e){return((e=Ze(e))<16?"0":"")+e.toString(16)}function Qe(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new tt(e,t,n,r)}function et(e){if(e instanceof tt)return new tt(e.h,e.s,e.l,e.opacity);if(e instanceof Re||(e=We(e)),!e)return new tt;if(e instanceof tt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new tt(a,s,l,e.opacity)}function tt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function nt(e){return(e=(e||0)%360)<0?e+360:e}function rt(e){return Math.max(0,Math.min(1,e||0))}function ot(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Ee(Re,We,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Fe,formatHex:Fe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return et(this).formatHsl()},formatRgb:He,toString:He}),Ee(Ge,(function(e,t,n,r){return 1===arguments.length?Ve(e):new Ge(e,t,n,null==r?1:r)}),Te(Re,{brighter(e){return e=null==e?Pe:Math.pow(Pe,e),new Ge(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Me:Math.pow(Me,e),new Ge(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ge(Ze(this.r),Ze(this.g),Ze(this.b),Xe(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ke,formatHex:Ke,formatHex8:function(){return`#${Je(this.r)}${Je(this.g)}${Je(this.b)}${Je(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ye,toString:Ye})),Ee(tt,(function(e,t,n,r){return 1===arguments.length?et(e):new tt(e,t,n,null==r?1:r)}),Te(Re,{brighter(e){return e=null==e?Pe:Math.pow(Pe,e),new tt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Me:Math.pow(Me,e),new tt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ge(ot(e>=240?e-240:e+120,o,r),ot(e,o,r),ot(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new tt(nt(this.h),rt(this.s),rt(this.l),Xe(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Xe(this.opacity);return`${1===e?"hsl(":"hsla("}${nt(this.h)}, ${100*rt(this.s)}%, ${100*rt(this.l)}%${1===e?")":`, ${e})`}`}}));const it=Math.PI/180,at=180/Math.PI,st=.96422,lt=1,ct=.82521,ut=4/29,dt=6/29,pt=3*dt*dt,ft=dt*dt*dt;function ht(e){if(e instanceof mt)return new mt(e.l,e.a,e.b,e.opacity);if(e instanceof St)return wt(e);e instanceof Ge||(e=Ve(e));var t,n,r=bt(e.r),o=bt(e.g),i=bt(e.b),a=gt((.2225045*r+.7168786*o+.0606169*i)/lt);return r===o&&o===i?t=n=a:(t=gt((.4360747*r+.3850649*o+.1430804*i)/st),n=gt((.0139322*r+.0971045*o+.7141733*i)/ct)),new mt(116*a-16,500*(t-a),200*(a-n),e.opacity)}function mt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function gt(e){return e>ft?Math.pow(e,1/3):e/pt+ut}function yt(e){return e>dt?e*e*e:pt*(e-ut)}function vt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function bt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function xt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof St)return new St(e.h,e.c,e.l,e.opacity);if(e instanceof mt||(e=ht(e)),0===e.a&&0===e.b)return new St(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*at;return new St(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new St(e,t,n,null==r?1:r)}function St(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function wt(e){if(isNaN(e.h))return new mt(e.l,0,0,e.opacity);var t=e.h*it;return new mt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function Ct(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}Ee(mt,(function(e,t,n,r){return 1===arguments.length?ht(e):new mt(e,t,n,null==r?1:r)}),Te(Re,{brighter(e){return new mt(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new mt(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ge(vt(3.1338561*(t=st*yt(t))-1.6168667*(e=lt*yt(e))-.4906146*(n=ct*yt(n))),vt(-.9787684*t+1.9161415*e+.033454*n),vt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Ee(St,xt,Te(Re,{brighter(e){return new St(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new St(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return wt(this).rgb()}})),function(e){1===e.length&&(e=function(e){return function(t,n){return Ct(e(t),n)}}(e))}(Ct);var kt="$";function Et(){}function Tt(e,t){var n=new Et;if(e instanceof Et)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(r=e[o],o,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}function Rt(){}Et.prototype=Tt.prototype={constructor:Et,has:function(e){return kt+e in this},get:function(e){return this[kt+e]},set:function(e,t){return this[kt+e]=t,this},remove:function(e){var t=kt+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===kt&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===kt&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===kt&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===kt&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===kt&&++e;return e},empty:function(){for(var e in this)if(e[0]===kt)return!1;return!0},each:function(e){for(var t in this)t[0]===kt&&e(this[t],t.slice(1),this)}};var Mt=Tt.prototype;function Pt(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Ot(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Dt(){}Rt.prototype={constructor:Rt,has:Mt.has,add:function(e){return this[kt+(e+="")]=e,this},remove:Mt.remove,clear:Mt.clear,values:Mt.keys,size:Mt.size,empty:Mt.empty,each:Mt.each};var It=.7,At=1/It,qt="\\s*([+-]?\\d+)\\s*",Nt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Lt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zt=/^#([0-9a-f]{3})$/,jt=/^#([0-9a-f]{6})$/,_t=new RegExp("^rgb\\("+[qt,qt,qt]+"\\)$"),$t=new RegExp("^rgb\\("+[Lt,Lt,Lt]+"\\)$"),Ft=new RegExp("^rgba\\("+[qt,qt,qt,Nt]+"\\)$"),Ht=new RegExp("^rgba\\("+[Lt,Lt,Lt,Nt]+"\\)$"),Wt=new RegExp("^hsl\\("+[Nt,Lt,Lt]+"\\)$"),Bt=new RegExp("^hsla\\("+[Nt,Lt,Lt,Nt]+"\\)$"),Ut={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Vt(e){var t;return e=(e+"").trim().toLowerCase(),(t=zt.exec(e))?new Zt((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=jt.exec(e))?Gt(parseInt(t[1],16)):(t=_t.exec(e))?new Zt(t[1],t[2],t[3],1):(t=$t.exec(e))?new Zt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ft.exec(e))?Kt(t[1],t[2],t[3],t[4]):(t=Ht.exec(e))?Kt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Wt.exec(e))?Qt(t[1],t[2]/100,t[3]/100,1):(t=Bt.exec(e))?Qt(t[1],t[2]/100,t[3]/100,t[4]):Ut.hasOwnProperty(e)?Gt(Ut[e]):"transparent"===e?new Zt(NaN,NaN,NaN,0):null}function Gt(e){return new Zt(e>>16&255,e>>8&255,255&e,1)}function Kt(e,t,n,r){return r<=0&&(e=t=n=NaN),new Zt(e,t,n,r)}function Yt(e){return e instanceof Dt||(e=Vt(e)),e?new Zt((e=e.rgb()).r,e.g,e.b,e.opacity):new Zt}function Xt(e,t,n,r){return 1===arguments.length?Yt(e):new Zt(e,t,n,null==r?1:r)}function Zt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Jt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Qt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new en(e,t,n,r)}function en(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function tn(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Pt(Dt,Vt,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Pt(Zt,Xt,Ot(Dt,{brighter:function(e){return e=null==e?At:Math.pow(At,e),new Zt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?It:Math.pow(It,e),new Zt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Jt(this.r)+Jt(this.g)+Jt(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Pt(en,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof en)return new en(e.h,e.s,e.l,e.opacity);if(e instanceof Dt||(e=Vt(e)),!e)return new en;if(e instanceof en)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new en(a,s,l,e.opacity)}(e):new en(e,t,n,null==r?1:r)}),Ot(Dt,{brighter:function(e){return e=null==e?At:Math.pow(At,e),new en(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?It:Math.pow(It,e),new en(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Zt(tn(e>=240?e-240:e+120,o,r),tn(e,o,r),tn(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var nn=Math.PI/180,rn=180/Math.PI,on=.96422,an=1,sn=.82521,ln=4/29,cn=6/29,un=3*cn*cn,dn=cn*cn*cn;function pn(e){if(e instanceof fn)return new fn(e.l,e.a,e.b,e.opacity);if(e instanceof vn){if(isNaN(e.h))return new fn(e.l,0,0,e.opacity);var t=e.h*nn;return new fn(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Zt||(e=Yt(e));var n,r,o=yn(e.r),i=yn(e.g),a=yn(e.b),s=hn((.2225045*o+.7168786*i+.0606169*a)/an);return o===i&&i===a?n=r=s:(n=hn((.4360747*o+.3850649*i+.1430804*a)/on),r=hn((.0139322*o+.0971045*i+.7141733*a)/sn)),new fn(116*s-16,500*(n-s),200*(s-r),e.opacity)}function fn(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function hn(e){return e>dn?Math.pow(e,1/3):e/un+ln}function mn(e){return e>cn?e*e*e:un*(e-ln)}function gn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function yn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function vn(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}Pt(fn,(function(e,t,n,r){return 1===arguments.length?pn(e):new fn(e,t,n,null==r?1:r)}),Ot(Dt,{brighter:function(e){return new fn(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new fn(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Zt(gn(3.1338561*(t=on*mn(t))-1.6168667*(e=an*mn(e))-.4906146*(n=sn*mn(n))),gn(-.9787684*t+1.9161415*e+.033454*n),gn(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Pt(vn,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof vn)return new vn(e.h,e.c,e.l,e.opacity);if(e instanceof fn||(e=pn(e)),0===e.a&&0===e.b)return new vn(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*rn;return new vn(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new vn(e,t,n,null==r?1:r)}),Ot(Dt,{brighter:function(e){return new vn(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new vn(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return pn(this).rgb()}}));var bn=-.14861,xn=1.78277,Sn=-.29227,wn=-.90649,Cn=1.97294,kn=Cn*wn,En=Cn*xn,Tn=xn*Sn-wn*bn;function Rn(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Mn)return new Mn(e.h,e.s,e.l,e.opacity);e instanceof Zt||(e=Yt(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Tn*r+kn*t-En*n)/(Tn+kn-En),i=r-o,a=(Cn*(n-o)-Sn*i)/wn,s=Math.sqrt(a*a+i*i)/(Cn*o*(1-o)),l=s?Math.atan2(a,i)*rn-120:NaN;return new Mn(l<0?l+360:l,s,o,e.opacity)}(e):new Mn(e,t,n,null==r?1:r)}function Mn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Pn(e){return function(){return e}}function On(e,t){return function(n){return e+n*t}}function Dn(e){return 1==(e=+e)?In:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Pn(isNaN(t)?n:t)}}function In(e,t){var n=t-e;return n?On(e,n):Pn(isNaN(e)?t:e)}function An(e){return function t(n){function r(t,r){var o=e((t=Rn(t)).h,(r=Rn(r)).h),i=In(t.s,r.s),a=In(t.l,r.l),s=In(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}function qn(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}Pt(Mn,Rn,Ot(Dt,{brighter:function(e){return e=null==e?At:Math.pow(At,e),new Mn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?It:Math.pow(It,e),new Mn(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*nn,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Zt(255*(t+n*(bn*r+xn*o)),255*(t+n*(Sn*r+wn*o)),255*(t+n*(Cn*r)),this.opacity)}})),function e(t){var n=Dn(t);function r(e,t){var r=n((e=Xt(e)).r,(t=Xt(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=In(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1),An((function(e,t){var n=t-e;return n?On(e,n>180||n<-180?n-360*Math.round(n/360):n):Pn(isNaN(e)?t:e)})),An(In);var Nn,Ln=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zn(e){return new jn(e)}function jn(e){if(!(t=Ln.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}function _n(e,t){var n=qn(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}zn.prototype=jn.prototype,jn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var $n={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return _n(100*e,t)},r:_n,s:function(e,t){var n=qn(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Nn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+qn(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Fn(e){return e}var Hn,Wn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Bn(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}):Fn,o=e.currency,i=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(e.numerals):Fn,s=e.percent||"%";function l(e){var t=(e=zn(e)).fill,n=e.align,l=e.sign,c=e.symbol,u=e.zero,d=e.width,p=e.comma,f=e.precision,h=e.trim,m=e.type;"n"===m?(p=!0,m="g"):$n[m]||(null==f&&(f=12),h=!0,m="g"),(u||"0"===t&&"="===n)&&(u=!0,t="0",n="=");var g="$"===c?o[0]:"#"===c&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",y="$"===c?o[1]:/[%p]/.test(m)?s:"",v=$n[m],b=/[defgprs%]/.test(m);function x(e){var o,s,c,x=g,S=y;if("c"===m)S=v(e)+S,e="";else{var w=(e=+e)<0;if(e=v(Math.abs(e),f),h&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(o>0){if(!+e[r])break e;o=0}}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),w&&0==+e&&(w=!1),x=(w?"("===l?l:"-":"-"===l||"("===l?"":l)+x,S=("s"===m?Wn[8+Nn/3]:"")+S+(w&&"("===l?")":""),b)for(o=-1,s=e.length;++o<s;)if(48>(c=e.charCodeAt(o))||c>57){S=(46===c?i+e.slice(o+1):e.slice(o))+S,e=e.slice(0,o);break}}p&&!u&&(e=r(e,1/0));var C=x.length+e.length+S.length,k=C<d?new Array(d-C+1).join(t):"";switch(p&&u&&(e=r(k+e,k.length?d-S.length:1/0),k=""),n){case"<":e=x+e+S+k;break;case"=":e=x+k+e+S;break;case"^":e=k.slice(0,C=k.length>>1)+x+e+S+k.slice(C);break;default:e=k+x+e+S}return a(e)}return f=null==f?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),x.toString=function(){return e+""},x}return{format:l,formatPrefix:function(e,t){var n=l(((e=zn(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=qn(Math.abs(e)))?e[1]:NaN}(t)/3))),o=Math.pow(10,-r),i=Wn[8+r/3];return function(e){return n(o*e)+i}}}}!function(e){Hn=Bn(e),Hn.format,Hn.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Un=new Date,Vn=new Date;function Gn(e,t,n,r){function o(t){return e(t=new Date(+t)),t}return o.floor=o,o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,s=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return s;do{s.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return s},o.filter=function(n){return Gn((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return Un.setTime(+t),Vn.setTime(+r),e(Un),e(Vn),Math.floor(n(Un,Vn))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var Kn=Gn((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Kn.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Gn((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Kn:null},Kn.range;var Yn=1e3,Xn=6e4,Zn=36e5,Jn=864e5,Qn=6048e5;Gn((function(e){e.setTime(Math.floor(e/Yn)*Yn)}),(function(e,t){e.setTime(+e+t*Yn)}),(function(e,t){return(t-e)/Yn}),(function(e){return e.getUTCSeconds()})).range,Gn((function(e){e.setTime(Math.floor(e/Xn)*Xn)}),(function(e,t){e.setTime(+e+t*Xn)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getMinutes()})).range,Gn((function(e){var t=e.getTimezoneOffset()*Xn%Zn;t<0&&(t+=Zn),e.setTime(Math.floor((+e-t)/Zn)*Zn+t)}),(function(e,t){e.setTime(+e+t*Zn)}),(function(e,t){return(t-e)/Zn}),(function(e){return e.getHours()})).range;var er=Gn((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Xn)/Jn}),(function(e){return e.getDate()-1}));function tr(e){return Gn((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Xn)/Qn}))}er.range;var nr=tr(0),rr=tr(1),or=tr(2),ir=tr(3),ar=tr(4),sr=tr(5),lr=tr(6);nr.range,rr.range,or.range,ir.range,ar.range,sr.range,lr.range,Gn((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})).range;var cr=Gn((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));cr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Gn((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},cr.range,Gn((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Xn)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getUTCMinutes()})).range,Gn((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Zn)}),(function(e,t){return(t-e)/Zn}),(function(e){return e.getUTCHours()})).range;var ur=Gn((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Jn}),(function(e){return e.getUTCDate()-1}));function dr(e){return Gn((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Qn}))}ur.range;var pr=dr(0),fr=dr(1),hr=dr(2),mr=dr(3),gr=dr(4),yr=dr(5),vr=dr(6);pr.range,fr.range,hr.range,mr.range,gr.range,yr.range,vr.range,Gn((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})).range;var br=Gn((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function xr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Sr(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function wr(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}br.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Gn((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},br.range;var Cr,kr,Er,Tr={"-":"",_:" ",0:"0"},Rr=/^\s*\d+/,Mr=/^%/,Pr=/[\\^$*+?|[\]().{}]/g;function Or(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Dr(e){return e.replace(Pr,"\\$&")}function Ir(e){return new RegExp("^(?:"+e.map(Dr).join("|")+")","i")}function Ar(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function qr(e,t,n){var r=Rr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Nr(e,t,n){var r=Rr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function _r(e,t,n){var r=Rr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function $r(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Fr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Hr(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Wr(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Br(e,t,n){var r=Rr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Ur(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Vr(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Gr(e,t,n){var r=Rr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Kr(e,t,n){var r=Rr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Yr(e,t,n){var r=Rr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Xr(e,t,n){var r=Mr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Zr(e,t,n){var r=Rr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Jr(e,t,n){var r=Rr.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function Qr(e,t){return Or(e.getDate(),t,2)}function eo(e,t){return Or(e.getHours(),t,2)}function to(e,t){return Or(e.getHours()%12||12,t,2)}function no(e,t){return Or(1+er.count(cr(e),e),t,3)}function ro(e,t){return Or(e.getMilliseconds(),t,3)}function oo(e,t){return ro(e,t)+"000"}function io(e,t){return Or(e.getMonth()+1,t,2)}function ao(e,t){return Or(e.getMinutes(),t,2)}function so(e,t){return Or(e.getSeconds(),t,2)}function lo(e){var t=e.getDay();return 0===t?7:t}function co(e,t){return Or(nr.count(cr(e),e),t,2)}function uo(e,t){var n=e.getDay();return e=n>=4||0===n?ar(e):ar.ceil(e),Or(ar.count(cr(e),e)+(4===cr(e).getDay()),t,2)}function po(e){return e.getDay()}function fo(e,t){return Or(rr.count(cr(e),e),t,2)}function ho(e,t){return Or(e.getFullYear()%100,t,2)}function mo(e,t){return Or(e.getFullYear()%1e4,t,4)}function go(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Or(t/60|0,"0",2)+Or(t%60,"0",2)}function yo(e,t){return Or(e.getUTCDate(),t,2)}function vo(e,t){return Or(e.getUTCHours(),t,2)}function bo(e,t){return Or(e.getUTCHours()%12||12,t,2)}function xo(e,t){return Or(1+ur.count(br(e),e),t,3)}function So(e,t){return Or(e.getUTCMilliseconds(),t,3)}function wo(e,t){return So(e,t)+"000"}function Co(e,t){return Or(e.getUTCMonth()+1,t,2)}function ko(e,t){return Or(e.getUTCMinutes(),t,2)}function Eo(e,t){return Or(e.getUTCSeconds(),t,2)}function To(e){var t=e.getUTCDay();return 0===t?7:t}function Ro(e,t){return Or(pr.count(br(e),e),t,2)}function Mo(e,t){var n=e.getUTCDay();return e=n>=4||0===n?gr(e):gr.ceil(e),Or(gr.count(br(e),e)+(4===br(e).getUTCDay()),t,2)}function Po(e){return e.getUTCDay()}function Oo(e,t){return Or(fr.count(br(e),e),t,2)}function Do(e,t){return Or(e.getUTCFullYear()%100,t,2)}function Io(e,t){return Or(e.getUTCFullYear()%1e4,t,4)}function Ao(){return"+0000"}function qo(){return"%"}function No(e){return+e}function Lo(e){return Math.floor(+e/1e3)}!function(e){Cr=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Ir(o),u=Ar(o),d=Ir(i),p=Ar(i),f=Ir(a),h=Ar(a),m=Ir(s),g=Ar(s),y=Ir(l),v=Ar(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Qr,e:Qr,f:oo,H:eo,I:to,j:no,L:ro,m:io,M:ao,p:function(e){return o[+(e.getHours()>=12)]},Q:No,s:Lo,S:so,u:lo,U:co,V:uo,w:po,W:fo,x:null,X:null,y:ho,Y:mo,Z:go,"%":qo},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:yo,e:yo,f:wo,H:vo,I:bo,j:xo,L:So,m:Co,M:ko,p:function(e){return o[+(e.getUTCHours()>=12)]},Q:No,s:Lo,S:Eo,u:To,U:Ro,V:Mo,w:Po,W:Oo,x:null,X:null,y:Do,Y:Io,Z:Ao,"%":qo},S={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:Wr,e:Wr,f:Yr,H:Ur,I:Ur,j:Br,L:Kr,m:Hr,M:Vr,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u[r[0].toLowerCase()],n+r[0].length):-1},Q:Zr,s:Jr,S:Gr,u:Nr,U:Lr,V:zr,w:qr,W:jr,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:$r,Y:_r,Z:Fr,"%":Xr};function w(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=Tr[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function C(e,t){return function(n){var r,o,i=wr(1900);if(k(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("p"in i&&(i.H=i.H%12+12*i.p),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Sr(wr(i.y))).getUTCDay(),r=o>4||0===o?fr.ceil(r):fr(r),r=ur.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=t(wr(i.y))).getDay(),r=o>4||0===o?rr.ceil(r):rr(r),r=er.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Sr(wr(i.y)).getUTCDay():t(wr(i.y)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Sr(i)):t(i)}}function k(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=S[o in Tr?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(t,b),x.x=w(n,x),x.X=w(r,x),x.c=w(t,x),{format:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",xr);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e,Sr);return t.toString=function(){return e},t}}}(e),Cr.format,Cr.parse,kr=Cr.utcFormat,Er=Cr.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var zo="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||kr(zo),+new Date("2000-01-01T00:00:00.000Z")||Er(zo);const jo=ae.bind(null,!0),_o={},{isArray:$o}=Array;function Fo(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Ho(e){return void 0===e}function Wo(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Bo(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const i=isNaN(r)?{}:[];e[r||t]=Ho(e[r||t])?i:e[t],e=e[r||t]})),e}function Uo(e,t){let n=!0;if(Fo(e)&&Fo(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Uo(e[r],t[r])||(n=!1)})),n);if($o(e)&&$o(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Uo(e[n],t[n]))return!1;return!0}return e===t}_o.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const i=function(e){return e?jo({},{val:e}).val:e}(t[o]),a=e[o],s=`${n}/${o}`;Uo(i,a)||Wo(t,o)||(Ho(a)?r.push({op:"add",path:s,value:i}):Fo(i)&&Fo(a)?r=r.concat(_o.generate(a,i,s)):$o(i)&&$o(a)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let i=-1;function a(e,t,n){if(e[n]&&Ho(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(Uo(t,o))return r;if(!Ho(t[0])&&Ho(t[0].qInfo)||0===t.length)return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)i=a(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===i?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(_o.generate(o[e],t[i],`${n}/${e}`));for(let e=0,s=t.length;e<s;e+=1)i=a(o,t[e].qInfo&&t[e].qInfo.qId),-1===i?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):i!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${i}`}),o.splice(e,0,o.splice(i,1)[0]));return r}(a,i,s)):r.push({op:"replace",path:`${n}/${o}`,value:i}))})),Object.keys(e).forEach((o=>{Ho(t[o])&&!Wo(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},_o.apply=function(e,t){t.forEach((t=>{let n=Bo(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const i=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if($o(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if($o(o)&&$o(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Fo(o)&&Fo(t.value))a=o,Object.keys(a).forEach((e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!Wo(a,e)&&delete a[e]})),jo(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=Bo(e,t.from);$o(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&($o(n)?n.splice(+r,1):delete n[r]);var a}))},_o.clone=function(e){return jo({},e)},_o.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},_o.updateObject=function(e,t){Object.keys(e).length?_o.apply(e,_o.generate(e,t)):jo(e,t)};const Vo=[[2,4,6],[2,4],[3]],Go=[,[,,[[1,2]],[[1,2,3],[1,3]],[[1,2,4],[1,4]],[[1,2,4],[1,5]],[[1,2,4,6],[2,4,6],[1,3,6],[1,6]],[[1,2,4,6],[2,4,6],[1,3,6],[1,7]],[[1,2,4,8],[2,4,8],[1,8]],[[1,2,4,8],[2,4,8],[1,3,9],[1,9]],[[1,2,4,6,10],[1,2,4,10],[1,3,10],[3,10],[1,10]]],[,,,[[2,3]],[[2,3,4],[2,4]],[[2,3,4],[2,4],[2,5]],[[2,4,6],[2,6]],[[2,4,6],[2,6],[2,7]],[[2,4,8],[2,8]],[[2,4,8],[2,8],[2,9]],[[2,4,6,10],[2,4,10],[5,10],[3,10]]],[,,,,[[3,4]],[[3,4,5],[3,5]],[[3,4,5,6],[3,6]],[[3,4,5,6],[3,5,7],[3,7]],[[3,4,5,6,8],[3,5,7],[4,8],[3,8]],[[3,4,5,6,8],[3,4,6,9],[3,4,6,8],[3,6,9],[4,8],[3,9]],[[4,6,10],[5,10],[3,10]]],[,,,,,[[4,5]],[[4,5,6],[4,6]],[[4,5,6,7],[4,5,6],[4,6]],[[4,5,6,7,8],[4,5,6,7],[4,6,8],[4,8]],[[4,5,6,7,8],[4,6,9],[4,6,8],[4,8]],[[4,6,10],[5,7,9],[5,10],[4,10]]],[,,,,,,[[5,6]],[[5,6,7],[5,7]],[[5,6,7,8],[5,6,7],[6,8]],[[5,6,7,8,9],[5,6,7,8],[5,7,9],[5,9]],[[6,8,10],[5,10]]],[,,,,,,,[[6,7]],[[6,7,8],[6,8]],[[6,7,8,9],[6,7,8],[6,9]],[[6,7,8,9,10],[6,8,10],[6,10]]],[,,,,,,,,[[7,8]],[[7,8,9],[7,9]],[[7,8,9,10],[8,10],[7,10],[7,9]]],[,,,,,,,,,[[8,9]],[[8,9,10],[8,10]]],[,,,,,,,,,,[[9,10]]]];function Ko(e,t,n){const r=e?e.length:0;let o,i=void 0===t?Number.MAX_VALUE:e[0]/t;for(o=1;o<r;o++)i=Math.min(i,e[o]/e[o-1]);void 0!==n&&(i=Math.min(i,n/e[r-1])),e.splice(0,0,i)}function Yo(e,t,n){let r;const o=e?e.length:0;for(r=0;r<o;r++)Ko(e[r],t,n)}!function(){let e,t;for(Yo(Vo,1,10),e=0;e<Go.length;e++)if(Go[e])for(t=0;t<Go[e].length;t++)Array.isArray(Go[e][t])&&Yo(Go[e][t])}();var Xo={dataRelatedPropertiesPaths:["qHyperCube.qGrandTotalRow","qHyperCube.qHasOtherValues","qHyperCube.qSize","qHyperCube.qDimensionInfo[].qAttrDimInfo","qHyperCube.qDimensionInfo[].qCardinalities","qHyperCube.qDimensionInfo[].qMax","qHyperCube.qDimensionInfo[].qMin","qHyperCube.qDimensionInfo[].qStateCounts","qHyperCube.qMeasureInfo[].qApprMaxGlyphCount","qHyperCube.qMeasureInfo[].qAttrExprInfo","qHyperCube.qMeasureInfo[].qMax","qHyperCube.qMeasureInfo[].qMin","qHyperCube.qMeasureInfo[].qTrendLines","qHyperCube.qTreeNodesOnDim","qSelectionInfo"]};function Zo(e){const{qHyperCube:t,...n}=e,{qAxisData:r,qDataPages:a,qStackedDataPages:s,qTreeDataPages:l,...c}=t,u=ae(!0,{},{...n,qHyperCube:{...c,qAxisData:null,qDataPages:null,qStackedDataPages:null,qTreeDataPages:null}}),{dataRelatedPropertiesPaths:d}=Xo;return d.forEach((e=>{const t=e.split("[");if(1===t.length)void 0!==o(u,e)&&i(u,e,null);else{const e=t[0],n=t[1].split("].")[1];o(u,e,[]).forEach((e=>{void 0!==o(e,n)&&i(e,n,null)}))}})),u}var Jo={axes:{trackBy:function({isTime:e,isContinuous:t,isMeasure:n,isMajor:r}){return o=>{if(e||t||n){var i;if("line"===o.type)return null!==(i=o.tickValue)&&void 0!==i?i:"axis";if("text"===o.type)return`${o.tickValue} ${o.text}`;if("container"===o.type){const e=o.children.filter((e=>"text"===e.type)).map((e=>e.text));return`${o.data.value} ${e.join("")}`}return Math.random()}if(r){if("line"===o.type&&void 0===o.tickValue)return"axis";const e=o.transform&&o.transform.match(/rotate/gi)?"rotated":"horizontal";return`${o.data.group?`${o.data.group.value} `:""}${o.data.value} ${o.text} ${e}`}return Math.random()}},compensateForLayoutChanges:function({isMeasure:e,isTime:t,isContinuous:n,isHorizontal:r,dock:o}){return({currentNodes:i,currentRect:a,previousRect:s})=>{const l=a.x-s.x,c=a.y-s.y,u=a.width-s.width,d=a.height-s.height;e?("left"===o&&i.forEach((e=>{"line"===e.type?(e.x1+=u,e.x2+=u):"text"===e.type&&(e.x+=u)})),"left"!==o&&"right"!==o||i.forEach((e=>{var t;("line"===e.type&&(e.x1===e.x2?(e.y1=a.y,e.y2=e.y1+a.height):(Math.round(e.y1)<a.y||e.y1>a.y+a.height)&&(e.strokeWidth=0)),"text"===e.type)&&((e.y<a.y||e.y>a.y+a.height)&&(e.fontSize="1px","#"===(null===(t=e.fill)||void 0===t?void 0:t[0])&&(e.fill=`${e.fill.slice(0,1)}00${e.fill.slice(1)}`)))})),"top"!==o&&"bottom"!==o||i.forEach((e=>{var t;("line"===e.type&&(e.y1===e.y2?(e.x1=a.x,e.x2=e.x1+a.width):(Math.round(e.x1)<a.x||e.x1>a.x+a.width)&&(e.strokeWidth=0)),"text"===e.type)&&((e.x<a.x||e.x>a.x+a.width)&&(e.fontSize="1px","#"===(null===(t=e.fill)||void 0===t?void 0:t[0])&&(e.fill=`${e.fill.slice(0,1)}00${e.fill.slice(1)}`)))}))):t?i.forEach((e=>{"line"===e.type?e.y1===e.y2?e.x2+=u:e.x1===e.x2&&(e.x1-=l,e.x2-=l):"text"===e.type&&(e.x-=l)})):n||r?i.forEach((e=>{"line"===e.type&&e.y1===e.y2&&(e.x1+=l,e.x2+=l+u)})):i.forEach((e=>{"line"===e.type&&e.x1===e.x2&&(e.y1+=c,e.y2+=c+d)}))}}},bars:{trackBy:function(e){return e.data.measureIndex?`${e.data.value} ${e.data.measureIndex.value}`:e.data.group?`${e.data.value} ${e.data.group.value}`:e.data.stack?`${e.data.value} ${e.data.stack.value}`:`${e.data.value}`},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;0===r&&0===o||e.forEach((e=>{e.children&&e.children.length>0&&e.children.forEach((e=>{void 0!==e.x&&void 0!==e.y?(e.x-=r,e.y-=o):e.transform=`translate(${-r}, ${-o})`}))}))}},barOobs:{compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x;0===t.y-n.y&&0===r||e.forEach((e=>{e.children&&e.children.length>0&&e.children.forEach((e=>{e.opacity=0}))}))}},labels:{trackBy:function(e){if("rect"===e.type)return"-3"===e.data?Math.random():`${e.type} ${e.data} ${e.rotation}`;const t=e.transform&&e.transform.match(/rotate/gi)?"rotated":"horizontal";return`${e.type} ${e.data} ${e.text} ${t}`},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;0===r&&0===o||e.forEach((e=>{e.transform&&e.transform.match(/rotate\(-90/gi)?(e.x+=o,e.y-=r):(e.x-=r,e.y-=o)}))},linkData:function(e){return e.data.measureIndex?`${e.data.value} ${e.data.measureIndex.value}`:e.data.group?`${e.data.value} ${e.data.group.value}`:e.data.stack?`${e.data.value} ${e.data.stack.value}`:`${e.data.value}`}},lines:{trackBy:function(e){var t;return"line"===e.type?null!==(t=e.value)&&void 0!==t?t:Math.random():"path"===e.type?`${e.generatorType} ${e.layerObj.id} ${e.data.source.key}`:Math.random()},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;e.forEach((e=>{if(void 0!==e.x1&&void 0!==e.y1)e.y1===e.y2?(e.x2=e.x1+t.width,e.y1-=o,e.y2-=o):e.x1===e.x2&&(e.y2=e.y1+t.height,e.x1-=r,e.x2-=r);else{const t="x"===e.major.p?r/e.major.size:o/e.major.size,n="y"===e.minor.p?o/e.minor.size:r/e.minor.size;e.points.forEach((e=>{e.modified||(e.major-=t,e.minor-=n,e.minor0-=n,e.modified=!0)}))}}))}},lineOobs:{compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x;0===t.y-n.y&&0===r||e.forEach((e=>{e.opacity=0}))}},points:{trackBy:function(e){return e.data.line?`${e.data.line.value} ${e.data.major.value}`:`${e.data.major.value}`},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;0===r&&0===o||e.forEach((e=>{e.cx-=r,e.cy-=o}))}},refLineLabels:{trackBy:function(e){if(void 0!==e.value){if("rect"===e.type)return`${e.value}`;if("text"===e.type)return`${e.value} ${e.text}`}return Math.random()},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y,i=t.width-n.width,a=t.height-n.height;let s=-r,l=-o;e.forEach((e=>{switch(e.dock){case"right":r>0&&(s=t.width);break;case"left":i<0&&(s=-n.width);break;case"top":a<0&&(l=-n.height);break;case"bottom":o>0&&(l=t.height)}switch(e.type){case"text":case"rect":e.x+=s,e.y+=l;break;case"circle":e.cx+=s,e.cy+=l;break;case"path":e.transform=`translate(${s}, ${l})`}}))}},shadowBars:{trackBy:function(){return Math.random()}},cacheProperties:function({viewCache:e,layout:t}){const n=Zo(t);e.set("dataIndependentProperties",JSON.stringify(n))},propertiesHaveChanged:function({viewCache:e,layout:t}){const n=Zo(t);return e.get("dataIndependentProperties")!==JSON.stringify(n)},nonUpdatingNode:{trackBy:function(){return Math.random()}}};function Qo(e,t=!1){const n=t?"IM_5791_SVG_LABEL_RENDERING":"IM_4962_SVG_CHART_LABELS";if(null!=e&&e.isEnabled(n))return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?void 0:"svg"}const ei={d:"M7 4h9v1H7zm2 4h7v1H9zm2 4h5v1h-5zM1 4v3.526a3.5 3.5 0 0 0 3.5 3.5h2.31L5.22 9.402l.715-.7L8.7 11.527 5.935 14.35l-.714-.7 1.59-1.624H4.5a4.5 4.5 0 0 1-4.5-4.5V4z"},ti={d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7Z"},ni={d:"M 6 2 h 10 V 1 H 6 Z m 5 5 h 5 V 6 h -5 Z m 5 5 h -5 v -1 h 5 Z M 5 10 h 1 v 2.663 a 3.5 3.5 0 1 0 -2.922 0.036 l -0.406 0.914 A 4.501 4.501 0 1 1 7.329 13 H 9 v 1 H 5 Z"},ri={d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"},oi={d:"m 13.914 4.5 l -7.707 7.707 L 2 8 l 0.707 -0.707 l 3.5 3.5 l 7 -7 Z"},ii={d:"M2.4,4 L13.6,4 C13.7104569,4 13.8,4.08954305 13.8,4.2 C13.8,4.24327404 13.7859644,4.28538077 13.76,4.32 L8.16,11.7866667 C8.09372583,11.8750322 7.96836556,11.8929408 7.88,11.8266667 C7.86483887,11.8152958 7.85137085,11.8018278 7.84,11.7866667 L2.24,4.32 C2.17372583,4.23163444 2.19163444,4.10627417 2.28,4.04 C2.31461923,4.01403557 2.35672596,4 2.4,4 Z"},ai={d:"M4,13.6 L4,2.4 C4,2.28954305 4.08954305,2.2 4.2,2.2 C4.24327404,2.2 4.28538077,2.21403557 4.32,2.24 L11.7866667,7.84 C11.8750322,7.90627417 11.8929408,8.03163444 11.8266667,8.12 C11.8152958,8.13516113 11.8018278,8.14862915 11.7866667,8.16 L4.32,13.76 C4.23163444,13.8262742 4.10627417,13.8083656 4.04,13.72 C4.01403557,13.6853808 4,13.643274 4,13.6 Z"},si={single:"N",drillDown:"H",cyclic:"C"},li={N:void 0,H:ei,C:ni},ci=(e,t)=>{switch(e.qGrouping){case si.single:return;case si.drillDown:return{path:ei,tooltip:"Tooltip.dimensions.drilldown",onClick:void 0};case si.cyclic:return{path:t?ti:ni,tooltip:"Tooltip.dimensions.cyclic",onClick:t?({onError:n})=>{t.getDimension(e.qLibraryId).then((e=>{e.stepCycle?e.stepCycle(1):n()})).catch((()=>null))}:void 0};default:return}};function ui(e,t,n){(function({model:e,properties:t}){return e.modifiers?e.modifiers.apply({model:e,properties:t}):Promise.resolve()})({model:e,properties:n}).then((()=>{e.colorSupport&&e.colorSupport.colorByUpdater(n,"qHyperCubeDef.");let r=_o.generate(t,n);r&&r.length&&(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.applyPatches(r,!0))}))}function di(e,t,n,r,o,i){e.getEffectiveProperties().then((a=>{const s=a.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===t)),l=a.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===n)),c=ae(!0,{},a),u=c.qHyperCubeDef[r][s],d=c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l];d.qAttributeDimensions=u.qAttributeDimensions,u.qAttributeDimensions=[],i||(d.qAttributeExpressions=u.qAttributeExpressions,u.qAttributeExpressions=[]),c.qHyperCubeDef[r][s]=d,c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l]=u,o&&o({oldItem:u,newItem:d,oldProperties:a,newProperties:c,model:e}),ui(e,a,c)}))}function pi(e){return e.qGrouping===si.single?e.qFallbackTitle||"":e.title||""}const fi=async(e,t,n,r,o,i="/qHyperCubeDef")=>{const a=!o;switch(e.qGrouping){case si.drillDown:{const n=e.qGroupFallbackTitles.slice(0,e.qGroupPos+1),o=a?[]:n.map(((n,o)=>({id:`${e.cId}-${o}`,title:n,selected:e.qGroupPos===o,onSelect:()=>{t.drillUp(i,r,e.qGroupPos-o)}})));return{id:e.cId,icon:a?void 0:ei,groupItem:!a,title:e.title,selected:a,children:o}}case si.cyclic:{const t=await(null==n?void 0:n.getDimension(e.qLibraryId)),r=a||!(null!=t&&t.setActiveField)?[]:e.qGroupFallbackTitles.map(((n,r)=>({id:`${e.cId}-${r}`,title:n,selected:e.qGroupPos===r,onSelect:()=>{t.setActiveField(r).catch((()=>null))}})));return{id:e.cId,icon:a?void 0:ni,groupItem:!a,title:e.title,selected:a,children:r}}default:return{selected:!0,id:e.cId,title:pi(e)}}},hi=(e,t)=>{const n=[],r=[];return t.forEach((t=>{t.qCalcCondition.qCond.qv&&r.push(e.evaluate(t.qCalcCondition.qCond.qv).then((e=>{"0"===e&&n.push(t.qDef.cId)})))})),Promise.all(r).then((()=>n))},mi=async(e,t,n,r,o,i)=>{const a=await hi(e,n),s=!i,l=n.filter((e=>!a.includes(e.qDef.cId))),c=await Promise.all(l.map((async n=>{const i=await((e,t)=>{if(e.qLibraryId)return t.getDimension(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null))})(n,e),a=await function(e,t,n,r){if(e.qLibraryId)return r?r.qDim.qGrouping===si.single&&r.qDim.qLabelExpression?Promise.resolve(r.qDim.qLabelExpression):Promise.resolve(r.qDim.title):Promise.resolve(n.get("Object.ErrorMessage.MissingDimension"));const o=e.qDef.qLabelExpression;if(o)return t.evaluate(o);const i=e.qDef.qFieldLabels[0]||e.qDef.qFieldDefs[0];return Promise.resolve(i)}(n,e,r,i),l=(null==i?void 0:i.qDim.qGrouping)||n.qDef.qGrouping,c=s?void 0:li[l],u=!s&&l!==si.single;return{id:n.qDef.cId,icon:c,groupItem:u,selected:!1,title:a,onSelect(e){di(t,e,n.qDef.cId,"qDimensions",o)}}})));return c};function gi({column:e,dir:t,dock:n,altList:r,model:o,translator:i,app:a,onChange:s,activeInfo:l,allowChangeOfAlternatives:c,isCyclicFFEnabled:u}){const d=l.qGrouping===si.single;return 0!==r.length||u&&!d?{dir:t,dock:n,getPopoverOptions:async()=>{const t=await fi(l,o,a,e,u),n=c?await mi(a,o,r,i,s,u):[];return(d||0===t.children.length)&&0===n.length?[]:[t,...n]}}:null}function yi(e,t,n,r,o="/qHyperCubeDef"){return{breadcrumbs:e.qGrouping===si.drillDown?e.qGroupFallbackTitles.slice(0,e.qGroupPos):[],icon:ci(e,r),index:t,locked:!!e.qLocked,text:e.qGrouping===si.single?e.qFallbackTitle:e.qGroupFallbackTitles[e.qGroupPos],popoverText:pi(e),...n&&{drillUp(e){n.drillUp(o,t,e)}},id:e.cId}}function vi({activeInfo:e,altList:t,app:n,dir:r,dock:o,model:i,onChange:a,skipAttributeExpressions:s,translator:l,allowChangeOfAlternatives:c}){return 0===t.length?null:{dir:r,dock:o,getPopoverOptions:async()=>{const r=[{id:e.cId,title:e.qFallbackTitle,selected:!0,onSelect:()=>{}}],o=await hi(n,t),u=t.filter((e=>!o.includes(e.qDef.cId))),d=c?await Promise.all(u.map((async e=>{const t=await function(e,t,n){if(e.qLibraryId)return t.getMeasure(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null)).then((e=>e?e.qMeasure.qLabelExpression?e.qMeasure.qLabelExpression:e.qMeasure.qLabel||e.qMeasure.qDef:n.get("Object.ErrorMessage.MissingMeasure")));const r=e.qDef.qLabelExpression;if(r)return t.evaluate(r);const o=e.qDef.qLabel||e.qDef.qDef;return Promise.resolve(o)}(e,n,l);return{id:e.qDef.cId,selected:!1,title:t,onSelect(t){di(i,t,e.qDef.cId,"qMeasures",a,s)}}}))):[];return 0===d.length?[]:[...r,...d]}}}function bi(e,t){return{breadcrumbs:[],index:t,locked:!1,text:e.qFallbackTitle,popoverText:e.qFallbackTitle,id:e.cId}}function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xi.apply(this,arguments)}var Si={exports:{}};function wi(){}function Ci(){}Ci.resetWarningCache=wi;Si.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ci,resetWarningCache:wi};return n.PropTypes=n,n}();var ki=Y(Si.exports),Ei={black:"#000",white:"#fff"},Ti={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ri={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},Mi={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Pi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Oi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Di={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ii={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};function Ai(){return Ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ai.apply(this,arguments)}function qi(e){return qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qi(e)}function Ni(e){return e&&"object"===qi(e)&&e.constructor===Object}function Li(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?Ai({},e):e;return Ni(e)&&Ni(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Ni(t[o])&&o in e?r[o]=Li(e[o],t[o],n):r[o]=t[o])})),r}function zi(e){var t=function(e,t){if("object"!==qi(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==qi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===qi(t)?t:String(t)}function ji(e,t,n){return(t=zi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _i(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}function $i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function Fi(e){if(e.type)return e;if("#"===e.charAt(0))return Fi(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(_i(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Hi(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function Wi(e){var t="hsl"===(e=Fi(e)).type?Fi(function(e){var t=(e=Fi(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Hi({type:s,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Bi(e,t){return e=Fi(e),t=$i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,Hi(e)}function Ui(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Vi(e,t){if(null==e)return{};var n,r,o=Ui(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Gi=["xs","sm","md","lg","xl"];function Ki(e,t,n){var r;return Ai({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Ai({paddingLeft:t(2),paddingRight:t(2)},n,ji({},e.up("sm"),Ai({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},ji(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),ji(r,e.up("sm"),{minHeight:64}),r)},n)}var Yi={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ei.white,default:Ii[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Xi={text:{primary:Ei.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Ii[800],default:"#303030"},action:{active:Ei.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Zi(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=Fi(e),t=$i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Hi(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=Fi(e),t=$i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Hi(e)}(e.main,i)))}function Ji(e){var t=e.primary,n=void 0===t?{light:Mi[300],main:Mi[500],dark:Mi[700]}:t,r=e.secondary,o=void 0===r?{light:Ri.A200,main:Ri.A400,dark:Ri.A700}:r,i=e.error,a=void 0===i?{light:Ti[300],main:Ti[500],dark:Ti[700]}:i,s=e.warning,l=void 0===s?{light:Di[300],main:Di[500],dark:Di[700]}:s,c=e.info,u=void 0===c?{light:Pi[300],main:Pi[500],dark:Pi[700]}:c,d=e.success,p=void 0===d?{light:Oi[300],main:Oi[500],dark:Oi[700]}:d,f=e.type,h=void 0===f?"light":f,m=e.contrastThreshold,g=void 0===m?3:m,y=e.tonalOffset,v=void 0===y?.2:y,b=Vi(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){var t=function(e,t){var n=Wi(e),r=Wi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Xi.text.primary)>=g?Xi.text.primary:Yi.text.primary;return t}var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Ai({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(_i(4,t));if("string"!=typeof e.main)throw new Error(_i(5,JSON.stringify(e.main)));return Zi(e,"light",n,v),Zi(e,"dark",r,v),e.contrastText||(e.contrastText=x(e.main)),e},w={dark:Xi,light:Yi};return Li(Ai({common:Ei,type:h,primary:S(n),secondary:S(o,"A400","A200","A700"),error:S(a),warning:S(l),info:S(u),success:S(p),grey:Ii,contrastThreshold:g,getContrastText:x,augmentColor:S,tonalOffset:v},w[h]),b)}function Qi(e){return Math.round(1e5*e)/1e5}function ea(e){return Qi(e)}var ta={textTransform:"uppercase"},na='"Roboto", "Helvetica", "Arial", sans-serif';function ra(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?na:r,i=n.fontSize,a=void 0===i?14:i,s=n.fontWeightLight,l=void 0===s?300:s,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,p=void 0===d?500:d,f=n.fontWeightBold,h=void 0===f?700:f,m=n.htmlFontSize,g=void 0===m?16:m,y=n.allVariants,v=n.pxToRem,b=Vi(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,S=v||function(e){return"".concat(e/g*x,"rem")},w=function(e,t,n,r,i){return Ai({fontFamily:o,fontWeight:e,fontSize:S(t),lineHeight:n},o===na?{letterSpacing:"".concat(Qi(r/t),"em")}:{},i,y)},C={h1:w(l,96,1.167,-1.5),h2:w(l,60,1.2,-.5),h3:w(u,48,1.167,0),h4:w(u,34,1.235,.25),h5:w(u,24,1.334,0),h6:w(p,20,1.6,.15),subtitle1:w(u,16,1.75,.15),subtitle2:w(p,14,1.57,.1),body1:w(u,16,1.5,.15),body2:w(u,14,1.43,.15),button:w(p,14,1.75,.4,ta),caption:w(u,12,1.66,.4),overline:w(u,12,2.66,1,ta)};return Li(Ai({htmlFontSize:g,pxToRem:S,round:ea,fontFamily:o,fontSize:a,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:h},C),b,{clone:!1})}function oa(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var ia=["none",oa(0,2,1,-1,0,1,1,0,0,1,3,0),oa(0,3,1,-2,0,2,2,0,0,1,5,0),oa(0,3,3,-2,0,3,4,0,0,1,8,0),oa(0,2,4,-1,0,4,5,0,0,1,10,0),oa(0,3,5,-1,0,5,8,0,0,1,14,0),oa(0,3,5,-1,0,6,10,0,0,1,18,0),oa(0,4,5,-2,0,7,10,1,0,2,16,1),oa(0,5,5,-3,0,8,10,1,0,3,14,2),oa(0,5,6,-3,0,9,12,1,0,3,16,2),oa(0,6,6,-3,0,10,14,1,0,4,18,3),oa(0,6,7,-4,0,11,15,1,0,4,20,3),oa(0,7,8,-4,0,12,17,2,0,5,22,4),oa(0,7,8,-4,0,13,19,2,0,5,24,4),oa(0,7,9,-4,0,14,21,2,0,5,26,4),oa(0,8,9,-5,0,15,22,2,0,6,28,5),oa(0,8,10,-5,0,16,24,2,0,6,30,5),oa(0,8,11,-5,0,17,26,2,0,6,32,5),oa(0,9,11,-5,0,18,28,2,0,7,34,6),oa(0,9,12,-6,0,19,29,2,0,7,36,6),oa(0,10,13,-6,0,20,31,3,0,8,38,7),oa(0,10,13,-6,0,21,33,3,0,8,40,7),oa(0,10,14,-6,0,22,35,3,0,8,42,7),oa(0,11,14,-7,0,23,36,3,0,9,44,8),oa(0,11,15,-7,0,24,38,3,0,9,46,8)],aa={borderRadius:4};function sa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function la(e,t){if(e){if("string"==typeof e)return sa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sa(e,t):void 0}}function ca(e){return function(e){if(Array.isArray(e))return sa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||la(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ua(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||la(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function da(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=function(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var pa={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)"},fa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ha(e){return"".concat(Math.round(e),"ms")}var ma={easing:pa,duration:fa,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?fa.standard:n,o=t.easing,i=void 0===o?pa.easeInOut:o,a=t.delay,s=void 0===a?0:a;return Vi(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:ha(r)," ").concat(i," ").concat("string"==typeof s?s:ha(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},ga={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ya(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,s=e.spacing,l=e.typography,c=void 0===l?{}:l,u=Vi(e,["breakpoints","mixins","palette","spacing","typography"]),d=Ji(a),p=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,s=Vi(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=Gi.indexOf(t);return r===Gi.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[Gi[r+1]]?n[Gi[r+1]]:t)-a/100).concat(o,")")}return Ai({keys:Gi,values:n,up:l,down:function(e){var t=Gi.indexOf(e)+1,r=n[Gi[t]];return t===Gi.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},s)}(n),f=da(s),h=Li({breakpoints:p,direction:"ltr",mixins:Ki(p,f,o),overrides:{},palette:d,props:{},shadows:ia,typography:ra(d,c),spacing:f,shape:aa,transitions:ma,zIndex:ga},u),m=arguments.length,g=new Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return h=g.reduce((function(e,t){return Li(e,t)}),h)}var va="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",ba=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function xa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,c=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==ba.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[va]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(s).concat(o).concat(c())}}function Sa(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ca="object"===("undefined"==typeof window?"undefined":wa(window))&&"object"===("undefined"==typeof document?"undefined":wa(document))&&9===document.nodeType;function ka(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zi(r.key),r)}}function Ea(e,t,n){return t&&ka(e.prototype,t),n&&ka(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ta(e,t){return Ta=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ta(e,t)}function Ra(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ta(e,t)}function Ma(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Pa={}.constructor;function Oa(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Oa);if(e.constructor!==Pa)return e;var t={};for(var n in e)t[n]=Oa(e[n]);return t}function Da(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Oa(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Ia=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},Aa=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)t&&(t+=", "),t+=Ia(e[n]," ");else t=Ia(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function qa(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function Na(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function La(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var s=qa(n),l=s.linebreak,c=s.space;if(e&&i++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var d=a[u];for(var p in d){var f=d[p];null!=f&&(r&&(r+=l),r+=Na(p+":"+c+Aa(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(r&&(r+=l),r+=Na(h+":"+c+Aa(m)+";",i))}for(var g in t){var y=t[g];null!=y&&"fallbacks"!==g&&(r&&(r+=l),r+=Na(g+":"+c+Aa(y)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+l+r+l),Na(""+e+c+"{"+r,--i)+Na("}",i)):r}var za=/([[\].#*$><+~=|^:(),"'`\s])/g,ja="undefined"!=typeof CSS&&CSS.escape,_a=function(e){return ja?ja(e):e.replace(za,"\\$1")},$a=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Fa=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(Ma(Ma(o)),s),o.selectorText="."+_a(o.id)),o}Ra(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Aa(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Ai({},e,{allowEmpty:!0}):e;return La(this.selectorText,this.style,n)},Ea(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}($a),Ha={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Fa(e,t,n)}},Wa={indent:1,children:!0},Ba=/@([\w-]+)/,Ua=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(Ba);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new ms(Ai({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=Wa);var t=qa(e).linebreak;if(null==e.indent&&(e.indent=Wa.indent),null==e.children&&(e.children=Wa.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),Va=/@container|@media|@supports\s+/,Ga={onCreateRule:function(e,t,n){return Va.test(e)?new Ua(e,t,n):null}},Ka={indent:1,children:!0},Ya=/@keyframes\s+([\w-]+)/,Xa=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(Ya);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var s in this.id=!1===o?this.name:_a(a(this,i)),this.rules=new ms(Ai({},n,{parent:this})),t)this.rules.add(s,t[s],Ai({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Ka);var t=qa(e).linebreak;if(null==e.indent&&(e.indent=Ka.indent),null==e.children&&(e.children=Ka.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),Za=/@keyframes\s+/,Ja=/\$([\w-]+)/g,Qa=function(e,t){return"string"==typeof e?e.replace(Ja,(function(e,n){return n in t?t[n]:e})):e},es=function(e,t,n){var r=e[t],o=Qa(r,n);o!==r&&(e[t]=o)},ts={onCreateRule:function(e,t,n){return"string"==typeof e&&Za.test(e)?new Xa(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&es(e,"animation-name",n.keyframes),"animation"in e&&es(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Qa(e,r.keyframes);default:return e}}},ns=function(e){function t(){return e.apply(this,arguments)||this}return Ra(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Ai({},e,{allowEmpty:!0}):e;return La(this.key,this.style,n)},t}($a),rs={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new ns(e,t,n):null}},os=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=qa(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=La(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return La(this.at,this.style,e)},e}(),is=/@font-face/,as={onCreateRule:function(e,t,n){return is.test(e)?new os(e,t,n):null}},ss=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return La(this.key,this.style,e)},e}(),ls={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new ss(e,t,n):null}},cs=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),us={"@charset":!0,"@import":!0,"@namespace":!0},ds={onCreateRule:function(e,t,n){return e in us?new cs(e,t,n):null}},ps=[Ha,Ga,ts,rs,as,ls,ds],fs={process:!0},hs={force:!0,process:!0},ms=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,s=r.Renderer,l=r.generateId,c=r.scoped,u=Ai({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(u.selector="."+_a(this.classes[d]));var p=Da(d,t,u);if(!p)return null;this.register(p);var f=void 0===u.index?this.index.length:u.index;return this.index.splice(f,0,p),p},t.replace=function(e,t,n){var r=this.get(e),o=this.index.indexOf(r);r&&this.remove(r);var i=n;return-1!==o&&(i=Ai({},n,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Fa?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Xa&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Fa?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Xa&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=fs);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var c=t.style[l];c!==s[l]&&t.prop(l,c,hs)}for(var u in s){var d=t.style[u],p=s[u];null==d&&d!==p&&t.prop(u,null,hs)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=qa(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),gs=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Ai({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ms(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),ys=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),vs=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Ui(t,["attached"]),o=qa(r).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=n&&s.attached!==n||(i&&(i+=o),i+=s.toString(r))}return i},Ea(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),bs=new vs,xs="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),Ss="2f1acc6c3a606b082e5eef5e54414ffb";null==xs[Ss]&&(xs[Ss]=0);var ws=xs[Ss]++,Cs=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+ws+o+t:i+n.key+"-"+ws+(o?"-"+o:"")+"-"+t}},ks=function(e){var t;return function(){return t||(t=e()),t}},Es=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Ts=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Aa(n)),e.attributeStyleMap)e.attributeStyleMap.set(t,r);else{var o=r?r.indexOf("!important"):-1,i=o>-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},Rs=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Ms=function(e,t){return e.selectorText=t,e.selectorText===t},Ps=ks((function(){return document.querySelector("head")}));function Os(e){var t=bs.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Ps(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var Ds=ks((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Is=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},As=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},qs=function(){function e(e){this.getPropertyValue=Es,this.setProperty=Ts,this.removeProperty=Rs,this.setSelector=Ms,this.hasInsertedRules=!1,this.cssRules=[],e&&bs.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=Ds();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Os(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Ps().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=As(n,t);if(!1===(o=Is(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var s=As(n,t),l=Is(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof gs&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Ns=0,Ls=function(){function e(e){this.id=Ns++,this.version="10.10.0",this.plugins=new ys,this.options={id:{minify:!1},createGenerateId:Cs,Renderer:Ca?qs:null,plugins:[]},this.generateId=Cs({minify:!1});for(var t=0;t<ps.length;t++)this.plugins.use(ps[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Ai({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===bs.index?0:bs.index+1);var r=new gs(e,Ai({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),bs.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=Ai({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=Da(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),zs=function(e){return new Ls(e)},js="object"==typeof CSS&&null!=CSS&&"number"in CSS;function _s(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=_s(r);i&&(t||(t={}),t[n]=i)}}return t}
7
+ System.register(["hammerjs","picasso.js","picasso-plugin-q","qlik-chart-modules","react","react-dom","@nebula.js/stardust","qlik-object-conversion"],(function(e){"use strict";var t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,y,v,b,x,S,w,C,k,E,T,R,M,P,O,D,I,q,A,N,L,z,j,$,_,F,H,W,B,U;return{setters:[function(e){t=e.default},function(e){n=e.default},function(e){r=e.default},function(e){o=e.getValue,i=e.setValue,a=e.selectionService,s=e.storage,l=e.cache,c=e.disclaimerService,u=e.tooltipService,d=e.colorService,p=e.pluginService,f=e.themeService,h=e.debouncer,m=e.fontResolver},function(e){g=e.default,y=e,v=e.Children,b=e.isValidElement,x=e.cloneElement,S=e.forwardRef,w=e.useContext},function(e){C=e,k=e.default},function(e){E=e.useOptions,T=e.useElement,R=e.useSelections,M=e.useState,P=e.useLayout,O=e.useTranslator,D=e.useAction,I=e.useEffect,q=e.useModel,A=e.useApp,N=e.useStaleLayout,L=e.usePlugins,z=e.useConstraints,j=e.useTheme,$=e.useAppLayout,_=e.useEmbed,F=e.usePromise,H=e.useRect,W=e.onTakeSnapshot,B=e.useImperativeHandle},function(e){U=e.default}],execute:function(){var V={properties_dataPoints_labelmode_share:{id:"properties.dataPoints.labelmode.share",locale:{"en-US":"Share","zh-TW":"佔有率","zh-CN":"份额","tr-TR":"Pay","sv-SE":"Andel","it-IT":"Percentuale","es-ES":"Cuota","de-DE":"Anteil","pl-PL":"Udział","nl-NL":"Aandeel","ko-KR":"공유","pt-BR":"Percentual","fr-FR":"Part","ja-JP":"割合","ru-RU":"Доля"}},Tooltip_selections_locked:{id:"Tooltip.selections.locked",locale:{"en-US":"Selections on this dimension are locked","zh-TW":"已鎖定此維度上的選項","zh-CN":"相关维度的选择已锁定","tr-TR":"Bu boyuttaki seçimler kilitli","sv-SE":"Urval i den här dimensionen är låsta","it-IT":"Le selezioni in questa dimensione sono bloccate","es-ES":"Las selecciones de esta dimensión están bloqueadas.","de-DE":"Auswahlen sind für diese Dimension gesperrt","pl-PL":"Selekcje dotyczące tego wymiaru są zablokowane","nl-NL":"Selecties voor deze dimensie zijn vergrendeld","ko-KR":"이 차원의 선택은 잠겨 있습니다.","pt-BR":"Seleções estão bloqueadas nesta dimensão","fr-FR":"Sélections verrouillées pour cette dimension","ja-JP":"この軸での選択はロックされています","ru-RU":"Выборки для данного измерения заблокированы"}},Tooltip_dimensions_drilldown:{id:"Tooltip.dimensions.drilldown",locale:{"en-US":"Drill-down dimension","zh-TW":"向下探查維度","zh-CN":"下钻维度","tr-TR":"Detaya inme boyutu","sv-SE":"Hierarkisk dimension","it-IT":"Dimensione di drill-down","es-ES":"Dimensión jerárquica","de-DE":"Drilldown-Dimension:","pl-PL":"Wymiar hierarchiczny","nl-NL":"Drill-downdimensie","ko-KR":"드릴다운 차원","pt-BR":"Dimensão da hierarquia","fr-FR":"Descendre dans la hiérarchie de la dimension","ja-JP":"軸のドリルダウン","ru-RU":"Измерение с детализацией"}},Object_ErrorMessage_MissingDimension:{id:"Object.ErrorMessage.MissingDimension",locale:{"en-US":"Dimension not found","zh-TW":"找不到維度","zh-CN":"未找到维度","tr-TR":"Boyut bulunamadı","sv-SE":"Dimensionen hittades inte","it-IT":"Dimensione non trovata","es-ES":"No se ha encontrado la dimensión","de-DE":"Dimension nicht gefunden","pl-PL":"Wymiar nie został znaleziony","nl-NL":"Dimensie niet gevonden","ko-KR":"차원을 찾지 못했습니다.","pt-BR":"Dimensão não encontrada","fr-FR":"Dimension introuvable","ja-JP":"軸が見つかりません","ru-RU":"Измерение не найдено"}},Object_ErrorMessage_MissingMeasure:{id:"Object.ErrorMessage.MissingMeasure",locale:{"en-US":"Measure not found","zh-TW":"找不到量值","zh-CN":"未找到度量","tr-TR":"Hesaplama bulunamadı","sv-SE":"Måttet hittades inte","it-IT":"Misura non trovata","es-ES":"No se ha encontrado la medida","de-DE":"Kennzahl nicht gefunden","pl-PL":"Miara nie została znaleziona","nl-NL":"Meting niet gevonden","ko-KR":"측정값을 찾지 못했습니다.","pt-BR":"Medida não encontrada","fr-FR":"Mesure introuvable","ja-JP":"メジャーが見つかりません","ru-RU":"Мера не найдена"}},Object_Disclaimer_LimitedData:{id:"Object.Disclaimer.LimitedData",locale:{"en-US":"Currently showing a limited data set.","zh-TW":"目前顯示的是有限的資料集。","zh-CN":"当前正显示有限的数据集。","tr-TR":"Şu anda sınırlı bir veri kümesi gösteriliyor.","sv-SE":"Just nu visas en begränsad uppsättning data.","it-IT":"Attualmente viene visualizzata una serie di dati limitata.","es-ES":"Mostrando actualmente un conjunto limitado de datos.","de-DE":"Zurzeit wird nur ein beschränkter Datensatz angezeigt.","pl-PL":"Aktualnie przedstawiany jest ograniczony zestaw danych.","nl-NL":"Momenteel wordt een beperkte gegevensverzameling getoond.","ko-KR":"현재 제한된 데이터 집합을 표시하고 있습니다.","pt-BR":"Mostrando um conjunto de dados limitado.","fr-FR":"Affichage d'un ensemble de données limité pour l'instant.","ja-JP":"現在、限定的なデータ セットを表示しています。","ru-RU":"В настоящее время отображается ограниченный набор данных."}},Object_Disclaimer_OnlyNegativeOrZeroValues:{id:"Object.Disclaimer.OnlyNegativeOrZeroValues",locale:{"en-US":"The chart is not displayed because it contains only negative or zero values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含負值或零值。","zh-CN":"未显示图表,因为它仅包含负值或零值。","tr-TR":"Yalnızca negatif veya sıfır değerlerini içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller negativa eller nollvärden","it-IT":"Il grafico non viene visualizzato poiché contiene solo valori negativi o uguali a zero.","es-ES":"El gráfico no se muestra porque sólo contiene valores negativos o valores cero.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur negative oder 0-Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości ujemne lub zerowe.","nl-NL":"De grafiek wordt niet weergegeven omdat het alleen negatieve waarden of nulwaarden bevat.","ko-KR":"음수 또는 zero 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores negativos ou zero.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs négatives ou égales à zéro.","ja-JP":"チャートは負の値またはゼロ値しか含まれていないため、表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только отрицательные или нулевые значения."}},Object_Disclaimer_NegativeOrZeroValues:{id:"Object.Disclaimer.NegativeOrZeroValues",locale:{"en-US":"The data set contains negative or zero values that cannot be shown in this chart.","zh-TW":"資料集包含無法在此圖表中顯示的負值或零值。","zh-CN":"数据集中包含无法在此图表中显示的负值或零值。","tr-TR":"Veri kümesi, bu grafikte gösterilemeyen negatif veya sıfır değerlerini içeriyor.","sv-SE":"Datauppsättningen innehåller negativa värden eller nollvärden som inte kan visas i detta diagram.","it-IT":"La serie di dati contiene valori negativi o uguali a zero che non possono essere visualizzati in questo grafico.","es-ES":"El conjunto de datos contiene valores negativos o cero que no se pueden mostrar en este gráfico.","de-DE":"Die in den Datensätzen enthaltenen negativen oder 0-Werte können nicht in diesem Diagramm dargestellt werden.","pl-PL":"Zestaw danych zawiera wartości ujemne lub zerowe, których nie można przedstawić w tym wykresie.","nl-NL":"De gegevensverzameling bevat negatieve waarden of nulwaarden die niet kunnen worden weergegeven in deze grafiek.","ko-KR":"데이터 집합에 해당 차트에 표시할 수 없는 음수 값 또는 zero 값이 포함되어 있습니다.","pt-BR":"O conjunto de dados contém valores negativos ou iguais a zero que não podem ser mostrados neste gráfico.","fr-FR":"L'ensemble de données contient des valeurs négatives ou égales à zéro impossibles à afficher dans ce graphique.","ja-JP":"データ セットには、本チャートに表示できない負の値またはゼロ値が含まれています。","ru-RU":"Набор данных содержит отрицательные или нулевые значения, которые невозможно показать в этой диаграмме."}},Object_Disclaimer_DataRangeIncludingZero:{id:"Object.Disclaimer.DataRangeIncludingZero",locale:{"en-US":"The logarithmic scale has been replaced by a linear scale because the data range includes zero.","zh-TW":"對數刻度已遭線性刻度取代,因為資料範圍包含零。","zh-CN":"对数刻度已替换为线性刻度,因为该数据范围包括零。","tr-TR":"Veri aralığı sıfır değerini içerdiğinden, logaritmik ölçek yerine doğrusal ölçek kullanıldı.","sv-SE":"Den logaritmiska skalan har ersatts av en linjär skala eftersom dataintervallet innehåller värdet noll.","it-IT":"La scala logaritmica è stata sostituita da una scala lineare perché l'intervallo di dati include zero.","es-ES":"La escala logarítmica ha sido reemplazada por una escala lineal porque el rango de datos incluye cero.","de-DE":"Die logarithmische Skala wurde durch die lineare Skala ersetzt, weil der Datenbereich NULL enthält.","pl-PL":"Skala logarytmiczna została zastąpiona liniową, ponieważ zakres danych zawiera zero.","nl-NL":"De logaritmische schaal is vervangen door een lineaire schaal omdat het gegevensbereik nullen bevat.","ko-KR":"데이터 범위에 0이 포함되어 있으므로 로그 눈금이 선형 눈금으로 바뀌었습니다.","pt-BR":"A escala logarítmica foi substituída por uma escala linear, pois o intervalo de dados inclui zero.","fr-FR":"L'échelle logarithmique a été remplacée par une échelle linéaire, car la plage de données comprend la valeur zéro.","ja-JP":"データ範囲にゼロが含まれるため、Log スケールは Linear スケールで置換されています。","ru-RU":"Логарифмический масштаб заменен линейным масштабом, поскольку диапазон данных включает ноль."}},Object_Disclaimer_NoDataExist:{id:"Object.Disclaimer.NoDataExist",locale:{"en-US":"The selections generated no data for this chart.","zh-TW":"此選項無法產生任何適用於此圖表的資料。","zh-CN":"选择未生成此图表的数据。","tr-TR":"Seçimler bu grafik için hiç veri oluşturmadı.","sv-SE":"Urvalen genererade inga data för detta diagram.","it-IT":"Le selezioni non hanno generato dati per questo grafico.","es-ES":"Las selecciones no han generado datos para este gráfico.","de-DE":"Die Auswahlen haben für dieses Diagramm keine Daten generiert.","pl-PL":"Selekcje nie spowodowały wygenerowania danych dla tego wykresu.","nl-NL":"De selecties hebben geen gegevens voor de grafiek gegenereerd.","ko-KR":"선택 내용으로 해당 차트에 대한 데이터가 생성되지 않았습니다.","pt-BR":"As seleções não geraram dados para este gráfico.","fr-FR":"Les sélections n'ont pas généré de données pour ce graphique.","ja-JP":"このチャートには選択からデータが生成されませんでした。","ru-RU":"В результате выборок данные для этой диаграммы не созданы."}},Object_Disclaimer_OnlyNanData:{id:"Object.Disclaimer.OnlyNanData",locale:{"en-US":"The chart is not displayed because it contains only undefined values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含未定義的值。","zh-CN":"未显示图表,因为它仅包含未定义的值。","tr-TR":"Yalnızca tanımsız değerleri içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller odefinierade värden.","it-IT":"Il grafico non è visualizzato poiché contiene solo valori non definiti.","es-ES":"El gráfico no se muestra porque solo contiene valores indefinidos.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur nicht definierte Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości niezdefiniowane.","nl-NL":"De grafiek wordt niet weergegeven omdat deze alleen ongedefinieerde waarden bevat.","ko-KR":"정의되지 않은 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores não definidos.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs non définies.","ja-JP":"未定義の値しか含まれていないため、チャートは表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только неопределенные значения."}},Object_ChartTooltip_NMore:{id:"Object.ChartTooltip.NMore",locale:{"en-US":"+{0} more","zh-TW":"再加 {0} 個","zh-CN":"+{0} 个","tr-TR":"+{0} öğe daha","sv-SE":"+{0} till","it-IT":"Altre +{0}","es-ES":"+{0} más","de-DE":"+{0} mehr","pl-PL":"+ {0} więcej","nl-NL":"+ {0} meer","ko-KR":"+추가 {0}개","pt-BR":"+{0} mais","fr-FR":"+ {0} de plus","ja-JP":"さらに {0}","ru-RU":"+ дополнительно: {0}"}},Object_ChartTooltip_sumOfPositives:{id:"Object.ChartTooltip.sumOfPositives",locale:{"en-US":"Sum of positives","zh-TW":"正數總和","zh-CN":"正值总和","tr-TR":"Pozitif değerlerin toplamı","sv-SE":"Summan av positiva","it-IT":"Somma valori positivi","es-ES":"Suma de positivos","de-DE":"Summe positiver Werte","pl-PL":"Suma dodatnich","nl-NL":"Som positieven","ko-KR":"양수 합계","pt-BR":"Soma de positivos","fr-FR":"Sommes des valeurs positives","ja-JP":"正の合計","ru-RU":"Сумма положительных значений"}},Object_ChartTooltip_sumOfNegatives:{id:"Object.ChartTooltip.sumOfNegatives",locale:{"en-US":"Sum of negatives","zh-TW":"負數總和","zh-CN":"负值总和","tr-TR":"Negatif değerlerin toplamı","sv-SE":"Summan av negativa","it-IT":"Somma valori negativi","es-ES":"Suma de negativos","de-DE":"Summe negativer Werte","pl-PL":"Suma ujemnych","nl-NL":"Som negatieven","ko-KR":"음수 합계","pt-BR":"Soma de negativos","fr-FR":"Somme des valeurs négatives","ja-JP":"負の合計","ru-RU":"Сумма отрицательных значений"}},Object_ChartTooltip_ColorExpression:{id:"Object.ChartTooltip.ColorExpression",locale:{"en-US":"Color expression","zh-TW":"色彩運算式","zh-CN":"颜色表达式","tr-TR":"Renk ifadesi","sv-SE":"Färguttryck","it-IT":"Espressione colore","es-ES":"Expresión de color","de-DE":"Farbformel","pl-PL":"Wyrażenie koloru","nl-NL":"Kleuruitdrukking","ko-KR":"색상 표현식","pt-BR":"Expressão de cor","fr-FR":"Expression de couleur","ja-JP":"カラー表現","ru-RU":"Выражение для цвета"}},Object_Disclaimer_OnlyNanColor:{id:"Object.Disclaimer.OnlyNanColor",locale:{"en-US":"The data used to color this visualization only contains undefined values.","zh-TW":"用以定義此視覺化的色彩的資料只包含未定義的值。","zh-CN":"用于将该可视化着色的数据仅包含未定义的值。","tr-TR":"Bu görselleştirmeyi renklendirmek için kullanılan veriler yalnızca tanımlanmamış değerler içeriyor.","sv-SE":"Data som används för att färgsätta denna visualisering innehåller enbart odefinierade värden.","it-IT":"I dati utilizzati per colorare questa visualizzazione contengono solo valori non definiti.","es-ES":"Los datos utilizados para colorear esta visualización solo contienen valores indefinidos.","de-DE":"Die verwendeten Daten für die Farbgebung dieser Visualisierung enthalten undefinierte Werte.","pl-PL":"Dane używane do kolorowania tej wizualizacji zawierają wyłącznie niezdefiniowane wartości.","nl-NL":"De gegevens die worden gebruikt om deze visualisatie kleur te geven bevatten uitsluitend ongedefinieerde waarden.","ko-KR":"이 시각화에 색을 지정하는 데 사용된 데이터에는 정의되지 않은 값만 포함되어 있습니다.","pt-BR":"Os dados usados para colorir esse visualização contém somente valores indefinidos.","fr-FR":"Les données utilisées pour colorer cette visualisation ne comportent que des valeurs non définies.","ja-JP":"このビジュアライゼーションの色の割り当てに使用したデータには、未定義の値が含まれています。","ru-RU":"Данные, используемые для выбора цвета визуализации, содержат только неопределенные значения."}},properties_trendlines_types_average:{id:"properties.trendlines.types.average",locale:{"en-US":"Average","zh-TW":"平均值","zh-CN":"平均值","tr-TR":"Ortalama","sv-SE":"Medel","it-IT":"Media","es-ES":"Media","de-DE":"Durchschnitt","pl-PL":"Średnia","nl-NL":"Gemiddelde","ko-KR":"평균","pt-BR":"Média","fr-FR":"Moyenne","ja-JP":"平均値","ru-RU":"Среднее"}},properties_trendlines_types_linear:{id:"properties.trendlines.types.linear",locale:{"en-US":"Linear","zh-TW":"線性","zh-CN":"线性","tr-TR":"Doğrusal","sv-SE":"Linjär","it-IT":"Lineare","es-ES":"Lineal","de-DE":"Linear","pl-PL":"Liniowa","nl-NL":"Lineair","ko-KR":"선형","pt-BR":"Linear","fr-FR":"Linéaire","ja-JP":"線形","ru-RU":"Линейный"}},properties_trendlines_types_polynomial2:{id:"properties.trendlines.types.polynomial2",locale:{"en-US":"Second degree polynomial","zh-TW":"第二度多項式","zh-CN":"二次多项式","tr-TR":"İkinci derece polinom","sv-SE":"Polynomial, andra graden","it-IT":"Polinomio di secondo grado","es-ES":"Polinómica de segundo grado","de-DE":"Polynom zweiten Grades","pl-PL":"Wielomianowa drugiego stopnia","nl-NL":"Tweedegraadspolynoom","ko-KR":"2차 다항식","pt-BR":"Polinômio de segundo grau","fr-FR":"Polynomial du 2ème degré","ja-JP":"2 番目の角度の多項式近似","ru-RU":"Полиномиальный второй степени"}},properties_trendlines_types_polynomial3:{id:"properties.trendlines.types.polynomial3",locale:{"en-US":"Third degree polynomial","zh-TW":"第三度多項式","zh-CN":"三次多项式","tr-TR":"Üçüncü derece polinom","sv-SE":"Polynomial, tredje graden","it-IT":"Polinomio di terzo grado","es-ES":"Polinómica de tercer grado","de-DE":"Polynom dritten Grades","pl-PL":"Wielomianowa trzeciego stopnia","nl-NL":"Derdegraadspolynoom","ko-KR":"3차 다항식","pt-BR":"Polinômio de terceiro grau","fr-FR":"Polynomial du 3ème degré","ja-JP":"3 番目の角度の多項式近似","ru-RU":"Полиномиальный третьей степени"}},properties_trendlines_types_polynomial4:{id:"properties.trendlines.types.polynomial4",locale:{"en-US":"Fourth degree polynomial","zh-TW":"第四度多項式","zh-CN":"四次多项式","tr-TR":"Dördüncü derece polinom","sv-SE":"Polynomial, fjärde graden","it-IT":"Polinomio di quarto grado","es-ES":"Polinómica de cuarto grado","de-DE":"Polynom vierten Grades","pl-PL":"Wielomianowa czwartego stopnia","nl-NL":"Vierdegraadspolynoom","ko-KR":"4차 다항식","pt-BR":"Polinômio de quarto grau","fr-FR":"Polynomial du 4ème degré","ja-JP":"4 番目の角度の多項式近似","ru-RU":"Полиномиальный четвертой степени"}},properties_trendlines_types_exponential:{id:"properties.trendlines.types.exponential",locale:{"en-US":"Exponential","zh-TW":"指數","zh-CN":"指数","tr-TR":"Üstel","sv-SE":"Exponentiell","it-IT":"Esponenziale","es-ES":"Exponencial","de-DE":"Exponentiell","pl-PL":"Wykładnicze","nl-NL":"Exponentieel","ko-KR":"지수","pt-BR":"Exponencial","fr-FR":"Exponentiel","ja-JP":"指数","ru-RU":"Экспоненциальный"}},properties_trendlines_types_logarithmic:{id:"properties.trendlines.types.logarithmic",locale:{"en-US":"Logarithmic","zh-TW":"對數","zh-CN":"对数","tr-TR":"Logaritmik","sv-SE":"Logaritmisk","it-IT":"Logaritmica","es-ES":"Logarítmica","de-DE":"Logarithmisch","pl-PL":"Logarytmiczna","nl-NL":"Logaritmisch","ko-KR":"로그","pt-BR":"Logarítmico","fr-FR":"Logarithmique","ja-JP":"対数","ru-RU":"Логарифмический"}},properties_trendlines_types_power:{id:"properties.trendlines.types.power",locale:{"en-US":"Power","zh-TW":"乘冪","zh-CN":"幂","tr-TR":"Üs","sv-SE":"Potens","it-IT":"Potenza","es-ES":"Potencia","de-DE":"Potenz","pl-PL":"Potęgowa","nl-NL":"Macht","ko-KR":"거듭제곱","pt-BR":"Potência","fr-FR":"Puissance","ja-JP":"累乗","ru-RU":"Силовой"}},Common_Measures:{id:"Common.Measures",locale:{"en-US":"Measures","de-DE":"Kennzahlen","fr-FR":"Mesures","it-IT":"Misure","ja-JP":"メジャー","ko-KR":"측정값","es-ES":"Medidas","nl-NL":"Metingen","pl-PL":"Miary","pt-BR":"Medidas","sv-SE":"Mått","tr-TR":"Hesaplamalar","zh-CN":"度量","zh-TW":"量值","ru-RU":"Меры"}},Tooltip_ToggleOnLassoSelection:{id:"Tooltip.ToggleOnLassoSelection",locale:{"en-US":"Turn on lasso selection","de-DE":"Lasso-Auswahl aktivieren","fr-FR":"Activer la sélection au lasso","it-IT":"Attiva selezione lazo","ja-JP":"囲み選択をオンにする","ko-KR":"올가미 선택 켜기","es-ES":"Activar la selección de contorno","nl-NL":"Lassoselectie inschakelen","pl-PL":"Włącz zaznaczenie lasso","pt-BR":"Ativar seleção de laço","sv-SE":"Slå på lassourval","tr-TR":"Serbest seçimi aç","zh-CN":"开启套索选择方法","zh-TW":"開啟套索選取","ru-RU":"Включить выбор лассо"}},Tooltip_ToggleOffLassoSelection:{id:"Tooltip.ToggleOffLassoSelection",locale:{"en-US":"Turn off lasso selection","de-DE":"Lasso-Auswahl deaktivieren","fr-FR":"Désactiver la sélection au lasso","it-IT":"Disattiva selezione lazo","ja-JP":"囲み選択をオフにする","ko-KR":"올가미 선택 끄기","es-ES":"Desactivar la selección de contorno","nl-NL":"Lassoselectie uitschakelen","pl-PL":"Wyłącz zaznaczenie lasso","pt-BR":"Desativar seleção de laço","sv-SE":"Stäng av lassourval","tr-TR":"Serbest seçimi kapat","zh-CN":"关闭套索选择方法","zh-TW":"關閉套索選取","ru-RU":"Выключить выбор лассо"}}};const G={click:"Tap",Click:"Tap",tap:"Tap",pan:"Pan",swipe:"Swipe",rotate:"Rotate",press:"Press",pinch:"Pinch"};function K(e){return G[e]||e}function Y(e){return function(t,n,r){let o,i,a,s,l=[],c=!0;function u(){"function"==typeof o.enable&&(o.enable=o.enable.bind(i)()),o.enable&&(o.gestures.forEach((t=>{t.options=t.options||{},void 0===t.options.enable&&(t.options.enable=!0),"function"==typeof t.options.enable&&(t.options.enable=t.options.enable.bind(i));const n=K(t.type);e&&e[n]&&(t.options.event=t.options.event||t.type.toLowerCase(),a=a||new e.Manager(r),a.add(new e[n](t.options)),Object.keys(t.events).forEach((e=>{t.events[e]=t.events[e].bind(i),a.on(e,t.events[e])})),l.push(t))})),o.gestures.forEach((t=>{const n=K(t.type);e&&e[n]&&(t.recognizeWith&&a.get(t.options.event).recognizeWith(t.recognizeWith.split(" ").filter((e=>""!==e))),t.requireFailure&&a.get(t.options.event).requireFailure(t.requireFailure.split(" ").filter((e=>""!==e))))})))}function d(){l.forEach((e=>{Object.keys(e.events).forEach((t=>{a.off(t,e.events[t])})),a.remove(e.options.event)})),l=[]}return{get key(){return s},set(e){!function(e){s=e.key,o=e,i={chart:t,mediator:n,settings:o},o.gestures=o.gestures||[],void 0===o.enable&&(o.enable=!0)}(e),d(),c&&u()},off(){c=!1,d()},on(){c=!0,0===l.length&&u()},destroy(){d(),a&&a.destroy(),a=null,i=null,o=null}}}}function X(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function J(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var Z=Object.prototype.hasOwnProperty,Q=Object.prototype.toString,ee=Object.defineProperty,te=Object.getOwnPropertyDescriptor,ne=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Q.call(e)},re=function(e){if(!e||"[object Object]"!==Q.call(e))return!1;var t,n=Z.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&Z.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||Z.call(e,t)},oe=function(e,t){ee&&"__proto__"===t.name?ee(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},ie=function(e,t){if("__proto__"===t){if(!Z.call(e,t))return;if(te)return te(e,t).value}return e[t]},ae=function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=ie(s,n),s!==(o=ie(t,n))&&(u&&o&&(re(o)||(i=ne(o)))?(i?(i=!1,a=r&&ne(r)?r:[]):a=r&&re(r)?r:{},oe(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&oe(s,{name:n,newValue:o}));return s},se=X(ae);const le=[["FULL",{width:550,height:450}],["MEDIUM",{width:400,height:220}],["SMALL",{width:300,height:150}],["XSMALL",{width:150,height:75}],["SPARK",{width:0,height:0}]],ce={};le.forEach((([e,{width:t,height:n}])=>{ce[e]={width:t,height:n}}));const ue={getLayoutModes:()=>ce,getLayoutMode(e,t){let n;for(n=0;n<le.length;++n)if(e>=le[n][1].width&&t>=le[n][1].height)return le[n][0];return"SPARK"}};function de(e,t){return{layoutModes:ue.getLayoutModes(),center:void 0!==t.minCenterRatio?{minWidthRatio:t.minCenterRatio,minHeightRatio:t.minCenterRatio}:void 0,logicalSize:t.logicalSize?{align:.5,preserveAspectRatio:!0,...t.logicalSize}:void 0}}const pe=/^[A-Z][A-z0-9_]*$/i,fe={setValue:(e,t,n)=>{if(!t)return!1;const r=t.split("."),o=r[r.length-1];let i,a=e;for(i=0;i<r.length-1;++i)void 0===a[r[i]]&&(a[r[i]]=Number.isNaN(+r[i+1])?{}:[]),a=a[r[i]];if(void 0!==n){const e=a[o];return a[o]=n,{updated:n,previous:e}}return delete a[o],!1},getValue:(e,t,n)=>{const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(void 0===i[r[o]])return n;i=i[r[o]]}return i},moveArrayElement:(e,t,n)=>{if(n>=e.length){let t=n-e.length;for(;1+t--;)e.push(void 0)}e.splice(n,0,e.splice(t,1)[0])},escapeField:e=>{let t;return t=!e||"]"===e||pe.test(e)?e:`[${e.replace(/\]/g,"]]")}]`,t},deleteUndefinedProperties:e=>{Object.keys(e).forEach((t=>{void 0===e[t]&&delete e[t]}))},shouldUseFormat:e=>!e.isCustomFormatted&&(e.qIsAutoFormat||"U"===e.qNumFormat.qType)};function he(e,t){const n=e.component(t);return n&&n._DO_NOT_USE_getInfo&&n._DO_NOT_USE_getInfo().offset}const me=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͽΆΈ-ϵϷ-҂Ҋ-։ः-हऻऽ-ीॉ-ौॎ-ॐक़-ॡ।-ॿং-হঽ-ীে-ৌৎ-ৡ০-ৱ৴-৺ਃ-ਹਾ-ੀਖ਼-੯ੲ-ੴઃ-હઽ-ીૉ-ૌૐ-ૡ૦-૯ଂ-ହଽ-ାୀେ-ୌୗ-ୡ୦-୷ஃ-ிு-ௌௐ-௲ఁ-ఽు-ౄౘ-ౡ౦-౯౿-ಹಽ-ೋೕ-ೡ೦-ീെ-ൌൎ-ൡ൦-ෆා-ෑෘ-ะา-ำเ-ๆ๏-ະາ-ຳຽ-ໆ໐-༗༚-༴༶༸༾-ཬཿ྅ྈ-ྌ྾-࿅࿇-ာေးျ-ြဿ-ၗၚ-ၝၡ-ၰၵ-ႁႃ-ႄႇ-ႌႎ-ႜ႞-ፚ፠-ᎏᎠ-Ᏼᐁ-ᙿᚁ-ᚚᚠ-ᜑᜠ-ᜱ᜵-ᝑᝠ-ᝰក-ាើ-ៅះ-ៈ។-៚ៜ០-៩᠐-ᢨᢪ-ᤜᤣ-ᤦᤩ-ᤱᤳ-ᤸ᥆-᧚ᨀ-ᨖᨙ-ᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪭ᬄ-ᬳᬵᬻᬽ-ᭁᭃ-᭪᭴-᭼ᮂ-ᮡᮦ-ᮧ᮪-ᯥᯧᯪ-ᯬᯮ᯲-ᰫᰴ-ᰵ᰻-᱿᳓᳡ᳩ-ᳬᳮ-ᶿḀ-ᾼιῂ-ῌῐ-Ίῠ-Ῥῲ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ-⅏Ⅰ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-ⳤⳫ-ⳮⴀ-⵰ⶀ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ㆺㇰ-㈜㈠-㉏㉠-㉻㉿-㊰㋀-㋋㋐-㍶㍻-㏝㏠-㏾㐀-䶵一-ꒌꓐ-ꘌꘐ-ꙮꚀ-ꛯ꛲-꛷Ꜣ-ꞇ꞉-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠤꠧ꠰-꠷ꡀ-ꡳꢀ-ꣃ꣎-꣙ꣲ-ꤥ꤮-ꥆꥒ-ꥼꦃ-ꦲꦴ-ꦵꦺ-ꦻꦽ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂ-ꯤꯦ-ꯧꯩ-꯬꯰-ﬗA-Za-zヲ-ᅵ]"),ge=new RegExp("[־׀׃׆א-״߀-ߪߴ-ߵߺ-ࠕࠚࠤࠨ࠰-ࡘ࡞‏יִײַ-ﬨשׁ-ﭏ]"),ye=new RegExp("[؈؋؍؛-ي٭-ٯٱ-ەۥ-ۦۮ-ۯۺ-܍ܐܒ-ܯݍ-ޥޱﭐ-ﴽﵐ-﷼ﹰ-ﻼ]"),ve={lrm:String.fromCharCode(8206),rlm:String.fromCharCode(8207),isLtrChar:e=>me.test(e),isRtlChar:e=>ge.test(e)||ye.test(e),detectTextDirection(e){const t=e?e.length:0;let n,r;for(n=0;n<t;n++){if(r=e[n],ve.isLtrChar(r))return"ltr";if(ve.isRtlChar(r))return"rtl"}return"ltr"}},be={getColorSymbol:(e,t)=>e.h("div",{style:{display:"inline-block",width:"10px",height:"10px","background-color":t.color.fill,margin:"0 8px"}}),getNodeFillColor:e=>e.attrs&&void 0!==e.attrs.fill?e.attrs.fill:e.children&&e.children[0]&&e.children[0].attrs&&void 0!==e.children[0].attrs.fill?e.children[0].attrs.fill:void 0,getColor(e,t,n){const r=t.data,o=e.resources.formatter,i=e.resources.dataset,a={};if(n.coloring.label&&(a.label=`${n.coloring.label}`),"color"!==n.coloring.type&&r.fillTooltip){const e=o("fill"),t="measure"===n.coloring.fieldType;if(a.value=t&&e?e(r.fillTooltip.value):r.fillTooltip.label?r.fillTooltip.label:r.fillTooltip.value,!n.coloring.label){const e=i(r.fillTooltip.source.key).field(r.fillTooltip.source.field).title();a.label=`${e}`}}return a.fill=void 0===r._fillColor?be.getNodeFillColor(t):r._fillColor,a},getMeasure:(e,t)=>({label:`${e(t.source.key).field(t.source.field).title()}`,value:""===t.label||"NaN"===t.label?"-":t.label,field:t.source.field}),hideColorRow:(e,t)=>void 0===e.color.value||e.measures.some((e=>e.field===t.coloring.field)),getTitleRow(e,t){const n=ve.detectTextDirection(e.title);return[{content:e.title,style:{"font-weight":"bold","text-align":t?"right":"left",direction:n},colspan:2},{}]},getDescriptionRow(e,t){const n=ve.detectTextDirection(e.value);return[{content:e.value,style:{"text-align":t?"right":"left",direction:n},colspan:2},{}]},getNMoreRow(e,t,n){const r=t?t.get("Object.ChartTooltip.NMore",e):`+${e} more`;return[{content:r,style:{"font-weight":"bold","text-align":n?"right":"left",direction:ve.detectTextDirection(r)},colspan:2},{}]},getSeparatorRow:()=>[{content:"",style:{"background-image":"linear-gradient(transparent 8px, rgba(255, 255, 255, 0.4) 8px, rgba(255, 255, 255, 0.4) 9.2px, transparent 9.2px)",height:"17px"},colspan:2},{}],getColorRow(e,t,n){const r=ve.detectTextDirection(t.color.label),o=n?[":",t.color.label]:[t.color.label,":"],i=ve.detectTextDirection(t.color.value);return[{content:o,style:{"text-align":n?"right":"left",direction:r}},{content:n?[t.color.value,be.getColorSymbol(e,t)]:[be.getColorSymbol(e,t),t.color.value],style:{"text-align":n?"left":"right",direction:i,"vertical-align":"middle"}}]},getMeasureRow(e,t,n,r,o=!1){const i=ve.detectTextDirection(e.label),a=r?[":",e.label]:[e.label,":"],s=ve.detectTextDirection(e.value);let l;return l=o?r?[e.value,be.getColorSymbol(t,n)]:[be.getColorSymbol(t,n),e.value]:[e.value],[{content:a,style:{"text-align":r?"right":"left",direction:i}},{content:l,style:{"text-align":r?"left":"right",direction:s,"vertical-align":"middle"}}]}};function xe(e){const t=parseInt(e,10);if(!isNaN(t))return t}const Se=e=>t=>e.getContrastingColorTo(t.node.attrs.fill);function we(e,t){const n=e.styleService.label.value.getStyle();return{padding:10,placements:e.simplifiedPlacements.map((n=>function(e,t,n){const r=n.themeService.getStyles(),o=n.styleService.label.value.getStyle(),i=o.fill===r.label.value.color;return{position:e.position,justify:e.justify,fill:i&&!e.onBackground?Se(t):o.fill,overflow:e.overflow,padding:e.padding}}(n,t,e))),fontSize:xe(n.fontSize),fontFamily:n.fontFamily,label:e.label}}function Ce(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ke(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Ee(){}var Te=.7,Re=1/Te,Me="\\s*([+-]?\\d+)\\s*",Pe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Oe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",De=/^#([0-9a-f]{3,8})$/,Ie=new RegExp(`^rgb\\(${Me},${Me},${Me}\\)$`),qe=new RegExp(`^rgb\\(${Oe},${Oe},${Oe}\\)$`),Ae=new RegExp(`^rgba\\(${Me},${Me},${Me},${Pe}\\)$`),Ne=new RegExp(`^rgba\\(${Oe},${Oe},${Oe},${Pe}\\)$`),Le=new RegExp(`^hsl\\(${Pe},${Oe},${Oe}\\)$`),ze=new RegExp(`^hsla\\(${Pe},${Oe},${Oe},${Pe}\\)$`),je={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function $e(){return this.rgb().formatHex()}function _e(){return this.rgb().formatRgb()}function Fe(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=De.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?He(t):3===n?new Ue(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?We(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?We(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Ie.exec(e))?new Ue(t[1],t[2],t[3],1):(t=qe.exec(e))?new Ue(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ae.exec(e))?We(t[1],t[2],t[3],t[4]):(t=Ne.exec(e))?We(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Le.exec(e))?Je(t[1],t[2]/100,t[3]/100,1):(t=ze.exec(e))?Je(t[1],t[2]/100,t[3]/100,t[4]):je.hasOwnProperty(e)?He(je[e]):"transparent"===e?new Ue(NaN,NaN,NaN,0):null}function He(e){return new Ue(e>>16&255,e>>8&255,255&e,1)}function We(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ue(e,t,n,r)}function Be(e){return e instanceof Ee||(e=Fe(e)),e?new Ue((e=e.rgb()).r,e.g,e.b,e.opacity):new Ue}function Ue(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ve(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}`}function Ge(){const e=Ke(this.opacity);return`${1===e?"rgb(":"rgba("}${Ye(this.r)}, ${Ye(this.g)}, ${Ye(this.b)}${1===e?")":`, ${e})`}`}function Ke(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Ye(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Xe(e){return((e=Ye(e))<16?"0":"")+e.toString(16)}function Je(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Qe(e,t,n,r)}function Ze(e){if(e instanceof Qe)return new Qe(e.h,e.s,e.l,e.opacity);if(e instanceof Ee||(e=Fe(e)),!e)return new Qe;if(e instanceof Qe)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Qe(a,s,l,e.opacity)}function Qe(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function et(e){return(e=(e||0)%360)<0?e+360:e}function tt(e){return Math.max(0,Math.min(1,e||0))}function nt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Ce(Ee,Fe,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:$e,formatHex:$e,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ze(this).formatHsl()},formatRgb:_e,toString:_e}),Ce(Ue,(function(e,t,n,r){return 1===arguments.length?Be(e):new Ue(e,t,n,null==r?1:r)}),ke(Ee,{brighter(e){return e=null==e?Re:Math.pow(Re,e),new Ue(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Te:Math.pow(Te,e),new Ue(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ue(Ye(this.r),Ye(this.g),Ye(this.b),Ke(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ve,formatHex:Ve,formatHex8:function(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}${Xe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ge,toString:Ge})),Ce(Qe,(function(e,t,n,r){return 1===arguments.length?Ze(e):new Qe(e,t,n,null==r?1:r)}),ke(Ee,{brighter(e){return e=null==e?Re:Math.pow(Re,e),new Qe(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Te:Math.pow(Te,e),new Qe(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ue(nt(e>=240?e-240:e+120,o,r),nt(e,o,r),nt(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Qe(et(this.h),tt(this.s),tt(this.l),Ke(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Ke(this.opacity);return`${1===e?"hsl(":"hsla("}${et(this.h)}, ${100*tt(this.s)}%, ${100*tt(this.l)}%${1===e?")":`, ${e})`}`}}));const rt=Math.PI/180,ot=180/Math.PI,it=.96422,at=1,st=.82521,lt=4/29,ct=6/29,ut=3*ct*ct,dt=ct*ct*ct;function pt(e){if(e instanceof ft)return new ft(e.l,e.a,e.b,e.opacity);if(e instanceof bt)return xt(e);e instanceof Ue||(e=Be(e));var t,n,r=yt(e.r),o=yt(e.g),i=yt(e.b),a=ht((.2225045*r+.7168786*o+.0606169*i)/at);return r===o&&o===i?t=n=a:(t=ht((.4360747*r+.3850649*o+.1430804*i)/it),n=ht((.0139322*r+.0971045*o+.7141733*i)/st)),new ft(116*a-16,500*(t-a),200*(a-n),e.opacity)}function ft(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function ht(e){return e>dt?Math.pow(e,1/3):e/ut+lt}function mt(e){return e>ct?e*e*e:ut*(e-lt)}function gt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function yt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function vt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof bt)return new bt(e.h,e.c,e.l,e.opacity);if(e instanceof ft||(e=pt(e)),0===e.a&&0===e.b)return new bt(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ot;return new bt(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new bt(e,t,n,null==r?1:r)}function bt(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function xt(e){if(isNaN(e.h))return new ft(e.l,0,0,e.opacity);var t=e.h*rt;return new ft(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function St(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}Ce(ft,(function(e,t,n,r){return 1===arguments.length?pt(e):new ft(e,t,n,null==r?1:r)}),ke(Ee,{brighter(e){return new ft(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new ft(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Ue(gt(3.1338561*(t=it*mt(t))-1.6168667*(e=at*mt(e))-.4906146*(n=st*mt(n))),gt(-.9787684*t+1.9161415*e+.033454*n),gt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Ce(bt,vt,ke(Ee,{brighter(e){return new bt(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new bt(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return xt(this).rgb()}})),function(e){1===e.length&&(e=function(e){return function(t,n){return St(e(t),n)}}(e))}(St);var wt="$";function Ct(){}function kt(e,t){var n=new Ct;if(e instanceof Ct)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(r=e[o],o,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}function Et(){}Ct.prototype=kt.prototype={constructor:Ct,has:function(e){return wt+e in this},get:function(e){return this[wt+e]},set:function(e,t){return this[wt+e]=t,this},remove:function(e){var t=wt+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===wt&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===wt&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===wt&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===wt&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===wt&&++e;return e},empty:function(){for(var e in this)if(e[0]===wt)return!1;return!0},each:function(e){for(var t in this)t[0]===wt&&e(this[t],t.slice(1),this)}};var Tt=kt.prototype;function Rt(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Mt(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Pt(){}Et.prototype={constructor:Et,has:Tt.has,add:function(e){return this[wt+(e+="")]=e,this},remove:Tt.remove,clear:Tt.clear,values:Tt.keys,size:Tt.size,empty:Tt.empty,each:Tt.each};var Ot=.7,Dt=1/Ot,It="\\s*([+-]?\\d+)\\s*",qt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",At="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Nt=/^#([0-9a-f]{3})$/,Lt=/^#([0-9a-f]{6})$/,zt=new RegExp("^rgb\\("+[It,It,It]+"\\)$"),jt=new RegExp("^rgb\\("+[At,At,At]+"\\)$"),$t=new RegExp("^rgba\\("+[It,It,It,qt]+"\\)$"),_t=new RegExp("^rgba\\("+[At,At,At,qt]+"\\)$"),Ft=new RegExp("^hsl\\("+[qt,At,At]+"\\)$"),Ht=new RegExp("^hsla\\("+[qt,At,At,qt]+"\\)$"),Wt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Bt(e){var t;return e=(e+"").trim().toLowerCase(),(t=Nt.exec(e))?new Yt((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=Lt.exec(e))?Ut(parseInt(t[1],16)):(t=zt.exec(e))?new Yt(t[1],t[2],t[3],1):(t=jt.exec(e))?new Yt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=$t.exec(e))?Vt(t[1],t[2],t[3],t[4]):(t=_t.exec(e))?Vt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ft.exec(e))?Jt(t[1],t[2]/100,t[3]/100,1):(t=Ht.exec(e))?Jt(t[1],t[2]/100,t[3]/100,t[4]):Wt.hasOwnProperty(e)?Ut(Wt[e]):"transparent"===e?new Yt(NaN,NaN,NaN,0):null}function Ut(e){return new Yt(e>>16&255,e>>8&255,255&e,1)}function Vt(e,t,n,r){return r<=0&&(e=t=n=NaN),new Yt(e,t,n,r)}function Gt(e){return e instanceof Pt||(e=Bt(e)),e?new Yt((e=e.rgb()).r,e.g,e.b,e.opacity):new Yt}function Kt(e,t,n,r){return 1===arguments.length?Gt(e):new Yt(e,t,n,null==r?1:r)}function Yt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Xt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Jt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Zt(e,t,n,r)}function Zt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Qt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Rt(Pt,Bt,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Rt(Yt,Kt,Mt(Pt,{brighter:function(e){return e=null==e?Dt:Math.pow(Dt,e),new Yt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Ot:Math.pow(Ot,e),new Yt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Xt(this.r)+Xt(this.g)+Xt(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Rt(Zt,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Zt)return new Zt(e.h,e.s,e.l,e.opacity);if(e instanceof Pt||(e=Bt(e)),!e)return new Zt;if(e instanceof Zt)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Zt(a,s,l,e.opacity)}(e):new Zt(e,t,n,null==r?1:r)}),Mt(Pt,{brighter:function(e){return e=null==e?Dt:Math.pow(Dt,e),new Zt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Ot:Math.pow(Ot,e),new Zt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Yt(Qt(e>=240?e-240:e+120,o,r),Qt(e,o,r),Qt(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var en=Math.PI/180,tn=180/Math.PI,nn=.96422,rn=1,on=.82521,an=4/29,sn=6/29,ln=3*sn*sn,cn=sn*sn*sn;function un(e){if(e instanceof dn)return new dn(e.l,e.a,e.b,e.opacity);if(e instanceof gn){if(isNaN(e.h))return new dn(e.l,0,0,e.opacity);var t=e.h*en;return new dn(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Yt||(e=Gt(e));var n,r,o=mn(e.r),i=mn(e.g),a=mn(e.b),s=pn((.2225045*o+.7168786*i+.0606169*a)/rn);return o===i&&i===a?n=r=s:(n=pn((.4360747*o+.3850649*i+.1430804*a)/nn),r=pn((.0139322*o+.0971045*i+.7141733*a)/on)),new dn(116*s-16,500*(n-s),200*(s-r),e.opacity)}function dn(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function pn(e){return e>cn?Math.pow(e,1/3):e/ln+an}function fn(e){return e>sn?e*e*e:ln*(e-an)}function hn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function mn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function gn(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}Rt(dn,(function(e,t,n,r){return 1===arguments.length?un(e):new dn(e,t,n,null==r?1:r)}),Mt(Pt,{brighter:function(e){return new dn(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new dn(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Yt(hn(3.1338561*(t=nn*fn(t))-1.6168667*(e=rn*fn(e))-.4906146*(n=on*fn(n))),hn(-.9787684*t+1.9161415*e+.033454*n),hn(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Rt(gn,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof gn)return new gn(e.h,e.c,e.l,e.opacity);if(e instanceof dn||(e=un(e)),0===e.a&&0===e.b)return new gn(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*tn;return new gn(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new gn(e,t,n,null==r?1:r)}),Mt(Pt,{brighter:function(e){return new gn(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new gn(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return un(this).rgb()}}));var yn=-.14861,vn=1.78277,bn=-.29227,xn=-.90649,Sn=1.97294,wn=Sn*xn,Cn=Sn*vn,kn=vn*bn-xn*yn;function En(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Tn)return new Tn(e.h,e.s,e.l,e.opacity);e instanceof Yt||(e=Gt(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(kn*r+wn*t-Cn*n)/(kn+wn-Cn),i=r-o,a=(Sn*(n-o)-bn*i)/xn,s=Math.sqrt(a*a+i*i)/(Sn*o*(1-o)),l=s?Math.atan2(a,i)*tn-120:NaN;return new Tn(l<0?l+360:l,s,o,e.opacity)}(e):new Tn(e,t,n,null==r?1:r)}function Tn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Rn(e){return function(){return e}}function Mn(e,t){return function(n){return e+n*t}}function Pn(e){return 1==(e=+e)?On:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Rn(isNaN(t)?n:t)}}function On(e,t){var n=t-e;return n?Mn(e,n):Rn(isNaN(e)?t:e)}function Dn(e){return function t(n){function r(t,r){var o=e((t=En(t)).h,(r=En(r)).h),i=On(t.s,r.s),a=On(t.l,r.l),s=On(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}function In(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}Rt(Tn,En,Mt(Pt,{brighter:function(e){return e=null==e?Dt:Math.pow(Dt,e),new Tn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Ot:Math.pow(Ot,e),new Tn(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*en,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Yt(255*(t+n*(yn*r+vn*o)),255*(t+n*(bn*r+xn*o)),255*(t+n*(Sn*r)),this.opacity)}})),function e(t){var n=Pn(t);function r(e,t){var r=n((e=Kt(e)).r,(t=Kt(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=On(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1),Dn((function(e,t){var n=t-e;return n?Mn(e,n>180||n<-180?n-360*Math.round(n/360):n):Rn(isNaN(e)?t:e)})),Dn(On);var qn,An=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Nn(e){return new Ln(e)}function Ln(e){if(!(t=An.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}function zn(e,t){var n=In(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Nn.prototype=Ln.prototype,Ln.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var jn={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return zn(100*e,t)},r:zn,s:function(e,t){var n=In(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(qn=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+In(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function $n(e){return e}var _n,Fn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Hn(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}):$n,o=e.currency,i=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(e.numerals):$n,s=e.percent||"%";function l(e){var t=(e=Nn(e)).fill,n=e.align,l=e.sign,c=e.symbol,u=e.zero,d=e.width,p=e.comma,f=e.precision,h=e.trim,m=e.type;"n"===m?(p=!0,m="g"):jn[m]||(null==f&&(f=12),h=!0,m="g"),(u||"0"===t&&"="===n)&&(u=!0,t="0",n="=");var g="$"===c?o[0]:"#"===c&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",y="$"===c?o[1]:/[%p]/.test(m)?s:"",v=jn[m],b=/[defgprs%]/.test(m);function x(e){var o,s,c,x=g,S=y;if("c"===m)S=v(e)+S,e="";else{var w=(e=+e)<0;if(e=v(Math.abs(e),f),h&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(o>0){if(!+e[r])break e;o=0}}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),w&&0==+e&&(w=!1),x=(w?"("===l?l:"-":"-"===l||"("===l?"":l)+x,S=("s"===m?Fn[8+qn/3]:"")+S+(w&&"("===l?")":""),b)for(o=-1,s=e.length;++o<s;)if(48>(c=e.charCodeAt(o))||c>57){S=(46===c?i+e.slice(o+1):e.slice(o))+S,e=e.slice(0,o);break}}p&&!u&&(e=r(e,1/0));var C=x.length+e.length+S.length,k=C<d?new Array(d-C+1).join(t):"";switch(p&&u&&(e=r(k+e,k.length?d-S.length:1/0),k=""),n){case"<":e=x+e+S+k;break;case"=":e=x+k+e+S;break;case"^":e=k.slice(0,C=k.length>>1)+x+e+S+k.slice(C);break;default:e=k+x+e+S}return a(e)}return f=null==f?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),x.toString=function(){return e+""},x}return{format:l,formatPrefix:function(e,t){var n=l(((e=Nn(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=In(Math.abs(e)))?e[1]:NaN}(t)/3))),o=Math.pow(10,-r),i=Fn[8+r/3];return function(e){return n(o*e)+i}}}}!function(e){_n=Hn(e),_n.format,_n.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Wn=new Date,Bn=new Date;function Un(e,t,n,r){function o(t){return e(t=new Date(+t)),t}return o.floor=o,o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,s=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return s;do{s.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return s},o.filter=function(n){return Un((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return Wn.setTime(+t),Bn.setTime(+r),e(Wn),e(Bn),Math.floor(n(Wn,Bn))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var Vn=Un((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Vn.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Un((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Vn:null},Vn.range;var Gn=1e3,Kn=6e4,Yn=36e5,Xn=864e5,Jn=6048e5;Un((function(e){e.setTime(Math.floor(e/Gn)*Gn)}),(function(e,t){e.setTime(+e+t*Gn)}),(function(e,t){return(t-e)/Gn}),(function(e){return e.getUTCSeconds()})).range,Un((function(e){e.setTime(Math.floor(e/Kn)*Kn)}),(function(e,t){e.setTime(+e+t*Kn)}),(function(e,t){return(t-e)/Kn}),(function(e){return e.getMinutes()})).range,Un((function(e){var t=e.getTimezoneOffset()*Kn%Yn;t<0&&(t+=Yn),e.setTime(Math.floor((+e-t)/Yn)*Yn+t)}),(function(e,t){e.setTime(+e+t*Yn)}),(function(e,t){return(t-e)/Yn}),(function(e){return e.getHours()})).range;var Zn=Un((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Kn)/Xn}),(function(e){return e.getDate()-1}));function Qn(e){return Un((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Kn)/Jn}))}Zn.range;var er=Qn(0),tr=Qn(1),nr=Qn(2),rr=Qn(3),or=Qn(4),ir=Qn(5),ar=Qn(6);er.range,tr.range,nr.range,rr.range,or.range,ir.range,ar.range,Un((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})).range;var sr=Un((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));sr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Un((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},sr.range,Un((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Kn)}),(function(e,t){return(t-e)/Kn}),(function(e){return e.getUTCMinutes()})).range,Un((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Yn)}),(function(e,t){return(t-e)/Yn}),(function(e){return e.getUTCHours()})).range;var lr=Un((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getUTCDate()-1}));function cr(e){return Un((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Jn}))}lr.range;var ur=cr(0),dr=cr(1),pr=cr(2),fr=cr(3),hr=cr(4),mr=cr(5),gr=cr(6);ur.range,dr.range,pr.range,fr.range,hr.range,mr.range,gr.range,Un((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})).range;var yr=Un((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function vr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function br(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function xr(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}yr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Un((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},yr.range;var Sr,wr,Cr,kr={"-":"",_:" ",0:"0"},Er=/^\s*\d+/,Tr=/^%/,Rr=/[\\^$*+?|[\]().{}]/g;function Mr(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Pr(e){return e.replace(Rr,"\\$&")}function Or(e){return new RegExp("^(?:"+e.map(Pr).join("|")+")","i")}function Dr(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Ir(e,t,n){var r=Er.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=Er.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Nr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=Er.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $r(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function _r(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Fr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Hr(e,t,n){var r=Er.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Wr(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Br(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Ur(e,t,n){var r=Er.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Vr(e,t,n){var r=Er.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Gr(e,t,n){var r=Er.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Kr(e,t,n){var r=Tr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Yr(e,t,n){var r=Er.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Xr(e,t,n){var r=Er.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function Jr(e,t){return Mr(e.getDate(),t,2)}function Zr(e,t){return Mr(e.getHours(),t,2)}function Qr(e,t){return Mr(e.getHours()%12||12,t,2)}function eo(e,t){return Mr(1+Zn.count(sr(e),e),t,3)}function to(e,t){return Mr(e.getMilliseconds(),t,3)}function no(e,t){return to(e,t)+"000"}function ro(e,t){return Mr(e.getMonth()+1,t,2)}function oo(e,t){return Mr(e.getMinutes(),t,2)}function io(e,t){return Mr(e.getSeconds(),t,2)}function ao(e){var t=e.getDay();return 0===t?7:t}function so(e,t){return Mr(er.count(sr(e),e),t,2)}function lo(e,t){var n=e.getDay();return e=n>=4||0===n?or(e):or.ceil(e),Mr(or.count(sr(e),e)+(4===sr(e).getDay()),t,2)}function co(e){return e.getDay()}function uo(e,t){return Mr(tr.count(sr(e),e),t,2)}function po(e,t){return Mr(e.getFullYear()%100,t,2)}function fo(e,t){return Mr(e.getFullYear()%1e4,t,4)}function ho(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Mr(t/60|0,"0",2)+Mr(t%60,"0",2)}function mo(e,t){return Mr(e.getUTCDate(),t,2)}function go(e,t){return Mr(e.getUTCHours(),t,2)}function yo(e,t){return Mr(e.getUTCHours()%12||12,t,2)}function vo(e,t){return Mr(1+lr.count(yr(e),e),t,3)}function bo(e,t){return Mr(e.getUTCMilliseconds(),t,3)}function xo(e,t){return bo(e,t)+"000"}function So(e,t){return Mr(e.getUTCMonth()+1,t,2)}function wo(e,t){return Mr(e.getUTCMinutes(),t,2)}function Co(e,t){return Mr(e.getUTCSeconds(),t,2)}function ko(e){var t=e.getUTCDay();return 0===t?7:t}function Eo(e,t){return Mr(ur.count(yr(e),e),t,2)}function To(e,t){var n=e.getUTCDay();return e=n>=4||0===n?hr(e):hr.ceil(e),Mr(hr.count(yr(e),e)+(4===yr(e).getUTCDay()),t,2)}function Ro(e){return e.getUTCDay()}function Mo(e,t){return Mr(dr.count(yr(e),e),t,2)}function Po(e,t){return Mr(e.getUTCFullYear()%100,t,2)}function Oo(e,t){return Mr(e.getUTCFullYear()%1e4,t,4)}function Do(){return"+0000"}function Io(){return"%"}function qo(e){return+e}function Ao(e){return Math.floor(+e/1e3)}!function(e){Sr=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Or(o),u=Dr(o),d=Or(i),p=Dr(i),f=Or(a),h=Dr(a),m=Or(s),g=Dr(s),y=Or(l),v=Dr(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Jr,e:Jr,f:no,H:Zr,I:Qr,j:eo,L:to,m:ro,M:oo,p:function(e){return o[+(e.getHours()>=12)]},Q:qo,s:Ao,S:io,u:ao,U:so,V:lo,w:co,W:uo,x:null,X:null,y:po,Y:fo,Z:ho,"%":Io},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:mo,e:mo,f:xo,H:go,I:yo,j:vo,L:bo,m:So,M:wo,p:function(e){return o[+(e.getUTCHours()>=12)]},Q:qo,s:Ao,S:Co,u:ko,U:Eo,V:To,w:Ro,W:Mo,x:null,X:null,y:Po,Y:Oo,Z:Do,"%":Io},S={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:Fr,e:Fr,f:Gr,H:Wr,I:Wr,j:Hr,L:Vr,m:_r,M:Br,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u[r[0].toLowerCase()],n+r[0].length):-1},Q:Yr,s:Xr,S:Ur,u:qr,U:Ar,V:Nr,w:Ir,W:Lr,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:jr,Y:zr,Z:$r,"%":Kr};function w(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=kr[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function C(e,t){return function(n){var r,o,i=xr(1900);if(k(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("p"in i&&(i.H=i.H%12+12*i.p),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=br(xr(i.y))).getUTCDay(),r=o>4||0===o?dr.ceil(r):dr(r),r=lr.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=t(xr(i.y))).getDay(),r=o>4||0===o?tr.ceil(r):tr(r),r=Zn.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?br(xr(i.y)).getUTCDay():t(xr(i.y)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,br(i)):t(i)}}function k(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=S[o in kr?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(t,b),x.x=w(n,x),x.X=w(r,x),x.c=w(t,x),{format:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",vr);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e,br);return t.toString=function(){return e},t}}}(e),Sr.format,Sr.parse,wr=Sr.utcFormat,Cr=Sr.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var No="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||wr(No),+new Date("2000-01-01T00:00:00.000Z")||Cr(No);const Lo=se.bind(null,!0),zo={},{isArray:jo}=Array;function $o(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function _o(e){return void 0===e}function Fo(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Ho(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const i=isNaN(r)?{}:[];e[r||t]=_o(e[r||t])?i:e[t],e=e[r||t]})),e}function Wo(e,t){return t?Object.keys(e).filter((t=>void 0!==e[t])).length:Object.keys(e).length}function Bo(e,t,n){let r=!0;if($o(e)&&$o(t))return Wo(e,n)===Wo(t,n)&&(Object.keys(e).forEach((o=>{Bo(e[o],t[o],n)||(r=!1)})),r);if(jo(e)&&jo(t)){if(e.length!==t.length)return!1;for(let r=0,o=e.length;r<o;r+=1)if(!Bo(e[r],t[r],n))return!1;return!0}return e===t}zo.compare=Bo,zo.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const i=function(e){return e?Lo({},{val:e}).val:e}(t[o]),a=e[o],s=`${n}/${o}`;Bo(i,a)||Fo(t,o)||(_o(a)?r.push({op:"add",path:s,value:i}):$o(i)&&$o(a)?r=r.concat(zo.generate(a,i,s)):jo(i)&&jo(a)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let i=-1;function a(e,t,n){if(e[n]&&_o(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(Bo(t,o))return r;if(!_o(t[0])&&_o(t[0].qInfo)||0===t.length)return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)i=a(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===i?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(zo.generate(o[e],t[i],`${n}/${e}`));for(let e=0,s=t.length;e<s;e+=1)i=a(o,t[e].qInfo&&t[e].qInfo.qId),-1===i?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):i!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${i}`}),o.splice(e,0,o.splice(i,1)[0]));return r}(a,i,s)):r.push({op:"replace",path:`${n}/${o}`,value:i}))})),Object.keys(e).forEach((o=>{_o(t[o])&&!Fo(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},zo.apply=function(e,t){t.forEach((t=>{let n=Ho(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const i=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(jo(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(jo(o)&&jo(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if($o(o)&&$o(t.value))a=o,Object.keys(a).forEach((e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!Fo(a,e)&&delete a[e]})),Lo(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=Ho(e,t.from);jo(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&(jo(n)?n.splice(+r,1):delete n[r]);var a}))},zo.clone=function(e){return Lo({},e)},zo.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},zo.updateObject=function(e,t){Object.keys(e).length?zo.apply(e,zo.generate(e,t)):Lo(e,t)};const Uo=[[2,4,6],[2,4],[3]],Vo=[,[,,[[1,2]],[[1,2,3],[1,3]],[[1,2,4],[1,4]],[[1,2,4],[1,5]],[[1,2,4,6],[2,4,6],[1,3,6],[1,6]],[[1,2,4,6],[2,4,6],[1,3,6],[1,7]],[[1,2,4,8],[2,4,8],[1,8]],[[1,2,4,8],[2,4,8],[1,3,9],[1,9]],[[1,2,4,6,10],[1,2,4,10],[1,3,10],[3,10],[1,10]]],[,,,[[2,3]],[[2,3,4],[2,4]],[[2,3,4],[2,4],[2,5]],[[2,4,6],[2,6]],[[2,4,6],[2,6],[2,7]],[[2,4,8],[2,8]],[[2,4,8],[2,8],[2,9]],[[2,4,6,10],[2,4,10],[5,10],[3,10]]],[,,,,[[3,4]],[[3,4,5],[3,5]],[[3,4,5,6],[3,6]],[[3,4,5,6],[3,5,7],[3,7]],[[3,4,5,6,8],[3,5,7],[4,8],[3,8]],[[3,4,5,6,8],[3,4,6,9],[3,4,6,8],[3,6,9],[4,8],[3,9]],[[4,6,10],[5,10],[3,10]]],[,,,,,[[4,5]],[[4,5,6],[4,6]],[[4,5,6,7],[4,5,6],[4,6]],[[4,5,6,7,8],[4,5,6,7],[4,6,8],[4,8]],[[4,5,6,7,8],[4,6,9],[4,6,8],[4,8]],[[4,6,10],[5,7,9],[5,10],[4,10]]],[,,,,,,[[5,6]],[[5,6,7],[5,7]],[[5,6,7,8],[5,6,7],[6,8]],[[5,6,7,8,9],[5,6,7,8],[5,7,9],[5,9]],[[6,8,10],[5,10]]],[,,,,,,,[[6,7]],[[6,7,8],[6,8]],[[6,7,8,9],[6,7,8],[6,9]],[[6,7,8,9,10],[6,8,10],[6,10]]],[,,,,,,,,[[7,8]],[[7,8,9],[7,9]],[[7,8,9,10],[8,10],[7,10],[7,9]]],[,,,,,,,,,[[8,9]],[[8,9,10],[8,10]]],[,,,,,,,,,,[[9,10]]]];function Go(e,t,n){const r=e?e.length:0;let o,i=void 0===t?Number.MAX_VALUE:e[0]/t;for(o=1;o<r;o++)i=Math.min(i,e[o]/e[o-1]);void 0!==n&&(i=Math.min(i,n/e[r-1])),e.splice(0,0,i)}function Ko(e,t,n){let r;const o=e?e.length:0;for(r=0;r<o;r++)Go(e[r],t,n)}!function(){let e,t;for(Ko(Uo,1,10),e=0;e<Vo.length;e++)if(Vo[e])for(t=0;t<Vo[e].length;t++)Array.isArray(Vo[e][t])&&Ko(Vo[e][t])}();var Yo={dataRelatedPropertiesPaths:["qHyperCube.qGrandTotalRow","qHyperCube.qHasOtherValues","qHyperCube.qSize","qHyperCube.qDimensionInfo[].qAttrDimInfo","qHyperCube.qDimensionInfo[].qCardinalities","qHyperCube.qDimensionInfo[].qMax","qHyperCube.qDimensionInfo[].qMin","qHyperCube.qDimensionInfo[].qStateCounts","qHyperCube.qMeasureInfo[].qApprMaxGlyphCount","qHyperCube.qMeasureInfo[].qAttrExprInfo","qHyperCube.qMeasureInfo[].qMax","qHyperCube.qMeasureInfo[].qMin","qHyperCube.qMeasureInfo[].qTrendLines","qHyperCube.qTreeNodesOnDim","qSelectionInfo"]};function Xo(e){const{qHyperCube:t,...n}=e,{qAxisData:r,qDataPages:a,qStackedDataPages:s,qTreeDataPages:l,...c}=t,u=se(!0,{},{...n,qHyperCube:{...c,qAxisData:null,qDataPages:null,qStackedDataPages:null,qTreeDataPages:null}}),{dataRelatedPropertiesPaths:d}=Yo;return d.forEach((e=>{const t=e.split("[");if(1===t.length)void 0!==o(u,e)&&i(u,e,null);else{const e=t[0],n=t[1].split("].")[1];o(u,e,[]).forEach((e=>{void 0!==o(e,n)&&i(e,n,null)}))}})),u}var Jo={axes:{trackBy:function({isTime:e,isContinuous:t,isMeasure:n,isMajor:r}){return o=>{if(e||t||n){var i;if("line"===o.type)return null!==(i=o.tickValue)&&void 0!==i?i:"axis";if("text"===o.type)return`${o.tickValue} ${o.text}`;if("container"===o.type){const e=o.children.filter((e=>"text"===e.type)).map((e=>e.text));return`${o.data.value} ${e.join("")}`}return Math.random()}if(r){if("line"===o.type&&void 0===o.tickValue)return"axis";const e=o.transform&&o.transform.match(/rotate/gi)?"rotated":"horizontal";return`${o.data.group?`${o.data.group.value} `:""}${o.data.value} ${o.text} ${e}`}return Math.random()}},compensateForLayoutChanges:function({isMeasure:e,isTime:t,isContinuous:n,isHorizontal:r,dock:o}){return({currentNodes:i,currentRect:a,previousRect:s})=>{const l=a.x-s.x,c=a.y-s.y,u=a.width-s.width,d=a.height-s.height;e?("left"===o&&i.forEach((e=>{"line"===e.type?(e.x1+=u,e.x2+=u):"text"===e.type&&(e.x+=u)})),"left"!==o&&"right"!==o||i.forEach((e=>{var t;("line"===e.type&&(e.x1===e.x2?(e.y1=a.y,e.y2=e.y1+a.height):(Math.round(e.y1)<a.y||e.y1>a.y+a.height)&&(e.strokeWidth=0)),"text"===e.type)&&((e.y<a.y||e.y>a.y+a.height)&&(e.fontSize="1px","#"===(null===(t=e.fill)||void 0===t?void 0:t[0])&&(e.fill=`${e.fill.slice(0,1)}00${e.fill.slice(1)}`)))})),"top"!==o&&"bottom"!==o||i.forEach((e=>{var t;("line"===e.type&&(e.y1===e.y2?(e.x1=a.x,e.x2=e.x1+a.width):(Math.round(e.x1)<a.x||e.x1>a.x+a.width)&&(e.strokeWidth=0)),"text"===e.type)&&((e.x<a.x||e.x>a.x+a.width)&&(e.fontSize="1px","#"===(null===(t=e.fill)||void 0===t?void 0:t[0])&&(e.fill=`${e.fill.slice(0,1)}00${e.fill.slice(1)}`)))}))):t?i.forEach((e=>{"line"===e.type?e.y1===e.y2?e.x2+=u:e.x1===e.x2&&(e.x1-=l,e.x2-=l):"text"===e.type&&(e.x-=l)})):n||r?i.forEach((e=>{"line"===e.type&&e.y1===e.y2&&(e.x1+=l,e.x2+=l+u)})):i.forEach((e=>{"line"===e.type&&e.x1===e.x2&&(e.y1+=c,e.y2+=c+d)}))}}},bars:{trackBy:function(e){return e.data.measureIndex?`${e.data.value} ${e.data.measureIndex.value}`:e.data.group?`${e.data.value} ${e.data.group.value}`:e.data.stack?`${e.data.value} ${e.data.stack.value}`:`${e.data.value}`},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;0===r&&0===o||e.forEach((e=>{e.children&&e.children.length>0&&e.children.forEach((e=>{void 0!==e.x&&void 0!==e.y?(e.x-=r,e.y-=o):e.transform=`translate(${-r}, ${-o})`}))}))}},barOobs:{compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x;0===t.y-n.y&&0===r||e.forEach((e=>{e.children&&e.children.length>0&&e.children.forEach((e=>{e.opacity=0}))}))}},labels:{trackBy:function(e){if("rect"===e.type)return"-3"===e.data?Math.random():`${e.type} ${e.data} ${e.rotation}`;const t=e.transform&&e.transform.match(/rotate/gi)?"rotated":"horizontal";return`${e.type} ${e.data} ${e.text} ${t}`},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;0===r&&0===o||e.forEach((e=>{e.transform&&e.transform.match(/rotate\(-90/gi)?(e.x+=o,e.y-=r):(e.x-=r,e.y-=o)}))},linkData:function(e){return e.data.measureIndex?`${e.data.value} ${e.data.measureIndex.value}`:e.data.group?`${e.data.value} ${e.data.group.value}`:e.data.stack?`${e.data.value} ${e.data.stack.value}`:`${e.data.value}`}},lines:{trackBy:function(e){var t;return"line"===e.type?null!==(t=e.value)&&void 0!==t?t:Math.random():"path"===e.type?`${e.generatorType} ${e.layerObj.id} ${e.data.source.key}`:Math.random()},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;e.forEach((e=>{if(void 0!==e.x1&&void 0!==e.y1)e.y1===e.y2?(e.x2=e.x1+t.width,e.y1-=o,e.y2-=o):e.x1===e.x2&&(e.y2=e.y1+t.height,e.x1-=r,e.x2-=r);else{const t="x"===e.major.p?r/e.major.size:o/e.major.size,n="y"===e.minor.p?o/e.minor.size:r/e.minor.size;e.points.forEach((e=>{e.modified||(e.major-=t,e.minor-=n,e.minor0-=n,e.modified=!0)}))}}))}},lineOobs:{compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x;0===t.y-n.y&&0===r||e.forEach((e=>{e.opacity=0}))}},points:{trackBy:function(e){return e.data.line?`${e.data.line.value} ${e.data.major.value}`:`${e.data.major.value}`},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y;0===r&&0===o||e.forEach((e=>{e.cx-=r,e.cy-=o}))}},refLineLabels:{trackBy:function(e){if(void 0!==e.value){if("rect"===e.type)return`${e.value}`;if("text"===e.type)return`${e.value} ${e.text}`}return Math.random()},compensateForLayoutChanges:function({currentNodes:e,currentRect:t,previousRect:n}){const r=t.x-n.x,o=t.y-n.y,i=t.width-n.width,a=t.height-n.height;let s=-r,l=-o;e.forEach((e=>{switch(e.dock){case"right":r>0&&(s=t.width);break;case"left":i<0&&(s=-n.width);break;case"top":a<0&&(l=-n.height);break;case"bottom":o>0&&(l=t.height)}switch(e.type){case"text":case"rect":e.x+=s,e.y+=l;break;case"circle":e.cx+=s,e.cy+=l;break;case"path":e.transform=`translate(${s}, ${l})`}}))}},shadowBars:{trackBy:function(){return Math.random()}},cacheProperties:function({viewCache:e,layout:t}){const n=Xo(t);e.set("dataIndependentProperties",JSON.stringify(n))},propertiesHaveChanged:function({viewCache:e,layout:t}){const n=Xo(t);return e.get("dataIndependentProperties")!==JSON.stringify(n)},nonUpdatingNode:{trackBy:function(){return Math.random()}}};function Zo(e,t=!1){const n=t?"IM_5791_SVG_LABEL_RENDERING":"IM_4962_SVG_CHART_LABELS";if(null!=e&&e.isEnabled(n))return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?void 0:"svg"}const Qo={d:"M7 4h9v1H7zm2 4h7v1H9zm2 4h5v1h-5zM1 4v3.526a3.5 3.5 0 0 0 3.5 3.5h2.31L5.22 9.402l.715-.7L8.7 11.527 5.935 14.35l-.714-.7 1.59-1.624H4.5a4.5 4.5 0 0 1-4.5-4.5V4z"},ei={d:"M1 8a7 7 0 1 1 10 6.326V11h-1v5h5v-1h-3.124A8 8 0 1 0 8 16v-1a7 7 0 0 1-7-7Z"},ti={d:"M 6 2 h 10 V 1 H 6 Z m 5 5 h 5 V 6 h -5 Z m 5 5 h -5 v -1 h 5 Z M 5 10 h 1 v 2.663 a 3.5 3.5 0 1 0 -2.922 0.036 l -0.406 0.914 A 4.501 4.501 0 1 1 7.329 13 H 9 v 1 H 5 Z"},ni={d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"},ri={d:"m 13.914 4.5 l -7.707 7.707 L 2 8 l 0.707 -0.707 l 3.5 3.5 l 7 -7 Z"},oi={d:"M2.4,4 L13.6,4 C13.7104569,4 13.8,4.08954305 13.8,4.2 C13.8,4.24327404 13.7859644,4.28538077 13.76,4.32 L8.16,11.7866667 C8.09372583,11.8750322 7.96836556,11.8929408 7.88,11.8266667 C7.86483887,11.8152958 7.85137085,11.8018278 7.84,11.7866667 L2.24,4.32 C2.17372583,4.23163444 2.19163444,4.10627417 2.28,4.04 C2.31461923,4.01403557 2.35672596,4 2.4,4 Z"},ii={d:"M4,13.6 L4,2.4 C4,2.28954305 4.08954305,2.2 4.2,2.2 C4.24327404,2.2 4.28538077,2.21403557 4.32,2.24 L11.7866667,7.84 C11.8750322,7.90627417 11.8929408,8.03163444 11.8266667,8.12 C11.8152958,8.13516113 11.8018278,8.14862915 11.7866667,8.16 L4.32,13.76 C4.23163444,13.8262742 4.10627417,13.8083656 4.04,13.72 C4.01403557,13.6853808 4,13.643274 4,13.6 Z"},ai={single:"N",drillDown:"H",cyclic:"C"},si={N:void 0,H:Qo,C:ti},li=(e,t)=>{switch(e.qGrouping){case ai.single:return;case ai.drillDown:return{path:Qo,tooltip:"Tooltip.dimensions.drilldown",onClick:void 0};case ai.cyclic:return{path:t?ei:ti,tooltip:"Tooltip.dimensions.cyclic",onClick:t?({onError:n})=>{t.getDimension(e.qLibraryId).then((e=>{e.stepCycle?e.stepCycle(1):n()})).catch((()=>null))}:void 0};default:return}};function ci(e,t,n){(function({model:e,properties:t}){return e.modifiers?e.modifiers.apply({model:e,properties:t}):Promise.resolve()})({model:e,properties:n}).then((()=>{e.colorSupport&&e.colorSupport.colorByUpdater(n,"qHyperCubeDef.");let r=zo.generate(t,n);r&&r.length&&(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.applyPatches(r,!0))}))}function ui(e,t,n,r,o,i){e.getEffectiveProperties().then((a=>{const s=a.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===t)),l=a.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===n)),c=se(!0,{},a),u=c.qHyperCubeDef[r][s],d=c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l];d.qAttributeDimensions=u.qAttributeDimensions,u.qAttributeDimensions=[],i||(d.qAttributeExpressions=u.qAttributeExpressions,u.qAttributeExpressions=[]),c.qHyperCubeDef[r][s]=d,c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l]=u,o&&o({oldItem:u,newItem:d,oldProperties:a,newProperties:c,model:e}),ci(e,a,c)}))}function di(e){return e.qGrouping===ai.single?e.qFallbackTitle||"":e.title||""}const pi=async(e,t,n,r,o,i="/qHyperCubeDef")=>{const a=!o;switch(e.qGrouping){case ai.drillDown:{const n=e.qGroupFallbackTitles.slice(0,e.qGroupPos+1),o=a?[]:n.map(((n,o)=>({id:`${e.cId}-${o}`,title:n,selected:e.qGroupPos===o,onSelect:()=>{t.drillUp(i,r,e.qGroupPos-o)}})));return{id:e.cId,icon:a?void 0:Qo,groupItem:!a,title:e.title,selected:a,children:o}}case ai.cyclic:{const t=await(null==n?void 0:n.getDimension(e.qLibraryId)),r=a||!(null!=t&&t.setActiveField)?[]:e.qGroupFallbackTitles.map(((n,r)=>({id:`${e.cId}-${r}`,title:n,selected:e.qGroupPos===r,onSelect:()=>{t.setActiveField(r).catch((()=>null))}})));return{id:e.cId,icon:a?void 0:ti,groupItem:!a,title:e.title,selected:a,children:r}}default:return{selected:!0,id:e.cId,title:di(e)}}},fi=(e,t)=>{const n=[],r=[];return t.forEach((t=>{t.qCalcCondition.qCond.qv&&r.push(e.evaluate(t.qCalcCondition.qCond.qv).then((e=>{"0"===e&&n.push(t.qDef.cId)})))})),Promise.all(r).then((()=>n))},hi=async(e,t,n,r,o,i)=>{const a=await fi(e,n),s=!i,l=n.filter((e=>!a.includes(e.qDef.cId))),c=await Promise.all(l.map((async n=>{const i=await((e,t)=>{if(e.qLibraryId)return t.getDimension(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null))})(n,e),a=await function(e,t,n,r){if(e.qLibraryId)return r?r.qDim.qGrouping===ai.single&&r.qDim.qLabelExpression?Promise.resolve(r.qDim.qLabelExpression):Promise.resolve(r.qDim.title):Promise.resolve(n.get("Object.ErrorMessage.MissingDimension"));const o=e.qDef.qLabelExpression;if(o)return t.evaluate(o);const i=e.qDef.qFieldLabels[0]||e.qDef.qFieldDefs[0];return Promise.resolve(i)}(n,e,r,i),l=(null==i?void 0:i.qDim.qGrouping)||n.qDef.qGrouping,c=s?void 0:si[l],u=!s&&l!==ai.single;return{id:n.qDef.cId,icon:c,groupItem:u,selected:!1,title:a,onSelect(e){ui(t,e,n.qDef.cId,"qDimensions",o)}}})));return c};function mi({column:e,dir:t,dock:n,altList:r,model:o,translator:i,app:a,onChange:s,activeInfo:l,allowChangeOfAlternatives:c,isCyclicFFEnabled:u}){const d=l.qGrouping===ai.single;return 0!==r.length||u&&!d?{dir:t,dock:n,getPopoverOptions:async()=>{const t=await pi(l,o,a,e,u),n=c?await hi(a,o,r,i,s,u):[];return(d||0===t.children.length)&&0===n.length?[]:[t,...n]}}:null}function gi(e,t,n,r,o="/qHyperCubeDef"){return{breadcrumbs:e.qGrouping===ai.drillDown?e.qGroupFallbackTitles.slice(0,e.qGroupPos):[],icon:li(e,r),index:t,locked:!!e.qLocked,text:e.qGrouping===ai.single?e.qFallbackTitle:e.qGroupFallbackTitles[e.qGroupPos],popoverText:di(e),...n&&{drillUp(e){n.drillUp(o,t,e)}},id:e.cId}}function yi({activeInfo:e,altList:t,app:n,dir:r,dock:o,model:i,onChange:a,skipAttributeExpressions:s,translator:l,allowChangeOfAlternatives:c}){return 0===t.length?null:{dir:r,dock:o,getPopoverOptions:async()=>{const r=[{id:e.cId,title:e.qFallbackTitle,selected:!0,onSelect:()=>{}}],o=await fi(n,t),u=t.filter((e=>!o.includes(e.qDef.cId))),d=c?await Promise.all(u.map((async e=>{const t=await function(e,t,n){if(e.qLibraryId)return t.getMeasure(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null)).then((e=>e?e.qMeasure.qLabelExpression?e.qMeasure.qLabelExpression:e.qMeasure.qLabel||e.qMeasure.qDef:n.get("Object.ErrorMessage.MissingMeasure")));const r=e.qDef.qLabelExpression;if(r)return t.evaluate(r);const o=e.qDef.qLabel||e.qDef.qDef;return Promise.resolve(o)}(e,n,l);return{id:e.qDef.cId,selected:!1,title:t,onSelect(t){ui(i,t,e.qDef.cId,"qMeasures",a,s)}}}))):[];return 0===d.length?[]:[...r,...d]}}}function vi(e,t){return{breadcrumbs:[],index:t,locked:!1,text:e.qFallbackTitle,popoverText:e.qFallbackTitle,id:e.cId}}function bi(){return bi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bi.apply(this,arguments)}var xi={exports:{}};function Si(){}function wi(){}wi.resetWarningCache=Si;xi.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:wi,resetWarningCache:Si};return n.PropTypes=n,n}();var Ci=X(xi.exports),ki={black:"#000",white:"#fff"},Ei={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ti={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},Ri={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Mi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Pi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Oi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Di={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};function Ii(){return Ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ii.apply(this,arguments)}function qi(e){return qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qi(e)}function Ai(e){return e&&"object"===qi(e)&&e.constructor===Object}function Ni(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?Ii({},e):e;return Ai(e)&&Ai(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Ai(t[o])&&o in e?r[o]=Ni(e[o],t[o],n):r[o]=t[o])})),r}function Li(e){var t=function(e,t){if("object"!==qi(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==qi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===qi(t)?t:String(t)}function zi(e,t,n){return(t=Li(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ji(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}function $i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function _i(e){if(e.type)return e;if("#"===e.charAt(0))return _i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(ji(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Fi(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function Hi(e){var t="hsl"===(e=_i(e)).type?_i(function(e){var t=(e=_i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Fi({type:s,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Wi(e,t){return e=_i(e),t=$i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,Fi(e)}function Bi(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ui(e,t){if(null==e)return{};var n,r,o=Bi(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Vi=["xs","sm","md","lg","xl"];function Gi(e,t,n){var r;return Ii({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Ii({paddingLeft:t(2),paddingRight:t(2)},n,zi({},e.up("sm"),Ii({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},zi(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),zi(r,e.up("sm"),{minHeight:64}),r)},n)}var Ki={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ki.white,default:Di[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Yi={text:{primary:ki.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Di[800],default:"#303030"},action:{active:ki.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Xi(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=_i(e),t=$i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Fi(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=_i(e),t=$i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Fi(e)}(e.main,i)))}function Ji(e){var t=e.primary,n=void 0===t?{light:Ri[300],main:Ri[500],dark:Ri[700]}:t,r=e.secondary,o=void 0===r?{light:Ti.A200,main:Ti.A400,dark:Ti.A700}:r,i=e.error,a=void 0===i?{light:Ei[300],main:Ei[500],dark:Ei[700]}:i,s=e.warning,l=void 0===s?{light:Oi[300],main:Oi[500],dark:Oi[700]}:s,c=e.info,u=void 0===c?{light:Mi[300],main:Mi[500],dark:Mi[700]}:c,d=e.success,p=void 0===d?{light:Pi[300],main:Pi[500],dark:Pi[700]}:d,f=e.type,h=void 0===f?"light":f,m=e.contrastThreshold,g=void 0===m?3:m,y=e.tonalOffset,v=void 0===y?.2:y,b=Ui(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){var t=function(e,t){var n=Hi(e),r=Hi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Yi.text.primary)>=g?Yi.text.primary:Ki.text.primary;return t}var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Ii({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(ji(4,t));if("string"!=typeof e.main)throw new Error(ji(5,JSON.stringify(e.main)));return Xi(e,"light",n,v),Xi(e,"dark",r,v),e.contrastText||(e.contrastText=x(e.main)),e},w={dark:Yi,light:Ki};return Ni(Ii({common:ki,type:h,primary:S(n),secondary:S(o,"A400","A200","A700"),error:S(a),warning:S(l),info:S(u),success:S(p),grey:Di,contrastThreshold:g,getContrastText:x,augmentColor:S,tonalOffset:v},w[h]),b)}function Zi(e){return Math.round(1e5*e)/1e5}function Qi(e){return Zi(e)}var ea={textTransform:"uppercase"},ta='"Roboto", "Helvetica", "Arial", sans-serif';function na(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?ta:r,i=n.fontSize,a=void 0===i?14:i,s=n.fontWeightLight,l=void 0===s?300:s,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,p=void 0===d?500:d,f=n.fontWeightBold,h=void 0===f?700:f,m=n.htmlFontSize,g=void 0===m?16:m,y=n.allVariants,v=n.pxToRem,b=Ui(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,S=v||function(e){return"".concat(e/g*x,"rem")},w=function(e,t,n,r,i){return Ii({fontFamily:o,fontWeight:e,fontSize:S(t),lineHeight:n},o===ta?{letterSpacing:"".concat(Zi(r/t),"em")}:{},i,y)},C={h1:w(l,96,1.167,-1.5),h2:w(l,60,1.2,-.5),h3:w(u,48,1.167,0),h4:w(u,34,1.235,.25),h5:w(u,24,1.334,0),h6:w(p,20,1.6,.15),subtitle1:w(u,16,1.75,.15),subtitle2:w(p,14,1.57,.1),body1:w(u,16,1.5,.15),body2:w(u,14,1.43,.15),button:w(p,14,1.75,.4,ea),caption:w(u,12,1.66,.4),overline:w(u,12,2.66,1,ea)};return Ni(Ii({htmlFontSize:g,pxToRem:S,round:Qi,fontFamily:o,fontSize:a,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:h},C),b,{clone:!1})}function ra(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var oa=["none",ra(0,2,1,-1,0,1,1,0,0,1,3,0),ra(0,3,1,-2,0,2,2,0,0,1,5,0),ra(0,3,3,-2,0,3,4,0,0,1,8,0),ra(0,2,4,-1,0,4,5,0,0,1,10,0),ra(0,3,5,-1,0,5,8,0,0,1,14,0),ra(0,3,5,-1,0,6,10,0,0,1,18,0),ra(0,4,5,-2,0,7,10,1,0,2,16,1),ra(0,5,5,-3,0,8,10,1,0,3,14,2),ra(0,5,6,-3,0,9,12,1,0,3,16,2),ra(0,6,6,-3,0,10,14,1,0,4,18,3),ra(0,6,7,-4,0,11,15,1,0,4,20,3),ra(0,7,8,-4,0,12,17,2,0,5,22,4),ra(0,7,8,-4,0,13,19,2,0,5,24,4),ra(0,7,9,-4,0,14,21,2,0,5,26,4),ra(0,8,9,-5,0,15,22,2,0,6,28,5),ra(0,8,10,-5,0,16,24,2,0,6,30,5),ra(0,8,11,-5,0,17,26,2,0,6,32,5),ra(0,9,11,-5,0,18,28,2,0,7,34,6),ra(0,9,12,-6,0,19,29,2,0,7,36,6),ra(0,10,13,-6,0,20,31,3,0,8,38,7),ra(0,10,13,-6,0,21,33,3,0,8,40,7),ra(0,10,14,-6,0,22,35,3,0,8,42,7),ra(0,11,14,-7,0,23,36,3,0,9,44,8),ra(0,11,15,-7,0,24,38,3,0,9,46,8)],ia={borderRadius:4};function aa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function sa(e,t){if(e){if("string"==typeof e)return aa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?aa(e,t):void 0}}function la(e){return function(e){if(Array.isArray(e))return aa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sa(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ca(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||sa(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ua(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=function(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var da={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)"},pa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function fa(e){return"".concat(Math.round(e),"ms")}var ha={easing:da,duration:pa,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?pa.standard:n,o=t.easing,i=void 0===o?da.easeInOut:o,a=t.delay,s=void 0===a?0:a;return Ui(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:fa(r)," ").concat(i," ").concat("string"==typeof s?s:fa(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},ma={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ga(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,s=e.spacing,l=e.typography,c=void 0===l?{}:l,u=Ui(e,["breakpoints","mixins","palette","spacing","typography"]),d=Ji(a),p=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,s=Ui(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=Vi.indexOf(t);return r===Vi.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[Vi[r+1]]?n[Vi[r+1]]:t)-a/100).concat(o,")")}return Ii({keys:Vi,values:n,up:l,down:function(e){var t=Vi.indexOf(e)+1,r=n[Vi[t]];return t===Vi.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},s)}(n),f=ua(s),h=Ni({breakpoints:p,direction:"ltr",mixins:Gi(p,f,o),overrides:{},palette:d,props:{},shadows:oa,typography:na(d,c),spacing:f,shape:ia,transitions:ha,zIndex:ma},u),m=arguments.length,g=new Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return h=g.reduce((function(e,t){return Ni(e,t)}),h)}var ya="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",va=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function ba(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,c=function(){return l+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==va.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[ya]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(s).concat(o).concat(c())}}function xa(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var Sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wa="object"===("undefined"==typeof window?"undefined":Sa(window))&&"object"===("undefined"==typeof document?"undefined":Sa(document))&&9===document.nodeType;function Ca(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Li(r.key),r)}}function ka(e,t,n){return t&&Ca(e.prototype,t),n&&Ca(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ea(e,t){return Ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ea(e,t)}function Ta(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ea(e,t)}function Ra(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ma={}.constructor;function Pa(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Pa);if(e.constructor!==Ma)return e;var t={};for(var n in e)t[n]=Pa(e[n]);return t}function Oa(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Pa(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Da=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},Ia=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var n=0;n<e.length&&"!important"!==e[n];n++)t&&(t+=", "),t+=Da(e[n]," ");else t=Da(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function qa(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function Aa(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Na(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;!1===n.format&&(i=-1/0);var s=qa(n),l=s.linebreak,c=s.space;if(e&&i++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var d=a[u];for(var p in d){var f=d[p];null!=f&&(r&&(r+=l),r+=Aa(p+":"+c+Ia(f)+";",i))}}else for(var h in a){var m=a[h];null!=m&&(r&&(r+=l),r+=Aa(h+":"+c+Ia(m)+";",i))}for(var g in t){var y=t[g];null!=y&&"fallbacks"!==g&&(r&&(r+=l),r+=Aa(g+":"+c+Ia(y)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r=""+l+r+l),Aa(""+e+c+"{"+r,--i)+Aa("}",i)):r}var La=/([[\].#*$><+~=|^:(),"'`\s])/g,za="undefined"!=typeof CSS&&CSS.escape,ja=function(e){return za?za(e):e.replace(La,"\\$1")},$a=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),_a=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(Ra(Ra(o)),s),o.selectorText="."+ja(o.id)),o}Ta(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Ia(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Ii({},e,{allowEmpty:!0}):e;return Na(this.selectorText,this.style,n)},ka(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}($a),Fa={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new _a(e,t,n)}},Ha={indent:1,children:!0},Wa=/@([\w-]+)/,Ba=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(Wa);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new hs(Ii({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=Ha);var t=qa(e).linebreak;if(null==e.indent&&(e.indent=Ha.indent),null==e.children&&(e.children=Ha.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),Ua=/@container|@media|@supports\s+/,Va={onCreateRule:function(e,t,n){return Ua.test(e)?new Ba(e,t,n):null}},Ga={indent:1,children:!0},Ka=/@keyframes\s+([\w-]+)/,Ya=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(Ka);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var s in this.id=!1===o?this.name:ja(a(this,i)),this.rules=new hs(Ii({},n,{parent:this})),t)this.rules.add(s,t[s],Ii({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Ga);var t=qa(e).linebreak;if(null==e.indent&&(e.indent=Ga.indent),null==e.children&&(e.children=Ga.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),Xa=/@keyframes\s+/,Ja=/\$([\w-]+)/g,Za=function(e,t){return"string"==typeof e?e.replace(Ja,(function(e,n){return n in t?t[n]:e})):e},Qa=function(e,t,n){var r=e[t],o=Za(r,n);o!==r&&(e[t]=o)},es={onCreateRule:function(e,t,n){return"string"==typeof e&&Xa.test(e)?new Ya(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Qa(e,"animation-name",n.keyframes),"animation"in e&&Qa(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Za(e,r.keyframes);default:return e}}},ts=function(e){function t(){return e.apply(this,arguments)||this}return Ta(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Ii({},e,{allowEmpty:!0}):e;return Na(this.key,this.style,n)},t}($a),ns={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new ts(e,t,n):null}},rs=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=qa(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=Na(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return Na(this.at,this.style,e)},e}(),os=/@font-face/,is={onCreateRule:function(e,t,n){return os.test(e)?new rs(e,t,n):null}},as=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return Na(this.key,this.style,e)},e}(),ss={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new as(e,t,n):null}},ls=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),cs={"@charset":!0,"@import":!0,"@namespace":!0},us={onCreateRule:function(e,t,n){return e in cs?new ls(e,t,n):null}},ds=[Fa,Va,es,ns,is,ss,us],ps={process:!0},fs={force:!0,process:!0},hs=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,s=r.Renderer,l=r.generateId,c=r.scoped,u=Ii({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(u.selector="."+ja(this.classes[d]));var p=Oa(d,t,u);if(!p)return null;this.register(p);var f=void 0===u.index?this.index.length:u.index;return this.index.splice(f,0,p),p},t.replace=function(e,t,n){var r=this.get(e),o=this.index.indexOf(r);r&&this.remove(r);var i=n;return-1!==o&&(i=Ii({},n,{index:o})),this.add(e,t,i)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof _a?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Ya&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof _a?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Ya&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=ps);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==t.style){for(var l in i.onProcessStyle(t.style,t,a),t.style){var c=t.style[l];c!==s[l]&&t.prop(l,c,fs)}for(var u in s){var d=t.style[u],p=s[u];null==d&&d!==p&&t.prop(u,null,fs)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=qa(e).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+=o),t+=a)}return t},e}(),ms=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Ii({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new hs(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.replaceRule=function(e,t,n){var r=this.rules.get(e);if(!r)return this.addRule(e,t,n);var o=this.rules.replace(e,t,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),gs=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),ys=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Bi(t,["attached"]),o=qa(r).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=n&&s.attached!==n||(i&&(i+=o),i+=s.toString(r))}return i},ka(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),vs=new ys,bs="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),xs="2f1acc6c3a606b082e5eef5e54414ffb";null==bs[xs]&&(bs[xs]=0);var Ss=bs[xs]++,ws=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+Ss+o+t:i+n.key+"-"+Ss+(o?"-"+o:"")+"-"+t}},Cs=function(e){var t;return function(){return t||(t=e()),t}},ks=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Es=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Ia(n)),e.attributeStyleMap)e.attributeStyleMap.set(t,r);else{var o=r?r.indexOf("!important"):-1,i=o>-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},Ts=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Rs=function(e,t){return e.selectorText=t,e.selectorText===t},Ms=Cs((function(){return document.querySelector("head")}));function Ps(e){var t=vs.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Ms(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var Os=Cs((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Ds=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},Is=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},qs=function(){function e(e){this.getPropertyValue=ks,this.setProperty=Es,this.removeProperty=Ts,this.setSelector=Rs,this.hasInsertedRules=!1,this.cssRules=[],e&&vs.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=Os();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Ps(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Ms().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=Is(n,t);if(!1===(o=Ds(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var s=Is(n,t),l=Ds(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,s,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof ms&&this.cssRules.splice(t,0,n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),As=0,Ns=function(){function e(e){this.id=As++,this.version="10.10.0",this.plugins=new gs,this.options={id:{minify:!1},createGenerateId:ws,Renderer:wa?qs:null,plugins:[]},this.generateId=ws({minify:!1});for(var t=0;t<ds.length;t++)this.plugins.use(ds[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Ii({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===vs.index?0:vs.index+1);var r=new ms(e,Ii({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),vs.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=Ii({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=Oa(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),Ls=function(e){return new Ns(e)},zs="object"==typeof CSS&&null!=CSS&&"number"in CSS;function js(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=js(r);i&&(t||(t={}),t[n]=i)}}return t}
8
8
  /**
9
9
  * A better abstraction over CSS.
10
10
  *
11
11
  * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
12
12
  * @website https://github.com/cssinjs/jss
13
13
  * @license MIT
14
- */zs();var $s=Date.now(),Fs="fnValues"+$s,Hs="fnStyle"+ ++$s,Ws=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=Da(e,{},n);return r[Hs]=t,r},onProcessStyle:function(e,t){if(Fs in t||Hs in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[Fs]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Hs];i&&(o.style=i(e)||{});var a=o[Fs];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},Bs="@global",Us="@global ",Vs=function(){function e(e,t,n){for(var r in this.type="global",this.at=Bs,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new ms(Ai({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Gs=function(){function e(e,t,n){this.type="global",this.at=Bs,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(Us.length);this.rule=n.jss.createRule(r,t,Ai({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Ks=/\s*,\s*/g;function Ys(e,t){for(var n=e.split(Ks),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function Xs(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Bs)return new Vs(e,t,n);if("@"===e[0]&&e.substr(0,Us.length)===Us)return new Gs(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[Bs]:null;if(o){for(var i in o)t.addRule(i,o[i],Ai({},n,{selector:Ys(i,e.selector)}));delete r[Bs]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,Bs.length)===Bs){var i=Ys(o.substr(Bs.length),e.selector);t.addRule(i,r[o],Ai({},n,{selector:i})),delete r[o]}}(e,t))}}}var Zs=/\s*,\s*/g,Js=/&/g,Qs=/\$([\w-]+)/g;function el(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(Zs),r=e.split(Zs),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(Js,a):a+" "+l}return o}function n(e,t,n){if(n)return Ai({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=Ai({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,s,l=o,c=l.options.parent;for(var u in r){var d=-1!==u.indexOf("&"),p="@"===u[0];if(d||p){if(a=n(l,c,a),d){var f=t(u,l.selector);s||(s=e(c,i)),f=f.replace(Qs,s);var h=l.key+"-"+u;"replaceRule"in c?c.replaceRule(h,r[u],Ai({},a,{selector:f})):c.addRule(h,r[u],Ai({},a,{selector:f}))}else p&&c.addRule(u,{},a).addRule(l.key,r[u],{selector:l.selector});delete r[u]}}return r}}}var tl=/[A-Z]/g,nl=/^ms-/,rl={};function ol(e){return"-"+e.toLowerCase()}function il(e){if(rl.hasOwnProperty(e))return rl[e];var t=e.replace(tl,ol);return rl[e]=nl.test(t)?"-"+t:t}function al(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:il(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(al):t.fallbacks=al(e.fallbacks)),t}var sl=js&&CSS?CSS.px:"px",ll=js&&CSS?CSS.ms:"ms",cl=js&&CSS?CSS.percent:"%";function ul(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var dl=ul({"animation-delay":ll,"animation-duration":ll,"background-position":sl,"background-position-x":sl,"background-position-y":sl,"background-size":sl,border:sl,"border-bottom":sl,"border-bottom-left-radius":sl,"border-bottom-right-radius":sl,"border-bottom-width":sl,"border-left":sl,"border-left-width":sl,"border-radius":sl,"border-right":sl,"border-right-width":sl,"border-top":sl,"border-top-left-radius":sl,"border-top-right-radius":sl,"border-top-width":sl,"border-width":sl,"border-block":sl,"border-block-end":sl,"border-block-end-width":sl,"border-block-start":sl,"border-block-start-width":sl,"border-block-width":sl,"border-inline":sl,"border-inline-end":sl,"border-inline-end-width":sl,"border-inline-start":sl,"border-inline-start-width":sl,"border-inline-width":sl,"border-start-start-radius":sl,"border-start-end-radius":sl,"border-end-start-radius":sl,"border-end-end-radius":sl,margin:sl,"margin-bottom":sl,"margin-left":sl,"margin-right":sl,"margin-top":sl,"margin-block":sl,"margin-block-end":sl,"margin-block-start":sl,"margin-inline":sl,"margin-inline-end":sl,"margin-inline-start":sl,padding:sl,"padding-bottom":sl,"padding-left":sl,"padding-right":sl,"padding-top":sl,"padding-block":sl,"padding-block-end":sl,"padding-block-start":sl,"padding-inline":sl,"padding-inline-end":sl,"padding-inline-start":sl,"mask-position-x":sl,"mask-position-y":sl,"mask-size":sl,height:sl,width:sl,"min-height":sl,"max-height":sl,"min-width":sl,"max-width":sl,bottom:sl,left:sl,top:sl,right:sl,inset:sl,"inset-block":sl,"inset-block-end":sl,"inset-block-start":sl,"inset-inline":sl,"inset-inline-end":sl,"inset-inline-start":sl,"box-shadow":sl,"text-shadow":sl,"column-gap":sl,"column-rule":sl,"column-rule-width":sl,"column-width":sl,"font-size":sl,"font-size-delta":sl,"letter-spacing":sl,"text-decoration-thickness":sl,"text-indent":sl,"text-stroke":sl,"text-stroke-width":sl,"word-spacing":sl,motion:sl,"motion-offset":sl,outline:sl,"outline-offset":sl,"outline-width":sl,perspective:sl,"perspective-origin-x":cl,"perspective-origin-y":cl,"transform-origin":cl,"transform-origin-x":cl,"transform-origin-y":cl,"transform-origin-z":cl,"transition-delay":ll,"transition-duration":ll,"vertical-align":sl,"flex-basis":sl,"shape-margin":sl,size:sl,gap:sl,grid:sl,"grid-gap":sl,"row-gap":sl,"grid-row-gap":sl,"grid-column-gap":sl,"grid-template-rows":sl,"grid-template-columns":sl,"grid-auto-rows":sl,"grid-auto-columns":sl,"box-shadow-x":sl,"box-shadow-y":sl,"box-shadow-blur":sl,"box-shadow-spread":sl,"font-line-height":sl,"text-shadow-x":sl,"text-shadow-y":sl,"text-shadow-blur":sl});function pl(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=pl(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=pl(o,t[o],n);else for(var i in t)t[i]=pl(e+"-"+i,t[i],n);else if("number"==typeof t&&!1===isNaN(t)){var a=n[e]||dl[e];return!a||0===t&&a===sl?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function fl(e){void 0===e&&(e={});var t=ul(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=pl(r,e[r],t);return e},onChangeValue:function(e,n){return pl(n,e,t)}}}var hl="",ml="",gl="",yl="",vl=Ca&&"ontouchstart"in document.documentElement;if(Ca){var bl={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},xl=document.createElement("p").style;for(var Sl in bl)if(Sl+"Transform"in xl){hl=Sl,ml=bl[Sl];break}"Webkit"===hl&&"msHyphens"in xl&&(hl="ms",ml=bl.ms,yl="edge"),"Webkit"===hl&&"-apple-trailing-word"in xl&&(gl="apple")}var wl={js:hl,css:ml,vendor:gl,browser:yl,isTouch:vl};var Cl={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===wl.js?"-webkit-"+e:wl.css+e)}},kl={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===wl.js?wl.css+"print-"+e:e)}},El=/[-\s]+(.)?/g;function Tl(e,t){return t?t.toUpperCase():""}function Rl(e){return e.replace(El,Tl)}function Ml(e){return Rl("-"+e)}var Pl,Ol={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===wl.js){var n="mask-image";if(Rl(n)in t)return e;if(wl.js+Ml(n)in t)return wl.css+e}return e}},Dl={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==wl.vendor||wl.isTouch?e:wl.css+e)}},Il={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:wl.css+e)}},Al={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:wl.css+e)}},ql={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===wl.js||"ms"===wl.js&&"edge"!==wl.browser?wl.css+e:e)}},Nl={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===wl.js||"ms"===wl.js||"apple"===wl.vendor?wl.css+e:e)}},Ll={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===wl.js?"WebkitColumn"+Ml(e)in t&&wl.css+"column-"+e:"Moz"===wl.js&&("page"+Ml(e)in t&&"page-"+e))}},zl={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===wl.js)return e;var n=e.replace("-inline","");return wl.js+Ml(n)in t&&wl.css+n}},jl={supportedProperty:function(e,t){return Rl(e)in t&&e}},_l={supportedProperty:function(e,t){var n=Ml(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:wl.js+n in t?wl.css+e:"Webkit"!==wl.js&&"Webkit"+n in t&&"-webkit-"+e}},$l={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===wl.js?""+wl.css+e:e)}},Fl={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===wl.js?wl.css+"scroll-chaining":e)}},Hl={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Wl={supportedProperty:function(e,t){var n=Hl[e];return!!n&&(wl.js+Ml(n)in t&&wl.css+n)}},Bl={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ul=Object.keys(Bl),Vl=function(e){return wl.css+e},Gl={supportedProperty:function(e,t,n){var r=n.multiple;if(Ul.indexOf(e)>-1){var o=Bl[e];if(!Array.isArray(o))return wl.js+Ml(o)in t&&wl.css+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(wl.js+Ml(o[0])in t))return!1;return o.map(Vl)}return!1}},Kl=[Cl,kl,Ol,Dl,Il,Al,ql,Nl,Ll,zl,jl,_l,$l,Fl,Wl,Gl],Yl=Kl.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Xl=Kl.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,ca(t.noPrefill)),e}),[]),Zl={};if(Ca){Pl=document.createElement("p");var Jl=window.getComputedStyle(document.documentElement,"");for(var Ql in Jl)isNaN(Ql)||(Zl[Jl[Ql]]=Jl[Ql]);Xl.forEach((function(e){return delete Zl[e]}))}function ec(e,t){if(void 0===t&&(t={}),!Pl)return e;if(null!=Zl[e])return Zl[e];"transition"!==e&&"transform"!==e||(t[e]=e in Pl.style);for(var n=0;n<Yl.length&&(Zl[e]=Yl[n](e,Pl.style,t),!Zl[e]);n++);try{Pl.style[e]=""}catch(e){return!1}return Zl[e]}var tc,nc={},rc={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},oc=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function ic(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?ec(t):", "+ec(n);return r||(t||n)}function ac(e,t){var n=t;if(!tc||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=nc[r])return nc[r];try{tc.style[e]=n}catch(e){return nc[r]=!1,!1}if(rc[e])n=n.replace(oc,ic);else if(""===tc.style[e]&&("-ms-flex"===(n=wl.css+n)&&(tc.style[e]="-ms-flexbox"),tc.style[e]=n,""===tc.style[e]))return nc[r]=!1,!1;return tc.style[e]="",nc[r]=n,nc[r]}function sc(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=ec(n);i&&i!==n&&(o=!0);var a=!1,s=ac(i,Aa(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===wl.js?e:"@"+wl.css+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return ac(t,Aa(e))||e}}}function lc(){return{plugins:[Ws(),Xs(),el(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=al(e[t]);return e}return al(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=il(t);return t===r?e:(n.prop(r,e),null)}},fl(),"undefined"==typeof window?null:sc(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}})]};var e}function cc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(e.Component,!n)return t;var r=Ai({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}Ca&&(tc=document.createElement("p"));var uc={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},dc=uc,pc=m.createContext(null);function fc(){return m.useContext(pc)}var hc,mc=zs(lc()),gc={disableGeneration:!1,generateClassName:xa(),jss:mc,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},yc=m.createContext(gc);function vc(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,o=e.disableGeneration,i=void 0!==o&&o,a=Vi(e,["children","injectFirst","disableGeneration"]),s=Ai({},m.useContext(yc),{disableGeneration:i},a);if(!s.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!hc){var l=document.head;hc=document.createComment("mui-inject-first"),l.insertBefore(hc,l.firstChild)}s.jss=zs({plugins:lc().plugins,insertionPoint:hc})}return m.createElement(yc.Provider,{value:s},t)}var bc=-1e9;var xc={};function Sc(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=dc.get(o.sheetsManager,i,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},dc.set(o.sheetsManager,i,r,s));var l=Ai({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var c=o.sheetsRegistry;if(0===s.refs){var u;o.sheetsCache&&(u=dc.get(o.sheetsCache,i,r));var d=i.create(r,a);u||((u=o.jss.createStyleSheet(d,Ai({link:!1},l))).attach(),o.sheetsCache&&dc.set(o.sheetsCache,i,r,u)),c&&c.add(u),s.staticSheet=u,s.dynamicStyles=_s(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,Ai({link:!0},l));p.update(t),p.attach(),n.dynamicSheet=p,n.classes=cc({baseClasses:s.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else n.classes=s.staticSheet.classes;s.refs+=1}}function wc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?xc:i,s=Vi(t,["name","classNamePrefix","Component","defaultTheme"]),l=function(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=Ai({},o);return Object.keys(i).forEach((function(e){a[e]=Li(a[e],i[e])})),a},options:{}}}(e),c=n||r||"makeStyles";l.options={index:bc+=1,name:n,meta:c,classNamePrefix:c};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=fc()||a,r=Ai({},m.useContext(yc),s),i=m.useRef(),c=m.useRef();!function(e,t){var n,r=m.useRef([]),o=m.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),m.useEffect((function(){return function(){n&&n()}}),[o])}((function(){var o={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return Sc(o,e),c.current=!1,i.current=o,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=dc.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(dc.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,l]),m.useEffect((function(){c.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(i.current,e),c.current=!0}));var u=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=cc({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(i.current,e.classes,o);return u}}function Cc(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Cc(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function kc(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Cc(e))&&(r&&(r+=" "),r+=t);return r}var Ec={exports:{}},Tc={},Rc="function"==typeof Symbol&&Symbol.for,Mc=Rc?Symbol.for("react.element"):60103,Pc=Rc?Symbol.for("react.portal"):60106,Oc=Rc?Symbol.for("react.fragment"):60107,Dc=Rc?Symbol.for("react.strict_mode"):60108,Ic=Rc?Symbol.for("react.profiler"):60114,Ac=Rc?Symbol.for("react.provider"):60109,qc=Rc?Symbol.for("react.context"):60110,Nc=Rc?Symbol.for("react.async_mode"):60111,Lc=Rc?Symbol.for("react.concurrent_mode"):60111,zc=Rc?Symbol.for("react.forward_ref"):60112,jc=Rc?Symbol.for("react.suspense"):60113,_c=Rc?Symbol.for("react.suspense_list"):60120,$c=Rc?Symbol.for("react.memo"):60115,Fc=Rc?Symbol.for("react.lazy"):60116,Hc=Rc?Symbol.for("react.block"):60121,Wc=Rc?Symbol.for("react.fundamental"):60117,Bc=Rc?Symbol.for("react.responder"):60118,Uc=Rc?Symbol.for("react.scope"):60119;function Vc(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Mc:switch(e=e.type){case Nc:case Lc:case Oc:case Ic:case Dc:case jc:return e;default:switch(e=e&&e.$$typeof){case qc:case zc:case Fc:case $c:case Ac:return e;default:return t}}case Pc:return t}}}function Gc(e){return Vc(e)===Lc}Tc.AsyncMode=Nc,Tc.ConcurrentMode=Lc,Tc.ContextConsumer=qc,Tc.ContextProvider=Ac,Tc.Element=Mc,Tc.ForwardRef=zc,Tc.Fragment=Oc,Tc.Lazy=Fc,Tc.Memo=$c,Tc.Portal=Pc,Tc.Profiler=Ic,Tc.StrictMode=Dc,Tc.Suspense=jc,Tc.isAsyncMode=function(e){return Gc(e)||Vc(e)===Nc},Tc.isConcurrentMode=Gc,Tc.isContextConsumer=function(e){return Vc(e)===qc},Tc.isContextProvider=function(e){return Vc(e)===Ac},Tc.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Mc},Tc.isForwardRef=function(e){return Vc(e)===zc},Tc.isFragment=function(e){return Vc(e)===Oc},Tc.isLazy=function(e){return Vc(e)===Fc},Tc.isMemo=function(e){return Vc(e)===$c},Tc.isPortal=function(e){return Vc(e)===Pc},Tc.isProfiler=function(e){return Vc(e)===Ic},Tc.isStrictMode=function(e){return Vc(e)===Dc},Tc.isSuspense=function(e){return Vc(e)===jc},Tc.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Oc||e===Lc||e===Ic||e===Dc||e===jc||e===_c||"object"==typeof e&&null!==e&&(e.$$typeof===Fc||e.$$typeof===$c||e.$$typeof===Ac||e.$$typeof===qc||e.$$typeof===zc||e.$$typeof===Wc||e.$$typeof===Bc||e.$$typeof===Uc||e.$$typeof===Hc)},Tc.typeOf=Vc,Ec.exports=Tc;var Kc=Ec.exports,Yc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Xc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Zc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Jc={};function Qc(e){return Kc.isMemo(e)?Zc:Jc[e.$$typeof]||Yc}Jc[Kc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Jc[Kc.Memo]=Zc;var eu=Object.defineProperty,tu=Object.getOwnPropertyNames,nu=Object.getOwnPropertySymbols,ru=Object.getOwnPropertyDescriptor,ou=Object.getPrototypeOf,iu=Object.prototype;var au=function e(t,n,r){if("string"!=typeof n){if(iu){var o=ou(n);o&&o!==iu&&e(t,o,r)}var i=tu(n);nu&&(i=i.concat(nu(n)));for(var a=Qc(t),s=Qc(n),l=0;l<i.length;++l){var c=i[l];if(!(Xc[c]||r&&r[c]||s&&s[c]||a&&a[c])){var u=ru(n,c);try{eu(t,c,u)}catch(e){}}}}return t},su=Y(au);function lu(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,i=Vi(r,["name"]),a=o,s="function"==typeof t?function(e){return{root:function(n){return t(Ai({theme:e},n))}}}:{root:t},l=wc(s,Ai({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var c=m.forwardRef((function(t,r){var o,i,a,s=t.children,c=t.className,u=t.clone,d=t.component,p=Vi(t,["children","className","clone","component"]),f=kc(l(t).root,c),h=p;if(n&&(o=h,i=n,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),h=a),u)return m.cloneElement(s,Ai({className:kc(s.props.className,f)},h));if("function"==typeof s)return s(Ai({className:f},h));var g=d||e;return m.createElement(g,Ai({ref:r,className:f},h),s)}));return su(c,e),c}}function cu(e){var t=e.children,n=e.theme,r=fc(),o=m.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):Ai({},e,t)}(r,n);return null!=e&&(e[va]=null!==r),e}),[n,r]);return m.createElement(pc.Provider,{value:o},t)}var uu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,s=Vi(t,["defaultTheme","withTheme","name"]),l=a,c=wc(e,Ai({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:l},s)),u=m.forwardRef((function(e,t){e.classes;var o,s=e.innerRef,l=Vi(e,["classes","innerRef"]),u=c(Ai({},n.defaultProps,e)),d=l;return("string"==typeof a||i)&&(o=fc()||r,a&&(d=Sa({theme:o,name:a,props:l})),i&&!d.theme&&(d.theme=o)),m.createElement(n,Ai({ref:s||t,classes:u},d))}));return su(u,n),u}},du=ya(),pu=function(e){var t=lu(e);return function(e,n){return t(e,Ai({defaultTheme:du},n))}};function fu(e,t){return uu(e,Ai({defaultTheme:du},t))}function hu(e){if("string"!=typeof e)throw new Error(_i(7));return e.charAt(0).toUpperCase()+e.slice(1)}function mu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function gu(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=gu(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function yu(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=gu(e))&&(r&&(r+=" "),r+=t);return r}function vu(e){return e&&e.ownerDocument||document}function bu(e){return vu(e).defaultView||window}function xu(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Su="undefined"!=typeof window?g.useLayoutEffect:g.useEffect;function wu(e){var t=g.useRef(e);return Su((function(){t.current=e})),g.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function Cu(e,t){return g.useMemo((function(){return null==e&&null==t?null:function(n){xu(e,n),xu(t,n)}}),[e,t])}var ku=!0,Eu=!1,Tu=null,Ru={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Mu(e){e.metaKey||e.altKey||e.ctrlKey||(ku=!0)}function Pu(){ku=!1}function Ou(){"hidden"===this.visibilityState&&Eu&&(ku=!0)}function Du(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return ku||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!Ru[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Iu(){Eu=!0,window.clearTimeout(Tu),Tu=window.setTimeout((function(){Eu=!1}),100)}function Au(){var e=g.useCallback((function(e){var t,n=w.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Mu,!0),t.addEventListener("mousedown",Pu,!0),t.addEventListener("pointerdown",Pu,!0),t.addEventListener("touchstart",Pu,!0),t.addEventListener("visibilitychange",Ou,!0))}),[]);return{isFocusVisible:Du,onBlurVisible:Iu,ref:e}}var qu=!1,Nu=m.createContext(null),Lu="unmounted",zu="exited",ju="entering",_u="entered",$u="exiting",Fu=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=zu,r.appearStatus=ju):o=_u:o=t.unmountOnExit||t.mountOnEnter?Lu:zu,r.state={status:o},r.nextCallback=null,r}Ra(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Lu?{status:zu}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ju&&n!==_u&&(t=ju):n!==ju&&n!==_u||(t=$u)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ju){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:C.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zu&&this.setState({status:Lu})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[C.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||qu?this.safeSetState({status:_u},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:ju},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:_u},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:C.findDOMNode(this);t&&!qu?(this.props.onExit(r),this.safeSetState({status:$u},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:zu},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:zu},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:C.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Lu)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=Ui(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(Nu.Provider,{value:null},"function"==typeof n?n(e,r):m.cloneElement(m.Children.only(n),r))},t}(m.Component);function Hu(){}Fu.contextType=Nu,Fu.propTypes={},Fu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Hu,onEntering:Hu,onEntered:Hu,onExit:Hu,onExiting:Hu,onExited:Hu},Fu.UNMOUNTED=Lu,Fu.EXITED=zu,Fu.ENTERING=ju,Fu.ENTERED=_u,Fu.EXITING=$u;var Wu=Fu;function Bu(e,t){var n=Object.create(null);return e&&y.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&v(e)?t(e):e}(e)})),n}function Uu(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Vu(e,t,n){var r=Bu(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(v(a)){var s=i in t,l=i in r,c=t[i],u=v(c)&&!c.props.in;!l||s&&!u?l||!s||u?l&&s&&v(c)&&(o[i]=b(a,{onExited:n.bind(null,a),in:c.props.in,exit:Uu(a,"exit",e),enter:Uu(a,"enter",e)})):o[i]=b(a,{in:!1}):o[i]=b(a,{onExited:n.bind(null,a),in:!0,exit:Uu(a,"exit",e),enter:Uu(a,"enter",e)})}})),o}var Gu=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ku=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(Ma(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Ra(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,Bu(n.children,(function(e){return b(e,{onExited:r.bind(null,e),in:!0,appear:Uu(e,"appear",n),enter:Uu(e,"enter",n),exit:Uu(e,"exit",n)})}))):Vu(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Bu(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Ai({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ui(e,["component","childFactory"]),o=this.state.contextValue,i=Gu(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?m.createElement(Nu.Provider,{value:o},i):m.createElement(Nu.Provider,{value:o},m.createElement(t,r,i))},t}(m.Component);Ku.propTypes={},Ku.defaultProps={component:"div",childFactory:function(e){return e}};var Yu=Ku;function Xu(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}var Zu=g.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.component,i=void 0===o?"div":o,a=e.square,s=void 0!==a&&a,l=e.elevation,c=void 0===l?1:l,u=e.variant,d=void 0===u?"elevation":u,p=Vi(e,["classes","className","component","square","elevation","variant"]);return g.createElement(i,Ai({className:yu(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(c)],!s&&n.rounded),ref:t},p))})),Ju=fu((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Ai({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(Zu),Qu="undefined"==typeof window?g.useEffect:g.useLayoutEffect;function ed(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,i=e.rippleY,a=e.rippleSize,s=e.in,l=e.onExited,c=void 0===l?function(){}:l,u=e.timeout,d=g.useState(!1),p=d[0],f=d[1],h=yu(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},y=yu(t.child,p&&t.childLeaving,r&&t.childPulsate),v=wu(c);return Qu((function(){if(!s){f(!0);var e=setTimeout(v,u);return function(){clearTimeout(e)}}}),[v,s,u]),g.createElement("span",{className:h,style:m},g.createElement("span",{className:y}))}var td=g.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,o=e.classes,i=e.className,a=Vi(e,["center","classes","className"]),s=g.useState([]),l=s[0],c=s[1],u=g.useRef(0),d=g.useRef(null);g.useEffect((function(){d.current&&(d.current(),d.current=null)}),[l]);var p=g.useRef(!1),f=g.useRef(null),h=g.useRef(null),m=g.useRef(null);g.useEffect((function(){return function(){clearTimeout(f.current)}}),[]);var y=g.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;c((function(e){return[].concat(ca(e),[g.createElement(ed,{key:u.current,classes:o,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i})])})),u.current+=1,d.current=a}),[o]),v=g.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=t.pulsate,i=void 0!==o&&o,a=t.center,s=void 0===a?r||t.pulsate:a,l=t.fakeElement,c=void 0!==l&&l;if("mousedown"===e.type&&p.current)p.current=!1;else{"touchstart"===e.type&&(p.current=!0);var u,d,g,v=c?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(b.width/2),d=Math.round(b.height/2);else{var x=e.touches?e.touches[0]:e,S=x.clientX,w=x.clientY;u=Math.round(S-b.left),d=Math.round(w-b.top)}if(s)(g=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(g+=1);else{var C=2*Math.max(Math.abs((v?v.clientWidth:0)-u),u)+2,k=2*Math.max(Math.abs((v?v.clientHeight:0)-d),d)+2;g=Math.sqrt(Math.pow(C,2)+Math.pow(k,2))}e.touches?null===h.current&&(h.current=function(){y({pulsate:i,rippleX:u,rippleY:d,rippleSize:g,cb:n})},f.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):y({pulsate:i,rippleX:u,rippleY:d,rippleSize:g,cb:n})}}),[r,y]),b=g.useCallback((function(){v({},{pulsate:!0})}),[v]),x=g.useCallback((function(e,t){if(clearTimeout(f.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(f.current=setTimeout((function(){x(e,t)})));h.current=null,c((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return g.useImperativeHandle(t,(function(){return{pulsate:b,start:v,stop:x}}),[b,v,x]),g.createElement("span",Ai({className:yu(o.root,i),ref:m},a),g.createElement(Yu,{component:null,exit:!0},l))})),nd=fu((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(g.memo(td)),rd=g.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,o=e.centerRipple,i=void 0!==o&&o,a=e.children,s=e.classes,l=e.className,c=e.component,u=void 0===c?"button":c,d=e.disabled,p=void 0!==d&&d,f=e.disableRipple,h=void 0!==f&&f,m=e.disableTouchRipple,y=void 0!==m&&m,v=e.focusRipple,b=void 0!==v&&v,x=e.focusVisibleClassName,S=e.onBlur,C=e.onClick,k=e.onFocus,E=e.onFocusVisible,T=e.onKeyDown,R=e.onKeyUp,M=e.onMouseDown,P=e.onMouseLeave,O=e.onMouseUp,D=e.onTouchEnd,I=e.onTouchMove,A=e.onTouchStart,q=e.onDragLeave,N=e.tabIndex,L=void 0===N?0:N,z=e.TouchRippleProps,j=e.type,_=void 0===j?"button":j,$=Vi(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),F=g.useRef(null);var H=g.useRef(null),W=g.useState(!1),B=W[0],U=W[1];p&&B&&U(!1);var V=Au(),G=V.isFocusVisible,K=V.onBlurVisible,Y=V.ref;function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return wu((function(r){return t&&t(r),!n&&H.current&&H.current[e](r),!0}))}g.useImperativeHandle(n,(function(){return{focusVisible:function(){U(!0),F.current.focus()}}}),[]),g.useEffect((function(){B&&b&&!h&&H.current.pulsate()}),[h,b,B]);var Z=X("start",M),J=X("stop",q),Q=X("stop",O),ee=X("stop",(function(e){B&&e.preventDefault(),P&&P(e)})),te=X("start",A),ne=X("stop",D),re=X("stop",I),oe=X("stop",(function(e){B&&(K(e),U(!1)),S&&S(e)}),!1),ie=wu((function(e){F.current||(F.current=e.currentTarget),G(e)&&(U(!0),E&&E(e)),k&&k(e)})),ae=function(){var e=w.findDOMNode(F.current);return u&&"button"!==u&&!("A"===e.tagName&&e.href)},se=g.useRef(!1),le=wu((function(e){b&&!se.current&&B&&H.current&&" "===e.key&&(se.current=!0,e.persist(),H.current.stop(e,(function(){H.current.start(e)}))),e.target===e.currentTarget&&ae()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&ae()&&"Enter"===e.key&&!p&&(e.preventDefault(),C&&C(e))})),ce=wu((function(e){b&&" "===e.key&&H.current&&B&&!e.defaultPrevented&&(se.current=!1,e.persist(),H.current.stop(e,(function(){H.current.pulsate(e)}))),R&&R(e),C&&e.target===e.currentTarget&&ae()&&" "===e.key&&!e.defaultPrevented&&C(e)})),ue=u;"button"===ue&&$.href&&(ue="a");var de={};"button"===ue?(de.type=_,de.disabled=p):("a"===ue&&$.href||(de.role="button"),de["aria-disabled"]=p);var pe=Cu(r,t),fe=Cu(Y,F),he=Cu(pe,fe),me=g.useState(!1),ge=me[0],ye=me[1];g.useEffect((function(){ye(!0)}),[]);var ve=ge&&!h&&!p;return g.createElement(ue,Ai({className:yu(s.root,l,B&&[s.focusVisible,x],p&&s.disabled),onBlur:oe,onClick:C,onFocus:ie,onKeyDown:le,onKeyUp:ce,onMouseDown:Z,onMouseLeave:ee,onMouseUp:Q,onDragLeave:J,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:he,tabIndex:p?-1:L},de,$),a,ve?g.createElement(nd,Ai({ref:H,center:i},z)):null)})),od=fu({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(rd),id={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},ad=g.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,o=e.classes,i=e.className,a=e.color,s=void 0===a?"initial":a,l=e.component,c=e.display,u=void 0===c?"initial":c,d=e.gutterBottom,p=void 0!==d&&d,f=e.noWrap,h=void 0!==f&&f,m=e.paragraph,y=void 0!==m&&m,v=e.variant,b=void 0===v?"body1":v,x=e.variantMapping,S=void 0===x?id:x,w=Vi(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=l||(y?"p":S[b]||id[b])||"span";return g.createElement(C,Ai({className:yu(o.root,i,"inherit"!==b&&o[b],"initial"!==s&&o["color".concat(hu(s))],h&&o.noWrap,p&&o.gutterBottom,y&&o.paragraph,"inherit"!==r&&o["align".concat(hu(r))],"initial"!==u&&o["display".concat(hu(u))]),ref:t},w))})),sd=fu((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(ad),ld=g.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.color,a=void 0===i?"default":i,s=e.component,l=void 0===s?"button":s,c=e.disabled,u=void 0!==c&&c,d=e.disableElevation,p=void 0!==d&&d,f=e.disableFocusRipple,h=void 0!==f&&f,m=e.endIcon,y=e.focusVisibleClassName,v=e.fullWidth,b=void 0!==v&&v,x=e.size,S=void 0===x?"medium":x,w=e.startIcon,C=e.type,k=void 0===C?"button":C,E=e.variant,T=void 0===E?"text":E,R=Vi(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),M=w&&g.createElement("span",{className:yu(r.startIcon,r["iconSize".concat(hu(S))])},w),P=m&&g.createElement("span",{className:yu(r.endIcon,r["iconSize".concat(hu(S))])},m);return g.createElement(od,Ai({className:yu(r.root,r[T],o,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(T).concat(hu(a))],"medium"!==S&&[r["".concat(T,"Size").concat(hu(S))],r["size".concat(hu(S))]],p&&r.disableElevation,u&&r.disabled,b&&r.fullWidth),component:l,disabled:u,focusRipple:!h,focusVisibleClassName:yu(r.focusVisible,y),ref:t,type:k},R),g.createElement("span",{className:r.label},M,n,P))})),cd=fu((function(e){return{root:Ai({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Bi(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Bi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Bi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Bi(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Bi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Bi(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Bi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(ld);var ud="undefined"!=typeof window?g.useLayoutEffect:g.useEffect,dd=g.forwardRef((function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,s=g.useState(null),l=s[0],c=s[1],u=Cu(g.isValidElement(n)?n.ref:null,t);return ud((function(){i||c(function(e){return e="function"==typeof e?e():e,w.findDOMNode(e)}(r)||document.body)}),[r,i]),ud((function(){if(l&&!i)return xu(t,l),function(){xu(t,null)}}),[t,l,i]),ud((function(){a&&(l||i)&&a()}),[a,l,i]),i?g.isValidElement(n)?g.cloneElement(n,{ref:u}):n:l?w.createPortal(n,l):l})),pd=dd;function fd(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function hd(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function md(e,t,n){var r=arguments.length>4?arguments[4]:void 0,o=[t,n].concat(ca(arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])),i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===i.indexOf(e.tagName)&&fd(e,r)}))}function gd(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function yd(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=vu(e);return t.body===e?bu(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(hd(i)+a,"px"),n=vu(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(hd(e)+a,"px")}))}var s=i.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var vd=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}return Ea(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&fd(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);md(t,e.mountNode,e.modalRef,r,!0);var o=gd(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=gd(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=yd(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=gd(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&fd(e.modalRef,!0),md(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&fd(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();function bd(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,a=e.disableRestoreFocus,s=void 0!==a&&a,l=e.getDoc,c=e.isEnabled,u=e.open,d=g.useRef(),p=g.useRef(null),f=g.useRef(null),h=g.useRef(),m=g.useRef(null),y=g.useCallback((function(e){m.current=w.findDOMNode(e)}),[]),v=Cu(t.ref,y),b=g.useRef();return g.useEffect((function(){b.current=u}),[u]),!b.current&&u&&"undefined"!=typeof window&&(h.current=l().activeElement),g.useEffect((function(){if(u){var e=vu(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!i&&c()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!i&&c()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?f.current.focus():p.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval((function(){t()}),50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),s||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}}),[r,i,s,c,u]),g.createElement(g.Fragment,null,g.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelStart"}),g.cloneElement(t,{ref:v}),g.createElement("div",{tabIndex:0,ref:f,"data-test":"sentinelEnd"}))}var xd={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},Sd=g.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,o=e.open,i=Vi(e,["invisible","open"]);return o?g.createElement("div",Ai({"aria-hidden":!0,ref:t},i,{style:Ai({},xd.root,r?xd.invisible:{},i.style)})):null}));var wd=new vd,Cd=g.forwardRef((function(e,t){var n=fc(),r=Sa({name:"MuiModal",props:Ai({},e),theme:n}),o=r.BackdropComponent,i=void 0===o?Sd:o,a=r.BackdropProps,s=r.children,l=r.closeAfterTransition,c=void 0!==l&&l,u=r.container,d=r.disableAutoFocus,p=void 0!==d&&d,f=r.disableBackdropClick,h=void 0!==f&&f,m=r.disableEnforceFocus,y=void 0!==m&&m,v=r.disableEscapeKeyDown,b=void 0!==v&&v,x=r.disablePortal,S=void 0!==x&&x,C=r.disableRestoreFocus,k=void 0!==C&&C,E=r.disableScrollLock,T=void 0!==E&&E,R=r.hideBackdrop,M=void 0!==R&&R,P=r.keepMounted,O=void 0!==P&&P,D=r.manager,I=void 0===D?wd:D,A=r.onBackdropClick,q=r.onClose,N=r.onEscapeKeyDown,L=r.onRendered,z=r.open,j=Vi(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),_=g.useState(!0),$=_[0],F=_[1],H=g.useRef({}),W=g.useRef(null),B=g.useRef(null),U=Cu(B,t),V=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),G=function(){return vu(W.current)},K=function(){return H.current.modalRef=B.current,H.current.mountNode=W.current,H.current},Y=function(){I.mount(K(),{disableScrollLock:T}),B.current.scrollTop=0},X=wu((function(){var e=function(e){return e="function"==typeof e?e():e,w.findDOMNode(e)}(u)||G().body;I.add(K(),e),B.current&&Y()})),Z=g.useCallback((function(){return I.isTopModal(K())}),[I]),J=wu((function(e){W.current=e,e&&(L&&L(),z&&Z()?Y():fd(B.current,!0))})),Q=g.useCallback((function(){I.remove(K())}),[I]);if(g.useEffect((function(){return function(){Q()}}),[Q]),g.useEffect((function(){z?X():V&&c||Q()}),[z,Q,V,c,X]),!O&&!z&&(!V||$))return null;var ee=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:ga}),te={};return void 0===s.props.tabIndex&&(te.tabIndex=s.props.tabIndex||"-1"),V&&(te.onEnter=mu((function(){F(!1)}),s.props.onEnter),te.onExited=mu((function(){F(!0),c&&Q()}),s.props.onExited)),g.createElement(pd,{ref:J,container:u,disablePortal:S},g.createElement("div",Ai({ref:U,onKeyDown:function(e){"Escape"===e.key&&Z()&&(N&&N(e),b||(e.stopPropagation(),q&&q(e,"escapeKeyDown")))},role:"presentation"},j,{style:Ai({},ee.root,!z&&$?ee.hidden:{},j.style)}),M?null:g.createElement(i,Ai({open:z,onClick:function(e){e.target===e.currentTarget&&(A&&A(e),!h&&q&&q(e,"backdropClick"))}},a)),g.createElement(bd,{disableEnforceFocus:y,disableAutoFocus:p,disableRestoreFocus:k,getDoc:G,isEnabled:Z,open:z},g.cloneElement(s,te))))})),kd=Cd,Ed=g.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,o=e.classes,i=e.className,a=e.component,s=void 0===a?"hr":a,l=e.flexItem,c=void 0!==l&&l,u=e.light,d=void 0!==u&&u,p=e.orientation,f=void 0===p?"horizontal":p,h=e.role,m=void 0===h?"hr"!==s?"separator":void 0:h,y=e.variant,v=void 0===y?"fullWidth":y,b=Vi(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return g.createElement(s,Ai({className:yu(o.root,i,"fullWidth"!==v&&o[v],r&&o.absolute,c&&o.flexItem,d&&o.light,"vertical"===f&&o.vertical),role:m,ref:t},b))})),Td=fu((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Bi(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(Ed);function Rd(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Md={entering:{opacity:1,transform:Rd(1)},entered:{opacity:1,transform:"none"}},Pd=g.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,s=e.onEntered,l=e.onEntering,c=e.onExit,u=e.onExited,d=e.onExiting,p=e.style,f=e.timeout,h=void 0===f?"auto":f,m=e.TransitionComponent,y=void 0===m?Wu:m,v=Vi(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),b=g.useRef(),x=g.useRef(),S=fc()||du,w=S.unstable_strictMode&&!o,C=g.useRef(null),k=Cu(n.ref,t),E=Cu(w?C:void 0,k),T=function(e){return function(t,n){if(e){var r=ua(w?[C.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},R=T(l),M=T((function(e,t){!function(e){e.scrollTop}(e);var n,r=Xu({style:p,timeout:h},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===h?(n=S.transitions.getAutoHeightDuration(e.clientHeight),x.current=n):n=o,e.style.transition=[S.transitions.create("opacity",{duration:n,delay:i}),S.transitions.create("transform",{duration:.666*n,delay:i})].join(","),a&&a(e,t)})),P=T(s),O=T(d),D=T((function(e){var t,n=Xu({style:p,timeout:h},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===h?(t=S.transitions.getAutoHeightDuration(e.clientHeight),x.current=t):t=r,e.style.transition=[S.transitions.create("opacity",{duration:t,delay:o}),S.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=Rd(.75),c&&c(e)})),I=T(u);return g.useEffect((function(){return function(){clearTimeout(b.current)}}),[]),g.createElement(y,Ai({appear:!0,in:i,nodeRef:w?C:void 0,onEnter:M,onEntered:P,onEntering:R,onExit:D,onExited:I,onExiting:O,addEndListener:function(e,t){var n=w?e:t;"auto"===h&&(b.current=setTimeout(n,x.current||0))},timeout:"auto"===h?null:h},v),(function(e,t){return g.cloneElement(n,Ai({style:Ai({opacity:0,transform:Rd(.75),visibility:"exited"!==e||i?void 0:"hidden"},Md[e],p,n.props.style),ref:E},t))}))}));Pd.muiSupportAuto=!0;var Od=Pd,Dd=g.createContext({}),Id=g.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"ul":i,s=e.dense,l=void 0!==s&&s,c=e.disablePadding,u=void 0!==c&&c,d=e.subheader,p=Vi(e,["children","classes","className","component","dense","disablePadding","subheader"]),f=g.useMemo((function(){return{dense:l}}),[l]);return g.createElement(Dd.Provider,{value:f},g.createElement(a,Ai({className:yu(r.root,o,l&&r.dense,!u&&r.padding,d&&r.subheader),ref:t},p),d,n))})),Ad=fu({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Id),qd="undefined"==typeof window?g.useEffect:g.useLayoutEffect,Nd=g.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,o=e.autoFocus,i=void 0!==o&&o,a=e.button,s=void 0!==a&&a,l=e.children,c=e.classes,u=e.className,d=e.component,p=e.ContainerComponent,f=void 0===p?"li":p,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,y=Vi(h,["className"]),v=e.dense,b=void 0!==v&&v,x=e.disabled,S=void 0!==x&&x,C=e.disableGutters,k=void 0!==C&&C,E=e.divider,T=void 0!==E&&E,R=e.focusVisibleClassName,M=e.selected,P=void 0!==M&&M,O=Vi(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),D=g.useContext(Dd),I={dense:b||D.dense||!1,alignItems:r},A=g.useRef(null);qd((function(){i&&A.current&&A.current.focus()}),[i]);var q,N,L=g.Children.toArray(l),z=L.length&&(q=L[L.length-1],N=["ListItemSecondaryAction"],g.isValidElement(q)&&-1!==N.indexOf(q.type.muiName)),j=Cu(g.useCallback((function(e){A.current=w.findDOMNode(e)}),[]),t),_=Ai({className:yu(c.root,u,I.dense&&c.dense,!k&&c.gutters,T&&c.divider,S&&c.disabled,s&&c.button,"center"!==r&&c.alignItemsFlexStart,z&&c.secondaryAction,P&&c.selected),disabled:S},O),$=d||"li";return s&&(_.component=d||"div",_.focusVisibleClassName=yu(c.focusVisible,R),$=od),z?($=_.component||d?$:"div","li"===f&&("li"===$?$="div":"li"===_.component&&(_.component="div")),g.createElement(Dd.Provider,{value:I},g.createElement(f,Ai({className:yu(c.container,m),ref:j},y),g.createElement($,_,L),L.pop()))):g.createElement(Dd.Provider,{value:I},g.createElement($,Ai({ref:j},_),L))})),Ld=fu((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(Nd),zd=g.forwardRef((function(e,t){var n=e.classes,r=e.className,o=Vi(e,["classes","className"]),i=g.useContext(Dd);return g.createElement("div",Ai({className:yu(n.root,r,"flex-start"===i.alignItems&&n.alignItemsFlexStart),ref:t},o))})),jd=fu((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(zd),_d=g.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.disableTypography,a=void 0!==i&&i,s=e.inset,l=void 0!==s&&s,c=e.primary,u=e.primaryTypographyProps,d=e.secondary,p=e.secondaryTypographyProps,f=Vi(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),h=g.useContext(Dd).dense,m=null!=c?c:n;null==m||m.type===sd||a||(m=g.createElement(sd,Ai({variant:h?"body2":"body1",className:r.primary,component:"span",display:"block"},u),m));var y=d;return null==y||y.type===sd||a||(y=g.createElement(sd,Ai({variant:"body2",className:r.secondary,color:"textSecondary",display:"block"},p),y)),g.createElement("div",Ai({className:yu(r.root,o,h&&r.dense,l&&r.inset,m&&y&&r.multiline),ref:t},f),m,y)})),$d=fu({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(_d);function Fd(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Hd(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Wd(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Bd(e){return"function"==typeof e?e():e}var Ud=g.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,o=e.anchorOrigin,i=void 0===o?{vertical:"top",horizontal:"left"}:o,a=e.anchorPosition,s=e.anchorReference,l=void 0===s?"anchorEl":s,c=e.children,u=e.classes,d=e.className,p=e.container,f=e.elevation,h=void 0===f?8:f,m=e.getContentAnchorEl,y=e.marginThreshold,v=void 0===y?16:y,b=e.onEnter,x=e.onEntered,S=e.onEntering,C=e.onExit,k=e.onExited,E=e.onExiting,T=e.open,R=e.PaperProps,M=void 0===R?{}:R,P=e.transformOrigin,O=void 0===P?{vertical:"top",horizontal:"left"}:P,D=e.TransitionComponent,I=void 0===D?Od:D,A=e.transitionDuration,q=void 0===A?"auto":A,N=e.TransitionProps,L=void 0===N?{}:N,z=Vi(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),j=g.useRef(),_=g.useCallback((function(e){if("anchorPosition"===l)return a;var t=Bd(r),n=(t&&1===t.nodeType?t:vu(j.current).body).getBoundingClientRect(),o=0===e?i.vertical:"center";return{top:n.top+Fd(n,o),left:n.left+Hd(n,i.horizontal)}}),[r,i.horizontal,i.vertical,a,l]),$=g.useCallback((function(e){var t=0;if(m&&"anchorEl"===l){var n=m(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[i.vertical,l,m]),F=g.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Fd(e,O.vertical)+t,horizontal:Hd(e,O.horizontal)}}),[O.horizontal,O.vertical]),H=g.useCallback((function(e){var t=$(e),n={width:e.offsetWidth,height:e.offsetHeight},o=F(n,t);if("none"===l)return{top:null,left:null,transformOrigin:Wd(o)};var i=_(t),a=i.top-o.vertical,s=i.left-o.horizontal,c=a+n.height,u=s+n.width,d=bu(Bd(r)),p=d.innerHeight-v,f=d.innerWidth-v;if(a<v){var h=a-v;a-=h,o.vertical+=h}else if(c>p){var m=c-p;a-=m,o.vertical+=m}if(s<v){var g=s-v;s-=g,o.horizontal+=g}else if(u>f){var y=u-f;s-=y,o.horizontal+=y}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:Wd(o)}}),[r,l,_,$,F,v]),W=g.useCallback((function(){var e=j.current;if(e){var t=H(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[H]),B=g.useCallback((function(e){j.current=w.findDOMNode(e)}),[]);g.useEffect((function(){T&&W()})),g.useImperativeHandle(n,(function(){return T?{updatePosition:function(){W()}}:null}),[T,W]),g.useEffect((function(){if(T){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this;clearTimeout(t),t=setTimeout((function(){e.apply(a,o)}),n)}return r.clear=function(){clearTimeout(t)},r}((function(){W()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[T,W]);var U=q;"auto"!==q||I.muiSupportAuto||(U=void 0);var V=p||(r?vu(Bd(r)).body:void 0);return g.createElement(kd,Ai({container:V,open:T,ref:t,BackdropProps:{invisible:!0},className:yu(u.root,d)},z),g.createElement(I,Ai({appear:!0,in:T,onEnter:b,onEntered:x,onExit:C,onExited:k,onExiting:E,timeout:U},L,{onEntering:mu((function(e,t){S&&S(e,t),W()}),L.onEntering)}),g.createElement(Ju,Ai({elevation:h,ref:B},M,{className:yu(u.paper,M.className)}),c)))})),Vd=fu({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Ud);function Gd(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Kd({d:e,size:t,style:n={},viewBox:r="0 0 16 16"}){const o={fontSize:Gd(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",...n};return m.createElement("i",{style:o},m.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},m.createElement("path",{d:e})))}const Yd=pu(Ld)((()=>({textAlign:"start","&:focus":{boxShadow:"inset 0 0 0 2px #177FE6 !important"}}))),Xd={menuItem:"alternative-menu-item"},Zd=e=>{const{nested:t,className:n,...r}=e,o=(({nested:e,dir:t})=>wc((n=>({root:{textAlign:"ltr"===t?"start":"end","&:focus":{boxShadow:"inset 0 0 0 2px #177FE6 !important"},...e&&"ltr"===t&&{paddingLeft:n.spacing(4)},...e&&"rtl"===t&&{paddingRight:n.spacing(4)}}}))))(e)();return m.createElement(Ld,xi({className:`${o.root} ${n}`},r))},Jd=e=>{if("Tab"===e.key){const t=document.querySelectorAll(`.${Xd.menuItem}`);let n;e.shiftKey?null!=t&&t.length&&t[0]===e.target&&(n=t[t.length-1]):null!=t&&t.length&&t[t.length-1]===e.target&&([n]=t),n&&setTimeout((()=>{n.focus()}),50)}};function Qd({title:e,selected:t,onClick:n,nested:r,icon:o,bold:i,dir:a,isCyclicFFEnabled:s}){const l=xe.detectTextDirection(e);return!s?m.createElement(Yd,{role:"menuitem",button:!0,onClick:n,className:Xd.menuItem,onKeyDown:Jd,autoFocus:t},m.createElement(jd,{style:{minWidth:32}},m.createElement(Kd,{d:t?oi.d:""})),m.createElement($d,{primaryTypographyProps:{dir:l}},e)):m.createElement(Zd,{nested:r,role:"menuitem",button:!0,onClick:n,className:Xd.menuItem,onKeyDown:Jd,dir:a,autoFocus:t},m.createElement($d,{primary:e,primaryTypographyProps:{dir:l,...i&&{style:{fontWeight:600}}}}),m.createElement(jd,{style:{minWidth:16}},m.createElement(Kd,{d:t?oi.d:""})),o&&m.createElement(jd,{style:{minWidth:16}},m.createElement(Kd,{d:o.d})))}Qd.propTypes={title:ki.string.isRequired,selected:ki.bool,onClick:ki.func.isRequired,nested:ki.bool,icon:ki.shape({d:ki.string.isRequired}),bold:ki.bool,dir:ki.string.isRequired,isCyclicFFEnabled:ki.bool.isRequired},Qd.defaultProps={selected:!1,nested:!1,icon:void 0,bold:!1},Zd.propTypes={nested:ki.bool,className:ki.string},Zd.defaultProps={nested:!1,className:Xd.menuItem};const ep={bottom:{anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},top:{anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}},left:{anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}},right:{anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}}};function tp({alignTo:e,currentId:t,dir:n,dock:r,list:o,onClose:i,show:a,instruction:s,isCyclicFFEnabled:l}){const c=l,u=o.map(((e,r)=>{var a;return m.createElement(m.Fragment,{key:e.id},m.createElement(Qd,{icon:e.icon,title:e.title,bold:e.groupItem,selected:e.selected,onClick:()=>{e.onSelect&&e.onSelect(t),i(e.id)},dir:n,isCyclicFFEnabled:l}),(null===(a=e.children)||void 0===a?void 0:a.length)>0&&m.createElement(Ad,{dense:!0,dir:n,component:"div",disablePadding:!0},e.children.map((t=>m.createElement(Qd,{key:t.id,nested:!0,title:t.title,selected:t.selected,onClick:()=>{t.onSelect(),i(e.id)},dir:n,isCyclicFFEnabled:l})))),r<o.length-1&&c&&m.createElement(Td,{key:`divider-${e.id}`}))}));return m.createElement(Vd,xi({anchorEl:e,open:a,onClose:i},ep[r],{PaperProps:{style:{minWidth:"250px",maxHeight:"300px"}}}),m.createElement(Ad,{dense:!0,disablePadding:!0,dir:n,"aria-label":s,component:"nav"},u))}tp.propTypes={alignTo:ki.any,currentId:ki.string.isRequired,dir:ki.string.isRequired,dock:ki.string.isRequired,list:ki.array,onClose:ki.func.isRequired,show:ki.bool.isRequired,instruction:ki.string.isRequired,isCyclicFFEnabled:ki.bool.isRequired},tp.defaultProps={list:[],alignTo:null};const np="title-button",rp="active-title-button",op=pu((({children:e,...t})=>m.createElement(cd,xi({size:"small",disableRipple:!0,disableTouchRipple:!0},t),e)))((()=>({"&:focus":{boxShadow:"inset 0 0 0 2px #177FE6 !important"}}))),ip=pu(cd)((()=>({borderRadius:"4px",width:"24px",height:"24px",minWidth:"22px",padding:0})));class ap extends m.Component{constructor(e){super(e),this.state={open:!1,inSelection:e.selections&&e.selections.isActive(),hasPopoverOptions:!1,disableCyclicButton:!1},this.openPopover=this.openPopover.bind(this),this.closePopover=this.closePopover.bind(this),this.alignToRef=m.createRef()}componentDidMount(){const{popover:e,selections:t,supportConditional:n,showGroupDimOptions:r}=this.props;t&&(this.onSelectionsActivated=()=>this.setState({inSelection:!0}),this.onSelectionsDeactivated=()=>this.setState({inSelection:!1}),t.addListener("activated",this.onSelectionsActivated),t.addListener("deactivated",this.onSelectionsDeactivated),t.addListener("canceled",this.onSelectionsDeactivated)),e&&(n||r)&&e.getPopoverOptions().then((e=>{this.setState({hasPopoverOptions:0!==e.length})}))}componentDidUpdate(e,t){const{popover:n,supportConditional:r,showGroupDimOptions:o}=this.props;n&&(r||o)&&n.getPopoverOptions().then((e=>{t.hasPopoverOptions!==(0!==e.length)&&this.setState({hasPopoverOptions:0!==e.length})}))}componentWillUnmount(){const{selections:e}=this.props;e&&(e.removeListener("activated",this.onSelectionsActivated),e.removeListener("deactivated",this.onSelectionsDeactivated),e.removeListener("canceled",this.onSelectionsDeactivated))}openPopover(e){if(!(this.state.closeTime&&Date.now()-this.state.closeTime<20)){if(e.target){const t=e.target.closest(`.${np}`);t&&t.classList.add(rp)}this.props.popover.getPopoverOptions().then((e=>{this.setState({open:!0,list:e})}))}}closePopover(e){if(this.setState({open:!1,closeTime:Date.now()}),"string"==typeof e)setTimeout((()=>{const t=document.querySelector(`.${np}[data-id="${e}"]`);t&&t.focus()}),1e3);else{const e=document.querySelector(`.${rp}`);e&&(e.classList.remove(rp),setTimeout((()=>{e.focus()}),50))}}render(){const{titleData:e,popover:t,translator:n,disabled:r,isDimension:o,padding:i,minWidth:a,hasAlternative:s,supportConditional:l,showGroupDimOptions:c}=this.props,u={flex:"1 1 auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:"normal",lineHeight:"normal",...this.props.style},d=e.breadcrumbs.length,p=r||Boolean(!e.drillUp)||this.state.inSelection,f=e.breadcrumbs.map(((t,n)=>m.createElement(op,{style:{display:"flex",alignItems:"center",color:p&&"rgba(89, 89, 89, 0.8)",pointerEvents:p?"none":"auto",paddingTop:0,paddingBottom:0,height:"100%"},key:n,onClick:()=>p?void 0:e.drillUp(d-n),title:t},m.createElement("span",{style:u},t),m.createElement(Kd,xi({},ai,{size:"small",style:{margin:"0 8px"}}))))),h=l||c?this.state.hasPopoverOptions:s,g=t&&!this.state.open?this.openPopover:this.closePopover,y=!t||r||this.state.inSelection,v={display:"flex",alignItems:"center",width:"100%",color:y&&"rgba(89, 89, 89, 0.8)",height:"100%",border:!o&&y&&"none",...i?{padding:i}:{paddingTop:0,paddingBottom:0},...a&&{minWidth:a}};this.state.open&&(v.background="rgba(0,0,0,0.08)");const b=()=>{this.setState({disableCyclicButton:!0})},x=xe.detectTextDirection(e.text),S=m.createElement(op,{"aria-label":n.get(`Accessibility.${t&&h?"Alternative":"Normal"}.Instructions`,[e.text]),style:v,onClick:y?void 0:g,title:e.text,tabIndex:y?-1:0,onFocus:y?void 0:e=>{e.currentTarget.style.boxShadow="0px 0px 0px 2px #177FE6 inset",e.currentTarget.style.borderRadius="2px"},onBlur:y?void 0:e=>{e.currentTarget.style.boxShadow="none",e.currentTarget.style.borderRadius="0px"},onMouseDown:e=>{e.preventDefault()},className:`${np} ${e.id}`,"data-id":e.id},e.locked&&m.createElement(Kd,xi({},ri,{size:"small",title:n.get("Tooltip.selections.locked")})),m.createElement("span",{style:u,dir:x},e.text),t&&h&&m.createElement(Kd,xi({},ii,{size:"small",style:{margin:"0 8px"}})));return m.createElement(m.Fragment,null,e.icon&&e.icon.onClick&&m.createElement(ip,{variant:"outlined",disabled:this.state.disableCyclicButton||this.state.inSelection,onClick:r?void 0:()=>e.icon.onClick({onError:b})},m.createElement(Kd,xi({},e.icon.path,{size:"small",title:n.get(e.icon.tooltip)}))),e.icon&&!e.icon.onClick&&m.createElement(Kd,xi({},e.icon.path,{size:"small",title:n.get(e.icon.tooltip),style:{margin:"0 4px 0 0"}})),f,m.createElement("div",{ref:this.alignToRef,style:{overflow:"hidden",pointerEvents:h?"auto":"none",height:"100%"}},S),t&&h&&m.createElement(tp,{dock:t.dock,dir:t.dir,currentId:e.id,alignTo:this.alignToRef.current,show:this.state.open,list:this.state.list,onClose:this.closePopover,changeTo:this.changeTo,instruction:n.get("Accessibility.Popover.Instructions"),isCyclicFFEnabled:this.props.isCyclicFFEnabled}))}}function sp(e){return{top:"bottom",bottom:"top",left:"right",right:"left"}[e]}function lp(e){function t(e){return!e.isDimension&&me.getValue(e,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures.length")>0}return{renderer:"react",disableTriggers:!0,preferredSize:function(){const{height:n}=e.measureText({text:"M",fontSize:this.style.fontSize,fontFamily:this.style.fontFamily});return this.settings.settings.isDimension||t(this.settings.settings)?Math.max(28,n):Math.max(20,n)},render(){const{settings:{app:e,disabled:n,explicitItemInfos:r,hyperCube:o,hyperCubeDef:i,isDimension:a,minWidth:s,model:l,onChangeToAlternative:c,padding:u,rtl:d,selections:p,skipAttributeExpressions:f,translator:h,supportConditional:g=!1,isEnabled:y},layout:{dock:v}}=this.settings,b="top"!==v&&"bottom"!==v||!d?"ltr":"rtl",x=function(e,t){const n={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",height:"100%"};return"left"===e?(n.width=`${t.height}px`,n.height=`${t.width}px`,n.transform=`rotate(-90deg) translate(-${t.height}px, 0)`,n.transformOrigin="top left"):"right"===e&&(n.width=`${t.height}px`,n.height=`${t.width}px`,n.transform=`rotate(90deg) translate(0, -${t.width}px)`,n.transformOrigin="top left"),n}(v,this.rect),S=i&&i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef,w=S&&S[a?"qDimensions":"qMeasures"]||[],C=r||o[a?"qDimensionInfo":"qMeasureInfo"],k=a?gi:vi,E=a?yi:bi,T=Boolean(l&&l.colorSupport&&l.modifiers),R=T&&((M=this.settings.settings).isDimension&&me.getValue(M,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions.length")>0||t(this.settings.settings));var M;const P=y("PS_21223_CYCLIC_GROUPS"),O=C.map(((t,r)=>{const o="number"==typeof t.explicitColumn?t.explicitColumn:r,i=E(t,o,l,e),y=r===C.length-1,b=P&&Boolean(e)&&a&&"N"!==t.qGrouping,x=T||b?k({column:o,activeInfo:t,altList:w,app:e,dir:d?"rtl":"ltr",dock:sp(v),model:l,onChange:c,skipAttributeExpressions:f,translator:h,allowChangeOfAlternatives:T,isCyclicFFEnabled:P}):void 0;return m.createElement(m.Fragment,{key:t.cId},m.createElement(ap,{showGroupDimOptions:b,popover:x,titleData:i,model:l,translator:h,selections:p,disabled:n(),style:this.style,isDimension:a,padding:u,minWidth:s,hasAlternative:R,supportConditional:g,isCyclicFFEnabled:P}),!y&&m.createElement("span",{style:{lineHeight:"normal",...this.style}},", "))}));return m.createElement("div",{style:x,dir:b},O)}}}ap.propTypes={disabled:ki.bool.isRequired,padding:ki.string,minWidth:ki.string,titleData:ki.shape({breadcrumbs:ki.arrayOf(ki.string).isRequired,icon:ki.shape({path:ki.shape({d:ki.string.isRequired}),tooltip:ki.string.isRequired,onClick:ki.func}),index:ki.number.isRequired,locked:ki.bool.isRequired,text:ki.string.isRequired,popoverText:ki.string.isRequired,drillUp:ki.func,id:ki.string.isRequired}).isRequired,popover:ki.shape({dir:ki.string.isRequired,dock:ki.string.isRequired,getPopoverOptions:ki.func.isRequired}),translator:ki.shape({get:ki.func.isRequired}).isRequired,selections:ki.shape({isActive:ki.func,addListener:ki.func,removeListener:ki.func}),style:ki.shape({fontSize:ki.string,color:ki.string,fontFamily:ki.string}).isRequired,isDimension:ki.bool.isRequired,hasAlternative:ki.bool.isRequired,supportConditional:ki.bool.isRequired,isCyclicFFEnabled:ki.bool.isRequired,showGroupDimOptions:ki.bool.isRequired},ap.defaultProps={popover:null,selections:null,padding:"",minWidth:""};const cp=ya({palette:{text:{primary:"rgba(89, 89, 89, 0.8)",secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{disabled:"rgba(0, 0, 0, 0.3)"}},typography:{fontFamily:'"Source Sans Pro", "Arial", "sans-serif"',button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["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)"],props:{MuiButtonBase:{disableRipple:!0}}});const up=xa({productionPrefix:"q0e0e",disableGlobal:!0,seed:""});function dp(){function e({x:e,y:t,width:n,height:r,scaleRatio:o,margin:i}={}){const a={x:0,y:0,width:0,height:0,scaleRatio:{x:1,y:1},margin:{left:0,top:0}};return a.x=Number.isNaN(e)?a.x:e,a.y=Number.isNaN(t)?a.y:t,a.width=Number.isNaN(n)?a.width:n,a.height=Number.isNaN(r)?a.height:r,void 0!==o&&(a.scaleRatio.x=Number.isNaN(o.x)?a.scaleRatio.x:o.x,a.scaleRatio.y=Number.isNaN(o.y)?a.scaleRatio.y:o.y),void 0!==i&&(a.margin.left=Number.isNaN(i.left)?0:i.left,a.margin.top=Number.isNaN(i.top)?0:i.top),a}return function(t={}){const{createElement:n=document.createElement.bind(document)}=t;let r,o=e();const i={element:()=>r,root:()=>r,appendTo:e=>(r||(r=n("div"),r.style.position="absolute",r.style["-webkit-font-smoothing"]="antialiased",r.style["-moz-osx-font-smoothing"]="antialiased",r.style.pointerEvents="none"),e.appendChild(r),r),render(e){if(!r)return!1;const t=o.scaleRatio.x,n=o.scaleRatio.y;return r.style.left=`${Math.round(o.margin.left+o.x*t)}px`,r.style.top=`${Math.round(o.margin.top+o.y*n)}px`,r.style.width=`${Math.round(o.width)}px`,r.style.height=`${Math.round(o.height)}px`,r.style.transform=`scale(${t}, ${n})`,r.style.transformOrigin="top left",C.render(function(e,t){return m.createElement(vc,{generateClassName:t},m.createElement(cu,{theme:cp},e))}(e,up),r),!0},itemsAt:()=>[],findShapes:()=>[],clear:()=>(r&&C.unmountComponentAtNode(r),i),destroy(){r&&r.parentElement&&(C.unmountComponentAtNode(r),r.parentElement.removeChild(r)),r=null},size:t=>(t&&(o=e(t)),o)};return i}}var pp={black:"#000",white:"#fff"};var fp={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var hp={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var mp={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var gp={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var yp={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};var vp={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var bp={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"};function xp(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Sp=Object.freeze({__proto__:null,default:xp}),wp="$$material";function Cp(){return Cp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cp.apply(this,arguments)}function kp(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ep(){return Ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ep.apply(this,arguments)}function Tp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Rp=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Mp=Tp((function(e){return Rp.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Pp=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Op="-ms-",Dp="-moz-",Ip="-webkit-",Ap="comm",qp="rule",Np="decl",Lp="@keyframes",zp=Math.abs,jp=String.fromCharCode,_p=Object.assign;function $p(e){return e.trim()}function Fp(e,t,n){return e.replace(t,n)}function Hp(e,t){return e.indexOf(t)}function Wp(e,t){return 0|e.charCodeAt(t)}function Bp(e,t,n){return e.slice(t,n)}function Up(e){return e.length}function Vp(e){return e.length}function Gp(e,t){return t.push(e),e}var Kp=1,Yp=1,Xp=0,Zp=0,Jp=0,Qp="";function ef(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Kp,column:Yp,length:a,return:""}}function tf(e,t){return _p(ef("",null,null,"",null,null,0),e,{length:-e.length},t)}function nf(){return Jp=Zp>0?Wp(Qp,--Zp):0,Yp--,10===Jp&&(Yp=1,Kp--),Jp}function rf(){return Jp=Zp<Xp?Wp(Qp,Zp++):0,Yp++,10===Jp&&(Yp=1,Kp++),Jp}function of(){return Wp(Qp,Zp)}function af(){return Zp}function sf(e,t){return Bp(Qp,e,t)}function lf(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function cf(e){return Kp=Yp=1,Xp=Up(Qp=e),Zp=0,[]}function uf(e){return Qp="",e}function df(e){return $p(sf(Zp-1,hf(91===e?e+2:40===e?e+1:e)))}function pf(e){for(;(Jp=of())&&Jp<33;)rf();return lf(e)>2||lf(Jp)>3?"":" "}function ff(e,t){for(;--t&&rf()&&!(Jp<48||Jp>102||Jp>57&&Jp<65||Jp>70&&Jp<97););return sf(e,af()+(t<6&&32==of()&&32==rf()))}function hf(e){for(;rf();)switch(Jp){case e:return Zp;case 34:case 39:34!==e&&39!==e&&hf(Jp);break;case 40:41===e&&hf(e);break;case 92:rf()}return Zp}function mf(e,t){for(;rf()&&e+Jp!==57&&(e+Jp!==84||47!==of()););return"/*"+sf(t,Zp-1)+"*"+jp(47===e?e:rf())}function gf(e){for(;!lf(of());)rf();return sf(e,Zp)}function yf(e){return uf(vf("",null,null,null,[""],e=cf(e),0,[0],e))}function vf(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,m=1,g=1,y=1,v=0,b="",x=o,S=i,w=r,C=b;g;)switch(h=v,v=rf()){case 40:if(108!=h&&58==Wp(C,d-1)){-1!=Hp(C+=Fp(df(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:C+=df(v);break;case 9:case 10:case 13:case 32:C+=pf(h);break;case 92:C+=ff(af()-1,7);continue;case 47:switch(of()){case 42:case 47:Gp(xf(mf(rf(),af()),t,n),l);break;default:C+="/"}break;case 123*m:s[c++]=Up(C)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(C=Fp(C,/\f/g,"")),f>0&&Up(C)-d&&Gp(f>32?Sf(C+";",r,n,d-1):Sf(Fp(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(Gp(w=bf(C,t,n,c,u,o,s,b,x=[],S=[],d),i),123===v)if(0===u)vf(C,t,w,w,x,i,d,s,S);else switch(99===p&&110===Wp(C,3)?100:p){case 100:case 108:case 109:case 115:vf(e,w,w,r&&Gp(bf(e,w,w,0,0,o,s,b,o,x=[],d),S),o,S,d,s,r?x:S);break;default:vf(C,w,w,w,[""],S,0,s,S)}}c=u=f=0,m=y=1,b=C="",d=a;break;case 58:d=1+Up(C),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==nf())continue;switch(C+=jp(v),v*m){case 38:y=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Up(C)-1)*y,y=1;break;case 64:45===of()&&(C+=df(rf())),p=of(),u=d=Up(b=C+=gf(af())),v++;break;case 45:45===h&&2==Up(C)&&(m=0)}}return i}function bf(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],f=Vp(p),h=0,m=0,g=0;h<r;++h)for(var y=0,v=Bp(e,d+1,d=zp(m=a[h])),b=e;y<f;++y)(b=$p(m>0?p[y]+" "+v:Fp(v,/&\f/g,p[y])))&&(l[g++]=b);return ef(e,t,n,0===o?qp:s,l,c,u)}function xf(e,t,n){return ef(e,t,n,Ap,jp(Jp),Bp(e,2,-2),0)}function Sf(e,t,n,r){return ef(e,t,n,Np,Bp(e,0,r),Bp(e,r+1,-1),r)}function wf(e,t){for(var n="",r=Vp(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Cf(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Np:return e.return=e.return||e.value;case Ap:return"";case Lp:return e.return=e.value+"{"+wf(e.children,r)+"}";case qp:e.value=e.props.join(",")}return Up(n=wf(e.children,r))?e.return=e.value+"{"+n+"}":""}function kf(e){var t=Vp(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var Ef=function(e,t,n){for(var r=0,o=0;r=o,o=of(),38===r&&12===o&&(t[n]=1),!lf(o);)rf();return sf(e,Zp)},Tf=function(e,t){return uf(function(e,t){var n=-1,r=44;do{switch(lf(r)){case 0:38===r&&12===of()&&(t[n]=1),e[n]+=Ef(Zp-1,t,n);break;case 2:e[n]+=df(r);break;case 4:if(44===r){e[++n]=58===of()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=jp(r)}}while(r=rf());return e}(cf(e),t))},Rf=new WeakMap,Mf=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Rf.get(n))&&!r){Rf.set(e,!0);for(var o=[],i=Tf(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Pf=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Of(e,t){switch(function(e,t){return 45^Wp(e,0)?(((t<<2^Wp(e,0))<<2^Wp(e,1))<<2^Wp(e,2))<<2^Wp(e,3):0}(e,t)){case 5103:return Ip+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ip+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ip+e+Dp+e+Op+e+e;case 6828:case 4268:return Ip+e+Op+e+e;case 6165:return Ip+e+Op+"flex-"+e+e;case 5187:return Ip+e+Fp(e,/(\w+).+(:[^]+)/,Ip+"box-$1$2"+Op+"flex-$1$2")+e;case 5443:return Ip+e+Op+"flex-item-"+Fp(e,/flex-|-self/,"")+e;case 4675:return Ip+e+Op+"flex-line-pack"+Fp(e,/align-content|flex-|-self/,"")+e;case 5548:return Ip+e+Op+Fp(e,"shrink","negative")+e;case 5292:return Ip+e+Op+Fp(e,"basis","preferred-size")+e;case 6060:return Ip+"box-"+Fp(e,"-grow","")+Ip+e+Op+Fp(e,"grow","positive")+e;case 4554:return Ip+Fp(e,/([^-])(transform)/g,"$1"+Ip+"$2")+e;case 6187:return Fp(Fp(Fp(e,/(zoom-|grab)/,Ip+"$1"),/(image-set)/,Ip+"$1"),e,"")+e;case 5495:case 3959:return Fp(e,/(image-set\([^]*)/,Ip+"$1$`$1");case 4968:return Fp(Fp(e,/(.+:)(flex-)?(.*)/,Ip+"box-pack:$3"+Op+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ip+e+e;case 4095:case 3583:case 4068:case 2532:return Fp(e,/(.+)-inline(.+)/,Ip+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Up(e)-1-t>6)switch(Wp(e,t+1)){case 109:if(45!==Wp(e,t+4))break;case 102:return Fp(e,/(.+:)(.+)-([^]+)/,"$1"+Ip+"$2-$3$1"+Dp+(108==Wp(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Hp(e,"stretch")?Of(Fp(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Wp(e,t+1))break;case 6444:switch(Wp(e,Up(e)-3-(~Hp(e,"!important")&&10))){case 107:return Fp(e,":",":"+Ip)+e;case 101:return Fp(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ip+(45===Wp(e,14)?"inline-":"")+"box$3$1"+Ip+"$2$3$1"+Op+"$2box$3")+e}break;case 5936:switch(Wp(e,t+11)){case 114:return Ip+e+Op+Fp(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ip+e+Op+Fp(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ip+e+Op+Fp(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ip+e+Op+e+e}return e}var Df="undefined"!=typeof document,If=Df?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return Tp((function(){var e={};return function(t){return e[t]}}))})),Af=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Np:e.return=Of(e.value,e.length);break;case Lp:return wf([tf(e,{value:Fp(e.value,"@","@"+Ip)})],r);case qp:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wf([tf(e,{props:[Fp(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return wf([tf(e,{props:[Fp(t,/:(plac\w+)/,":"+Ip+"input-$1")]}),tf(e,{props:[Fp(t,/:(plac\w+)/,":-moz-$1")]}),tf(e,{props:[Fp(t,/:(plac\w+)/,Op+"input-$1")]})],r)}return""}))}}],qf=function(e){var t=e.key;if(Df&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||Af,a={},s=[];Df&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var l,c=[Mf,Pf];if(Df){var u,d=[Cf,(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],p=kf(c.concat(i,d));o=function(e,t,n,r){u=n,function(e){wf(yf(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(y.inserted[t.name]=!0)}}else{var f=[Cf],h=kf(c.concat(i,f)),m=If(i)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return wf(yf(e),h)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};o=function(e,t,n,r){var o=t.name,i=g(e,t);return void 0===y.compat?(r&&(y.inserted[o]=!0),i):r?void(y.inserted[o]=i):i}}var y={key:t,sheet:new Pp({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return y.sheet.hydrate(s),y},Nf="undefined"!=typeof document;var Lf=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Nf&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},zf=function(e,t,n){Lf(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);Nf||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!Nf&&0!==o.length)return o}};var jf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_f=/[A-Z]|^ms/g,$f=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ff=function(e){return 45===e.charCodeAt(1)},Hf=function(e){return null!=e&&"boolean"!=typeof e},Wf=Tp((function(e){return Ff(e)?e:e.replace(_f,"-$&").toLowerCase()})),Bf=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace($f,(function(e,t,n){return Vf={name:t,styles:n,next:Vf},t}))}return 1===jf[e]||Ff(e)||"number"!=typeof t||0===t?t:t+"px"};function Uf(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Vf={name:n.name,styles:n.styles,next:Vf},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Vf={name:r.name,styles:r.styles,next:Vf},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Uf(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Hf(a)&&(r+=Wf(i)+":"+Bf(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Uf(e,t,a);switch(i){case"animation":case"animationName":r+=Wf(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)Hf(a[l])&&(r+=Wf(i)+":"+Bf(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Vf,i=n(e);return Vf=o,Uf(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Vf,Gf=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Kf=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Vf=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Uf(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Uf(n,t,e[a]),r&&(o+=i[a]);Gf.lastIndex=0;for(var s,l="";null!==(s=Gf.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Vf}},Yf="undefined"!=typeof document,Xf=function(e){return e()},Zf=!!g.useInsertionEffect&&g.useInsertionEffect,Jf=Yf&&Zf||Xf,Qf=Zf||g.useLayoutEffect,eh="undefined"!=typeof document,th=g.createContext("undefined"!=typeof HTMLElement?qf({key:"css"}):null),nh=th.Provider,rh=function(e){return x((function(t,n){var r=S(th);return e(t,r,n)}))};eh||(rh=function(e){return function(t){var n=S(th);return null===n?(n=qf({key:"css"}),g.createElement(th.Provider,{value:n},e(t,n))):e(t,n)}});var oh=g.createContext({}),ih=rh((function(e,t){var n=e.styles,r=Kf([n],void 0,g.useContext(oh));if(!eh){for(var o,i=r.name,a=r.styles,s=r.next;void 0!==s;)i+=" "+s.name,a+=s.styles,s=s.next;var l=!0===t.compat,c=t.insert("",{name:i,styles:a},t.sheet,l);return l?null:g.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var u=g.useRef();return Qf((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),u.current=[n,o],function(){n.flush()}}),[t]),Qf((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&zf(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function ah(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kf(t)}var sh=function(){var e=ah.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},lh=Mp,ch=function(e){return"theme"!==e},uh=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?lh:ch},dh=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ph="undefined"!=typeof document,fh=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Lf(t,n,r);var o=Jf((function(){return zf(t,n,r)}));if(!ph&&void 0!==o){for(var i,a=n.name,s=n.next;void 0!==s;)a+=" "+s.name,s=s.next;return g.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},hh=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=dh(t,n,i),l=s||uh(a),c=!l("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var h=rh((function(e,t,n){var r,i,u,p,f=c&&e.as||a,h="",m=[],y=e;if(null==e.theme){for(var v in y={},e)y[v]=e[v];y.theme=g.useContext(oh)}"string"==typeof e.className?(r=t.registered,i=m,u=e.className,p="",u.split(" ").forEach((function(e){void 0!==r[e]?i.push(r[e]+";"):p+=e+" "})),h=p):null!=e.className&&(h=e.className+" ");var b=Kf(d.concat(m),t.registered,y);h+=t.key+"-"+b.name,void 0!==o&&(h+=" "+o);var x=c&&void 0===s?uh(f):l,S={};for(var w in e)c&&"as"===w||x(w)&&(S[w]=e[w]);return S.className=h,S.ref=n,g.createElement(g.Fragment,null,g.createElement(fh,{cache:t,serialized:b,isStringTag:"string"==typeof f}),g.createElement(f,S))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,Ep({},n,r,{shouldForwardProp:dh(h,r,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){hh[e]=hh(e)}));var mh={exports:{}},gh={},yh=m,vh=Symbol.for("react.element"),bh=Symbol.for("react.fragment"),xh=Object.prototype.hasOwnProperty,Sh=yh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,wh={key:!0,ref:!0,__self:!0,__source:!0};function Ch(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)xh.call(t,r)&&!wh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:vh,type:e,key:i,ref:a,props:o,_owner:Sh.current}}gh.Fragment=bh,gh.jsx=Ch,gh.jsxs=Ch,mh.exports=gh;var kh=mh.exports;let Eh;"object"==typeof document&&(Eh=qf({key:"css",prepend:!0}));var Th=Object.freeze({__proto__:null,GlobalStyles:function(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return kh.jsx(ih,{styles:r})}
14
+ */Ls();var $s=Date.now(),_s="fnValues"+$s,Fs="fnStyle"+ ++$s,Hs=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=Oa(e,{},n);return r[Fs]=t,r},onProcessStyle:function(e,t){if(_s in t||Fs in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[_s]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Fs];i&&(o.style=i(e)||{});var a=o[_s];if(a)for(var s in a)o.prop(s,a[s](e),r)}}},Ws="@global",Bs="@global ",Us=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ws,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new hs(Ii({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Vs=function(){function e(e,t,n){this.type="global",this.at=Ws,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(Bs.length);this.rule=n.jss.createRule(r,t,Ii({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Gs=/\s*,\s*/g;function Ks(e,t){for(var n=e.split(Gs),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function Ys(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Ws)return new Us(e,t,n);if("@"===e[0]&&e.substr(0,Bs.length)===Bs)return new Vs(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[Ws]:null;if(o){for(var i in o)t.addRule(i,o[i],Ii({},n,{selector:Ks(i,e.selector)}));delete r[Ws]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,Ws.length)===Ws){var i=Ks(o.substr(Ws.length),e.selector);t.addRule(i,r[o],Ii({},n,{selector:i})),delete r[o]}}(e,t))}}}var Xs=/\s*,\s*/g,Js=/&/g,Zs=/\$([\w-]+)/g;function Qs(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?o.selector:r}}function t(e,t){for(var n=t.split(Xs),r=e.split(Xs),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(Js,a):a+" "+l}return o}function n(e,t,n){if(n)return Ii({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=Ii({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,s,l=o,c=l.options.parent;for(var u in r){var d=-1!==u.indexOf("&"),p="@"===u[0];if(d||p){if(a=n(l,c,a),d){var f=t(u,l.selector);s||(s=e(c,i)),f=f.replace(Zs,s);var h=l.key+"-"+u;"replaceRule"in c?c.replaceRule(h,r[u],Ii({},a,{selector:f})):c.addRule(h,r[u],Ii({},a,{selector:f}))}else p&&c.addRule(u,{},a).addRule(l.key,r[u],{selector:l.selector});delete r[u]}}return r}}}var el=/[A-Z]/g,tl=/^ms-/,nl={};function rl(e){return"-"+e.toLowerCase()}function ol(e){if(nl.hasOwnProperty(e))return nl[e];var t=e.replace(el,rl);return nl[e]=tl.test(t)?"-"+t:t}function il(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:ol(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(il):t.fallbacks=il(e.fallbacks)),t}var al=zs&&CSS?CSS.px:"px",sl=zs&&CSS?CSS.ms:"ms",ll=zs&&CSS?CSS.percent:"%";function cl(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var ul=cl({"animation-delay":sl,"animation-duration":sl,"background-position":al,"background-position-x":al,"background-position-y":al,"background-size":al,border:al,"border-bottom":al,"border-bottom-left-radius":al,"border-bottom-right-radius":al,"border-bottom-width":al,"border-left":al,"border-left-width":al,"border-radius":al,"border-right":al,"border-right-width":al,"border-top":al,"border-top-left-radius":al,"border-top-right-radius":al,"border-top-width":al,"border-width":al,"border-block":al,"border-block-end":al,"border-block-end-width":al,"border-block-start":al,"border-block-start-width":al,"border-block-width":al,"border-inline":al,"border-inline-end":al,"border-inline-end-width":al,"border-inline-start":al,"border-inline-start-width":al,"border-inline-width":al,"border-start-start-radius":al,"border-start-end-radius":al,"border-end-start-radius":al,"border-end-end-radius":al,margin:al,"margin-bottom":al,"margin-left":al,"margin-right":al,"margin-top":al,"margin-block":al,"margin-block-end":al,"margin-block-start":al,"margin-inline":al,"margin-inline-end":al,"margin-inline-start":al,padding:al,"padding-bottom":al,"padding-left":al,"padding-right":al,"padding-top":al,"padding-block":al,"padding-block-end":al,"padding-block-start":al,"padding-inline":al,"padding-inline-end":al,"padding-inline-start":al,"mask-position-x":al,"mask-position-y":al,"mask-size":al,height:al,width:al,"min-height":al,"max-height":al,"min-width":al,"max-width":al,bottom:al,left:al,top:al,right:al,inset:al,"inset-block":al,"inset-block-end":al,"inset-block-start":al,"inset-inline":al,"inset-inline-end":al,"inset-inline-start":al,"box-shadow":al,"text-shadow":al,"column-gap":al,"column-rule":al,"column-rule-width":al,"column-width":al,"font-size":al,"font-size-delta":al,"letter-spacing":al,"text-decoration-thickness":al,"text-indent":al,"text-stroke":al,"text-stroke-width":al,"word-spacing":al,motion:al,"motion-offset":al,outline:al,"outline-offset":al,"outline-width":al,perspective:al,"perspective-origin-x":ll,"perspective-origin-y":ll,"transform-origin":ll,"transform-origin-x":ll,"transform-origin-y":ll,"transform-origin-z":ll,"transition-delay":sl,"transition-duration":sl,"vertical-align":al,"flex-basis":al,"shape-margin":al,size:al,gap:al,grid:al,"grid-gap":al,"row-gap":al,"grid-row-gap":al,"grid-column-gap":al,"grid-template-rows":al,"grid-template-columns":al,"grid-auto-rows":al,"grid-auto-columns":al,"box-shadow-x":al,"box-shadow-y":al,"box-shadow-blur":al,"box-shadow-spread":al,"font-line-height":al,"text-shadow-x":al,"text-shadow-y":al,"text-shadow-blur":al});function dl(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=dl(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=dl(o,t[o],n);else for(var i in t)t[i]=dl(e+"-"+i,t[i],n);else if("number"==typeof t&&!1===isNaN(t)){var a=n[e]||ul[e];return!a||0===t&&a===al?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function pl(e){void 0===e&&(e={});var t=cl(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=dl(r,e[r],t);return e},onChangeValue:function(e,n){return dl(n,e,t)}}}var fl="",hl="",ml="",gl="",yl=wa&&"ontouchstart"in document.documentElement;if(wa){var vl={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},bl=document.createElement("p").style;for(var xl in vl)if(xl+"Transform"in bl){fl=xl,hl=vl[xl];break}"Webkit"===fl&&"msHyphens"in bl&&(fl="ms",hl=vl.ms,gl="edge"),"Webkit"===fl&&"-apple-trailing-word"in bl&&(ml="apple")}var Sl={js:fl,css:hl,vendor:ml,browser:gl,isTouch:yl};var wl={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Sl.js?"-webkit-"+e:Sl.css+e)}},Cl={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Sl.js?Sl.css+"print-"+e:e)}},kl=/[-\s]+(.)?/g;function El(e,t){return t?t.toUpperCase():""}function Tl(e){return e.replace(kl,El)}function Rl(e){return Tl("-"+e)}var Ml,Pl={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Sl.js){var n="mask-image";if(Tl(n)in t)return e;if(Sl.js+Rl(n)in t)return Sl.css+e}return e}},Ol={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Sl.vendor||Sl.isTouch?e:Sl.css+e)}},Dl={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Sl.css+e)}},Il={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Sl.css+e)}},ql={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Sl.js||"ms"===Sl.js&&"edge"!==Sl.browser?Sl.css+e:e)}},Al={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Sl.js||"ms"===Sl.js||"apple"===Sl.vendor?Sl.css+e:e)}},Nl={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Sl.js?"WebkitColumn"+Rl(e)in t&&Sl.css+"column-"+e:"Moz"===Sl.js&&("page"+Rl(e)in t&&"page-"+e))}},Ll={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Sl.js)return e;var n=e.replace("-inline","");return Sl.js+Rl(n)in t&&Sl.css+n}},zl={supportedProperty:function(e,t){return Tl(e)in t&&e}},jl={supportedProperty:function(e,t){var n=Rl(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Sl.js+n in t?Sl.css+e:"Webkit"!==Sl.js&&"Webkit"+n in t&&"-webkit-"+e}},$l={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Sl.js?""+Sl.css+e:e)}},_l={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Sl.js?Sl.css+"scroll-chaining":e)}},Fl={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Hl={supportedProperty:function(e,t){var n=Fl[e];return!!n&&(Sl.js+Rl(n)in t&&Sl.css+n)}},Wl={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Bl=Object.keys(Wl),Ul=function(e){return Sl.css+e},Vl={supportedProperty:function(e,t,n){var r=n.multiple;if(Bl.indexOf(e)>-1){var o=Wl[e];if(!Array.isArray(o))return Sl.js+Rl(o)in t&&Sl.css+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(Sl.js+Rl(o[0])in t))return!1;return o.map(Ul)}return!1}},Gl=[wl,Cl,Pl,Ol,Dl,Il,ql,Al,Nl,Ll,zl,jl,$l,_l,Hl,Vl],Kl=Gl.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Yl=Gl.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,la(t.noPrefill)),e}),[]),Xl={};if(wa){Ml=document.createElement("p");var Jl=window.getComputedStyle(document.documentElement,"");for(var Zl in Jl)isNaN(Zl)||(Xl[Jl[Zl]]=Jl[Zl]);Yl.forEach((function(e){return delete Xl[e]}))}function Ql(e,t){if(void 0===t&&(t={}),!Ml)return e;if(null!=Xl[e])return Xl[e];"transition"!==e&&"transform"!==e||(t[e]=e in Ml.style);for(var n=0;n<Kl.length&&(Xl[e]=Kl[n](e,Ml.style,t),!Xl[e]);n++);try{Ml.style[e]=""}catch(e){return!1}return Xl[e]}var ec,tc={},nc={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},rc=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function oc(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Ql(t):", "+Ql(n);return r||(t||n)}function ic(e,t){var n=t;if(!ec||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=tc[r])return tc[r];try{ec.style[e]=n}catch(e){return tc[r]=!1,!1}if(nc[e])n=n.replace(rc,oc);else if(""===ec.style[e]&&("-ms-flex"===(n=Sl.css+n)&&(ec.style[e]="-ms-flexbox"),ec.style[e]=n,""===ec.style[e]))return tc[r]=!1,!1;return ec.style[e]="",tc[r]=n,tc[r]}function ac(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=Ql(n);i&&i!==n&&(o=!0);var a=!1,s=ic(i,Ia(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===Sl.js?e:"@"+Sl.css+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return ic(t,Ia(e))||e}}}function sc(){return{plugins:[Hs(),Ys(),Qs(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=il(e[t]);return e}return il(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=ol(t);return t===r?e:(n.prop(r,e),null)}},pl(),"undefined"==typeof window?null:ac(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}})]};var e}function lc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(e.Component,!n)return t;var r=Ii({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}wa&&(ec=document.createElement("p"));var cc={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},uc=cc,dc=g.createContext(null);function pc(){return g.useContext(dc)}var fc,hc=Ls(sc()),mc={disableGeneration:!1,generateClassName:ba(),jss:hc,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},gc=g.createContext(mc);function yc(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,o=e.disableGeneration,i=void 0!==o&&o,a=Ui(e,["children","injectFirst","disableGeneration"]),s=Ii({},g.useContext(gc),{disableGeneration:i},a);if(!s.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!fc){var l=document.head;fc=document.createComment("mui-inject-first"),l.insertBefore(fc,l.firstChild)}s.jss=Ls({plugins:sc().plugins,insertionPoint:fc})}return g.createElement(gc.Provider,{value:s},t)}var vc=-1e9;var bc={};function xc(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=uc.get(o.sheetsManager,i,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},uc.set(o.sheetsManager,i,r,s));var l=Ii({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var c=o.sheetsRegistry;if(0===s.refs){var u;o.sheetsCache&&(u=uc.get(o.sheetsCache,i,r));var d=i.create(r,a);u||((u=o.jss.createStyleSheet(d,Ii({link:!1},l))).attach(),o.sheetsCache&&uc.set(o.sheetsCache,i,r,u)),c&&c.add(u),s.staticSheet=u,s.dynamicStyles=js(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,Ii({link:!0},l));p.update(t),p.attach(),n.dynamicSheet=p,n.classes=lc({baseClasses:s.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else n.classes=s.staticSheet.classes;s.refs+=1}}function Sc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?bc:i,s=Ui(t,["name","classNamePrefix","Component","defaultTheme"]),l=function(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=Ii({},o);return Object.keys(i).forEach((function(e){a[e]=Ni(a[e],i[e])})),a},options:{}}}(e),c=n||r||"makeStyles";l.options={index:vc+=1,name:n,meta:c,classNamePrefix:c};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=pc()||a,r=Ii({},g.useContext(gc),s),i=g.useRef(),c=g.useRef();!function(e,t){var n,r=g.useRef([]),o=g.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),g.useEffect((function(){return function(){n&&n()}}),[o])}((function(){var o={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return xc(o,e),c.current=!1,i.current=o,function(){!function(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=uc.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(uc.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}(o)}}),[t,l]),g.useEffect((function(){c.current&&function(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}(i.current,e),c.current=!0}));var u=function(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=lc({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}(i.current,e.classes,o);return u}}function wc(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=wc(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Cc(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=wc(e))&&(r&&(r+=" "),r+=t);return r}var kc={exports:{}},Ec={},Tc="function"==typeof Symbol&&Symbol.for,Rc=Tc?Symbol.for("react.element"):60103,Mc=Tc?Symbol.for("react.portal"):60106,Pc=Tc?Symbol.for("react.fragment"):60107,Oc=Tc?Symbol.for("react.strict_mode"):60108,Dc=Tc?Symbol.for("react.profiler"):60114,Ic=Tc?Symbol.for("react.provider"):60109,qc=Tc?Symbol.for("react.context"):60110,Ac=Tc?Symbol.for("react.async_mode"):60111,Nc=Tc?Symbol.for("react.concurrent_mode"):60111,Lc=Tc?Symbol.for("react.forward_ref"):60112,zc=Tc?Symbol.for("react.suspense"):60113,jc=Tc?Symbol.for("react.suspense_list"):60120,$c=Tc?Symbol.for("react.memo"):60115,_c=Tc?Symbol.for("react.lazy"):60116,Fc=Tc?Symbol.for("react.block"):60121,Hc=Tc?Symbol.for("react.fundamental"):60117,Wc=Tc?Symbol.for("react.responder"):60118,Bc=Tc?Symbol.for("react.scope"):60119;function Uc(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Rc:switch(e=e.type){case Ac:case Nc:case Pc:case Dc:case Oc:case zc:return e;default:switch(e=e&&e.$$typeof){case qc:case Lc:case _c:case $c:case Ic:return e;default:return t}}case Mc:return t}}}function Vc(e){return Uc(e)===Nc}Ec.AsyncMode=Ac,Ec.ConcurrentMode=Nc,Ec.ContextConsumer=qc,Ec.ContextProvider=Ic,Ec.Element=Rc,Ec.ForwardRef=Lc,Ec.Fragment=Pc,Ec.Lazy=_c,Ec.Memo=$c,Ec.Portal=Mc,Ec.Profiler=Dc,Ec.StrictMode=Oc,Ec.Suspense=zc,Ec.isAsyncMode=function(e){return Vc(e)||Uc(e)===Ac},Ec.isConcurrentMode=Vc,Ec.isContextConsumer=function(e){return Uc(e)===qc},Ec.isContextProvider=function(e){return Uc(e)===Ic},Ec.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Rc},Ec.isForwardRef=function(e){return Uc(e)===Lc},Ec.isFragment=function(e){return Uc(e)===Pc},Ec.isLazy=function(e){return Uc(e)===_c},Ec.isMemo=function(e){return Uc(e)===$c},Ec.isPortal=function(e){return Uc(e)===Mc},Ec.isProfiler=function(e){return Uc(e)===Dc},Ec.isStrictMode=function(e){return Uc(e)===Oc},Ec.isSuspense=function(e){return Uc(e)===zc},Ec.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Pc||e===Nc||e===Dc||e===Oc||e===zc||e===jc||"object"==typeof e&&null!==e&&(e.$$typeof===_c||e.$$typeof===$c||e.$$typeof===Ic||e.$$typeof===qc||e.$$typeof===Lc||e.$$typeof===Hc||e.$$typeof===Wc||e.$$typeof===Bc||e.$$typeof===Fc)},Ec.typeOf=Uc,kc.exports=Ec;var Gc=kc.exports,Kc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Yc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Xc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Jc={};function Zc(e){return Gc.isMemo(e)?Xc:Jc[e.$$typeof]||Kc}Jc[Gc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Jc[Gc.Memo]=Xc;var Qc=Object.defineProperty,eu=Object.getOwnPropertyNames,tu=Object.getOwnPropertySymbols,nu=Object.getOwnPropertyDescriptor,ru=Object.getPrototypeOf,ou=Object.prototype;var iu=function e(t,n,r){if("string"!=typeof n){if(ou){var o=ru(n);o&&o!==ou&&e(t,o,r)}var i=eu(n);tu&&(i=i.concat(tu(n)));for(var a=Zc(t),s=Zc(n),l=0;l<i.length;++l){var c=i[l];if(!(Yc[c]||r&&r[c]||s&&s[c]||a&&a[c])){var u=nu(n,c);try{Qc(t,c,u)}catch(e){}}}}return t},au=X(iu);function su(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,i=Ui(r,["name"]),a=o,s="function"==typeof t?function(e){return{root:function(n){return t(Ii({theme:e},n))}}}:{root:t},l=Sc(s,Ii({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var c=g.forwardRef((function(t,r){var o,i,a,s=t.children,c=t.className,u=t.clone,d=t.component,p=Ui(t,["children","className","clone","component"]),f=Cc(l(t).root,c),h=p;if(n&&(o=h,i=n,a={},Object.keys(o).forEach((function(e){-1===i.indexOf(e)&&(a[e]=o[e])})),h=a),u)return g.cloneElement(s,Ii({className:Cc(s.props.className,f)},h));if("function"==typeof s)return s(Ii({className:f},h));var m=d||e;return g.createElement(m,Ii({ref:r,className:f},h),s)}));return au(c,e),c}}function lu(e){var t=e.children,n=e.theme,r=pc(),o=g.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):Ii({},e,t)}(r,n);return null!=e&&(e[ya]=null!==r),e}),[n,r]);return g.createElement(dc.Provider,{value:o},t)}var cu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,s=Ui(t,["defaultTheme","withTheme","name"]),l=a,c=Sc(e,Ii({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:l},s)),u=g.forwardRef((function(e,t){e.classes;var o,s=e.innerRef,l=Ui(e,["classes","innerRef"]),u=c(Ii({},n.defaultProps,e)),d=l;return("string"==typeof a||i)&&(o=pc()||r,a&&(d=xa({theme:o,name:a,props:l})),i&&!d.theme&&(d.theme=o)),g.createElement(n,Ii({ref:s||t,classes:u},d))}));return au(u,n),u}},uu=ga(),du=function(e){var t=su(e);return function(e,n){return t(e,Ii({defaultTheme:uu},n))}};function pu(e,t){return cu(e,Ii({defaultTheme:uu},t))}function fu(e){if("string"!=typeof e)throw new Error(ji(7));return e.charAt(0).toUpperCase()+e.slice(1)}function hu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function mu(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=mu(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function gu(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=mu(e))&&(r&&(r+=" "),r+=t);return r}function yu(e){return e&&e.ownerDocument||document}function vu(e){return yu(e).defaultView||window}function bu(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var xu="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;function Su(e){var t=y.useRef(e);return xu((function(){t.current=e})),y.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function wu(e,t){return y.useMemo((function(){return null==e&&null==t?null:function(n){bu(e,n),bu(t,n)}}),[e,t])}var Cu=!0,ku=!1,Eu=null,Tu={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ru(e){e.metaKey||e.altKey||e.ctrlKey||(Cu=!0)}function Mu(){Cu=!1}function Pu(){"hidden"===this.visibilityState&&ku&&(Cu=!0)}function Ou(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return Cu||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!Tu[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Du(){ku=!0,window.clearTimeout(Eu),Eu=window.setTimeout((function(){ku=!1}),100)}function Iu(){var e=y.useCallback((function(e){var t,n=C.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Ru,!0),t.addEventListener("mousedown",Mu,!0),t.addEventListener("pointerdown",Mu,!0),t.addEventListener("touchstart",Mu,!0),t.addEventListener("visibilitychange",Pu,!0))}),[]);return{isFocusVisible:Ou,onBlurVisible:Du,ref:e}}var qu=!1,Au=g.createContext(null),Nu="unmounted",Lu="exited",zu="entering",ju="entered",$u="exiting",_u=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Lu,r.appearStatus=zu):o=ju:o=t.unmountOnExit||t.mountOnEnter?Nu:Lu,r.state={status:o},r.nextCallback=null,r}Ta(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Nu?{status:Lu}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==zu&&n!==ju&&(t=zu):n!==zu&&n!==ju||(t=$u)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===zu){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:k.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lu&&this.setState({status:Nu})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[k.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||qu?this.safeSetState({status:ju},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:zu},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:ju},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:k.findDOMNode(this);t&&!qu?(this.props.onExit(r),this.safeSetState({status:$u},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Lu},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Lu},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:k.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Nu)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=Bi(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return g.createElement(Au.Provider,{value:null},"function"==typeof n?n(e,r):g.cloneElement(g.Children.only(n),r))},t}(g.Component);function Fu(){}_u.contextType=Au,_u.propTypes={},_u.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Fu,onEntering:Fu,onEntered:Fu,onExit:Fu,onExiting:Fu,onExited:Fu},_u.UNMOUNTED=Nu,_u.EXITED=Lu,_u.ENTERING=zu,_u.ENTERED=ju,_u.EXITING=$u;var Hu=_u;function Wu(e,t){var n=Object.create(null);return e&&v.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&b(e)?t(e):e}(e)})),n}function Bu(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Uu(e,t,n){var r=Wu(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(b(a)){var s=i in t,l=i in r,c=t[i],u=b(c)&&!c.props.in;!l||s&&!u?l||!s||u?l&&s&&b(c)&&(o[i]=x(a,{onExited:n.bind(null,a),in:c.props.in,exit:Bu(a,"exit",e),enter:Bu(a,"enter",e)})):o[i]=x(a,{in:!1}):o[i]=x(a,{onExited:n.bind(null,a),in:!0,exit:Bu(a,"exit",e),enter:Bu(a,"enter",e)})}})),o}var Vu=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Gu=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(Ra(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Ta(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,Wu(n.children,(function(e){return x(e,{onExited:r.bind(null,e),in:!0,appear:Bu(e,"appear",n),enter:Bu(e,"enter",n),exit:Bu(e,"exit",n)})}))):Uu(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Wu(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Ii({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Bi(e,["component","childFactory"]),o=this.state.contextValue,i=Vu(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?g.createElement(Au.Provider,{value:o},i):g.createElement(Au.Provider,{value:o},g.createElement(t,r,i))},t}(g.Component);Gu.propTypes={},Gu.defaultProps={component:"div",childFactory:function(e){return e}};var Ku=Gu;function Yu(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}var Xu=y.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.component,i=void 0===o?"div":o,a=e.square,s=void 0!==a&&a,l=e.elevation,c=void 0===l?1:l,u=e.variant,d=void 0===u?"elevation":u,p=Ui(e,["classes","className","component","square","elevation","variant"]);return y.createElement(i,Ii({className:gu(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(c)],!s&&n.rounded),ref:t},p))})),Ju=pu((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Ii({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(Xu),Zu="undefined"==typeof window?y.useEffect:y.useLayoutEffect;function Qu(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,i=e.rippleY,a=e.rippleSize,s=e.in,l=e.onExited,c=void 0===l?function(){}:l,u=e.timeout,d=y.useState(!1),p=d[0],f=d[1],h=gu(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},g=gu(t.child,p&&t.childLeaving,r&&t.childPulsate),v=Su(c);return Zu((function(){if(!s){f(!0);var e=setTimeout(v,u);return function(){clearTimeout(e)}}}),[v,s,u]),y.createElement("span",{className:h,style:m},y.createElement("span",{className:g}))}var ed=y.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,o=e.classes,i=e.className,a=Ui(e,["center","classes","className"]),s=y.useState([]),l=s[0],c=s[1],u=y.useRef(0),d=y.useRef(null);y.useEffect((function(){d.current&&(d.current(),d.current=null)}),[l]);var p=y.useRef(!1),f=y.useRef(null),h=y.useRef(null),m=y.useRef(null);y.useEffect((function(){return function(){clearTimeout(f.current)}}),[]);var g=y.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;c((function(e){return[].concat(la(e),[y.createElement(Qu,{key:u.current,classes:o,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i})])})),u.current+=1,d.current=a}),[o]),v=y.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=t.pulsate,i=void 0!==o&&o,a=t.center,s=void 0===a?r||t.pulsate:a,l=t.fakeElement,c=void 0!==l&&l;if("mousedown"===e.type&&p.current)p.current=!1;else{"touchstart"===e.type&&(p.current=!0);var u,d,y,v=c?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(b.width/2),d=Math.round(b.height/2);else{var x=e.touches?e.touches[0]:e,S=x.clientX,w=x.clientY;u=Math.round(S-b.left),d=Math.round(w-b.top)}if(s)(y=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(y+=1);else{var C=2*Math.max(Math.abs((v?v.clientWidth:0)-u),u)+2,k=2*Math.max(Math.abs((v?v.clientHeight:0)-d),d)+2;y=Math.sqrt(Math.pow(C,2)+Math.pow(k,2))}e.touches?null===h.current&&(h.current=function(){g({pulsate:i,rippleX:u,rippleY:d,rippleSize:y,cb:n})},f.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):g({pulsate:i,rippleX:u,rippleY:d,rippleSize:y,cb:n})}}),[r,g]),b=y.useCallback((function(){v({},{pulsate:!0})}),[v]),x=y.useCallback((function(e,t){if(clearTimeout(f.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(f.current=setTimeout((function(){x(e,t)})));h.current=null,c((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return y.useImperativeHandle(t,(function(){return{pulsate:b,start:v,stop:x}}),[b,v,x]),y.createElement("span",Ii({className:gu(o.root,i),ref:m},a),y.createElement(Ku,{component:null,exit:!0},l))})),td=pu((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(y.memo(ed)),nd=y.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,o=e.centerRipple,i=void 0!==o&&o,a=e.children,s=e.classes,l=e.className,c=e.component,u=void 0===c?"button":c,d=e.disabled,p=void 0!==d&&d,f=e.disableRipple,h=void 0!==f&&f,m=e.disableTouchRipple,g=void 0!==m&&m,v=e.focusRipple,b=void 0!==v&&v,x=e.focusVisibleClassName,S=e.onBlur,w=e.onClick,k=e.onFocus,E=e.onFocusVisible,T=e.onKeyDown,R=e.onKeyUp,M=e.onMouseDown,P=e.onMouseLeave,O=e.onMouseUp,D=e.onTouchEnd,I=e.onTouchMove,q=e.onTouchStart,A=e.onDragLeave,N=e.tabIndex,L=void 0===N?0:N,z=e.TouchRippleProps,j=e.type,$=void 0===j?"button":j,_=Ui(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),F=y.useRef(null);var H=y.useRef(null),W=y.useState(!1),B=W[0],U=W[1];p&&B&&U(!1);var V=Iu(),G=V.isFocusVisible,K=V.onBlurVisible,Y=V.ref;function X(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return Su((function(r){return t&&t(r),!n&&H.current&&H.current[e](r),!0}))}y.useImperativeHandle(n,(function(){return{focusVisible:function(){U(!0),F.current.focus()}}}),[]),y.useEffect((function(){B&&b&&!h&&H.current.pulsate()}),[h,b,B]);var J=X("start",M),Z=X("stop",A),Q=X("stop",O),ee=X("stop",(function(e){B&&e.preventDefault(),P&&P(e)})),te=X("start",q),ne=X("stop",D),re=X("stop",I),oe=X("stop",(function(e){B&&(K(e),U(!1)),S&&S(e)}),!1),ie=Su((function(e){F.current||(F.current=e.currentTarget),G(e)&&(U(!0),E&&E(e)),k&&k(e)})),ae=function(){var e=C.findDOMNode(F.current);return u&&"button"!==u&&!("A"===e.tagName&&e.href)},se=y.useRef(!1),le=Su((function(e){b&&!se.current&&B&&H.current&&" "===e.key&&(se.current=!0,e.persist(),H.current.stop(e,(function(){H.current.start(e)}))),e.target===e.currentTarget&&ae()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&ae()&&"Enter"===e.key&&!p&&(e.preventDefault(),w&&w(e))})),ce=Su((function(e){b&&" "===e.key&&H.current&&B&&!e.defaultPrevented&&(se.current=!1,e.persist(),H.current.stop(e,(function(){H.current.pulsate(e)}))),R&&R(e),w&&e.target===e.currentTarget&&ae()&&" "===e.key&&!e.defaultPrevented&&w(e)})),ue=u;"button"===ue&&_.href&&(ue="a");var de={};"button"===ue?(de.type=$,de.disabled=p):("a"===ue&&_.href||(de.role="button"),de["aria-disabled"]=p);var pe=wu(r,t),fe=wu(Y,F),he=wu(pe,fe),me=y.useState(!1),ge=me[0],ye=me[1];y.useEffect((function(){ye(!0)}),[]);var ve=ge&&!h&&!p;return y.createElement(ue,Ii({className:gu(s.root,l,B&&[s.focusVisible,x],p&&s.disabled),onBlur:oe,onClick:w,onFocus:ie,onKeyDown:le,onKeyUp:ce,onMouseDown:J,onMouseLeave:ee,onMouseUp:Q,onDragLeave:Z,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:he,tabIndex:p?-1:L},de,_),a,ve?y.createElement(td,Ii({ref:H,center:i},z)):null)})),rd=pu({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(nd),od={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},id=y.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,o=e.classes,i=e.className,a=e.color,s=void 0===a?"initial":a,l=e.component,c=e.display,u=void 0===c?"initial":c,d=e.gutterBottom,p=void 0!==d&&d,f=e.noWrap,h=void 0!==f&&f,m=e.paragraph,g=void 0!==m&&m,v=e.variant,b=void 0===v?"body1":v,x=e.variantMapping,S=void 0===x?od:x,w=Ui(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=l||(g?"p":S[b]||od[b])||"span";return y.createElement(C,Ii({className:gu(o.root,i,"inherit"!==b&&o[b],"initial"!==s&&o["color".concat(fu(s))],h&&o.noWrap,p&&o.gutterBottom,g&&o.paragraph,"inherit"!==r&&o["align".concat(fu(r))],"initial"!==u&&o["display".concat(fu(u))]),ref:t},w))})),ad=pu((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(id),sd=y.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.color,a=void 0===i?"default":i,s=e.component,l=void 0===s?"button":s,c=e.disabled,u=void 0!==c&&c,d=e.disableElevation,p=void 0!==d&&d,f=e.disableFocusRipple,h=void 0!==f&&f,m=e.endIcon,g=e.focusVisibleClassName,v=e.fullWidth,b=void 0!==v&&v,x=e.size,S=void 0===x?"medium":x,w=e.startIcon,C=e.type,k=void 0===C?"button":C,E=e.variant,T=void 0===E?"text":E,R=Ui(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),M=w&&y.createElement("span",{className:gu(r.startIcon,r["iconSize".concat(fu(S))])},w),P=m&&y.createElement("span",{className:gu(r.endIcon,r["iconSize".concat(fu(S))])},m);return y.createElement(rd,Ii({className:gu(r.root,r[T],o,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(T).concat(fu(a))],"medium"!==S&&[r["".concat(T,"Size").concat(fu(S))],r["size".concat(fu(S))]],p&&r.disableElevation,u&&r.disabled,b&&r.fullWidth),component:l,disabled:u,focusRipple:!h,focusVisibleClassName:gu(r.focusVisible,g),ref:t,type:k},R),y.createElement("span",{className:r.label},M,n,P))})),ld=pu((function(e){return{root:Ii({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Wi(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Wi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Wi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Wi(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Wi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Wi(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Wi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(sd);var cd="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,ud=y.forwardRef((function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,s=y.useState(null),l=s[0],c=s[1],u=wu(y.isValidElement(n)?n.ref:null,t);return cd((function(){i||c(function(e){return e="function"==typeof e?e():e,C.findDOMNode(e)}(r)||document.body)}),[r,i]),cd((function(){if(l&&!i)return bu(t,l),function(){bu(t,null)}}),[t,l,i]),cd((function(){a&&(l||i)&&a()}),[a,l,i]),i?y.isValidElement(n)?y.cloneElement(n,{ref:u}):n:l?C.createPortal(n,l):l})),dd=ud;function pd(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function fd(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function hd(e,t,n){var r=arguments.length>4?arguments[4]:void 0,o=[t,n].concat(la(arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])),i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===i.indexOf(e.tagName)&&pd(e,r)}))}function md(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function gd(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=yu(e);return t.body===e?vu(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(fd(i)+a,"px"),n=yu(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(fd(e)+a,"px")}))}var s=i.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var yd=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}return ka(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&pd(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);hd(t,e.mountNode,e.modalRef,r,!0);var o=md(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=md(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=gd(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=md(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&pd(e.modalRef,!0),hd(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&pd(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();function vd(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,a=e.disableRestoreFocus,s=void 0!==a&&a,l=e.getDoc,c=e.isEnabled,u=e.open,d=y.useRef(),p=y.useRef(null),f=y.useRef(null),h=y.useRef(),m=y.useRef(null),g=y.useCallback((function(e){m.current=C.findDOMNode(e)}),[]),v=wu(t.ref,g),b=y.useRef();return y.useEffect((function(){b.current=u}),[u]),!b.current&&u&&"undefined"!=typeof window&&(h.current=l().activeElement),y.useEffect((function(){if(u){var e=yu(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!i&&c()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!i&&c()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?f.current.focus():p.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval((function(){t()}),50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),s||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}}),[r,i,s,c,u]),y.createElement(y.Fragment,null,y.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelStart"}),y.cloneElement(t,{ref:v}),y.createElement("div",{tabIndex:0,ref:f,"data-test":"sentinelEnd"}))}var bd={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},xd=y.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,o=e.open,i=Ui(e,["invisible","open"]);return o?y.createElement("div",Ii({"aria-hidden":!0,ref:t},i,{style:Ii({},bd.root,r?bd.invisible:{},i.style)})):null}));var Sd=new yd,wd=y.forwardRef((function(e,t){var n=pc(),r=xa({name:"MuiModal",props:Ii({},e),theme:n}),o=r.BackdropComponent,i=void 0===o?xd:o,a=r.BackdropProps,s=r.children,l=r.closeAfterTransition,c=void 0!==l&&l,u=r.container,d=r.disableAutoFocus,p=void 0!==d&&d,f=r.disableBackdropClick,h=void 0!==f&&f,m=r.disableEnforceFocus,g=void 0!==m&&m,v=r.disableEscapeKeyDown,b=void 0!==v&&v,x=r.disablePortal,S=void 0!==x&&x,w=r.disableRestoreFocus,k=void 0!==w&&w,E=r.disableScrollLock,T=void 0!==E&&E,R=r.hideBackdrop,M=void 0!==R&&R,P=r.keepMounted,O=void 0!==P&&P,D=r.manager,I=void 0===D?Sd:D,q=r.onBackdropClick,A=r.onClose,N=r.onEscapeKeyDown,L=r.onRendered,z=r.open,j=Ui(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),$=y.useState(!0),_=$[0],F=$[1],H=y.useRef({}),W=y.useRef(null),B=y.useRef(null),U=wu(B,t),V=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),G=function(){return yu(W.current)},K=function(){return H.current.modalRef=B.current,H.current.mountNode=W.current,H.current},Y=function(){I.mount(K(),{disableScrollLock:T}),B.current.scrollTop=0},X=Su((function(){var e=function(e){return e="function"==typeof e?e():e,C.findDOMNode(e)}(u)||G().body;I.add(K(),e),B.current&&Y()})),J=y.useCallback((function(){return I.isTopModal(K())}),[I]),Z=Su((function(e){W.current=e,e&&(L&&L(),z&&J()?Y():pd(B.current,!0))})),Q=y.useCallback((function(){I.remove(K())}),[I]);if(y.useEffect((function(){return function(){Q()}}),[Q]),y.useEffect((function(){z?X():V&&c||Q()}),[z,Q,V,c,X]),!O&&!z&&(!V||_))return null;var ee=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:ma}),te={};return void 0===s.props.tabIndex&&(te.tabIndex=s.props.tabIndex||"-1"),V&&(te.onEnter=hu((function(){F(!1)}),s.props.onEnter),te.onExited=hu((function(){F(!0),c&&Q()}),s.props.onExited)),y.createElement(dd,{ref:Z,container:u,disablePortal:S},y.createElement("div",Ii({ref:U,onKeyDown:function(e){"Escape"===e.key&&J()&&(N&&N(e),b||(e.stopPropagation(),A&&A(e,"escapeKeyDown")))},role:"presentation"},j,{style:Ii({},ee.root,!z&&_?ee.hidden:{},j.style)}),M?null:y.createElement(i,Ii({open:z,onClick:function(e){e.target===e.currentTarget&&(q&&q(e),!h&&A&&A(e,"backdropClick"))}},a)),y.createElement(vd,{disableEnforceFocus:g,disableAutoFocus:p,disableRestoreFocus:k,getDoc:G,isEnabled:J,open:z},y.cloneElement(s,te))))})),Cd=wd,kd=y.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,o=e.classes,i=e.className,a=e.component,s=void 0===a?"hr":a,l=e.flexItem,c=void 0!==l&&l,u=e.light,d=void 0!==u&&u,p=e.orientation,f=void 0===p?"horizontal":p,h=e.role,m=void 0===h?"hr"!==s?"separator":void 0:h,g=e.variant,v=void 0===g?"fullWidth":g,b=Ui(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return y.createElement(s,Ii({className:gu(o.root,i,"fullWidth"!==v&&o[v],r&&o.absolute,c&&o.flexItem,d&&o.light,"vertical"===f&&o.vertical),role:m,ref:t},b))})),Ed=pu((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Wi(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(kd);function Td(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Rd={entering:{opacity:1,transform:Td(1)},entered:{opacity:1,transform:"none"}},Md=y.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,s=e.onEntered,l=e.onEntering,c=e.onExit,u=e.onExited,d=e.onExiting,p=e.style,f=e.timeout,h=void 0===f?"auto":f,m=e.TransitionComponent,g=void 0===m?Hu:m,v=Ui(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),b=y.useRef(),x=y.useRef(),S=pc()||uu,w=S.unstable_strictMode&&!o,C=y.useRef(null),k=wu(n.ref,t),E=wu(w?C:void 0,k),T=function(e){return function(t,n){if(e){var r=ca(w?[C.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},R=T(l),M=T((function(e,t){!function(e){e.scrollTop}(e);var n,r=Yu({style:p,timeout:h},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===h?(n=S.transitions.getAutoHeightDuration(e.clientHeight),x.current=n):n=o,e.style.transition=[S.transitions.create("opacity",{duration:n,delay:i}),S.transitions.create("transform",{duration:.666*n,delay:i})].join(","),a&&a(e,t)})),P=T(s),O=T(d),D=T((function(e){var t,n=Yu({style:p,timeout:h},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===h?(t=S.transitions.getAutoHeightDuration(e.clientHeight),x.current=t):t=r,e.style.transition=[S.transitions.create("opacity",{duration:t,delay:o}),S.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=Td(.75),c&&c(e)})),I=T(u);return y.useEffect((function(){return function(){clearTimeout(b.current)}}),[]),y.createElement(g,Ii({appear:!0,in:i,nodeRef:w?C:void 0,onEnter:M,onEntered:P,onEntering:R,onExit:D,onExited:I,onExiting:O,addEndListener:function(e,t){var n=w?e:t;"auto"===h&&(b.current=setTimeout(n,x.current||0))},timeout:"auto"===h?null:h},v),(function(e,t){return y.cloneElement(n,Ii({style:Ii({opacity:0,transform:Td(.75),visibility:"exited"!==e||i?void 0:"hidden"},Rd[e],p,n.props.style),ref:E},t))}))}));Md.muiSupportAuto=!0;var Pd=Md,Od=y.createContext({}),Dd=y.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"ul":i,s=e.dense,l=void 0!==s&&s,c=e.disablePadding,u=void 0!==c&&c,d=e.subheader,p=Ui(e,["children","classes","className","component","dense","disablePadding","subheader"]),f=y.useMemo((function(){return{dense:l}}),[l]);return y.createElement(Od.Provider,{value:f},y.createElement(a,Ii({className:gu(r.root,o,l&&r.dense,!u&&r.padding,d&&r.subheader),ref:t},p),d,n))})),Id=pu({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Dd),qd="undefined"==typeof window?y.useEffect:y.useLayoutEffect,Ad=y.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,o=e.autoFocus,i=void 0!==o&&o,a=e.button,s=void 0!==a&&a,l=e.children,c=e.classes,u=e.className,d=e.component,p=e.ContainerComponent,f=void 0===p?"li":p,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,g=Ui(h,["className"]),v=e.dense,b=void 0!==v&&v,x=e.disabled,S=void 0!==x&&x,w=e.disableGutters,k=void 0!==w&&w,E=e.divider,T=void 0!==E&&E,R=e.focusVisibleClassName,M=e.selected,P=void 0!==M&&M,O=Ui(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),D=y.useContext(Od),I={dense:b||D.dense||!1,alignItems:r},q=y.useRef(null);qd((function(){i&&q.current&&q.current.focus()}),[i]);var A,N,L=y.Children.toArray(l),z=L.length&&(A=L[L.length-1],N=["ListItemSecondaryAction"],y.isValidElement(A)&&-1!==N.indexOf(A.type.muiName)),j=wu(y.useCallback((function(e){q.current=C.findDOMNode(e)}),[]),t),$=Ii({className:gu(c.root,u,I.dense&&c.dense,!k&&c.gutters,T&&c.divider,S&&c.disabled,s&&c.button,"center"!==r&&c.alignItemsFlexStart,z&&c.secondaryAction,P&&c.selected),disabled:S},O),_=d||"li";return s&&($.component=d||"div",$.focusVisibleClassName=gu(c.focusVisible,R),_=rd),z?(_=$.component||d?_:"div","li"===f&&("li"===_?_="div":"li"===$.component&&($.component="div")),y.createElement(Od.Provider,{value:I},y.createElement(f,Ii({className:gu(c.container,m),ref:j},g),y.createElement(_,$,L),L.pop()))):y.createElement(Od.Provider,{value:I},y.createElement(_,Ii({ref:j},$),L))})),Nd=pu((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(Ad),Ld=y.forwardRef((function(e,t){var n=e.classes,r=e.className,o=Ui(e,["classes","className"]),i=y.useContext(Od);return y.createElement("div",Ii({className:gu(n.root,r,"flex-start"===i.alignItems&&n.alignItemsFlexStart),ref:t},o))})),zd=pu((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(Ld),jd=y.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.disableTypography,a=void 0!==i&&i,s=e.inset,l=void 0!==s&&s,c=e.primary,u=e.primaryTypographyProps,d=e.secondary,p=e.secondaryTypographyProps,f=Ui(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),h=y.useContext(Od).dense,m=null!=c?c:n;null==m||m.type===ad||a||(m=y.createElement(ad,Ii({variant:h?"body2":"body1",className:r.primary,component:"span",display:"block"},u),m));var g=d;return null==g||g.type===ad||a||(g=y.createElement(ad,Ii({variant:"body2",className:r.secondary,color:"textSecondary",display:"block"},p),g)),y.createElement("div",Ii({className:gu(r.root,o,h&&r.dense,l&&r.inset,m&&g&&r.multiline),ref:t},f),m,g)})),$d=pu({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(jd);function _d(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Fd(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Hd(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Wd(e){return"function"==typeof e?e():e}var Bd=y.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,o=e.anchorOrigin,i=void 0===o?{vertical:"top",horizontal:"left"}:o,a=e.anchorPosition,s=e.anchorReference,l=void 0===s?"anchorEl":s,c=e.children,u=e.classes,d=e.className,p=e.container,f=e.elevation,h=void 0===f?8:f,m=e.getContentAnchorEl,g=e.marginThreshold,v=void 0===g?16:g,b=e.onEnter,x=e.onEntered,S=e.onEntering,w=e.onExit,k=e.onExited,E=e.onExiting,T=e.open,R=e.PaperProps,M=void 0===R?{}:R,P=e.transformOrigin,O=void 0===P?{vertical:"top",horizontal:"left"}:P,D=e.TransitionComponent,I=void 0===D?Pd:D,q=e.transitionDuration,A=void 0===q?"auto":q,N=e.TransitionProps,L=void 0===N?{}:N,z=Ui(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),j=y.useRef(),$=y.useCallback((function(e){if("anchorPosition"===l)return a;var t=Wd(r),n=(t&&1===t.nodeType?t:yu(j.current).body).getBoundingClientRect(),o=0===e?i.vertical:"center";return{top:n.top+_d(n,o),left:n.left+Fd(n,i.horizontal)}}),[r,i.horizontal,i.vertical,a,l]),_=y.useCallback((function(e){var t=0;if(m&&"anchorEl"===l){var n=m(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[i.vertical,l,m]),F=y.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:_d(e,O.vertical)+t,horizontal:Fd(e,O.horizontal)}}),[O.horizontal,O.vertical]),H=y.useCallback((function(e){var t=_(e),n={width:e.offsetWidth,height:e.offsetHeight},o=F(n,t);if("none"===l)return{top:null,left:null,transformOrigin:Hd(o)};var i=$(t),a=i.top-o.vertical,s=i.left-o.horizontal,c=a+n.height,u=s+n.width,d=vu(Wd(r)),p=d.innerHeight-v,f=d.innerWidth-v;if(a<v){var h=a-v;a-=h,o.vertical+=h}else if(c>p){var m=c-p;a-=m,o.vertical+=m}if(s<v){var g=s-v;s-=g,o.horizontal+=g}else if(u>f){var y=u-f;s-=y,o.horizontal+=y}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:Hd(o)}}),[r,l,$,_,F,v]),W=y.useCallback((function(){var e=j.current;if(e){var t=H(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[H]),B=y.useCallback((function(e){j.current=C.findDOMNode(e)}),[]);y.useEffect((function(){T&&W()})),y.useImperativeHandle(n,(function(){return T?{updatePosition:function(){W()}}:null}),[T,W]),y.useEffect((function(){if(T){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this;clearTimeout(t),t=setTimeout((function(){e.apply(a,o)}),n)}return r.clear=function(){clearTimeout(t)},r}((function(){W()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[T,W]);var U=A;"auto"!==A||I.muiSupportAuto||(U=void 0);var V=p||(r?yu(Wd(r)).body:void 0);return y.createElement(Cd,Ii({container:V,open:T,ref:t,BackdropProps:{invisible:!0},className:gu(u.root,d)},z),y.createElement(I,Ii({appear:!0,in:T,onEnter:b,onEntered:x,onExit:w,onExited:k,onExiting:E,timeout:U},L,{onEntering:hu((function(e,t){S&&S(e,t),W()}),L.onEntering)}),y.createElement(Ju,Ii({elevation:h,ref:B},M,{className:gu(u.paper,M.className)}),c)))})),Ud=pu({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Bd);function Vd(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Gd({d:e,size:t,style:n={},viewBox:r="0 0 16 16"}){const o={fontSize:Vd(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",...n};return g.createElement("i",{style:o},g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},g.createElement("path",{d:e})))}const Kd=du(Nd)((()=>({textAlign:"start","&:focus":{boxShadow:"inset 0 0 0 2px #177FE6 !important"}}))),Yd={menuItem:"alternative-menu-item"},Xd=e=>{const{nested:t,className:n,...r}=e,o=(({nested:e,dir:t})=>Sc((n=>({root:{textAlign:"ltr"===t?"start":"end","&:focus":{boxShadow:"inset 0 0 0 2px #177FE6 !important"},...e&&"ltr"===t&&{paddingLeft:n.spacing(4)},...e&&"rtl"===t&&{paddingRight:n.spacing(4)}}}))))(e)();return g.createElement(Nd,bi({className:`${o.root} ${n}`},r))},Jd=e=>{if("Tab"===e.key){const t=document.querySelectorAll(`.${Yd.menuItem}`);let n;e.shiftKey?null!=t&&t.length&&t[0]===e.target&&(n=t[t.length-1]):null!=t&&t.length&&t[t.length-1]===e.target&&([n]=t),n&&setTimeout((()=>{n.focus()}),50)}};function Zd({title:e,selected:t,onClick:n,nested:r,icon:o,bold:i,dir:a,isCyclicFFEnabled:s}){const l=ve.detectTextDirection(e);return!s?g.createElement(Kd,{role:"menuitem",button:!0,onClick:n,className:Yd.menuItem,onKeyDown:Jd,autoFocus:t},g.createElement(zd,{style:{minWidth:32}},g.createElement(Gd,{d:t?ri.d:""})),g.createElement($d,{primaryTypographyProps:{dir:l}},e)):g.createElement(Xd,{nested:r,role:"menuitem",button:!0,onClick:n,className:Yd.menuItem,onKeyDown:Jd,dir:a,autoFocus:t},g.createElement($d,{primary:e,primaryTypographyProps:{dir:l,...i&&{style:{fontWeight:600}}}}),g.createElement(zd,{style:{minWidth:16}},g.createElement(Gd,{d:t?ri.d:""})),o&&g.createElement(zd,{style:{minWidth:16}},g.createElement(Gd,{d:o.d})))}Zd.propTypes={title:Ci.string.isRequired,selected:Ci.bool,onClick:Ci.func.isRequired,nested:Ci.bool,icon:Ci.shape({d:Ci.string.isRequired}),bold:Ci.bool,dir:Ci.string.isRequired,isCyclicFFEnabled:Ci.bool.isRequired},Zd.defaultProps={selected:!1,nested:!1,icon:void 0,bold:!1},Xd.propTypes={nested:Ci.bool,className:Ci.string},Xd.defaultProps={nested:!1,className:Yd.menuItem};const Qd={bottom:{anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},top:{anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}},left:{anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}},right:{anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}}};function ep({alignTo:e,currentId:t,dir:n,dock:r,list:o,onClose:i,show:a,instruction:s,isCyclicFFEnabled:l}){const c=l,u=o.map(((e,r)=>{var a;return g.createElement(g.Fragment,{key:e.id},g.createElement(Zd,{icon:e.icon,title:e.title,bold:e.groupItem,selected:e.selected,onClick:()=>{e.onSelect&&e.onSelect(t),i(e.id)},dir:n,isCyclicFFEnabled:l}),(null===(a=e.children)||void 0===a?void 0:a.length)>0&&g.createElement(Id,{dense:!0,dir:n,component:"div",disablePadding:!0},e.children.map((t=>g.createElement(Zd,{key:t.id,nested:!0,title:t.title,selected:t.selected,onClick:()=>{t.onSelect(),i(e.id)},dir:n,isCyclicFFEnabled:l})))),r<o.length-1&&c&&g.createElement(Ed,{key:`divider-${e.id}`}))}));return g.createElement(Ud,bi({anchorEl:e,open:a,onClose:i},Qd[r],{PaperProps:{style:{minWidth:"250px",maxHeight:"300px"}}}),g.createElement(Id,{dense:!0,disablePadding:!0,dir:n,"aria-label":s,component:"nav"},u))}ep.propTypes={alignTo:Ci.any,currentId:Ci.string.isRequired,dir:Ci.string.isRequired,dock:Ci.string.isRequired,list:Ci.array,onClose:Ci.func.isRequired,show:Ci.bool.isRequired,instruction:Ci.string.isRequired,isCyclicFFEnabled:Ci.bool.isRequired},ep.defaultProps={list:[],alignTo:null};const tp="title-button",np="active-title-button",rp=du((({children:e,...t})=>g.createElement(ld,bi({size:"small",disableRipple:!0,disableTouchRipple:!0},t),e)))((()=>({"&:focus":{boxShadow:"inset 0 0 0 2px #177FE6 !important"}}))),op=du(ld)((()=>({borderRadius:"4px",width:"24px",height:"24px",minWidth:"22px",padding:0})));class ip extends g.Component{constructor(e){super(e),this.state={open:!1,inSelection:e.selections&&e.selections.isActive(),hasPopoverOptions:!1,disableCyclicButton:!1},this.openPopover=this.openPopover.bind(this),this.closePopover=this.closePopover.bind(this),this.alignToRef=g.createRef()}componentDidMount(){const{popover:e,selections:t,supportConditional:n,showGroupDimOptions:r}=this.props;t&&(this.onSelectionsActivated=()=>this.setState({inSelection:!0}),this.onSelectionsDeactivated=()=>this.setState({inSelection:!1}),t.addListener("activated",this.onSelectionsActivated),t.addListener("deactivated",this.onSelectionsDeactivated),t.addListener("canceled",this.onSelectionsDeactivated)),e&&(n||r)&&e.getPopoverOptions().then((e=>{this.setState({hasPopoverOptions:0!==e.length})}))}componentDidUpdate(e,t){const{popover:n,supportConditional:r,showGroupDimOptions:o}=this.props;n&&(r||o)&&n.getPopoverOptions().then((e=>{t.hasPopoverOptions!==(0!==e.length)&&this.setState({hasPopoverOptions:0!==e.length})}))}componentWillUnmount(){const{selections:e}=this.props;e&&(e.removeListener("activated",this.onSelectionsActivated),e.removeListener("deactivated",this.onSelectionsDeactivated),e.removeListener("canceled",this.onSelectionsDeactivated))}openPopover(e){if(!(this.state.closeTime&&Date.now()-this.state.closeTime<20)){if(e.target){const t=e.target.closest(`.${tp}`);t&&t.classList.add(np)}this.props.popover.getPopoverOptions().then((e=>{this.setState({open:!0,list:e})}))}}closePopover(e){if(this.setState({open:!1,closeTime:Date.now()}),"string"==typeof e)setTimeout((()=>{const t=document.querySelector(`.${tp}[data-id="${e}"]`);t&&t.focus()}),1e3);else{const e=document.querySelector(`.${np}`);e&&(e.classList.remove(np),setTimeout((()=>{e.focus()}),50))}}render(){const{titleData:e,popover:t,translator:n,disabled:r,isDimension:o,padding:i,minWidth:a,hasAlternative:s,supportConditional:l,showGroupDimOptions:c}=this.props,u={flex:"1 1 auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:"normal",lineHeight:"normal",...this.props.style},d=e.breadcrumbs.length,p=r||Boolean(!e.drillUp)||this.state.inSelection,f=e.breadcrumbs.map(((t,n)=>g.createElement(rp,{style:{display:"flex",alignItems:"center",color:p&&"rgba(89, 89, 89, 0.8)",pointerEvents:p?"none":"auto",paddingTop:0,paddingBottom:0,height:"100%"},key:n,onClick:()=>p?void 0:e.drillUp(d-n),title:t},g.createElement("span",{style:u},t),g.createElement(Gd,bi({},ii,{size:"small",style:{margin:"0 8px"}}))))),h=l||c?this.state.hasPopoverOptions:s,m=t&&!this.state.open?this.openPopover:this.closePopover,y=!t||r||this.state.inSelection,v={display:"flex",alignItems:"center",width:"100%",color:y&&"rgba(89, 89, 89, 0.8)",height:"100%",border:!o&&y&&"none",...i?{padding:i}:{paddingTop:0,paddingBottom:0},...a&&{minWidth:a}};this.state.open&&(v.background="rgba(0,0,0,0.08)");const b=()=>{this.setState({disableCyclicButton:!0})},x=ve.detectTextDirection(e.text),S=g.createElement(rp,{"aria-label":n.get(`Accessibility.${t&&h?"Alternative":"Normal"}.Instructions`,[e.text]),style:v,onClick:y?void 0:m,title:e.text,tabIndex:y?-1:0,onFocus:y?void 0:e=>{e.currentTarget.style.boxShadow="0px 0px 0px 2px #177FE6 inset",e.currentTarget.style.borderRadius="2px"},onBlur:y?void 0:e=>{e.currentTarget.style.boxShadow="none",e.currentTarget.style.borderRadius="0px"},onMouseDown:e=>{e.preventDefault()},className:`${tp} ${e.id}`,"data-id":e.id},e.locked&&g.createElement(Gd,bi({},ni,{size:"small",title:n.get("Tooltip.selections.locked")})),g.createElement("span",{style:u,dir:x},e.text),t&&h&&g.createElement(Gd,bi({},oi,{size:"small",style:{margin:"0 8px"}})));return g.createElement(g.Fragment,null,e.icon&&e.icon.onClick&&g.createElement(op,{variant:"outlined",disabled:this.state.disableCyclicButton||this.state.inSelection,onClick:r?void 0:()=>e.icon.onClick({onError:b})},g.createElement(Gd,bi({},e.icon.path,{size:"small",title:n.get(e.icon.tooltip)}))),e.icon&&!e.icon.onClick&&g.createElement(Gd,bi({},e.icon.path,{size:"small",title:n.get(e.icon.tooltip),style:{margin:"0 4px 0 0"}})),f,g.createElement("div",{ref:this.alignToRef,style:{overflow:"hidden",pointerEvents:h?"auto":"none",height:"100%"}},S),t&&h&&g.createElement(ep,{dock:t.dock,dir:t.dir,currentId:e.id,alignTo:this.alignToRef.current,show:this.state.open,list:this.state.list,onClose:this.closePopover,changeTo:this.changeTo,instruction:n.get("Accessibility.Popover.Instructions"),isCyclicFFEnabled:this.props.isCyclicFFEnabled}))}}function ap(e){return{top:"bottom",bottom:"top",left:"right",right:"left"}[e]}function sp(e){function t(e){return!e.isDimension&&fe.getValue(e,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures.length")>0}return{renderer:"react",disableTriggers:!0,preferredSize:function(){const{height:n}=e.measureText({text:"M",fontSize:this.style.fontSize,fontFamily:this.style.fontFamily});return this.settings.settings.isDimension||t(this.settings.settings)?Math.max(28,n):Math.max(20,n)},render(){const{settings:{app:e,disabled:n,explicitItemInfos:r,hyperCube:o,hyperCubeDef:i,isDimension:a,minWidth:s,model:l,onChangeToAlternative:c,padding:u,rtl:d,selections:p,skipAttributeExpressions:f,translator:h,supportConditional:m=!1,isEnabled:y},layout:{dock:v}}=this.settings,b="top"!==v&&"bottom"!==v||!d?"ltr":"rtl",x=function(e,t){const n={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",height:"100%"};return"left"===e?(n.width=`${t.height}px`,n.height=`${t.width}px`,n.transform=`rotate(-90deg) translate(-${t.height}px, 0)`,n.transformOrigin="top left"):"right"===e&&(n.width=`${t.height}px`,n.height=`${t.width}px`,n.transform=`rotate(90deg) translate(0, -${t.width}px)`,n.transformOrigin="top left"),n}(v,this.rect),S=i&&i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef,w=S&&S[a?"qDimensions":"qMeasures"]||[],C=r||o[a?"qDimensionInfo":"qMeasureInfo"],k=a?mi:yi,E=a?gi:vi,T=Boolean(l&&l.colorSupport&&l.modifiers),R=T&&((M=this.settings.settings).isDimension&&fe.getValue(M,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions.length")>0||t(this.settings.settings));var M;const P=y("PS_21223_CYCLIC_GROUPS"),O=C.map(((t,r)=>{const o="number"==typeof t.explicitColumn?t.explicitColumn:r,i=E(t,o,l,e),y=r===C.length-1,b=P&&Boolean(e)&&a&&"N"!==t.qGrouping,x=T||b?k({column:o,activeInfo:t,altList:w,app:e,dir:d?"rtl":"ltr",dock:ap(v),model:l,onChange:c,skipAttributeExpressions:f,translator:h,allowChangeOfAlternatives:T,isCyclicFFEnabled:P}):void 0;return g.createElement(g.Fragment,{key:t.cId},g.createElement(ip,{showGroupDimOptions:b,popover:x,titleData:i,model:l,translator:h,selections:p,disabled:n(),style:this.style,isDimension:a,padding:u,minWidth:s,hasAlternative:R,supportConditional:m,isCyclicFFEnabled:P}),!y&&g.createElement("span",{style:{lineHeight:"normal",...this.style}},", "))}));return g.createElement("div",{style:x,dir:b},O)}}}ip.propTypes={disabled:Ci.bool.isRequired,padding:Ci.string,minWidth:Ci.string,titleData:Ci.shape({breadcrumbs:Ci.arrayOf(Ci.string).isRequired,icon:Ci.shape({path:Ci.shape({d:Ci.string.isRequired}),tooltip:Ci.string.isRequired,onClick:Ci.func}),index:Ci.number.isRequired,locked:Ci.bool.isRequired,text:Ci.string.isRequired,popoverText:Ci.string.isRequired,drillUp:Ci.func,id:Ci.string.isRequired}).isRequired,popover:Ci.shape({dir:Ci.string.isRequired,dock:Ci.string.isRequired,getPopoverOptions:Ci.func.isRequired}),translator:Ci.shape({get:Ci.func.isRequired}).isRequired,selections:Ci.shape({isActive:Ci.func,addListener:Ci.func,removeListener:Ci.func}),style:Ci.shape({fontSize:Ci.string,color:Ci.string,fontFamily:Ci.string}).isRequired,isDimension:Ci.bool.isRequired,hasAlternative:Ci.bool.isRequired,supportConditional:Ci.bool.isRequired,isCyclicFFEnabled:Ci.bool.isRequired,showGroupDimOptions:Ci.bool.isRequired},ip.defaultProps={popover:null,selections:null,padding:"",minWidth:""};const lp=ga({palette:{text:{primary:"rgba(89, 89, 89, 0.8)",secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{disabled:"rgba(0, 0, 0, 0.3)"}},typography:{fontFamily:'"Source Sans Pro", "Arial", "sans-serif"',button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["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)"],props:{MuiButtonBase:{disableRipple:!0}}});const cp=ba({productionPrefix:"q0ba1",disableGlobal:!0,seed:""});function up(){function e({x:e,y:t,width:n,height:r,scaleRatio:o,margin:i}={}){const a={x:0,y:0,width:0,height:0,scaleRatio:{x:1,y:1},margin:{left:0,top:0}};return a.x=Number.isNaN(e)?a.x:e,a.y=Number.isNaN(t)?a.y:t,a.width=Number.isNaN(n)?a.width:n,a.height=Number.isNaN(r)?a.height:r,void 0!==o&&(a.scaleRatio.x=Number.isNaN(o.x)?a.scaleRatio.x:o.x,a.scaleRatio.y=Number.isNaN(o.y)?a.scaleRatio.y:o.y),void 0!==i&&(a.margin.left=Number.isNaN(i.left)?0:i.left,a.margin.top=Number.isNaN(i.top)?0:i.top),a}return function(t={}){const{createElement:n=document.createElement.bind(document)}=t;let r,o=e();const i={element:()=>r,root:()=>r,appendTo:e=>(r||(r=n("div"),r.style.position="absolute",r.style["-webkit-font-smoothing"]="antialiased",r.style["-moz-osx-font-smoothing"]="antialiased",r.style.pointerEvents="none"),e.appendChild(r),r),render(e){if(!r)return!1;const t=o.scaleRatio.x,n=o.scaleRatio.y;return r.style.left=`${Math.round(o.margin.left+o.x*t)}px`,r.style.top=`${Math.round(o.margin.top+o.y*n)}px`,r.style.width=`${Math.round(o.width)}px`,r.style.height=`${Math.round(o.height)}px`,r.style.transform=`scale(${t}, ${n})`,r.style.transformOrigin="top left",k.render(function(e,t){return g.createElement(yc,{generateClassName:t},g.createElement(lu,{theme:lp},e))}(e,cp),r),!0},itemsAt:()=>[],findShapes:()=>[],clear:()=>(r&&k.unmountComponentAtNode(r),i),destroy(){r&&r.parentElement&&(k.unmountComponentAtNode(r),r.parentElement.removeChild(r)),r=null},size:t=>(t&&(o=e(t)),o)};return i}}var dp={black:"#000",white:"#fff"};var pp={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var fp={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var hp={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var mp={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var gp={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};var yp={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var vp={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"};function bp(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var xp=Object.freeze({__proto__:null,default:bp}),Sp="$$material";function wp(){return wp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wp.apply(this,arguments)}function Cp(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function kp(){return kp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kp.apply(this,arguments)}function Ep(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Tp=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Rp=Ep((function(e){return Tp.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Mp=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Pp="-ms-",Op="-moz-",Dp="-webkit-",Ip="comm",qp="rule",Ap="decl",Np="@keyframes",Lp=Math.abs,zp=String.fromCharCode,jp=Object.assign;function $p(e){return e.trim()}function _p(e,t,n){return e.replace(t,n)}function Fp(e,t){return e.indexOf(t)}function Hp(e,t){return 0|e.charCodeAt(t)}function Wp(e,t,n){return e.slice(t,n)}function Bp(e){return e.length}function Up(e){return e.length}function Vp(e,t){return t.push(e),e}var Gp=1,Kp=1,Yp=0,Xp=0,Jp=0,Zp="";function Qp(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Gp,column:Kp,length:a,return:""}}function ef(e,t){return jp(Qp("",null,null,"",null,null,0),e,{length:-e.length},t)}function tf(){return Jp=Xp>0?Hp(Zp,--Xp):0,Kp--,10===Jp&&(Kp=1,Gp--),Jp}function nf(){return Jp=Xp<Yp?Hp(Zp,Xp++):0,Kp++,10===Jp&&(Kp=1,Gp++),Jp}function rf(){return Hp(Zp,Xp)}function of(){return Xp}function af(e,t){return Wp(Zp,e,t)}function sf(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lf(e){return Gp=Kp=1,Yp=Bp(Zp=e),Xp=0,[]}function cf(e){return Zp="",e}function uf(e){return $p(af(Xp-1,ff(91===e?e+2:40===e?e+1:e)))}function df(e){for(;(Jp=rf())&&Jp<33;)nf();return sf(e)>2||sf(Jp)>3?"":" "}function pf(e,t){for(;--t&&nf()&&!(Jp<48||Jp>102||Jp>57&&Jp<65||Jp>70&&Jp<97););return af(e,of()+(t<6&&32==rf()&&32==nf()))}function ff(e){for(;nf();)switch(Jp){case e:return Xp;case 34:case 39:34!==e&&39!==e&&ff(Jp);break;case 40:41===e&&ff(e);break;case 92:nf()}return Xp}function hf(e,t){for(;nf()&&e+Jp!==57&&(e+Jp!==84||47!==rf()););return"/*"+af(t,Xp-1)+"*"+zp(47===e?e:nf())}function mf(e){for(;!sf(rf());)nf();return af(e,Xp)}function gf(e){return cf(yf("",null,null,null,[""],e=lf(e),0,[0],e))}function yf(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,m=1,g=1,y=1,v=0,b="",x=o,S=i,w=r,C=b;g;)switch(h=v,v=nf()){case 40:if(108!=h&&58==Hp(C,d-1)){-1!=Fp(C+=_p(uf(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:C+=uf(v);break;case 9:case 10:case 13:case 32:C+=df(h);break;case 92:C+=pf(of()-1,7);continue;case 47:switch(rf()){case 42:case 47:Vp(bf(hf(nf(),of()),t,n),l);break;default:C+="/"}break;case 123*m:s[c++]=Bp(C)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(C=_p(C,/\f/g,"")),f>0&&Bp(C)-d&&Vp(f>32?xf(C+";",r,n,d-1):xf(_p(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(Vp(w=vf(C,t,n,c,u,o,s,b,x=[],S=[],d),i),123===v)if(0===u)yf(C,t,w,w,x,i,d,s,S);else switch(99===p&&110===Hp(C,3)?100:p){case 100:case 108:case 109:case 115:yf(e,w,w,r&&Vp(vf(e,w,w,0,0,o,s,b,o,x=[],d),S),o,S,d,s,r?x:S);break;default:yf(C,w,w,w,[""],S,0,s,S)}}c=u=f=0,m=y=1,b=C="",d=a;break;case 58:d=1+Bp(C),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==tf())continue;switch(C+=zp(v),v*m){case 38:y=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Bp(C)-1)*y,y=1;break;case 64:45===rf()&&(C+=uf(nf())),p=rf(),u=d=Bp(b=C+=mf(of())),v++;break;case 45:45===h&&2==Bp(C)&&(m=0)}}return i}function vf(e,t,n,r,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],f=Up(p),h=0,m=0,g=0;h<r;++h)for(var y=0,v=Wp(e,d+1,d=Lp(m=a[h])),b=e;y<f;++y)(b=$p(m>0?p[y]+" "+v:_p(v,/&\f/g,p[y])))&&(l[g++]=b);return Qp(e,t,n,0===o?qp:s,l,c,u)}function bf(e,t,n){return Qp(e,t,n,Ip,zp(Jp),Wp(e,2,-2),0)}function xf(e,t,n,r){return Qp(e,t,n,Ap,Wp(e,0,r),Wp(e,r+1,-1),r)}function Sf(e,t){for(var n="",r=Up(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function wf(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ap:return e.return=e.return||e.value;case Ip:return"";case Np:return e.return=e.value+"{"+Sf(e.children,r)+"}";case qp:e.value=e.props.join(",")}return Bp(n=Sf(e.children,r))?e.return=e.value+"{"+n+"}":""}function Cf(e){var t=Up(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var kf=function(e,t,n){for(var r=0,o=0;r=o,o=rf(),38===r&&12===o&&(t[n]=1),!sf(o);)nf();return af(e,Xp)},Ef=function(e,t){return cf(function(e,t){var n=-1,r=44;do{switch(sf(r)){case 0:38===r&&12===rf()&&(t[n]=1),e[n]+=kf(Xp-1,t,n);break;case 2:e[n]+=uf(r);break;case 4:if(44===r){e[++n]=58===rf()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=zp(r)}}while(r=nf());return e}(lf(e),t))},Tf=new WeakMap,Rf=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Tf.get(n))&&!r){Tf.set(e,!0);for(var o=[],i=Ef(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},Mf=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Pf(e,t){switch(function(e,t){return 45^Hp(e,0)?(((t<<2^Hp(e,0))<<2^Hp(e,1))<<2^Hp(e,2))<<2^Hp(e,3):0}(e,t)){case 5103:return Dp+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Dp+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Dp+e+Op+e+Pp+e+e;case 6828:case 4268:return Dp+e+Pp+e+e;case 6165:return Dp+e+Pp+"flex-"+e+e;case 5187:return Dp+e+_p(e,/(\w+).+(:[^]+)/,Dp+"box-$1$2"+Pp+"flex-$1$2")+e;case 5443:return Dp+e+Pp+"flex-item-"+_p(e,/flex-|-self/,"")+e;case 4675:return Dp+e+Pp+"flex-line-pack"+_p(e,/align-content|flex-|-self/,"")+e;case 5548:return Dp+e+Pp+_p(e,"shrink","negative")+e;case 5292:return Dp+e+Pp+_p(e,"basis","preferred-size")+e;case 6060:return Dp+"box-"+_p(e,"-grow","")+Dp+e+Pp+_p(e,"grow","positive")+e;case 4554:return Dp+_p(e,/([^-])(transform)/g,"$1"+Dp+"$2")+e;case 6187:return _p(_p(_p(e,/(zoom-|grab)/,Dp+"$1"),/(image-set)/,Dp+"$1"),e,"")+e;case 5495:case 3959:return _p(e,/(image-set\([^]*)/,Dp+"$1$`$1");case 4968:return _p(_p(e,/(.+:)(flex-)?(.*)/,Dp+"box-pack:$3"+Pp+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Dp+e+e;case 4095:case 3583:case 4068:case 2532:return _p(e,/(.+)-inline(.+)/,Dp+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Bp(e)-1-t>6)switch(Hp(e,t+1)){case 109:if(45!==Hp(e,t+4))break;case 102:return _p(e,/(.+:)(.+)-([^]+)/,"$1"+Dp+"$2-$3$1"+Op+(108==Hp(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Fp(e,"stretch")?Pf(_p(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Hp(e,t+1))break;case 6444:switch(Hp(e,Bp(e)-3-(~Fp(e,"!important")&&10))){case 107:return _p(e,":",":"+Dp)+e;case 101:return _p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Dp+(45===Hp(e,14)?"inline-":"")+"box$3$1"+Dp+"$2$3$1"+Pp+"$2box$3")+e}break;case 5936:switch(Hp(e,t+11)){case 114:return Dp+e+Pp+_p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dp+e+Pp+_p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dp+e+Pp+_p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Dp+e+Pp+e+e}return e}var Of="undefined"!=typeof document,Df=Of?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return Ep((function(){var e={};return function(t){return e[t]}}))})),If=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ap:e.return=Pf(e.value,e.length);break;case Np:return Sf([ef(e,{value:_p(e.value,"@","@"+Dp)})],r);case qp:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Sf([ef(e,{props:[_p(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Sf([ef(e,{props:[_p(t,/:(plac\w+)/,":"+Dp+"input-$1")]}),ef(e,{props:[_p(t,/:(plac\w+)/,":-moz-$1")]}),ef(e,{props:[_p(t,/:(plac\w+)/,Pp+"input-$1")]})],r)}return""}))}}],qf=function(e){var t=e.key;if(Of&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||If,a={},s=[];Of&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var l,c=[Rf,Mf];if(Of){var u,d=[wf,(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],p=Cf(c.concat(i,d));o=function(e,t,n,r){u=n,function(e){Sf(gf(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(y.inserted[t.name]=!0)}}else{var f=[wf],h=Cf(c.concat(i,f)),m=Df(i)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return Sf(gf(e),h)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};o=function(e,t,n,r){var o=t.name,i=g(e,t);return void 0===y.compat?(r&&(y.inserted[o]=!0),i):r?void(y.inserted[o]=i):i}}var y={key:t,sheet:new Mp({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return y.sheet.hydrate(s),y},Af="undefined"!=typeof document;var Nf=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Af&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Lf=function(e,t,n){Nf(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);Af||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!Af&&0!==o.length)return o}};var zf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},jf=/[A-Z]|^ms/g,$f=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_f=function(e){return 45===e.charCodeAt(1)},Ff=function(e){return null!=e&&"boolean"!=typeof e},Hf=Ep((function(e){return _f(e)?e:e.replace(jf,"-$&").toLowerCase()})),Wf=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace($f,(function(e,t,n){return Uf={name:t,styles:n,next:Uf},t}))}return 1===zf[e]||_f(e)||"number"!=typeof t||0===t?t:t+"px"};function Bf(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Uf={name:n.name,styles:n.styles,next:Uf},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Uf={name:r.name,styles:r.styles,next:Uf},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Bf(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Ff(a)&&(r+=Hf(i)+":"+Wf(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Bf(e,t,a);switch(i){case"animation":case"animationName":r+=Hf(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)Ff(a[l])&&(r+=Hf(i)+":"+Wf(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Uf,i=n(e);return Uf=o,Bf(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Uf,Vf=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Gf=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Uf=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Bf(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Bf(n,t,e[a]),r&&(o+=i[a]);Vf.lastIndex=0;for(var s,l="";null!==(s=Vf.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Uf}},Kf="undefined"!=typeof document,Yf=function(e){return e()},Xf=!!y.useInsertionEffect&&y.useInsertionEffect,Jf=Kf&&Xf||Yf,Zf=Xf||y.useLayoutEffect,Qf="undefined"!=typeof document,eh=y.createContext("undefined"!=typeof HTMLElement?qf({key:"css"}):null),th=eh.Provider,nh=function(e){return S((function(t,n){var r=w(eh);return e(t,r,n)}))};Qf||(nh=function(e){return function(t){var n=w(eh);return null===n?(n=qf({key:"css"}),y.createElement(eh.Provider,{value:n},e(t,n))):e(t,n)}});var rh=y.createContext({}),oh=nh((function(e,t){var n=e.styles,r=Gf([n],void 0,y.useContext(rh));if(!Qf){for(var o,i=r.name,a=r.styles,s=r.next;void 0!==s;)i+=" "+s.name,a+=s.styles,s=s.next;var l=!0===t.compat,c=t.insert("",{name:i,styles:a},t.sheet,l);return l?null:y.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var u=y.useRef();return Zf((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),u.current=[n,o],function(){n.flush()}}),[t]),Zf((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Lf(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function ih(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Gf(t)}var ah=function(){var e=ih.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},sh=Rp,lh=function(e){return"theme"!==e},ch=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?sh:lh},uh=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},dh="undefined"!=typeof document,ph=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Nf(t,n,r);var o=Jf((function(){return Lf(t,n,r)}));if(!dh&&void 0!==o){for(var i,a=n.name,s=n.next;void 0!==s;)a+=" "+s.name,s=s.next;return y.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},fh=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=uh(t,n,i),l=s||ch(a),c=!l("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var h=nh((function(e,t,n){var r,i,u,p,f=c&&e.as||a,h="",m=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=y.useContext(rh)}"string"==typeof e.className?(r=t.registered,i=m,u=e.className,p="",u.split(" ").forEach((function(e){void 0!==r[e]?i.push(r[e]+";"):p+=e+" "})),h=p):null!=e.className&&(h=e.className+" ");var b=Gf(d.concat(m),t.registered,g);h+=t.key+"-"+b.name,void 0!==o&&(h+=" "+o);var x=c&&void 0===s?ch(f):l,S={};for(var w in e)c&&"as"===w||x(w)&&(S[w]=e[w]);return S.className=h,S.ref=n,y.createElement(y.Fragment,null,y.createElement(ph,{cache:t,serialized:b,isStringTag:"string"==typeof f}),y.createElement(f,S))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,kp({},n,r,{shouldForwardProp:uh(h,r,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){fh[e]=fh(e)}));var hh={exports:{}},mh={},gh=g,yh=Symbol.for("react.element"),vh=Symbol.for("react.fragment"),bh=Object.prototype.hasOwnProperty,xh=gh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Sh={key:!0,ref:!0,__self:!0,__source:!0};function wh(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)bh.call(t,r)&&!Sh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:yh,type:e,key:i,ref:a,props:o,_owner:xh.current}}mh.Fragment=vh,mh.jsx=wh,mh.jsxs=wh,hh.exports=mh;var Ch=hh.exports;let kh;"object"==typeof document&&(kh=qf({key:"css",prepend:!0}));var Eh=Object.freeze({__proto__:null,GlobalStyles:function(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Ch.jsx(oh,{styles:r})}
15
15
  /**
16
16
  * @mui/styled-engine v5.15.14
17
17
  *
18
18
  * @license MIT
19
19
  * This source code is licensed under the MIT license found in the
20
20
  * LICENSE file in the root directory of this source tree.
21
- */,StyledEngineProvider:function(e){const{injectFirst:t,children:n}=e;return t&&Eh?kh.jsx(nh,{value:Eh,children:n}):n},ThemeContext:oh,css:ah,default:function(e,t){return hh(e,t)},internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:sh});function Rh(){return Rh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rh.apply(this,arguments)}function Mh(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ph(){return Ph=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ph.apply(this,arguments)}function Oh(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Dh(e){if(!Oh(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Dh(e[n])})),t}function Ih(e,t,n={clone:!0}){const r=n.clone?Ph({},e):e;return Oh(e)&&Oh(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Oh(t[o])&&o in e&&Oh(e[o])?r[o]=Ih(e[o],t[o],n):n.clone?r[o]=Oh(t[o])?Dh(t[o]):t[o]:r[o]=t[o])})),r}var Ah=Object.freeze({__proto__:null,default:Ih,isPlainObject:Oh});const qh=["values","unit","step"],Nh=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Rh({},e,{[t.key]:t.val})),{})};function Lh(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Mh(e,qh),i=Nh(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return Rh({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var zh={borderRadius:4};function jh(e,t){return t?Ih(e,t,{clone:!1}):e}const _h={xs:0,sm:600,md:900,lg:1200,xl:1536},$h={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${_h[e]}px)`};function Fh(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||$h;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||$h;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||_h).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Hh(e){if("string"!=typeof e)throw new Error(xp(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Wh=Object.freeze({__proto__:null,default:Hh});function Bh(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Uh(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Bh(e,n)||r,t&&(o=t(o,r,e)),o}function Vh(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Bh(e.theme,r)||{};return Fh(e,i,(e=>{let r=Uh(a,o,e);return e===r&&"string"==typeof e&&(r=Uh(a,o,`${t}${"default"===e?"":Hh(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const Gh={m:"margin",p:"padding"},Kh={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yh={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Xh=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Yh[e])return[e];e=Yh[e]}const[t,n]=e.split(""),r=Gh[t],o=Kh[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Zh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Qh(e,t,n,r){var o;const i=null!=(o=Bh(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function em(e){return Qh(e,"spacing",8)}function tm(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function nm(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=tm(t,n),e)),{})}(Xh(n),r);return Fh(e,e[n],o)}function rm(e,t){const n=em(e.theme);return Object.keys(e).map((r=>nm(e,t,r,n))).reduce(jh,{})}function om(e){return rm(e,Zh)}function im(e){return rm(e,Jh)}function am(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?jh(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function sm(e){return"number"!=typeof e?e:`${e}px solid`}function lm(e,t){return Vh({prop:e,themeKey:"borders",transform:t})}om.propTypes={},om.filterProps=Zh,im.propTypes={},im.filterProps=Jh;const cm=lm("border",sm),um=lm("borderTop",sm),dm=lm("borderRight",sm),pm=lm("borderBottom",sm),fm=lm("borderLeft",sm),hm=lm("borderColor"),mm=lm("borderTopColor"),gm=lm("borderRightColor"),ym=lm("borderBottomColor"),vm=lm("borderLeftColor"),bm=lm("outline",sm),xm=lm("outlineColor"),Sm=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Qh(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:tm(t,e)});return Fh(e,e.borderRadius,n)}return null};Sm.propTypes={},Sm.filterProps=["borderRadius"],am(cm,um,dm,pm,fm,hm,mm,gm,ym,vm,Sm,bm,xm);const wm=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Qh(e.theme,"spacing",8),n=e=>({gap:tm(t,e)});return Fh(e,e.gap,n)}return null};wm.propTypes={},wm.filterProps=["gap"];const Cm=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Qh(e.theme,"spacing",8),n=e=>({columnGap:tm(t,e)});return Fh(e,e.columnGap,n)}return null};Cm.propTypes={},Cm.filterProps=["columnGap"];const km=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Qh(e.theme,"spacing",8),n=e=>({rowGap:tm(t,e)});return Fh(e,e.rowGap,n)}return null};km.propTypes={},km.filterProps=["rowGap"];function Em(e,t){return"grey"===t?t:e}am(wm,Cm,km,Vh({prop:"gridColumn"}),Vh({prop:"gridRow"}),Vh({prop:"gridAutoFlow"}),Vh({prop:"gridAutoColumns"}),Vh({prop:"gridAutoRows"}),Vh({prop:"gridTemplateColumns"}),Vh({prop:"gridTemplateRows"}),Vh({prop:"gridTemplateAreas"}),Vh({prop:"gridArea"}));function Tm(e){return e<=1&&0!==e?100*e+"%":e}am(Vh({prop:"color",themeKey:"palette",transform:Em}),Vh({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Em}),Vh({prop:"backgroundColor",themeKey:"palette",transform:Em}));const Rm=Vh({prop:"width",transform:Tm}),Mm=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||_h[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Tm(t)}};return Fh(e,e.maxWidth,t)}return null};Mm.filterProps=["maxWidth"];const Pm=Vh({prop:"minWidth",transform:Tm}),Om=Vh({prop:"height",transform:Tm}),Dm=Vh({prop:"maxHeight",transform:Tm}),Im=Vh({prop:"minHeight",transform:Tm});Vh({prop:"size",cssProperty:"width",transform:Tm}),Vh({prop:"size",cssProperty:"height",transform:Tm});am(Rm,Mm,Pm,Om,Dm,Im,Vh({prop:"boxSizing"}));var Am={border:{themeKey:"borders",transform:sm},borderTop:{themeKey:"borders",transform:sm},borderRight:{themeKey:"borders",transform:sm},borderBottom:{themeKey:"borders",transform:sm},borderLeft:{themeKey:"borders",transform:sm},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:sm},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sm},color:{themeKey:"palette",transform:Em},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Em},backgroundColor:{themeKey:"palette",transform:Em},p:{style:im},pt:{style:im},pr:{style:im},pb:{style:im},pl:{style:im},px:{style:im},py:{style:im},padding:{style:im},paddingTop:{style:im},paddingRight:{style:im},paddingBottom:{style:im},paddingLeft:{style:im},paddingX:{style:im},paddingY:{style:im},paddingInline:{style:im},paddingInlineStart:{style:im},paddingInlineEnd:{style:im},paddingBlock:{style:im},paddingBlockStart:{style:im},paddingBlockEnd:{style:im},m:{style:om},mt:{style:om},mr:{style:om},mb:{style:om},ml:{style:om},mx:{style:om},my:{style:om},margin:{style:om},marginTop:{style:om},marginRight:{style:om},marginBottom:{style:om},marginLeft:{style:om},marginX:{style:om},marginY:{style:om},marginInline:{style:om},marginInlineStart:{style:om},marginInlineEnd:{style:om},marginBlock:{style:om},marginBlockStart:{style:om},marginBlockEnd:{style:om},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wm},rowGap:{style:km},columnGap:{style:Cm},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Tm},maxWidth:{style:Mm},minWidth:{transform:Tm},height:{transform:Tm},maxHeight:{transform:Tm},minHeight:{transform:Tm},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function qm(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Bh(n,s)||{};if(c)return c(o);return Fh(o,t,(t=>{let n=Uh(u,l,t);return t===n&&"string"==typeof t&&(n=Uh(u,l,`${e}${"default"===t?"":Hh(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Am;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;const n=null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return n||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=(s=r[n],c=i,"function"==typeof s?s(c):s);var s,c;if(null!=o)if("object"==typeof o)if(a[n])l=jh(l,e(n,o,i,a));else{const e=Fh({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?l=jh(l,e):l[n]=t({sx:o,theme:i})}else l=jh(l,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}const Nm=qm();Nm.filterProps=["sx"];var Lm=Nm;function zm(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}const jm=["breakpoints","palette","spacing","shape"];function _m(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Mh(e,jm),s=Lh(n),l=function(e=8){if(e.mui)return e;const t=em({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(o);let c=Ih({breakpoints:s,direction:"ltr",components:{},palette:Rh({mode:"light"},r),spacing:l,shape:Rh({},zh,i)},a);return c.applyStyles=zm,c=t.reduce(((e,t)=>Ih(e,t)),c),c.unstable_sxConfig=Rh({},Am,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Lm({sx:e,theme:this})},c}var $m=Object.freeze({__proto__:null,default:_m,private_createBreakpoints:Lh,unstable_applyStyles:zm});function Fm(e=null){const t=g.useContext(oh);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Hm=_m();const Wm=["sx"];var Bm=Object.freeze({__proto__:null,default:Lm,extendSxProp:function(e){const{sx:t}=e,n=Mh(e,Wm),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Am;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Oh(n)?Rh({},r,n):r}:Rh({},r,t),Rh({},o,{sx:i})},unstable_createStyleFunctionSx:qm,unstable_defaultSxConfig:Am});const Um=e=>e;var Vm=(()=>{let e=Um;return{configure(t){e=t},generate:t=>e(t),reset(){e=Um}}})();function Gm(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Gm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Km(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Gm(e))&&(r&&(r+=" "),r+=t);return r}const Ym={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Xm(e,t,n="Mui"){const r=Ym[t];return r?`${n}-${r}`:`${Vm.generate(e)}-${t}`}function Zm(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Xm(e,t,n)})),r}var Jm,Qm={exports:{}},eg={},tg=Symbol.for("react.element"),ng=Symbol.for("react.portal"),rg=Symbol.for("react.fragment"),og=Symbol.for("react.strict_mode"),ig=Symbol.for("react.profiler"),ag=Symbol.for("react.provider"),sg=Symbol.for("react.context"),lg=Symbol.for("react.server_context"),cg=Symbol.for("react.forward_ref"),ug=Symbol.for("react.suspense"),dg=Symbol.for("react.suspense_list"),pg=Symbol.for("react.memo"),fg=Symbol.for("react.lazy"),hg=Symbol.for("react.offscreen");function mg(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case tg:switch(e=e.type){case rg:case ig:case og:case ug:case dg:return e;default:switch(e=e&&e.$$typeof){case lg:case sg:case cg:case fg:case pg:case ag:return e;default:return t}}case ng:return t}}}Jm=Symbol.for("react.module.reference"),eg.ContextConsumer=sg,eg.ContextProvider=ag,eg.Element=tg,eg.ForwardRef=cg,eg.Fragment=rg,eg.Lazy=fg,eg.Memo=pg,eg.Portal=ng,eg.Profiler=ig,eg.StrictMode=og,eg.Suspense=ug,eg.SuspenseList=dg,eg.isAsyncMode=function(){return!1},eg.isConcurrentMode=function(){return!1},eg.isContextConsumer=function(e){return mg(e)===sg},eg.isContextProvider=function(e){return mg(e)===ag},eg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===tg},eg.isForwardRef=function(e){return mg(e)===cg},eg.isFragment=function(e){return mg(e)===rg},eg.isLazy=function(e){return mg(e)===fg},eg.isMemo=function(e){return mg(e)===pg},eg.isPortal=function(e){return mg(e)===ng},eg.isProfiler=function(e){return mg(e)===ig},eg.isStrictMode=function(e){return mg(e)===og},eg.isSuspense=function(e){return mg(e)===ug},eg.isSuspenseList=function(e){return mg(e)===dg},eg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===rg||e===ig||e===og||e===ug||e===dg||e===hg||"object"==typeof e&&null!==e&&(e.$$typeof===fg||e.$$typeof===pg||e.$$typeof===ag||e.$$typeof===sg||e.$$typeof===cg||e.$$typeof===Jm||void 0!==e.getModuleId)},eg.typeOf=mg,Qm.exports=eg;var gg=Qm.exports;const yg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function vg(e){const t=`${e}`.match(yg);return t&&t[1]||""}function bg(e,t=""){return e.displayName||e.name||vg(e)||t}function xg(e,t,n){const r=bg(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Sg=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return bg(e,"Component");if("object"==typeof e)switch(e.$$typeof){case gg.ForwardRef:return xg(e,e.render,"ForwardRef");case gg.Memo:return xg(e,e.type,"memo");default:return}}},getFunctionName:vg});function wg(e,t){const n=Ph({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Ph({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=Ph({},i),Object.keys(o).forEach((e=>{n[r][e]=wg(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function Cg({props:e,name:t,defaultTheme:n,themeId:r}){let o=function(e=Hm){return Fm(e)}(n);r&&(o=o[r]||o);const i=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?wg(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e});return i}var kg="undefined"!=typeof window?g.useLayoutEffect:g.useEffect;var Eg=Object.freeze({__proto__:null,default:function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}});function Tg(){return Tg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tg.apply(this,arguments)}function Rg(e){const t=g.useRef(e);return kg((()=>{t.current=e})),g.useRef(((...e)=>(0,t.current)(...e))).current}function Mg(...e){return g.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}const Pg={};const Og=[];class Dg{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Dg}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function Ig(){const e=function(e,t){const n=g.useRef(Pg);return n.current===Pg&&(n.current=e(t)),n}(Dg.create).current;var t;return t=e.disposeEffect,g.useEffect(t,Og),e}let Ag=!0,qg=!1;const Ng=new Dg,Lg={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function zg(e){e.metaKey||e.altKey||e.ctrlKey||(Ag=!0)}function jg(){Ag=!1}function _g(){"hidden"===this.visibilityState&&qg&&(Ag=!0)}function $g(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Ag||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Lg[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Fg(){const e=g.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",zg,!0),t.addEventListener("mousedown",jg,!0),t.addEventListener("pointerdown",jg,!0),t.addEventListener("touchstart",jg,!0),t.addEventListener("visibilitychange",_g,!0))}),[]),t=g.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!$g(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(qg=!0,Ng.start(100,(()=>{qg=!1})),t.current=!1,!0)},ref:e}}function Hg(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}var Wg=g.createContext(null);function Bg(){return g.useContext(Wg)}var Ug="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Vg(e){const{children:t,theme:n}=e,r=Bg(),o=g.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return Tg({},e,t)}(r,n);return null!=e&&(e[Ug]=null!==r),e}),[n,r]);return kh.jsx(Wg.Provider,{value:o,children:t})}const Gg=["value"],Kg=g.createContext();function Yg(e){let{value:t}=e,n=Mh(e,Gg);return kh.jsx(Kg.Provider,Rh({value:null==t||t},n))}const Xg={};function Zg(e,t,n,r=!1){return g.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?Rh({},t,{[e]:i}):i;return r?()=>a:a}return Rh({},t,e?{[e]:n}:n)}),[e,t,n,r])}function Jg(e){const{children:t,theme:n,themeId:r}=e,o=Fm(Xg),i=Bg()||Xg,a=Zg(r,o,n),s=Zg(r,i,n,!0),l="rtl"===a.direction;return kh.jsx(Vg,{theme:s,children:kh.jsx(oh.Provider,{value:a,children:kh.jsx(Yg,{value:l,children:t})})})}var Qg,ey={},ty={exports:{}};(Qg=ty).exports=function(e){return e&&e.__esModule?e:{default:e}},Qg.exports.__esModule=!0,Qg.exports.default=Qg.exports;var ny=ty.exports,ry=X(Sp),oy=X(Eg),iy=ny;Object.defineProperty(ey,"__esModule",{value:!0});var ay=ey.alpha=by;ey.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),i=hy(e),a=hy(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return gy({type:"rgb",values:s})},ey.colorChannel=void 0;var sy=ey.darken=xy;ey.decomposeColor=hy,ey.emphasize=function(e,t=.15){return vy(e)>.5?xy(e,t):Sy(e,t)};var ly=ey.getContrastRatio=function(e,t){const n=vy(e),r=vy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};ey.getLuminance=vy,ey.hexToRgb=fy,ey.hslToRgb=yy;var cy=ey.lighten=Sy;ey.private_safeAlpha=function(e,t,n){try{return by(e,t)}catch(t){return e}},ey.private_safeColorChannel=void 0,ey.private_safeDarken=function(e,t,n){try{return xy(e,t)}catch(t){return e}},ey.private_safeEmphasize=function e(t,n,r){try{return e(t,n)}catch(e){return t}},ey.private_safeLighten=function(e,t,n){try{return Sy(e,t)}catch(t){return e}},ey.recomposeColor=gy,ey.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=hy(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var uy=iy(ry),dy=iy(oy);function py(e,t=0,n=1){return(0,dy.default)(e,t,n)}function fy(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function hy(e){if(e.type)return e;if("#"===e.charAt(0))return hy(fy(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,uy.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,uy.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const my=e=>{const t=hy(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};ey.colorChannel=my;function gy(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function yy(e){e=hy(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),gy({type:s,values:l})}function vy(e){let t="hsl"===(e=hy(e)).type||"hsla"===e.type?hy(yy(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function by(e,t){return e=hy(e),t=py(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,gy(e)}function xy(e,t){if(e=hy(e),t=py(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return gy(e)}function Sy(e,t){if(e=hy(e),t=py(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return gy(e)}ey.private_safeColorChannel=(e,t)=>{try{return my(e)}catch(t){return e}};const wy=["mode","contrastThreshold","tonalOffset"],Cy={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:pp.white,default:pp.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ky={text:{primary:pp.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:pp.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ey(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=cy(e.main,o):"dark"===t&&(e.dark=sy(e.main,i)))}function Ty(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=kp(e,wy),i=e.primary||function(e="light"){return"dark"===e?{main:mp[200],light:mp[50],dark:mp[400]}:{main:mp[700],light:mp[400],dark:mp[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:hp[200],light:hp[50],dark:hp[400]}:{main:hp[500],light:hp[300],dark:hp[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:fp[500],light:fp[300],dark:fp[700]}:{main:fp[700],light:fp[400],dark:fp[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:gp[400],light:gp[300],dark:gp[700]}:{main:gp[700],light:gp[500],dark:gp[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:yp[400],light:yp[300],dark:yp[700]}:{main:yp[800],light:yp[500],dark:yp[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:vp[400],light:vp[300],dark:vp[700]}:{main:"#ed6c02",light:vp[500],dark:vp[900]}}(t);function d(e){return ly(e,ky.text.primary)>=n?ky.text.primary:Cy.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=Cp({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(xp(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(xp(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ey(e,"light",o,r),Ey(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:ky,light:Cy};return Ih(Cp({common:Cp({},pp),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:bp,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Ry=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const My={textTransform:"uppercase"},Py='"Roboto", "Helvetica", "Arial", sans-serif';function Oy(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Py,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=kp(n,Ry),f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,i)=>{return Cp({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Py?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,My),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,My),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ih(Cp({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Dy(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var Iy=["none",Dy(0,2,1,-1,0,1,1,0,0,1,3,0),Dy(0,3,1,-2,0,2,2,0,0,1,5,0),Dy(0,3,3,-2,0,3,4,0,0,1,8,0),Dy(0,2,4,-1,0,4,5,0,0,1,10,0),Dy(0,3,5,-1,0,5,8,0,0,1,14,0),Dy(0,3,5,-1,0,6,10,0,0,1,18,0),Dy(0,4,5,-2,0,7,10,1,0,2,16,1),Dy(0,5,5,-3,0,8,10,1,0,3,14,2),Dy(0,5,6,-3,0,9,12,1,0,3,16,2),Dy(0,6,6,-3,0,10,14,1,0,4,18,3),Dy(0,6,7,-4,0,11,15,1,0,4,20,3),Dy(0,7,8,-4,0,12,17,2,0,5,22,4),Dy(0,7,8,-4,0,13,19,2,0,5,24,4),Dy(0,7,9,-4,0,14,21,2,0,5,26,4),Dy(0,8,9,-5,0,15,22,2,0,6,28,5),Dy(0,8,10,-5,0,16,24,2,0,6,30,5),Dy(0,8,11,-5,0,17,26,2,0,6,32,5),Dy(0,9,11,-5,0,18,28,2,0,7,34,6),Dy(0,9,12,-6,0,19,29,2,0,7,36,6),Dy(0,10,13,-6,0,20,31,3,0,8,38,7),Dy(0,10,13,-6,0,21,33,3,0,8,40,7),Dy(0,10,14,-6,0,22,35,3,0,8,42,7),Dy(0,11,14,-7,0,23,36,3,0,9,44,8),Dy(0,11,15,-7,0,24,38,3,0,9,46,8)];const Ay=["duration","easing","delay"],qy={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)"},Ny={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ly(e){return`${Math.round(e)}ms`}function zy(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function jy(e){const t=Cp({},qy,e.easing),n=Cp({},Ny,e.duration);return Cp({getAutoHeightDuration:zy,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return kp(r,Ay),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Ly(o)} ${i} ${"string"==typeof a?a:Ly(a)}`)).join(",")}},e,{easing:t,duration:n})}var _y={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const $y=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Fy(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=kp(e,$y);if(e.vars)throw new Error(xp(18));const s=Ty(r),l=_m(e);let c=Ih(l,{mixins:(u=l.breakpoints,d=n,Cp({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:s,shadows:Iy.slice(),typography:Oy(s,i),transitions:jy(o),zIndex:Cp({},_y)});var u,d;return c=Ih(c,a),c=t.reduce(((e,t)=>Ih(e,t)),c),c.unstable_sxConfig=Cp({},Am,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Lm({sx:e,theme:this})},c}var Hy=Fy();function Wy({props:e,name:t}){return Cg({props:e,name:t,defaultTheme:Hy,themeId:wp})}var By,Uy={},Vy={exports:{}};var Gy,Ky={exports:{}};var Yy=X(Th),Xy=X(Ah),Zy=X(Wh),Jy=X(Sg),Qy=X($m),ev=X(Bm),tv=ny;Object.defineProperty(Uy,"__esModule",{value:!0});var nv=Uy.default=function(e={}){const{themeId:t,defaultTheme:n=hv,rootShouldForwardProp:r=fv,slotShouldForwardProp:o=fv}=e,i=e=>(0,lv.default)((0,rv.default)({},e,{theme:gv((0,rv.default)({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,iv.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=yv(mv(l))}=a,p=(0,ov.default)(a,dv),f=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,h=u||!1;let m=fv;"Root"===l||"root"===l?m=r:l?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,iv.default)(e,(0,rv.default)({shouldForwardProp:m,label:undefined},p)),y=e=>"function"==typeof e&&e.__emotion_real!==e||(0,av.isPlainObject)(e)?r=>vv(e,(0,rv.default)({},r,{theme:gv({theme:r.theme,defaultTheme:n,themeId:t})})):e,v=(r,...o)=>{let a=y(r);const l=o?o.map(y):[];s&&d&&l.push((e=>{const r=gv((0,rv.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[s]||!r.components[s].styleOverrides)return null;const o=r.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=vv(n,(0,rv.default)({},e,{theme:r}))})),d(e,i)})),s&&!f&&l.push((e=>{var r;const o=gv((0,rv.default)({},e,{defaultTheme:n,themeId:t}));return vv({variants:null==o||null==(r=o.components)||null==(r=r[s])?void 0:r.variants},(0,rv.default)({},e,{theme:o}))})),h||l.push(i);const c=l.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const u=g(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return g.withConfig&&(v.withConfig=g.withConfig),v}};Uy.shouldForwardProp=fv,Uy.systemDefaultTheme=void 0;var rv=tv((By||(By=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Vy)),Vy.exports)),ov=tv((Gy||(Gy=1,function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports}(Ky)),Ky.exports)),iv=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=pv(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(Yy),av=Xy;tv(Zy),tv(Jy);var sv=tv(Qy),lv=tv(ev);const cv=["ownerState"],uv=["variants"],dv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function pv(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(pv=function(e){return e?n:t})(e)}function fv(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const hv=Uy.systemDefaultTheme=(0,sv.default)(),mv=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function gv({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function yv(e){return e?(t,n)=>n[e]:null}function vv(e,t){let{ownerState:n}=t,r=(0,ov.default)(t,cv);const o="function"==typeof e?e((0,rv.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>vv(e,(0,rv.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,ov.default)(o,uv);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,rv.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,rv.default)({ownerState:n},r,n)):e.style))})),t}return o}var bv=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e;var xv=nv({themeId:wp,defaultTheme:Hy,rootShouldForwardProp:bv});const Sv=["theme"];function wv(e){let{theme:t}=e,n=kp(e,Sv);const r=t[wp];return kh.jsx(Jg,Cp({},n,{themeId:r?wp:void 0,theme:r||t}))}function Cv(e){return Xm("MuiSvgIcon",e)}Zm("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const kv=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Ev=xv("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Hh(n.color)}`],t[`fontSize${Hh(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),Tv=g.forwardRef((function(e,t){const n=Wy({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=kp(n,kv),f=g.isValidElement(r)&&"svg"===r.type,h=Cp({},n,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:f}),m={};c||(m.viewBox=d);const y=(e=>{const{color:t,fontSize:n,classes:r}=e;return Hg({root:["root","inherit"!==t&&`color${Hh(t)}`,`fontSize${Hh(n)}`]},Cv,r)})(h);return kh.jsxs(Ev,Cp({as:a,className:Km(y.root,o),focusable:"false",color:l,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,f&&r.props,{ownerState:h,children:[f?r.props.children:r,u?kh.jsx("title",{children:u}):null]}))}));Tv.muiName="SvgIcon";var Rv=Tv;var Mv=Zm("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Pv=["center","classes","className"];let Ov,Dv,Iv,Av,qv=e=>e;const Nv=sh(Ov||(Ov=qv`
21
+ */,StyledEngineProvider:function(e){const{injectFirst:t,children:n}=e;return t&&kh?Ch.jsx(th,{value:kh,children:n}):n},ThemeContext:rh,css:ih,default:function(e,t){return fh(e,t)},internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:ah});function Th(){return Th=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Th.apply(this,arguments)}function Rh(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Mh(){return Mh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mh.apply(this,arguments)}function Ph(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Oh(e){if(!Ph(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Oh(e[n])})),t}function Dh(e,t,n={clone:!0}){const r=n.clone?Mh({},e):e;return Ph(e)&&Ph(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Ph(t[o])&&o in e&&Ph(e[o])?r[o]=Dh(e[o],t[o],n):n.clone?r[o]=Ph(t[o])?Oh(t[o]):t[o]:r[o]=t[o])})),r}var Ih=Object.freeze({__proto__:null,default:Dh,isPlainObject:Ph});const qh=["values","unit","step"],Ah=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Th({},e,{[t.key]:t.val})),{})};function Nh(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Rh(e,qh),i=Ah(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return Th({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var Lh={borderRadius:4};function zh(e,t){return t?Dh(e,t,{clone:!1}):e}const jh={xs:0,sm:600,md:900,lg:1200,xl:1536},$h={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jh[e]}px)`};function _h(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||$h;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||$h;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||jh).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Fh(e){if("string"!=typeof e)throw new Error(bp(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Hh=Object.freeze({__proto__:null,default:Fh});function Wh(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Bh(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Wh(e,n)||r,t&&(o=t(o,r,e)),o}function Uh(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Wh(e.theme,r)||{};return _h(e,i,(e=>{let r=Bh(a,o,e);return e===r&&"string"==typeof e&&(r=Bh(a,o,`${t}${"default"===e?"":Fh(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const Vh={m:"margin",p:"padding"},Gh={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Kh={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Yh=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Kh[e])return[e];e=Kh[e]}const[t,n]=e.split(""),r=Vh[t],o=Gh[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Xh=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jh=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Zh(e,t,n,r){var o;const i=null!=(o=Wh(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Qh(e){return Zh(e,"spacing",8)}function em(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function tm(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=em(t,n),e)),{})}(Yh(n),r);return _h(e,e[n],o)}function nm(e,t){const n=Qh(e.theme);return Object.keys(e).map((r=>tm(e,t,r,n))).reduce(zh,{})}function rm(e){return nm(e,Xh)}function om(e){return nm(e,Jh)}function im(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?zh(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function am(e){return"number"!=typeof e?e:`${e}px solid`}function sm(e,t){return Uh({prop:e,themeKey:"borders",transform:t})}rm.propTypes={},rm.filterProps=Xh,om.propTypes={},om.filterProps=Jh;const lm=sm("border",am),cm=sm("borderTop",am),um=sm("borderRight",am),dm=sm("borderBottom",am),pm=sm("borderLeft",am),fm=sm("borderColor"),hm=sm("borderTopColor"),mm=sm("borderRightColor"),gm=sm("borderBottomColor"),ym=sm("borderLeftColor"),vm=sm("outline",am),bm=sm("outlineColor"),xm=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Zh(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:em(t,e)});return _h(e,e.borderRadius,n)}return null};xm.propTypes={},xm.filterProps=["borderRadius"],im(lm,cm,um,dm,pm,fm,hm,mm,gm,ym,xm,vm,bm);const Sm=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Zh(e.theme,"spacing",8),n=e=>({gap:em(t,e)});return _h(e,e.gap,n)}return null};Sm.propTypes={},Sm.filterProps=["gap"];const wm=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Zh(e.theme,"spacing",8),n=e=>({columnGap:em(t,e)});return _h(e,e.columnGap,n)}return null};wm.propTypes={},wm.filterProps=["columnGap"];const Cm=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Zh(e.theme,"spacing",8),n=e=>({rowGap:em(t,e)});return _h(e,e.rowGap,n)}return null};Cm.propTypes={},Cm.filterProps=["rowGap"];function km(e,t){return"grey"===t?t:e}im(Sm,wm,Cm,Uh({prop:"gridColumn"}),Uh({prop:"gridRow"}),Uh({prop:"gridAutoFlow"}),Uh({prop:"gridAutoColumns"}),Uh({prop:"gridAutoRows"}),Uh({prop:"gridTemplateColumns"}),Uh({prop:"gridTemplateRows"}),Uh({prop:"gridTemplateAreas"}),Uh({prop:"gridArea"}));function Em(e){return e<=1&&0!==e?100*e+"%":e}im(Uh({prop:"color",themeKey:"palette",transform:km}),Uh({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:km}),Uh({prop:"backgroundColor",themeKey:"palette",transform:km}));const Tm=Uh({prop:"width",transform:Em}),Rm=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||jh[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Em(t)}};return _h(e,e.maxWidth,t)}return null};Rm.filterProps=["maxWidth"];const Mm=Uh({prop:"minWidth",transform:Em}),Pm=Uh({prop:"height",transform:Em}),Om=Uh({prop:"maxHeight",transform:Em}),Dm=Uh({prop:"minHeight",transform:Em});Uh({prop:"size",cssProperty:"width",transform:Em}),Uh({prop:"size",cssProperty:"height",transform:Em});im(Tm,Rm,Mm,Pm,Om,Dm,Uh({prop:"boxSizing"}));var Im={border:{themeKey:"borders",transform:am},borderTop:{themeKey:"borders",transform:am},borderRight:{themeKey:"borders",transform:am},borderBottom:{themeKey:"borders",transform:am},borderLeft:{themeKey:"borders",transform:am},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:am},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:xm},color:{themeKey:"palette",transform:km},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:km},backgroundColor:{themeKey:"palette",transform:km},p:{style:om},pt:{style:om},pr:{style:om},pb:{style:om},pl:{style:om},px:{style:om},py:{style:om},padding:{style:om},paddingTop:{style:om},paddingRight:{style:om},paddingBottom:{style:om},paddingLeft:{style:om},paddingX:{style:om},paddingY:{style:om},paddingInline:{style:om},paddingInlineStart:{style:om},paddingInlineEnd:{style:om},paddingBlock:{style:om},paddingBlockStart:{style:om},paddingBlockEnd:{style:om},m:{style:rm},mt:{style:rm},mr:{style:rm},mb:{style:rm},ml:{style:rm},mx:{style:rm},my:{style:rm},margin:{style:rm},marginTop:{style:rm},marginRight:{style:rm},marginBottom:{style:rm},marginLeft:{style:rm},marginX:{style:rm},marginY:{style:rm},marginInline:{style:rm},marginInlineStart:{style:rm},marginInlineEnd:{style:rm},marginBlock:{style:rm},marginBlockStart:{style:rm},marginBlockEnd:{style:rm},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Sm},rowGap:{style:Cm},columnGap:{style:wm},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Em},maxWidth:{style:Rm},minWidth:{transform:Em},height:{transform:Em},maxHeight:{transform:Em},minHeight:{transform:Em},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function qm(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=Wh(n,s)||{};if(c)return c(o);return _h(o,t,(t=>{let n=Bh(u,l,t);return t===n&&"string"==typeof t&&(n=Bh(u,l,`${e}${"default"===t?"":Fh(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Im;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;const n=null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return n||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=(s=r[n],c=i,"function"==typeof s?s(c):s);var s,c;if(null!=o)if("object"==typeof o)if(a[n])l=zh(l,e(n,o,i,a));else{const e=_h({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?l=zh(l,e):l[n]=t({sx:o,theme:i})}else l=zh(l,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}const Am=qm();Am.filterProps=["sx"];var Nm=Am;function Lm(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}const zm=["breakpoints","palette","spacing","shape"];function jm(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Rh(e,zm),s=Nh(n),l=function(e=8){if(e.mui)return e;const t=Qh({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(o);let c=Dh({breakpoints:s,direction:"ltr",components:{},palette:Th({mode:"light"},r),spacing:l,shape:Th({},Lh,i)},a);return c.applyStyles=Lm,c=t.reduce(((e,t)=>Dh(e,t)),c),c.unstable_sxConfig=Th({},Im,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Nm({sx:e,theme:this})},c}var $m=Object.freeze({__proto__:null,default:jm,private_createBreakpoints:Nh,unstable_applyStyles:Lm});function _m(e=null){const t=y.useContext(rh);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Fm=jm();const Hm=["sx"];var Wm=Object.freeze({__proto__:null,default:Nm,extendSxProp:function(e){const{sx:t}=e,n=Rh(e,Hm),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Im;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Ph(n)?Th({},r,n):r}:Th({},r,t),Th({},o,{sx:i})},unstable_createStyleFunctionSx:qm,unstable_defaultSxConfig:Im});const Bm=e=>e;var Um=(()=>{let e=Bm;return{configure(t){e=t},generate:t=>e(t),reset(){e=Bm}}})();function Vm(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Vm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Gm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Vm(e))&&(r&&(r+=" "),r+=t);return r}const Km={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ym(e,t,n="Mui"){const r=Km[t];return r?`${n}-${r}`:`${Um.generate(e)}-${t}`}function Xm(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Ym(e,t,n)})),r}var Jm,Zm={exports:{}},Qm={},eg=Symbol.for("react.element"),tg=Symbol.for("react.portal"),ng=Symbol.for("react.fragment"),rg=Symbol.for("react.strict_mode"),og=Symbol.for("react.profiler"),ig=Symbol.for("react.provider"),ag=Symbol.for("react.context"),sg=Symbol.for("react.server_context"),lg=Symbol.for("react.forward_ref"),cg=Symbol.for("react.suspense"),ug=Symbol.for("react.suspense_list"),dg=Symbol.for("react.memo"),pg=Symbol.for("react.lazy"),fg=Symbol.for("react.offscreen");function hg(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case eg:switch(e=e.type){case ng:case og:case rg:case cg:case ug:return e;default:switch(e=e&&e.$$typeof){case sg:case ag:case lg:case pg:case dg:case ig:return e;default:return t}}case tg:return t}}}Jm=Symbol.for("react.module.reference"),Qm.ContextConsumer=ag,Qm.ContextProvider=ig,Qm.Element=eg,Qm.ForwardRef=lg,Qm.Fragment=ng,Qm.Lazy=pg,Qm.Memo=dg,Qm.Portal=tg,Qm.Profiler=og,Qm.StrictMode=rg,Qm.Suspense=cg,Qm.SuspenseList=ug,Qm.isAsyncMode=function(){return!1},Qm.isConcurrentMode=function(){return!1},Qm.isContextConsumer=function(e){return hg(e)===ag},Qm.isContextProvider=function(e){return hg(e)===ig},Qm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===eg},Qm.isForwardRef=function(e){return hg(e)===lg},Qm.isFragment=function(e){return hg(e)===ng},Qm.isLazy=function(e){return hg(e)===pg},Qm.isMemo=function(e){return hg(e)===dg},Qm.isPortal=function(e){return hg(e)===tg},Qm.isProfiler=function(e){return hg(e)===og},Qm.isStrictMode=function(e){return hg(e)===rg},Qm.isSuspense=function(e){return hg(e)===cg},Qm.isSuspenseList=function(e){return hg(e)===ug},Qm.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===ng||e===og||e===rg||e===cg||e===ug||e===fg||"object"==typeof e&&null!==e&&(e.$$typeof===pg||e.$$typeof===dg||e.$$typeof===ig||e.$$typeof===ag||e.$$typeof===lg||e.$$typeof===Jm||void 0!==e.getModuleId)},Qm.typeOf=hg,Zm.exports=Qm;var mg=Zm.exports;const gg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function yg(e){const t=`${e}`.match(gg);return t&&t[1]||""}function vg(e,t=""){return e.displayName||e.name||yg(e)||t}function bg(e,t,n){const r=vg(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var xg=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return vg(e,"Component");if("object"==typeof e)switch(e.$$typeof){case mg.ForwardRef:return bg(e,e.render,"ForwardRef");case mg.Memo:return bg(e,e.type,"memo");default:return}}},getFunctionName:yg});function Sg(e,t){const n=Mh({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Mh({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=Mh({},i),Object.keys(o).forEach((e=>{n[r][e]=Sg(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function wg({props:e,name:t,defaultTheme:n,themeId:r}){let o=function(e=Fm){return _m(e)}(n);r&&(o=o[r]||o);const i=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Sg(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e});return i}var Cg="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;var kg=Object.freeze({__proto__:null,default:function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}});function Eg(){return Eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Eg.apply(this,arguments)}function Tg(e){const t=y.useRef(e);return Cg((()=>{t.current=e})),y.useRef(((...e)=>(0,t.current)(...e))).current}function Rg(...e){return y.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}const Mg={};const Pg=[];class Og{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Og}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function Dg(){const e=function(e,t){const n=y.useRef(Mg);return n.current===Mg&&(n.current=e(t)),n}(Og.create).current;var t;return t=e.disposeEffect,y.useEffect(t,Pg),e}let Ig=!0,qg=!1;const Ag=new Og,Ng={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Lg(e){e.metaKey||e.altKey||e.ctrlKey||(Ig=!0)}function zg(){Ig=!1}function jg(){"hidden"===this.visibilityState&&qg&&(Ig=!0)}function $g(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Ig||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Ng[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function _g(){const e=y.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Lg,!0),t.addEventListener("mousedown",zg,!0),t.addEventListener("pointerdown",zg,!0),t.addEventListener("touchstart",zg,!0),t.addEventListener("visibilitychange",jg,!0))}),[]),t=y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!$g(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(qg=!0,Ag.start(100,(()=>{qg=!1})),t.current=!1,!0)},ref:e}}function Fg(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}var Hg=y.createContext(null);function Wg(){return y.useContext(Hg)}var Bg="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Ug(e){const{children:t,theme:n}=e,r=Wg(),o=y.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return Eg({},e,t)}(r,n);return null!=e&&(e[Bg]=null!==r),e}),[n,r]);return Ch.jsx(Hg.Provider,{value:o,children:t})}const Vg=["value"],Gg=y.createContext();function Kg(e){let{value:t}=e,n=Rh(e,Vg);return Ch.jsx(Gg.Provider,Th({value:null==t||t},n))}const Yg={};function Xg(e,t,n,r=!1){return y.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?Th({},t,{[e]:i}):i;return r?()=>a:a}return Th({},t,e?{[e]:n}:n)}),[e,t,n,r])}function Jg(e){const{children:t,theme:n,themeId:r}=e,o=_m(Yg),i=Wg()||Yg,a=Xg(r,o,n),s=Xg(r,i,n,!0),l="rtl"===a.direction;return Ch.jsx(Ug,{theme:s,children:Ch.jsx(rh.Provider,{value:a,children:Ch.jsx(Kg,{value:l,children:t})})})}var Zg,Qg={},ey={exports:{}};(Zg=ey).exports=function(e){return e&&e.__esModule?e:{default:e}},Zg.exports.__esModule=!0,Zg.exports.default=Zg.exports;var ty=ey.exports,ny=J(xp),ry=J(kg),oy=ty;Object.defineProperty(Qg,"__esModule",{value:!0});var iy=Qg.alpha=vy;Qg.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),i=fy(e),a=fy(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return my({type:"rgb",values:s})},Qg.colorChannel=void 0;var ay=Qg.darken=by;Qg.decomposeColor=fy,Qg.emphasize=function(e,t=.15){return yy(e)>.5?by(e,t):xy(e,t)};var sy=Qg.getContrastRatio=function(e,t){const n=yy(e),r=yy(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};Qg.getLuminance=yy,Qg.hexToRgb=py,Qg.hslToRgb=gy;var ly=Qg.lighten=xy;Qg.private_safeAlpha=function(e,t,n){try{return vy(e,t)}catch(t){return e}},Qg.private_safeColorChannel=void 0,Qg.private_safeDarken=function(e,t,n){try{return by(e,t)}catch(t){return e}},Qg.private_safeEmphasize=function e(t,n,r){try{return e(t,n)}catch(e){return t}},Qg.private_safeLighten=function(e,t,n){try{return xy(e,t)}catch(t){return e}},Qg.recomposeColor=my,Qg.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=fy(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var cy=oy(ny),uy=oy(ry);function dy(e,t=0,n=1){return(0,uy.default)(e,t,n)}function py(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function fy(e){if(e.type)return e;if("#"===e.charAt(0))return fy(py(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,cy.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,cy.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const hy=e=>{const t=fy(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};Qg.colorChannel=hy;function my(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function gy(e){e=fy(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),my({type:s,values:l})}function yy(e){let t="hsl"===(e=fy(e)).type||"hsla"===e.type?fy(gy(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vy(e,t){return e=fy(e),t=dy(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,my(e)}function by(e,t){if(e=fy(e),t=dy(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return my(e)}function xy(e,t){if(e=fy(e),t=dy(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return my(e)}Qg.private_safeColorChannel=(e,t)=>{try{return hy(e)}catch(t){return e}};const Sy=["mode","contrastThreshold","tonalOffset"],wy={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:dp.white,default:dp.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Cy={text:{primary:dp.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:dp.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ky(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=ly(e.main,o):"dark"===t&&(e.dark=ay(e.main,i)))}function Ey(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Cp(e,Sy),i=e.primary||function(e="light"){return"dark"===e?{main:hp[200],light:hp[50],dark:hp[400]}:{main:hp[700],light:hp[400],dark:hp[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:fp[200],light:fp[50],dark:fp[400]}:{main:fp[500],light:fp[300],dark:fp[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:pp[500],light:pp[300],dark:pp[700]}:{main:pp[700],light:pp[400],dark:pp[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:mp[400],light:mp[300],dark:mp[700]}:{main:mp[700],light:mp[500],dark:mp[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:gp[400],light:gp[300],dark:gp[700]}:{main:gp[800],light:gp[500],dark:gp[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:yp[400],light:yp[300],dark:yp[700]}:{main:"#ed6c02",light:yp[500],dark:yp[900]}}(t);function d(e){return sy(e,Cy.text.primary)>=n?Cy.text.primary:wy.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=wp({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(bp(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(bp(12,t?` (${t})`:"",JSON.stringify(e.main)));return ky(e,"light",o,r),ky(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Cy,light:wy};return Dh(wp({common:wp({},dp),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:vp,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Ty=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Ry={textTransform:"uppercase"},My='"Roboto", "Helvetica", "Arial", sans-serif';function Py(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=My,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Cp(n,Ty),f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,i)=>{return wp({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===My?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Ry),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ry),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Dh(wp({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Oy(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var Dy=["none",Oy(0,2,1,-1,0,1,1,0,0,1,3,0),Oy(0,3,1,-2,0,2,2,0,0,1,5,0),Oy(0,3,3,-2,0,3,4,0,0,1,8,0),Oy(0,2,4,-1,0,4,5,0,0,1,10,0),Oy(0,3,5,-1,0,5,8,0,0,1,14,0),Oy(0,3,5,-1,0,6,10,0,0,1,18,0),Oy(0,4,5,-2,0,7,10,1,0,2,16,1),Oy(0,5,5,-3,0,8,10,1,0,3,14,2),Oy(0,5,6,-3,0,9,12,1,0,3,16,2),Oy(0,6,6,-3,0,10,14,1,0,4,18,3),Oy(0,6,7,-4,0,11,15,1,0,4,20,3),Oy(0,7,8,-4,0,12,17,2,0,5,22,4),Oy(0,7,8,-4,0,13,19,2,0,5,24,4),Oy(0,7,9,-4,0,14,21,2,0,5,26,4),Oy(0,8,9,-5,0,15,22,2,0,6,28,5),Oy(0,8,10,-5,0,16,24,2,0,6,30,5),Oy(0,8,11,-5,0,17,26,2,0,6,32,5),Oy(0,9,11,-5,0,18,28,2,0,7,34,6),Oy(0,9,12,-6,0,19,29,2,0,7,36,6),Oy(0,10,13,-6,0,20,31,3,0,8,38,7),Oy(0,10,13,-6,0,21,33,3,0,8,40,7),Oy(0,10,14,-6,0,22,35,3,0,8,42,7),Oy(0,11,14,-7,0,23,36,3,0,9,44,8),Oy(0,11,15,-7,0,24,38,3,0,9,46,8)];const Iy=["duration","easing","delay"],qy={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)"},Ay={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ny(e){return`${Math.round(e)}ms`}function Ly(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function zy(e){const t=wp({},qy,e.easing),n=wp({},Ay,e.duration);return wp({getAutoHeightDuration:Ly,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return Cp(r,Iy),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Ny(o)} ${i} ${"string"==typeof a?a:Ny(a)}`)).join(",")}},e,{easing:t,duration:n})}var jy={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const $y=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _y(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Cp(e,$y);if(e.vars)throw new Error(bp(18));const s=Ey(r),l=jm(e);let c=Dh(l,{mixins:(u=l.breakpoints,d=n,wp({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:s,shadows:Dy.slice(),typography:Py(s,i),transitions:zy(o),zIndex:wp({},jy)});var u,d;return c=Dh(c,a),c=t.reduce(((e,t)=>Dh(e,t)),c),c.unstable_sxConfig=wp({},Im,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Nm({sx:e,theme:this})},c}var Fy=_y();function Hy({props:e,name:t}){return wg({props:e,name:t,defaultTheme:Fy,themeId:Sp})}var Wy,By={},Uy={exports:{}};var Vy,Gy={exports:{}};var Ky=J(Eh),Yy=J(Ih),Xy=J(Hh),Jy=J(xg),Zy=J($m),Qy=J(Wm),ev=ty;Object.defineProperty(By,"__esModule",{value:!0});var tv=By.default=function(e={}){const{themeId:t,defaultTheme:n=fv,rootShouldForwardProp:r=pv,slotShouldForwardProp:o=pv}=e,i=e=>(0,sv.default)((0,nv.default)({},e,{theme:mv((0,nv.default)({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,ov.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=gv(hv(l))}=a,p=(0,rv.default)(a,uv),f=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,h=u||!1;let m=pv;"Root"===l||"root"===l?m=r:l?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,ov.default)(e,(0,nv.default)({shouldForwardProp:m,label:undefined},p)),y=e=>"function"==typeof e&&e.__emotion_real!==e||(0,iv.isPlainObject)(e)?r=>yv(e,(0,nv.default)({},r,{theme:mv({theme:r.theme,defaultTheme:n,themeId:t})})):e,v=(r,...o)=>{let a=y(r);const l=o?o.map(y):[];s&&d&&l.push((e=>{const r=mv((0,nv.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[s]||!r.components[s].styleOverrides)return null;const o=r.components[s].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=yv(n,(0,nv.default)({},e,{theme:r}))})),d(e,i)})),s&&!f&&l.push((e=>{var r;const o=mv((0,nv.default)({},e,{defaultTheme:n,themeId:t}));return yv({variants:null==o||null==(r=o.components)||null==(r=r[s])?void 0:r.variants},(0,nv.default)({},e,{theme:o}))})),h||l.push(i);const c=l.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const u=g(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return g.withConfig&&(v.withConfig=g.withConfig),v}};By.shouldForwardProp=pv,By.systemDefaultTheme=void 0;var nv=ev((Wy||(Wy=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Uy)),Uy.exports)),rv=ev((Vy||(Vy=1,function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports}(Gy)),Gy.exports)),ov=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=dv(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(Ky),iv=Yy;ev(Xy),ev(Jy);var av=ev(Zy),sv=ev(Qy);const lv=["ownerState"],cv=["variants"],uv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function dv(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(dv=function(e){return e?n:t})(e)}function pv(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const fv=By.systemDefaultTheme=(0,av.default)(),hv=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function mv({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function gv(e){return e?(t,n)=>n[e]:null}function yv(e,t){let{ownerState:n}=t,r=(0,rv.default)(t,lv);const o="function"==typeof e?e((0,nv.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>yv(e,(0,nv.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,rv.default)(o,cv);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,nv.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,nv.default)({ownerState:n},r,n)):e.style))})),t}return o}var vv=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e;var bv=tv({themeId:Sp,defaultTheme:Fy,rootShouldForwardProp:vv});const xv=["theme"];function Sv(e){let{theme:t}=e,n=Cp(e,xv);const r=t[Sp];return Ch.jsx(Jg,wp({},n,{themeId:r?Sp:void 0,theme:r||t}))}function wv(e){return Ym("MuiSvgIcon",e)}Xm("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Cv=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],kv=bv("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Fh(n.color)}`],t[`fontSize${Fh(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),Ev=y.forwardRef((function(e,t){const n=Hy({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=Cp(n,Cv),f=y.isValidElement(r)&&"svg"===r.type,h=wp({},n,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:f}),m={};c||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return Fg({root:["root","inherit"!==t&&`color${Fh(t)}`,`fontSize${Fh(n)}`]},wv,r)})(h);return Ch.jsxs(kv,wp({as:a,className:Gm(g.root,o),focusable:"false",color:l,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,f&&r.props,{ownerState:h,children:[f?r.props.children:r,u?Ch.jsx("title",{children:u}):null]}))}));Ev.muiName="SvgIcon";var Tv=Ev;var Rv=Xm("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Mv=["center","classes","className"];let Pv,Ov,Dv,Iv,qv=e=>e;const Av=ah(Pv||(Pv=qv`
22
22
  0% {
23
23
  transform: scale(0);
24
24
  opacity: 0.1;
@@ -28,7 +28,7 @@ System.register(["hammerjs","picasso.js","picasso-plugin-q","qlik-chart-modules"
28
28
  transform: scale(1);
29
29
  opacity: 0.3;
30
30
  }
31
- `)),Lv=sh(Dv||(Dv=qv`
31
+ `)),Nv=ah(Ov||(Ov=qv`
32
32
  0% {
33
33
  opacity: 1;
34
34
  }
@@ -36,7 +36,7 @@ System.register(["hammerjs","picasso.js","picasso-plugin-q","qlik-chart-modules"
36
36
  100% {
37
37
  opacity: 0;
38
38
  }
39
- `)),zv=sh(Iv||(Iv=qv`
39
+ `)),Lv=ah(Dv||(Dv=qv`
40
40
  0% {
41
41
  transform: scale(1);
42
42
  }
@@ -48,7 +48,7 @@ System.register(["hammerjs","picasso.js","picasso-plugin-q","qlik-chart-modules"
48
48
  100% {
49
49
  transform: scale(1);
50
50
  }
51
- `)),jv=xv("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),_v=xv((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,d]=g.useState(!1),p=Km(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Km(n.child,u&&n.childLeaving,r&&n.childPulsate);return s||u||d(!0),g.useEffect((()=>{if(!s&&null!=l){const e=setTimeout(l,c);return()=>{clearTimeout(e)}}}),[l,s,c]),kh.jsx("span",{className:p,style:f,children:kh.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Av||(Av=qv`
51
+ `)),zv=bv("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),jv=bv((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,d]=y.useState(!1),p=Gm(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Gm(n.child,u&&n.childLeaving,r&&n.childPulsate);return s||u||d(!0),y.useEffect((()=>{if(!s&&null!=l){const e=setTimeout(l,c);return()=>{clearTimeout(e)}}}),[l,s,c]),Ch.jsx("span",{className:p,style:f,children:Ch.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Iv||(Iv=qv`
52
52
  opacity: 0;
53
53
  position: absolute;
54
54
 
@@ -91,4 +91,4 @@ System.register(["hammerjs","picasso.js","picasso-plugin-q","qlik-chart-modules"
91
91
  animation-iteration-count: infinite;
92
92
  animation-delay: 200ms;
93
93
  }
94
- `),Mv.rippleVisible,Nv,550,(({theme:e})=>e.transitions.easing.easeInOut),Mv.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Mv.child,Mv.childLeaving,Lv,550,(({theme:e})=>e.transitions.easing.easeInOut),Mv.childPulsate,zv,(({theme:e})=>e.transitions.easing.easeInOut)),$v=g.forwardRef((function(e,t){const n=Wy({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=kp(n,Pv),[s,l]=g.useState([]),c=g.useRef(0),u=g.useRef(null);g.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[s]);const d=g.useRef(!1),p=Ig(),f=g.useRef(null),h=g.useRef(null),m=g.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;l((e=>[...e,kh.jsx(_v,{classes:{ripple:Km(o.ripple,Mv.ripple),rippleVisible:Km(o.rippleVisible,Mv.rippleVisible),ripplePulsate:Km(o.ripplePulsate,Mv.ripplePulsate),child:Km(o.child,Mv.child),childLeaving:Km(o.childLeaving,Mv.childLeaving),childPulsate:Km(o.childPulsate,Mv.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)])),c.current+=1,u.current=a}),[o]),y=g.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,m,p]),v=g.useCallback((()=>{y({},{pulsate:!0})}),[y]),b=g.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{b(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),u.current=t}),[p]);return g.useImperativeHandle(t,(()=>({pulsate:v,start:y,stop:b})),[v,y,b]),kh.jsx(jv,Cp({className:Km(Mv.root,o.root,i),ref:h},a,{children:kh.jsx(Yu,{component:null,exit:!0,children:s})}))}));var Fv=$v;function Hv(e){return Xm("MuiButtonBase",e)}var Wv=Zm("MuiButtonBase",["root","disabled","focusVisible"]);const Bv=["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"],Uv=xv("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"},[`&.${Wv.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Vv=g.forwardRef((function(e,t){const n=Wy({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:y,onFocus:v,onFocusVisible:b,onKeyDown:x,onKeyUp:S,onMouseDown:w,onMouseLeave:C,onMouseUp:k,onTouchEnd:E,onTouchMove:T,onTouchStart:R,tabIndex:M=0,TouchRippleProps:P,touchRippleRef:O,type:D}=n,I=kp(n,Bv),A=g.useRef(null),q=g.useRef(null),N=Mg(q,O),{isFocusVisibleRef:L,onFocus:z,onBlur:j,ref:_}=Fg(),[$,F]=g.useState(!1);l&&$&&F(!1),g.useImperativeHandle(r,(()=>({focusVisible:()=>{F(!0),A.current.focus()}})),[]);const[H,W]=g.useState(!1);g.useEffect((()=>{W(!0)}),[]);const B=H&&!c&&!l;function U(e,t,n=u){return Rg((r=>{t&&t(r);return!n&&q.current&&q.current[e](r),!0}))}g.useEffect((()=>{$&&d&&!c&&H&&q.current.pulsate()}),[c,d,$,H]);const V=U("start",w),G=U("stop",m),K=U("stop",y),Y=U("stop",k),X=U("stop",(e=>{$&&e.preventDefault(),C&&C(e)})),Z=U("start",R),J=U("stop",E),Q=U("stop",T),ee=U("stop",(e=>{j(e),!1===L.current&&F(!1),f&&f(e)}),!1),te=Rg((e=>{A.current||(A.current=e.currentTarget),z(e),!0===L.current&&(F(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=A.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=g.useRef(!1),oe=Rg((e=>{d&&!re.current&&$&&q.current&&" "===e.key&&(re.current=!0,q.current.stop(e,(()=>{q.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Rg((e=>{d&&" "===e.key&&q.current&&$&&!e.defaultPrevented&&(re.current=!1,q.current.stop(e,(()=>{q.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(I.href||I.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===D?"button":D,se.disabled=l):(I.href||I.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=Mg(t,_,A),ce=Cp({},n,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:M,focusVisible:$}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Hg({root:["root",t&&"disabled",n&&"focusVisible"]},Hv,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return kh.jsxs(Uv,Cp({as:ae,className:Km(ue.root,a),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:Y,onDragLeave:K,onTouchEnd:J,onTouchMove:Q,onTouchStart:Z,ref:le,tabIndex:l?-1:M,type:D},se,I,{children:[i,B?kh.jsx(Fv,Cp({ref:N,center:o},P)):null]}))}));var Gv=Vv;function Kv(e){return Xm("MuiButton",e)}var Yv=Zm("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Xv=g.createContext({});var Zv=g.createContext(void 0);const Jv=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Qv=e=>Cp({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),eb=xv(Gv,{shouldForwardProp:e=>bv(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Hh(n.color)}`],t[`size${Hh(n.size)}`],t[`${n.variant}Size${Hh(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return Cp({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Cp({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ay(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ay(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ay(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Cp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Yv.focusVisible}`]:Cp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Yv.disabled}`]:Cp({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${ay(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Yv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Yv.disabled}`]:{boxShadow:"none"}})),tb=xv("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Hh(n.size)}`]]}})((({ownerState:e})=>Cp({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Qv(e)))),nb=xv("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Hh(n.size)}`]]}})((({ownerState:e})=>Cp({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Qv(e)))),rb=g.forwardRef((function(e,t){const n=g.useContext(Xv),r=g.useContext(Zv),o=Wy({props:wg(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:y,type:v,variant:b="text"}=o,x=kp(o,Jv),S=Cp({},o,{color:a,component:s,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:h,size:m,type:v,variant:b}),w=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return Cp({},a,Hg({root:["root",i,`${i}${Hh(t)}`,`size${Hh(o)}`,`${i}Size${Hh(o)}`,`color${Hh(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Hh(o)}`],endIcon:["icon","endIcon",`iconSize${Hh(o)}`]},Kv,a))})(S),C=y&&kh.jsx(tb,{className:w.startIcon,ownerState:S,children:y}),k=p&&kh.jsx(nb,{className:w.endIcon,ownerState:S,children:p}),E=r||"";return kh.jsxs(eb,Cp({ownerState:S,className:Km(n.className,w.root,l,E),component:s,disabled:c,focusRipple:!d,focusVisibleClassName:Km(w.focusVisible,f),ref:t,type:v},x,{classes:w,children:[C,i,k]}))}));var ob=rb;var ib=g.createContext({});function ab(e){return Xm("MuiListItemButton",e)}var sb=Zm("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);const lb=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],cb=xv(Gv,{shouldForwardProp:e=>bv(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>Cp({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${sb.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ay(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sb.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ay(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${sb.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ay(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ay(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${sb.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${sb.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4}))),ub=g.forwardRef((function(e,t){const n=Wy({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:s=!1,disableGutters:l=!1,divider:c=!1,focusVisibleClassName:u,selected:d=!1,className:p}=n,f=kp(n,lb),h=g.useContext(ib),m=g.useMemo((()=>({dense:s||h.dense||!1,alignItems:r,disableGutters:l})),[r,h.dense,s,l]),y=g.useRef(null);kg((()=>{o&&y.current&&y.current.focus()}),[o]);const v=Cp({},n,{alignItems:r,dense:m.dense,disableGutters:l,divider:c,selected:d}),b=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:s}=e;return Cp({},n,Hg({root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},ab,n))})(v),x=Mg(y,t);return kh.jsx(ib.Provider,{value:m,children:kh.jsx(cb,Cp({ref:x,href:f.href||f.to,component:(f.href||f.to)&&"div"===i?"button":i,focusVisibleClassName:Km(b.focusVisible,u),ownerState:v,className:Km(b.root,p)},f,{classes:b,children:a}))})}));var db=ub;function pb(e){return Xm("MuiListItemIcon",e)}Zm("MuiListItemIcon",["root","alignItemsFlexStart"]);const fb=["className"],hb=xv("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>Cp({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),mb=g.forwardRef((function(e,t){const n=Wy({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=kp(n,fb),i=Cp({},n,{alignItems:g.useContext(ib).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return Hg({root:["root","flex-start"===t&&"alignItemsFlexStart"]},pb,n)})(i);return kh.jsx(hb,Cp({className:Km(a.root,r),ownerState:i,ref:t},o))}));var gb=mb;function yb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yb(Object(n),!0).forEach((function(t){bb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bb(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xb=function(e){var t=e.className,n=e.path,r=e.fillRule;return m.createElement(Rv,{className:t,viewBox:"0 0 16 16",fontSize:"small",role:"img",style:{height:12,width:12}},m.createElement("path",{d:n}),r?m.createElement("use",{fillRule:r}):void 0)},Sb={ELLIPSIS:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},FOCUS:{boxShadow:"inset 0 0 0 2px #177FE6"},ICONS:{COLOR:{PRIMARY:"rgba(89, 89, 89)",SECONDARY:"rgba(89, 89, 89, 0.8)",DISABLED:"rgba(89, 89, 89, 0.4)"}}};xv(ob,{shouldForwardProp:function(e){return"direction"!==e&&"padding"!==e&&"styling"!==e}})((function(e){var t=e.direction,n=e.padding,r=e.styling,o=r.fontSize,i=r.fontFamily,a=r.color;return{fontWeight:"normal",lineHeight:"normal",fontSize:o,fontFamily:i,color:a,height:"100%",minWidth:"45px",padding:n,"&:disabled":{color:a,opacity:1},"& .MuiButton-startIcon":{margin:"ltr"===t?"0 2px":void 0},"& .MuiButton-endIcon":{margin:"rtl"===t?"0 2px":void 0}}})),xv((function(e){var t=e.className;return m.createElement(xb,{className:t,path:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z",fillRule:"evenodd"})}))((function(){return{color:Sb.ICONS.COLOR.SECONDARY}})),xv((function(e){var t=e.className;return m.createElement(xb,{className:t,path:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})}))((function(){return{color:Sb.ICONS.COLOR.SECONDARY,marginTop:"1px","&.disabled":{color:Sb.ICONS.COLOR.DISABLED}}})),xv(ob,{shouldForwardProp:function(e){return"styling"!==e}})((function(e){var t=e.styling,n=t.fontSize,r=t.fontFamily,o=t.color;return{fontWeight:"normal",lineHeight:"normal",fontSize:n,fontFamily:r,color:o,padding:"0px 5px",height:"100%",minWidth:"45px","&:disabled":{color:o}}}));var wb={color:Sb.ICONS.COLOR.SECONDARY,marginTop:"1px","&.disabled":{color:Sb.ICONS.COLOR.DISABLED}};xv((function(e){var t=e.className;return m.createElement(xb,{className:t,path:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5 8.5 8z"})}))((function(){return wb})),xv((function(e){var t=e.className;return m.createElement(xb,{className:t,path:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"})}))((function(){return wb})),xv((function(e){var t=e.className;return m.createElement(xb,{className:t,path:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"})}),{shouldForwardProp:function(e){return"direction"!==e&&"isFirst"!==e&&"isLast"!==e}})((function(e){var t=e.direction,n=e.isFirst,r=e.isLast;return{color:Sb.ICONS.COLOR.PRIMARY,marginTop:"1px",marginLeft:"ltr"!==t||n?void 0:"2px",marginRight:"rtl"!==t||r?void 0:"2px"}})),xv(db)((function(){return{padding:"4px 12px","&:focus":vb({},Sb.FOCUS)}})),xv(gb)((function(){return{marginRight:0,justifyContent:"center"}})),xv((function(e){var t=e.className;return m.createElement(xb,{className:t,path:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2 3 3Z"})}))((function(){return{color:Sb.ICONS.COLOR.SECONDARY}}));var Cb=Object.prototype.hasOwnProperty,kb=Object.prototype.toString,Eb=Object.defineProperty,Tb=Object.getOwnPropertyDescriptor,Rb=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===kb.call(e)},Mb=function(e){if(!e||"[object Object]"!==kb.call(e))return!1;var t,n=Cb.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&Cb.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||Cb.call(e,t)},Pb=function(e,t){Eb&&"__proto__"===t.name?Eb(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Ob=function(e,t){if("__proto__"===t){if(!Cb.call(e,t))return;if(Tb)return Tb(e,t).value}return e[t]};!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}((function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=Ob(s,n),s!==(o=Ob(t,n))&&(u&&o&&(Mb(o)||(i=Rb(o)))?(i?(i=!1,a=r&&Rb(r)?r:[]):a=r&&Mb(r)?r:{},Pb(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&Pb(s,{name:n,newValue:o}));return s}));var Db,Ib=function(e){var t=e.dock,n=e.settings.label,r="center"===t,o=r?{}:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};return m.createElement("span",{style:o,title:n},r?n:"* ".concat(n))},Ab={renderer:"react",disableTriggers:!0,key:"disclaimer",defaultSettings:{settings:{isRTL:!1,label:void 0},style:{fontFamily:'"Source Sans Pro", "Arial", "sans-serif"'}},preferredSize:function(){return 22},render:function(){var e=this.rect,t=this.settings,n=t.layout,r=t.settings,o=t.style;return function(e){var t=e.dock,n=e.rect,r=e.settings,o=e.styling,i=function(e){var t=e.dock;return"top"!==t&&"bottom"!==t||!e.isRTL?"ltr":"rtl"}({dock:t,isRTL:r.isRTL}),a=function(e){var t=e.dock,n=e.rect,r={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",color:"#7b7a78",fontStyle:"italic",fontSize:"13px",fontFamily:e.styling.fontFamily};return"left"===t&&(r.width="".concat(n.height,"px"),r.transform="rotate(-90deg) translate(-".concat(n.height,"px, 0)"),r.transformOrigin="top left"),"right"===t&&(r.width="".concat(n.height,"px"),r.transform="rotate(90deg) translate(0, -".concat(n.width,"px)"),r.transformOrigin="top left"),"center"===t&&(r.width="".concat(n.width,"px"),r.height="".concat(n.height,"px"),r.color="#595959",r.fontStyle="normal",r.fontSize="1.2em",r.textAlign="center"),"bottom"!==t&&"top"!==t||(r.justifyContent="flex-start",r.alignItems="flex-start"),r}({dock:t,rect:n,styling:o});return m.createElement("div",{dir:i,style:a},m.createElement(Ib,{dock:t,settings:r}))}({dock:n.dock,rect:e,settings:r,styling:o})}},qb=C;Db=qb.createRoot,qb.hydrateRoot;var Nb=Fy({spacing:8,shadows:["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)"],transitions:{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}},typography:{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"}},shape:{borderRadius:3},components:{MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"qcm-focus-visible"}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"qcm-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"116px",minWidth:"24px",fontSize:141,borderRadius:3,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transform:"translate3d(0,0,0)"},text:{padding:"8px 16px","&:active":{backgroundColor:"rgba(0, 0, 0, 0.1)"},"&.Mui-focusVisible":{boxShadow:"inset 0 0 0 2px ".concat("#177FE6")}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"}},variants:[]},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:14,height:"32px"}}},MuiListItemIcon:{styleOverrides:{root:{color:"#404040",minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:14,color:"#404040",lineHeight:"16px",fontWeight:600},secondary:{fontSize:12,color:"#737373",fontWeight:400,lineHeight:"16px"}}}}});function Lb(e){var t={x:0,y:0,width:0,height:0,scaleRatio:{x:1,y:1},margin:{left:0,top:0}},n=e||{},r=n.x,o=n.y,i=n.width,a=n.height,s=n.scaleRatio,l=n.margin;return t.x=Number.isNaN(r)||void 0===r?t.x:r,t.y=Number.isNaN(o)||void 0===o?t.y:o,t.width=Number.isNaN(i)||void 0===i?t.width:i,t.height=Number.isNaN(a)||void 0===a?t.height:a,void 0!==s&&(t.scaleRatio.x=Number.isNaN(s.x)?t.scaleRatio.x:s.x,t.scaleRatio.y=Number.isNaN(s.y)?t.scaleRatio.y:s.y),void 0!==l&&(t.margin.left=Number.isNaN(l.left)?0:l.left,t.margin.top=Number.isNaN(l.top)?0:l.top),t}function zb(){var e={rendererBox:Lb(),container:void 0,root:void 0},t=function(){var t,n;null===(t=e.root)||void 0===t||t.unmount(),null===(n=e.container)||void 0===n||null===(n=n.parentElement)||void 0===n||n.removeChild(e.container),e.container=void 0};return{size:function(t){return t&&(e.rendererBox=Lb(t)),e.rendererBox},element:function(){return e.container},appendTo:function(t){return e.container||(e.container=document.createElement("div"),e.container.style.position="absolute",e.container.style["-webkit-font-smoothing"]="antialiased",e.container.style["-moz-osx-font-smoothing"]="antialiased",e.container.style.pointerEvents="none",e.root=Db(e.container)),t.appendChild(e.container),e.container},setKey:function(t){e.container&&e.container.setAttribute("data-key",t)},render:function(t){if(!e.container)return!1;var n=e.rendererBox,r=n.scaleRatio.x,o=n.scaleRatio.y;return e.container.style.left="".concat(Math.round(n.margin.left+n.x*r),"px"),e.container.style.top="".concat(Math.round(n.margin.top+n.y*o),"px"),e.container.style.width="".concat(Math.round(n.width),"px"),e.container.style.height="".concat(Math.round(n.height),"px"),e.container.style.transform="scale(".concat(r,", ").concat(o,")"),e.container.style.transformOrigin="top left",e.root.render(function(e){var t=e.nodes;return m.createElement(m.StrictMode,null,m.createElement(wv,{theme:Nb},t))}({nodes:t})),!0},findShapes:function(){return[]},itemsAt:function(){return[]},clear:function(){t()},destroy:function(){t()}}}function jb(e){return xt(e).l<70}function _b(e,t){const n=xt(e).l/100,r=xt(t).l/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function $b(e,t){return{x:t.x+e.r*Math.sin(e.a),y:t.y-e.r*Math.cos(e.a)}}var Fb={require:["chart","settings"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){const n=e.component(t.component);if(!n)return[];const r=e.findShapes(t.selector).filter((e=>e.key===t.component));if(r.length<2)return[];if(n.settings.settings.slice.cornerRadius>0||n.settings.settings.slice.strokeWidth>0)return[];const o=[];let i=r[r.length-1];for(let e=0;e<r.length;e+=1){const t=r[e],n=i.attrs.fill,a=t.attrs.fill;if(_b(a,n)<=1.2){const{start:e,offset:n}=t.desc.slice;let{innerRadius:r,outerRadius:s}=t.desc.slice;if(r=Math.max(r,i.desc.slice.innerRadius),s=Math.min(s,i.desc.slice.outerRadius),s>r){const t=$b({r:s,a:e},n),i=$b({r:r,a:e},n);o.push({type:"line",x1:t.x,y1:t.y,x2:i.x,y2:i.y,strokeWidth:1,opacity:.4,stroke:jb(a)?"#ccc":"#333"})}}i=t}return o}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function Hb(e,t=!0){let n="";for(let t=0;t<e.length;t++){const r=e[t];n+=0===t?`M${r.x} ${r.y}`:`L${r.x} ${r.y}`,n+=" "}return t&&(n+="Z"),n}function Wb(e){const{size:t,angle:n}=e,r={x:e.x,y:e.y},o=t/2,i=e.x-o,a=e.y-o;let s=[{x:i,y:a+t},{x:i+o,y:a},{x:i+t,y:a+t},{x:i,y:a+t}];return s=s.map((e=>function(e,t,n={x:0,y:0}){const r=Math.cos(t),o=Math.sin(t),i=(s=n,{x:(a=e).x-s.x,y:a.y-s.y});var a,s;return function(e,t){return{x:e.x+t.x,y:e.y+t.y}}({x:r*i.x-o*i.y,y:o*i.x+r*i.y},n)}(e,n,r))),{type:"path",fill:e.fill,d:Hb(s)}}var Bb={require:["chart"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){if(!e.component(t.component))return[];const n=e.findShapes(t.selector).filter((e=>e.key===t.component));if(n.length<2)return[];const r=[];for(let e=0;e<n.length;e+=1){const a=n[e];if(a.data.radius.value<0){const{start:e,end:n,offset:s}=a.desc.slice,l=(e+n)/2,c=(o={r:t.offset,a:l},{x:(i=s).x+o.r*Math.sin(o.a),y:i.y-o.r*Math.cos(o.a)}),u=Wb({size:t.size,fill:t.fill,angle:l+Math.PI,...c});u.data={...a.data,_share:a.desc.share,_fillColor:a.attrs.fill},r.push(u)}}var o,i;return r}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function Ub(){const e=n();return e.use(r),e.use(function(e){if("function"!=typeof e.interaction)return t=>{t.interaction("hammer",K(e))};e.interaction("hammer",K(Hammer))}(t)),e.use((function(e){e.renderer("react",dp()),e.component("data-title",lp(e.renderer("svg")()))})),e.renderer("react-qcm",zb),e.component("disclaimer",Ab),e.component("pie-dividers",Fb),e.component("negative-indicators",Bb),e}var Vb={};function Gb(){Gb.init.call(this)}Vb.isObject=function(e){return"object"==typeof e&&null!==e},Vb.isNumber=function(e){return"number"==typeof e},Vb.isUndefined=function(e){return void 0===e},Vb.isFunction=function(e){return"function"==typeof e};var Kb=Gb;Gb.EventEmitter=Gb,Gb.prototype._events=void 0,Gb.prototype._maxListeners=void 0,Gb.defaultMaxListeners=10,Gb.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},Gb.prototype.setMaxListeners=function(e){if(!Vb.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},Gb.prototype.emit=function(e){var t,n,r,o,i,a;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],Vb.isUndefined(n))return!1;if(Vb.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];n.apply(this,o)}else if(Vb.isObject(n)){for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];for(r=(a=n.slice()).length,i=0;i<r;i++)a[i].apply(this,o)}return!0},Gb.prototype.addListener=function(e,t){var n;if(!Vb.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,Vb.isFunction(t.listener)?t.listener:t),this._events[e]?Vb.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,Vb.isObject(this._events[e])&&!this._events[e].warned)&&((n=Vb.isUndefined(this._maxListeners)?Gb.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,Vb.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),Vb.isFunction(console.trace)&&console.trace()));return this},Gb.prototype.on=Gb.prototype.addListener,Gb.prototype.once=function(e,t){if(!Vb.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},Gb.prototype.removeListener=function(e,t){var n,r,o,i;if(!Vb.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||Vb.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(Vb.isObject(n)){for(i=o;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){r=i;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},Gb.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],Vb.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},Gb.prototype.listeners=function(e){return this._events&&this._events[e]?Vb.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},Gb.listenerCount=function(e,t){return e._events&&e._events[t]?Vb.isFunction(e._events[t])?1:e._events[t].length:0};var Yb=Y(Kb);const Xb=e=>(Object.keys(Yb.prototype).forEach((t=>{e[t]=Yb.prototype[t]})),Yb.init(e),e);function Zb({picasso:e}){var t;const n=k(),r=E(),o=T(),[i,c]=R(),u=function(){const e={};return Xb(e),e.lasso={active:()=>!1},e.select={on:e.on,removeListener:e.removeListener},e}(),d=M(),p=P(),f=!(null===(t=d.qSelectionInfo)||void 0===t||!t.qInSelections),[h,m]=R(!1);return u.lasso=function({layout:e,isInSelections:t,isLassoActionActive:n,setIsLassoActionActive:r,translator:o}){var i;return{active:n,label:o.get(n?"Tooltip.ToggleOffLassoSelection":"Tooltip.ToggleOnLassoSelection"),hidden:!t||!(null===(i=e.qHyperCube)||void 0===i||null===(i=i.qDimensionInfo)||void 0===i||null===(i=i[0])||void 0===i||!i.qIsOneAndOnlyOne),action(e){r("boolean"==typeof e?e:!n)},icon:{shapes:[{type:"path",attrs:{d:"M15.9488039,5.20769129 C16.0487326,6.70662306 15.3492311,8.30548361 14.050157,9.30477145 C12.651154,10.5039169 10.8524359,10.8037032 8.85386017,10.4039881 L7.3549284,10.0042729 L5.75606786,9.70448659 C5.75606786,9.90434416 5.65613907,10.0042729 5.4562815,10.2041305 C5.05656637,10.6038456 4.55692244,10.8037032 4.05727852,10.8037032 C3.75749217,10.8037032 3.45770582,10.7037744 3.15791946,10.6038456 C3.05799068,10.903632 3.15791946,11.2034184 3.45770582,11.7030623 C5.05656637,14.0014243 3.85742095,15.9000712 3.75749217,16 L2.2585604,15.3004985 C2.2585604,15.2005697 2.95806189,14.0014243 1.95877405,12.6024213 C1.6589877,12.0028486 1.15934378,11.0035608 1.55905891,10.0042729 C1.6589877,9.80441537 1.75891648,9.6045578 1.95877405,9.40470024 C1.6589877,8.90505631 1.55905891,8.30548361 1.85884527,7.7059109 C1.55905891,7.40612455 1.25927256,7.1063382 1.15934378,6.70662306 C0.859557424,5.90719279 0.959486209,4.5081898 1.6589877,3.30904439 C1.95877405,2.6095429 2.55834676,2.0099702 3.15791946,1.51032628 C3.95734974,0.91075357 4.95663758,0.610967217 6.15578299,0.311180864 C9.05371774,-0.388320626 11.9516525,0.111323295 13.9502282,1.61025506 C15.1493736,2.50961412 15.8488751,3.80868831 15.9488039,5.20769129 Z M13.0508691,8.10562604 C13.8502994,7.40612455 14.3499433,6.40683671 14.3499433,5.30762008 C14.2500145,4.20840345 13.550513,3.40897318 12.9509403,2.90932926 C12.1515101,2.40968533 11.252151,2.0099702 10.1529344,1.81011263 C8.95378895,1.61025506 7.75464354,1.71018384 6.45556935,1.91004141 C4.75678001,2.30975655 3.65756338,3.00925804 3.05799068,4.10847467 C2.55834676,5.00783373 2.65827554,5.90719279 2.75820433,6.20697914 C2.75820433,6.30690792 2.85813311,6.40683671 3.05799068,6.40683671 C3.15791946,6.40683671 3.25784825,6.40683671 3.35777703,6.40683671 C3.45770582,6.40683671 3.45770582,6.40683671 3.45770582,6.40683671 L3.5576346,6.40683671 L3.65756338,6.40683671 C4.65685123,6.40683671 5.4562815,6.90648063 5.85599664,7.80583969 L5.85599664,8.00569726 C6.35564056,8.10562604 7.05514205,8.30548361 7.75464354,8.50534118 L9.25357531,8.90505631 C10.0530056,9.0049851 10.7525071,9.0049851 11.4520086,8.80512753 C12.0515813,8.70519875 12.5512252,8.40541239 13.0508691,8.10562604 Z"}}]}}}({layout:d,isInSelections:f,isLassoActionActive:h,setIsLassoActionActive:m,translator:p}),O((()=>(i&&(i.interactions.lasso.active=()=>h),{...u.lasso})),[i,h,f,p.language()]),D((()=>{r.style.overflow="hidden";const t=e({renderer:{prio:[n.renderer||"canvas"]}}),i=t.chart({element:r,data:[],settings:{}}),p=a({chart:i,actions:u,selections:o,config:{selectionActions:!1}});p.setLayout(d),p.setBrushAliases({colorField:"qDimensionInfo/0/qAttrDimInfo/0"});const f=s({legendScrollOffset:0,rotation:0});f.intercept("rotation",(e=>(f.get("rotation")+e)%(2*Math.PI))),f.onChanged("rotation",(()=>{i.update({partialData:!0})}));const h=l();return u.on("selections-start",(()=>{i.brush("selection").start()})),c({picasso:t,chart:i,selectionService:p,viewState:f,viewCache:h,interactions:u}),()=>{p.destroy(),i.destroy(),u.removeAllListeners(),delete u.select,f.intercept("rotation",void 0),f.onChanged("rotation",void 0)}}),[]),i}const Jb={CUSTOM:{EXPRESSION:"customTooltipExpression",TITLE:"customTooltipTitle",DESCRIPTION:"customTooltipDescription",QUARANTINE:"customTooltip",IMAGES:"customTooltipImages"},CHART:{CONTAINER_ID:"tooltipContainerId",STATE:"customTooltipSessionState",CHART_OBJECT_ID:"customTooltipSessionObjectId",CHART_PARENT_TYPE:"TooltipChartParent",CHART_CHILD_TYPE:"TooltipChart",STYLE:{small:"140px",medium:"200px",large:"340px"}}};function Qb(e){const t=e.split("/");return"qmem:"===t[0]&&""===t[1]}const ex={getImageSize(e,t){let n;function r(){n&&(clearTimeout(n),n=null)}function o(e){const t=e;t.onload=null,t.onerror=null,r()}const i={small:50,medium:200,large:340,original:340};return new Promise((a=>{const s=new Image;s.referrerPolicy="no-referrer",s.onload=()=>{let e;const{height:n,width:l}=s,c=i[t]*(n>l?1:n/l),u=i[t]*(l>n?1:l/n);!n||!l||0===n&&0===l?(e={height:20,width:20,imageError:!0},o(s)):"original"===t?(e={height:Math.min(c,n),width:Math.min(u,l)},r()):(e={height:c,width:u},r()),a(e)},s.onerror=()=>{o(s),a({height:20,width:20,imageError:!0})},s.src=e,n=setTimeout((()=>{o(s),a({height:20,width:20,imageError:!0})}),3e3)}))}};async function tx(e,t,n){let r=e.ref.qStaticContentUrl.qUrl;const o=function(e){var t,n,r;let o,i,a,s,l,c;if(e&&(null!==(t=e.session)&&void 0!==t&&t.options||null!==(n=e.enigmaModel)&&void 0!==n&&null!==(n=n.session)&&void 0!==n&&n.sessionConfig||null!==(r=e.session)&&void 0!==r&&null!==(r=r.config)&&void 0!==r&&r.url)){var u;if(o=e.session.options||(null===(u=e.enigmaModel)||void 0===u?void 0:u.session.sessionConfig),!o){var d;o=null===(d=e.session)||void 0===d?void 0:d.config;const t=new URL(o.url);o.host=t.hostname,o.port=t.port,o.isSecure="wss:"===t.protocol}return c=void 0!==o.secure?o.secure:o.isSecure,i=c?"https://":"http://",a=o.host||"localhost",s=o.port?`:${o.port}`:"",l=o.prefix?o.prefix:"/","/"!==l[l.length-1]&&(l=`${l}/`),i+a+s+l}return""}(n);o&&(!function(e,t){const n=e.replace(t,"").replace(/^\.\.\//i,"/");n[0]}(r,o),r=r.replace(/"/g,'\\"'),r=r.replace(/'/g,"\\'"),r=function(e,t){return t+("/"===e[0]?e.substr(1):e)}(r,o));const{height:i,width:a,imageError:s}=await ex.getImageSize(r,t);return{src:r,size:t,height:i,width:a,imageError:s}}async function nx(e,t,n,r){var o,i,a;const{app:s,flags:l}=t,c=null===(o=e.layout)||void 0===o||null===(o=o.tooltip)||void 0===o?void 0:o.imageComponents;if(!c)return[];const[u]=c,d=u.size||"small",p=u.type||"media";let f=-1;for(let e=0;e<n.length;e++)if(n[e].cId===u.cId){f=e;break}const h=(null===(i=r.data)||void 0===i||null===(i=i.customTooltipAttrExps)||void 0===i?void 0:i.value)||[];let m;if(-1!==f&&h[f]&&(m=h[f]),"media"===p&&null!==(a=u.ref)&&void 0!==a&&null!==(a=a.qStaticContentUrl)&&void 0!==a&&a.qUrl)return tx(u,d,s);if("url"===p)return async function(e,t,n,r,o){let i,a=n.ref;if(o&&o.label&&(a=o.label),t.isEnabled("IMAGE_BUNDLE_LOAD")&&null!=e&&e.getImage&&Qb(a))try{const t=`data:image/png;base64, ${await e.getImage(a)}`,{height:n,width:o,imageError:s}=await ex.getImageSize(t,r);i={src:t,size:r,height:n,width:o,imageError:s}}catch(e){}else{const{height:e,width:t,imageError:n}=await ex.getImageSize(a,r);i={src:a,size:r,height:e,width:t,imageError:n}}return i}(s,l,u,d,m);if(l.isEnabled("IMAGE_BUNDLE_LOAD")&&"field"===p&&m&&m.label){return async function(e,t,n,r){let o;const i=r.label,a=`qmem://${t.qFallbackTitle}/${i}`;if(Qb(a))try{const t=await e.getImage(a);if(t){const e=`data:image/png;base64, ${t}`,{height:r,width:i,imageError:a}=await ex.getImageSize(e,n);o={src:e,size:n,height:r,width:i,imageError:a}}}catch(e){}return o}(s,n[f],d,m)}return[]}const rx={async addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){const o=t,i=[];for(let t=0;t<o.length;t++)i.push(nx(e,r,n,o[t]));const a=await Promise.all(i);for(let e=0;e<o.length;e++)o[e].data.customTooltipImages=[a[e]];return o},checkIfPromisesExist({customTooltipModel:e}){var t;const n=null===(t=e.layout)||void 0===t||null===(t=t.tooltip)||void 0===t?void 0:t.imageComponents;return!!n&&n.length>0}},ox={async handlePromises({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){let o=t;return o=await rx.addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}),o},checkIfPromisesExist:({customTooltipModel:e})=>rx.checkIfPromisesExist({customTooltipModel:e})};const ix=(e,t)=>{var n,r,o;const i=null==e||null===(n=e.qHyperCubeDef)||void 0===n?void 0:n.qDimensions,a=null==e||null===(r=e.qHyperCubeDef)||void 0===r?void 0:r.qMeasures,s=null==e||null===(o=e.qHyperCubeDef)||void 0===o?void 0:o.qInterColumnSortOrder,l=t;return{qInfo:{qType:Jb.CHART.CHART_PARENT_TYPE,qId:Jb.CHART.CHART_OBJECT_ID},qHyperCubeDef:{qDimensions:i,qMeasures:a,qInterColumnSortOrder:s,qInitialDataFetch:[{qWidth:0,qHeight:0}]},qStateName:l}},ax=e=>{var t;const n=null===(t=e.tooltip)||void 0===t||null===(t=t.chart)||void 0===t||null===(t=t.object)||void 0===t?void 0:t.refId;return{qInfo:{qType:Jb.CHART.CHART_CHILD_TYPE},qExtendsId:n}};const sx={createContainer:({ctx:e,layout:t})=>{var n;if(!((null===(n=t.qHyperCube)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.length)<=0))return function(e,t){var n,r;const o=null!==(n=null===(r=t.tooltip)||void 0===r||null===(r=r.chart)||void 0===r||null===(r=r.style)||void 0===r?void 0:r.size)&&void 0!==n?n:"medium",i=Jb.CHART.STYLE[o];return[{content:[e.h("div",{style:{display:"flex",width:i,height:i,backgroundColor:"#FFFFFF",borderRadius:"5px",padding:"2px",color:"#595959"},colspan:2,id:Jb.CHART.CONTAINER_ID})],colspan:2,style:{"text-align":e.rtl?"right":"left","max-width":i,width:"100%"}},{}]}(e,t)},show:async({app:e,properties:t,selectedNodes:n,dimIndex:r,customTooltipModel:o,rtl:i})=>{var a;const s=o,l=null==t||null===(a=t.tooltip)||void 0===a||null===(a=a.chart)||void 0===a||null===(a=a.object)||void 0===a?void 0:a.refId;if(null!=s&&s.embed&&e.removeSessionAlternateState&&e.addSessionAlternateState&&l&&!(t.qHyperCubeDef.qDimensions.length<=0)){await sx.hide({app:e,customTooltipModel:o});try{await async function({app:e,properties:t,customTooltipModel:n}){const r=n,o=Jb.CHART.STATE,i=t.qStateName;r.miniChartToken.alternateState||(r.miniChartToken.alternateState=o,await e.addSessionAlternateState(o,i),r.miniChartToken.alternateState=o)}({app:e,properties:t,customTooltipModel:o});const a=await async function({app:e,properties:t,customTooltipModel:n}){var r;const o=n;null!==(r=o.miniChartToken.sessionObj)&&void 0!==r&&r.id&&await e.destroySessionObject(o.miniChartToken.sessionObj.id);const i=Jb.CHART.STATE,a=ix(t,i),s=await e.createSessionObject(a),l=ax(t);if(s.id!==Jb.CHART.CHART_OBJECT_ID)return void e.destroySessionObject(s.id);o.miniChartToken.sessionObj=s;const c=await s.createChild(l);if(o.miniChartToken.sessionObj&&o.miniChartToken.sessionObj.id===s.id)return o.miniChartToken.model=c,c;e.destroySessionObject(s.id)}({app:e,properties:t,customTooltipModel:o});if(s.miniChartToken.alternateState&&s.miniChartToken.sessionObj&&a){var c,u,d,p;const e=n.length>0&&void 0!==(null===(c=n[0].data)||void 0===c?void 0:c.value)?[null===(u=n[0].data)||void 0===u?void 0:u.value]:[],a=void 0!==r?r:t.qHyperCubeDef.qDimensions.length-1;if(2===t.qHyperCubeDef.qDimensions.length&&void 0===r&&n.length>0){var f,h;const e=null!==(f=n[0].data.selectionOuterDimension)&&void 0!==f?f:n[0].data.selectionDimension;if(null!=e&&null!==(h=e.source)&&void 0!==h&&h.field){var m;const t=null==e||null===(m=e.source)||void 0===m?void 0:m.field.split("/"),n=t[t.length-1],r=void 0!==e.value?[e.value]:[];r.length>0&&void 0!==n&&s.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",Number(n),r,!1)}}e.length>0&&s.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",a,e,!1);const l=document.getElementById(Jb.CHART.CONTAINER_ID),g={direction:i?"rtl":"ltr",isReadonly:!0,isPopover:!0,navigation:!1,selections:!1};s.miniChartToken.vis=await o.embed.render({element:l,model:s.miniChartToken.model,options:g,id:null===(d=s.miniChartToken.model)||void 0===d?void 0:d.id,type:null===(p=s.miniChartToken.model)||void 0===p?void 0:p.genericType})}}catch(t){await sx.hide({app:e,customTooltipModel:o})}}},hide:async({app:e,customTooltipModel:t})=>{const n=t;null!=n&&n.embed&&(sx.destroyVisualization({customTooltipModel:t}),await e.destroySessionObject(Jb.CHART.CHART_OBJECT_ID),n.miniChartToken.sessionObj=void 0,await async function({app:e,customTooltipModel:t}){const n=t,r=Jb.CHART.STATE;n.miniChartToken.alternateState=void 0,await e.removeSessionAlternateState(r)}({app:e,customTooltipModel:t}))},destroyVisualization:({customTooltipModel:e})=>{var t;const n=e;"function"==typeof(null===(t=n.miniChartToken)||void 0===t||null===(t=t.vis)||void 0===t?void 0:t.destroy)&&(n.miniChartToken.vis.destroy(),n.miniChartToken.vis=void 0)}};function lx(e){const t=e.qHyperCubeDef?e.qHyperCubeDef.qDimensions:e.qHyperCube.qDimensionInfo;if(t&&t.length>0)return t}function cx(){const{EXPRESSION:e,TITLE:t,DESCRIPTION:n,IMAGES:r}=Jb.CUSTOM,o={};return o[e]=!0,o[t]=!0,o[n]=!0,o[r]=!0,o}function ux(e){const t=cx();return e.filter((e=>t[e.id]))}const dx={getNodes(e,t){const n=function(e,t){let n=0,r=0;e.center?(n+=e.center.x,r+=e.center.y):(n+=e.clientX,r+=e.clientY);const o=t.element.getBoundingClientRect();return{cx:n-o.left,cy:r-o.top}}(e,t);return t.shapesAt({x:n.cx,y:n.cy})},getDataNodes(e,t){let n,r=[];const o={container:{bar:!0,"bullet-axis":!0},circle:{"point-component":!0}};return t.forEach((t=>{var i,a,s,l;const c=null!==(i=null===(a=t.data)||void 0===a?void 0:a.selectionDimension)&&void 0!==i?i:t.data;if(!c||null!==(s=t.data)&&void 0!==s&&s.customTooltipAttrExps||o[t.type]){if(null!==(l=t.data)&&void 0!==l&&l.customTooltipAttrExps&&!t.data.customTooltipImages){const e=t;e.data.customTooltipImages=[],r.push(e)}}else{n||(n=[],Object.keys(o).forEach((t=>{n=n.concat(e.findShapes(t).filter((e=>e.data&&e.data.customTooltipAttrExps&&!e.data.customTooltipImages&&o[t][e.key])))})));const t=n.filter((e=>{var t,n;const r=null!==(t=null!==(n=e.data.stack)&&void 0!==n?n:e.data.selectionOuterDimension)&&void 0!==t?t:e.data.selectionDimension;return r&&r.value===c.value&&r.label===c.label}));t.length>0&&(r=r.concat(t[0]))}})),r},displayTooltip(e,t,{nodes:n,opts:r={},customTooltipModel:o,extractedNodes:i=[],hide:a}){if(o&&!a){const{layout:a,chart:s}=o,{attrExps:l}=dx.getAttrExprData(a);i.length||n.length?ox.handlePromises({customTooltipModel:o,nodes:dx.getDataNodes(s,i.length>0?i:n),attrExps:l,opts:r}).then((()=>{t.emit("show",e,n.length?{nodes:n}:void 0)})):t.emit("show",e,n.length?{nodes:n}:void 0)}else{var s;null!=o&&null!==(s=o.miniChartToken)&&void 0!==s&&s.alternateState&&sx.hide({app:r.app,customTooltipModel:o}),t.emit("hide")}},checkIfPromisesExist:({customTooltipModel:e})=>ox.checkIfPromisesExist({customTooltipModel:e}),getAttrExps(e,t){var n;const r=t,o=null!==(n=e.qHyperCubeDef)&&void 0!==n&&n.qDimensions?"qAttributeExpressions":"qAttrExprInfo";return r[o]||(r[o]=[]),r[o]},getAttrExprData(e){var t;let n=[],r="";const o=(null===(t=e.qHyperCube)||void 0===t?void 0:t.qDimensionInfo)||[];if(o.length>0){var i;const t=o.length-1;n=(null===(i=e.qHyperCube)||void 0===i||null===(i=i.qDimensionInfo)||void 0===i||null===(i=i[t])||void 0===i?void 0:i.qAttrExprInfo)||[],r=`qDimensionInfo/${t}/qAttrExprInfo`}return{attrExps:n,fieldPath:r}},quarantineCustomTooltipAttrs(e,t={}){var n;if(!(null===(n=e.qLayoutExclude)||void 0===n||null===(n=n.quarantine)||void 0===n?void 0:n[Jb.CUSTOM.QUARANTINE])){!function(e,t){const n=t;let r=n.qLayoutExclude;r||(n.qLayoutExclude={quarantine:{}},r=n.qLayoutExclude),r.quarantine||(r.quarantine={}),r.quarantine[Jb.CUSTOM.QUARANTINE]=[],e.forEach((e=>{r.quarantine[Jb.CUSTOM.QUARANTINE].push(e)})),n.qLayoutExclude=r}(ux(t.qAttributeExpressions||[]),e)}},unquarantineCustomTooltipAttrs(e){var t;const n=e;(null===(t=e.qLayoutExclude)||void 0===t||null===(t=t.quarantine)||void 0===t?void 0:t[Jb.CUSTOM.QUARANTINE])&&delete n.qLayoutExclude.quarantine[Jb.CUSTOM.QUARANTINE]},setAttrsFromQuarantine(e,t){const n=lx(e);if(!n)return;const r=void 0!==t?t:n.length-1;if(!n[r])return;const o=this.getAttrExps(e,n[r]);if(0===ux(o).length){var i;const t=(null===(i=e.qLayoutExclude)||void 0===i||null===(i=i.quarantine)||void 0===i?void 0:i.customTooltip)||[],n=[...o,...t],a=e;a.qHyperCubeDef?a.qHyperCubeDef.qDimensions[r].qAttributeExpressions=n:a.qHyperCube.qDimensionInfo[r].qAttrExprInfo=n}},moveCustomTooltipAttrs(e,t={},n){let r=[];const o=lx(e)||[];[...o,t].forEach((e=>{const t=ux(e.qAttributeExpressions||[]);t.length>0&&(r=t)}));const i=cx(),a=o.map((e=>{const t=e,n=e.qAttributeExpressions||[];return t.qAttributeExpressions=n.filter((e=>!i[e.id])),t})),s=void 0!==n?n:a.length-1;a.length>0&&(a[s].qAttributeExpressions=a[s].qAttributeExpressions.concat(r));const l=e;e.qHyperCubeDef?l.qHyperCubeDef.qDimensions=a:l.qHyperCube.qDimensionInfo=a},addCallbackCustomTooltip(e){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e):(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},moveCallbackCustomTooltip(e,t){1===e.qHyperCubeDef.qDimensions.length&&(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e)),e.qHyperCubeDef.qDimensions.length>1&&this.moveCustomTooltipAttrs(e,t)},removeCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>0?this.moveCustomTooltipAttrs(e,t):this.quarantineCustomTooltipAttrs(e,t)},replaceCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e,t):(this.quarantineCustomTooltipAttrs(e,t),this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},shouldIgnoreDefaultRows(e){var t;return(null===(t=e.tooltip)||void 0===t?void 0:t.hideBasic)||0},DEBOUNCE_THRESHOLD:50,getFooterRow:(e,t)=>[{content:e,style:{"font-style":"italic","font-size":"12px","line-height":"16px",color:"rgba(255, 255, 255, 0.6)","text-align":t?"right":"left",direction:xe.detectTextDirection(e)},colspan:2},{}],getImageRow(e,t){const n=xe.detectTextDirection(e.src),r=[],o={style:{display:"block","margin-left":"auto","margin-right":"auto",overflow:"hidden",width:e.width,height:e.height}};if("original"===e.size||e.imageError){r.push(t.h("span",{style:{display:"inline-block",height:"100%","vertical-align":"middle"}}));const n=e.imageError?`${e.src}?${Math.random()}`:e.src;r.push(t.h("img",{style:{"max-width":e.width,"max-height":e.height,"vertical-align":"middle"},src:n,referrerpolicy:"no-referrer"})),o.style["text-align"]="center",o.style["white-space"]="nowrap"}else o.style["background-size"]="contain",o.style["background-repeat"]="no-repeat",o.style["background-position"]="center",o.style["background-image"]=`url('${e.src}')`;return[{content:[t.h("div",o,r),""],style:{"text-align":t.rtl?"right":"left",direction:n,"max-width":e.width},colspan:2},{}]}};function px(e,t,n,r){var o;const i=(null===(o=t.qHyperCube)||void 0===o||null===(o=o[n])||void 0===o||null===(o=o[r])||void 0===o?void 0:o.qAttrExprInfo)||[],a=[],s=e.qSubNodes&&e.qSubNodes[r]?e.qSubNodes[r].qAttrExps:e.qAttrExps;return s?(i.forEach(((e,t)=>{const o=s.qValues&&s.qValues[t]?s.qValues[t]:void 0,i=void 0===o?"NaN":function(e,t){let n;switch(e.id){case Jb.CUSTOM.EXPRESSION:n="NaN"===t.qNum||e.isCustomFormatted?void 0===t.qText?"NaN":t.qText:t.qNum;break;case Jb.CUSTOM.TITLE:case Jb.CUSTOM.DESCRIPTION:case Jb.CUSTOM.IMAGES:n=void 0===t.qText?e.qFallbackTitle:t.qText;break;default:n="NaN"}return n}(e,o);a.push({source:{key:"qHyperCube",field:`${n}/${r}/qAttrExprInfo/${t}`},label:i,value:"value"})})),a):a}const fx={getNode(e,{dimensionCount:t}){if(!t||t<1)return;const n=t-1,r="qDimensionInfo";return{field:`${r}/${n}`,value:t=>px(t,e,r,n)}}};const hx={getCustomAttrExps(e,t,n){var r;const o={customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]},i=(null===(r=t.data)||void 0===r||null===(r=r.customTooltipAttrExps)||void 0===r?void 0:r.value)||[];if(Number.isNaN(i))return o;return function(e,t,n,r){const o={[Jb.CUSTOM.TITLE]:!0,[Jb.CUSTOM.DESCRIPTION]:!0},{attrExps:i,fieldPath:a}=dx.getAttrExprData(e);return 0===t.length||0===i.length||""===a||i.forEach(((e,i)=>{const s=t[i];if(e.id===Jb.CUSTOM.EXPRESSION&&s){const t=e.qFallbackTitle,o="NaN"===s.value||e.isCustomFormatted?s.value:n("qHyperCube").field(`${a}/${i}`).formatter()(s.value);r.customTooltipAttrExpsArr.push({label:t,value:o})}else if(o[e.id]&&s){const t="-"!==s.value&&"NaN"!==s.value?s.value:s.label;t&&"undefined"!==t&&r.customTooltipInfoAttrExpsArr.push({...e.id===Jb.CUSTOM.TITLE&&{title:t},value:t,id:e.id})}})),r}(n,i.map((t=>Se.getMeasure(e,t))),e,o)}};function mx({nodes:e,layout:t,dataset:n}){const r=function(e,t,n){const r=[];return e.forEach((e=>{r.push(hx.getCustomAttrExps(n,e,t))})),r}(e,t,n);return r.reduce(((e,t)=>({customTooltipAttrExpsArr:e.customTooltipAttrExpsArr.concat(t.customTooltipAttrExpsArr),customTooltipInfoAttrExpsArr:e.customTooltipInfoAttrExpsArr.concat(t.customTooltipInfoAttrExpsArr)})),{customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]})}function gx(e){const t=Jb.CUSTOM.EXPRESSION,{qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}=e.qDef;return e.qLibraryId?{qLibraryId:e.qLibraryId,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}:{qExpression:e.qDef.qDef,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}}function yx(e){var t;const n=null===(t=e.qHyperCubeDef)||void 0===t?void 0:t.qDimensions;return n[n.length-1].qAttributeExpressions||[]}var vx={attrExpr:{migrateProperties(e){var t,n;const r=ae(!0,{},e),o=(null===(t=r.tooltip)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.qHyperCubeDef)||void 0===t?void 0:t.qMeasures)||[];let i=yx(r);return i=function(e,t){return t.concat(e.map((e=>gx(e))))}(o,i),function(e,t){var n;const r=null===(n=t.qHyperCubeDef)||void 0===n?void 0:n.qDimensions;r[r.length-1].qAttributeExpressions=e}(i,r),null===(n=r.tooltip)||void 0===n||delete n.data,r},getPatches(e){var t,n;const r=(null===(t=e.tooltip)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.qHyperCubeDef)||void 0===t?void 0:t.qMeasures)||[],o=(null===(n=e.qHyperCubeDef)||void 0===n?void 0:n.qDimensions.length)-1,i=function(e,t,n){let r=e.length;const o=[];return t.forEach((e=>{const t=gx(e),i=JSON.stringify(t);o.push({qPath:`/qHyperCubeDef/qDimensions/${n}/qAttributeExpressions/${r}`,qOp:"add",qValue:i}),r++})),o.push({qPath:"/tooltip/data",qOp:"remove"}),o}(yx(e),r,o);return i},checkForBackwardCompatibility:(e,t)=>(e.qMeasureInfo||[]).length>0&&t.length>0,updateProperties(e,t){return new Promise((n=>{var r,o,i;const a=(null===(r=t.qHyperCube)||void 0===r?void 0:r.qDimensionInfo)||[],s=(null===(o=t.tooltip)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.qHyperCube)||{},l=null===(i=t.qMeta)||void 0===i||null===(i=i.privileges)||void 0===i?void 0:i.includes("update");e&&e.getEffectiveProperties&&this.checkForBackwardCompatibility(s,a)&&e.getEffectiveProperties().then((t=>{if(l){const r=this.migrateProperties(t);e.setProperties(r).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}else{const r=this.getPatches(t);e.applyPatches(r,!0).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}})),n(!1)}))}}};const{CUSTOM:bx}=Jb;function xx({flags:e,layout:t,app:n,model:r,picasso:i,chart:a,translator:s,localeInfo:l,embed:c,options:u}){const d={properties:void 0},p=function({layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,embed:s}){return{layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,useCustomTooltip:e.tooltip&&!e.tooltip.auto,utils:dx,miniChartToken:{},embed:s}}({layout:t,app:n,model:r,picasso:i,chart:a,translator:s,localeInfo:l,embed:c}),f="rtl"===u.direction,h=()=>{var e;const n=!(null===(e=d.properties)||void 0===e||null===(e=e.qHyperCubeDef)||void 0===e||!e.qDimensions.some((e=>{var t;return null===(t=e.qCalcCondition)||void 0===t||null===(t=t.qCond)||void 0===t?void 0:t.qv})));return!(!t.tooltip||t.tooltip.auto||n)};return{setProperties:e=>{d.properties=e},isEnabled:()=>h(),hideBasic:()=>h()&&o(t,"tooltip.hideBasic",!1),getAttributes:({dataset:e,nodes:n})=>{var r,o;const i=mx({dataset:e,nodes:n,layout:t});return{title:null===(r=i.customTooltipInfoAttrExpsArr.find((e=>e.id===bx.TITLE)))||void 0===r?void 0:r.title,description:null===(o=i.customTooltipInfoAttrExpsArr.find((e=>e.id===bx.DESCRIPTION)))||void 0===o?void 0:o.value,measures:i.customTooltipAttrExpsArr}},hasImages:()=>dx.checkIfPromisesExist({customTooltipModel:p}),createImageRow:({value:e,h:t})=>dx.getImageRow(e,{h:t,rtl:f}),addImages:({nodes:r})=>{const o=dx.getDataNodes(a,r),{attrExps:i}=dx.getAttrExprData(t);return ox.handlePromises({customTooltipModel:p,nodes:o,attrExps:i,opts:{flags:e,app:n}})},chart:{isEnabled:()=>{return!!(h()&&null!==(e=t.tooltip)&&void 0!==e&&null!==(e=e.chart)&&void 0!==e&&null!==(e=e.object)&&void 0!==e&&e.refId&&c&&"function"==typeof(null==r?void 0:r.getEffectiveProperties));var e},hasLimitation:()=>{var e;return!(null==n||null===(e=n.isInModalSelection)||void 0===e||!e.call(n))},createContainer:({h:e})=>sx.createContainer({layout:t,ctx:{h:e,rtl:f}}),createLimitationRow:()=>dx.getFooterRow(s.get("properties.tooltip.notselectedmessage"),f),show:({nodes:e,properties:t})=>sx.show({app:n,properties:t,selectedNodes:e,customTooltipModel:p,rtl:f}),hasAlternateState:()=>{var e;return!(null===(e=p.miniChartToken)||void 0===e||!e.alternateState)},hide:()=>sx.hide({app:n,customTooltipModel:p}),destroy:()=>sx.destroyVisualization({customTooltipModel:p})}}}function Sx(e){return{layout:e,keys:{SCALE:{FILL:"fill"},COMPONENT:{DIMENSION_TITLE:"dimension-title",SLICES:"slices",PIE_LABELS:"pie-labels"}}}}function wx({chart:e,translator:t,layout:n,constraints:r,options:o,themeService:i,colorService:a,custom:s}){const l=n.qHyperCube.qMeasureInfo.length>1,u="rtl"===o.direction,{fontFamily:d}=i.getStyles();return c({chart:e,translator:t,config:{rtl:u,enable:()=>!r.passive,getColorSettings:()=>a.getSettings(),style:{fontFamily:d},main:{key:"tooltip",getGroupByValue:({data:e})=>e.value,collectibles:[{key:"slices",type:"slice",major:({data:e})=>e.value}],triggers:[{keys:["slices"],collect:{from:"single"},placement:"collectible"},{keys:["pie-labels","negative-indicators"],collect:{from:"dimension",by:({data:e})=>e.value},placement:"trigger"}],placement:({meta:e})=>({type:"slices"===e.triggerer?"slice":"bounds"}),section:({h:e,nodes:n,dataset:r,formatter:o,create:i,util:a})=>{const[c]=n,{title:u,description:d,measures:p}=s.isEnabled()?s.getAttributes({dataset:r,nodes:n}):{},f=[];u&&f.push(i.text({value:u,style:{bold:!0}})),d&&f.push(i.text({value:d}));const h=s.hideBasic();if(h&&!p.length&&(u||d)||f.push(i.text({value:c.data.label,style:{bold:!0}})),!h){f.push(i.color({nodes:n,property:"fill"}));const{num:e}=c.data;if(f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label})),l){const{radius:e}=c.data;f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label}))}f.push(i.measure({label:t?t.get("properties.dataPoints.labelmode.share"):"Share",value:o("share")(c.desc.share)}))}p&&f.push(...p.map((e=>i.measure({label:e.label,value:e.value,survive:{color:!0,duplicate:!0}})))),s.chart.isEnabled()&&(s.chart.hasLimitation()?(s.chart.destroy(),f.push(i.raw({value:s.chart.createLimitationRow()}))):f.push(i.raw({value:s.chart.createContainer({h:e})})));const{customTooltipImages:m}=c.data;return s.isEnabled()&&m&&f.push(...m.map((t=>i.raw({value:s.createImageRow({value:t,h:e})})))),f},layout:{grouping:!0},events:{tooltip:{beforeShow:({collectNodes:e})=>s.isEnabled()&&s.hasImages()?s.addImages({nodes:e()}):Promise.resolve(),afterShow:({expando:e,nodes:t})=>{s.chart.isEnabled()&&!s.chart.hasLimitation()&&s.chart.show({nodes:t,properties:e.get("properties")})}},interaction:{mouseleave:()=>{s.chart.isEnabled()&&s.chart.hasAlternateState()&&s.chart.hide()}}}},legend:{keys:{tooltip:"legend-color-cat",component:"legend-cat"}}}})}function Cx({scaleKey:e,legend:t,onEdited:n}){const{layout:r}=t,{dock:o}=r||{};return{type:"brush-range",key:"legendRangeBrush",layout:{dock:"@legend-seq"},on:n?{bubbleEnd(){n()}}:{},settings:{brush:"selection",scale:`${e}Range`,direction:"left"===o||"right"===o?"vertical":"horizontal",bubbles:{align:"left"===o||"top"===o?"end":"start",placement:"outside"},target:{selector:'[id="legend-seq-target"]',fillSelector:'[id="legend-seq-ticks"]',fill:"rgba(82,204,82,0.2)"}}}}const kx=.8,Ex=.55,Tx=.3,Rx={CORNER_RADIUS:0,INNER_RADIUS:Ex,STROKE:{COLOR:"#FFFFFF",WIDTH:{NONE:0,SMALL:2,MEDIUM:4,LARGE:6}}},Mx=({layout:e},t,n)=>t.encodings.slice.outerRadius?{scale:"radius",fn:t=>{var r,o;let i=kx,a=0;const s=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:Ex;e.donut.showAsDonut&&(i=kx-s,a=s);return t.scale(Math.max(0,t.datum.radius.value))*i+a}}:kx,Px=({layout:e},t,n)=>{var r,o;if(!e.donut.showAsDonut)return 0;const i=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:Ex;return t.encodings.slice.outerRadius?{scale:"radius",fn:e=>{const t=kx-i,n=i;return e.scale(Math.min(0,e.datum.radius.value))*t+n}}:i},Ox=({layout:e},t)=>{var n,r,o,i,a;const s=t.colorService.getDatumProps(),l=s[Object.keys(s)[0]],c=l&&l.field?l.field:void 0,u="qDimensionInfo/0"===c,d=c?t.ds.field(c).raw():null,p=d&&(d.label||d.title||d.qFallbackTitle)||"",f=t.encodings.slice.outerRadius,{formatter:h}=t.chart,m=me.getValue(e,"qHyperCube.qDimensionInfo",[]).length;function g(e,n){const r=t.ds.field(e).raw();return{field:e,label:!r.isCustomFormatted&&(r.qIsAutoFormat||"U"===r.qNumFormat.qType)?e=>h(n)(e.qNum):e=>e.qText}}const y=(e.components||[]).filter((e=>"slices"===e.key))[0];return{type:"pie",key:"slices",data:{extract:{field:"qDimensionInfo/0",props:{...s,num:g(t.encodings.slice.arc,"arc"),fillTooltip:c?{field:c,label:p,value:e=>u?e.qText||"-":void 0!==e.qNum&&"NaN"!==e.qNum?e.qText?e.qText:e.qNum:e.qText||"-"}:void 0,customTooltipAttrExps:0!==m?fx.getNode(e,{dimensionCount:m}):void 0,radius:f?g(f,"outerRadius"):void 0}}},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3},active:{stroke:"rgba(52, 52, 52, 0.7)",strokeWidth:2}}},{context:"highlight",data:[""],style:{inactive:{fill:"#BFDAD9"},active:{fill:"#68B2AF"}}}]},settings:{startAngle:()=>t.viewState.get("rotation"),endAngle:()=>t.viewState.get("rotation")+2*Math.PI,slice:{arc:{ref:"num"},innerRadius:Px({layout:e},t,y),fill:t.colorService.getColor(),strokeWidth:null!=y&&null!==(n=y.style)&&void 0!==n&&n.strokeWidth?Rx.STROKE.WIDTH[y.style.strokeWidth.toUpperCase()]:Rx.STROKE.WIDTH.NONE,stroke:null!==(r=null==y||null===(o=y.style)||void 0===o||null===(o=o.strokeColor)||void 0===o?void 0:o.color)&&void 0!==r?r:Rx.STROKE.COLOR,outerRadius:Mx({layout:e},t,y),cornerRadius:null!==(i=null==y||null===(a=y.style)||void 0===a?void 0:a.cornerRadius)&&void 0!==i?i:0}},animations:{enabled:t.animations.enabled,isMainComponent:!0}}};function Dx({layout:e},t){var n,r;const o=(e.components||[]).filter((e=>"slices"===e.key))[0],i=null!==(n=null==o||null===(r=o.style)||void 0===r?void 0:r.innerRadius)&&void 0!==n?n:Ex,a=t.encodings.slice.outerRadius,s=t.themeService.getStyles();return!(!e.donut.showAsDonut||!a)&&{type:"pie",key:"zeroLine",data:{items:[1]},settings:{slice:{arc:1,fill:"transparent",innerRadius:0,strokeWidth:1,stroke:s.label.name.color,outerRadius:{scale:"radius",fn:e=>{const t=kx-i,n=i;return e.scale(0)*t+n}}}},animations:{enabled:t.animations.enabled}}}function Ix(e){return{type:"pie-dividers",key:"pie-dividers",layout:{displayOrder:2},settings:{component:"slices",selector:"path"},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:e.animations.enabled,trackBy:()=>Math.random()}}}function Ax({layout:e},t){if(e.donut.showAsDonut||!t.encodings.slice.outerRadius)return!1;return{type:"negative-indicators",key:"negative-indicators",layout:{displayOrder:2},settings:{component:"slices",selector:"path",offset:5,size:4,fill:t.themeService.getStyles().label.name.color},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:t.animations.enabled}}}const qx=()=>({key:"area",type:"brush-area",settings:{brush:{components:[{key:"slices",contexts:["selection"],action:"add"}]}},style:{area:{fill:"transparent",strokeWidth:2,stroke:"black",strokeDasharray:"5 5",opacity:.7}}}),Nx=()=>({key:"lasso",type:"brush-lasso",layout:{displayOrder:99},settings:{brush:{components:[{key:"slices",contexts:["selection"]}]},lasso:{fill:"rgba(0, 0, 0, 0)",stroke:"black",strokeWidth:2,opacity:.7,strokeDasharray:[]},snapIndicator:{threshold:75,strokeDasharray:"5, 5",stroke:"black",strokeWidth:2,opacity:.7},startPoint:{r:10,stroke:"rgba(77, 192, 78, 1)",strokeWidth:0,opacity:1}}});function Lx(e){const t=e.node.desc&&e.node.desc.share;return t?e.formatter("share")(t):""}function zx(e){return e.node.data.num.label}function jx(e){return e.node.data.radius.label}function _x(e,t,n){if(e.dataPoint.auto)return n?zx:Lx;if("share"===e.dataPoint.labelMode)return Lx;if("value"===e.dataPoint.labelMode){return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?jx:zx}return null}function $x({data:e}){return e?e.label:""}function Fx(e){const t=parseInt(e,10);if(!isNaN(t))return t}const Hx=e=>t=>e.getContrastingColorTo(t.node.attrs.fill);function Wx(e){var t,n;const r=((e&&e.components?e.components:void 0)||[]).filter((e=>"slices"===e.key))[0];return(null!==(t=null==r||null===(n=r.style)||void 0===n?void 0:n.innerRadius)&&void 0!==t?t:Ex)>Tx}function Bx({node:e,data:t}){return ae({_share:e.desc.share,_fillColor:e.attrs.fill},t)}function Ux(e,t,n){const r=t.styleService.label.name.getStyle(),o=[{padding:10,direction:t.encodings.slice.outerRadius?"rotate":"horizontal",placements:[{position:"outside",padding:t.encodings.slice.outerRadius?4:2,fill:r.fill}],fontSize:Fx(r.fontSize),fontFamily:r.fontFamily,label:$x,linkData:({node:e,data:t})=>ae({_share:e.desc.share,_fillColor:e.attrs.fill,_showTooltip:!0},t)}];if(_x(e,t,!1)){const r=function(e,t,n){return{label:_x(e,t,!1),simplifiedPlacements:[{position:e.donut.showAsDonut&&Wx(e)?"inside":"into",onBackground:e.donut.showAsDonut&&Wx(e),padding:4}],theme:n.theme,themeId:"object.pieChart"}}(e,t,n),i=ke(ae(t,r),n.theme);i.linkData=Bx,o.push(i)}return{key:"pie-labels",type:"labels",renderer:Qo(t.flags),layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"slice",settings:{labels:o}}}]},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3}}}]},animations:{enabled:t.animations.enabled,trackBy:()=>Math.random()}}}function Vx({layout:e,context:t},n){return!1!==e.dataPoint.show&&(1===n.dataRowCount?function(e,t,n){const r=_x(e,t,!0),o=Hx(n.theme),i=t.themeService.getStyles(),a=t.styleService.label.name.getStyle(),s=t.styleService.label.value.getStyle(),l=a.fill===i.label.name.color,c=s.fill===i.label.value.color;return{key:"pie-labels",type:"labels",renderer:Qo(t.flags),layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"rows",settings:{align:.5,justify:.5,padding:10,labels:[{fontSize:Fx(a.fontSize),fontFamily:a.fontFamily,fill:l&&!e.donut.showAsDonut?o:a.fill,label:$x,linkData:({data:e})=>e},{fontSize:Fx(s.fontSize),fontFamily:s.fontFamily,fill:c&&!e.donut.showAsDonut?o:s.fill,label:r,linkData:({data:e})=>e}]}}}]},animations:{enabled:t.animations.enabled,trackBy:()=>Math.random()}}}(e,n,t):Ux(e,n,t))}const Gx=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendRange",enable(t,n){if(this.started||!n)return!0;if(e.constraints.select||e.constraints.active)return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-seq"===e.type)),o=(r||function(e){const{target:t}=e.srcEvent;return!(!t||!(t.hasAttribute("data-other-value")&&t.hasAttribute("data-idx")||"INPUT"===t.nodeName))}(n))&&!e.isLocked([this.chart.component("slices")]);return o||this.chart.component("legendRangeBrush").emit("rangeClear"),o}},events:{legendRangestart(t){t.preventDefault(),e.interactions.emit("selections-start"),this.chart.component("legendRangeBrush").emit("rangeStart",t),this.started=!0},legendRangemove(e){e.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeMove",e)},legendRangeend(t){t.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeEnd",t),e.onSelect(),this.started=!1}}});function Kx(e,t){const n=t.element.getBoundingClientRect();let r,o;return e.center?(({x:r}=e.center),({y:o}=e.center)):(r=e.clientX,o=e.clientY),{x:r-n.left,y:o-n.top}}function Yx(e,t){const n=t.component("slices");if(!n)return!1;const{x:r,y:o}=Kx(e,t),i=n.rect.x+n.rect.margin.left+n.rect.width/2,a=n.rect.y+n.rect.margin.top+n.rect.height/2,s=Math.min(n.rect.width,n.rect.height)/2*kx;return(i-r)**2+(a-o)**2<=s**2}const Xx=(e,t,{requireFailure:n,recognizeWith:r}={})=>({type:"Tap",requireFailure:n,recognizeWith:r,options:{event:"tap",interval:10,pointers:1,enable(t,n){return!n||!e.constraints.select&&!e.constraints.active&&(this.components=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).filter((e=>"slices"===e.key||"legend-cat"===e.key||"pie-labels"===e.key)),this.components.length)}},events:{tap(n){n.preventDefault();const{target:r}=n.srcEvent;if(r&&("INPUT"===r.nodeName||r.hasAttribute("data-other-value")))return void this.chart.component("legendRangeBrush").emit("bubbleStart",n);if(r&&r.hasAttribute("data-action")&&r.hasAttribute("data-component-key"))return void this.chart.component(r.getAttribute("data-component-key")).emit(r.getAttribute("data-action"));if(r&&r.children&&r.children[0]&&"legend-cat"===r.children[0].getAttribute("data-component-key"))return;if(e.isLocked(this.components))return;e.interactions.emit("selections-start");let o=Kx(n,this.chart);this.components.some((e=>"legend-cat"===e.key))&&(o={cx:o.x,cy:o.y,r:5});const i=this.chart.shapesAt(o,{components:[{key:"slices",propagation:"stop"},{key:"legend-cat",propagation:"stop"},{key:"pie-labels",propagation:"stop"}],propagation:"stop"});i.length&&(this.chart.brushFromShapes(i,{components:[{key:i[0].key,action:n.srcEvent.ctrlKey||t?"set":"toggle",contexts:["selection"]}]}),e.onSelect())}}}),Zx=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"lasso",enable(t,n){if(this.isStarted||!n)return!0;if(e.constraints.active||e.constraints.select||!e.interactions.lasso.active())return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return!e.isLocked(r)&&r.some((e=>"slices"===e.key))}},events:{lassostart(t){t.preventDefault(),e.constraints.select||e.constraints.active||this.isStarted||(e.interactions.emit("selections-start"),this.chart.component("lasso").emit("lassoStart",t),this.isStarted=!0)},lassomove(e){e.preventDefault(),this.chart.component("lasso").emit("lassoMove",e)},lassoend(t){t.preventDefault(),this.isStarted=!1,this.chart.component("lasso").emit("lassoEnd",t),e.onSelect()}}}),Jx=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Tap",requireFailure:t,recognizeWith:n,options:{event:"areatap",pointers:2,enable(t,n){if(this.started||!n)return!0;if(e.constraints.active||e.constraints.select)return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return r.some((e=>"slices"===e.key))&&!e.isLocked(r)}},events:{areatap(t){const n=this.chart.component("area");n&&!this.started&&(e.interactions.emit("selections-start"),n.emit("areaStart",t.pointers[0]),n.emit("areaMove",t.pointers[1]),this.started=!0,setTimeout((()=>{n.emit("areaEnd"),e.onSelect(),this.started=!1}),100)),t.preventDefault()}}});function Qx(e){return{type:"native",key:"theusual",events:{wheel(t){let n=!1;if(!e.constraints.active&&Yx(t,this.chart)){const r=Math.sign(-t.deltaY);e.viewState.set("rotation",r*(Math.PI/12)),n=!0}else if(!e.constraints.select&&!e.constraints.active){const e=this.chart.componentsFromPoint(t).filter((e=>"legend-cat"===e.key))[0];e&&(n=!0,function(e,t){const n=(Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY)>=0?"next":"prev";t.emit(n)}(t,e))}n&&t.preventDefault()}}}}const eS=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"rotate",pointers:1,threshold:10,enable(t,n){return!(!this.started&&n)||!e.constraints.active&&!e.interactions.lasso.active()&&Yx(n,this.chart)}},events:{rotatestart(e){e.preventDefault();const t=this.chart.component("slices").rect,n=this.chart.element.getBoundingClientRect();this.pieCenter={x:n.left+t.x+t.width/2,y:n.top+t.y+t.height/2},this.prevAngle=Math.atan2(e.center.y-this.pieCenter.y,e.center.x-this.pieCenter.x),this.started=!0},rotatemove(t){t.preventDefault();const n=Math.atan2(t.center.y-this.pieCenter.y,t.center.x-this.pieCenter.x);e.viewState.set("rotation",n-this.prevAngle),this.prevAngle=n},rotateend(e){e.preventDefault(),this.started=!1},rotatecancel(e){e.preventDefault(),this.started=!1}}}),tS=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendPan",pointers:1,threshold:10,enable(t,n){return!(!this.isStarted&&n)||!e.constraints.active&&this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-cat"===e.type))}},events:{legendPanstart(e){if(e.preventDefault(),!this.isStarted){this.components=this.chart.componentsFromPoint({x:e.center.x,y:e.center.y}),this.components.forEach((t=>{t.emit("panstart",e)})),this.isStarted=!0;const t=this.chart.component("tooltip");t&&t.show&&t.emit("hide")}},legendPanmove(e){this.components.forEach((t=>{t.emit("panmove",e)})),e.preventDefault()},legendPanend(e){e.preventDefault(),this.components.forEach((t=>{t.emit("panend",e)})),this.isStarted=!1}}}),nS=(e,t,n)=>({key:"hammered",type:"hammer",enable:!0,gestures:t?[eS(e,{}),Xx(e,t,{}),...n]:[Gx(e,{}),Jx(e,{}),eS(e,{}),Zx(e,{}),tS(e,{}),Xx(e,t,{}),...n]});function rS(e,t,n){const r=e.getIsSingleSelect(0),{constraints:o}=n;if(o.active&&o.passive)return[];const i=t.tooltipService.getInteractions();return[nS(t,r,i.gestures),Qx(t),i.native]}function oS({settings:e},t){const n={share:{type:"d3-number",format:".1%"},arc:{data:{field:t.encodings.slice.arc}},fill:e.scales.fill&&e.scales.fill.data&&e.scales.fill.data.field?{data:{field:e.scales.fill.data.field}}:{}};return t.encodings.slice.outerRadius&&(n.outerRadius={data:{field:t.encodings.slice.outerRadius}}),n}function iS({layout:e},t,n){if(!e.dimensionTitle)return!1;const r=t.properties,o=t.styleService.axis.title.getStyle();return{key:"dimension-title",type:"data-title",layout:{minimumLayoutMode:"SMALL",dock:"top"},settings:{hyperCube:e.qHyperCube,hyperCubeDef:r&&r.qHyperCubeDef,isDimension:!0,disabled:()=>n.constraints.active||!n.model,model:t.model,app:t.app,translator:t.translator,rtl:n.rtl,selections:t.selections,isEnabled:t.flags.isEnabled},style:{fontFamily:o.fontFamily,fontSize:o.fontSize,color:o.color}}}function aS({layout:e},t,n){const r=function(e,t){const n={field:"qDimensionInfo/0",props:{num:{field:t.encodings.slice.arc}}};t.encodings.slice.outerRadius&&(n.props.radius={field:t.encodings.slice.outerRadius});let r=t.ds.extract(n);if(0===r.length)return"NoDataExist";const o=me.getValue(e,"qHyperCube.qSize.qcy");if(me.getValue(e,"qHyperCube.qDataPages.0.qArea.qHeight")<o)return"LimitedData";if(r=t.encodings.slice.outerRadius?r.filter((e=>"NaN"!==e.num.value&&"NaN"!==e.radius.value)):r.filter((e=>"NaN"!==e.num.value)),0===r.length)return"OnlyNanData";const i=r;return r=t.encodings.slice.outerRadius&&!e.donut.showAsDonut?r.filter((e=>e.num.value>0&&e.radius.value>0)):r.filter((e=>e.num.value>0)),0===r.length?"OnlyNegativeOrZeroValues":i.length!==r.length&&"NegativeOrZeroValues"}(e,t),{fontFamily:o}=t.themeService.getStyles();return function(e,t,n,r={}){if(!e)return!1;const{translator:o}=t,{rtl:i}=n;return{key:"disclaimer",type:"disclaimer",layout:{dock:ce[e].alignment},settings:{label:o.get(`Object.Disclaimer.${e}`),isRTL:i},style:r}}(r,t,n,{fontFamily:o})}function sS({layout:e,context:t,selectionService:n},r={}){const o=function({layout:e}={},t={}){const n={};return ae(n,t.colorService.getScales()),t.encodings.slice.outerRadius&&ae(n,function({layout:e},t){const n={radius:{type:"linear",include:[0],data:{extract:{field:t.encodings.slice.outerRadius}}}};return e.donut.showAsDonut||(n.radius.min=0),n}({layout:e},t)),n}({layout:e},r),i={scales:o};let a=[];const s=aS({layout:e},r,t);if(s&&"center"===s.layout.dock)return{components:[s]};const l=t.constraints.select||t.constraints.active,c=r.colorService.getLegend({eventName:"legend",key:"legend",viewState:r.viewState,chart:r.chart,styleReference:"object.pieChart",styleOverrides:{title:r.styleService.legend.title.getStyle(),label:r.styleService.legend.label.getStyle()},rtl:t.rtl},{navigationDisabled:l});return o.fillRange&&c.components[0]&&("right"===c.components[0].layout.dock||"left"===c.components[0].layout.dock||t.rtl)&&(o.fillRange.invert=!0),a=[Ox({layout:e,settings:i},r),Dx({layout:e},r),Ix(r),Ax({layout:e},r),iS({layout:e},r,t),...c.components,Cx({settings:i,scaleKey:"fill",legend:c.components[0]||{},onEdited:r.onSelect}),Nx(),qx(),Vx({layout:{components:e.components,dataPoint:ae({},e.dataPoint,{show:!(e.effectPath&&e.snapshotData&&!1===e.dataPoint.show)}),donut:e.donut},context:t},r),...r.tooltipService.getComponents(),(!1!==e.showDisclaimer||!r.flags.isEnabled("SHOW_DISCLAIMER"))&&s],a=a.filter((e=>!1!==e)),{interactions:rS(n,r,t),scales:o,components:r.pluginService.extendComponents(a),palettes:r.colorService.getPalettes(),formatters:oS({settings:i},r),strategy:fe(0,r)}}function lS({instance:e,services:t,picasso:n,flags:o}){const i=k(),a=I(),s=A(),l=P(),c=z(),u=q(),d=T(),p=L(),{qLocaleInfo:h}=j(),[m]=$((()=>{if(!t)return Promise.resolve();vx.attrExpr.updateProperties(a,u);return Promise.all([t.colorService.initialize({createConfig:({getUseBaseColors:e})=>({theme:c,legendProps:u.legend,layout:u,localeInfo:h,hc:u.qHyperCube,colorProps:{...u.color,useBaseColors:e(u)}})}),a&&!u.snapshotData?a.getEffectiveProperties():Promise.resolve({}),t.pluginService.initialize()])}),[t]);D((()=>{null!=e&&e.selectionService&&e.selectionService.setLayout(u)}),[u]),D((()=>{if(!e||!m)return;const{chart:g,viewState:y,interactions:v,viewCache:b}=e,{colorService:x,pluginService:S,themeService:w,tooltipService:C,styleService:k}=t,E=i.viewState||{};u.snapshotData||(y.preventSet("legendScrollOffset",E.legendScrollOffset||0),y.preventSet("rotation",E.rotation||0)),function(e,t){e&&e.snapshotData&&e.snapshotData.content&&e.snapshotData.content.chartData&&(t.preventSet("legendScrollOffset",e.snapshotData.content.chartData.legendScrollOffset),t.preventSet("rotation",e.snapshotData.content.chartData.rotation))}(u,y),C.expando.set("properties",m[1]);const T=n.data("q")({key:"qHyperCube",data:u.qHyperCube,config:{localeInfo:h}}),R=[{type:"q",key:"qHyperCube",data:u.qHyperCube,config:{localeInfo:h}},...x.getData()],M={slice:{arc:"qMeasureInfo/0"}};u.qHyperCube.qMeasureInfo.length>1&&(M.slice.outerRadius="qMeasureInfo/1");const P=function(e,t){if(t.slice.outerRadius)return e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc},radius:{field:t.slice.outerRadius}}}).filter((e=>e.num.value>0&&"NaN"!==e.radius.value)).length;return e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc}}}).filter((e=>e.num.value>0)).length}(n.data("q")({data:u.qHyperCube,config:{localeInfo:h}}),M),O=d?()=>{const e=g.brush("selection");r.selections(e,{},u).forEach((e=>{d.select(e)}))}:()=>{},D=u.snapshotData&&!i.freeResize?{width:(u.snapshotData.content.size||u.snapshotData.object.size).w,height:(u.snapshotData.content.size||u.snapshotData.object.size).h}:void 0,I=t=>e.selectionService.getIsSelectionLocked(t),A=()=>sS({layout:u,context:{rtl:"rtl"===i.direction,theme:c,translator:l,constraints:p,model:a},selectionService:e.selectionService},{picasso:n,ds:T,model:a,app:s,chart:g,onSelect:O,isLocked:I,interactions:v,constraints:p,translator:l,viewState:y,dataRowCount:P,encodings:M,colorService:x,pluginService:S,themeService:w,styleService:k,tooltipService:C,debouncer:f,properties:m[1],logicalSize:D,flags:o,animations:{enabled:()=>function({viewState:e,options:t,viewCache:n,layout:r,chart:o}){return!1!==t.chartAnimations&&n.get("chartWidth")===o.element.clientWidth&&n.get("chartHeight")===o.element.clientHeight&&n.get("hasZeroLine")===!!o.component("zeroLine")&&0===e.get("rotation")&&!Jo.propertiesHaveChanged({viewCache:n,layout:r})}({viewState:y,options:i,layout:u,viewCache:b,chart:g})}});e.generateSettings=A;const q=A();g.update({data:R,settings:q}),b.set("chartWidth",g.element.clientWidth),b.set("chartHeight",g.element.clientHeight),b.set("hasZeroLine",q.components.filter((e=>"zeroLine"===e.key)).length>0),Jo.cacheProperties({viewCache:b,layout:u}),i.effect&&u.effectProperties?i.effect.update(u,g,{encodings:M}):u.effectPath||g.brush("highlight").end()}),[e,m,i.direction,i.effectProperties,p,c.name(),l.language()])}const cS="legend-cat";function uS({instance:e,services:t}){const n=E(),r=q();H((o=>{if(!(r.snapshotData&&r.snapshotData.content&&r.snapshotData.content.chartData)&&(function(e,t){const n=t.getBoundingClientRect();e.snapshotData=e.snapshotData||{},e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.size=e.snapshotData.content.size||{w:n.width,h:n.height}}(o,n),e&&t))return function({layout:e,chart:t,viewState:n,colorService:r}){return e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.chartData={legendScrollOffset:ge(t,cS),rotation:n.get("rotation")},r.getSnapshotData().then((t=>{e.snapshotData.content.chartData={...e.snapshotData.content.chartData,...t}})).catch((()=>{}))}({layout:o,chart:e.chart,colorService:t.colorService,viewState:e.viewState})})),W((()=>({getViewState:()=>({rotation:e.viewState.get("rotation"),legendScrollOffset:ge(e.chart,"legend-cat")})})),[e])}const dS={setValue(e,t,n){if(!t)return;const r=t.split(".");let o=e;const i=r[r.length-1];let a;for(a=0;a<r.length-1;++a)null==o[r[a]]&&(o[r[a]]=Number.isNaN(+r[a+1])?{}:[]),o=o[r[a]];void 0!==n?o[i]=n:delete o[i]},getValue(e,t,n){const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(null==i[r[o]])return n;i=i[r[o]]}return i}},pS={getDimensions:e=>dS.getValue(e,"qHyperCubeDef.qDimensions",[]),getNumDimensions:e=>dS.getValue(e,"qHyperCubeDef.qDimensions.length",0),getMeasures:e=>dS.getValue(e,"qHyperCubeDef.qMeasures",[]),getNumMeasures:e=>dS.getValue(e,"qHyperCubeDef.qMeasures.length",0),getDimensionLayouts(e,t){const n=dS.getValue(e,t?`${t}.qHyperCube`:"qHyperCube",null);return n?n.qDimensionInfo:[]},getDimensionLayout(e,t,n){return this.getDimensionLayouts(t,n).filter((t=>e===t.cId))[0]},getMeasureLayouts(e,t){const n=dS.getValue(e,t?`${t}.qHyperCube`:"qHyperCube",null);return n?n.qMeasureInfo:[]},getMeasureLayout(e,t,n){return this.getMeasureLayouts(t,n).filter((t=>e===t.cId))[0]}};const fS={colorModeOptions:{primary:()=>!0,dimension:()=>!0,multiColor:()=>!1,measure:()=>!0,expression:e=>pS.getNumMeasures(e)>=1},showLegend:e=>{const t=dS.getValue(e,"color.auto"),n=dS.getValue(e,"color.expressionIsColor"),r=dS.getValue(e,"color.mode");return!(!t&&"primary"===r||!t&&"byExpression"===r&&(n||void 0===n))},persistentColorsShow:e=>!dS.getValue(e,"color.auto")&&"byDimension"===dS.getValue(e,"color.mode"),useDimValColShow:e=>(void 0===dS.getValue(e,"color.useDimColVal")&&dS.setValue(e,"color.useDimColVal",!1),!dS.getValue(e,"color.auto")&&"byDimension"===dS.getValue(e,"color.mode")&&"libraryItem"===dS.getValue(e,"color.byDimDef.type"))},hS=function(e){const{colorModeOptions:t,persistentColorsShow:n,useDimValColShow:r,showLegend:o}=fS;this.color={colorMode:{options(n){const r=[];return"explore"===e&&r.push({value:"auto",translation:"Common.Auto"}),t.primary(n)&&r.push({value:"primary",translation:"properties.colorMode.primary"}),t.multiColor(n)&&r.push({value:"byMultiple",translation:"properties.colorMode.multicolored"}),t.dimension(n)&&r.push({value:"byDimension",translation:"properties.colorMode.byDimension"}),t.measure(n)&&r.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"}),t.expression(n)&&"explore"!==e&&r.push({value:"byExpression",translation:"properties.colorMode.byExpression"}),r}},persistentColors:{show:e=>r(e)?n(e)&&!dS.getValue(e,"color.useDimColVal"):n(e)},useDimColVal:{show:r}},this.legend={show:o,showTitle:{show(e){const t=dS.getValue(e,"color.auto");return dS.getValue(e,"legend.show")&&o(e)&&(t||!function(e){return"byExpression"===dS.getValue(e,"color.mode")&&!0===dS.getValue(e,"color.expressionIsColor")}(e))}},dock:{show:e=>dS.getValue(e,"legend.show")&&o(e)}}};function mS(e){return new hS(e)}const gS={classification:{section:"styling",tags:["simple"],exclusive:!0},component:"items",show:!0,chartType:"piechart",translation:"LayerStyleEditor.component.styling",chartTitle:"Object.PieChart",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,items:{strokeSection:{translation:"properties.Outline",component:"items",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{translation:"LayerStyleEditor.style.strokeWidth",ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{component:"items",translation:"LayerStyleEditor.style.cornerRadius",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",translation:"LayerStyleEditor.style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"items",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",translation:"LayerStyleEditor.style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}}}},yS=(e,t,n)=>{const r=`${e}.fontFamily`,o=`${e}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:r,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r)},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:o,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o)},fontColorItem:{component:"color-picker",width:!1,ref:`${e}.color`,defaultValue:()=>({color:n.getStyle("object.pieChart",e,"color")})}}}}},vS={component:"style-editor",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",resetBtnTranslation:"LayerStyleEditor.component.resetAll",key:"slices",ref:"components",defaultValues:{key:"slices",style:{strokeColor:{index:-1,color:"#FFFFFF"},strokeWidth:"none",cornerRadius:0,innerRadius:.55}},items:{slices:{components:"items",type:"items",uses:"styling.slice",items:{strokeWidth:{show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"LayerStyleEditor.style.strokeWidth.none"},{value:"small",translation:"LayerStyleEditor.style.strokeWidth.small"},{value:"medium",translation:"LayerStyleEditor.style.strokeWidth.medium"},{value:"large",translation:"LayerStyleEditor.style.strokeWidth.large"}],defaultValue:"none"},strokeColor:{show:e=>"none"!==e.style.strokeWidth},cornerRadius:{component:"slider",min:0,max:40,step:.05,defaultValue:0,show:!0},innerRadius:{component:"slider",min:.05,max:.75,step:.01,defaultValue:.55,show:(e,t,n)=>n.layout.donut.showAsDonut}}}}},bS=(e,t,n,r)=>{const o=h({theme:r,translator:n,flags:t,config:{id:"pieChart",paths:["axis.title","label.name","label.value","legend.title","legend.label"]}});return{component:"styling-panel",chartTitle:"Object.PieChart",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,useBackground:e,items:{strokeSection:{translation:"properties.Outline",component:"panel-section",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{translation:"LayerStyleEditor.style.cornerRadius",component:"panel-section",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"panel-section",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}},axisTitleSection:null!=t&&t.isEnabled("CLIENT_IM_3050")?{translation:"properties.dataPoints.dimensionlabels",component:"panel-section",items:{axisTitleItems:{component:"items",ref:"components",key:"axis",items:yS("axis.title",o,r)}}}:void 0,labelNameSection:null!=t&&t.isEnabled("CLIENT_IM_3050")?{translation:"properties.dataPoints.dimensionValueLabel",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"label",items:yS("label.name",o,r)}}}:void 0,labelValueSection:null!=t&&t.isEnabled("CLIENT_IM_3050")?{translation:"properties.value.label",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"label",items:yS("label.value",o,r)}}}:void 0,legendTitleSection:null!=t&&t.isEnabled("CLIENT_IM_3051")?{translation:"properties.legend.title",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"legend",items:yS("legend.title",o,r)}}}:void 0,legendLabelSection:null!=t&&t.isEnabled("CLIENT_IM_3051")?{translation:"properties.legend.label",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"legend",items:yS("legend.label",o,r)}}}:void 0}}},xS=mS("hard");const SS=e=>{var t;null!==(t=e.color)&&void 0!==t&&t.auto||(i(e,"color.mode","byDimension"),i(e,"color.byDimDef.activeDimensionIndex",0),i(e,"color.persistent",!1))},wS=e=>{var t;const n=[{value:"primary",translation:"properties.colorMode.primary"},{value:"byDimension",translation:"properties.colorMode.byDimension"}];switch(null===(t=e.color)||void 0===t?void 0:t.mode){case"byMultiple":n.push({value:"byMultiple",translation:"properties.colorMode.multicolored"});break;case"byMeasure":n.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"});break;case"byExpression":n.push({value:"byExpression",translation:"properties.colorMode.byExpression"})}return n},CS=e=>{var t;const{flags:n,translator:r}=e||{},o=null==e||null===(t=e.sense)||void 0===t?void 0:t.theme,a=null==n?void 0:n.isEnabled("SENSECLIENT_IM_2429_PIECHART_BG"),s={items:{simpleItems:{items:{autoColor:{label:e=>{var t;return null!==(t=e.color)&&void 0!==t&&t.auto?r.get("Simple.Color.Auto",r.get("properties.colorMode.byDimension")):r.get("Common.Custom")},change:SS},colorMode:{options:wS}}}}},l={items:{labels:{items:{header:{show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length},pointLabels:{component:"checkbox",ref:"dataPoint.auto",type:"boolean",defaultValue:!0,translation:"Simple.Label.Value",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,change(e){e.dataPoint.auto||i(e,"dataPoint.labelMode","none")}},dimensionTitle:{component:"checkbox",ref:"dimensionTitle",type:"string",translation:"Simple.Label.Dimension.Hide",defaultValue:"all",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,convertFunctions:{get:(e,t,n,r)=>!r.dimensionTitle,set(e,t,n,r,o){o.dimensionTitle=!e}}}}}}},c={uses:"settings",items:{simpleStyling:null!=n&&n.isEnabled("PIECHART_SIMPLE_STYLING")?gS:void 0,simpleLabels:l,general:{items:{showDisclaimer:null!=n&&n.isEnabled("SHOW_DISCLAIMER")?{translation:"properties.showDisclaimer",type:"boolean",ref:"showDisclaimer",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Show"},{value:!1,translation:"properties.hide"}]}:void 0}},presentation:{type:"items",translation:"properties.presentation",grouped:!0,items:{sliceStyling:null!=n&&n.isEnabled("SENSECLIENT_PS_17478_STYLINGPANEL_PIECHART")?bS(a,n,r,o):vS,showAsDonut:{ref:"donut.showAsDonut",type:"boolean",component:"item-selection-list",defaultValue:!1,horizontal:!0,items:[{icon:"pie_chart_pie",component:"icon-item",labelPlacement:"bottom",translation:"properties.pie",value:!1},{icon:"pie_chart_donut",component:"icon-item",labelPlacement:"bottom",translation:"properties.donut",value:!0}]},labels:{type:"items",snapshot:{tid:"property-labels"},items:{dimensionTitle:{ref:"dimensionTitle",type:"boolean",component:"switch",translation:"properties.dataPoints.dimensionlabels",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}]},valuesAuto:{ref:"dataPoint.auto",type:"boolean",translation:"properties.dataPoints.labelmode",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}]},labelMode:{ref:"dataPoint.labelMode",type:"string",component:"dropdown",options:[{value:"none",translation:"Common.None"},{value:"share",translation:"properties.dataPoints.labelmode.share"},{value:"value",translation:"properties.dataPoints.labelmode.value"}],defaultValue:"share",show:e=>!e.dataPoint.auto},labelValueMode:{ref:"dataPoint.labelValueMode",type:"string",component:"dropdown",translation:"properties.dataPoints.labelvaluemode",options:[{value:"arc",translation:"Visualizations.Descriptions.Angle"},{value:"radius",translation:"Visualizations.Descriptions.Radius"}],defaultValue:"arc",show:e=>!e.dataPoint.auto&&function(e){return e.qHyperCubeDef&&e.qHyperCubeDef.qMeasures.length>1||e.qHyperCube&&e.qHyperCube.qMeasureInfo.length>1}(e)&&"value"===e.dataPoint.labelMode}}}}},colorsAndLegend:{uses:"colorsAndLegend",items:{colors:{items:{colorMode:{options:xS.color.colorMode.options},persistentColors:{show:xS.color.persistentColors.show}}},simpleColors:s,legend:{show:xS.legend.show,items:{show:{defaultValue:!1,snapshot:{tid:"property-legend"}},showTitle:{show:xS.legend.showTitle.show},dock:{show:xS.legend.dock.show}}}}},tooltip:{uses:"tooltip"}}};return c},kS={uses:"data",items:{dimensions:{uses:"dimensions"},measures:{uses:"measures",items:{numberFormatting:{items:{percentOfPieMessage:{component:"text",translation:"properties.numberFormatting.pieMessage",show:(e,t,{properties:n}={})=>n&&(n.dataPoint.auto||"share"!==n.dataPoint.labelMode)}}}}}}},ES={uses:"sorting",items:{interColumnSorting:{reset:e=>{const{qDimensions:t,qMeasures:n,qInterColumnSortOrder:r}=e.qHyperCubeDef;if(1===t.length&&n.length>=1){const t=r.length,n=[...Array(t).keys()];[n[0],n[1]]=[n[1],n[0]],e.qHyperCubeDef.qInterColumnSortOrder=n}}}}},TS={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{suppressZero:null,calcCond:{uses:"calcCond"}}}}};function RS(e){return{type:"items",component:"accordion",items:{data:kS,sorting:ES,addons:TS,settings:CS(e)}}}const MS=mS("explore"),PS=RS();var OS={type:"items",component:"accordion",items:{data:{uses:"data"},sort:{uses:"sort"},presentation:{uses:"presentation",items:{showAsDonut:PS.items.settings.items.presentation.items.showAsDonut,labelMode:{type:"items",items:{labelMode:{type:"string",component:"radio-list",translation:"properties.dataPoints.labelmode",diffs:["dataPoint.auto:false","dataPoint.labelMode"],options:PS.items.settings.items.presentation.items.labels.items.labelMode.options,setPropertyValue(e,t){e.dataPoint.auto=!1,e.dataPoint.labelMode=t},getValue:e=>e.dataPoint.auto?"":e.dataPoint.labelMode}}}}},color:{uses:"color",items:{mode:{options:MS.color.colorMode.options},dimension:{items:{persistentColors:{show:e=>!(e.color&&"byDimension"===e.color.mode&&e.color.useDimColVal&&MS.color.useDimColVal.show(e))}}}}}}};const DS="slices";function IS(e,t){const n=e&&e.desc&&void 0!==e.desc.share?e.desc.share:void 0;return t("share")(n)}function AS(e){return e.data.num.label}function qS(e){return e.data.radius.label}function NS(e,t,n,r){return function(e,t){if(e.dataPoint.auto)return 1===e.qHyperCube.qSize.qcy?AS:IS;if("share"===e.dataPoint.labelMode)return IS;if("value"===e.dataPoint.labelMode)return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?qS:AS;return AS}(n,r)(e,t)}function LS(e){let t;return t=e.data.label?function(e,t){let n=e;return n.length>t&&(n=`${n.substr(0,t-3)}...`),n}(e.data.label,20):"",t}class zS{constructor({element:e,properties:t,effectHelper:n,Flag:r}){this.element=e,this.Flag=r,n.initFade(this.element);const o=e.find(".effectLayer");o.length>0&&o.remove(),e.append('<div class="effectLayer"></div>'),this.effectLayer=e.find(".effectLayer"),this._effectProperties=t,this.selectedIndex=t.selectedIndex,this.hasPropertiesPanel=!1,this.effectApplied=!0,n.fadeIn(this.element)}updateOrigSettings(e){return{dataPoint:e.dataPoint,legend:e.legend,dimensionTitle:e.dimensionTitle}}updateFlags(e,t){const n=this.chart.getAffectedShapes("highlight"),r=this.effectLayer[0].getBoundingClientRect(),o=n.map((n=>{const{start:o,end:i,outerRadius:a,offset:s}=n.desc.slice,{scaleRatio:l}=this.chart.component(n.key).rect,c=n.element.getBoundingClientRect(),u=(o+i)/2,d=c.left-r.left+l.x*(s.x+a*Math.sin(u)),p=c.top-r.top+l.y*(s.y-a*Math.cos(u)),f=Math.cos(u)>0?"top":"bottom",h=Math.sin(u)>0?"right":"left";return{title:LS(n),label:NS(n,this.chart.formatter,e,t),orientation:`${f}${h}`,position:{x:d,y:p}}}));this.Flag.show(this.effectLayer,o)}init(e,t,n,r){return t.getProperties().then((e=>{if(!e.originalModelSettings){const t=ae(!0,{},e);e.originalModelSettings=this.updateOrigSettings(t)}e.effectProperties=r,e.effectPath=n,e.dataPoint.show=!1,e.legend.show=!1,e.dimensionTitle=!1,t.setProperties(e)}))}remove(e,t,n){return e.options=ae(e.options,{effect:null}),n?t.getProperties().then((e=>ae(e,{effectPath:null,effectProperties:null,dataPoint:ae(!0,{},e.originalModelSettings.dataPoint),legend:ae(!0,{},e.originalModelSettings.legend),dimensionTitle:e.originalModelSettings.dimensionTitle}))):Promise.resolve()}}class jS extends zS{init(e,t,n,r){return e.options=ae(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.max===r.max?Promise.resolve():super.init(e,t,n,r)}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(DS).data.items,n=e.effectProperties.min,r=e.effectProperties.max,o=[];let i=[1/0,-1],a=[-1/0,-1];t.forEach(((e,t)=>{const o=e.num.value;n&&o<i[0]&&(i=[o,t]),r&&o>a[0]&&(a=[o,t])})),-1!==i[1]&&o.push(t[i[1]].value),-1!==a[1]&&o.push(t[a[1]].value),o.length&&this.chart.brush("highlight").setValues(o.map((e=>({key:"qHyperCube/qDimensionInfo/0",value:e}))))}}class _S extends zS{constructor(e){super(e),this.hasPropertiesPanel=!0,this.propsTemplate=e.highlightValuePropsTemplate,this.effectHelper=e.effectHelper}onClick(e){if(!this.chart)return;const t=this.chart.shapesAt(function(e,t){const n=t.element.getBoundingClientRect();return{x:e.clientX-n.left,y:e.clientY-n.top}}(e,this.chart),{propagation:"stop"});if(1!==t.length)return;const n=t[0],r=this.chart.component(DS).data.items.map((e=>e.value)),o=r.indexOf(n.data.value);-1!==o&&(this.selectedIndex=o,this.effectHelper.updateSelectedPointIndex(this))}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateDataPoints(e,n),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(DS).data.items[e.effectProperties.selectedIndex];this.chart.brush("highlight").setValues([{key:"qHyperCube/qDimensionInfo/0",value:t.value}])}updateDataPoints(e,t){this.dataPoints=this.chart.findShapes("path").filter((e=>e.key===DS)).map(((n,r)=>{const o=NS(n,this.chart.formatter,e,t);return{text:`${LS(n)} (${o})`,value:r}}))}init(e,t,n,r){return e.options=ae(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.selectedIndex===r.selectedIndex?Promise.resolve():super.init(e,t,n,r)}}const $S="/effects/highlight-value",FS="/effects/maxmin";var HS={isCompatible:({effectPath:e})=>e===FS||e===$S,create:e=>e.effectPath===FS?new jS(e):e.effectPath===$S?new _S(e):null};function WS(e){const t={},{components:n,tooltip:r}=e,o=n?n.filter((e=>"slices"===e.key))[0]:void 0;if(o&&o.style&&Object.keys(o.style).forEach((e=>{t[`chart_style_${e}`]=o.style[e]})),r){var i;t.chart_tooltip_custom=!r.auto;const e=null===(i=r.chart)||void 0===i||null===(i=i.object)||void 0===i?void 0:i.refId;!r.auto&&e&&(t.chart_tooltip_custom_mini_chart=e)}return t}function BS(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qDimensions,n=e.qHyperCubeDef.qMeasures;1===t.length&&1===n.length&&(n[0].qSortBy.qSortByNumeric=-1,e.qHyperCubeDef.qInterColumnSortOrder.splice(0,e.qHyperCubeDef.qInterColumnSortOrder.length,1,0))}function US(e){e.qOtherTotalSpec.qOtherMode="OTHER_COUNTED",e.qOtherTotalSpec.qOtherCounted={qv:"10"}}function VS({translator:e}){return{dimensions:{min:1,max:1,description:()=>e.get("Visualizations.Descriptions.Slice"),add(e,t){US(e),BS(t),dx.addCallbackCustomTooltip(t)},move(e,t){US(e),BS(t),dx.moveCallbackCustomTooltip(t,e)},remove(e,t){dx.removeCallbackCustomTooltip(t,e)},replace(e,t,n,r){US(e),BS(r),dx.replaceCallbackCustomTooltip(r,t)}},measures:{min:1,max:2,description:(t,n)=>e.get(0===n?"Visualizations.Descriptions.Angle":"Visualizations.Descriptions.Radius"),add(e,t){BS(t)},remove(e,t){!function(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qMeasures,{mode:n}=e.color;"byExpression"===n&&0===t.length&&(e.color.mode="primary")}(t)}}}}const GS=e=>e.qMax<=0,KS=e=>!(!(e&&e.qHyperCube.qSize.qcy>0)||e.qHyperCube.qMeasureInfo.every(GS));function YS(e){return{definition:RS(e),softDefinition:OS,support:{snapshot:KS,export:KS,exportData:!0,sharing:KS,viewData:!0,effects:!0},effects:HS,extendMetrics:WS,importProperties:(t,n,r,o)=>{const i={layout:{templateId:n.templateId}};r.mapProperties(i);const a={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()},s=B.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:VS(e),defaultPropertyValues:a,hypercubePath:o});return s.qProperty.dataPoint&&!1===s.qProperty.dataPoint.show&&delete s.qProperty.dataPoint.show,s},exportProperties:(e,t,n)=>B.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}function XS(e){return{properties:{version:"1.27.2",color:{auto:!0,autoMinMax:!0,byDimDef:void 0,byMeasureDef:void 0,colorExpression:void 0,dimensionScheme:"12",expressionIsColor:!0,expressionLabel:"",formatting:{numFormatFromTemplate:!0,isCustomFormatted:void 0},measureMin:void 0,measureMax:void 0,measureScheme:"sg",mode:"primary",paletteColor:{index:6},persistent:!1,reverseScheme:!1,singleColor:void 0,useBaseColors:"off",useDimColVal:!0,useMeasureGradient:!0},components:[{key:"slices",style:{strokeWidth:"none",strokeColor:{index:-1,color:Rx.STROKE.COLOR},cornerRadius:Rx.CORNER_RADIUS,innerRadius:Rx.INNER_RADIUS}}],dataPoint:{auto:!0,labelMode:"share",labelValueMode:"arc"},dimensionTitle:!0,donut:{showAsDonut:!1},footnote:"",legend:{dock:"auto",show:!0,showTitle:!0},qHyperCubeDef:{qDimensions:[],qMeasures:[],qInitialDataFetch:[{qWidth:10,qHeight:500}],qSuppressMissing:!0,qSuppressZero:!1,qMode:"S"},showDetails:!0,showDisclaimer:!0,showTitles:!0,subtitle:"",title:"",tooltip:{auto:!0,hideBasic:!1,data:{qHyperCubeDef:void 0},chart:void 0,imageComponents:void 0}},data:{targets:[VS(e)]},importProperties:({exportFormat:t,initialProperties:n,hypercubePath:r})=>{const o=B.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:VS(e),hypercubePath:r});return o.qProperty.dataPoint&&!1===o.qProperty.dataPoint.show&&delete o.qProperty.dataPoint.show,o},exportProperties:({propertyTree:e,hypercubePath:t,viewDataMode:n})=>B.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}e("default",(e=>{const{flags:t}=e;!function(e){if(e&&e.get&&e.add){const t="Object.Disclaimer.LimitedData";if(e.get(t)!==t)return;Object.keys(U).forEach((t=>{e.add(U[t])}))}}(e.translator);const n=Ub();return{qae:XS(e),ext:YS(e),component(){const e=Zb({picasso:n}),r=function({flags:e,picasso:t,instance:n}){const r=I(),o=A(),i=P(),a=E(),[s,l]=R(),c=q(),f=N(),h=L(),m=k(),g=z(),{qLocaleInfo:y}=j(),v=_();return D((()=>{if(!n)return;a.style.overflow="hidden";const s=u({picasso:n.picasso,model:r,app:o,translator:i,config:{auto:!1,key:"fill"}}),b=d({picassoInstance:n.picasso,plugins:f,pluginArgs:Sx(c)}),x=xx({flags:e,layout:c,app:o,model:r,picasso:t,chart:n.chart,translator:i,localeInfo:y,embed:v,options:m}),S=p({theme:g,config:{id:"pieChart",resolve:[["object","label.name","color","#595959"],["object","label.name","fontFamily"],["object","label.name","fontSize","12px"]]}}),w=wx({app:o,chart:n.chart,translator:i,layout:c,constraints:h,options:m,themeService:S,colorService:s,custom:x}),C=function({layout:e,themeService:t,flags:n}){const r=t.getStyles(),o=t=>{var r;return n.isEnabled("CLIENT_IM_3050")?null===(r=e.components)||void 0===r?void 0:r.find((e=>e.key===t)):void 0};return{axis:{title:{getStyle:()=>{var e,t,n,i,a,s;return{fontFamily:null!==(e=null===(t=o("axis"))||void 0===t||null===(t=t.axis)||void 0===t||null===(t=t.title)||void 0===t?void 0:t.fontFamily)&&void 0!==e?e:r.axis.title.fontFamily,fontSize:null!==(n=null===(i=o("axis"))||void 0===i||null===(i=i.axis)||void 0===i||null===(i=i.title)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.axis.title.fontSize,color:null!==(a=null===(s=o("axis"))||void 0===s||null===(s=s.axis)||void 0===s||null===(s=s.title)||void 0===s||null===(s=s.color)||void 0===s?void 0:s.color)&&void 0!==a?a:r.axis.title.color}}}},label:{name:{getStyle:()=>{var e,t,n,i,a,s;return{fill:null!==(e=null===(t=o("label"))||void 0===t||null===(t=t.label)||void 0===t||null===(t=t.name)||void 0===t||null===(t=t.color)||void 0===t?void 0:t.color)&&void 0!==e?e:r.label.name.color,fontSize:null!==(n=null===(i=o("label"))||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.name)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.label.name.fontSize,fontFamily:null!==(a=null===(s=o("label"))||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.name)||void 0===s?void 0:s.fontFamily)&&void 0!==a?a:r.label.name.fontFamily}}},value:{getStyle:()=>{var e,t,n,i,a,s;return{fill:null!==(e=null===(t=o("label"))||void 0===t||null===(t=t.label)||void 0===t||null===(t=t.value)||void 0===t||null===(t=t.color)||void 0===t?void 0:t.color)&&void 0!==e?e:r.label.value.color,fontSize:null!==(n=null===(i=o("label"))||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.value)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.label.value.fontSize,fontFamily:null!==(a=null===(s=o("label"))||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.value)||void 0===s?void 0:s.fontFamily)&&void 0!==a?a:r.label.value.fontFamily}}}},legend:{title:{getStyle:()=>{var e,t,n,i,a,s;return{fontFamily:null!==(e=null===(t=o("legend"))||void 0===t||null===(t=t.legend)||void 0===t||null===(t=t.title)||void 0===t?void 0:t.fontFamily)&&void 0!==e?e:r.legend.title.fontFamily,fontSize:null!==(n=null===(i=o("legend"))||void 0===i||null===(i=i.legend)||void 0===i||null===(i=i.title)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.legend.title.fontSize,color:null!==(a=null===(s=o("legend"))||void 0===s||null===(s=s.legend)||void 0===s||null===(s=s.title)||void 0===s||null===(s=s.color)||void 0===s?void 0:s.color)&&void 0!==a?a:r.legend.title.color}}},label:{getStyle:()=>{var e,t,n,i,a,s;return{fontFamily:null!==(e=null===(t=o("legend"))||void 0===t||null===(t=t.legend)||void 0===t||null===(t=t.label)||void 0===t?void 0:t.fontFamily)&&void 0!==e?e:r.legend.label.fontFamily,fontSize:null!==(n=null===(i=o("legend"))||void 0===i||null===(i=i.legend)||void 0===i||null===(i=i.label)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.legend.label.fontSize,color:null!==(a=null===(s=o("legend"))||void 0===s||null===(s=s.legend)||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.color)||void 0===s?void 0:s.color)&&void 0!==a?a:r.legend.label.color}}}}}}({layout:c,themeService:S,flags:e});l({colorService:s,pluginService:b,themeService:S,tooltipService:w,styleService:C})}),[r,o,n,c,i.language(),h,m.direction,g.name()]),s}({flags:t,picasso:n,instance:e});lS({instance:e,services:r,picasso:n,flags:t}),function({instance:e}){const t=q(),n=k(),r=F();D((()=>{if(!e||!e.generateSettings)return;const{viewCache:r,chart:o,generateSettings:i}=e;o.update({settings:i()}),r.set("chartWidth",o.element.clientWidth),r.set("chartHeight",o.element.clientHeight),n.effect&&n.effect.update(t,o)}),[r.width,r.height])}({instance:e}),uS({instance:e,services:r})}}}))}}}));
94
+ `),Rv.rippleVisible,Av,550,(({theme:e})=>e.transitions.easing.easeInOut),Rv.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Rv.child,Rv.childLeaving,Nv,550,(({theme:e})=>e.transitions.easing.easeInOut),Rv.childPulsate,Lv,(({theme:e})=>e.transitions.easing.easeInOut)),$v=y.forwardRef((function(e,t){const n=Hy({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=Cp(n,Mv),[s,l]=y.useState([]),c=y.useRef(0),u=y.useRef(null);y.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[s]);const d=y.useRef(!1),p=Dg(),f=y.useRef(null),h=y.useRef(null),m=y.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;l((e=>[...e,Ch.jsx(jv,{classes:{ripple:Gm(o.ripple,Rv.ripple),rippleVisible:Gm(o.rippleVisible,Rv.rippleVisible),ripplePulsate:Gm(o.ripplePulsate,Rv.ripplePulsate),child:Gm(o.child,Rv.child),childLeaving:Gm(o.childLeaving,Rv.childLeaving),childPulsate:Gm(o.childPulsate,Rv.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)])),c.current+=1,u.current=a}),[o]),g=y.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const s=a?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)g=Math.sqrt((2*l.width**2+l.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.start(80,(()=>{f.current&&(f.current(),f.current=null)}))):m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,m,p]),v=y.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=y.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void p.start(0,(()=>{b(e,t)}));f.current=null,l((e=>e.length>0?e.slice(1):e)),u.current=t}),[p]);return y.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),Ch.jsx(zv,wp({className:Gm(Rv.root,o.root,i),ref:h},a,{children:Ch.jsx(Ku,{component:null,exit:!0,children:s})}))}));var _v=$v;function Fv(e){return Ym("MuiButtonBase",e)}var Hv=Xm("MuiButtonBase",["root","disabled","focusVisible"]);const Wv=["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"],Bv=bv("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"},[`&.${Hv.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Uv=y.forwardRef((function(e,t){const n=Hy({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:x,onKeyUp:S,onMouseDown:w,onMouseLeave:C,onMouseUp:k,onTouchEnd:E,onTouchMove:T,onTouchStart:R,tabIndex:M=0,TouchRippleProps:P,touchRippleRef:O,type:D}=n,I=Cp(n,Wv),q=y.useRef(null),A=y.useRef(null),N=Rg(A,O),{isFocusVisibleRef:L,onFocus:z,onBlur:j,ref:$}=_g(),[_,F]=y.useState(!1);l&&_&&F(!1),y.useImperativeHandle(r,(()=>({focusVisible:()=>{F(!0),q.current.focus()}})),[]);const[H,W]=y.useState(!1);y.useEffect((()=>{W(!0)}),[]);const B=H&&!c&&!l;function U(e,t,n=u){return Tg((r=>{t&&t(r);return!n&&A.current&&A.current[e](r),!0}))}y.useEffect((()=>{_&&d&&!c&&H&&A.current.pulsate()}),[c,d,_,H]);const V=U("start",w),G=U("stop",m),K=U("stop",g),Y=U("stop",k),X=U("stop",(e=>{_&&e.preventDefault(),C&&C(e)})),J=U("start",R),Z=U("stop",E),Q=U("stop",T),ee=U("stop",(e=>{j(e),!1===L.current&&F(!1),f&&f(e)}),!1),te=Tg((e=>{q.current||(q.current=e.currentTarget),z(e),!0===L.current&&(F(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=q.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},re=y.useRef(!1),oe=Tg((e=>{d&&!re.current&&_&&A.current&&" "===e.key&&(re.current=!0,A.current.stop(e,(()=>{A.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!l&&(e.preventDefault(),h&&h(e))})),ie=Tg((e=>{d&&" "===e.key&&A.current&&_&&!e.defaultPrevented&&(re.current=!1,A.current.stop(e,(()=>{A.current.pulsate(e)}))),S&&S(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=s;"button"===ae&&(I.href||I.to)&&(ae=p);const se={};"button"===ae?(se.type=void 0===D?"button":D,se.disabled=l):(I.href||I.to||(se.role="button"),l&&(se["aria-disabled"]=l));const le=Rg(t,$,q),ce=wp({},n,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:M,focusVisible:_}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Fg({root:["root",t&&"disabled",n&&"focusVisible"]},Fv,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return Ch.jsxs(Bv,wp({as:ae,className:Gm(ue.root,a),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:Y,onDragLeave:K,onTouchEnd:Z,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:l?-1:M,type:D},se,I,{children:[i,B?Ch.jsx(_v,wp({ref:N,center:o},P)):null]}))}));var Vv=Uv;function Gv(e){return Ym("MuiButton",e)}var Kv=Xm("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Yv=y.createContext({});var Xv=y.createContext(void 0);const Jv=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Zv=e=>wp({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Qv=bv(Vv,{shouldForwardProp:e=>vv(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Fh(n.color)}`],t[`size${Fh(n.size)}`],t[`${n.variant}Size${Fh(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return wp({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":wp({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:iy(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:iy(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:iy(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":wp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Kv.focusVisible}`]:wp({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Kv.disabled}`]:wp({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${iy(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Kv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Kv.disabled}`]:{boxShadow:"none"}})),eb=bv("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Fh(n.size)}`]]}})((({ownerState:e})=>wp({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Zv(e)))),tb=bv("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Fh(n.size)}`]]}})((({ownerState:e})=>wp({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Zv(e)))),nb=y.forwardRef((function(e,t){const n=y.useContext(Yv),r=y.useContext(Xv),o=Hy({props:Sg(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:v,variant:b="text"}=o,x=Cp(o,Jv),S=wp({},o,{color:a,component:s,disabled:c,disableElevation:u,disableFocusRipple:d,fullWidth:h,size:m,type:v,variant:b}),w=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return wp({},a,Fg({root:["root",i,`${i}${Fh(t)}`,`size${Fh(o)}`,`${i}Size${Fh(o)}`,`color${Fh(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Fh(o)}`],endIcon:["icon","endIcon",`iconSize${Fh(o)}`]},Gv,a))})(S),C=g&&Ch.jsx(eb,{className:w.startIcon,ownerState:S,children:g}),k=p&&Ch.jsx(tb,{className:w.endIcon,ownerState:S,children:p}),E=r||"";return Ch.jsxs(Qv,wp({ownerState:S,className:Gm(n.className,w.root,l,E),component:s,disabled:c,focusRipple:!d,focusVisibleClassName:Gm(w.focusVisible,f),ref:t,type:v},x,{classes:w,children:[C,i,k]}))}));var rb=nb;var ob=y.createContext({});function ib(e){return Ym("MuiListItemButton",e)}var ab=Xm("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);const sb=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],lb=bv(Vv,{shouldForwardProp:e=>vv(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>wp({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ab.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:iy(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ab.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:iy(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ab.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:iy(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:iy(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ab.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ab.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4}))),cb=y.forwardRef((function(e,t){const n=Hy({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:s=!1,disableGutters:l=!1,divider:c=!1,focusVisibleClassName:u,selected:d=!1,className:p}=n,f=Cp(n,sb),h=y.useContext(ob),m=y.useMemo((()=>({dense:s||h.dense||!1,alignItems:r,disableGutters:l})),[r,h.dense,s,l]),g=y.useRef(null);Cg((()=>{o&&g.current&&g.current.focus()}),[o]);const v=wp({},n,{alignItems:r,dense:m.dense,disableGutters:l,divider:c,selected:d}),b=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:s}=e;return wp({},n,Fg({root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},ib,n))})(v),x=Rg(g,t);return Ch.jsx(ob.Provider,{value:m,children:Ch.jsx(lb,wp({ref:x,href:f.href||f.to,component:(f.href||f.to)&&"div"===i?"button":i,focusVisibleClassName:Gm(b.focusVisible,u),ownerState:v,className:Gm(b.root,p)},f,{classes:b,children:a}))})}));var ub=cb;function db(e){return Ym("MuiListItemIcon",e)}Xm("MuiListItemIcon",["root","alignItemsFlexStart"]);const pb=["className"],fb=bv("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>wp({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),hb=y.forwardRef((function(e,t){const n=Hy({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Cp(n,pb),i=wp({},n,{alignItems:y.useContext(ob).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return Fg({root:["root","flex-start"===t&&"alignItemsFlexStart"]},db,n)})(i);return Ch.jsx(fb,wp({className:Gm(a.root,r),ownerState:i,ref:t},o))}));var mb=hb;function gb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gb(Object(n),!0).forEach((function(t){vb(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vb(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bb=function(e){var t=e.className,n=e.path,r=e.fillRule;return g.createElement(Tv,{className:t,viewBox:"0 0 16 16",fontSize:"small",role:"img",style:{height:12,width:12}},g.createElement("path",{d:n}),r?g.createElement("use",{fillRule:r}):void 0)},xb={ELLIPSIS:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},FOCUS:{boxShadow:"inset 0 0 0 2px #177FE6"},ICONS:{COLOR:{PRIMARY:"rgba(89, 89, 89)",SECONDARY:"rgba(89, 89, 89, 0.8)",DISABLED:"rgba(89, 89, 89, 0.4)"}}};bv(rb,{shouldForwardProp:function(e){return"direction"!==e&&"padding"!==e&&"styling"!==e}})((function(e){var t=e.direction,n=e.padding,r=e.styling,o=r.fontSize,i=r.fontFamily,a=r.color;return{fontWeight:"normal",lineHeight:"normal",fontSize:o,fontFamily:i,color:a,height:"100%",minWidth:"45px",padding:n,"&:disabled":{color:a,opacity:1},"& .MuiButton-startIcon":{margin:"ltr"===t?"0 2px":void 0},"& .MuiButton-endIcon":{margin:"rtl"===t?"0 2px":void 0}}})),bv((function(e){var t=e.className;return g.createElement(bb,{className:t,path:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z",fillRule:"evenodd"})}))((function(){return{color:xb.ICONS.COLOR.SECONDARY}})),bv((function(e){var t=e.className;return g.createElement(bb,{className:t,path:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})}))((function(){return{color:xb.ICONS.COLOR.SECONDARY,marginTop:"1px","&.disabled":{color:xb.ICONS.COLOR.DISABLED}}})),bv(rb,{shouldForwardProp:function(e){return"styling"!==e}})((function(e){var t=e.styling,n=t.fontSize,r=t.fontFamily,o=t.color;return{fontWeight:"normal",lineHeight:"normal",fontSize:n,fontFamily:r,color:o,padding:"0px 5px",height:"100%",minWidth:"45px","&:disabled":{color:o}}}));var Sb={color:xb.ICONS.COLOR.SECONDARY,marginTop:"1px","&.disabled":{color:xb.ICONS.COLOR.DISABLED}};bv((function(e){var t=e.className;return g.createElement(bb,{className:t,path:"M8.5 8 4 3.5 5.5 2l6 6-6 6L4 12.5 8.5 8z"})}))((function(){return Sb})),bv((function(e){var t=e.className;return g.createElement(bb,{className:t,path:"m7 8 4.5 4.5L10 14 4 8l6-6 1.5 1.5z"})}))((function(){return Sb})),bv((function(e){var t=e.className;return g.createElement(bb,{className:t,path:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"})}),{shouldForwardProp:function(e){return"direction"!==e&&"isFirst"!==e&&"isLast"!==e}})((function(e){var t=e.direction,n=e.isFirst,r=e.isLast;return{color:xb.ICONS.COLOR.PRIMARY,marginTop:"1px",marginLeft:"ltr"!==t||n?void 0:"2px",marginRight:"rtl"!==t||r?void 0:"2px"}})),bv(ub)((function(){return{padding:"4px 12px","&:focus":yb({},xb.FOCUS)}})),bv(mb)((function(){return{marginRight:0,justifyContent:"center"}})),bv((function(e){var t=e.className;return g.createElement(bb,{className:t,path:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2 3 3Z"})}))((function(){return{color:xb.ICONS.COLOR.SECONDARY}}));var wb=Object.prototype.hasOwnProperty,Cb=Object.prototype.toString,kb=Object.defineProperty,Eb=Object.getOwnPropertyDescriptor,Tb=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===Cb.call(e)},Rb=function(e){if(!e||"[object Object]"!==Cb.call(e))return!1;var t,n=wb.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&wb.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||wb.call(e,t)},Mb=function(e,t){kb&&"__proto__"===t.name?kb(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Pb=function(e,t){if("__proto__"===t){if(!wb.call(e,t))return;if(Eb)return Eb(e,t).value}return e[t]};!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}((function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=Pb(s,n),s!==(o=Pb(t,n))&&(u&&o&&(Rb(o)||(i=Tb(o)))?(i?(i=!1,a=r&&Tb(r)?r:[]):a=r&&Rb(r)?r:{},Mb(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&Mb(s,{name:n,newValue:o}));return s}));var Ob,Db=function(e){var t=e.dock,n=e.settings.label,r="center"===t,o=r?{}:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};return g.createElement("span",{style:o,title:n},r?n:"* ".concat(n))},Ib={renderer:"react",disableTriggers:!0,key:"disclaimer",defaultSettings:{settings:{isRTL:!1,label:void 0},style:{fontFamily:'"Source Sans Pro", "Arial", "sans-serif"'}},preferredSize:function(){return 22},render:function(){var e=this.rect,t=this.settings,n=t.layout,r=t.settings,o=t.style;return function(e){var t=e.dock,n=e.rect,r=e.settings,o=e.styling,i=function(e){var t=e.dock;return"top"!==t&&"bottom"!==t||!e.isRTL?"ltr":"rtl"}({dock:t,isRTL:r.isRTL}),a=function(e){var t=e.dock,n=e.rect,r={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",color:"#7b7a78",fontStyle:"italic",fontSize:"13px",fontFamily:e.styling.fontFamily};return"left"===t&&(r.width="".concat(n.height,"px"),r.transform="rotate(-90deg) translate(-".concat(n.height,"px, 0)"),r.transformOrigin="top left"),"right"===t&&(r.width="".concat(n.height,"px"),r.transform="rotate(90deg) translate(0, -".concat(n.width,"px)"),r.transformOrigin="top left"),"center"===t&&(r.width="".concat(n.width,"px"),r.height="".concat(n.height,"px"),r.color="#595959",r.fontStyle="normal",r.fontSize="1.2em",r.textAlign="center"),"bottom"!==t&&"top"!==t||(r.justifyContent="flex-start",r.alignItems="flex-start"),r}({dock:t,rect:n,styling:o});return g.createElement("div",{dir:i,style:a},g.createElement(Db,{dock:t,settings:r}))}({dock:n.dock,rect:e,settings:r,styling:o})}},qb=k;Ob=qb.createRoot,qb.hydrateRoot;var Ab=_y({spacing:8,shadows:["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)"],transitions:{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}},typography:{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"}},shape:{borderRadius:3},components:{MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"qcm-focus-visible"}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"qcm-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"116px",minWidth:"24px",fontSize:141,borderRadius:3,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transform:"translate3d(0,0,0)"},text:{padding:"8px 16px","&:active":{backgroundColor:"rgba(0, 0, 0, 0.1)"},"&.Mui-focusVisible":{boxShadow:"inset 0 0 0 2px ".concat("#177FE6")}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"}},variants:[]},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:14,height:"32px"}}},MuiListItemIcon:{styleOverrides:{root:{color:"#404040",minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:14,color:"#404040",lineHeight:"16px",fontWeight:600},secondary:{fontSize:12,color:"#737373",fontWeight:400,lineHeight:"16px"}}}}});function Nb(e){var t={x:0,y:0,width:0,height:0,scaleRatio:{x:1,y:1},margin:{left:0,top:0}},n=e||{},r=n.x,o=n.y,i=n.width,a=n.height,s=n.scaleRatio,l=n.margin;return t.x=Number.isNaN(r)||void 0===r?t.x:r,t.y=Number.isNaN(o)||void 0===o?t.y:o,t.width=Number.isNaN(i)||void 0===i?t.width:i,t.height=Number.isNaN(a)||void 0===a?t.height:a,void 0!==s&&(t.scaleRatio.x=Number.isNaN(s.x)?t.scaleRatio.x:s.x,t.scaleRatio.y=Number.isNaN(s.y)?t.scaleRatio.y:s.y),void 0!==l&&(t.margin.left=Number.isNaN(l.left)?0:l.left,t.margin.top=Number.isNaN(l.top)?0:l.top),t}function Lb(){var e={rendererBox:Nb(),container:void 0,root:void 0},t=function(){var t,n;null===(t=e.root)||void 0===t||t.unmount(),null===(n=e.container)||void 0===n||null===(n=n.parentElement)||void 0===n||n.removeChild(e.container),e.container=void 0};return{size:function(t){return t&&(e.rendererBox=Nb(t)),e.rendererBox},element:function(){return e.container},appendTo:function(t){return e.container||(e.container=document.createElement("div"),e.container.style.position="absolute",e.container.style["-webkit-font-smoothing"]="antialiased",e.container.style["-moz-osx-font-smoothing"]="antialiased",e.container.style.pointerEvents="none",e.root=Ob(e.container)),t.appendChild(e.container),e.container},setKey:function(t){e.container&&e.container.setAttribute("data-key",t)},render:function(t){if(!e.container)return!1;var n=e.rendererBox,r=n.scaleRatio.x,o=n.scaleRatio.y;return e.container.style.left="".concat(Math.round(n.margin.left+n.x*r),"px"),e.container.style.top="".concat(Math.round(n.margin.top+n.y*o),"px"),e.container.style.width="".concat(Math.round(n.width),"px"),e.container.style.height="".concat(Math.round(n.height),"px"),e.container.style.transform="scale(".concat(r,", ").concat(o,")"),e.container.style.transformOrigin="top left",e.root.render(function(e){var t=e.nodes;return g.createElement(g.StrictMode,null,g.createElement(Sv,{theme:Ab},t))}({nodes:t})),!0},findShapes:function(){return[]},itemsAt:function(){return[]},clear:function(){t()},destroy:function(){t()}}}function zb(e){return vt(e).l<70}function jb(e,t){const n=vt(e).l/100,r=vt(t).l/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function $b(e,t){return{x:t.x+e.r*Math.sin(e.a),y:t.y-e.r*Math.cos(e.a)}}var _b={require:["chart","settings"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){const n=e.component(t.component);if(!n)return[];const r=e.findShapes(t.selector).filter((e=>e.key===t.component));if(r.length<2)return[];if(n.settings.settings.slice.cornerRadius>0||n.settings.settings.slice.strokeWidth>0)return[];const o=[];let i=r[r.length-1];for(let e=0;e<r.length;e+=1){const t=r[e],n=i.attrs.fill,a=t.attrs.fill;if(jb(a,n)<=1.2){const{start:e,offset:n}=t.desc.slice;let{innerRadius:r,outerRadius:s}=t.desc.slice;if(r=Math.max(r,i.desc.slice.innerRadius),s=Math.min(s,i.desc.slice.outerRadius),s>r){const t=$b({r:s,a:e},n),i=$b({r:r,a:e},n);o.push({type:"line",x1:t.x,y1:t.y,x2:i.x,y2:i.y,strokeWidth:1,opacity:.4,stroke:zb(a)?"#ccc":"#333"})}}i=t}return o}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function Fb(e,t=!0){let n="";for(let t=0;t<e.length;t++){const r=e[t];n+=0===t?`M${r.x} ${r.y}`:`L${r.x} ${r.y}`,n+=" "}return t&&(n+="Z"),n}function Hb(e){const{size:t,angle:n}=e,r={x:e.x,y:e.y},o=t/2,i=e.x-o,a=e.y-o;let s=[{x:i,y:a+t},{x:i+o,y:a},{x:i+t,y:a+t},{x:i,y:a+t}];return s=s.map((e=>function(e,t,n={x:0,y:0}){const r=Math.cos(t),o=Math.sin(t),i=(s=n,{x:(a=e).x-s.x,y:a.y-s.y});var a,s;return function(e,t){return{x:e.x+t.x,y:e.y+t.y}}({x:r*i.x-o*i.y,y:o*i.x+r*i.y},n)}(e,n,r))),{type:"path",fill:e.fill,d:Fb(s)}}var Wb={require:["chart"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){if(!e.component(t.component))return[];const n=e.findShapes(t.selector).filter((e=>e.key===t.component));if(n.length<2)return[];const r=[];for(let e=0;e<n.length;e+=1){const a=n[e];if(a.data.radius.value<0){const{start:e,end:n,offset:s}=a.desc.slice,l=(e+n)/2,c=(o={r:t.offset,a:l},{x:(i=s).x+o.r*Math.sin(o.a),y:i.y-o.r*Math.cos(o.a)}),u=Hb({size:t.size,fill:t.fill,angle:l+Math.PI,...c});u.data={...a.data,_share:a.desc.share,_fillColor:a.attrs.fill},r.push(u)}}var o,i;return r}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function Bb(){const e=n();return e.use(r),e.use(function(e){if("function"!=typeof e.interaction)return t=>{t.interaction("hammer",Y(e))};e.interaction("hammer",Y(Hammer))}(t)),e.use((function(e){e.renderer("react",up()),e.component("data-title",sp(e.renderer("svg")()))})),e.renderer("react-qcm",Lb),e.component("disclaimer",Ib),e.component("pie-dividers",_b),e.component("negative-indicators",Wb),e}var Ub={};function Vb(){Vb.init.call(this)}Ub.isObject=function(e){return"object"==typeof e&&null!==e},Ub.isNumber=function(e){return"number"==typeof e},Ub.isUndefined=function(e){return void 0===e},Ub.isFunction=function(e){return"function"==typeof e};var Gb=Vb;Vb.EventEmitter=Vb,Vb.prototype._events=void 0,Vb.prototype._maxListeners=void 0,Vb.defaultMaxListeners=10,Vb.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},Vb.prototype.setMaxListeners=function(e){if(!Ub.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},Vb.prototype.emit=function(e){var t,n,r,o,i,a;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],Ub.isUndefined(n))return!1;if(Ub.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];n.apply(this,o)}else if(Ub.isObject(n)){for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];for(r=(a=n.slice()).length,i=0;i<r;i++)a[i].apply(this,o)}return!0},Vb.prototype.addListener=function(e,t){var n;if(!Ub.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,Ub.isFunction(t.listener)?t.listener:t),this._events[e]?Ub.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,Ub.isObject(this._events[e])&&!this._events[e].warned)&&((n=Ub.isUndefined(this._maxListeners)?Vb.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,Ub.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),Ub.isFunction(console.trace)&&console.trace()));return this},Vb.prototype.on=Vb.prototype.addListener,Vb.prototype.once=function(e,t){if(!Ub.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},Vb.prototype.removeListener=function(e,t){var n,r,o,i;if(!Ub.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||Ub.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(Ub.isObject(n)){for(i=o;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){r=i;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},Vb.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],Ub.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},Vb.prototype.listeners=function(e){return this._events&&this._events[e]?Ub.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},Vb.listenerCount=function(e,t){return e._events&&e._events[t]?Ub.isFunction(e._events[t])?1:e._events[t].length:0};var Kb=X(Gb);const Yb=e=>(Object.keys(Kb.prototype).forEach((t=>{e[t]=Kb.prototype[t]})),Kb.init(e),e);function Xb({picasso:e}){var t;const n=E(),r=T(),o=R(),[i,c]=M(),u=function(){const e={};return Yb(e),e.lasso={active:()=>!1},e.select={on:e.on,removeListener:e.removeListener},e}(),d=P(),p=O(),f=!(null===(t=d.qSelectionInfo)||void 0===t||!t.qInSelections),[h,m]=M(!1);return u.lasso=function({layout:e,isInSelections:t,isLassoActionActive:n,setIsLassoActionActive:r,translator:o}){var i;return{active:n,label:o.get(n?"Tooltip.ToggleOffLassoSelection":"Tooltip.ToggleOnLassoSelection"),hidden:!t||!(null===(i=e.qHyperCube)||void 0===i||null===(i=i.qDimensionInfo)||void 0===i||null===(i=i[0])||void 0===i||!i.qIsOneAndOnlyOne),action(e){r("boolean"==typeof e?e:!n)},icon:{shapes:[{type:"path",attrs:{d:"M15.9488039,5.20769129 C16.0487326,6.70662306 15.3492311,8.30548361 14.050157,9.30477145 C12.651154,10.5039169 10.8524359,10.8037032 8.85386017,10.4039881 L7.3549284,10.0042729 L5.75606786,9.70448659 C5.75606786,9.90434416 5.65613907,10.0042729 5.4562815,10.2041305 C5.05656637,10.6038456 4.55692244,10.8037032 4.05727852,10.8037032 C3.75749217,10.8037032 3.45770582,10.7037744 3.15791946,10.6038456 C3.05799068,10.903632 3.15791946,11.2034184 3.45770582,11.7030623 C5.05656637,14.0014243 3.85742095,15.9000712 3.75749217,16 L2.2585604,15.3004985 C2.2585604,15.2005697 2.95806189,14.0014243 1.95877405,12.6024213 C1.6589877,12.0028486 1.15934378,11.0035608 1.55905891,10.0042729 C1.6589877,9.80441537 1.75891648,9.6045578 1.95877405,9.40470024 C1.6589877,8.90505631 1.55905891,8.30548361 1.85884527,7.7059109 C1.55905891,7.40612455 1.25927256,7.1063382 1.15934378,6.70662306 C0.859557424,5.90719279 0.959486209,4.5081898 1.6589877,3.30904439 C1.95877405,2.6095429 2.55834676,2.0099702 3.15791946,1.51032628 C3.95734974,0.91075357 4.95663758,0.610967217 6.15578299,0.311180864 C9.05371774,-0.388320626 11.9516525,0.111323295 13.9502282,1.61025506 C15.1493736,2.50961412 15.8488751,3.80868831 15.9488039,5.20769129 Z M13.0508691,8.10562604 C13.8502994,7.40612455 14.3499433,6.40683671 14.3499433,5.30762008 C14.2500145,4.20840345 13.550513,3.40897318 12.9509403,2.90932926 C12.1515101,2.40968533 11.252151,2.0099702 10.1529344,1.81011263 C8.95378895,1.61025506 7.75464354,1.71018384 6.45556935,1.91004141 C4.75678001,2.30975655 3.65756338,3.00925804 3.05799068,4.10847467 C2.55834676,5.00783373 2.65827554,5.90719279 2.75820433,6.20697914 C2.75820433,6.30690792 2.85813311,6.40683671 3.05799068,6.40683671 C3.15791946,6.40683671 3.25784825,6.40683671 3.35777703,6.40683671 C3.45770582,6.40683671 3.45770582,6.40683671 3.45770582,6.40683671 L3.5576346,6.40683671 L3.65756338,6.40683671 C4.65685123,6.40683671 5.4562815,6.90648063 5.85599664,7.80583969 L5.85599664,8.00569726 C6.35564056,8.10562604 7.05514205,8.30548361 7.75464354,8.50534118 L9.25357531,8.90505631 C10.0530056,9.0049851 10.7525071,9.0049851 11.4520086,8.80512753 C12.0515813,8.70519875 12.5512252,8.40541239 13.0508691,8.10562604 Z"}}]}}}({layout:d,isInSelections:f,isLassoActionActive:h,setIsLassoActionActive:m,translator:p}),D((()=>(i&&(i.interactions.lasso.active=()=>h),{...u.lasso})),[i,h,f,p.language()]),I((()=>{r.style.overflow="hidden";const t=e({renderer:{prio:[n.renderer||"canvas"]}}),i=t.chart({element:r,data:[],settings:{}}),p=a({chart:i,actions:u,selections:o,config:{selectionActions:!1}});p.setLayout(d),p.setBrushAliases({colorField:"qDimensionInfo/0/qAttrDimInfo/0"});const f=s({legendScrollOffset:0,rotation:0});f.intercept("rotation",(e=>(f.get("rotation")+e)%(2*Math.PI))),f.onChanged("rotation",(()=>{i.update({partialData:!0})}));const h=l();return u.on("selections-start",(()=>{i.brush("selection").start()})),c({picasso:t,chart:i,selectionService:p,viewState:f,viewCache:h,interactions:u}),()=>{p.destroy(),i.destroy(),u.removeAllListeners(),delete u.select,f.intercept("rotation",void 0),f.onChanged("rotation",void 0)}}),[]),i}const Jb={CUSTOM:{EXPRESSION:"customTooltipExpression",TITLE:"customTooltipTitle",DESCRIPTION:"customTooltipDescription",QUARANTINE:"customTooltip",IMAGES:"customTooltipImages"},CHART:{CONTAINER_ID:"tooltipContainerId",STATE:"customTooltipSessionState",CHART_OBJECT_ID:"customTooltipSessionObjectId",CHART_PARENT_TYPE:"TooltipChartParent",CHART_CHILD_TYPE:"TooltipChart",STYLE:{small:"140px",medium:"200px",large:"340px"}}};function Zb(e){const t=e.split("/");return"qmem:"===t[0]&&""===t[1]}const Qb={getImageSize(e,t){let n;function r(){n&&(clearTimeout(n),n=null)}function o(e){const t=e;t.onload=null,t.onerror=null,r()}const i={small:50,medium:200,large:340,original:340};return new Promise((a=>{const s=new Image;s.referrerPolicy="no-referrer",s.onload=()=>{let e;const{height:n,width:l}=s,c=i[t]*(n>l?1:n/l),u=i[t]*(l>n?1:l/n);!n||!l||0===n&&0===l?(e={height:20,width:20,imageError:!0},o(s)):"original"===t?(e={height:Math.min(c,n),width:Math.min(u,l)},r()):(e={height:c,width:u},r()),a(e)},s.onerror=()=>{o(s),a({height:20,width:20,imageError:!0})},s.src=e,n=setTimeout((()=>{o(s),a({height:20,width:20,imageError:!0})}),3e3)}))}};async function ex(e,t,n){let r=e.ref.qStaticContentUrl.qUrl;const o=function(e){var t,n,r;let o,i,a,s,l,c;if(e&&(null!==(t=e.session)&&void 0!==t&&t.options||null!==(n=e.enigmaModel)&&void 0!==n&&null!==(n=n.session)&&void 0!==n&&n.sessionConfig||null!==(r=e.session)&&void 0!==r&&null!==(r=r.config)&&void 0!==r&&r.url)){var u;if(o=e.session.options||(null===(u=e.enigmaModel)||void 0===u?void 0:u.session.sessionConfig),!o){var d;o=null===(d=e.session)||void 0===d?void 0:d.config;const t=new URL(o.url);o.host=t.hostname,o.port=t.port,o.isSecure="wss:"===t.protocol}return c=void 0!==o.secure?o.secure:o.isSecure,i=c?"https://":"http://",a=o.host||"localhost",s=o.port?`:${o.port}`:"",l=o.prefix?o.prefix:"/","/"!==l[l.length-1]&&(l=`${l}/`),i+a+s+l}return""}(n);o&&(!function(e,t){const n=e.replace(t,"").replace(/^\.\.\//i,"/");n[0]}(r,o),r=r.replace(/"/g,'\\"'),r=r.replace(/'/g,"\\'"),r=function(e,t){return t+("/"===e[0]?e.substr(1):e)}(r,o));const{height:i,width:a,imageError:s}=await Qb.getImageSize(r,t);return{src:r,size:t,height:i,width:a,imageError:s}}async function tx(e,t,n,r){var o,i,a;const{app:s,flags:l}=t,c=null===(o=e.layout)||void 0===o||null===(o=o.tooltip)||void 0===o?void 0:o.imageComponents;if(!c)return[];const[u]=c,d=u.size||"small",p=u.type||"media";let f=-1;for(let e=0;e<n.length;e++)if(n[e].cId===u.cId){f=e;break}const h=(null===(i=r.data)||void 0===i||null===(i=i.customTooltipAttrExps)||void 0===i?void 0:i.value)||[];let m;if(-1!==f&&h[f]&&(m=h[f]),"media"===p&&null!==(a=u.ref)&&void 0!==a&&null!==(a=a.qStaticContentUrl)&&void 0!==a&&a.qUrl)return ex(u,d,s);if("url"===p)return async function(e,t,n,r,o){let i,a=n.ref;if(o&&o.label&&(a=o.label),t.isEnabled("IMAGE_BUNDLE_LOAD")&&null!=e&&e.getImage&&Zb(a))try{const t=`data:image/png;base64, ${await e.getImage(a)}`,{height:n,width:o,imageError:s}=await Qb.getImageSize(t,r);i={src:t,size:r,height:n,width:o,imageError:s}}catch(e){}else{const{height:e,width:t,imageError:n}=await Qb.getImageSize(a,r);i={src:a,size:r,height:e,width:t,imageError:n}}return i}(s,l,u,d,m);if(l.isEnabled("IMAGE_BUNDLE_LOAD")&&"field"===p&&m&&m.label){return async function(e,t,n,r){let o;const i=r.label,a=`qmem://${t.qFallbackTitle}/${i}`;if(Zb(a))try{const t=await e.getImage(a);if(t){const e=`data:image/png;base64, ${t}`,{height:r,width:i,imageError:a}=await Qb.getImageSize(e,n);o={src:e,size:n,height:r,width:i,imageError:a}}}catch(e){}return o}(s,n[f],d,m)}return[]}const nx={async addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){const o=t,i=[];for(let t=0;t<o.length;t++)i.push(tx(e,r,n,o[t]));const a=await Promise.all(i);for(let e=0;e<o.length;e++)o[e].data.customTooltipImages=[a[e]];return o},checkIfPromisesExist({customTooltipModel:e}){var t;const n=null===(t=e.layout)||void 0===t||null===(t=t.tooltip)||void 0===t?void 0:t.imageComponents;return!!n&&n.length>0}},rx={async handlePromises({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){let o=t;return o=await nx.addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}),o},checkIfPromisesExist:({customTooltipModel:e})=>nx.checkIfPromisesExist({customTooltipModel:e})};const ox=(e,t)=>{var n,r,o;const i=null==e||null===(n=e.qHyperCubeDef)||void 0===n?void 0:n.qDimensions,a=null==e||null===(r=e.qHyperCubeDef)||void 0===r?void 0:r.qMeasures,s=null==e||null===(o=e.qHyperCubeDef)||void 0===o?void 0:o.qInterColumnSortOrder,l=t;return{qInfo:{qType:Jb.CHART.CHART_PARENT_TYPE,qId:Jb.CHART.CHART_OBJECT_ID},qHyperCubeDef:{qDimensions:i,qMeasures:a,qInterColumnSortOrder:s,qInitialDataFetch:[{qWidth:0,qHeight:0}]},qStateName:l}},ix=e=>{var t;const n=null===(t=e.tooltip)||void 0===t||null===(t=t.chart)||void 0===t||null===(t=t.object)||void 0===t?void 0:t.refId;return{qInfo:{qType:Jb.CHART.CHART_CHILD_TYPE},qExtendsId:n}};const ax={createContainer:({ctx:e,layout:t})=>{var n;if(!((null===(n=t.qHyperCube)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.length)<=0))return function(e,t){var n,r;const o=null!==(n=null===(r=t.tooltip)||void 0===r||null===(r=r.chart)||void 0===r||null===(r=r.style)||void 0===r?void 0:r.size)&&void 0!==n?n:"medium",i=Jb.CHART.STYLE[o];return[{content:[e.h("div",{style:{display:"flex",width:i,height:i,backgroundColor:"#FFFFFF",borderRadius:"5px",padding:"2px",color:"#595959"},colspan:2,id:Jb.CHART.CONTAINER_ID})],colspan:2,style:{"text-align":e.rtl?"right":"left","max-width":i,width:"100%"}},{}]}(e,t)},show:async({app:e,properties:t,selectedNodes:n,dimIndex:r,customTooltipModel:o,rtl:i})=>{var a;const s=o,l=null==t||null===(a=t.tooltip)||void 0===a||null===(a=a.chart)||void 0===a||null===(a=a.object)||void 0===a?void 0:a.refId;if(null!=s&&s.embed&&e.removeSessionAlternateState&&e.addSessionAlternateState&&l&&!(t.qHyperCubeDef.qDimensions.length<=0)){await ax.hide({app:e,customTooltipModel:o});try{await async function({app:e,properties:t,customTooltipModel:n}){const r=n,o=Jb.CHART.STATE,i=t.qStateName;r.miniChartToken.alternateState||(r.miniChartToken.alternateState=o,await e.addSessionAlternateState(o,i),r.miniChartToken.alternateState=o)}({app:e,properties:t,customTooltipModel:o});const a=await async function({app:e,properties:t,customTooltipModel:n}){var r;const o=n;null!==(r=o.miniChartToken.sessionObj)&&void 0!==r&&r.id&&await e.destroySessionObject(o.miniChartToken.sessionObj.id);const i=Jb.CHART.STATE,a=ox(t,i),s=await e.createSessionObject(a),l=ix(t);if(s.id!==Jb.CHART.CHART_OBJECT_ID)return void e.destroySessionObject(s.id);o.miniChartToken.sessionObj=s;const c=await s.createChild(l);if(o.miniChartToken.sessionObj&&o.miniChartToken.sessionObj.id===s.id)return o.miniChartToken.model=c,c;e.destroySessionObject(s.id)}({app:e,properties:t,customTooltipModel:o});if(s.miniChartToken.alternateState&&s.miniChartToken.sessionObj&&a){var c,u,d,p;const e=n.length>0&&void 0!==(null===(c=n[0].data)||void 0===c?void 0:c.value)?[null===(u=n[0].data)||void 0===u?void 0:u.value]:[],a=void 0!==r?r:t.qHyperCubeDef.qDimensions.length-1;if(2===t.qHyperCubeDef.qDimensions.length&&void 0===r&&n.length>0){var f,h;const e=null!==(f=n[0].data.selectionOuterDimension)&&void 0!==f?f:n[0].data.selectionDimension;if(null!=e&&null!==(h=e.source)&&void 0!==h&&h.field){var m;const t=null==e||null===(m=e.source)||void 0===m?void 0:m.field.split("/"),n=t[t.length-1],r=void 0!==e.value?[e.value]:[];r.length>0&&void 0!==n&&s.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",Number(n),r,!1)}}e.length>0&&s.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",a,e,!1);const l=document.getElementById(Jb.CHART.CONTAINER_ID),g={direction:i?"rtl":"ltr",isReadonly:!0,isPopover:!0,navigation:!1,selections:!1};s.miniChartToken.vis=await o.embed.render({element:l,model:s.miniChartToken.model,options:g,id:null===(d=s.miniChartToken.model)||void 0===d?void 0:d.id,type:null===(p=s.miniChartToken.model)||void 0===p?void 0:p.genericType})}}catch(t){await ax.hide({app:e,customTooltipModel:o})}}},hide:async({app:e,customTooltipModel:t})=>{const n=t;null!=n&&n.embed&&(ax.destroyVisualization({customTooltipModel:t}),await e.destroySessionObject(Jb.CHART.CHART_OBJECT_ID),n.miniChartToken.sessionObj=void 0,await async function({app:e,customTooltipModel:t}){const n=t,r=Jb.CHART.STATE;n.miniChartToken.alternateState=void 0,await e.removeSessionAlternateState(r)}({app:e,customTooltipModel:t}))},destroyVisualization:({customTooltipModel:e})=>{var t;const n=e;"function"==typeof(null===(t=n.miniChartToken)||void 0===t||null===(t=t.vis)||void 0===t?void 0:t.destroy)&&(n.miniChartToken.vis.destroy(),n.miniChartToken.vis=void 0)}};function sx(e){const t=e.qHyperCubeDef?e.qHyperCubeDef.qDimensions:e.qHyperCube.qDimensionInfo;if(t&&t.length>0)return t}function lx(){const{EXPRESSION:e,TITLE:t,DESCRIPTION:n,IMAGES:r}=Jb.CUSTOM,o={};return o[e]=!0,o[t]=!0,o[n]=!0,o[r]=!0,o}function cx(e){const t=lx();return e.filter((e=>t[e.id]))}const ux={getNodes(e,t){const n=function(e,t){let n=0,r=0;e.center?(n+=e.center.x,r+=e.center.y):(n+=e.clientX,r+=e.clientY);const o=t.element.getBoundingClientRect();return{cx:n-o.left,cy:r-o.top}}(e,t);return t.shapesAt({x:n.cx,y:n.cy})},getDataNodes(e,t){let n,r=[];const o={container:{bar:!0,"bullet-axis":!0},circle:{"point-component":!0}};return t.forEach((t=>{var i,a,s,l;const c=null!==(i=null===(a=t.data)||void 0===a?void 0:a.selectionDimension)&&void 0!==i?i:t.data;if(!c||null!==(s=t.data)&&void 0!==s&&s.customTooltipAttrExps||o[t.type]){if(null!==(l=t.data)&&void 0!==l&&l.customTooltipAttrExps&&!t.data.customTooltipImages){const e=t;e.data.customTooltipImages=[],r.push(e)}}else{n||(n=[],Object.keys(o).forEach((t=>{n=n.concat(e.findShapes(t).filter((e=>e.data&&e.data.customTooltipAttrExps&&!e.data.customTooltipImages&&o[t][e.key])))})));const t=n.filter((e=>{var t,n;const r=null!==(t=null!==(n=e.data.stack)&&void 0!==n?n:e.data.selectionOuterDimension)&&void 0!==t?t:e.data.selectionDimension;return r&&r.value===c.value&&r.label===c.label}));t.length>0&&(r=r.concat(t[0]))}})),r},displayTooltip(e,t,{nodes:n,opts:r={},customTooltipModel:o,extractedNodes:i=[],hide:a}){if(o&&!a){const{layout:a,chart:s}=o,{attrExps:l}=ux.getAttrExprData(a);i.length||n.length?rx.handlePromises({customTooltipModel:o,nodes:ux.getDataNodes(s,i.length>0?i:n),attrExps:l,opts:r}).then((()=>{t.emit("show",e,n.length?{nodes:n}:void 0)})):t.emit("show",e,n.length?{nodes:n}:void 0)}else{var s;null!=o&&null!==(s=o.miniChartToken)&&void 0!==s&&s.alternateState&&ax.hide({app:r.app,customTooltipModel:o}),t.emit("hide")}},checkIfPromisesExist:({customTooltipModel:e})=>rx.checkIfPromisesExist({customTooltipModel:e}),getAttrExps(e,t){var n;const r=t,o=null!==(n=e.qHyperCubeDef)&&void 0!==n&&n.qDimensions?"qAttributeExpressions":"qAttrExprInfo";return r[o]||(r[o]=[]),r[o]},getAttrExprData(e){var t;let n=[],r="";const o=(null===(t=e.qHyperCube)||void 0===t?void 0:t.qDimensionInfo)||[];if(o.length>0){var i;const t=o.length-1;n=(null===(i=e.qHyperCube)||void 0===i||null===(i=i.qDimensionInfo)||void 0===i||null===(i=i[t])||void 0===i?void 0:i.qAttrExprInfo)||[],r=`qDimensionInfo/${t}/qAttrExprInfo`}return{attrExps:n,fieldPath:r}},quarantineCustomTooltipAttrs(e,t={}){var n;if(!(null===(n=e.qLayoutExclude)||void 0===n||null===(n=n.quarantine)||void 0===n?void 0:n[Jb.CUSTOM.QUARANTINE])){!function(e,t){const n=t;let r=n.qLayoutExclude;r||(n.qLayoutExclude={quarantine:{}},r=n.qLayoutExclude),r.quarantine||(r.quarantine={}),r.quarantine[Jb.CUSTOM.QUARANTINE]=[],e.forEach((e=>{r.quarantine[Jb.CUSTOM.QUARANTINE].push(e)})),n.qLayoutExclude=r}(cx(t.qAttributeExpressions||[]),e)}},unquarantineCustomTooltipAttrs(e){var t;const n=e;(null===(t=e.qLayoutExclude)||void 0===t||null===(t=t.quarantine)||void 0===t?void 0:t[Jb.CUSTOM.QUARANTINE])&&delete n.qLayoutExclude.quarantine[Jb.CUSTOM.QUARANTINE]},setAttrsFromQuarantine(e,t){const n=sx(e);if(!n)return;const r=void 0!==t?t:n.length-1;if(!n[r])return;const o=this.getAttrExps(e,n[r]);if(0===cx(o).length){var i;const t=(null===(i=e.qLayoutExclude)||void 0===i||null===(i=i.quarantine)||void 0===i?void 0:i.customTooltip)||[],n=[...o,...t],a=e;a.qHyperCubeDef?a.qHyperCubeDef.qDimensions[r].qAttributeExpressions=n:a.qHyperCube.qDimensionInfo[r].qAttrExprInfo=n}},moveCustomTooltipAttrs(e,t={},n){let r=[];const o=sx(e)||[];[...o,t].forEach((e=>{const t=cx(e.qAttributeExpressions||[]);t.length>0&&(r=t)}));const i=lx(),a=o.map((e=>{const t=e,n=e.qAttributeExpressions||[];return t.qAttributeExpressions=n.filter((e=>!i[e.id])),t})),s=void 0!==n?n:a.length-1;a.length>0&&(a[s].qAttributeExpressions=a[s].qAttributeExpressions.concat(r));const l=e;e.qHyperCubeDef?l.qHyperCubeDef.qDimensions=a:l.qHyperCube.qDimensionInfo=a},addCallbackCustomTooltip(e){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e):(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},moveCallbackCustomTooltip(e,t){1===e.qHyperCubeDef.qDimensions.length&&(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e)),e.qHyperCubeDef.qDimensions.length>1&&this.moveCustomTooltipAttrs(e,t)},removeCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>0?this.moveCustomTooltipAttrs(e,t):this.quarantineCustomTooltipAttrs(e,t)},replaceCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e,t):(this.quarantineCustomTooltipAttrs(e,t),this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},shouldIgnoreDefaultRows(e){var t;return(null===(t=e.tooltip)||void 0===t?void 0:t.hideBasic)||0},DEBOUNCE_THRESHOLD:50,getFooterRow:(e,t)=>[{content:e,style:{"font-style":"italic","font-size":"12px","line-height":"16px",color:"rgba(255, 255, 255, 0.6)","text-align":t?"right":"left",direction:ve.detectTextDirection(e)},colspan:2},{}],getImageRow(e,t){const n=ve.detectTextDirection(e.src),r=[],o={style:{display:"block","margin-left":"auto","margin-right":"auto",overflow:"hidden",width:e.width,height:e.height}};if("original"===e.size||e.imageError){r.push(t.h("span",{style:{display:"inline-block",height:"100%","vertical-align":"middle"}}));const n=e.imageError?`${e.src}?${Math.random()}`:e.src;r.push(t.h("img",{style:{"max-width":e.width,"max-height":e.height,"vertical-align":"middle"},src:n,referrerpolicy:"no-referrer"})),o.style["text-align"]="center",o.style["white-space"]="nowrap"}else o.style["background-size"]="contain",o.style["background-repeat"]="no-repeat",o.style["background-position"]="center",o.style["background-image"]=`url('${e.src}')`;return[{content:[t.h("div",o,r),""],style:{"text-align":t.rtl?"right":"left",direction:n,"max-width":e.width},colspan:2},{}]}};function dx(e,t,n,r){var o;const i=(null===(o=t.qHyperCube)||void 0===o||null===(o=o[n])||void 0===o||null===(o=o[r])||void 0===o?void 0:o.qAttrExprInfo)||[],a=[],s=e.qSubNodes&&e.qSubNodes[r]?e.qSubNodes[r].qAttrExps:e.qAttrExps;return s?(i.forEach(((e,t)=>{const o=s.qValues&&s.qValues[t]?s.qValues[t]:void 0,i=void 0===o?"NaN":function(e,t){let n;switch(e.id){case Jb.CUSTOM.EXPRESSION:n="NaN"===t.qNum||e.isCustomFormatted?void 0===t.qText?"NaN":t.qText:t.qNum;break;case Jb.CUSTOM.TITLE:case Jb.CUSTOM.DESCRIPTION:case Jb.CUSTOM.IMAGES:n=void 0===t.qText?e.qFallbackTitle:t.qText;break;default:n="NaN"}return n}(e,o);a.push({source:{key:"qHyperCube",field:`${n}/${r}/qAttrExprInfo/${t}`},label:i,value:"value"})})),a):a}const px={getNode(e,{dimensionCount:t}){if(!t||t<1)return;const n=t-1,r="qDimensionInfo";return{field:`${r}/${n}`,value:t=>dx(t,e,r,n)}}};const fx={getCustomAttrExps(e,t,n){var r;const o={customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]},i=(null===(r=t.data)||void 0===r||null===(r=r.customTooltipAttrExps)||void 0===r?void 0:r.value)||[];if(Number.isNaN(i))return o;return function(e,t,n,r){const o={[Jb.CUSTOM.TITLE]:!0,[Jb.CUSTOM.DESCRIPTION]:!0},{attrExps:i,fieldPath:a}=ux.getAttrExprData(e);return 0===t.length||0===i.length||""===a||i.forEach(((e,i)=>{const s=t[i];if(e.id===Jb.CUSTOM.EXPRESSION&&s){const t=e.qFallbackTitle,o="NaN"===s.value||e.isCustomFormatted?s.value:n("qHyperCube").field(`${a}/${i}`).formatter()(s.value);r.customTooltipAttrExpsArr.push({label:t,value:o})}else if(o[e.id]&&s){const t="-"!==s.value&&"NaN"!==s.value?s.value:s.label;t&&"undefined"!==t&&r.customTooltipInfoAttrExpsArr.push({...e.id===Jb.CUSTOM.TITLE&&{title:t},value:t,id:e.id})}})),r}(n,i.map((t=>be.getMeasure(e,t))),e,o)}};function hx({nodes:e,layout:t,dataset:n}){const r=function(e,t,n){const r=[];return e.forEach((e=>{r.push(fx.getCustomAttrExps(n,e,t))})),r}(e,t,n);return r.reduce(((e,t)=>({customTooltipAttrExpsArr:e.customTooltipAttrExpsArr.concat(t.customTooltipAttrExpsArr),customTooltipInfoAttrExpsArr:e.customTooltipInfoAttrExpsArr.concat(t.customTooltipInfoAttrExpsArr)})),{customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]})}function mx(e){const t=Jb.CUSTOM.EXPRESSION,{qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}=e.qDef;return e.qLibraryId?{qLibraryId:e.qLibraryId,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}:{qExpression:e.qDef.qDef,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}}function gx(e){var t;const n=null===(t=e.qHyperCubeDef)||void 0===t?void 0:t.qDimensions;return n[n.length-1].qAttributeExpressions||[]}var yx={attrExpr:{migrateProperties(e){var t,n;const r=se(!0,{},e),o=(null===(t=r.tooltip)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.qHyperCubeDef)||void 0===t?void 0:t.qMeasures)||[];let i=gx(r);return i=function(e,t){return t.concat(e.map((e=>mx(e))))}(o,i),function(e,t){var n;const r=null===(n=t.qHyperCubeDef)||void 0===n?void 0:n.qDimensions;r[r.length-1].qAttributeExpressions=e}(i,r),null===(n=r.tooltip)||void 0===n||delete n.data,r},getPatches(e){var t,n;const r=(null===(t=e.tooltip)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.qHyperCubeDef)||void 0===t?void 0:t.qMeasures)||[],o=(null===(n=e.qHyperCubeDef)||void 0===n?void 0:n.qDimensions.length)-1,i=function(e,t,n){let r=e.length;const o=[];return t.forEach((e=>{const t=mx(e),i=JSON.stringify(t);o.push({qPath:`/qHyperCubeDef/qDimensions/${n}/qAttributeExpressions/${r}`,qOp:"add",qValue:i}),r++})),o.push({qPath:"/tooltip/data",qOp:"remove"}),o}(gx(e),r,o);return i},checkForBackwardCompatibility:(e,t)=>(e.qMeasureInfo||[]).length>0&&t.length>0,updateProperties(e,t){return new Promise((n=>{var r,o,i;const a=(null===(r=t.qHyperCube)||void 0===r?void 0:r.qDimensionInfo)||[],s=(null===(o=t.tooltip)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.qHyperCube)||{},l=null===(i=t.qMeta)||void 0===i||null===(i=i.privileges)||void 0===i?void 0:i.includes("update");e&&e.getEffectiveProperties&&this.checkForBackwardCompatibility(s,a)&&e.getEffectiveProperties().then((t=>{if(l){const r=this.migrateProperties(t);e.setProperties(r).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}else{const r=this.getPatches(t);e.applyPatches(r,!0).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}})),n(!1)}))}}};const{CUSTOM:vx}=Jb;function bx({flags:e,layout:t,app:n,model:r,picasso:i,chart:a,translator:s,localeInfo:l,embed:c,options:u}){const d={properties:void 0},p=function({layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,embed:s}){return{layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,useCustomTooltip:e.tooltip&&!e.tooltip.auto,utils:ux,miniChartToken:{},embed:s}}({layout:t,app:n,model:r,picasso:i,chart:a,translator:s,localeInfo:l,embed:c}),f="rtl"===u.direction,h=()=>{var e;const n=!(null===(e=d.properties)||void 0===e||null===(e=e.qHyperCubeDef)||void 0===e||!e.qDimensions.some((e=>{var t;return null===(t=e.qCalcCondition)||void 0===t||null===(t=t.qCond)||void 0===t?void 0:t.qv})));return!(!t.tooltip||t.tooltip.auto||n)};return{setProperties:e=>{d.properties=e},isEnabled:()=>h(),hideBasic:()=>h()&&o(t,"tooltip.hideBasic",!1),getAttributes:({dataset:e,nodes:n})=>{var r,o;const i=hx({dataset:e,nodes:n,layout:t});return{title:null===(r=i.customTooltipInfoAttrExpsArr.find((e=>e.id===vx.TITLE)))||void 0===r?void 0:r.title,description:null===(o=i.customTooltipInfoAttrExpsArr.find((e=>e.id===vx.DESCRIPTION)))||void 0===o?void 0:o.value,measures:i.customTooltipAttrExpsArr}},hasImages:()=>ux.checkIfPromisesExist({customTooltipModel:p}),createImageRow:({value:e,h:t})=>ux.getImageRow(e,{h:t,rtl:f}),addImages:({nodes:r})=>{const o=ux.getDataNodes(a,r),{attrExps:i}=ux.getAttrExprData(t);return rx.handlePromises({customTooltipModel:p,nodes:o,attrExps:i,opts:{flags:e,app:n}})},chart:{isEnabled:()=>{return!!(h()&&null!==(e=t.tooltip)&&void 0!==e&&null!==(e=e.chart)&&void 0!==e&&null!==(e=e.object)&&void 0!==e&&e.refId&&c&&"function"==typeof(null==r?void 0:r.getEffectiveProperties));var e},hasLimitation:()=>{var e;return!(null==n||null===(e=n.isInModalSelection)||void 0===e||!e.call(n))},createContainer:({h:e})=>ax.createContainer({layout:t,ctx:{h:e,rtl:f}}),createLimitationRow:()=>ux.getFooterRow(s.get("properties.tooltip.notselectedmessage"),f),show:({nodes:e,properties:t})=>ax.show({app:n,properties:t,selectedNodes:e,customTooltipModel:p,rtl:f}),hasAlternateState:()=>{var e;return!(null===(e=p.miniChartToken)||void 0===e||!e.alternateState)},hide:()=>ax.hide({app:n,customTooltipModel:p}),destroy:()=>ax.destroyVisualization({customTooltipModel:p})}}}function xx(e){return{layout:e,keys:{SCALE:{FILL:"fill"},COMPONENT:{DIMENSION_TITLE:"dimension-title",SLICES:"slices",PIE_LABELS:"pie-labels"}}}}function Sx({layout:e}){const t=({ds:e,encodings:t})=>{const n={field:"qDimensionInfo/0",props:{num:{field:t.slice.arc}}};return t.slice.outerRadius&&(n.props.radius={field:t.slice.outerRadius}),e.extract(n)},n=({rows:e,encodings:t})=>t.slice.outerRadius?e.filter((e=>"NaN"!==e.num.value&&"NaN"!==e.radius.value)):e.filter((e=>"NaN"!==e.num.value)),r=({rows:t,encodings:n})=>n.slice.outerRadius&&!e.donut.showAsDonut?t.filter((e=>e.num.value>0&&e.radius.value>0)):t.filter((e=>e.num.value>0));return c({layout:e,config:{args:{},disclaimers:{NoDataExist:{condition:({ds:e,encodings:n})=>0===t({ds:e,encodings:n}).length},LimitedData:{condition:()=>{const t=fe.getValue(e,"qHyperCube.qSize.qcy");return fe.getValue(e,"qHyperCube.qDataPages.0.qArea.qHeight")<t}},OnlyNanData:{condition:({ds:e,encodings:r})=>{const o=t({ds:e,encodings:r});return 0===n({rows:o,encodings:r}).length}},OnlyNegativeOrZeroValues:{condition:({ds:e,encodings:o})=>{const i=t({ds:e,encodings:o}),a=n({rows:i,encodings:o});return 0===r({rows:a,encodings:o}).length}},NegativeOrZeroValues:{condition:({ds:e,encodings:o})=>{const i=t({ds:e,encodings:o}),a=n({rows:i,encodings:o}),s=a,l=r({rows:a,encodings:o});return s.length!==l.length}}}}})}function wx({chart:e,translator:t,layout:n,constraints:r,options:o,themeService:i,colorService:a,custom:s}){const l=n.qHyperCube.qMeasureInfo.length>1,c="rtl"===o.direction,{fontFamily:d}=i.getStyles();return u({chart:e,translator:t,config:{rtl:c,enable:()=>!r.passive,getColorSettings:()=>a.getSettings(),style:{fontFamily:d},main:{key:"tooltip",getGroupByValue:({data:e})=>e.value,collectibles:[{key:"slices",type:"slice",major:({data:e})=>e.value}],triggers:[{keys:["slices"],collect:{from:"single"},placement:"collectible"},{keys:["pie-labels","negative-indicators"],collect:{from:"dimension",by:({data:e})=>e.value},placement:"trigger"}],placement:({meta:e})=>({type:"slices"===e.triggerer?"slice":"bounds"}),section:({h:e,nodes:n,dataset:r,formatter:o,create:i,util:a})=>{const[c]=n,{title:u,description:d,measures:p}=s.isEnabled()?s.getAttributes({dataset:r,nodes:n}):{},f=[];u&&f.push(i.text({value:u,style:{bold:!0}})),d&&f.push(i.text({value:d}));const h=s.hideBasic();if(h&&!p.length&&(u||d)||f.push(i.text({value:c.data.label,style:{bold:!0}})),!h){f.push(i.color({nodes:n,property:"fill"}));const{num:e}=c.data;if(f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label})),l){const{radius:e}=c.data;f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label}))}f.push(i.measure({label:t?t.get("properties.dataPoints.labelmode.share"):"Share",value:o("share")(c.desc.share)}))}p&&f.push(...p.map((e=>i.measure({label:e.label,value:e.value,survive:{color:!0,duplicate:!0}})))),s.chart.isEnabled()&&(s.chart.hasLimitation()?(s.chart.destroy(),f.push(i.raw({value:s.chart.createLimitationRow()}))):f.push(i.raw({value:s.chart.createContainer({h:e})})));const{customTooltipImages:m}=c.data;return s.isEnabled()&&m&&f.push(...m.map((t=>i.raw({value:s.createImageRow({value:t,h:e})})))),f},layout:{grouping:!0},events:{tooltip:{beforeShow:({collectNodes:e})=>s.isEnabled()&&s.hasImages()?s.addImages({nodes:e()}):Promise.resolve(),afterShow:({expando:e,nodes:t})=>{s.chart.isEnabled()&&!s.chart.hasLimitation()&&s.chart.show({nodes:t,properties:e.get("properties")})}},interaction:{mouseleave:()=>{s.chart.isEnabled()&&s.chart.hasAlternateState()&&s.chart.hide()}}}},legend:{keys:{tooltip:"legend-color-cat",component:"legend-cat"}}}})}function Cx({scaleKey:e,legend:t,onEdited:n}){const{layout:r}=t,{dock:o}=r||{};return{type:"brush-range",key:"legendRangeBrush",layout:{dock:"@legend-seq"},on:n?{bubbleEnd(){n()}}:{},settings:{brush:"selection",scale:`${e}Range`,direction:"left"===o||"right"===o?"vertical":"horizontal",bubbles:{align:"left"===o||"top"===o?"end":"start",placement:"outside"},target:{selector:'[id="legend-seq-target"]',fillSelector:'[id="legend-seq-ticks"]',fill:"rgba(82,204,82,0.2)"}}}}const kx=.8,Ex=.55,Tx=.3,Rx={CORNER_RADIUS:0,INNER_RADIUS:Ex,STROKE:{COLOR:"#FFFFFF",WIDTH:{NONE:0,SMALL:2,MEDIUM:4,LARGE:6}}},Mx=({layout:e},t,n)=>t.encodings.slice.outerRadius?{scale:"radius",fn:t=>{var r,o;let i=kx,a=0;const s=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:Ex;e.donut.showAsDonut&&(i=kx-s,a=s);return t.scale(Math.max(0,t.datum.radius.value))*i+a}}:kx,Px=({layout:e},t,n)=>{var r,o;if(!e.donut.showAsDonut)return 0;const i=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:Ex;return t.encodings.slice.outerRadius?{scale:"radius",fn:e=>{const t=kx-i,n=i;return e.scale(Math.min(0,e.datum.radius.value))*t+n}}:i},Ox=({layout:e},t)=>{var n,r,o,i,a;const s=t.colorService.getDatumProps(),l=s[Object.keys(s)[0]],c=l&&l.field?l.field:void 0,u="qDimensionInfo/0"===c,d=c?t.ds.field(c).raw():null,p=d&&(d.label||d.title||d.qFallbackTitle)||"",f=t.encodings.slice.outerRadius,{formatter:h}=t.chart,m=fe.getValue(e,"qHyperCube.qDimensionInfo",[]).length;function g(e,n){const r=t.ds.field(e).raw();return{field:e,label:!r.isCustomFormatted&&(r.qIsAutoFormat||"U"===r.qNumFormat.qType)?e=>h(n)(e.qNum):e=>e.qText}}const y=(e.components||[]).filter((e=>"slices"===e.key))[0];return{type:"pie",key:"slices",data:{extract:{field:"qDimensionInfo/0",props:{...s,num:g(t.encodings.slice.arc,"arc"),fillTooltip:c?{field:c,label:p,value:e=>u?e.qText||"-":void 0!==e.qNum&&"NaN"!==e.qNum?e.qText?e.qText:e.qNum:e.qText||"-"}:void 0,customTooltipAttrExps:0!==m?px.getNode(e,{dimensionCount:m}):void 0,radius:f?g(f,"outerRadius"):void 0}}},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3},active:{stroke:"rgba(52, 52, 52, 0.7)",strokeWidth:2}}},{context:"highlight",data:[""],style:{inactive:{fill:"#BFDAD9"},active:{fill:"#68B2AF"}}}]},settings:{startAngle:()=>t.viewState.get("rotation"),endAngle:()=>t.viewState.get("rotation")+2*Math.PI,slice:{arc:{ref:"num"},innerRadius:Px({layout:e},t,y),fill:t.colorService.getColor(),strokeWidth:null!=y&&null!==(n=y.style)&&void 0!==n&&n.strokeWidth?Rx.STROKE.WIDTH[y.style.strokeWidth.toUpperCase()]:Rx.STROKE.WIDTH.NONE,stroke:null!==(r=null==y||null===(o=y.style)||void 0===o||null===(o=o.strokeColor)||void 0===o?void 0:o.color)&&void 0!==r?r:Rx.STROKE.COLOR,outerRadius:Mx({layout:e},t,y),cornerRadius:null!==(i=null==y||null===(a=y.style)||void 0===a?void 0:a.cornerRadius)&&void 0!==i?i:0}},animations:{enabled:t.animations.enabled,isMainComponent:!0}}};function Dx({layout:e},t){var n,r;const o=(e.components||[]).filter((e=>"slices"===e.key))[0],i=null!==(n=null==o||null===(r=o.style)||void 0===r?void 0:r.innerRadius)&&void 0!==n?n:Ex,a=t.encodings.slice.outerRadius,s=t.themeService.getStyles();return!(!e.donut.showAsDonut||!a)&&{type:"pie",key:"zeroLine",data:{items:[1]},settings:{slice:{arc:1,fill:"transparent",innerRadius:0,strokeWidth:1,stroke:s.label.name.color,outerRadius:{scale:"radius",fn:e=>{const t=kx-i,n=i;return e.scale(0)*t+n}}}},animations:{enabled:t.animations.enabled}}}function Ix(e){return{type:"pie-dividers",key:"pie-dividers",layout:{displayOrder:2},settings:{component:"slices",selector:"path"},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:e.animations.enabled,trackBy:()=>Math.random()}}}function qx({layout:e},t){if(e.donut.showAsDonut||!t.encodings.slice.outerRadius)return!1;return{type:"negative-indicators",key:"negative-indicators",layout:{displayOrder:2},settings:{component:"slices",selector:"path",offset:5,size:4,fill:t.themeService.getStyles().label.name.color},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:t.animations.enabled}}}const Ax=()=>({key:"area",type:"brush-area",settings:{brush:{components:[{key:"slices",contexts:["selection"],action:"add"}]}},style:{area:{fill:"transparent",strokeWidth:2,stroke:"black",strokeDasharray:"5 5",opacity:.7}}}),Nx=()=>({key:"lasso",type:"brush-lasso",layout:{displayOrder:99},settings:{brush:{components:[{key:"slices",contexts:["selection"]}]},lasso:{fill:"rgba(0, 0, 0, 0)",stroke:"black",strokeWidth:2,opacity:.7,strokeDasharray:[]},snapIndicator:{threshold:75,strokeDasharray:"5, 5",stroke:"black",strokeWidth:2,opacity:.7},startPoint:{r:10,stroke:"rgba(77, 192, 78, 1)",strokeWidth:0,opacity:1}}});function Lx(e){const t=e.node.desc&&e.node.desc.share;return t?e.formatter("share")(t):""}function zx(e){return e.node.data.num.label}function jx(e){return e.node.data.radius.label}function $x(e,t,n){if(e.dataPoint.auto)return n?zx:Lx;if("share"===e.dataPoint.labelMode)return Lx;if("value"===e.dataPoint.labelMode){return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?jx:zx}return null}function _x({data:e}){return e?e.label:""}function Fx(e){const t=parseInt(e,10);if(!isNaN(t))return t}const Hx=e=>t=>e.getContrastingColorTo(t.node.attrs.fill);function Wx(e){var t,n;const r=((e&&e.components?e.components:void 0)||[]).filter((e=>"slices"===e.key))[0];return(null!==(t=null==r||null===(n=r.style)||void 0===n?void 0:n.innerRadius)&&void 0!==t?t:Ex)>Tx}function Bx({node:e,data:t}){return se({_share:e.desc.share,_fillColor:e.attrs.fill},t)}function Ux(e,t,n){const r=t.styleService.label.name.getStyle(),o=[{padding:10,direction:t.encodings.slice.outerRadius?"rotate":"horizontal",placements:[{position:"outside",padding:t.encodings.slice.outerRadius?4:2,fill:r.fill}],fontSize:Fx(r.fontSize),fontFamily:r.fontFamily,label:_x,linkData:({node:e,data:t})=>se({_share:e.desc.share,_fillColor:e.attrs.fill,_showTooltip:!0},t)}];if($x(e,t,!1)){const r=function(e,t,n){return{label:$x(e,t,!1),simplifiedPlacements:[{position:e.donut.showAsDonut&&Wx(e)?"inside":"into",onBackground:e.donut.showAsDonut&&Wx(e),padding:4}],theme:n.theme,themeId:"object.pieChart"}}(e,t,n),i=we(se(t,r),n.theme);i.linkData=Bx,o.push(i)}return{key:"pie-labels",type:"labels",renderer:Zo(t.flags),layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"slice",settings:{labels:o}}}]},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3}}}]},animations:{enabled:t.animations.enabled,trackBy:()=>Math.random()}}}function Vx({layout:e,context:t},n){return!1!==e.dataPoint.show&&(1===n.dataRowCount?function(e,t,n){const r=$x(e,t,!0),o=Hx(n.theme),i=t.themeService.getStyles(),a=t.styleService.label.name.getStyle(),s=t.styleService.label.value.getStyle(),l=a.fill===i.label.name.color,c=s.fill===i.label.value.color;return{key:"pie-labels",type:"labels",renderer:Zo(t.flags),layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"rows",settings:{align:.5,justify:.5,padding:10,labels:[{fontSize:Fx(a.fontSize),fontFamily:a.fontFamily,fill:l&&!e.donut.showAsDonut?o:a.fill,label:_x,linkData:({data:e})=>e},{fontSize:Fx(s.fontSize),fontFamily:s.fontFamily,fill:c&&!e.donut.showAsDonut?o:s.fill,label:r,linkData:({data:e})=>e}]}}}]},animations:{enabled:t.animations.enabled,trackBy:()=>Math.random()}}}(e,n,t):Ux(e,n,t))}const Gx=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendRange",enable(t,n){if(this.started||!n)return!0;if(e.constraints.select||e.constraints.active)return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-seq"===e.type)),o=(r||function(e){const{target:t}=e.srcEvent;return!(!t||!(t.hasAttribute("data-other-value")&&t.hasAttribute("data-idx")||"INPUT"===t.nodeName))}(n))&&!e.isLocked([this.chart.component("slices")]);return o||this.chart.component("legendRangeBrush").emit("rangeClear"),o}},events:{legendRangestart(t){t.preventDefault(),e.interactions.emit("selections-start"),this.chart.component("legendRangeBrush").emit("rangeStart",t),this.started=!0},legendRangemove(e){e.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeMove",e)},legendRangeend(t){t.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeEnd",t),e.onSelect(),this.started=!1}}});function Kx(e,t){const n=t.element.getBoundingClientRect();let r,o;return e.center?(({x:r}=e.center),({y:o}=e.center)):(r=e.clientX,o=e.clientY),{x:r-n.left,y:o-n.top}}function Yx(e,t){const n=t.component("slices");if(!n)return!1;const{x:r,y:o}=Kx(e,t),i=n.rect.x+n.rect.margin.left+n.rect.width/2,a=n.rect.y+n.rect.margin.top+n.rect.height/2,s=Math.min(n.rect.width,n.rect.height)/2*kx;return(i-r)**2+(a-o)**2<=s**2}const Xx=(e,t,{requireFailure:n,recognizeWith:r}={})=>({type:"Tap",requireFailure:n,recognizeWith:r,options:{event:"tap",interval:10,pointers:1,enable(t,n){return!n||!e.constraints.select&&!e.constraints.active&&(this.components=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).filter((e=>"slices"===e.key||"legend-cat"===e.key||"pie-labels"===e.key)),this.components.length)}},events:{tap(n){n.preventDefault();const{target:r}=n.srcEvent;if(r&&("INPUT"===r.nodeName||r.hasAttribute("data-other-value")))return void this.chart.component("legendRangeBrush").emit("bubbleStart",n);if(r&&r.hasAttribute("data-action")&&r.hasAttribute("data-component-key"))return void this.chart.component(r.getAttribute("data-component-key")).emit(r.getAttribute("data-action"));if(r&&r.children&&r.children[0]&&"legend-cat"===r.children[0].getAttribute("data-component-key"))return;if(e.isLocked(this.components))return;e.interactions.emit("selections-start");let o=Kx(n,this.chart);this.components.some((e=>"legend-cat"===e.key))&&(o={cx:o.x,cy:o.y,r:5});const i=this.chart.shapesAt(o,{components:[{key:"slices",propagation:"stop"},{key:"legend-cat",propagation:"stop"},{key:"pie-labels",propagation:"stop"}],propagation:"stop"});i.length&&(this.chart.brushFromShapes(i,{components:[{key:i[0].key,action:n.srcEvent.ctrlKey||t?"set":"toggle",contexts:["selection"]}]}),e.onSelect())}}}),Jx=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"lasso",enable(t,n){if(this.isStarted||!n)return!0;if(e.constraints.active||e.constraints.select||!e.interactions.lasso.active())return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return!e.isLocked(r)&&r.some((e=>"slices"===e.key))}},events:{lassostart(t){t.preventDefault(),e.constraints.select||e.constraints.active||this.isStarted||(e.interactions.emit("selections-start"),this.chart.component("lasso").emit("lassoStart",t),this.isStarted=!0)},lassomove(e){e.preventDefault(),this.chart.component("lasso").emit("lassoMove",e)},lassoend(t){t.preventDefault(),this.isStarted=!1,this.chart.component("lasso").emit("lassoEnd",t),e.onSelect()}}}),Zx=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Tap",requireFailure:t,recognizeWith:n,options:{event:"areatap",pointers:2,enable(t,n){if(this.started||!n)return!0;if(e.constraints.active||e.constraints.select)return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return r.some((e=>"slices"===e.key))&&!e.isLocked(r)}},events:{areatap(t){const n=this.chart.component("area");n&&!this.started&&(e.interactions.emit("selections-start"),n.emit("areaStart",t.pointers[0]),n.emit("areaMove",t.pointers[1]),this.started=!0,setTimeout((()=>{n.emit("areaEnd"),e.onSelect(),this.started=!1}),100)),t.preventDefault()}}});function Qx(e){return{type:"native",key:"theusual",events:{wheel(t){let n=!1;if(!e.constraints.active&&Yx(t,this.chart)){const r=Math.sign(-t.deltaY);e.viewState.set("rotation",r*(Math.PI/12)),n=!0}else if(!e.constraints.select&&!e.constraints.active){const e=this.chart.componentsFromPoint(t).filter((e=>"legend-cat"===e.key))[0];e&&(n=!0,function(e,t){const n=(Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY)>=0?"next":"prev";t.emit(n)}(t,e))}n&&t.preventDefault()}}}}const eS=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"rotate",pointers:1,threshold:10,enable(t,n){return!(!this.started&&n)||!e.constraints.active&&!e.interactions.lasso.active()&&Yx(n,this.chart)}},events:{rotatestart(e){e.preventDefault();const t=this.chart.component("slices").rect,n=this.chart.element.getBoundingClientRect();this.pieCenter={x:n.left+t.x+t.width/2,y:n.top+t.y+t.height/2},this.prevAngle=Math.atan2(e.center.y-this.pieCenter.y,e.center.x-this.pieCenter.x),this.started=!0},rotatemove(t){t.preventDefault();const n=Math.atan2(t.center.y-this.pieCenter.y,t.center.x-this.pieCenter.x);e.viewState.set("rotation",n-this.prevAngle),this.prevAngle=n},rotateend(e){e.preventDefault(),this.started=!1},rotatecancel(e){e.preventDefault(),this.started=!1}}}),tS=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendPan",pointers:1,threshold:10,enable(t,n){return!(!this.isStarted&&n)||!e.constraints.active&&this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-cat"===e.type))}},events:{legendPanstart(e){if(e.preventDefault(),!this.isStarted){this.components=this.chart.componentsFromPoint({x:e.center.x,y:e.center.y}),this.components.forEach((t=>{t.emit("panstart",e)})),this.isStarted=!0;const t=this.chart.component("tooltip");t&&t.show&&t.emit("hide")}},legendPanmove(e){this.components.forEach((t=>{t.emit("panmove",e)})),e.preventDefault()},legendPanend(e){e.preventDefault(),this.components.forEach((t=>{t.emit("panend",e)})),this.isStarted=!1}}}),nS=(e,t,n)=>({key:"hammered",type:"hammer",enable:!0,gestures:t?[eS(e,{}),Xx(e,t,{}),...n]:[Gx(e,{}),Zx(e,{}),eS(e,{}),Jx(e,{}),tS(e,{}),Xx(e,t,{}),...n]});function rS(e,t,n){const r=e.getIsSingleSelect(0),{constraints:o}=n;if(o.active&&o.passive)return[];const i=t.tooltipService.getInteractions();return[nS(t,r,i.gestures),Qx(t),i.native]}function oS({settings:e},t){const n={share:{type:"d3-number",format:".1%"},arc:{data:{field:t.encodings.slice.arc}},fill:e.scales.fill&&e.scales.fill.data&&e.scales.fill.data.field?{data:{field:e.scales.fill.data.field}}:{}};return t.encodings.slice.outerRadius&&(n.outerRadius={data:{field:t.encodings.slice.outerRadius}}),n}function iS({layout:e},t,n){if(!e.dimensionTitle)return!1;const r=t.properties,o=t.styleService.axis.title.getStyle();return{key:"dimension-title",type:"data-title",layout:{minimumLayoutMode:"SMALL",dock:"top"},settings:{hyperCube:e.qHyperCube,hyperCubeDef:r&&r.qHyperCubeDef,isDimension:!0,disabled:()=>n.constraints.active||!n.model,model:t.model,app:t.app,translator:t.translator,rtl:n.rtl,selections:t.selections,isEnabled:t.flags.isEnabled},style:{fontFamily:o.fontFamily,fontSize:o.fontSize,color:o.color}}}function aS({layout:e,context:t,selectionService:n},r={}){const o=function({layout:e}={},t={}){const n={};return se(n,t.colorService.getScales()),t.encodings.slice.outerRadius&&se(n,function({layout:e},t){const n={radius:{type:"linear",include:[0],data:{extract:{field:t.encodings.slice.outerRadius}}}};return e.donut.showAsDonut||(n.radius.min=0),n}({layout:e},t)),n}({layout:e},r),i={scales:o};let a=[];const s=function(e,t){const n=e.disclaimerService.getDisclaimer();if(!n)return!1;const{rtl:r}=t,{translator:o}=e,{fontFamily:i}=e.themeService.getStyles();return{key:"disclaimer",type:"disclaimer",layout:{dock:n.alignment},settings:{isRTL:r,label:o.get(`Object.Disclaimer.${n.key}`)},style:{fontFamily:i}}}(r,t);if(r.disclaimerService.getHasSuppressingDisclaimer())return{components:[s]};const l=t.constraints.select||t.constraints.active,c=r.colorService.getLegend({eventName:"legend",key:"legend",viewState:r.viewState,chart:r.chart,styleReference:"object.pieChart",styleOverrides:{title:r.styleService.legend.title.getStyle(),label:r.styleService.legend.label.getStyle()},rtl:t.rtl},{navigationDisabled:l});return o.fillRange&&c.components[0]&&("right"===c.components[0].layout.dock||"left"===c.components[0].layout.dock||t.rtl)&&(o.fillRange.invert=!0),a=[Ox({layout:e,settings:i},r),Dx({layout:e},r),Ix(r),qx({layout:e},r),iS({layout:e},r,t),...c.components,Cx({settings:i,scaleKey:"fill",legend:c.components[0]||{},onEdited:r.onSelect}),Nx(),Ax(),Vx({layout:{components:e.components,dataPoint:se({},e.dataPoint,{show:!(e.effectPath&&e.snapshotData&&!1===e.dataPoint.show)}),donut:e.donut},context:t},r),...r.tooltipService.getComponents(),s],a=a.filter((e=>!1!==e)),{interactions:rS(n,r,t),scales:o,components:r.pluginService.extendComponents(a),palettes:r.colorService.getPalettes(),formatters:oS({settings:i},r),strategy:de(0,r)}}function sS({instance:e,services:t,picasso:n,flags:o}){const i=E(),a=q(),s=A(),l=O(),c=j(),u=N(),d=R(),p=z(),{qLocaleInfo:f}=$(),[m]=F((()=>{if(!t)return Promise.resolve();yx.attrExpr.updateProperties(a,u);return Promise.all([t.colorService.initialize({createConfig:({getUseBaseColors:e})=>({theme:c,legendProps:u.legend,layout:u,localeInfo:f,hc:u.qHyperCube,colorProps:{...u.color,useBaseColors:e(u)}})}),a&&!u.snapshotData?a.getEffectiveProperties():Promise.resolve({}),t.pluginService.initialize()])}),[t]);I((()=>{null!=e&&e.selectionService&&e.selectionService.setLayout(u)}),[u]),I((()=>{if(!e||!m)return;const{chart:g,viewState:y,interactions:v,viewCache:b}=e,{colorService:x,disclaimerService:S,pluginService:w,themeService:C,tooltipService:k,styleService:E}=t,T=i.viewState||{};u.snapshotData||(y.preventSet("legendScrollOffset",T.legendScrollOffset||0),y.preventSet("rotation",T.rotation||0)),function(e,t){e&&e.snapshotData&&e.snapshotData.content&&e.snapshotData.content.chartData&&(t.preventSet("legendScrollOffset",e.snapshotData.content.chartData.legendScrollOffset),t.preventSet("rotation",e.snapshotData.content.chartData.rotation))}(u,y),k.expando.set("properties",m[1]);const R=n.data("q")({key:"qHyperCube",data:u.qHyperCube,config:{localeInfo:f}}),M=[{type:"q",key:"qHyperCube",data:u.qHyperCube,config:{localeInfo:f}},...x.getData()],P={slice:{arc:"qMeasureInfo/0"}};u.qHyperCube.qMeasureInfo.length>1&&(P.slice.outerRadius="qMeasureInfo/1"),S.initialize({args:{ds:R,encodings:P}});const O=function(e,t){if(t.slice.outerRadius)return e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc},radius:{field:t.slice.outerRadius}}}).filter((e=>e.num.value>0&&"NaN"!==e.radius.value)).length;return e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc}}}).filter((e=>e.num.value>0)).length}(n.data("q")({data:u.qHyperCube,config:{localeInfo:f}}),P),D=d?()=>{const e=g.brush("selection");r.selections(e,{},u).forEach((e=>{d.select(e)}))}:()=>{},I=u.snapshotData&&!i.freeResize?{width:(u.snapshotData.content.size||u.snapshotData.object.size).w,height:(u.snapshotData.content.size||u.snapshotData.object.size).h}:void 0,q=t=>e.selectionService.getIsSelectionLocked(t),A=()=>aS({layout:u,context:{rtl:"rtl"===i.direction,theme:c,translator:l,constraints:p,model:a},selectionService:e.selectionService},{picasso:n,ds:R,model:a,app:s,chart:g,onSelect:D,isLocked:q,interactions:v,constraints:p,translator:l,viewState:y,dataRowCount:O,encodings:P,colorService:x,disclaimerService:S,pluginService:w,themeService:C,styleService:E,tooltipService:k,debouncer:h,properties:m[1],logicalSize:I,flags:o,animations:{enabled:()=>function({viewState:e,options:t,viewCache:n,layout:r,chart:o}){return!1!==t.chartAnimations&&n.get("chartWidth")===o.element.clientWidth&&n.get("chartHeight")===o.element.clientHeight&&n.get("hasZeroLine")===!!o.component("zeroLine")&&0===e.get("rotation")&&!Jo.propertiesHaveChanged({viewCache:n,layout:r})}({viewState:y,options:i,layout:u,viewCache:b,chart:g})}});e.generateSettings=A;const N=A();g.update({data:M,settings:N}),b.set("chartWidth",g.element.clientWidth),b.set("chartHeight",g.element.clientHeight),b.set("hasZeroLine",N.components.filter((e=>"zeroLine"===e.key)).length>0),Jo.cacheProperties({viewCache:b,layout:u}),i.effect&&u.effectProperties?i.effect.update(u,g,{encodings:P}):u.effectPath||g.brush("highlight").end()}),[e,m,i.direction,i.effectProperties,p,c.name(),l.language()])}const lS="legend-cat";function cS({instance:e,services:t}){const n=T(),r=N();W((o=>{if(!(r.snapshotData&&r.snapshotData.content&&r.snapshotData.content.chartData)&&(function(e,t){const n=t.getBoundingClientRect();e.snapshotData=e.snapshotData||{},e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.size=e.snapshotData.content.size||{w:n.width,h:n.height}}(o,n),e&&t))return function({layout:e,chart:t,viewState:n,colorService:r}){return e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.chartData={legendScrollOffset:he(t,lS),rotation:n.get("rotation")},r.getSnapshotData().then((t=>{e.snapshotData.content.chartData={...e.snapshotData.content.chartData,...t}})).catch((()=>{}))}({layout:o,chart:e.chart,colorService:t.colorService,viewState:e.viewState})})),B((()=>({getViewState:()=>({rotation:e.viewState.get("rotation"),legendScrollOffset:he(e.chart,"legend-cat")})})),[e])}const uS={setValue(e,t,n){if(!t)return;const r=t.split(".");let o=e;const i=r[r.length-1];let a;for(a=0;a<r.length-1;++a)null==o[r[a]]&&(o[r[a]]=Number.isNaN(+r[a+1])?{}:[]),o=o[r[a]];void 0!==n?o[i]=n:delete o[i]},getValue(e,t,n){const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(null==i[r[o]])return n;i=i[r[o]]}return i}},dS={getDimensions:e=>uS.getValue(e,"qHyperCubeDef.qDimensions",[]),getNumDimensions:e=>uS.getValue(e,"qHyperCubeDef.qDimensions.length",0),getMeasures:e=>uS.getValue(e,"qHyperCubeDef.qMeasures",[]),getNumMeasures:e=>uS.getValue(e,"qHyperCubeDef.qMeasures.length",0),getDimensionLayouts(e,t){const n=uS.getValue(e,t?`${t}.qHyperCube`:"qHyperCube",null);return n?n.qDimensionInfo:[]},getDimensionLayout(e,t,n){return this.getDimensionLayouts(t,n).filter((t=>e===t.cId))[0]},getMeasureLayouts(e,t){const n=uS.getValue(e,t?`${t}.qHyperCube`:"qHyperCube",null);return n?n.qMeasureInfo:[]},getMeasureLayout(e,t,n){return this.getMeasureLayouts(t,n).filter((t=>e===t.cId))[0]}};const pS={colorModeOptions:{primary:()=>!0,dimension:()=>!0,multiColor:()=>!1,measure:()=>!0,expression:e=>dS.getNumMeasures(e)>=1},showLegend:e=>{const t=uS.getValue(e,"color.auto"),n=uS.getValue(e,"color.expressionIsColor"),r=uS.getValue(e,"color.mode");return!(!t&&"primary"===r||!t&&"byExpression"===r&&(n||void 0===n))},persistentColorsShow:e=>!uS.getValue(e,"color.auto")&&"byDimension"===uS.getValue(e,"color.mode"),useDimValColShow:e=>(void 0===uS.getValue(e,"color.useDimColVal")&&uS.setValue(e,"color.useDimColVal",!1),!uS.getValue(e,"color.auto")&&"byDimension"===uS.getValue(e,"color.mode")&&"libraryItem"===uS.getValue(e,"color.byDimDef.type"))},fS=function(e){const{colorModeOptions:t,persistentColorsShow:n,useDimValColShow:r,showLegend:o}=pS;this.color={colorMode:{options(n){const r=[];return"explore"===e&&r.push({value:"auto",translation:"Common.Auto"}),t.primary(n)&&r.push({value:"primary",translation:"properties.colorMode.primary"}),t.multiColor(n)&&r.push({value:"byMultiple",translation:"properties.colorMode.multicolored"}),t.dimension(n)&&r.push({value:"byDimension",translation:"properties.colorMode.byDimension"}),t.measure(n)&&r.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"}),t.expression(n)&&"explore"!==e&&r.push({value:"byExpression",translation:"properties.colorMode.byExpression"}),r}},persistentColors:{show:e=>r(e)?n(e)&&!uS.getValue(e,"color.useDimColVal"):n(e)},useDimColVal:{show:r}},this.legend={show:o,showTitle:{show(e){const t=uS.getValue(e,"color.auto");return uS.getValue(e,"legend.show")&&o(e)&&(t||!function(e){return"byExpression"===uS.getValue(e,"color.mode")&&!0===uS.getValue(e,"color.expressionIsColor")}(e))}},dock:{show:e=>uS.getValue(e,"legend.show")&&o(e)}}};function hS(e){return new fS(e)}const mS={classification:{section:"styling",tags:["simple"],exclusive:!0},component:"items",show:!0,chartType:"piechart",translation:"LayerStyleEditor.component.styling",chartTitle:"Object.PieChart",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,items:{strokeSection:{translation:"properties.Outline",component:"items",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{translation:"LayerStyleEditor.style.strokeWidth",ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{component:"items",translation:"LayerStyleEditor.style.cornerRadius",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",translation:"LayerStyleEditor.style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"items",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",translation:"LayerStyleEditor.style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}}}},gS=(e,t,n)=>{const r=`${e}.fontFamily`,o=`${e}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:r,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r)},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:o,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o)},fontColorItem:{component:"color-picker",width:!1,ref:`${e}.color`,defaultValue:()=>({color:n.getStyle("object.pieChart",e,"color")})}}}}},yS={component:"style-editor",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",resetBtnTranslation:"LayerStyleEditor.component.resetAll",key:"slices",ref:"components",defaultValues:{key:"slices",style:{strokeColor:{index:-1,color:"#FFFFFF"},strokeWidth:"none",cornerRadius:0,innerRadius:.55}},items:{slices:{components:"items",type:"items",uses:"styling.slice",items:{strokeWidth:{show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"LayerStyleEditor.style.strokeWidth.none"},{value:"small",translation:"LayerStyleEditor.style.strokeWidth.small"},{value:"medium",translation:"LayerStyleEditor.style.strokeWidth.medium"},{value:"large",translation:"LayerStyleEditor.style.strokeWidth.large"}],defaultValue:"none"},strokeColor:{show:e=>"none"!==e.style.strokeWidth},cornerRadius:{component:"slider",min:0,max:40,step:.05,defaultValue:0,show:!0},innerRadius:{component:"slider",min:.05,max:.75,step:.01,defaultValue:.55,show:(e,t,n)=>n.layout.donut.showAsDonut}}}}},vS=(e,t,n,r)=>{const o=m({theme:r,translator:n,flags:t,config:{id:"pieChart",paths:["axis.title","label.name","label.value","legend.title","legend.label"]}});return{component:"styling-panel",chartTitle:"Object.PieChart",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,useBackground:e,items:{strokeSection:{translation:"properties.Outline",component:"panel-section",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{translation:"LayerStyleEditor.style.cornerRadius",component:"panel-section",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"panel-section",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}},axisTitleSection:null!=t&&t.isEnabled("CLIENT_IM_3050")?{translation:"properties.dataPoints.dimensionlabels",component:"panel-section",items:{axisTitleItems:{component:"items",ref:"components",key:"axis",items:gS("axis.title",o,r)}}}:void 0,labelNameSection:null!=t&&t.isEnabled("CLIENT_IM_3050")?{translation:"properties.dataPoints.dimensionValueLabel",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"label",items:gS("label.name",o,r)}}}:void 0,labelValueSection:null!=t&&t.isEnabled("CLIENT_IM_3050")?{translation:"properties.value.label",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"label",items:gS("label.value",o,r)}}}:void 0,legendTitleSection:null!=t&&t.isEnabled("CLIENT_IM_3051")?{translation:"properties.legend.title",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"legend",items:gS("legend.title",o,r)}}}:void 0,legendLabelSection:null!=t&&t.isEnabled("CLIENT_IM_3051")?{translation:"properties.legend.label",component:"panel-section",items:{labelItems:{component:"items",ref:"components",key:"legend",items:gS("legend.label",o,r)}}}:void 0}}},bS=hS("hard");const xS=e=>{var t;null!==(t=e.color)&&void 0!==t&&t.auto||(i(e,"color.mode","byDimension"),i(e,"color.byDimDef.activeDimensionIndex",0),i(e,"color.persistent",!1))},SS=e=>{var t;const n=[{value:"primary",translation:"properties.colorMode.primary"},{value:"byDimension",translation:"properties.colorMode.byDimension"}];switch(null===(t=e.color)||void 0===t?void 0:t.mode){case"byMultiple":n.push({value:"byMultiple",translation:"properties.colorMode.multicolored"});break;case"byMeasure":n.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"});break;case"byExpression":n.push({value:"byExpression",translation:"properties.colorMode.byExpression"})}return n},wS=e=>{var t;const{flags:n,translator:r}=e||{},o=null==e||null===(t=e.sense)||void 0===t?void 0:t.theme,a=null==n?void 0:n.isEnabled("SENSECLIENT_IM_2429_PIECHART_BG"),s={items:{simpleItems:{items:{autoColor:{label:e=>{var t;return null!==(t=e.color)&&void 0!==t&&t.auto?r.get("Simple.Color.Auto",r.get("properties.colorMode.byDimension")):r.get("Common.Custom")},change:xS},colorMode:{options:SS}}}}},l={items:{labels:{items:{header:{show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length},pointLabels:{component:"checkbox",ref:"dataPoint.auto",type:"boolean",defaultValue:!0,translation:"Simple.Label.Value",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,change(e){e.dataPoint.auto||i(e,"dataPoint.labelMode","none")}},dimensionTitle:{component:"checkbox",ref:"dimensionTitle",type:"string",translation:"Simple.Label.Dimension.Hide",defaultValue:"all",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,convertFunctions:{get:(e,t,n,r)=>!r.dimensionTitle,set(e,t,n,r,o){o.dimensionTitle=!e}}}}}}},c={uses:"settings",items:{simpleStyling:mS,simpleLabels:l,general:{items:{showDisclaimer:{translation:"properties.showDisclaimer",type:"boolean",ref:"showDisclaimer",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Show"},{value:!1,translation:"properties.hide"}]}}},presentation:{type:"items",translation:"properties.presentation",grouped:!0,items:{sliceStyling:null!=n&&n.isEnabled("SENSECLIENT_PS_17478_STYLINGPANEL_PIECHART")?vS(a,n,r,o):yS,showAsDonut:{ref:"donut.showAsDonut",type:"boolean",component:"item-selection-list",defaultValue:!1,horizontal:!0,items:[{icon:"pie_chart_pie",component:"icon-item",labelPlacement:"bottom",translation:"properties.pie",value:!1},{icon:"pie_chart_donut",component:"icon-item",labelPlacement:"bottom",translation:"properties.donut",value:!0}]},labels:{type:"items",snapshot:{tid:"property-labels"},items:{dimensionTitle:{ref:"dimensionTitle",type:"boolean",component:"switch",translation:"properties.dataPoints.dimensionlabels",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}]},valuesAuto:{ref:"dataPoint.auto",type:"boolean",translation:"properties.dataPoints.labelmode",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}]},labelMode:{ref:"dataPoint.labelMode",type:"string",component:"dropdown",options:[{value:"none",translation:"Common.None"},{value:"share",translation:"properties.dataPoints.labelmode.share"},{value:"value",translation:"properties.dataPoints.labelmode.value"}],defaultValue:"share",show:e=>!e.dataPoint.auto},labelValueMode:{ref:"dataPoint.labelValueMode",type:"string",component:"dropdown",translation:"properties.dataPoints.labelvaluemode",options:[{value:"arc",translation:"Visualizations.Descriptions.Angle"},{value:"radius",translation:"Visualizations.Descriptions.Radius"}],defaultValue:"arc",show:e=>!e.dataPoint.auto&&function(e){return e.qHyperCubeDef&&e.qHyperCubeDef.qMeasures.length>1||e.qHyperCube&&e.qHyperCube.qMeasureInfo.length>1}(e)&&"value"===e.dataPoint.labelMode}}}}},colorsAndLegend:{uses:"colorsAndLegend",items:{colors:{items:{colorMode:{options:bS.color.colorMode.options},persistentColors:{show:bS.color.persistentColors.show}}},simpleColors:s,legend:{show:bS.legend.show,items:{show:{defaultValue:!1,snapshot:{tid:"property-legend"}},showTitle:{show:bS.legend.showTitle.show},dock:{show:bS.legend.dock.show}}}}},tooltip:{uses:"tooltip"}}};return c},CS={uses:"data",items:{dimensions:{uses:"dimensions"},measures:{uses:"measures",items:{numberFormatting:{items:{percentOfPieMessage:{component:"text",translation:"properties.numberFormatting.pieMessage",show:(e,t,{properties:n}={})=>n&&(n.dataPoint.auto||"share"!==n.dataPoint.labelMode)}}}}}}},kS={uses:"sorting",items:{interColumnSorting:{reset:e=>{const{qDimensions:t,qMeasures:n,qInterColumnSortOrder:r}=e.qHyperCubeDef;if(1===t.length&&n.length>=1){const t=r.length,n=[...Array(t).keys()];[n[0],n[1]]=[n[1],n[0]],e.qHyperCubeDef.qInterColumnSortOrder=n}}}}},ES={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{suppressZero:null,calcCond:{uses:"calcCond"}}}}};function TS(e){return{type:"items",component:"accordion",items:{data:CS,sorting:kS,addons:ES,settings:wS(e)}}}const RS=hS("explore"),MS=TS();var PS={type:"items",component:"accordion",items:{data:{uses:"data"},sort:{uses:"sort"},presentation:{uses:"presentation",items:{showAsDonut:MS.items.settings.items.presentation.items.showAsDonut,labelMode:{type:"items",items:{labelMode:{type:"string",component:"radio-list",translation:"properties.dataPoints.labelmode",diffs:["dataPoint.auto:false","dataPoint.labelMode"],options:MS.items.settings.items.presentation.items.labels.items.labelMode.options,setPropertyValue(e,t){e.dataPoint.auto=!1,e.dataPoint.labelMode=t},getValue:e=>e.dataPoint.auto?"":e.dataPoint.labelMode}}}}},color:{uses:"color",items:{mode:{options:RS.color.colorMode.options},dimension:{items:{persistentColors:{show:e=>!(e.color&&"byDimension"===e.color.mode&&e.color.useDimColVal&&RS.color.useDimColVal.show(e))}}}}}}};const OS="slices";function DS(e,t){const n=e&&e.desc&&void 0!==e.desc.share?e.desc.share:void 0;return t("share")(n)}function IS(e){return e.data.num.label}function qS(e){return e.data.radius.label}function AS(e,t,n,r){return function(e,t){if(e.dataPoint.auto)return 1===e.qHyperCube.qSize.qcy?IS:DS;if("share"===e.dataPoint.labelMode)return DS;if("value"===e.dataPoint.labelMode)return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?qS:IS;return IS}(n,r)(e,t)}function NS(e){let t;return t=e.data.label?function(e,t){let n=e;return n.length>t&&(n=`${n.substr(0,t-3)}...`),n}(e.data.label,20):"",t}class LS{constructor({element:e,properties:t,effectHelper:n,Flag:r}){this.element=e,this.Flag=r,n.initFade(this.element);const o=e.find(".effectLayer");o.length>0&&o.remove(),e.append('<div class="effectLayer"></div>'),this.effectLayer=e.find(".effectLayer"),this._effectProperties=t,this.selectedIndex=t.selectedIndex,this.hasPropertiesPanel=!1,this.effectApplied=!0,n.fadeIn(this.element)}updateOrigSettings(e){return{dataPoint:e.dataPoint,legend:e.legend,dimensionTitle:e.dimensionTitle}}updateFlags(e,t){const n=this.chart.getAffectedShapes("highlight"),r=this.effectLayer[0].getBoundingClientRect(),o=n.map((n=>{const{start:o,end:i,outerRadius:a,offset:s}=n.desc.slice,{scaleRatio:l}=this.chart.component(n.key).rect,c=n.element.getBoundingClientRect(),u=(o+i)/2,d=c.left-r.left+l.x*(s.x+a*Math.sin(u)),p=c.top-r.top+l.y*(s.y-a*Math.cos(u)),f=Math.cos(u)>0?"top":"bottom",h=Math.sin(u)>0?"right":"left";return{title:NS(n),label:AS(n,this.chart.formatter,e,t),orientation:`${f}${h}`,position:{x:d,y:p}}}));this.Flag.show(this.effectLayer,o)}init(e,t,n,r){return t.getProperties().then((e=>{if(!e.originalModelSettings){const t=se(!0,{},e);e.originalModelSettings=this.updateOrigSettings(t)}e.effectProperties=r,e.effectPath=n,e.dataPoint.show=!1,e.legend.show=!1,e.dimensionTitle=!1,t.setProperties(e)}))}remove(e,t,n){return e.options=se(e.options,{effect:null}),n?t.getProperties().then((e=>se(e,{effectPath:null,effectProperties:null,dataPoint:se(!0,{},e.originalModelSettings.dataPoint),legend:se(!0,{},e.originalModelSettings.legend),dimensionTitle:e.originalModelSettings.dimensionTitle}))):Promise.resolve()}}class zS extends LS{init(e,t,n,r){return e.options=se(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.max===r.max?Promise.resolve():super.init(e,t,n,r)}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(OS).data.items,n=e.effectProperties.min,r=e.effectProperties.max,o=[];let i=[1/0,-1],a=[-1/0,-1];t.forEach(((e,t)=>{const o=e.num.value;n&&o<i[0]&&(i=[o,t]),r&&o>a[0]&&(a=[o,t])})),-1!==i[1]&&o.push(t[i[1]].value),-1!==a[1]&&o.push(t[a[1]].value),o.length&&this.chart.brush("highlight").setValues(o.map((e=>({key:"qHyperCube/qDimensionInfo/0",value:e}))))}}class jS extends LS{constructor(e){super(e),this.hasPropertiesPanel=!0,this.propsTemplate=e.highlightValuePropsTemplate,this.effectHelper=e.effectHelper}onClick(e){if(!this.chart)return;const t=this.chart.shapesAt(function(e,t){const n=t.element.getBoundingClientRect();return{x:e.clientX-n.left,y:e.clientY-n.top}}(e,this.chart),{propagation:"stop"});if(1!==t.length)return;const n=t[0],r=this.chart.component(OS).data.items.map((e=>e.value)),o=r.indexOf(n.data.value);-1!==o&&(this.selectedIndex=o,this.effectHelper.updateSelectedPointIndex(this))}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateDataPoints(e,n),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(OS).data.items[e.effectProperties.selectedIndex];this.chart.brush("highlight").setValues([{key:"qHyperCube/qDimensionInfo/0",value:t.value}])}updateDataPoints(e,t){this.dataPoints=this.chart.findShapes("path").filter((e=>e.key===OS)).map(((n,r)=>{const o=AS(n,this.chart.formatter,e,t);return{text:`${NS(n)} (${o})`,value:r}}))}init(e,t,n,r){return e.options=se(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.selectedIndex===r.selectedIndex?Promise.resolve():super.init(e,t,n,r)}}const $S="/effects/highlight-value",_S="/effects/maxmin";var FS={isCompatible:({effectPath:e})=>e===_S||e===$S,create:e=>e.effectPath===_S?new zS(e):e.effectPath===$S?new jS(e):null};function HS(e){const t={},{components:n,tooltip:r}=e,o=n?n.filter((e=>"slices"===e.key))[0]:void 0;if(o&&o.style&&Object.keys(o.style).forEach((e=>{t[`chart_style_${e}`]=o.style[e]})),r){var i;t.chart_tooltip_custom=!r.auto;const e=null===(i=r.chart)||void 0===i||null===(i=i.object)||void 0===i?void 0:i.refId;!r.auto&&e&&(t.chart_tooltip_custom_mini_chart=e)}return t}function WS(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qDimensions,n=e.qHyperCubeDef.qMeasures;1===t.length&&1===n.length&&(n[0].qSortBy.qSortByNumeric=-1,e.qHyperCubeDef.qInterColumnSortOrder.splice(0,e.qHyperCubeDef.qInterColumnSortOrder.length,1,0))}function BS(e){e.qOtherTotalSpec.qOtherMode="OTHER_COUNTED",e.qOtherTotalSpec.qOtherCounted={qv:"10"}}function US({translator:e}){return{dimensions:{min:1,max:1,description:()=>e.get("Visualizations.Descriptions.Slice"),add(e,t){BS(e),WS(t),ux.addCallbackCustomTooltip(t)},move(e,t){BS(e),WS(t),ux.moveCallbackCustomTooltip(t,e)},remove(e,t){ux.removeCallbackCustomTooltip(t,e)},replace(e,t,n,r){BS(e),WS(r),ux.replaceCallbackCustomTooltip(r,t)}},measures:{min:1,max:2,description:(t,n)=>e.get(0===n?"Visualizations.Descriptions.Angle":"Visualizations.Descriptions.Radius"),add(e,t){WS(t)},remove(e,t){!function(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qMeasures,{mode:n}=e.color;"byExpression"===n&&0===t.length&&(e.color.mode="primary")}(t)}}}}const VS=e=>e.qMax<=0,GS=e=>!(!(e&&e.qHyperCube.qSize.qcy>0)||e.qHyperCube.qMeasureInfo.every(VS));function KS(e){return{definition:TS(e),softDefinition:PS,support:{snapshot:GS,export:GS,exportData:!0,sharing:GS,viewData:!0,effects:!0},effects:FS,extendMetrics:HS,importProperties:(t,n,r,o)=>{const i={layout:{templateId:n.templateId}};r.mapProperties(i);const a={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()},s=U.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:US(e),defaultPropertyValues:a,hypercubePath:o});return s.qProperty.dataPoint&&!1===s.qProperty.dataPoint.show&&delete s.qProperty.dataPoint.show,s},exportProperties:(e,t,n)=>U.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}function YS(e){return{properties:{version:"1.27.4",color:{auto:!0,autoMinMax:!0,byDimDef:void 0,byMeasureDef:void 0,colorExpression:void 0,dimensionScheme:"12",expressionIsColor:!0,expressionLabel:"",formatting:{numFormatFromTemplate:!0,isCustomFormatted:void 0},measureMin:void 0,measureMax:void 0,measureScheme:"sg",mode:"primary",paletteColor:{index:6},persistent:!1,reverseScheme:!1,singleColor:void 0,useBaseColors:"off",useDimColVal:!0,useMeasureGradient:!0},components:[{key:"slices",style:{strokeWidth:"none",strokeColor:{index:-1,color:Rx.STROKE.COLOR},cornerRadius:Rx.CORNER_RADIUS,innerRadius:Rx.INNER_RADIUS}}],dataPoint:{auto:!0,labelMode:"share",labelValueMode:"arc"},dimensionTitle:!0,donut:{showAsDonut:!1},footnote:"",legend:{dock:"auto",show:!0,showTitle:!0},qHyperCubeDef:{qDimensions:[],qMeasures:[],qInitialDataFetch:[{qWidth:10,qHeight:500}],qSuppressMissing:!0,qSuppressZero:!1,qMode:"S"},showDetails:!0,showDisclaimer:!0,showTitles:!0,subtitle:"",title:"",tooltip:{auto:!0,hideBasic:!1,data:{qHyperCubeDef:void 0},chart:void 0,imageComponents:void 0}},data:{targets:[US(e)]},importProperties:({exportFormat:t,initialProperties:n,hypercubePath:r})=>{const o=U.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:US(e),hypercubePath:r});return o.qProperty.dataPoint&&!1===o.qProperty.dataPoint.show&&delete o.qProperty.dataPoint.show,o},exportProperties:({propertyTree:e,hypercubePath:t,viewDataMode:n})=>U.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}e("default",(e=>{const{flags:t}=e;!function(e){if(e&&e.get&&e.add){const t="Object.Disclaimer.LimitedData";if(e.get(t)!==t)return;Object.keys(V).forEach((t=>{e.add(V[t])}))}}(e.translator);const n=Bb();return{qae:YS(e),ext:KS(e),component(){const e=Xb({picasso:n}),r=function({flags:e,picasso:t,instance:n}){const r=q(),o=A(),i=O(),a=T(),[s,l]=M(),c=N(),u=L(),h=z(),m=E(),g=j(),{qLocaleInfo:y}=$(),v=_();return I((()=>{if(!n)return;a.style.overflow="hidden";const s=d({picasso:n.picasso,model:r,app:o,translator:i,config:{auto:!1,key:"fill"}}),b=p({picassoInstance:n.picasso,plugins:u,pluginArgs:xx(c)}),x=bx({flags:e,layout:c,app:o,model:r,picasso:t,chart:n.chart,translator:i,localeInfo:y,embed:v,options:m}),S=f({theme:g,config:{id:"pieChart",resolve:[["object","label.name","color","#595959"],["object","label.name","fontFamily"],["object","label.name","fontSize","12px"]]}}),w=wx({app:o,chart:n.chart,translator:i,layout:c,constraints:h,options:m,themeService:S,colorService:s,custom:x}),C=function({layout:e,themeService:t,flags:n}){const r=t.getStyles(),o=t=>{var r;return n.isEnabled("CLIENT_IM_3050")?null===(r=e.components)||void 0===r?void 0:r.find((e=>e.key===t)):void 0};return{axis:{title:{getStyle:()=>{var e,t,n,i,a,s;return{fontFamily:null!==(e=null===(t=o("axis"))||void 0===t||null===(t=t.axis)||void 0===t||null===(t=t.title)||void 0===t?void 0:t.fontFamily)&&void 0!==e?e:r.axis.title.fontFamily,fontSize:null!==(n=null===(i=o("axis"))||void 0===i||null===(i=i.axis)||void 0===i||null===(i=i.title)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.axis.title.fontSize,color:null!==(a=null===(s=o("axis"))||void 0===s||null===(s=s.axis)||void 0===s||null===(s=s.title)||void 0===s||null===(s=s.color)||void 0===s?void 0:s.color)&&void 0!==a?a:r.axis.title.color}}}},label:{name:{getStyle:()=>{var e,t,n,i,a,s;return{fill:null!==(e=null===(t=o("label"))||void 0===t||null===(t=t.label)||void 0===t||null===(t=t.name)||void 0===t||null===(t=t.color)||void 0===t?void 0:t.color)&&void 0!==e?e:r.label.name.color,fontSize:null!==(n=null===(i=o("label"))||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.name)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.label.name.fontSize,fontFamily:null!==(a=null===(s=o("label"))||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.name)||void 0===s?void 0:s.fontFamily)&&void 0!==a?a:r.label.name.fontFamily}}},value:{getStyle:()=>{var e,t,n,i,a,s;return{fill:null!==(e=null===(t=o("label"))||void 0===t||null===(t=t.label)||void 0===t||null===(t=t.value)||void 0===t||null===(t=t.color)||void 0===t?void 0:t.color)&&void 0!==e?e:r.label.value.color,fontSize:null!==(n=null===(i=o("label"))||void 0===i||null===(i=i.label)||void 0===i||null===(i=i.value)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.label.value.fontSize,fontFamily:null!==(a=null===(s=o("label"))||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.value)||void 0===s?void 0:s.fontFamily)&&void 0!==a?a:r.label.value.fontFamily}}}},legend:{title:{getStyle:()=>{var e,t,n,i,a,s;return{fontFamily:null!==(e=null===(t=o("legend"))||void 0===t||null===(t=t.legend)||void 0===t||null===(t=t.title)||void 0===t?void 0:t.fontFamily)&&void 0!==e?e:r.legend.title.fontFamily,fontSize:null!==(n=null===(i=o("legend"))||void 0===i||null===(i=i.legend)||void 0===i||null===(i=i.title)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.legend.title.fontSize,color:null!==(a=null===(s=o("legend"))||void 0===s||null===(s=s.legend)||void 0===s||null===(s=s.title)||void 0===s||null===(s=s.color)||void 0===s?void 0:s.color)&&void 0!==a?a:r.legend.title.color}}},label:{getStyle:()=>{var e,t,n,i,a,s;return{fontFamily:null!==(e=null===(t=o("legend"))||void 0===t||null===(t=t.legend)||void 0===t||null===(t=t.label)||void 0===t?void 0:t.fontFamily)&&void 0!==e?e:r.legend.label.fontFamily,fontSize:null!==(n=null===(i=o("legend"))||void 0===i||null===(i=i.legend)||void 0===i||null===(i=i.label)||void 0===i?void 0:i.fontSize)&&void 0!==n?n:r.legend.label.fontSize,color:null!==(a=null===(s=o("legend"))||void 0===s||null===(s=s.legend)||void 0===s||null===(s=s.label)||void 0===s||null===(s=s.color)||void 0===s?void 0:s.color)&&void 0!==a?a:r.legend.label.color}}}}}}({layout:c,themeService:S,flags:e}),k=Sx({layout:c});l({colorService:s,disclaimerService:k,pluginService:b,themeService:S,tooltipService:w,styleService:C})}),[r,o,n,c,i.language(),h,m.direction,g.name()]),s}({flags:t,picasso:n,instance:e});sS({instance:e,services:r,picasso:n,flags:t}),function({instance:e}){const t=N(),n=E(),r=H();I((()=>{if(!e||!e.generateSettings)return;const{viewCache:r,chart:o,generateSettings:i}=e;o.update({settings:i()}),r.set("chartWidth",o.element.clientWidth),r.set("chartHeight",o.element.clientHeight),n.effect&&n.effect.update(t,o)}),[r.width,r.height])}({instance:e}),cS({instance:e,services:r})}}}))}}}));