@nebula.js/sn-pie-chart 1.20.0 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-specifications/plugins.json +1 -1
- package/api-specifications/properties.json +1 -1
- package/core/esm/index.js +12 -3
- package/dist/sn-pie-chart.js +34 -10
- package/dist/sn-pie-chart.systemjs.js +47 -0
- package/package.json +1 -1
- package/sn-pie-chart-ext/dist/sn-pie-chart.js +34 -10
- package/sn-pie-chart-ext/sn-pie-chart.qext +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @nebula.js/sn-pie-chart v1.20.2
|
|
3
|
+
* Copyright (c) 2022 QlikTech International AB
|
|
4
|
+
* Released under the MIT license.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
System.register(["hammerjs","picasso.js","picasso-plugin-q","react","react-dom","@nebula.js/stardust","qlik-chart-modules","qlik-object-conversion"],(function(e){"use strict";var t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,x,w,E,C,k,S,T,R,N,P,M,D,L,I,O,A,q,z;return{setters:[function(e){t=e.default},function(e){n=e.default},function(e){r=e.default},function(e){o=e.default,i=e.Children,a=e.isValidElement,s=e.cloneElement},function(e){l=e.default},function(e){c=e.useOptions,u=e.useElement,d=e.useSelections,p=e.useState,f=e.useLayout,h=e.useTranslator,m=e.useAction,g=e.useEffect,v=e.useModel,y=e.useApp,b=e.useStaleLayout,x=e.usePlugins,w=e.useConstraints,E=e.useTheme,C=e.useAppLayout,k=e.useEmbed,S=e.usePromise,T=e.useRect,R=e.onTakeSnapshot,N=e.useImperativeHandle},function(e){P=e.selectionService,M=e.storage,D=e.getValue,L=e.tooltipService,I=e.colorService,O=e.pluginService,A=e.debouncer,q=e.setValue},function(e){z=e.default}],execute:function(){var F={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":"Выключить выбор лассо"}}};var W={click:"Tap",Click:"Tap",tap:"Tap",pan:"Pan",swipe:"Swipe",rotate:"Rotate",press:"Press",pinch:"Pinch"};function H(e){return W[e]||e}function j(e){return function(t,n,r){var o,i,a,s,l=[],c=!0;function u(){"function"==typeof o.enable&&(o.enable=o.enable.bind(i)()),o.enable&&(o.gestures.forEach((function(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));var n=H(t.type);e&&e[n]&&(t.options.event=t.options.event||t.type.toLowerCase(),(a=a||new e.Manager(r)).add(new e[n](t.options)),Object.keys(t.events).forEach((function(e){t.events[e]=t.events[e].bind(i),a.on(e,t.events[e])})),l.push(t))})),o.gestures.forEach((function(t){var n=H(t.type);e&&e[n]&&(t.recognizeWith&&a.get(t.options.event).recognizeWith(t.recognizeWith.split(" ").filter((function(e){return""!==e}))),t.requireFailure&&a.get(t.options.event).requireFailure(t.requireFailure.split(" ").filter((function(e){return""!==e}))))})))}function d(){l.forEach((function(e){Object.keys(e.events).forEach((function(t){a.off(t,e.events[t])})),a.remove(e.options.event)})),l=[]}return{get key(){return s},set:function(e){!function(e){s=e.key,i={chart:t,mediator:n,settings:o=e},o.gestures=o.gestures||[],void 0===o.enable&&(o.enable=!0)}(e),d(),c&&u()},off:function(){c=!1,d()},on:function(){c=!0,0===l.length&&u()},destroy:function(){d(),a&&a.destroy(),a=null,i=null,o=null}}}}function B(){return(B=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}).apply(this,arguments)}const $=(e,t,n,r,o)=>e?e.getStyle(t,n,r):o;var V=Object.freeze({__proto__:null,getThemeStyle:$}),U=Object.prototype.hasOwnProperty,_=Object.prototype.toString,Y=Object.defineProperty,K=Object.getOwnPropertyDescriptor,X=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===_.call(e)},G=function(e){if(!e||"[object Object]"!==_.call(e))return!1;var t,n=U.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&U.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||U.call(e,t)},Z=function(e,t){Y&&"__proto__"===t.name?Y(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},J=function(e,t){if("__proto__"===t){if(!U.call(e,t))return;if(K)return K(e,t).value}return e[t]},Q=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=J(s,n),s!==(o=J(t,n))&&(u&&o&&(G(o)||(i=X(o)))?(i?(i=!1,a=r&&X(r)?r:[]):a=r&&G(r)?r:{},Z(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&Z(s,{name:n,newValue:o}));return s};const ee="center",te="bottom";var ne={NoDataExist:{label:"NoDataExist",alignment:ee,default:!0},OnlyNanData:{label:"OnlyNanData",alignment:ee,default:!0},OnlyNegativeOrZeroValues:{label:"OnlyNegativeOrZeroValues",alignment:ee,default:!1},LimitedData:{label:"LimitedData",alignment:te,default:!1},OnlyNanColor:{label:"OnlyNanColor",alignment:te,default:!1},NegativeOrZeroValues:{label:"NegativeOrZeroValues",alignment:te,default:!1},DataRangeIncludingZero:{label:"DataRangeIncludingZero",alignment:te,default:!1}};const re=[["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}]],oe={};re.forEach((([e,{width:t,height:n}])=>{oe[e]={width:t,height:n}}));const ie={getLayoutModes:()=>oe,getLayoutMode(e,t){let n;for(n=0;n<re.length;++n)if(e>=re[n][1].width&&t>=re[n][1].height)return re[n][0];return"SPARK"}};function ae(e,t){return{layoutModes:ie.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 se=(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};function le(e,t){const n=e.component(t);return n&&n._DO_NOT_USE_getInfo&&n._DO_NOT_USE_getInfo().offset}const ce=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͽΆΈ-ϵϷ-҂Ҋ-։ः-हऻऽ-ीॉ-ौॎ-ॐक़-ॡ।-ॿং-হঽ-ীে-ৌৎ-ৡ০-ৱ৴-৺ਃ-ਹਾ-ੀਖ਼-੯ੲ-ੴઃ-હઽ-ીૉ-ૌૐ-ૡ૦-૯ଂ-ହଽ-ାୀେ-ୌୗ-ୡ୦-୷ஃ-ிு-ௌௐ-௲ఁ-ఽు-ౄౘ-ౡ౦-౯౿-ಹಽ-ೋೕ-ೡ೦-ീെ-ൌൎ-ൡ൦-ෆා-ෑෘ-ะา-ำเ-ๆ๏-ະາ-ຳຽ-ໆ໐-༗༚-༴༶༸༾-ཬཿ྅ྈ-ྌ྾-࿅࿇-ာေးျ-ြဿ-ၗၚ-ၝၡ-ၰၵ-ႁႃ-ႄႇ-ႌႎ-ႜ႞-ፚ፠-ᎏᎠ-Ᏼᐁ-ᙿᚁ-ᚚᚠ-ᜑᜠ-ᜱ᜵-ᝑᝠ-ᝰក-ាើ-ៅះ-ៈ។-៚ៜ០-៩᠐-ᢨᢪ-ᤜᤣ-ᤦᤩ-ᤱᤳ-ᤸ᥆-᧚ᨀ-ᨖᨙ-ᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪭ᬄ-ᬳᬵᬻᬽ-ᭁᭃ-᭪᭴-᭼ᮂ-ᮡᮦ-ᮧ᮪-ᯥᯧᯪ-ᯬᯮ᯲-ᰫᰴ-ᰵ᰻-᱿᳓᳡ᳩ-ᳬᳮ-ᶿḀ-ᾼιῂ-ῌῐ-Ίῠ-Ῥῲ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ-⅏Ⅰ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-ⳤⳫ-ⳮⴀ-⵰ⶀ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ㆺㇰ-㈜㈠-㉏㉠-㉻㉿-㊰㋀-㋋㋐-㍶㍻-㏝㏠-㏾㐀-䶵一-ꒌꓐ-ꘌꘐ-ꙮꚀ-ꛯ꛲-꛷Ꜣ-ꞇ꞉-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠤꠧ꠰-꠷ꡀ-ꡳꢀ-ꣃ꣎-꣙ꣲ-ꤥ꤮-ꥆꥒ-ꥼꦃ-ꦲꦴ-ꦵꦺ-ꦻꦽ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂ-ꯤꯦ-ꯧꯩ-꯬꯰-ﬗA-Za-zヲ-ᅵ]"),ue=new RegExp("[־׀׃׆א-״߀-ߪߴ-ߵߺ-ࠕࠚࠤࠨ࠰-ࡘ࡞יִײַ-ﬨשׁ-ﭏ]"),de=new RegExp("[؈؋؍؛-ي٭-ٯٱ-ەۥ-ۦۮ-ۯۺ-܍ܐܒ-ܯݍ-ޥޱﭐ-ﴽﵐ-﷼ﹰ-ﻼ]"),pe={lrm:String.fromCharCode(8206),rlm:String.fromCharCode(8207),isLtrChar:e=>ce.test(e),isRtlChar:e=>ue.test(e)||de.test(e),detectTextDirection(e){const t=e?e.length:0;let n,r;for(n=0;n<t;n++){if(r=e[n],pe.isLtrChar(r))return"ltr";if(pe.isRtlChar(r))return"rtl"}return"ltr"}},fe={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?fe.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=pe.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=pe.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:pe.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=pe.detectTextDirection(t.color.label),o=n?[":",t.color.label]:[t.color.label,":"],i=pe.detectTextDirection(t.color.value);return[{content:o,style:{"text-align":n?"right":"left",direction:r}},{content:n?[t.color.value,fe.getColorSymbol(e,t)]:[fe.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=pe.detectTextDirection(e.label),a=r?[":",e.label]:[e.label,":"],s=pe.detectTextDirection(e.value);let l;return l=o?r?[e.value,fe.getColorSymbol(t,n)]:[fe.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 he(e,t,n,r){const o=parseInt($(e,t,n,r),10);if(!isNaN(o))return o}const me=e=>t=>e.getContrastingColorTo(t.node.attrs.fill);function ge(e,t){return{padding:10,placements:e.simplifiedPlacements.map((n=>function(e,t,n){return{position:e.position,justify:e.justify,fill:e.onBackground?$(t,n,"label.value","color"):me(t),overflow:e.overflow,padding:e.padding}}(n,t,e.themeId))),fontSize:he(t,e.themeId,"label.value","fontSize"),fontFamily:$(t,e.themeId,"label.value","fontFamily"),label:e.label}}function ve(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ye(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function be(){}var xe=.7,we=1/xe,Ee="\\s*([+-]?\\d+)\\s*",Ce="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ke="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Se=/^#([0-9a-f]{3,8})$/,Te=new RegExp("^rgb\\("+[Ee,Ee,Ee]+"\\)$"),Re=new RegExp("^rgb\\("+[ke,ke,ke]+"\\)$"),Ne=new RegExp("^rgba\\("+[Ee,Ee,Ee,Ce]+"\\)$"),Pe=new RegExp("^rgba\\("+[ke,ke,ke,Ce]+"\\)$"),Me=new RegExp("^hsl\\("+[Ce,ke,ke]+"\\)$"),De=new RegExp("^hsla\\("+[Ce,ke,ke,Ce]+"\\)$"),Le={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 Ie(){return this.rgb().formatHex()}function Oe(){return this.rgb().formatRgb()}function Ae(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Se.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?qe(t):3===n?new We(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ze(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ze(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=Te.exec(e))?new We(t[1],t[2],t[3],1):(t=Re.exec(e))?new We(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ne.exec(e))?ze(t[1],t[2],t[3],t[4]):(t=Pe.exec(e))?ze(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Me.exec(e))?$e(t[1],t[2]/100,t[3]/100,1):(t=De.exec(e))?$e(t[1],t[2]/100,t[3]/100,t[4]):Le.hasOwnProperty(e)?qe(Le[e]):"transparent"===e?new We(NaN,NaN,NaN,0):null}function qe(e){return new We(e>>16&255,e>>8&255,255&e,1)}function ze(e,t,n,r){return r<=0&&(e=t=n=NaN),new We(e,t,n,r)}function Fe(e){return e instanceof be||(e=Ae(e)),e?new We((e=e.rgb()).r,e.g,e.b,e.opacity):new We}function We(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function He(){return"#"+Be(this.r)+Be(this.g)+Be(this.b)}function je(){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+")")}function Be(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function $e(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ue(e,t,n,r)}function Ve(e){if(e instanceof Ue)return new Ue(e.h,e.s,e.l,e.opacity);if(e instanceof be||(e=Ae(e)),!e)return new Ue;if(e instanceof Ue)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 Ue(a,s,l,e.opacity)}function Ue(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function _e(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}ve(be,Ae,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Ie,formatHex:Ie,formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Oe,toString:Oe}),ve(We,(function(e,t,n,r){return 1===arguments.length?Fe(e):new We(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return e=null==e?we:Math.pow(we,e),new We(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?xe:Math.pow(xe,e),new We(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:He,formatHex:He,formatRgb:je,toString:je})),ve(Ue,(function(e,t,n,r){return 1===arguments.length?Ve(e):new Ue(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return e=null==e?we:Math.pow(we,e),new Ue(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?xe:Math.pow(xe,e),new Ue(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 We(_e(e>=240?e-240:e+120,o,r),_e(e,o,r),_e(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},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Ye=Math.PI/180,Ke=180/Math.PI,Xe=.96422,Ge=.82521,Ze=4/29,Je=6/29,Qe=3*Je*Je;function et(e){if(e instanceof tt)return new tt(e.l,e.a,e.b,e.opacity);if(e instanceof lt)return ct(e);e instanceof We||(e=Fe(e));var t,n,r=it(e.r),o=it(e.g),i=it(e.b),a=nt((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=nt((.4360747*r+.3850649*o+.1430804*i)/Xe),n=nt((.0139322*r+.0971045*o+.7141733*i)/Ge)),new tt(116*a-16,500*(t-a),200*(a-n),e.opacity)}function tt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function nt(e){return e>.008856451679035631?Math.pow(e,1/3):e/Qe+Ze}function rt(e){return e>Je?e*e*e:Qe*(e-Ze)}function ot(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function it(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function at(e){if(e instanceof lt)return new lt(e.h,e.c,e.l,e.opacity);if(e instanceof tt||(e=et(e)),0===e.a&&0===e.b)return new lt(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ke;return new lt(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function st(e,t,n,r){return 1===arguments.length?at(e):new lt(e,t,n,null==r?1:r)}function lt(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function ct(e){if(isNaN(e.h))return new tt(e.l,0,0,e.opacity);var t=e.h*Ye;return new tt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}ve(tt,(function(e,t,n,r){return 1===arguments.length?et(e):new tt(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return new tt(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new tt(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 We(ot(3.1338561*(t=Xe*rt(t))-1.6168667*(e=1*rt(e))-.4906146*(n=Ge*rt(n))),ot(-.9787684*t+1.9161415*e+.033454*n),ot(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),ve(lt,st,ye(be,{brighter:function(e){return new lt(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new lt(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return ct(this).rgb()}}));var ut=-.14861,dt=1.78277,pt=-.29227,ft=-.90649,ht=1.97294,mt=ht*ft,gt=ht*dt,vt=dt*pt-ft*ut;function yt(e){if(e instanceof bt)return new bt(e.h,e.s,e.l,e.opacity);e instanceof We||(e=Fe(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(vt*r+mt*t-gt*n)/-5.9615122912,i=r-o,a=(ht*(n-o)-pt*i)/ft,s=Math.sqrt(a*a+i*i)/(ht*o*(1-o)),l=s?Math.atan2(a,i)*Ke-120:NaN;return new bt(l<0?l+360:l,s,o,e.opacity)}function bt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function xt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}ve(bt,(function(e,t,n,r){return 1===arguments.length?yt(e):new bt(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return e=null==e?we:Math.pow(we,e),new bt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?xe:Math.pow(xe,e),new bt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Ye,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new We(255*(t+n*(ut*r+dt*o)),255*(t+n*(pt*r+ft*o)),255*(t+n*(ht*r)),this.opacity)}})),function(e){1===e.length&&(e=function(e){return function(t,n){return xt(e(t),n)}}(e))}(xt);var wt="$";function Et(){}function Ct(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 kt(){}Et.prototype=Ct.prototype={constructor:Et,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 St=Ct.prototype;function Tt(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Rt(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Nt(){}kt.prototype={constructor:kt,has:St.has,add:function(e){return this[wt+(e+="")]=e,this},remove:St.remove,clear:St.clear,values:St.keys,size:St.size,empty:St.empty,each:St.each};var Pt=.7,Mt=1/Pt,Dt="\\s*([+-]?\\d+)\\s*",Lt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",It="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ot=/^#([0-9a-f]{3})$/,At=/^#([0-9a-f]{6})$/,qt=new RegExp("^rgb\\("+[Dt,Dt,Dt]+"\\)$"),zt=new RegExp("^rgb\\("+[It,It,It]+"\\)$"),Ft=new RegExp("^rgba\\("+[Dt,Dt,Dt,Lt]+"\\)$"),Wt=new RegExp("^rgba\\("+[It,It,It,Lt]+"\\)$"),Ht=new RegExp("^hsl\\("+[Lt,It,It]+"\\)$"),jt=new RegExp("^hsla\\("+[Lt,It,It,Lt]+"\\)$"),Bt={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 $t(e){var t;return e=(e+"").trim().toLowerCase(),(t=Ot.exec(e))?new Kt((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=At.exec(e))?Vt(parseInt(t[1],16)):(t=qt.exec(e))?new Kt(t[1],t[2],t[3],1):(t=zt.exec(e))?new Kt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ft.exec(e))?Ut(t[1],t[2],t[3],t[4]):(t=Wt.exec(e))?Ut(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ht.exec(e))?Gt(t[1],t[2]/100,t[3]/100,1):(t=jt.exec(e))?Gt(t[1],t[2]/100,t[3]/100,t[4]):Bt.hasOwnProperty(e)?Vt(Bt[e]):"transparent"===e?new Kt(NaN,NaN,NaN,0):null}function Vt(e){return new Kt(e>>16&255,e>>8&255,255&e,1)}function Ut(e,t,n,r){return r<=0&&(e=t=n=NaN),new Kt(e,t,n,r)}function _t(e){return e instanceof Nt||(e=$t(e)),e?new Kt((e=e.rgb()).r,e.g,e.b,e.opacity):new Kt}function Yt(e,t,n,r){return 1===arguments.length?_t(e):new Kt(e,t,n,null==r?1:r)}function Kt(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 Gt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Jt(e,t,n,r)}function Zt(e){if(e instanceof Jt)return new Jt(e.h,e.s,e.l,e.opacity);if(e instanceof Nt||(e=$t(e)),!e)return new Jt;if(e instanceof Jt)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 Jt(a,s,l,e.opacity)}function Jt(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)}Tt(Nt,$t,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Tt(Kt,Yt,Rt(Nt,{brighter:function(e){return e=null==e?Mt:Math.pow(Mt,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Kt(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+")")}})),Tt(Jt,(function(e,t,n,r){return 1===arguments.length?Zt(e):new Jt(e,t,n,null==r?1:r)}),Rt(Nt,{brighter:function(e){return e=null==e?Mt:Math.pow(Mt,e),new Jt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Jt(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 Kt(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=.82521,on=4/29,an=6/29,sn=3*an*an;function ln(e){if(e instanceof cn)return new cn(e.l,e.a,e.b,e.opacity);if(e instanceof mn){if(isNaN(e.h))return new cn(e.l,0,0,e.opacity);var t=e.h*en;return new cn(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Kt||(e=_t(e));var n,r,o=fn(e.r),i=fn(e.g),a=fn(e.b),s=un((.2225045*o+.7168786*i+.0606169*a)/1);return o===i&&i===a?n=r=s:(n=un((.4360747*o+.3850649*i+.1430804*a)/nn),r=un((.0139322*o+.0971045*i+.7141733*a)/rn)),new cn(116*s-16,500*(n-s),200*(s-r),e.opacity)}function cn(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function un(e){return e>.008856451679035631?Math.pow(e,1/3):e/sn+on}function dn(e){return e>an?e*e*e:sn*(e-on)}function pn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function fn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function hn(e){if(e instanceof mn)return new mn(e.h,e.c,e.l,e.opacity);if(e instanceof cn||(e=ln(e)),0===e.a&&0===e.b)return new mn(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*tn;return new mn(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function mn(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}Tt(cn,(function(e,t,n,r){return 1===arguments.length?ln(e):new cn(e,t,n,null==r?1:r)}),Rt(Nt,{brighter:function(e){return new cn(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new cn(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 Kt(pn(3.1338561*(t=nn*dn(t))-1.6168667*(e=1*dn(e))-.4906146*(n=rn*dn(n))),pn(-.9787684*t+1.9161415*e+.033454*n),pn(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Tt(mn,(function(e,t,n,r){return 1===arguments.length?hn(e):new mn(e,t,n,null==r?1:r)}),Rt(Nt,{brighter:function(e){return new mn(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new mn(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return ln(this).rgb()}}));var gn=-.14861,vn=1.78277,yn=-.29227,bn=-.90649,xn=1.97294,wn=xn*bn,En=xn*vn,Cn=vn*yn-bn*gn;function kn(e){if(e instanceof Tn)return new Tn(e.h,e.s,e.l,e.opacity);e instanceof Kt||(e=_t(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Cn*r+wn*t-En*n)/(Cn+wn-En),i=r-o,a=(xn*(n-o)-yn*i)/bn,s=Math.sqrt(a*a+i*i)/(xn*o*(1-o)),l=s?Math.atan2(a,i)*tn-120:NaN;return new Tn(l<0?l+360:l,s,o,e.opacity)}function Sn(e,t,n,r){return 1===arguments.length?kn(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 Nn(e,t){return function(n){return e+n*t}}function Pn(e){return 1==(e=+e)?Mn: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 Mn(e,t){var n=t-e;return n?Nn(e,n):Rn(isNaN(e)?t:e)}function Dn(e){return function t(n){function r(t,r){var o=e((t=Sn(t)).h,(r=Sn(r)).h),i=Mn(t.s,r.s),a=Mn(t.l,r.l),s=Mn(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 Ln(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)]}Tt(Tn,Sn,Rt(Nt,{brighter:function(e){return e=null==e?Mt:Math.pow(Mt,e),new Tn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Pt:Math.pow(Pt,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 Kt(255*(t+n*(gn*r+vn*o)),255*(t+n*(yn*r+bn*o)),255*(t+n*(xn*r)),this.opacity)}})),function e(t){var n=Pn(t);function r(e,t){var r=n((e=Yt(e)).r,(t=Yt(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Mn(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?Nn(e,n>180||n<-180?n-360*Math.round(n/360):n):Rn(isNaN(e)?t:e)})),Dn(Mn);var In,On=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function An(e){return new qn(e)}function qn(e){if(!(t=On.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=Ln(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")}An.prototype=qn.prototype,qn.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 Fn={"%":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=Ln(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(In=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")+Ln(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 Wn(e){return e}var Hn,jn=["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)}):Wn,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):Wn,s=e.percent||"%";function l(e){var t=(e=An(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"):Fn[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():"",v="$"===c?o[1]:/[%p]/.test(m)?s:"",y=Fn[m],b=/[defgprs%]/.test(m);function x(e){var o,s,c,x=g,w=v;if("c"===m)w=y(e)+w,e="";else{var E=(e=+e)<0;if(e=y(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)),E&&0==+e&&(E=!1),x=(E?"("===l?l:"-":"-"===l||"("===l?"":l)+x,w=("s"===m?jn[8+In/3]:"")+w+(E&&"("===l?")":""),b)for(o=-1,s=e.length;++o<s;)if(48>(c=e.charCodeAt(o))||c>57){w=(46===c?i+e.slice(o+1):e.slice(o))+w,e=e.slice(0,o);break}}p&&!u&&(e=r(e,1/0));var C=x.length+e.length+w.length,k=C<d?new Array(d-C+1).join(t):"";switch(p&&u&&(e=r(k+e,k.length?d-w.length:1/0),k=""),n){case"<":e=x+e+w+k;break;case"=":e=x+k+e+w;break;case"^":e=k.slice(0,C=k.length>>1)+x+e+w+k.slice(C);break;default:e=k+x+e+w}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=An(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=Ln(Math.abs(e)))?e[1]:NaN}(t)/3))),o=Math.pow(10,-r),i=jn[8+r/3];return function(e){return n(o*e)+i}}}}!function(e){(Hn=Bn(e)).format,Hn.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var $n=new Date,Vn=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 $n.setTime(+t),Vn.setTime(+r),e($n),e(Vn),Math.floor(n($n,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 _n=Un((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));_n.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})):_n:null},_n.range;var Yn=1e3,Kn=6e4,Xn=36e5,Gn=864e5,Zn=6048e5;Un((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,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%Xn;t<0&&(t+=Xn),e.setTime(Math.floor((+e-t)/Xn)*Xn+t)}),(function(e,t){e.setTime(+e+t*Xn)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getHours()})).range;var Jn=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)/Gn}),(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)/Zn}))}Jn.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*Xn)}),(function(e,t){return(t-e)/Xn}),(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)/Gn}),(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)/Zn}))}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 vr=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 yr(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}}vr.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},vr.range;var wr,Er,Cr,kr={"-":"",_:" ",0:"0"},Sr=/^\s*\d+/,Tr=/^%/,Rr=/[\\^$*+?|[\]().{}]/g;function Nr(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 Mr(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 Lr(e,t,n){var r=Sr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Ir(e,t,n){var r=Sr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Or(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=Sr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Fr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Wr(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=Sr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function jr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Br(e,t,n){var r=Sr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function $r(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Vr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Ur(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function _r(e,t,n){var r=Sr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Yr(e,t,n){var r=Sr.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 Xr(e,t,n){var r=Sr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Gr(e,t,n){var r=Sr.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function Zr(e,t){return Nr(e.getDate(),t,2)}function Jr(e,t){return Nr(e.getHours(),t,2)}function Qr(e,t){return Nr(e.getHours()%12||12,t,2)}function eo(e,t){return Nr(1+Jn.count(sr(e),e),t,3)}function to(e,t){return Nr(e.getMilliseconds(),t,3)}function no(e,t){return to(e,t)+"000"}function ro(e,t){return Nr(e.getMonth()+1,t,2)}function oo(e,t){return Nr(e.getMinutes(),t,2)}function io(e,t){return Nr(e.getSeconds(),t,2)}function ao(e){var t=e.getDay();return 0===t?7:t}function so(e,t){return Nr(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),Nr(or.count(sr(e),e)+(4===sr(e).getDay()),t,2)}function co(e){return e.getDay()}function uo(e,t){return Nr(tr.count(sr(e),e),t,2)}function po(e,t){return Nr(e.getFullYear()%100,t,2)}function fo(e,t){return Nr(e.getFullYear()%1e4,t,4)}function ho(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Nr(t/60|0,"0",2)+Nr(t%60,"0",2)}function mo(e,t){return Nr(e.getUTCDate(),t,2)}function go(e,t){return Nr(e.getUTCHours(),t,2)}function vo(e,t){return Nr(e.getUTCHours()%12||12,t,2)}function yo(e,t){return Nr(1+lr.count(vr(e),e),t,3)}function bo(e,t){return Nr(e.getUTCMilliseconds(),t,3)}function xo(e,t){return bo(e,t)+"000"}function wo(e,t){return Nr(e.getUTCMonth()+1,t,2)}function Eo(e,t){return Nr(e.getUTCMinutes(),t,2)}function Co(e,t){return Nr(e.getUTCSeconds(),t,2)}function ko(e){var t=e.getUTCDay();return 0===t?7:t}function So(e,t){return Nr(ur.count(vr(e),e),t,2)}function To(e,t){var n=e.getUTCDay();return e=n>=4||0===n?hr(e):hr.ceil(e),Nr(hr.count(vr(e),e)+(4===vr(e).getUTCDay()),t,2)}function Ro(e){return e.getUTCDay()}function No(e,t){return Nr(dr.count(vr(e),e),t,2)}function Po(e,t){return Nr(e.getUTCFullYear()%100,t,2)}function Mo(e,t){return Nr(e.getUTCFullYear()%1e4,t,4)}function Do(){return"+0000"}function Lo(){return"%"}function Io(e){return+e}function Oo(e){return Math.floor(+e/1e3)}!function(e){(wr=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=Mr(o),u=Dr(o),d=Mr(i),p=Dr(i),f=Mr(a),h=Dr(a),m=Mr(s),g=Dr(s),v=Mr(l),y=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:Zr,e:Zr,f:no,H:Jr,I:Qr,j:eo,L:to,m:ro,M:oo,p:function(e){return o[+(e.getHours()>=12)]},Q:Io,s:Oo,S:io,u:ao,U:so,V:lo,w:co,W:uo,x:null,X:null,y:po,Y:fo,Z:ho,"%":Lo},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:vo,j:yo,L:bo,m:wo,M:Eo,p:function(e){return o[+(e.getUTCHours()>=12)]},Q:Io,s:Oo,S:Co,u:ko,U:So,V:To,w:Ro,W:No,x:null,X:null,y:Po,Y:Mo,Z:Do,"%":Lo},w={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=v.exec(t.slice(n));return r?(e.m=y[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:jr,e:jr,f:Yr,H:$r,I:$r,j:Br,L:_r,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:Xr,s:Gr,S:Ur,u:Ir,U:Or,V:Ar,w:Lr,W:qr,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:Fr,Y:zr,Z:Wr,"%":Kr};function E(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=Jn.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=w[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=E(n,b),b.X=E(r,b),b.c=E(t,b),x.x=E(n,x),x.X=E(r,x),x.c=E(t,x),{format:function(e){var t=E(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",yr);return t.toString=function(){return e},t},utcFormat:function(e){var t=E(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)).format,wr.parse,Er=wr.utcFormat,Cr=wr.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 Ao="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Er(Ao),+new Date("2000-01-01T00:00:00.000Z")||Cr(Ao);const qo=Q.bind(null,!0),zo={},{isArray:Fo}=Array;function Wo(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Ho(e){return void 0===e}function jo(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 $o(e,t){let n=!0;if(Wo(e)&&Wo(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{$o(e[r],t[r])||(n=!1)})),n);if(Fo(e)&&Fo(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!$o(e[n],t[n]))return!1;return!0}return e===t}zo.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const i=function(e){return e?qo({},{val:e}).val:e}(t[o]),a=e[o],s=`${n}/${o}`;$o(i,a)||jo(t,o)||(Ho(a)?r.push({op:"add",path:s,value:i}):Wo(i)&&Wo(a)?r=r.concat(zo.generate(a,i,s)):Fo(i)&&Fo(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($o(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(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=>{Ho(t[o])&&!jo(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},zo.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(Fo(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Fo(o)&&Fo(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Wo(o)&&Wo(t.value))a=o,Object.keys(a).forEach((e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!jo(a,e)&&delete a[e]})),qo(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);Fo(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&(Fo(n)?n.splice(+r,1):delete n[r]);var a}))},zo.clone=function(e){return qo({},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)):qo(e,t)};const Vo=[[2,4,6],[2,4],[3]],Uo=[,[,,[[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 _o(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++)_o(e[r],t,n)}!function(){let e,t;for(Yo(Vo,1,10),e=0;e<Uo.length;e++)if(Uo[e])for(t=0;t<Uo[e].length;t++)Array.isArray(Uo[e][t])&&Yo(Uo[e][t])}();var Ko={exports:{}};function Xo(){}function Go(){}Go.resetWarningCache=Xo;Ko.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,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:Go,resetWarningCache:Xo};return n.PropTypes=n,n}();var Zo={black:"#000",white:"#fff"},Jo="#e57373",Qo="#f44336",ei="#d32f2f",ti="#ff4081",ni="#f50057",ri="#c51162",oi="#7986cb",ii="#3f51b5",ai="#303f9f",si={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 li(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 e<t?t:e>n?n:e}function ci(e){if(e.type)return e;if("#"===e.charAt(0))return ci(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function ui(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 di(e){var t="hsl"===(e=ci(e)).type?ci(function(e){var t=(e=ci(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])),ui({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 pi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return di(e)>.5?hi(e,t):mi(e,t)}function fi(e,t){return e=ci(e),t=li(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,ui(e)}function hi(e,t){if(e=ci(e),t=li(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 ui(e)}function mi(e,t){if(e=ci(e),t=li(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 ui(e)}function gi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vi(){return(vi=Object.assign||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}).apply(this,arguments)}function yi(e,t){if(null==e)return{};var n,r,o=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,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}function bi(){return(bi=Object.assign||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}).apply(this,arguments)}function xi(e){return(xi="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})(e)}function wi(e){return(wi="function"==typeof Symbol&&"symbol"===xi(Symbol.iterator)?function(e){return xi(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":xi(e)})(e)}function Ei(e){return e&&"object"===wi(e)&&!Array.isArray(e)}function Ci(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?bi({},e):e;return Ei(e)&&Ei(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Ei(t[o])&&o in e?r[o]=Ci(e[o],t[o],n):r[o]=t[o])})),r}(Ko.exports.element,function(){return null}).isRequired=(Ko.exports.element.isRequired,function(){return null});var ki={exports:{}},Si={};
|
|
8
|
+
/** @license React v16.11.0
|
|
9
|
+
* react-is.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(Si,"__esModule",{value:!0});var Ti="function"==typeof Symbol&&Symbol.for,Ri=Ti?Symbol.for("react.element"):60103,Ni=Ti?Symbol.for("react.portal"):60106,Pi=Ti?Symbol.for("react.fragment"):60107,Mi=Ti?Symbol.for("react.strict_mode"):60108,Di=Ti?Symbol.for("react.profiler"):60114,Li=Ti?Symbol.for("react.provider"):60109,Ii=Ti?Symbol.for("react.context"):60110,Oi=Ti?Symbol.for("react.async_mode"):60111,Ai=Ti?Symbol.for("react.concurrent_mode"):60111,qi=Ti?Symbol.for("react.forward_ref"):60112,zi=Ti?Symbol.for("react.suspense"):60113,Fi=Ti?Symbol.for("react.suspense_list"):60120,Wi=Ti?Symbol.for("react.memo"):60115,Hi=Ti?Symbol.for("react.lazy"):60116,ji=Ti?Symbol.for("react.fundamental"):60117,Bi=Ti?Symbol.for("react.responder"):60118,$i=Ti?Symbol.for("react.scope"):60119;function Vi(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ri:switch(e=e.type){case Oi:case Ai:case Pi:case Di:case Mi:case zi:return e;default:switch(e=e&&e.$$typeof){case Ii:case qi:case Li:return e;default:return t}}case Hi:case Wi:case Ni:return t}}}function Ui(e){return Vi(e)===Ai}Si.typeOf=Vi,Si.AsyncMode=Oi,Si.ConcurrentMode=Ai,Si.ContextConsumer=Ii,Si.ContextProvider=Li,Si.Element=Ri,Si.ForwardRef=qi,Si.Fragment=Pi,Si.Lazy=Hi,Si.Memo=Wi,Si.Portal=Ni,Si.Profiler=Di,Si.StrictMode=Mi,Si.Suspense=zi,Si.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Pi||e===Ai||e===Di||e===Mi||e===zi||e===Fi||"object"==typeof e&&null!==e&&(e.$$typeof===Hi||e.$$typeof===Wi||e.$$typeof===Li||e.$$typeof===Ii||e.$$typeof===qi||e.$$typeof===ji||e.$$typeof===Bi||e.$$typeof===$i)},Si.isAsyncMode=function(e){return Ui(e)||Vi(e)===Oi},Si.isConcurrentMode=Ui,Si.isContextConsumer=function(e){return Vi(e)===Ii},Si.isContextProvider=function(e){return Vi(e)===Li},Si.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ri},Si.isForwardRef=function(e){return Vi(e)===qi},Si.isFragment=function(e){return Vi(e)===Pi},Si.isLazy=function(e){return Vi(e)===Hi},Si.isMemo=function(e){return Vi(e)===Wi},Si.isPortal=function(e){return Vi(e)===Ni},Si.isProfiler=function(e){return Vi(e)===Di},Si.isStrictMode=function(e){return Vi(e)===Mi},Si.isSuspense=function(e){return Vi(e)===zi},ki.exports=Si,"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Ko.exports.oneOfType([Ko.exports.func,Ko.exports.PropTypes.object]);var _i=["xs","sm","md","lg","xl"];function Yi(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=yi(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=_i.indexOf(t)+1;return r===_i.length?l(e):"@media (min-width:".concat(n[e]).concat(o,") and ")+"(max-width:".concat(n[_i[r]]-a/100).concat(o,")")}return vi({keys:_i,values:n,up:l,down:function(e){var t=_i.indexOf(e)+1,r=n[_i[t]];return t===_i.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)}function Ki(e,t,n){var r;return vi({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return vi({paddingLeft:t(2),paddingRight:t(2)},n,gi({},e.up("sm"),vi({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},gi(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),gi(r,e.up("sm"),{minHeight:64}),r)},n)}var Xi={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:Zo.white,default:si[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}},Gi={text:{primary:Zo.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:si[800],default:"#303030"},action:{active:Zo.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function Zi(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=mi(e.main,r):"dark"===t&&(e.dark=hi(e.main,1.5*r)))}function Ji(e){var t=e.primary,n=void 0===t?{light:oi,main:ii,dark:ai}:t,r=e.secondary,o=void 0===r?{light:ti,main:ni,dark:ri}:r,i=e.error,a=void 0===i?{light:Jo,main:Qo,dark:ei}:i,s=e.type,l=void 0===s?"light":s,c=e.contrastThreshold,u=void 0===c?3:c,d=e.tonalOffset,p=void 0===d?.2:d,f=yi(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function h(e){return function(e,t){var n=di(e),r=di(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Gi.text.primary)>=u?Gi.text.primary:Xi.text.primary}function m(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;return!(e=vi({},e)).main&&e[t]&&(e.main=e[t]),Zi(e,"light",n,p),Zi(e,"dark",r,p),e.contrastText||(e.contrastText=h(e.main)),e}var g={dark:Gi,light:Xi};return Ci(vi({common:Zo,type:l,primary:m(n),secondary:m(o,"A400","A200","A700"),error:m(a),grey:si,contrastThreshold:u,getContrastText:h,augmentColor:m,tonalOffset:p},g[l]),f,{clone:!1})}function Qi(e){return Math.round(1e5*e)/1e5}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,v=n.allVariants,y=n.pxToRem,b=yi(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,w=y||function(e){return"".concat(e/g*x,"rem")},E=function(e,t,n,r,i){return vi({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===ta?{letterSpacing:"".concat(Qi(r/t),"em")}:{},{},i,{},v)},C={h1:E(l,96,1,-1.5),h2:E(l,60,1,-.5),h3:E(u,48,1.04,0),h4:E(u,34,1.17,.25),h5:E(u,24,1.33,0),h6:E(p,20,1.6,.15),subtitle1:E(u,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(u,16,1.5,.15),body2:E(u,14,1.43,.15),button:E(p,14,1.75,.4,ea),caption:E(u,12,1.66,.4),overline:E(u,12,2.66,1,ea)};return Ci(vi({htmlFontSize:g,pxToRem:w,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(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"==typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 0===n.length?e(1):1===n.length?e(n[0]):n.map((function(t){var n=e(t);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n}var sa={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)"},la={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},ca=function(e){return"".concat(Math.round(e),"ms")},ua={easing:sa,duration:la,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?la.standard:n,o=t.easing,i=void 0===o?sa.easeInOut:o,a=t.delay,s=void 0===a?0:a;return yi(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:ca(r)," ").concat(i," ").concat("string"==typeof s?s:ca(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))}},da={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function pa(){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.shadows,l=e.spacing,c=e.typography,u=void 0===c?{}:c,d=yi(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),p=Ji(a),f=Yi(n),h=aa(l),m=vi({breakpoints:f,direction:"ltr",mixins:Ki(f,h,o),overrides:{},palette:p,props:{},shadows:s||oa,typography:na(p,u),spacing:h},Ci({shape:ia,transitions:ua,zIndex:da},d));return m}var fa="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",ha=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function ma(){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;return function(e,t){l+=1;var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==ha.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[fa]&&""===a?"".concat(i,"-").concat(l):i}return"".concat(s).concat(o).concat(l)}}function ga(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}function va(){return(va=Object.assign||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}).apply(this,arguments)}var ya="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},ba="object"===("undefined"==typeof window?"undefined":ya(window))&&"object"===("undefined"==typeof document?"undefined":ya(document))&&9===document.nodeType;function xa(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,r.key,r)}}function wa(e,t,n){return t&&xa(e.prototype,t),n&&xa(e,n),e}function Ea(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ca(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ka={}.constructor;function Sa(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Sa);if(e.constructor!==ka)return e;var t={};for(var n in e)t[n]=Sa(e[n]);return t}function Ta(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Sa(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Ra=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n};function Na(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Ra(e[r]," ");else n=Ra(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}function Pa(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Ma(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;if(e&&i++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var l=a[s];for(var c in l){var u=l[c];null!=u&&(r&&(r+="\n"),r+=""+Pa(c+": "+Na(u)+";",i))}}else for(var d in a){var p=a[d];null!=p&&(r&&(r+="\n"),r+=""+Pa(d+": "+Na(p)+";",i))}for(var f in t){var h=t[f];null!=h&&"fallbacks"!==f&&(r&&(r+="\n"),r+=""+Pa(f+": "+Na(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),Pa(e+" {"+r,--i)+Pa("}",i)):r}var Da=/([[\].#*$><+~=|^:(),"'`\s])/g,La="undefined"!=typeof CSS&&CSS.escape,Ia=function(e){return La?La(e):e.replace(Da,"\\$1")},Oa=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;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}(),Aa=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(Ca(Ca(o)),s),o.selectorText="."+Ia(o.id)),o}Ea(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]=Na(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?va({},e,{allowEmpty:!0}):e;return Ma(this.selectorText,this.style,n)},wa(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}(Oa),qa={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Aa(e,t,n)}},za={indent:1,children:!0},Fa=/@([\w-]+)/,Wa=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(Fa);for(var o in this.at=r?r[1]:"unknown",this.options=n,this.rules=new ss(va({},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.toString=function(e){if(void 0===e&&(e=za),null==e.indent&&(e.indent=za.indent),null==e.children&&(e.children=za.children),!1===e.children)return this.key+" {}";var t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""},e}(),Ha=/@media|@supports\s+/,ja={onCreateRule:function(e,t,n){return Ha.test(e)?new Wa(e,t,n):null}},Ba={indent:1,children:!0},$a=/@keyframes\s+([\w-]+)/,Va=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match($a);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:Ia(a(this,i)),this.rules=new ss(va({},n,{parent:this})),t)this.rules.add(s,t[s],va({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Ba),null==e.indent&&(e.indent=Ba.indent),null==e.children&&(e.children=Ba.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),Ua=/@keyframes\s+/,_a=/\$([\w-]+)/g,Ya=function(e,t){return"string"==typeof e?e.replace(_a,(function(e,n){return n in t?t[n]:e})):e},Ka=function(e,t,n){var r=e[t],o=Ya(r,n);o!==r&&(e[t]=o)},Xa={onCreateRule:function(e,t,n){return"string"==typeof e&&Ua.test(e)?new Va(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Ka(e,"animation-name",n.keyframes),"animation"in e&&Ka(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 Ya(e,r.keyframes);default:return e}}},Ga=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Ea(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?va({},e,{allowEmpty:!0}):e;return Ma(this.key,this.style,n)},t}(Oa),Za={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Ga(e,t,n):null}},Ja=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=Ma(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return Ma(this.key,this.style,e)},e}(),Qa={onCreateRule:function(e,t,n){return"@font-face"===e?new Ja(e,t,n):null}},es=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return Ma(this.key,this.style,e)},e}(),ts={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new es(e,t,n):null}},ns=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,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}(),rs={"@charset":!0,"@import":!0,"@namespace":!0},os=[qa,ja,Xa,Za,Qa,ts,{onCreateRule:function(e,t,n){return e in rs?new ns(e,t,n):null}}],is={process:!0},as={force:!0,process:!0},ss=function(){function e(e){this.map={},this.raw={},this.index=[],this.options=void 0,this.classes=void 0,this.keyframes=void 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=va({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:c},n);this.raw[e]=t,e in this.classes&&(u.selector="."+Ia(this.classes[e]));var d=Ta(e,t,u);if(!d)return null;this.register(d);var p=void 0===u.index?this.index.length:u.index;return this.index.splice(p,0,d),d},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.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 Aa?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Va&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Aa?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Va&&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.onUpdate(t,this.get(e),n);else for(var r=0;r<this.index.length;r++)this.onUpdate(t,this.index[r],n)},t.onUpdate=function(t,n,r){void 0===r&&(r=is);var o=this.options,i=o.jss.plugins,a=o.sheet;if(n.rules instanceof e)n.rules.update(t,r);else{var s=n,l=s.style;if(i.onUpdate(t,n,a,r),r.process&&l&&l!==s.style){for(var c in i.onProcessStyle(s.style,s,a),s.style){var u=s.style[c];u!==l[c]&&s.prop(c,u,as)}for(var d in l){var p=s.style[d],f=l[d];null==p&&p!==f&&s.prop(d,null,as)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),ls=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=va({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ss(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.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=this.rules.get(e);return!!t&&(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.toString=function(e){return this.rules.toString(e)},e}(),cs=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}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}(),us=new(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=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}(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},wa(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),ds="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),ps="2f1acc6c3a606b082e5eef5e54414ffb";null==ds[ps]&&(ds[ps]=0);var fs=ds[ps]++,hs=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")+fs+o+t:i+n.key+"-"+fs+(o?"-"+o:"")+"-"+t}},ms=function(e){var t;return function(){return t||(t=e()),t}};function gs(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}}function vs(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Na(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0}function ys(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}}function bs(e,t){return e.selectorText=t,e.selectorText===t}var xs=ms((function(){return document.querySelector("head")}));function ws(e){var t=us.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.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=xs(),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 Es=ms((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Cs=function(e,t,n){var r=e.cssRules.length;(void 0===n||n>r)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},ks=function(){function e(e){this.getPropertyValue=gs,this.setProperty=vs,this.removeProperty=ys,this.setSelector=bs,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&us.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=Es();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=ws(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 xs().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(){var e=this.element.parentNode;e&&e.removeChild(this.element)},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;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(o=Cs(n,r.toString({children:!1}),t)))&&(this.insertRules(r.rules,o),o)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var i=e.toString();if(!i)return!1;var a=Cs(n,i,t);return!1!==a&&(this.hasInsertedRules=!0,e.renderable=a,a)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Ss=0,Ts=function(){function e(e){this.id=Ss++,this.version="10.0.0",this.plugins=new cs,this.options={id:{minify:!1},createGenerateId:hs,Renderer:ba?ks:null,plugins:[]},this.generateId=hs({minify:!1});for(var t=0;t<os.length;t++)this.plugins.use(os[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=va({},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===us.index?0:us.index+1);var r=new ls(e,va({},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(),us.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=va({},n,{jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=Ta(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}();function Rs(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=Rs(r);i&&(t||(t={}),t[n]=i)}}return t}
|
|
17
|
+
/**
|
|
18
|
+
* A better abstraction over CSS.
|
|
19
|
+
*
|
|
20
|
+
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
21
|
+
* @website https://github.com/cssinjs/jss
|
|
22
|
+
* @license MIT
|
|
23
|
+
*/var Ns="undefined"!=typeof CSS&&CSS&&"number"in CSS,Ps=function(e){return new Ts(e)};Ps();var Ms=Date.now(),Ds="fnValues"+Ms,Ls="fnStyle"+ ++Ms;function Is(){return(Is=Object.assign||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}).apply(this,arguments)}var Os="@global",As="@global ",qs=function(){function e(e,t,n){for(var r in this.type="global",this.at=Os,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new ss(Is({},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 this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),zs=function(){function e(e,t,n){this.type="global",this.at=Os,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(As.length);this.rule=n.jss.createRule(r,t,Is({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Fs=/\s*,\s*/g;function Ws(e,t){for(var n=e.split(Fs),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function Hs(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Os)return new qs(e,t,n);if("@"===e[0]&&e.substr(0,As.length)===As)return new zs(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,n=e.style,r=n?n[Os]:null;if(r){for(var o in r)t.sheet.addRule(o,r[o],Is({},t,{selector:Ws(o,e.selector)}));delete n[Os]}}(e),function(e){var t=e.options,n=e.style;for(var r in n)if("@"===r[0]&&r.substr(0,Os.length)===Os){var o=Ws(r.substr(Os.length),e.selector);t.sheet.addRule(o,n[r],Is({},t,{selector:o})),delete n[r]}}(e))}}}function js(){return(js=Object.assign||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}).apply(this,arguments)}var Bs=/\s*,\s*/g,$s=/&/g,Vs=/\$([\w-]+)/g;function Us(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split(Bs),r=e.split(Bs),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($s,a):a+" "+l}return o}function n(e,t,n){if(n)return js({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,js({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}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(Vs,s),c.addRule(f,r[u],js({},a,{selector:f}))}else p&&c.addRule(u,{},a).addRule(l.key,r[u],{selector:l.selector});delete r[u]}}return r}}}var _s=/[A-Z]/g,Ys=/^ms-/,Ks={};function Xs(e){return"-"+e.toLowerCase()}function Gs(e){if(Ks.hasOwnProperty(e))return Ks[e];var t=e.replace(_s,Xs);return Ks[e]=Ys.test(t)?"-"+t:t}function Zs(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Gs(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Zs):t.fallbacks=Zs(e.fallbacks)),t}var Js=Ns&&CSS?CSS.px:"px",Qs=Ns&&CSS?CSS.ms:"ms",el=Ns&&CSS?CSS.percent:"%";function tl(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 nl=tl({"animation-delay":Qs,"animation-duration":Qs,"background-position":Js,"background-position-x":Js,"background-position-y":Js,"background-size":Js,border:Js,"border-bottom":Js,"border-bottom-left-radius":Js,"border-bottom-right-radius":Js,"border-bottom-width":Js,"border-left":Js,"border-left-width":Js,"border-radius":Js,"border-right":Js,"border-right-width":Js,"border-top":Js,"border-top-left-radius":Js,"border-top-right-radius":Js,"border-top-width":Js,"border-width":Js,margin:Js,"margin-bottom":Js,"margin-left":Js,"margin-right":Js,"margin-top":Js,padding:Js,"padding-bottom":Js,"padding-left":Js,"padding-right":Js,"padding-top":Js,"mask-position-x":Js,"mask-position-y":Js,"mask-size":Js,height:Js,width:Js,"min-height":Js,"max-height":Js,"min-width":Js,"max-width":Js,bottom:Js,left:Js,top:Js,right:Js,"box-shadow":Js,"text-shadow":Js,"column-gap":Js,"column-rule":Js,"column-rule-width":Js,"column-width":Js,"font-size":Js,"font-size-delta":Js,"letter-spacing":Js,"text-indent":Js,"text-stroke":Js,"text-stroke-width":Js,"word-spacing":Js,motion:Js,"motion-offset":Js,outline:Js,"outline-offset":Js,"outline-width":Js,perspective:Js,"perspective-origin-x":el,"perspective-origin-y":el,"transform-origin":el,"transform-origin-x":el,"transform-origin-y":el,"transform-origin-z":el,"transition-delay":Qs,"transition-duration":Qs,"vertical-align":Js,"flex-basis":Js,"shape-margin":Js,size:Js,grid:Js,"grid-gap":Js,"grid-row-gap":Js,"grid-column-gap":Js,"grid-template-rows":Js,"grid-template-columns":Js,"grid-auto-rows":Js,"grid-auto-columns":Js,"box-shadow-x":Js,"box-shadow-y":Js,"box-shadow-blur":Js,"box-shadow-spread":Js,"font-line-height":Js,"text-shadow-x":Js,"text-shadow-y":Js,"text-shadow-blur":Js});function rl(e,t,n){if(!t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=rl(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=rl(o,t[o],n);else for(var i in t)t[i]=rl(e+"-"+i,t[i],n);else if("number"==typeof t)return n[e]?""+t+n[e]:nl[e]?"function"==typeof nl[e]?nl[e](t).toString():""+t+nl[e]:t.toString();return t}function ol(e){void 0===e&&(e={});var t=tl(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=rl(r,e[r],t);return e},onChangeValue:function(e,n){return rl(n,e,t)}}}function il(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var al="",sl="",ll="",cl=ba&&"ontouchstart"in document.documentElement;if(ba){var ul={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},dl=document.createElement("p").style;for(var pl in ul)if(pl+"Transform"in dl){al=pl,sl=ul[pl];break}"Webkit"===al&&"msHyphens"in dl&&(al="ms",sl=ul.ms,"edge"),"Webkit"===al&&"-apple-trailing-word"in dl&&(ll="apple")}var fl=al,hl=sl,ml=ll,gl=cl;var vl={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===fl?"-webkit-"+e:hl+e)}},yl={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===fl?hl+"print-"+e:e)}},bl=/[-\s]+(.)?/g;function xl(e,t){return t?t.toUpperCase():""}function wl(e){return e.replace(bl,xl)}function El(e){return wl("-"+e)}var Cl,kl={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===fl){var n="mask-image";if(wl(n)in t)return e;if(fl+El(n)in t)return hl+e}return e}},Sl={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==ml||gl?e:hl+e)}},Tl={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:hl+e)}},Rl={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:hl+e)}},Nl={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===fl||"ms"===fl?hl+e:e)}},Pl={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===fl||"ms"===fl||"apple"===ml?hl+e:e)}},Ml={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===fl?"WebkitColumn"+El(e)in t&&hl+"column-"+e:"Moz"===fl&&("page"+El(e)in t&&"page-"+e))}},Dl={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===fl)return e;var n=e.replace("-inline","");return fl+El(n)in t&&hl+n}},Ll={supportedProperty:function(e,t){return wl(e)in t&&e}},Il={supportedProperty:function(e,t){var n=El(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:fl+n in t?hl+e:"Webkit"!==fl&&"Webkit"+n in t&&"-webkit-"+e}},Ol={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===fl?""+hl+e:e)}},Al={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===fl?hl+"scroll-chaining":e)}},ql={"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"},zl={supportedProperty:function(e,t){var n=ql[e];return!!n&&(fl+El(n)in t&&hl+n)}},Fl={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"},Wl=Object.keys(Fl),Hl=function(e){return hl+e},jl=[vl,yl,kl,Sl,Tl,Rl,Nl,Pl,Ml,Dl,Ll,Il,Ol,Al,zl,{supportedProperty:function(e,t,n){var r=n.multiple;if(Wl.indexOf(e)>-1){var o=Fl[e];if(!Array.isArray(o))return fl+El(o)in t&&hl+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(fl+El(o[0])in t))return!1;return o.map(Hl)}return!1}}],Bl=jl.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),$l=jl.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,il(t.noPrefill)),e}),[]),Vl={};if(ba){Cl=document.createElement("p");var Ul=window.getComputedStyle(document.documentElement,"");for(var _l in Ul)isNaN(_l)||(Vl[Ul[_l]]=Ul[_l]);$l.forEach((function(e){return delete Vl[e]}))}function Yl(e,t){if(void 0===t&&(t={}),!Cl)return e;if(null!=Vl[e])return Vl[e];"transition"!==e&&"transform"!==e||(t[e]=e in Cl.style);for(var n=0;n<Bl.length&&(Vl[e]=Bl[n](e,Cl.style,t),!Vl[e]);n++);try{Cl.style[e]=""}catch(e){return!1}return Vl[e]}var Kl,Xl={},Gl={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Zl=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Jl(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Yl(t):", "+Yl(n);return r||(t||n)}function Ql(e,t){var n=t;if(!Kl||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Xl[r])return Xl[r];try{Kl.style[e]=n}catch(e){return Xl[r]=!1,!1}if(Gl[e])n=n.replace(Zl,Jl);else if(""===Kl.style[e]&&("-ms-flex"===(n=hl+n)&&(Kl.style[e]="-ms-flexbox"),Kl.style[e]=n,""===Kl.style[e]))return Xl[r]=!1,!1;return Kl.style[e]="",Xl[r]=n,Xl[r]}function ec(){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=Yl(n);i&&i!==n&&(o=!0);var a=!1,s=Ql(i,Na(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"===fl?e:"@"+hl+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Ql(t,Na(e))||e}}}function tc(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=Ta(e,{},n);return r[Ls]=t,r},onProcessStyle:function(e,t){if(Ds in t||Ls 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[Ds]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Ls];i&&(o.style=i(e)||{});var a=o[Ds];if(a)for(var s in a)o.prop(s,a[s](e),r)}},Hs(),Us(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Zs(e[t]);return e}return Zs(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Gs(t);return t===r?e:(n.prop(r,e),null)}},ol(),"undefined"==typeof window?null:ec(),(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 nc(e,t){if(null==e)return{};var n,r,o=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,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}function rc(){return(rc=Object.assign||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}).apply(this,arguments)}function oc(){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=rc({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}ba&&(Kl=document.createElement("p"));var ic=function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},ac=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},sc=function(e,t,n){e.get(t).delete(n)},lc=o.createContext(null);function cc(){return o.useContext(lc)}var uc,dc=Ps(tc()),pc={disableGeneration:!1,generateClassName:ma(),jss:dc,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},fc=o.createContext(pc);function hc(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,i=e.disableGeneration,a=void 0!==i&&i,s=nc(e,["children","injectFirst","disableGeneration"]),l=rc({},o.useContext(fc),{disableGeneration:a},s);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!uc){var c=document.head;uc=document.createComment("mui-inject-first"),c.insertBefore(uc,c.firstChild)}l.jss=Ps({plugins:tc().plugins,insertionPoint:uc})}return o.createElement(fc.Provider,{value:l},t)}var mc=-1e9;function gc(){return mc+=1}var vc={};function yc(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=rc({},o);return Object.keys(i).forEach((function(e){a[e]=Ci(a[e],i[e])})),a},options:{}}}function bc(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=oc({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}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=ac(o.sheetsManager,i,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},ic(o.sheetsManager,i,r,s));var l=rc({},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=ac(o.sheetsCache,i,r));var d=i.create(r,a);u||((u=o.jss.createStyleSheet(d,rc({link:!1},l))).attach(),o.sheetsCache&&ic(o.sheetsCache,i,r,u)),c&&c.add(u),s.staticSheet=u,s.dynamicStyles=Rs(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,rc({link:!0},l));p.update(t).attach(),n.dynamicSheet=p,n.classes=oc({baseClasses:s.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else n.classes=s.staticSheet.classes;s.refs+=1}}function wc(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Ec(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=ac(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(sc(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))}}function Cc(e,t){var n,r=o.useRef([]),i=o.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),o.useEffect((function(){return function(){n&&n()}}),[i])}function kc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,a=t.defaultTheme,s=void 0===a?vc:a,l=nc(t,["name","classNamePrefix","Component","defaultTheme"]),c=yc(e),u=n||r||"makeStyles";return c.options={index:gc(),name:n,meta:u,classNamePrefix:u},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=cc()||s,r=rc({},o.useContext(fc),{},l),a=o.useRef(),u=o.useRef();return Cc((function(){var o={name:n,state:{},stylesCreator:c,stylesOptions:r,theme:t};return xc(o,e),u.current=!1,a.current=o,function(){Ec(o)}}),[t,c]),o.useEffect((function(){u.current&&wc(a.current,e),u.current=!0})),bc(a.current,e.classes,i)}}function Sc(e){var t,n,r="";if(e)if("object"==typeof e)if(e.push)for(t=0;t<e.length;t++)e[t]&&(n=Sc(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(n=Sc(t))&&(r&&(r+=" "),r+=n);else"boolean"==typeof e||e.call||(r&&(r+=" "),r+=e);return r}function Tc(){for(var e,t=0,n="";t<arguments.length;)(e=Sc(arguments[t++]))&&(n&&(n+=" "),n+=e);return n}var Rc=ki.exports,Nc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Pc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Mc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Dc={};function Lc(e){return Rc.isMemo(e)?Mc:Dc[e.$$typeof]||Nc}Dc[Rc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var Ic=Object.defineProperty,Oc=Object.getOwnPropertyNames,Ac=Object.getOwnPropertySymbols,qc=Object.getOwnPropertyDescriptor,zc=Object.getPrototypeOf,Fc=Object.prototype;var Wc=function e(t,n,r){if("string"!=typeof n){if(Fc){var o=zc(n);o&&o!==Fc&&e(t,o,r)}var i=Oc(n);Ac&&(i=i.concat(Ac(n)));for(var a=Lc(t),s=Lc(n),l=0;l<i.length;++l){var c=i[l];if(!(Pc[c]||r&&r[c]||s&&s[c]||a&&a[c])){var u=qc(n,c);try{Ic(t,c,u)}catch(e){}}}return t}return t};function Hc(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function jc(e){var t=e.children,n=e.theme,r=cc(),i=o.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):rc({},e,{},t)}(r,n);return null!=e&&(e[fa]=null!==r),e}),[n,r]);return o.createElement(lc.Provider,{value:i},t)}function Bc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=function(e){var n=o.forwardRef((function(n,r){var i=n.innerRef,a=nc(n,["innerRef"]),s=cc()||t;return o.createElement(e,rc({theme:s,ref:i||r},a))}));return Wc(n,e),n};return n}Bc();var $c=pa();function Vc(){return cc()||$c}function Uc(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,a=void 0!==i&&i,s=t.name,l=nc(t,["defaultTheme","withTheme","name"]),c=s,u=kc(e,rc({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:c},l)),d=o.forwardRef((function(e,t){e.classes;var i,l=e.innerRef,c=nc(e,["classes","innerRef"]),d=u(e),p=c;return("string"==typeof s||a)&&(i=cc()||r,s&&(p=ga({theme:i,name:s,props:c})),a&&!p.theme&&(p.theme=i)),o.createElement(n,rc({ref:l||t,classes:d},p))}));return d.defaultProps=n.defaultProps,Wc(d,n),d}}(e,vi({defaultTheme:$c},t))}function _c(e){return e.charAt(0).toUpperCase()+e.slice(1)}Bc({defaultTheme:$c});var Yc=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.square,l=void 0!==s&&s,c=e.elevation,u=void 0===c?1:c,d=yi(e,["classes","className","component","square","elevation"]);return o.createElement(a,vi({className:Tc(n.root,n["elevation".concat(u)],r,!l&&n.rounded),ref:t},d))})),Kc=Uc((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),vi({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius}},t)}),{name:"MuiPaper"})(Yc),Xc=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.position,l=void 0===s?"fixed":s,c=yi(e,["classes","className","color","position"]);return o.createElement(Kc,vi({square:!0,component:"header",elevation:4,className:Tc(n.root,n["position".concat(_c(l))],r,"inherit"!==a&&n["color".concat(_c(a))],{fixed:"mui-fixed"}[l]),ref:t},c))}));Uc((function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static",transform:"translateZ(0)"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText}}}),{name:"MuiAppBar"})(Xc);var Gc=o.forwardRef((function(e,t){var n=e.alt,r=e.children,i=e.classes,a=e.className,s=e.component,l=void 0===s?"div":s,c=e.imgProps,u=e.sizes,d=e.src,p=e.srcSet,f=e.variant,h=void 0===f?"circle":f,m=yi(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),g=null,v=d||p;return g=v?o.createElement("img",vi({alt:n,src:d,srcSet:p,sizes:u,className:i.img},c)):r,o.createElement(l,vi({className:Tc(i.root,i.system,i[h],a,!v&&i.colorDefault),ref:t},m),g)}));function Zc(){return(Zc=Object.assign||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}).apply(this,arguments)}function Jc(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 Qc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function eu(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}Uc((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover"}}}),{name:"MuiAvatar"})(Gc);var tu=!1,nu=o.createContext(null),ru="unmounted",ou="exited",iu="entering",au="entered",su="exiting",lu=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=ou,r.appearStatus=iu):o=au:o=t.unmountOnExit||t.mountOnEnter?ru:ou,r.state={status:o},r.nextCallback=null,r}Qc(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===ru?{status:ou}: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!==iu&&n!==au&&(t=iu):n!==iu&&n!==au||(t=su)}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){this.cancelNextCallback();var n=l.findDOMNode(this);t===iu?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===ou&&this.setState({status:ru})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context?this.context.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;!t&&!r||tu?this.safeSetState({status:au},(function(){n.props.onEntered(e)})):(this.props.onEnter(e,o),this.safeSetState({status:iu},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:au},(function(){n.props.onEntered(e,o)}))}))})))},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n&&!tu?(this.props.onExit(e),this.safeSetState({status:su},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:ou},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:ou},(function(){t.props.onExited(e)}))},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,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===ru)return null;var t=this.props,n=t.children,r=Jc(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return o.createElement(nu.Provider,{value:null},n(e,r));var i=o.Children.only(n);return o.createElement(nu.Provider,{value:null},o.cloneElement(i,r))},t}(o.Component);function cu(){}lu.contextType=nu,lu.propTypes={},lu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:cu,onEntering:cu,onEntered:cu,onExit:cu,onExiting:cu,onExited:cu},lu.UNMOUNTED=0,lu.EXITED=1,lu.ENTERING=2,lu.ENTERED=3,lu.EXITING=4;var uu=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},du=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=eu(n.className,r):n.setAttribute("class",eu(n.className&&n.className.baseVal||"",r)));var n,r}))},pu=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){t.removeClasses(e,"exit"),t.addClass(e,n?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=n?"appear":"enter";t.addClass(e,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=n?"appear":"enter";t.removeClasses(e,r),t.addClass(e,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),t.addClass(e,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){t.addClass(e,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){t.removeClasses(e,"exit"),t.addClass(e,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}Qc(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"];"appear"===t&&"done"===n&&(r+=" "+this.getClassNames("enter").doneClassName),"active"===n&&e&&e.scrollTop,this.appliedClasses[t][n]=r,uu(e,r)},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&du(e,r),o&&du(e,o),i&&du(e,i)},n.render=function(){var e=this.props;e.classNames;var t=Jc(e,["classNames"]);return o.createElement(lu,Zc({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(o.Component);function fu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hu(e,t){var n=Object.create(null);return e&&i.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&a(e)?t(e):e}(e)})),n}function mu(e,t,n){return null!=n[t]?n[t]:e.props[t]}function gu(e,t,n){var r=hu(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 l=o[i];if(a(l)){var c=i in t,u=i in r,d=t[i],p=a(d)&&!d.props.in;!u||c&&!p?u||!c||p?u&&c&&a(d)&&(o[i]=s(l,{onExited:n.bind(null,l),in:d.props.in,exit:mu(l,"exit",e),enter:mu(l,"enter",e)})):o[i]=s(l,{in:!1}):o[i]=s(l,{onExited:n.bind(null,l),in:!0,exit:mu(l,"exit",e),enter:mu(l,"enter",e)})}})),o}pu.defaultProps={classNames:""},pu.propTypes={};var vu,yu,bu=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},xu=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(fu(fu(r)));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Qc(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,hu(n.children,(function(e){return s(e,{onExited:r.bind(null,e),in:!0,appear:mu(e,"appear",n),enter:mu(e,"enter",n),exit:mu(e,"exit",n)})}))):gu(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=hu(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Zc({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Jc(e,["component","childFactory"]),i=this.state.contextValue,a=bu(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(nu.Provider,{value:i},a):o.createElement(nu.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);xu.propTypes={},xu.defaultProps={component:"div",childFactory:function(e){return e}},(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}Qc(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,i=this.props.children,a=o.Children.toArray(i)[t];a.props[e]&&(r=a.props)[e].apply(r,n),this.props[e]&&this.props[e](l.findDOMNode(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,r=Jc(e,["children","in"]),i=o.Children.toArray(t),a=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,o.createElement(xu,r,n?o.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):o.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(o.Component)).propTypes={};var wu="out-in",Eu="in-out",Cu=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},ku=((vu={})[wu]=function(e){var t=e.current,n=e.changeState;return o.cloneElement(t,{in:!1,onExited:Cu(t,"onExited",(function(){n(iu,null)}))})},vu[Eu]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,o.cloneElement(r,{in:!0,onEntered:Cu(r,"onEntered",(function(){n(iu)}))})]},vu),Su=((yu={})[wu]=function(e){var t=e.children,n=e.changeState;return o.cloneElement(t,{in:!0,onEntered:Cu(t,"onEntered",(function(){n(au,o.cloneElement(t,{in:!0}))}))})},yu[Eu]=function(e){var t=e.current,n=e.children,r=e.changeState;return[o.cloneElement(t,{in:!1,onExited:Cu(t,"onExited",(function(){r(au,o.cloneElement(n,{in:!0}))}))}),o.cloneElement(n,{in:!0})]},yu),Tu=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:au,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}Qc(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===iu&&e.mode===Eu?{status:iu}:!t.current||(n=t.current,r=e.children,n===r||o.isValidElement(n)&&o.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:o.cloneElement(e.children,{in:!0})}:{status:su};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,i=this.state,a=i.status,s=i.current,l={children:n,current:s,changeState:this.changeState,status:a};switch(a){case iu:e=Su[r](l);break;case su:e=ku[r](l);break;case au:e=s}return o.createElement(nu.Provider,{value:{isMounting:!this.appeared}},e)},t}(o.Component);Tu.propTypes={},Tu.defaultProps={mode:wu};var Ru=function(e){return e.scrollTop};function Nu(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}}function Pu(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Mu(e,t){return o.useMemo((function(){return null==e&&null==t?null:function(n){Pu(e,n),Pu(t,n)}}),[e,t])}var Du={entering:{opacity:1},entered:{opacity:1}},Lu={enter:la.enteringScreen,exit:la.leavingScreen},Iu=o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?Lu:l,u=yi(e,["children","in","onEnter","onExit","style","timeout"]),d=Vc(),p=Mu(n.ref,t);return o.createElement(lu,vi({appear:!0,in:r,onEnter:function(e,t){Ru(e);var n=Nu({style:s,timeout:c},{mode:"enter"});e.style.webkitTransition=d.transitions.create("opacity",n),e.style.transition=d.transitions.create("opacity",n),i&&i(e,t)},onExit:function(e){var t=Nu({style:s,timeout:c},{mode:"exit"});e.style.webkitTransition=d.transitions.create("opacity",t),e.style.transition=d.transitions.create("opacity",t),a&&a(e)},timeout:c},u),(function(e,t){return o.cloneElement(n,vi({style:vi({opacity:0,visibility:"exited"!==e||r?void 0:"hidden"},Du[e],{},s,{},n.props.style),ref:p},t))}))})),Ou=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.invisible,s=void 0!==a&&a,l=e.open,c=e.transitionDuration,u=yi(e,["children","classes","className","invisible","open","transitionDuration"]);return o.createElement(Iu,vi({in:l,timeout:c},u),o.createElement("div",{className:Tc(r.root,i,s&&r.invisible),"aria-hidden":!0,ref:t},n))})),Au=Uc({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",touchAction:"none"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(Ou),qu=o.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,a=e.children,s=e.classes,l=e.className,c=e.color,u=void 0===c?"default":c,d=e.component,p=void 0===d?"span":d,f=e.invisible,h=e.max,m=void 0===h?99:h,g=e.overlap,v=void 0===g?"rectangle":g,y=e.showZero,b=void 0!==y&&y,x=e.variant,w=void 0===x?"standard":x,E=yi(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),C=f;null==f&&(0===i&&!b||null==i&&"dot"!==w)&&(C=!0);var k="";return"dot"!==w&&(k=i>m?"".concat(m,"+"):i),o.createElement(p,vi({className:Tc(s.root,l),ref:t},E),a,o.createElement("span",{className:Tc(s.badge,s["".concat(r.horizontal).concat(_c(r.vertical),"}")],s["anchorOrigin".concat(_c(r.vertical)).concat(_c(r.horizontal)).concat(_c(v))],"default"!==u&&s["color".concat(_c(u))],C&&s.invisible,{dot:s.dot}[w])},k))}));Uc((function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,backgroundColor:e.palette.color,color:e.palette.textColor,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText},dot:{height:6,minWidth:6,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(qu);var zu=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.onChange,c=e.showLabels,u=void 0!==c&&c,d=e.value,p=yi(e,["children","classes","className","component","onChange","showLabels","value"]);return o.createElement(s,vi({className:Tc(r.root,i),ref:t},p),o.Children.map(n,(function(e,t){if(!o.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return o.cloneElement(e,{selected:n===d,showLabel:void 0!==e.props.showLabel?e.props.showLabel:u,value:n,onChange:l})})))}));Uc((function(e){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:e.palette.background.paper}}}),{name:"MuiBottomNavigation"})(zu);var Fu="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Wu(e){var t=o.useRef(e);return Fu((function(){t.current=e})),o.useCallback((function(e){return(0,t.current)(e)}),[])}var Hu="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function ju(e){var t=e.children,n=e.defer,r=void 0!==n&&n,i=e.fallback,a=void 0===i?null:i,s=o.useState(!1),l=s[0],c=s[1];return Hu((function(){r||c(!0)}),[r]),o.useEffect((function(){r&&c(!0)}),[r]),o.createElement(o.Fragment,null,l?t:a)}var Bu=!0,$u=!1,Vu=null,Uu={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 _u(e){e.metaKey||e.altKey||e.ctrlKey||(Bu=!0)}function Yu(){Bu=!1}function Ku(){"hidden"===this.visibilityState&&$u&&(Bu=!0)}function Xu(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(e){}return Bu||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!Uu[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function Gu(){$u=!0,window.clearTimeout(Vu),Vu=window.setTimeout((function(){$u=!1}),100)}function Zu(){return{isFocusVisible:Xu,onBlurVisible:Gu,ref:o.useCallback((function(e){var t=l.findDOMNode(e);null!=t&&function(e){e.addEventListener("keydown",_u,!0),e.addEventListener("mousedown",Yu,!0),e.addEventListener("pointerdown",Yu,!0),e.addEventListener("touchstart",Yu,!0),e.addEventListener("visibilitychange",Ku,!0)}(t.ownerDocument)}),[])}}function Ju(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function Qu(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Ju(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ed="undefined"==typeof window?o.useEffect:o.useLayoutEffect;function td(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,a=e.rippleY,s=e.rippleSize,l=e.in,c=e.onExited,u=void 0===c?function(){}:c,d=e.timeout,p=o.useState(!1),f=p[0],h=p[1],m=Tc(t.ripple,t.rippleVisible,r&&t.ripplePulsate),g={width:s,height:s,top:-s/2+a,left:-s/2+i},v=Tc(t.child,f&&t.childLeaving,r&&t.childPulsate),y=Wu(u);return ed((function(){if(!l){h(!0);var e=setTimeout(y,d);return function(){clearTimeout(e)}}}),[y,l,d]),o.createElement("span",{className:m,style:g},o.createElement("span",{className:v}))}var nd=o.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,i=e.classes,a=e.className,s=yi(e,["center","classes","className"]),l=o.useState([]),c=l[0],u=l[1],d=o.useRef(0),p=o.useRef(null);o.useEffect((function(){p.current&&(p.current(),p.current=null)}),[c]);var f=o.useRef(!1),h=o.useRef(null),m=o.useRef(null),g=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(h.current)}}),[]);var v=o.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,a=e.rippleSize,s=e.cb;u((function(e){return[].concat(Qu(e),[o.createElement(td,{key:d.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a})])})),d.current+=1,p.current=s}),[i]),y=o.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&&f.current)f.current=!1;else{"touchstart"===e.type&&(f.current=!0);var u,d,p,y=c?null:g.current,b=y?y.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.clientX?e.clientX:e.touches[0].clientX,w=e.clientY?e.clientY:e.touches[0].clientY;u=Math.round(x-b.left),d=Math.round(w-b.top)}if(s)(p=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(p+=1);else{var E=2*Math.max(Math.abs((y?y.clientWidth:0)-u),u)+2,C=2*Math.max(Math.abs((y?y.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(E,2)+Math.pow(C,2))}e.touches?(m.current=function(){v({pulsate:i,rippleX:u,rippleY:d,rippleSize:p,cb:n})},h.current=setTimeout((function(){m.current&&(m.current(),m.current=null)}),80)):v({pulsate:i,rippleX:u,rippleY:d,rippleSize:p,cb:n})}}),[r,v]),b=o.useCallback((function(){y({},{pulsate:!0})}),[y]),x=o.useCallback((function(e,t){if(clearTimeout(h.current),"touchend"===e.type&&m.current)return e.persist(),m.current(),m.current=null,void(h.current=setTimeout((function(){x(e,t)})));m.current=null,u((function(e){return e.length>0?e.slice(1):e})),p.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:b,start:y,stop:x}}),[b,y,x]),o.createElement("span",vi({className:Tc(i.root,a),ref:g},s),o.createElement(xu,{component:null,exit:!0},c))}));var rd,od=Uc((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"})(((rd=o.memo(nd)).muiName="MuiTouchRipple",rd)),id=o.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,a=void 0!==i&&i,s=e.children,c=e.classes,u=e.className,d=e.component,p=void 0===d?"button":d,f=e.disabled,h=void 0!==f&&f,m=e.disableRipple,g=void 0!==m&&m,v=e.disableTouchRipple,y=void 0!==v&&v,b=e.focusRipple,x=void 0!==b&&b,w=e.focusVisibleClassName,E=e.onBlur,C=e.onClick,k=e.onFocus,S=e.onFocusVisible,T=e.onKeyDown,R=e.onKeyUp,N=e.onMouseDown,P=e.onMouseLeave,M=e.onMouseUp,D=e.onTouchEnd,L=e.onTouchMove,I=e.onTouchStart,O=e.onDragLeave,A=e.tabIndex,q=void 0===A?0:A,z=e.TouchRippleProps,F=e.type,W=void 0===F?"button":F,H=yi(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"]),j=o.useRef(null);var B=o.useRef(null),$=o.useState(!1),V=$[0],U=$[1];h&&V&&U(!1);var _=Zu(),Y=_.isFocusVisible,K=_.onBlurVisible,X=_.ref;function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return Wu((function(r){return t&&t(r),!n&&B.current&&B.current[e](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){U(!0),j.current.focus()}}}),[]),o.useEffect((function(){V&&x&&!g&&B.current.pulsate()}),[g,x,V]);var Z=G("start",N),J=G("stop",O),Q=G("stop",M),ee=G("stop",(function(e){V&&e.preventDefault(),P&&P(e)})),te=G("start",I),ne=G("stop",D),re=G("stop",L),oe=G("stop",(function(e){V&&(K(e),U(!1)),E&&E(e)}),!1),ie=Wu((function(e){h||(j.current||(j.current=e.currentTarget),Y(e)&&(U(!0),S&&S(e)),k&&k(e))})),ae=o.useRef(!1),se=Wu((function(e){x&&!ae.current&&V&&B.current&&" "===e.key&&(ae.current=!0,e.persist(),B.current.stop(e,(function(){B.current.start(e)}))),T&&T(e);var t=l.findDOMNode(j.current);e.target!==e.currentTarget||!p||"button"===p||" "!==e.key&&"Enter"!==e.key||"A"===t.tagName&&t.href||(e.preventDefault(),C&&C(e))})),le=Wu((function(e){x&&" "===e.key&&B.current&&V&&(ae.current=!1,e.persist(),B.current.stop(e,(function(){B.current.pulsate(e)}))),R&&R(e)})),ce=p;"button"===ce&&H.href&&(ce="a");var ue={};"button"===ce?(ue.type=W,ue.disabled=h):("a"===ce&&H.href||(ue.role="button"),ue["aria-disabled"]=h);var de=Mu(r,t),pe=Mu(X,j),fe=Mu(de,pe);return o.createElement(ce,vi({className:Tc(c.root,u,V&&[c.focusVisible,w],h&&c.disabled),onBlur:oe,onClick:C,onFocus:ie,onKeyDown:se,onKeyUp:le,onMouseDown:Z,onMouseLeave:ee,onMouseUp:Q,onDragLeave:J,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:fe,tabIndex:h?-1:q},ue,H),s,g||h?null:o.createElement(ju,null,o.createElement(od,vi({ref:B,center:a},z))))})),ad=Uc({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"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(id),sd=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.icon,a=e.label,s=e.onChange,l=e.onClick,c=e.selected,u=e.showLabel,d=e.value,p=yi(e,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"]);return o.createElement(ad,vi({ref:t,className:Tc(n.root,r,c?n.selected:!u&&n.iconOnly),focusRipple:!0,onClick:function(e){s&&s(e,d),l&&l(e)}},p),o.createElement("span",{className:n.wrapper},i,o.createElement("span",{className:Tc(n.label,c?n.selected:!u&&n.iconOnly)},a)))}));function ld(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function cd(){return(cd=Object.assign||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}).apply(this,arguments)}function ud(e){return(ud="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})(e)}function dd(e){return(dd="function"==typeof Symbol&&"symbol"===ud(Symbol.iterator)?function(e){return ud(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":ud(e)})(e)}function pd(e,t){return t?Ci(e,t,{clone:!1}):e}Uc((function(e){return{root:{transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"6px 12px 8px",minWidth:80,maxWidth:168,color:e.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:e.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:e.typography.pxToRem(14)}}}}),{name:"MuiBottomNavigationAction"})(sd);var fd={xs:0,sm:600,md:960,lg:1280,xl:1920},hd={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(fd[e],"px)")}};function md(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||hd;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===dd(t)){var o=e.theme.breakpoints||hd;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function gd(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function vd(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=gd(e.theme,o)||{};return md(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=gd(a,e)||e,i&&(t=i(t))),!1===r?t:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function yd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?pd(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function bd(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var xd=yd(vd({prop:"border",themeKey:"borders",transform:bd}),vd({prop:"borderTop",themeKey:"borders",transform:bd}),vd({prop:"borderRight",themeKey:"borders",transform:bd}),vd({prop:"borderBottom",themeKey:"borders",transform:bd}),vd({prop:"borderLeft",themeKey:"borders",transform:bd}),vd({prop:"borderColor",themeKey:"palette"}),vd({prop:"borderRadius",themeKey:"shape"}));var wd=yd(vd({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),vd({prop:"display"}),vd({prop:"overflow"}),vd({prop:"textOverflow"}),vd({prop:"visibility"}),vd({prop:"whiteSpace"})),Ed=yd(vd({prop:"flexBasis"}),vd({prop:"flexDirection"}),vd({prop:"flexWrap"}),vd({prop:"justifyContent"}),vd({prop:"alignItems"}),vd({prop:"alignContent"}),vd({prop:"order"}),vd({prop:"flex"}),vd({prop:"flexGrow"}),vd({prop:"flexShrink"}),vd({prop:"alignSelf"}),vd({prop:"justifyItems"}),vd({prop:"justifySelf"})),Cd=yd(vd({prop:"color",themeKey:"palette"}),vd({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),kd=yd(vd({prop:"position"}),vd({prop:"zIndex",themeKey:"zIndex"}),vd({prop:"top"}),vd({prop:"right"}),vd({prop:"bottom"}),vd({prop:"left"})),Sd=vd({prop:"boxShadow",themeKey:"shadows"});function Td(e){return e<=1?"".concat(100*e,"%"):e}var Rd=vd({prop:"width",transform:Td}),Nd=vd({prop:"maxWidth",transform:Td}),Pd=vd({prop:"minWidth",transform:Td}),Md=vd({prop:"height",transform:Td}),Dd=vd({prop:"maxHeight",transform:Td}),Ld=vd({prop:"minHeight",transform:Td});vd({prop:"size",cssProperty:"width",transform:Td}),vd({prop:"size",cssProperty:"height",transform:Td});var Id=yd(Rd,Nd,Pd,Md,Dd,Ld);function Od(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ad={m:"margin",p:"padding"},qd={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},zd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Fd=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!zd[e])return[e];e=zd[e]}var t=Od(e.split(""),2),n=t[0],r=t[1],o=Ad[n],i=qd[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Wd=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Hd(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function jd(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(){}}(e.theme);return Object.keys(e).map((function(n){if(-1===Wd.indexOf(n))return null;var r=Hd(Fd(n),t),o=e[n];return md(e,o,r)})).reduce(pd,{})}jd.propTypes={},jd.filterProps=Wd;var Bd=yd(vd({prop:"fontFamily",themeKey:"typography"}),vd({prop:"fontSize",themeKey:"typography"}),vd({prop:"fontStyle",themeKey:"typography"}),vd({prop:"fontWeight",themeKey:"typography"}),vd({prop:"letterSpacing"}),vd({prop:"lineHeight"}),vd({prop:"textAlign"})),$d=function(e){var t=function(t){var n=e(t);return t.css?cd({},pd(n,e(cd({theme:t.theme},t.css))),{},function(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}(t.css,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css"].concat(ld(e.filterProps)),t}(yd(xd,wd,Ed,kd,Cd,Sd,Id,jd,Bd));!function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,a=nc(r,["name"]),s=i,l=kc("function"==typeof t?function(e){return{root:function(n){return t(rc({theme:e},n))}}}:{root:t},rc({Component:e,name:i||e.displayName,classNamePrefix:s},a));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var c=o.forwardRef((function(t,r){var i=t.children,a=t.className,s=t.clone,c=t.component,u=nc(t,["children","className","clone","component"]),d=Tc(l(t).root,a),p=u;if(n&&(p=Hc(p,n)),s)return o.cloneElement(i,rc({className:Tc(i.props.className,d)},p));if("function"==typeof i)return i(rc({className:d},p));var f=c||e;return o.createElement(f,rc({ref:r,className:d},p),i)}));return Wc(c,e),c}}(e);return function(e,n){return t(e,vi({defaultTheme:$c},n))}}("div")($d,{name:"MuiBox"});var Vd={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Ud=o.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,a=e.className,s=e.color,l=void 0===s?"initial":s,c=e.component,u=e.display,d=void 0===u?"initial":u,p=e.gutterBottom,f=void 0!==p&&p,h=e.noWrap,m=void 0!==h&&h,g=e.paragraph,v=void 0!==g&&g,y=e.variant,b=void 0===y?"body1":y,x=e.variantMapping,w=void 0===x?Vd:x,E=yi(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=c||(v?"p":w[b]||Vd[b])||"span";return o.createElement(C,vi({className:Tc(i.root,a,"inherit"!==b&&i[b],"initial"!==l&&i["color".concat(_c(l))],m&&i.noWrap,f&&i.gutterBottom,v&&i.paragraph,"inherit"!==r&&i["align".concat(_c(r))],"initial"!==d&&i["display".concat(_c(d))]),ref:t},E))})),_d=Uc((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"})(Ud),Yd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"inherit":a,l=e.component,c=void 0===l?"svg":l,u=e.fontSize,d=void 0===u?"default":u,p=e.htmlColor,f=e.titleAccess,h=e.viewBox,m=void 0===h?"0 0 24 24":h,g=yi(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(c,vi({className:Tc(r.root,i,"inherit"!==s&&r["color".concat(_c(s))],"default"!==d&&r["fontSize".concat(_c(d))]),focusable:"false",viewBox:m,color:p,"aria-hidden":f?"false":"true",role:f?"img":"presentation",ref:t},g),n,f?o.createElement("title",null,f):null)}));Yd.muiName="SvgIcon";var Kd=Uc((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(Yd);function Xd(e,t){var n=o.memo(o.forwardRef((function(t,n){return o.createElement(Kd,vi({},t,{ref:n}),e)})));return n.muiName=Kd.muiName,n}var Gd=Xd(o.createElement("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));var Zd=Uc((function(e){return{root:{display:"flex"},icon:{width:24,height:16,backgroundColor:e.palette.grey[100],color:e.palette.grey[700],borderRadius:2,marginLeft:e.spacing(.5),marginRight:e.spacing(.5),cursor:"pointer","&:hover, &:focus":{backgroundColor:e.palette.grey[200]},"&:active":{boxShadow:e.shadows[0],backgroundColor:pi(e.palette.grey[200],.12)}}}}),{name:"PrivateBreadcrumbCollapsed"})((function(e){var t=e.classes,n=yi(e,["classes"]);return o.createElement("li",vi({className:t.root},n),o.createElement(Gd,{className:t.icon}))}));var Jd=Uc({root:{display:"flex",userSelect:"none",marginLeft:8,marginRight:8}},{name:"PrivateBreadcrumbSeparator"})((function(e){var t=e.classes,n=e.className,r=yi(e,["classes","className"]);return o.createElement("li",vi({"aria-hidden":!0,className:Tc(t.root,n)},r))}));var Qd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"nav":a,l=e.itemsAfterCollapse,c=void 0===l?1:l,u=e.itemsBeforeCollapse,d=void 0===u?1:u,p=e.maxItems,f=void 0===p?8:p,h=e.separator,m=void 0===h?"/":h,g=yi(e,["children","classes","className","component","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),v=o.useState(!1),y=v[0],b=v[1],x=o.Children.toArray(n).filter((function(e){return o.isValidElement(e)})).map((function(e,t){return o.createElement("li",{className:r.li,key:"child-".concat(t)},e)}));return o.createElement(_d,vi({ref:t,component:s,color:"textSecondary",className:Tc(r.root,i)},g),o.createElement("ol",{className:r.ol},function(e,t,n){return e.reduce((function(r,i,a){return a<e.length-1?r=r.concat(i,o.createElement(Jd,{key:"separator-".concat(a),className:t},n)):r.push(i),r}),[])}(y||f&&x.length<=f?x:function(e){return d+c>=e.length?e:[].concat(Qu(e.slice(0,d)),[o.createElement(Zd,{key:"ellipsis",onClick:function(){b(!0)}})],Qu(e.slice(e.length-c,e.length)))}(x),r.separator,m)))}));Uc({root:{},ol:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0},li:{listStyle:"none"},separator:{}},{name:"MuiBreadcrumbs"})(Qd);var ep=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"button":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.endIcon,m=e.focusVisibleClassName,g=e.fullWidth,v=void 0!==g&&g,y=e.size,b=void 0===y?"medium":y,x=e.startIcon,w=e.type,E=void 0===w?"button":w,C=e.variant,k=void 0===C?"text":C,S=yi(e,["children","classes","className","color","component","disabled","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=x&&o.createElement("span",{className:Tc(r.startIcon,r["iconSize".concat(_c(b))])},x),R=h&&o.createElement("span",{className:Tc(r.endIcon,r["iconSize".concat(_c(b))])},h);return o.createElement(ad,vi({className:Tc(r.root,r[k],i,"inherit"===s?r.colorInherit:"default"!==s&&r["".concat(k).concat(_c(s))],"medium"!==b&&[r["".concat(k,"Size").concat(_c(b))],r["size".concat(_c(b))]],d&&r.disabled,v&&r.fullWidth),component:c,disabled:d,focusRipple:!f,focusVisibleClassName:Tc(r.focusVisible,m),ref:t,type:E},S),o.createElement("span",{className:r.label},T,n,R))})),tp=Uc((function(e){return{root:vi({},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:fi(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:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(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.disabled)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(fi(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(fi(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:fi(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}}},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"})(ep),np=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"div":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.disableRipple,m=void 0!==h&&h,g=e.fullWidth,v=void 0!==g&&g,y=e.size,b=void 0===y?"medium":y,x=e.variant,w=void 0===x?"outlined":x,E=yi(e,["children","classes","className","color","component","disabled","disableFocusRipple","disableRipple","fullWidth","size","variant"]),C=Tc(r.grouped,r["grouped".concat(_c(w))],r["grouped".concat(_c(w)).concat("default"!==s?_c(s):"")],d&&r.disabled);return o.createElement(c,vi({role:"group",className:Tc(r.root,i,v&&r.fullWidth,{contained:r.contained}[w]),ref:t},E),o.Children.map(n,(function(e){return o.isValidElement(e)?o.cloneElement(e,{className:Tc(C,e.props.className),disabled:e.props.disabled||d,color:e.props.color||s,disableFocusRipple:f,disableRipple:m,fullWidth:v,size:e.props.size||b,variant:e.props.variant||w}):null})))}));Uc((function(e){return{root:{display:"inline-flex",borderRadius:e.shape.borderRadius},contained:{boxShadow:e.shadows[2]},fullWidth:{width:"100%"},grouped:{minWidth:40,"&:not(:first-child)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}},groupedText:{"&:not(:last-child)":{borderRight:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextPrimary:{"&:not(:last-child)":{borderColor:fi(e.palette.primary.main,.5)}},groupedTextSecondary:{"&:not(:last-child)":{borderColor:fi(e.palette.secondary.main,.5)}},groupedOutlined:{"&:not(:first-child)":{marginLeft:-1},"&:not(:last-child)":{borderRightColor:"transparent"}},groupedOutlinedPrimary:{"&:hover":{borderColor:e.palette.primary.main}},groupedOutlinedSecondary:{"&:hover":{borderColor:e.palette.secondary.main}},groupedContained:{boxShadow:"none","&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.grey[400]),"&$disabled":{borderRight:"1px solid ".concat(e.palette.action.disabled)}}},groupedContainedPrimary:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.primary.dark)}},groupedContainedSecondary:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.secondary.dark)}},disabled:{}}}),{name:"MuiButtonGroup"})(np);var rp=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.raised,a=void 0!==i&&i,s=yi(e,["classes","className","raised"]);return o.createElement(Kc,vi({className:Tc(n.root,r),elevation:a?8:1,ref:t},s))}));Uc({root:{overflow:"hidden"}},{name:"MuiCard"})(rp);var op=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.focusVisibleClassName,s=yi(e,["children","classes","className","focusVisibleClassName"]);return o.createElement(ad,vi({className:Tc(r.root,i),focusVisibleClassName:Tc(a,r.focusVisible),ref:t},s),n,o.createElement("span",{className:r.focusHighlight}))}));Uc((function(e){return{root:{display:"block",textAlign:"inherit",width:"100%","&:hover $focusHighlight":{opacity:e.palette.action.hoverOpacity},"&$focusVisible $focusHighlight":{opacity:.12}},focusVisible:{},focusHighlight:{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}}}),{name:"MuiCardActionArea"})(op);var ip=o.forwardRef((function(e,t){var n=e.disableSpacing,r=void 0!==n&&n,i=e.classes,a=e.className,s=yi(e,["disableSpacing","classes","className"]);return o.createElement("div",vi({className:Tc(i.root,a,!r&&i.spacing),ref:t},s))}));Uc({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiCardActions"})(ip);var ap=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=yi(e,["classes","className","component"]);return o.createElement(a,vi({className:Tc(n.root,r),ref:t},s))}));Uc({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(ap);var sp=o.forwardRef((function(e,t){var n=e.action,r=e.avatar,i=e.classes,a=e.className,s=e.component,l=void 0===s?"div":s,c=e.disableTypography,u=void 0!==c&&c,d=e.subheader,p=e.subheaderTypographyProps,f=e.title,h=e.titleTypographyProps,m=yi(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),g=f;null==g||g.type===_d||u||(g=o.createElement(_d,vi({variant:r?"body2":"h5",className:i.title,component:"span",display:"block"},h),g));var v=d;return null==v||v.type===_d||u||(v=o.createElement(_d,vi({variant:r?"body2":"body1",className:i.subheader,color:"textSecondary",component:"span",display:"block"},p),v)),o.createElement(l,vi({className:Tc(i.root,a),ref:t},m),r&&o.createElement("div",{className:i.avatar},r),o.createElement("div",{className:i.content},g,v),n&&o.createElement("div",{className:i.action},n))}));Uc({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(sp);var lp=["video","audio","picture","iframe","img"],cp=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.image,c=e.src,u=e.style,d=yi(e,["children","classes","className","component","image","src","style"]),p=-1!==lp.indexOf(s),f=!p&&l?vi({backgroundImage:'url("'.concat(l,'")')},u):u;return o.createElement(s,vi({className:Tc(r.root,i,p&&r.media,-1!=="picture img".indexOf(s)&&r.img),ref:t,style:f,src:p?l||c:void 0},d),n)}));Uc({root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"},img:{objectFit:"cover"}},{name:"MuiCardMedia"})(cp);var up=o.createContext();function dp(){return o.useContext(up)}function pp(){return o.useContext(up)}var fp=o.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,a=e.classes,s=e.className,l=e.color,c=void 0===l?"default":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.size,m=void 0===h?"medium":h,g=yi(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(ad,vi({className:Tc(a.root,s,"default"!==c&&a["color".concat(_c(c))],d&&a.disabled,{small:a["size".concat(_c(m))]}[m],{start:a.edgeStart,end:a.edgeEnd}[r]),centerRipple:!0,focusRipple:!f,disabled:d,ref:t},g),o.createElement("span",{className:a.label},i))})),hp=Uc((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:fi(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(fp),mp=o.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,i=e.checkedIcon,a=e.classes,s=e.className,l=e.defaultChecked,c=e.disabled,u=e.icon,d=e.id,p=e.inputProps,f=e.inputRef,h=e.name,m=e.onBlur,g=e.onChange,v=e.onFocus,y=e.readOnly,b=e.required,x=e.tabIndex,w=e.type,E=e.value,C=yi(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),k=o.useRef(null!=r).current,S=o.useState(Boolean(l)),T=S[0],R=S[1],N=pp(),P=c;N&&void 0===P&&(P=N.disabled);var M=k?r:T,D="checkbox"===w||"radio"===w;return o.createElement(hp,vi({component:"span",className:Tc(a.root,s,M&&a.checked,P&&a.disabled),disabled:P,tabIndex:null,role:void 0,onFocus:function(e){v&&v(e),N&&N.onFocus&&N.onFocus(e)},onBlur:function(e){m&&m(e),N&&N.onBlur&&N.onBlur(e)},ref:t},C),o.createElement("input",vi({autoFocus:n,checked:r,defaultChecked:l,className:a.input,disabled:P,id:D&&d,name:h,onChange:function(e){var t=e.target.checked;k||R(t),g&&g(e,t)},readOnly:y,ref:f,required:b,tabIndex:x,type:w,value:E},p)),M?i:u)})),gp=Uc({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(mp),vp=Xd(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),yp=Xd(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),bp=Xd(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"})),xp=o.createElement(yp,null),wp=o.createElement(vp,null),Ep=o.createElement(bp,null),Cp=o.forwardRef((function(e,t){var n=e.checkedIcon,r=void 0===n?xp:n,i=e.classes,a=e.color,s=void 0===a?"secondary":a,l=e.icon,c=void 0===l?wp:l,u=e.indeterminate,d=void 0!==u&&u,p=e.indeterminateIcon,f=void 0===p?Ep:p,h=e.inputProps,m=yi(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps"]);return o.createElement(gp,vi({type:"checkbox",checkedIcon:d?f:r,classes:{root:Tc(i.root,i["color".concat(_c(s))],d&&i.indeterminate),checked:i.checked,disabled:i.disabled},color:s,inputProps:vi({"data-indeterminate":d},h),icon:d?f:c,ref:t},m))}));Uc((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(Cp);var kp=Xd(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})),Sp=o.forwardRef((function(e,t){var n=e.avatar,r=e.classes,i=e.className,a=e.clickable,s=e.color,l=void 0===s?"default":s,c=e.component,u=e.deleteIcon,d=e.disabled,p=void 0!==d&&d,f=e.icon,h=e.label,m=e.onClick,g=e.onDelete,v=e.onKeyDown,y=e.onKeyUp,b=e.size,x=void 0===b?"medium":b,w=e.variant,E=void 0===w?"default":w,C=yi(e,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),k=o.useRef(null),S=Mu(k,t),T=function(e){e.stopPropagation(),g&&g(e)},R=!(!1===a||!m)||a,N="small"===x,P=c||(R?ad:"div"),M=P===ad?{component:"div"}:{},D=null;if(g){var L=Tc("default"!==l&&("default"===E?r["deleteIconColor".concat(_c(l))]:r["deleteIconOutlinedColor".concat(_c(l))]),N&&r.deleteIconSmall);D=u&&o.isValidElement(u)?o.cloneElement(u,{className:Tc(u.props.className,r.deleteIcon,L),onClick:T}):o.createElement(kp,{className:Tc(r.deleteIcon,L),onClick:T})}var I=null;n&&o.isValidElement(n)&&(I=o.cloneElement(n,{className:Tc(r.avatar,n.props.className,N&&r.avatarSmall,"default"!==l&&r["avatarColor".concat(_c(l))])}));var O=null;return f&&o.isValidElement(f)&&(O=o.cloneElement(f,{className:Tc(r.icon,f.props.className,N&&r.iconSmall,"default"!==l&&r["iconColor".concat(_c(l))])})),o.createElement(P,vi({role:R||g?"button":void 0,className:Tc(r.root,i,"default"!==l&&[r["color".concat(_c(l))],R&&r["clickableColor".concat(_c(l))],g&&r["deletableColor".concat(_c(l))]],"default"!==E&&[r.outlined,{primary:r.outlinedPrimary,secondary:r.outlinedSecondary}[l]],p&&r.disabled,N&&r.sizeSmall,R&&r.clickable,g&&r.deletable),"aria-disabled":!!p||void 0,tabIndex:R||g?0:void 0,onClick:m,onKeyDown:function(e){v&&v(e),e.currentTarget===e.target&&-1!==[" ","Enter","Backspace","Delete","Escape"].indexOf(e.key)&&e.preventDefault()},onKeyUp:function(e){if(y&&y(e),e.currentTarget===e.target){var t=e.key;!g||"Backspace"!==t&&"Delete"!==t?"Escape"===t&&k.current&&k.current.blur():g(e)}},ref:S},M,C),I||O,o.createElement("span",{className:Tc(r.label,N&&r.labelSmall)},h),D)}));Uc((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=fi(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:pi(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:pi(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:pi(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:pi(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:pi(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:pi(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:fi(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{display:"flex",alignItems:"center",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:fi(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:fi(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:fi(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:fi(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:fi(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"MuiChip"})(Sp);var Tp=44;function Rp(e){var t,n,r;return t=e,n=0,r=1,e=(Math.min(Math.max(n,t),r)-n)/(r-n),e=(e-=1)*e*e+1}var Np=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.disableShrink,l=void 0!==s&&s,c=e.size,u=void 0===c?40:c,d=e.style,p=e.thickness,f=void 0===p?3.6:p,h=e.value,m=void 0===h?0:h,g=e.variant,v=void 0===g?"indeterminate":g,y=yi(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),b={},x={},w={};if("determinate"===v||"static"===v){var E=2*Math.PI*((Tp-f)/2);b.strokeDasharray=E.toFixed(3),w["aria-valuenow"]=Math.round(m),"static"===v?(b.strokeDashoffset="".concat(((100-m)/100*E).toFixed(3),"px"),x.transform="rotate(-90deg)"):(b.strokeDashoffset="".concat((function(e){return e*e}((100-m)/100)*E).toFixed(3),"px"),x.transform="rotate(".concat((270*Rp(m/70)).toFixed(3),"deg)"))}return o.createElement("div",vi({className:Tc(n.root,r,"inherit"!==a&&n["color".concat(_c(a))],{indeterminate:n.indeterminate,static:n.static}[v]),style:vi({width:u,height:u},x,{},d),ref:t,role:"progressbar"},w,y),o.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Tp," ").concat(Tp)},o.createElement("circle",{className:Tc(n.circle,l&&n.circleDisableShrink,{indeterminate:n.circleIndeterminate,static:n.circleStatic}[v]),style:b,cx:Tp,cy:Tp,r:(Tp-f)/2,fill:"none",strokeWidth:f})))}));function Pp(e){return e&&e.ownerDocument||document}function Mp(e){return e.substring(2).toLowerCase()}Uc((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},"@keyframes circular-rotate":{"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(Np);var Dp=o.forwardRef((function(e,t){var n=e.children,r=e.mouseEvent,i=void 0===r?"onClick":r,a=e.touchEvent,s=void 0===a?"onTouchEnd":a,c=e.onClickAway,u=o.useRef(!1),d=o.useRef(null),p=o.useRef(!1);o.useEffect((function(){return p.current=!0,function(){p.current=!1}}),[]);var f=Mu(d,t),h=o.useCallback((function(e){Pu(f,l.findDOMNode(e))}),[f]),m=Mu(n.ref,h),g=Wu((function(e){if(!e.defaultPrevented&&p.current)if(u.current)u.current=!1;else if(d.current){var t=Pp(d.current);t.documentElement&&t.documentElement.contains(e.target)&&!d.current.contains(e.target)&&c(e)}})),v=o.useCallback((function(){u.current=!0}),[]);return o.useEffect((function(){if(!1!==s){var e=Mp(s);return document.addEventListener(e,g),document.addEventListener("touchmove",v),function(){document.removeEventListener(e,g),document.removeEventListener("touchmove",v)}}}),[g,v,s]),o.useEffect((function(){if(!1!==i){var e=Mp(i);return document.addEventListener(e,g),function(){document.removeEventListener(e,g)}}}),[g,i]),o.createElement(o.Fragment,null,o.cloneElement(n,{ref:m}))})),Lp=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.collapsedHeight,s=void 0===a?"0px":a,l=e.component,c=void 0===l?"div":l,u=e.in,d=e.onEnter,p=e.onEntered,f=e.onEntering,h=e.onExit,m=e.onExiting,g=e.style,v=e.timeout,y=void 0===v?la.standard:v,b=yi(e,["children","classes","className","collapsedHeight","component","in","onEnter","onEntered","onEntering","onExit","onExiting","style","timeout"]),x=Vc(),w=o.useRef(),E=o.useRef(null),C=o.useRef();o.useEffect((function(){return function(){clearTimeout(w.current)}}),[]);return o.createElement(lu,vi({in:u,onEnter:function(e,t){e.style.height=s,d&&d(e,t)},onEntered:function(e,t){e.style.height="auto",p&&p(e,t)},onEntering:function(e,t){var n=E.current?E.current.clientHeight:0,r=Nu({style:g,timeout:y},{mode:"enter"}).duration;if("auto"===y){var o=x.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),C.current=o}else e.style.transitionDuration="string"==typeof r?r:"".concat(r,"ms");e.style.height="".concat(n,"px"),f&&f(e,t)},onExit:function(e){var t=E.current?E.current.clientHeight:0;e.style.height="".concat(t,"px"),h&&h(e)},onExiting:function(e){var t=E.current?E.current.clientHeight:0,n=Nu({style:g,timeout:y},{mode:"exit"}).duration;if("auto"===y){var r=x.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),C.current=r}else e.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");e.style.height=s,m&&m(e)},addEndListener:function(e,t){"auto"===y&&(w.current=setTimeout(t,C.current||0))},timeout:"auto"===y?null:y},b),(function(e,a){return o.createElement(c,vi({className:Tc(r.container,i,{entered:r.entered,exited:!u&&"0px"===s&&r.hidden}[e]),style:vi({minHeight:s},g),ref:t},a),o.createElement("div",{className:r.wrapper,ref:E},o.createElement("div",{className:r.wrapperInner},n)))}))}));Lp.muiSupportAuto=!0;var Ip=Uc((function(e){return{container:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(Lp),Op=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.fixed,l=void 0!==s&&s,c=e.maxWidth,u=void 0===c?"lg":c,d=yi(e,["classes","className","component","fixed","maxWidth"]);return o.createElement(a,vi({className:Tc(n.root,r,l&&n.fixed,!1!==u&&n["maxWidth".concat(_c(String(u)))]),ref:t},d))}));Uc((function(e){var t;return{root:(t={width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},gi(t,e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),gi(t,e.breakpoints.up("md"),{paddingLeft:e.spacing(4),paddingRight:e.spacing(4)}),t),fixed:Object.keys(e.breakpoints.values).reduce((function(t,n){var r=e.breakpoints.values[n];return 0!==r&&(t[e.breakpoints.up(n)]={maxWidth:r}),t}),{}),maxWidthXs:gi({},e.breakpoints.up("xs"),{maxWidth:Math.max(e.breakpoints.values.xs,444)}),maxWidthSm:gi({},e.breakpoints.up("sm"),{maxWidth:e.breakpoints.values.sm}),maxWidthMd:gi({},e.breakpoints.up("md"),{maxWidth:e.breakpoints.values.md}),maxWidthLg:gi({},e.breakpoints.up("lg"),{maxWidth:e.breakpoints.values.lg}),maxWidthXl:gi({},e.breakpoints.up("xl"),{maxWidth:e.breakpoints.values.xl})}}),{name:"MuiContainer"})(Op),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};kc(e,vi({defaultTheme:$c},t))}((function(e){return{"@global":{html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:"bolder"},body:vi({margin:0,color:e.palette.text.primary},e.typography.body2,{backgroundColor:e.palette.background.default,"@media print":{backgroundColor:e.palette.common.white},"&::backdrop":{backgroundColor:e.palette.background.default}})}}}),{name:"MuiCssBaseline"});var Ap="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,qp=o.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,a=void 0!==i&&i,s=e.onRendered,c=o.useState(null),u=c[0],d=c[1],p=Mu(n.ref,t);return Ap((function(){a||d(function(e){return e="function"==typeof e?e():e,l.findDOMNode(e)}(r)||document.body)}),[r,a]),Ap((function(){if(u&&!a)return Pu(t,u),function(){Pu(t,null)}}),[t,u,a]),Ap((function(){s&&(u||a)&&s()}),[s,u,a]),a?(o.Children.only(n),o.cloneElement(n,{ref:p})):u?l.createPortal(n,u):u}));function zp(){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 Fp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wp(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,r.key,r)}}function Hp(e,t,n){return t&&Wp(e.prototype,t),n&&Wp(e,n),e}function jp(){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}function Bp(e){return Pp(e).defaultView||window}function $p(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Vp(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Up(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(Qu(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&$p(e,o)}))}function _p(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Yp(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){var a=function(e){var t=Pp(e);return t.body===e?Bp(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i),s=i.parentElement,l="HTML"===s.nodeName?s:i;if(r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden",a){var c=jp();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Vp(i)+c,"px"),n=Pp(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Vp(e)+c,"px")}))}}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 Kp=function(){function e(){Fp(this,e),this.modals=[],this.containers=[]}return Hp(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&&$p(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);Up(t,e.mountNode,e.modalRef,r,!0);var o=_p(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=_p(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Yp(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=_p(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&&$p(e.modalRef,!0),Up(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&&$p(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();function Xp(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,a=void 0!==i&&i,s=e.disableRestoreFocus,c=void 0!==s&&s,u=e.getDoc,d=e.isEnabled,p=e.open,f=o.useRef(),h=o.useRef(null),m=o.useRef(null),g=o.useRef(),v=o.useRef(null),y=o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),b=Mu(t.ref,y);return o.useMemo((function(){p&&"undefined"!=typeof window&&(g.current=u().activeElement)}),[p]),o.useEffect((function(){if(p){var e=Pp(v.current);r||!v.current||v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex",-1),v.current.focus());var t=function(){a||!d()||f.current?f.current=!1:v.current&&!v.current.contains(e.activeElement)&&v.current.focus()},n=function(t){!a&&d()&&9===t.keyCode&&e.activeElement===v.current&&(f.current=!0,t.shiftKey?m.current.focus():h.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),c||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[r,a,c,d,p]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),o.cloneElement(t,{ref:b}),o.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))}var Gp={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",touchAction:"none"},invisible:{backgroundColor:"transparent"}},Zp=o.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,a=yi(e,["invisible","open"]);return i?o.createElement("div",vi({"aria-hidden":!0,ref:t},a,{style:vi({},Gp.root,{},r?Gp.invisible:{},{},a.style)})):null}));var Jp=new Kp,Qp=o.forwardRef((function(e,t){var n=cc(),r=ga({name:"MuiModal",props:vi({},e),theme:n}),i=r.BackdropComponent,a=void 0===i?Zp:i,s=r.BackdropProps,c=r.children,u=r.closeAfterTransition,d=void 0!==u&&u,p=r.container,f=r.disableAutoFocus,h=void 0!==f&&f,m=r.disableBackdropClick,g=void 0!==m&&m,v=r.disableEnforceFocus,y=void 0!==v&&v,b=r.disableEscapeKeyDown,x=void 0!==b&&b,w=r.disablePortal,E=void 0!==w&&w,C=r.disableRestoreFocus,k=void 0!==C&&C,S=r.disableScrollLock,T=void 0!==S&&S,R=r.hideBackdrop,N=void 0!==R&&R,P=r.keepMounted,M=void 0!==P&&P,D=r.manager,L=void 0===D?Jp:D,I=r.onBackdropClick,O=r.onClose,A=r.onEscapeKeyDown,q=r.onRendered,z=r.open,F=yi(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),W=o.useState(!0),H=W[0],j=W[1],B=o.useRef({}),$=o.useRef(null),V=o.useRef(null),U=Mu(V,t),_=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),Y=function(){return Pp($.current)},K=function(){return B.current.modalRef=V.current,B.current.mountNode=$.current,B.current},X=function(){L.mount(K(),{disableScrollLock:T}),V.current.scrollTop=0},G=Wu((function(){var e=function(e){return e="function"==typeof e?e():e,l.findDOMNode(e)}(p)||Y().body;L.add(K(),e),V.current&&X()})),Z=o.useCallback((function(){return L.isTopModal(K())}),[L]),J=Wu((function(e){$.current=e,e&&(q&&q(),z&&Z()?X():$p(V.current,!0))})),Q=o.useCallback((function(){L.remove(K())}),[L]);if(o.useEffect((function(){return function(){Q()}}),[Q]),o.useEffect((function(){z?G():_&&d||Q()}),[z,Q,_,d,G]),!M&&!z&&(!_||H))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:da}),te={};return void 0===c.props.tabIndex&&(te.tabIndex=c.props.tabIndex||"-1"),_&&(te.onEnter=zp((function(){j(!1)}),c.props.onEnter),te.onExited=zp((function(){j(!0),d&&Q()}),c.props.onExited)),o.createElement(qp,{ref:J,container:p,disablePortal:E},o.createElement("div",vi({ref:U,onKeyDown:function(e){"Escape"===e.key&&Z()&&(e.stopPropagation(),A&&A(e),!x&&O&&O(e,"escapeKeyDown"))},role:"presentation"},F,{style:vi({},ee.root,{},!z&&H?ee.hidden:{},{},F.style)}),N?null:o.createElement(a,vi({open:z,onClick:function(e){e.target===e.currentTarget&&(I&&I(e),!g&&O&&O(e,"backdropClick"))}},s)),o.createElement(Xp,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:k,getDoc:Y,isEnabled:Z,open:z},o.cloneElement(c,te))))})),ef={enter:la.enteringScreen,exit:la.leavingScreen},tf=o.forwardRef((function(e,t){var n=e.BackdropProps,r=e.children,i=e.classes,a=e.className,s=e.disableBackdropClick,l=void 0!==s&&s,c=e.disableEscapeKeyDown,u=void 0!==c&&c,d=e.fullScreen,p=void 0!==d&&d,f=e.fullWidth,h=void 0!==f&&f,m=e.maxWidth,g=void 0===m?"sm":m,v=e.onBackdropClick,y=e.onClose,b=e.onEnter,x=e.onEntered,w=e.onEntering,E=e.onEscapeKeyDown,C=e.onExit,k=e.onExited,S=e.onExiting,T=e.open,R=e.PaperComponent,N=void 0===R?Kc:R,P=e.PaperProps,M=void 0===P?{}:P,D=e.scroll,L=void 0===D?"paper":D,I=e.TransitionComponent,O=void 0===I?Iu:I,A=e.transitionDuration,q=void 0===A?ef:A,z=e.TransitionProps,F=e["aria-describedby"],W=e["aria-labelledby"],H=yi(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),j=o.useRef();return o.createElement(Qp,vi({className:Tc(i.root,a),BackdropComponent:Au,BackdropProps:vi({transitionDuration:q},n),closeAfterTransition:!0,disableBackdropClick:l,disableEscapeKeyDown:u,onEscapeKeyDown:E,onClose:y,open:T,ref:t},H),o.createElement(O,vi({appear:!0,in:T,timeout:q,onEnter:b,onEntering:w,onEntered:x,onExit:C,onExiting:S,onExited:k,role:"none presentation"},z),o.createElement("div",{className:Tc(i.container,i["scroll".concat(_c(L))]),onClick:function(e){e.target===e.currentTarget&&e.target===j.current&&(j.current=null,v&&v(e),!l&&y&&y(e,"backdropClick"))},onMouseDown:function(e){j.current=e.target}},o.createElement(N,vi({elevation:24,role:"dialog","aria-describedby":F,"aria-labelledby":W},M,{className:Tc(i.paper,i["paperScroll".concat(_c(L))],i["paperWidth".concat(_c(String(g)))],M.className,p&&i.paperFullScreen,h&&i.paperFullWidth)}),r))))}));Uc((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":gi({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(tf);var nf=o.forwardRef((function(e,t){var n=e.disableSpacing,r=void 0!==n&&n,i=e.classes,a=e.className,s=yi(e,["disableSpacing","classes","className"]);return o.createElement("div",vi({className:Tc(i.root,a,!r&&i.spacing),ref:t},s))}));Uc({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiDialogActions"})(nf);var rf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.dividers,a=void 0!==i&&i,s=yi(e,["classes","className","dividers"]);return o.createElement("div",vi({className:Tc(n.root,r,a&&n.dividers),ref:t},s))}));Uc((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})(rf);var of=o.forwardRef((function(e,t){return o.createElement(_d,vi({component:"p",variant:"body1",color:"textSecondary",ref:t},e))}));Uc({root:{marginBottom:12}},{name:"MuiDialogContentText"})(of);var af=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.disableTypography,s=void 0!==a&&a,l=yi(e,["children","classes","className","disableTypography"]);return o.createElement("div",vi({className:Tc(r.root,i),ref:t},l),s?n:o.createElement(_d,{component:"h2",variant:"h6"},n))}));Uc({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(af);var sf=o.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,i=e.classes,a=e.className,s=e.component,l=void 0===s?"hr":s,c=e.light,u=void 0!==c&&c,d=e.orientation,p=void 0===d?"horizontal":d,f=e.role,h=void 0===f?"hr"!==l?"separator":void 0:f,m=e.variant,g=void 0===m?"fullWidth":m,v=yi(e,["absolute","classes","className","component","light","orientation","role","variant"]);return o.createElement(l,vi({className:Tc(i.root,a,"fullWidth"!==g&&i[g],r&&i.absolute,u&&i.light,{vertical:i.vertical}[p]),role:h,ref:t},v))}));function lf(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,s=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(s,n)}return r.clear=function(){clearTimeout(t)},r}function cf(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"==typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(-").concat(r.left-i,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(-").concat(r.top-a,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}Uc((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:fi(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1}}}),{name:"MuiDivider"})(sf);var uf={enter:la.enteringScreen,exit:la.leavingScreen},df=o.forwardRef((function(e,t){var n=e.children,r=e.direction,i=void 0===r?"down":r,a=e.in,s=e.onEnter,c=e.onEntering,u=e.onExit,d=e.onExited,p=e.style,f=e.timeout,h=void 0===f?uf:f,m=yi(e,["children","direction","in","onEnter","onEntering","onExit","onExited","style","timeout"]),g=Vc(),v=o.useRef(null),y=o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),b=Mu(n.ref,y),x=Mu(b,t),w=o.useCallback((function(){v.current&&cf(i,v.current)}),[i]);return o.useEffect((function(){if(!a&&"down"!==i&&"right"!==i){var e=lf((function(){v.current&&cf(i,v.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[i,a]),o.useEffect((function(){a||w()}),[a,w]),o.createElement(lu,vi({onEnter:function(e,t){var n=v.current;cf(i,n),Ru(n),s&&s(n,t)},onEntering:function(e,t){var n=v.current,r=Nu({timeout:h,style:p},{mode:"enter"});n.style.webkitTransition=g.transitions.create("-webkit-transform",vi({},r,{easing:g.transitions.easing.easeOut})),n.style.transition=g.transitions.create("transform",vi({},r,{easing:g.transitions.easing.easeOut})),n.style.webkitTransform="none",n.style.transform="none",c&&c(n,t)},onExit:function(){var e=v.current,t=Nu({timeout:h,style:p},{mode:"exit"});e.style.webkitTransition=g.transitions.create("-webkit-transform",vi({},t,{easing:g.transitions.easing.sharp})),e.style.transition=g.transitions.create("transform",vi({},t,{easing:g.transitions.easing.sharp})),cf(i,e),u&&u(e)},onExited:function(){var e=v.current;e.style.webkitTransition="",e.style.transition="",d&&d(e)},appear:!0,in:a,timeout:h},m),(function(e,t){return o.cloneElement(n,vi({ref:x,style:vi({visibility:"exited"!==e||a?void 0:"hidden"},p,{},n.props.style)},t))}))})),pf={left:"right",right:"left",top:"down",bottom:"up"};function ff(e){return-1!==["left","right"].indexOf(e)}function hf(e,t){return"rtl"===e.direction&&ff(t)?pf[t]:t}var mf={enter:la.enteringScreen,exit:la.leavingScreen},gf=o.forwardRef((function(e,t){var n=e.anchor,r=void 0===n?"left":n,i=e.BackdropProps,a=e.children,s=e.classes,l=e.className,c=e.elevation,u=void 0===c?16:c,d=e.ModalProps,p=(d=void 0===d?{}:d).BackdropProps,f=yi(d,["BackdropProps"]),h=e.onClose,m=e.open,g=void 0!==m&&m,v=e.PaperProps,y=e.SlideProps,b=e.transitionDuration,x=void 0===b?mf:b,w=e.variant,E=void 0===w?"temporary":w,C=yi(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","transitionDuration","variant"]),k=Vc(),S=o.useRef(!1);o.useEffect((function(){S.current=!0}),[]);var T=hf(k,r),R=o.createElement(Kc,vi({elevation:"temporary"===E?u:0,square:!0,className:Tc(s.paper,s["paperAnchor".concat(_c(T))],"temporary"!==E&&s["paperAnchorDocked".concat(_c(T))])},v),a);if("permanent"===E)return o.createElement("div",vi({className:Tc(s.root,s.docked,l),ref:t},C),R);var N=o.createElement(df,vi({in:g,direction:pf[T],timeout:x,appear:S.current},y),R);return"persistent"===E?o.createElement("div",vi({className:Tc(s.root,s.docked,l),ref:t},C),N):o.createElement(Qp,vi({BackdropProps:vi({},i,{},p,{transitionDuration:x}),BackdropComponent:Au,className:Tc(s.root,s.modal,l),open:g,onClose:h,ref:t},C,f),N)})),vf=Uc((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(gf);function yf(e){return function(e){if(Array.isArray(e))return e}(e)||Ju(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var bf=o.createContext({}),xf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.defaultExpanded,s=void 0!==a&&a,l=e.disabled,c=void 0!==l&&l,u=e.expanded,d=e.onChange,p=e.square,f=void 0!==p&&p,h=e.TransitionComponent,m=void 0===h?Ip:h,g=e.TransitionProps,v=yi(e,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),y=o.useRef(null!=u).current,b=o.useState(s),x=b[0],w=b[1],E=y?u:x,C=o.useCallback((function(e){y||w(!E),d&&d(e,!E)}),[E,y,d]),k=yf(o.Children.toArray(n)),S=k[0],T=k.slice(1),R=o.useMemo((function(){return{expanded:E,disabled:c,toggle:C}}),[E,c,C]);return o.createElement(Kc,vi({className:Tc(r.root,i,E&&r.expanded,c&&r.disabled,!f&&r.rounded),ref:t,square:f},v),o.createElement(bf.Provider,{value:R},S),o.createElement(m,vi({in:E,timeout:"auto"},g),o.createElement("div",{"aria-labelledby":S.props.id,id:S.props["aria-controls"],role:"region"},T)))}));Uc((function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}}),{name:"MuiExpansionPanel"})(xf);var wf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disableSpacing,a=void 0!==i&&i,s=yi(e,["classes","className","disableSpacing"]);return o.createElement("div",vi({className:Tc(n.root,r,!a&&n.spacing),ref:t},s))}));Uc({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiExpansionPanelActions"})(wf);var Ef=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]);return o.createElement("div",vi({className:Tc(n.root,r),ref:t},i))}));Uc({root:{display:"flex",padding:"8px 24px 24px"}},{name:"MuiExpansionPanelDetails"})(Ef);var Cf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.expandIcon,s=e.IconButtonProps,l=e.onBlur,c=e.onClick,u=e.onFocusVisible,d=yi(e,["children","classes","className","expandIcon","IconButtonProps","onBlur","onClick","onFocusVisible"]),p=o.useState(!1),f=p[0],h=p[1],m=o.useContext(bf),g=m.disabled,v=void 0!==g&&g,y=m.expanded,b=m.toggle;return o.createElement(ad,vi({focusRipple:!1,disableRipple:!0,disabled:v,component:"div","aria-expanded":y,className:Tc(r.root,i,v&&r.disabled,y&&r.expanded,f&&r.focused),onFocusVisible:function(e){h(!0),u&&u(e)},onBlur:function(e){h(!1),l&&l(e)},onClick:function(e){b&&b(e),c&&c(e)},ref:t},d),o.createElement("div",{className:Tc(r.content,y&&r.expanded)},n),a&&o.createElement(hp,vi({className:Tc(r.expandIcon,y&&r.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},s),a))}));Uc((function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:"0 24px 0 24px","&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:e.palette.grey[300]},"&$disabled":{opacity:.38}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}}),{name:"MuiExpansionPanelSummary"})(Cf);var kf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"button":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.focusVisibleClassName,m=e.size,g=void 0===m?"large":m,v=e.variant,y=void 0===v?"round":v,b=yi(e,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return o.createElement(ad,vi({className:Tc(r.root,i,"round"!==y&&r.extended,"large"!==g&&r["size".concat(_c(g))],d&&r.disabled,{primary:r.primary,secondary:r.secondary,inherit:r.colorInherit}[s]),component:c,disabled:d,focusRipple:!f,focusVisibleClassName:Tc(r.focusVisible,h),ref:t},b),o.createElement("span",{className:r.label},n))}));function Sf(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}function Tf(e,t){return parseInt(e[t],10)||0}Uc((function(e){return{root:vi({},e.typography.button,{boxSizing:"border-box",minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]},color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],"&$focusVisible":{boxShadow:e.shadows[6]},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground},textDecoration:"none"},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},secondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(kf);var Rf="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,Nf={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},Pf=o.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,a=e.style,s=e.value,l=yi(e,["onChange","rows","rowsMax","style","value"]),c=o.useRef(null!=s).current,u=o.useRef(null),d=Mu(t,u),p=o.useRef(null),f=o.useState({}),h=f[0],m=f[1],g=o.useCallback((function(){var t=u.current,n=window.getComputedStyle(t),o=p.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x";var a=n["box-sizing"],s=Tf(n,"padding-bottom")+Tf(n,"padding-top"),l=Tf(n,"border-bottom-width")+Tf(n,"border-top-width"),c=o.scrollHeight-s;o.value="x";var d=o.scrollHeight-s,f=c;null!=r&&(f=Math.max(Number(r)*d,f)),null!=i&&(f=Math.min(Number(i)*d,f));var h=(f=Math.max(f,d))+("border-box"===a?s+l:0),g=Math.abs(f-c)<=1;m((function(e){return h>0&&Math.abs((e.outerHeightStyle||0)-h)>1||e.overflow!==g?{overflow:g,outerHeightStyle:h}:e}))}),[r,i,e.placeholder]);o.useEffect((function(){var e=lf((function(){g()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[g]),Rf((function(){g()}));return o.createElement(o.Fragment,null,o.createElement("textarea",vi({value:s,onChange:function(e){c||g(),n&&n(e)},ref:d,rows:r||1,style:vi({height:h.outerHeightStyle,overflow:h.overflow?"hidden":null},a)},l)),o.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:vi({},Nf,{},a)}))}));function Mf(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Df(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Mf(e.value)&&""!==e.value||t&&Mf(e.defaultValue)&&""!==e.defaultValue)}var Lf="undefined"==typeof window?o.useEffect:o.useLayoutEffect,If=o.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,a=e.classes,s=e.className;e.color;var l=e.defaultValue,c=e.disabled,u=e.endAdornment;e.error;var d=e.fullWidth,p=void 0!==d&&d,f=e.id,h=e.inputComponent,m=void 0===h?"input":h,g=e.inputProps,v=void 0===g?{}:g,y=e.inputRef;e.margin;var b=e.multiline,x=void 0!==b&&b,w=e.name,E=e.onBlur,C=e.onChange,k=e.onClick,S=e.onFocus,T=e.onKeyDown,R=e.onKeyUp,N=e.placeholder,P=e.readOnly,M=e.renderSuffix,D=e.rows,L=e.rowsMax,I=e.select,O=void 0!==I&&I,A=e.startAdornment,q=e.type,z=void 0===q?"text":q,F=e.value,W=yi(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","select","startAdornment","type","value"]),H=null!=v.value?v.value:F,j=o.useRef(null!=H).current,B=o.useRef(),$=o.useCallback((function(e){}),[]),V=Mu(v.ref,$),U=Mu(y,V),_=Mu(B,U),Y=o.useState(!1),K=Y[0],X=Y[1],G=dp(),Z=Sf({props:e,muiFormControl:G,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Z.focused=G?G.focused:K,o.useEffect((function(){!G&&c&&K&&(X(!1),E&&E())}),[G,c,K,E]);var J=G&&G.onFilled,Q=G&&G.onEmpty,ee=o.useCallback((function(e){Df(e)?J&&J():Q&&Q()}),[J,Q]);Lf((function(){j&&ee({value:H})}),[H,ee,j]);o.useEffect((function(){ee(B.current)}),[]);var te=m,ne=vi({},v,{ref:_});"string"!=typeof te?ne=vi({inputRef:_,type:z},ne,{ref:null}):x?D&&!L?te="textarea":(ne=vi({rows:D,rowsMax:L},ne),te=Pf):ne=vi({type:z},ne);return o.useEffect((function(){G&&G.setAdornedStart(Boolean(A))}),[G,A]),o.createElement("div",vi({className:Tc(a.root,a["color".concat(_c(Z.color||"primary"))],s,Z.disabled&&a.disabled,Z.error&&a.error,p&&a.fullWidth,Z.focused&&a.focused,G&&a.formControl,x&&a.multiline,A&&a.adornedStart,u&&a.adornedEnd,{dense:a.marginDense}[Z.margin]),onClick:function(e){B.current&&e.currentTarget===e.target&&B.current.focus(),k&&k(e)},ref:t},W),A,o.createElement(up.Provider,{value:null},o.createElement(te,vi({"aria-invalid":Z.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:l,disabled:Z.disabled,id:f,onAnimationStart:function(e){ee(-1!==e.animationName.indexOf("auto-fill-cancel")?B.current:{value:"x"})},name:w,placeholder:N,readOnly:P,required:Z.required,rows:D,value:H,onKeyDown:T,onKeyUp:R},ne,{className:Tc(a.input,v.className,Z.disabled&&a.disabled,x&&a.inputMultiline,O&&a.inputSelect,Z.hiddenLabel&&a.inputHiddenLabel,A&&a.inputAdornedStart,u&&a.inputAdornedEnd,{search:a.inputTypeSearch}[z],{dense:a.inputMarginDense}[Z.margin]),onBlur:function(e){E&&E(e),v.onBlur&&v.onBlur(e),G&&G.onBlur?G.onBlur(e):X(!1)},onChange:function(e){if(!j){var t=e.target||B.current;if(null==t)throw new TypeError("Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://material-ui.com/r/input-component-ref-interface for more info.");ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];v.onChange&&v.onChange.apply(v,[e].concat(r)),C&&C.apply(void 0,[e].concat(r))},onFocus:function(e){Z.disabled?e.stopPropagation():(S&&S(e),v.onFocus&&v.onFocus(e),G&&G.onFocus?G.onFocus(e):X(!0))}}))),u,M?M(vi({},Z,{startAdornment:A})):null)})),Of=Uc((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:t?.42:.5};return{root:{fontFamily:e.typography.fontFamily,color:e.palette.text.primary,fontSize:e.typography.pxToRem(16),lineHeight:"1.1875em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}},formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1875em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"$auto-fill-cancel","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"$auto-fill"}},"@keyframes auto-fill":{from:{}},"@keyframes auto-fill-cancel":{from:{}},inputMarginDense:{paddingTop:3},inputSelect:{paddingRight:24},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(If),Af=o.forwardRef((function(e,t){var n=e.disableUnderline,r=e.classes,i=e.fullWidth,a=void 0!==i&&i,s=e.inputComponent,l=void 0===s?"input":s,c=e.multiline,u=void 0!==c&&c,d=e.type,p=void 0===d?"text":d,f=yi(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(Of,vi({classes:vi({},r,{root:Tc(r.root,!n&&r.underline),underline:null}),fullWidth:a,inputComponent:l,multiline:u,ref:t,type:p},f))}));Af.muiName="Input";var qf=Uc((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"dark"===e.palette.type?"0 0 0 100px #266798 inset":null,WebkitTextFillColor:"dark"===e.palette.type?"#fff":null,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputSelect:{paddingRight:24},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(Af);function zf(e,t){return o.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}var Ff=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.disabled,c=void 0!==l&&l,u=e.error,d=void 0!==u&&u,p=e.fullWidth,f=void 0!==p&&p,h=e.hiddenLabel,m=void 0!==h&&h,g=e.margin,v=void 0===g?"none":g,y=e.color,b=void 0===y?"primary":y,x=e.required,w=void 0!==x&&x,E=e.variant,C=void 0===E?"standard":E,k=yi(e,["children","classes","className","component","disabled","error","fullWidth","hiddenLabel","margin","color","required","variant"]),S=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){if(zf(t,["Input","Select"])){var n=zf(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),T=S[0],R=S[1],N=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){zf(t,["Input","Select"])&&Df(t.props,!0)&&(e=!0)})),e})),P=N[0],M=N[1],D=o.useState(!1),L=D[0],I=D[1];c&&L&&I(!1);var O=o.useCallback((function(){M(!0)}),[]),A={adornedStart:T,setAdornedStart:R,color:b,disabled:c,error:d,filled:P,focused:L,hiddenLabel:m,margin:v,onBlur:function(){I(!1)},onEmpty:o.useCallback((function(){M(!1)}),[]),onFilled:O,onFocus:function(){I(!0)},registerEffect:undefined,required:w,variant:C};return o.createElement(up.Provider,{value:A},o.createElement(s,vi({className:Tc(r.root,i,"none"!==v&&r["margin".concat(_c(v))],f&&r.fullWidth),ref:t},k),n))})),Wf=Uc({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(Ff),Hf=o.forwardRef((function(e,t){e.checked;var n=e.classes,r=e.className,i=e.control,a=e.disabled;e.inputRef;var s=e.label,l=e.labelPlacement,c=void 0===l?"end":l;e.name,e.onChange,e.value;var u=yi(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"]),d=pp(),p=a;void 0===p&&void 0!==i.props.disabled&&(p=i.props.disabled),void 0===p&&d&&(p=d.disabled);var f={disabled:p};return["checked","name","onChange","value","inputRef"].forEach((function(t){void 0===i.props[t]&&void 0!==e[t]&&(f[t]=e[t])})),o.createElement("label",vi({className:Tc(n.root,r,"end"!==c&&n["labelPlacement".concat(_c(c))],p&&n.disabled),ref:t},u),o.cloneElement(i,f),o.createElement(_d,{component:"span",className:Tc(n.label,p&&n.disabled)},s))}));Uc((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(Hf);var jf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.row,a=void 0!==i&&i,s=yi(e,["classes","className","row"]);return o.createElement("div",vi({className:Tc(n.root,r,a&&n.row),ref:t},s))})),Bf=Uc({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(jf),$f=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"p":i;e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant;var s=yi(e,["classes","className","component","disabled","error","filled","focused","margin","required","variant"]),l=Sf({props:e,muiFormControl:pp(),states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(a,vi({className:Tc(n.root,("filled"===l.variant||"outlined"===l.variant)&&n.contained,r,l.disabled&&n.disabled,l.error&&n.error,l.filled&&n.filled,l.focused&&n.focused,l.required&&n.required,{dense:n.marginDense}[l.margin]),ref:t},s))})),Vf=Uc((function(e){return{root:vi({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:8,lineHeight:"1em",minHeight:"1em",margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{margin:"8px 14px 0"},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})($f),Uf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className;e.color;var a=e.component,s=void 0===a?"label":a;e.disabled,e.error,e.filled,e.focused,e.required;var l=yi(e,["children","classes","className","color","component","disabled","error","filled","focused","required"]),c=Sf({props:e,muiFormControl:pp(),states:["color","required","focused","disabled","error","filled"]});return o.createElement(s,vi({className:Tc(r.root,r["color".concat(_c(c.color||"primary"))],i,c.disabled&&r.disabled,c.error&&r.error,c.filled&&r.filled,c.focused&&r.focused,c.required&&r.required),ref:t},l),n,c.required&&o.createElement("span",{className:Tc(r.asterisk,c.error&&r.error)}," ","*"))})),_f=Uc((function(e){return{root:vi({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(Uf),Yf=[0,1,2,3,4,5,6,7,8,9,10],Kf=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function Xf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var Gf=o.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,a=void 0===i?"stretch":i,s=e.classes,l=e.className,c=e.component,u=void 0===c?"div":c,d=e.container,p=void 0!==d&&d,f=e.direction,h=void 0===f?"row":f,m=e.item,g=void 0!==m&&m,v=e.justify,y=void 0===v?"flex-start":v,b=e.lg,x=void 0!==b&&b,w=e.md,E=void 0!==w&&w,C=e.sm,k=void 0!==C&&C,S=e.spacing,T=void 0===S?0:S,R=e.wrap,N=void 0===R?"wrap":R,P=e.xl,M=void 0!==P&&P,D=e.xs,L=void 0!==D&&D,I=e.zeroMinWidth,O=void 0!==I&&I,A=yi(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),q=Tc(s.root,l,p&&[s.container,0!==T&&s["spacing-xs-".concat(String(T))]],g&&s.item,O&&s.zeroMinWidth,"row"!==h&&s["direction-xs-".concat(String(h))],"wrap"!==N&&s["wrap-xs-".concat(String(N))],"stretch"!==a&&s["align-items-xs-".concat(String(a))],"stretch"!==r&&s["align-content-xs-".concat(String(r))],"flex-start"!==y&&s["justify-xs-".concat(String(y))],!1!==L&&s["grid-xs-".concat(String(L))],!1!==k&&s["grid-sm-".concat(String(k))],!1!==E&&s["grid-md-".concat(String(E))],!1!==x&&s["grid-lg-".concat(String(x))],!1!==M&&s["grid-xl-".concat(String(M))]);return o.createElement(u,vi({className:q,ref:t},A))}));Uc((function(e){return vi({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return Yf.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(Xf(o,2)),width:"calc(100% + ".concat(Xf(o),")"),"& > $item":{padding:Xf(o,2)}})})),n}(e,"xs"),{},e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};Kf.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?vi(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(Gf);var Zf=o.forwardRef((function(e,t){var n=e.cellHeight,r=void 0===n?180:n,i=e.children,a=e.classes,s=e.className,l=e.cols,c=void 0===l?2:l,u=e.component,d=void 0===u?"ul":u,p=e.spacing,f=void 0===p?4:p,h=e.style,m=yi(e,["cellHeight","children","classes","className","cols","component","spacing","style"]);return o.createElement(d,vi({className:Tc(a.root,s),ref:t,style:vi({margin:-f/2},h)},m),o.Children.map(i,(function(e){if(!o.isValidElement(e))return null;var t=e.props.cols||1,n=e.props.rows||1;return o.cloneElement(e,{style:vi({width:"".concat(100/c*t,"%"),height:"auto"===r?"auto":r*n+f,padding:f/2},e.props.style)})})))}));Uc({root:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"}},{name:"MuiGridList"})(Zf);var Jf=function(e,t){var n,r,o,i;e&&e.complete&&(e.width/e.height>e.parentElement.offsetWidth/e.parentElement.offsetHeight?((n=e.classList).remove.apply(n,Qu(t.imgFullWidth.split(" "))),(r=e.classList).add.apply(r,Qu(t.imgFullHeight.split(" ")))):((o=e.classList).remove.apply(o,Qu(t.imgFullHeight.split(" "))),(i=e.classList).add.apply(i,Qu(t.imgFullWidth.split(" ")))))};var Qf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className;e.cols;var a=e.component,s=void 0===a?"li":a;e.rows;var l=yi(e,["children","classes","className","cols","component","rows"]),c=o.useRef(null);return o.useEffect((function(){!function(e,t){e&&(e.complete?Jf(e,t):e.addEventListener("load",(function(){Jf(e,t)})))}(c.current,r)})),o.useEffect((function(){var e=lf((function(){Jf(c.current,r)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[r]),o.createElement(s,vi({className:Tc(r.root,i),ref:t},l),o.createElement("div",{className:r.tile},o.Children.map(n,(function(e){return o.isValidElement(e)?"img"===e.type||zf(e,["Image"])?o.cloneElement(e,{ref:c}):e:null}))))}));Uc({root:{boxSizing:"border-box",flexShrink:0},tile:{position:"relative",display:"block",height:"100%",overflow:"hidden"},imgFullHeight:{height:"100%",transform:"translateX(-50%)",position:"relative",left:"50%"},imgFullWidth:{width:"100%",position:"relative",transform:"translateY(-50%)",top:"50%"}},{name:"MuiGridListTile"})(Qf);var eh=o.forwardRef((function(e,t){var n=e.actionIcon,r=e.actionPosition,i=void 0===r?"right":r,a=e.classes,s=e.className,l=e.subtitle,c=e.title,u=e.titlePosition,d=void 0===u?"bottom":u,p=yi(e,["actionIcon","actionPosition","classes","className","subtitle","title","titlePosition"]),f=n&&i;return o.createElement("div",vi({className:Tc(a.root,s,"top"===d?a.titlePositionTop:a.titlePositionBottom,l&&a.rootSubtitle),ref:t},p),o.createElement("div",{className:Tc(a.titleWrap,{left:a.titleWrapActionPosLeft,right:a.titleWrapActionPosRight}[f])},o.createElement("div",{className:a.title},c),l?o.createElement("div",{className:a.subtitle},l):null),n?o.createElement("div",{className:Tc(a.actionIcon,{left:a.actionIconActionPosLeft}[f])},n):null)}));function th(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}Uc((function(e){return{root:{position:"absolute",left:0,right:0,height:48,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},titlePositionBottom:{bottom:0},titlePositionTop:{top:0},rootSubtitle:{height:68},titleWrap:{flexGrow:1,marginLeft:16,marginRight:16,color:e.palette.common.white,overflow:"hidden"},titleWrapActionPosLeft:{marginLeft:0},titleWrapActionPosRight:{marginRight:0},title:{fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},actionIcon:{},actionIconActionPosLeft:{order:-1}}}),{name:"MuiGridListTileBar"})(eh);var nh={entering:{opacity:1,transform:th(1)},entered:{opacity:1,transform:"none"}},rh=o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?"auto":l,u=yi(e,["children","in","onEnter","onExit","style","timeout"]),d=o.useRef(),p=o.useRef(),f=Mu(n.ref,t),h=Vc();return o.useEffect((function(){return function(){clearTimeout(d.current)}}),[]),o.createElement(lu,vi({appear:!0,in:r,onEnter:function(e,t){Ru(e);var n,r=Nu({style:s,timeout:c},{mode:"enter"}),o=r.duration,a=r.delay;"auto"===c?(n=h.transitions.getAutoHeightDuration(e.clientHeight),p.current=n):n=o,e.style.transition=[h.transitions.create("opacity",{duration:n,delay:a}),h.transitions.create("transform",{duration:.666*n,delay:a})].join(","),i&&i(e,t)},onExit:function(e){var t,n=Nu({style:s,timeout:c},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===c?(t=h.transitions.getAutoHeightDuration(e.clientHeight),p.current=t):t=r,e.style.transition=[h.transitions.create("opacity",{duration:t,delay:o}),h.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=th(.75),a&&a(e)},addEndListener:function(e,t){"auto"===c&&(d.current=setTimeout(t,p.current||0))},timeout:"auto"===c?null:c},u),(function(e,t){return o.cloneElement(n,vi({style:vi({opacity:0,transform:th(.75),visibility:"exited"!==e||r?void 0:"hidden"},nh[e],{},s,{},n.props.style),ref:f},t))}))}));rh.muiSupportAuto=!0;var oh=!1;function ih(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=cc(),r=ga({theme:n,name:"MuiUseMediaQuery",props:{}}),i="function"==typeof e?e(n):e;i=i.replace(/^@media( ?)/m,"");var a="undefined"!=typeof window&&void 0!==window.matchMedia,s=vi({},r,{},t),l=s.defaultMatches,c=void 0!==l&&l,u=s.noSsr,d=void 0!==u&&u,p=s.ssrMatchMedia,f=void 0===p?null:p,h=o.useState((function(){return(oh||d)&&a?window.matchMedia(i).matches:f?f(i).matches:c})),m=h[0],g=h[1];return o.useEffect((function(){var e=!0;if(oh=!0,a){var t=window.matchMedia(i),n=function(){e&&g(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,a]),m}var ah=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?_i.indexOf(e)<=_i.indexOf(t):_i.indexOf(e)<_i.indexOf(t)},sh=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?_i.indexOf(t)<=_i.indexOf(e):_i.indexOf(t)<_i.indexOf(e)},lh="undefined"==typeof window?o.useEffect:o.useLayoutEffect;function ch(e){var t=e.children,n=e.only,r=e.width,o=Vc(),i=!0;if(n)if(Array.isArray(n))for(var a=0;a<n.length;a+=1){if(r===n[a]){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var s=0;s<o.breakpoints.keys.length;s+=1){var l=o.breakpoints.keys[s],c=e["".concat(l,"Up")],u=e["".concat(l,"Down")];if(c&&ah(l,r)||u&&sh(l,r)){i=!1;break}}return i?t:null}ch.propTypes={children:Ko.exports.node,className:Ko.exports.string,implementation:Ko.exports.oneOf(["js","css"]),initialWidth:Ko.exports.oneOf(["xs","sm","md","lg","xl"]),lgDown:Ko.exports.bool,lgUp:Ko.exports.bool,mdDown:Ko.exports.bool,mdUp:Ko.exports.bool,only:Ko.exports.oneOfType([Ko.exports.oneOf(["xs","sm","md","lg","xl"]),Ko.exports.arrayOf(Ko.exports.oneOf(["xs","sm","md","lg","xl"]))]),smDown:Ko.exports.bool,smUp:Ko.exports.bool,width:Ko.exports.string.isRequired,xlDown:Ko.exports.bool,xlUp:Ko.exports.bool,xsDown:Ko.exports.bool,xsUp:Ko.exports.bool},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,i=e.noSSR,a=void 0!==i&&i,s=e.initialWidth;function l(e){var n=Vc(),i=e.theme||n,l=ga({theme:i,name:"MuiWithWidth",props:vi({},e)}),c=l.initialWidth,u=l.width,d=yi(l,["initialWidth","width"]),p=o.useState(!1),f=p[0],h=p[1];lh((function(){h(!0)}),[]);var m=Qu(i.breakpoints.keys).reverse().reduce((function(e,t){var n=ih(i.breakpoints.up(t));return!e&&n?t:e}),null),g=vi({width:u||(f||a?m:void 0)||c||s},r?{theme:i}:{},{},d);return void 0===g.width?null:o.createElement(t,g)}return Wc(l,t),l}}()(ch);Uc((function(e){var t={display:"none"};return e.breakpoints.keys.reduce((function(n,r){return n["only".concat(_c(r))]=gi({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=gi({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=gi({},e.breakpoints.down(r),t),n}),{})}),{name:"PrivateHiddenCss"})((function(e){var t=e.children,n=e.classes,r=e.className;e.lgDown,e.lgUp,e.mdDown,e.mdUp;var i=e.only;e.smDown,e.smUp,e.xlDown,e.xlUp,e.xsDown,e.xsUp,yi(e,["children","classes","className","lgDown","lgUp","mdDown","mdUp","only","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]);var a=Vc(),s=[];r&&s.push(r);for(var l=0;l<a.breakpoints.keys.length;l+=1){var c=a.breakpoints.keys[l],u=e["".concat(c,"Up")],d=e["".concat(c,"Down")];u&&s.push(n["".concat(c,"Up")]),d&&s.push(n["".concat(c,"Down")])}return i&&(Array.isArray(i)?i:[i]).forEach((function(e){s.push(n["only".concat(_c(e))])})),o.createElement("div",{className:s.join(" ")},t)}));var uh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"inherit":i,s=e.component,l=void 0===s?"span":s,c=e.fontSize,u=void 0===c?"default":c,d=yi(e,["classes","className","color","component","fontSize"]);return o.createElement(l,vi({className:Tc("material-icons",n.root,r,"inherit"!==a&&n["color".concat(_c(a))],"default"!==u&&n["fontSize".concat(_c(u))]),"aria-hidden":!0,ref:t},d))}));uh.muiName="Icon",Uc((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(uh);var dh=o.forwardRef((function(e,t){var n=e.disableUnderline,r=e.classes,i=e.fullWidth,a=void 0!==i&&i,s=e.inputComponent,l=void 0===s?"input":s,c=e.multiline,u=void 0!==c&&c,d=e.type,p=void 0===d?"text":d,f=yi(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(Of,vi({classes:vi({},r,{root:Tc(r.root,!n&&r.underline),underline:null}),fullWidth:a,inputComponent:l,multiline:u,ref:t,type:p},f))}));dh.muiName="Input";var ph=Uc((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(dh),fh=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.disablePointerEvents,c=void 0!==l&&l,u=e.disableTypography,d=void 0!==u&&u,p=e.position,f=e.variant,h=yi(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),m=dp()||{},g=f;return f&&m.variant,m&&!g&&(g=m.variant),o.createElement(up.Provider,{value:null},o.createElement(s,vi({className:Tc(r.root,i,c&&r.disablePointerEvents,m.hiddenLabel&&r.hiddenLabel,{filled:r.filled}[g],{start:r.positionStart,end:r.positionEnd}[p],{dense:r.marginDense}[m.margin]),ref:t},h),"string"!=typeof n||d?n:o.createElement(_d,{color:"textSecondary"},n)))}));Uc({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(fh);var hh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disableAnimation,a=void 0!==i&&i;e.margin;var s=e.shrink;e.variant;var l=yi(e,["classes","className","disableAnimation","margin","shrink","variant"]),c=pp(),u=s;void 0===u&&c&&(u=c.filled||c.focused||c.adornedStart);var d=Sf({props:e,muiFormControl:c,states:["margin","variant"]});return o.createElement(_f,vi({"data-shrink":u,className:Tc(n.root,r,c&&n.formControl,!a&&n.animated,u&&n.shrink,{dense:n.marginDense}[d.margin],{filled:n.filled,outlined:n.outlined}[d.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},l))})),mh=Uc((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(hh),gh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.value,l=e.valueBuffer,c=e.variant,u=void 0===c?"indeterminate":c,d=yi(e,["classes","className","color","value","valueBuffer","variant"]),p=Vc(),f={},h={bar1:{},bar2:{}};if(("determinate"===u||"buffer"===u)&&void 0!==s){f["aria-valuenow"]=Math.round(s);var m=s-100;"rtl"===p.direction&&(m=-m),h.bar1.transform="translateX(".concat(m,"%)")}if("buffer"===u&&void 0!==l){var g=(l||0)-100;"rtl"===p.direction&&(g=-g),h.bar2.transform="translateX(".concat(g,"%)")}return o.createElement("div",vi({className:Tc(n.root,n["color".concat(_c(a))],r,{determinate:n.determinate,indeterminate:n.indeterminate,buffer:n.buffer,query:n.query}[u]),role:"progressbar"},f,{ref:t},d),"buffer"===u?o.createElement("div",{className:Tc(n.dashed,n["dashedColor".concat(_c(a))])}):null,o.createElement("div",{className:Tc(n.bar,n["barColor".concat(_c(a))],("indeterminate"===u||"query"===u)&&n.bar1Indeterminate,{determinate:n.bar1Determinate,buffer:n.bar1Buffer}[u]),style:h.bar1}),"determinate"===u?null:o.createElement("div",{className:Tc(n.bar,("indeterminate"===u||"query"===u)&&n.bar2Indeterminate,"buffer"===u?[n["color".concat(_c(a))],n.bar2Buffer]:n["barColor".concat(_c(a))]),style:h.bar2}))})),vh=Uc((function(e){var t=function(t){return"light"===e.palette.type?mi(t,.62):hi(t,.5)},n=t(e.palette.primary.main),r=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4},colorPrimary:{backgroundColor:n},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite",animationDelay:"1.15s"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0px -23px"},"50%":{opacity:0,backgroundPosition:"0px -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(gh),yh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.component,l=void 0===s?"a":s,c=e.onBlur,u=e.onFocus,d=e.TypographyClasses,p=e.underline,f=void 0===p?"hover":p,h=e.variant,m=void 0===h?"inherit":h,g=yi(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),v=Zu(),y=v.isFocusVisible,b=v.onBlurVisible,x=v.ref,w=o.useState(!1),E=w[0],C=w[1],k=Mu(t,x);return o.createElement(_d,vi({className:Tc(n.root,n["underline".concat(_c(f))],r,E&&n.focusVisible,{button:n.button}[l]),classes:d,color:a,component:l,onBlur:function(e){E&&(b(),C(!1)),c&&c(e)},onFocus:function(e){y(e)&&C(!0),u&&u(e)},ref:k,variant:m},g))}));Uc({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{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","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(yh);var bh=o.createContext({}),xh=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"ul":a,l=e.dense,c=void 0!==l&&l,u=e.disablePadding,d=void 0!==u&&u,p=e.subheader,f=yi(e,["children","classes","className","component","dense","disablePadding","subheader"]),h=o.useMemo((function(){return{dense:c}}),[c]);return o.createElement(bh.Provider,{value:h},o.createElement(s,vi({className:Tc(r.root,i,c&&r.dense,!d&&r.padding,p&&r.subheader),ref:t},f),p,n))})),wh=Uc({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(xh),Eh="undefined"==typeof window?o.useEffect:o.useLayoutEffect,Ch=o.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,a=void 0!==i&&i,s=e.button,c=void 0!==s&&s,u=e.children,d=e.classes,p=e.className,f=e.component,h=e.ContainerComponent,m=void 0===h?"li":h,g=e.ContainerProps,v=(g=void 0===g?{}:g).className,y=yi(g,["className"]),b=e.dense,x=e.disabled,w=void 0!==x&&x,E=e.disableGutters,C=void 0!==E&&E,k=e.divider,S=void 0!==k&&k,T=e.focusVisibleClassName,R=e.selected,N=void 0!==R&&R,P=yi(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),M=o.useContext(bh),D={dense:b||M.dense||!1,alignItems:r},L=o.useRef(null);Eh((function(){a&&L.current&&L.current.focus()}),[a]);var I=o.Children.toArray(u),O=I.length&&zf(I[I.length-1],["ListItemSecondaryAction"]),A=Mu(o.useCallback((function(e){L.current=l.findDOMNode(e)}),[]),t),q=vi({className:Tc(d.root,p,D.dense&&d.dense,!C&&d.gutters,S&&d.divider,w&&d.disabled,c&&d.button,"center"!==r&&d.alignItemsFlexStart,O&&d.secondaryAction,N&&d.selected),disabled:w},P),z=f||"li";return c&&(q.component=f||"div",q.focusVisibleClassName=Tc(d.focusVisible,T),z=ad),O?(z=q.component||f?z:"div","li"===m&&("li"===z?z="div":"li"===q.component&&(q.component="div")),o.createElement(bh.Provider,{value:D},o.createElement(m,vi({className:Tc(d.container,v),ref:A},y),o.createElement(z,q,I),I.pop()))):o.createElement(bh.Provider,{value:D},o.createElement(z,vi({ref:A},q),I))})),kh=Uc((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"})(Ch),Sh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]),a=o.useContext(bh);return o.createElement("div",vi({className:Tc(n.root,r,"flex-start"===a.alignItems&&n.alignItemsFlexStart),ref:t},i))}));Uc({root:{minWidth:56,flexShrink:0},alignItemsFlexStart:{marginTop:8}},{name:"MuiListItemAvatar"})(Sh);var Th=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]),a=o.useContext(bh);return o.createElement("div",vi({className:Tc(n.root,r,"flex-start"===a.alignItems&&n.alignItemsFlexStart),ref:t},i))})),Rh=Uc((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(Th),Nh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]);return o.createElement("div",vi({className:Tc(n.root,r),ref:t},i))}));Nh.muiName="ListItemSecondaryAction",Uc({root:{position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"}},{name:"MuiListItemSecondaryAction"})(Nh);var Ph=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.disableTypography,s=void 0!==a&&a,l=e.inset,c=void 0!==l&&l,u=e.primary,d=e.primaryTypographyProps,p=e.secondary,f=e.secondaryTypographyProps,h=yi(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),m=o.useContext(bh).dense,g=null!=u?u:n;null==g||g.type===_d||s||(g=o.createElement(_d,vi({variant:m?"body2":"body1",className:r.primary,component:"span"},d),g));var v=p;return null==v||v.type===_d||s||(v=o.createElement(_d,vi({variant:"body2",className:r.secondary,color:"textSecondary"},f),v)),o.createElement("div",vi({className:Tc(r.root,i,m&&r.dense,c&&r.inset,g&&v&&r.multiline),ref:t},h),g,v)})),Mh=Uc({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(Ph),Dh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"default":i,s=e.component,l=void 0===s?"li":s,c=e.disableGutters,u=void 0!==c&&c,d=e.disableSticky,p=void 0!==d&&d,f=e.inset,h=void 0!==f&&f,m=yi(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return o.createElement(l,vi({className:Tc(n.root,r,"default"!==a&&n["color".concat(_c(a))],h&&n.inset,!p&&n.sticky,!u&&n.gutters),ref:t},m))}));function Lh(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ih(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Oh(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Ah(e){return"function"==typeof e?e():e}Uc((function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(Dh);var qh=o.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,a=void 0===i?{vertical:"top",horizontal:"left"}:i,s=e.anchorPosition,c=e.anchorReference,u=void 0===c?"anchorEl":c,d=e.children,p=e.classes,f=e.className,h=e.container,m=e.elevation,g=void 0===m?8:m,v=e.getContentAnchorEl,y=e.marginThreshold,b=void 0===y?16:y,x=e.onEnter,w=e.onEntered,E=e.onEntering,C=e.onExit,k=e.onExited,S=e.onExiting,T=e.open,R=e.PaperProps,N=void 0===R?{}:R,P=e.transformOrigin,M=void 0===P?{vertical:"top",horizontal:"left"}:P,D=e.TransitionComponent,L=void 0===D?rh:D,I=e.transitionDuration,O=void 0===I?"auto":I,A=e.TransitionProps,q=void 0===A?{}:A,z=yi(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"]),F=o.useRef(),W=o.useCallback((function(e){if("anchorPosition"===u)return s;var t=Ah(r),n=(t instanceof Bp(t).Element?t:Pp(F.current).body).getBoundingClientRect(),o=0===e?a.vertical:"center";return{top:n.top+Lh(n,o),left:n.left+Ih(n,a.horizontal)}}),[r,a.horizontal,a.vertical,s,u]),H=o.useCallback((function(e){var t=0;if(v&&"anchorEl"===u){var n=v(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}),[a.vertical,u,v]),j=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Lh(e,M.vertical)+t,horizontal:Ih(e,M.horizontal)}}),[M.horizontal,M.vertical]),B=o.useCallback((function(e){var t=H(e),n={width:e.offsetWidth,height:e.offsetHeight},o=j(n,t);if("none"===u)return{top:null,left:null,transformOrigin:Oh(o)};var i=W(t),a=i.top-o.vertical,s=i.left-o.horizontal,l=a+n.height,c=s+n.width,d=Bp(Ah(r)),p=d.innerHeight-b,f=d.innerWidth-b;if(a<b){var h=a-b;a-=h,o.vertical+=h}else if(l>p){var m=l-p;a-=m,o.vertical+=m}if(s<b){var g=s-b;s-=g,o.horizontal+=g}else if(c>f){var v=c-f;s-=v,o.horizontal+=v}return{top:"".concat(a,"px"),left:"".concat(s,"px"),transformOrigin:Oh(o)}}),[r,u,W,H,j,b]),$=o.useCallback((function(e){var t=B(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[B]),V=o.useCallback((function(e){F.current=l.findDOMNode(e)}),[]),U=o.useMemo((function(){if(T)return lf((function(){$(F.current)}))}),[T,$]);o.useImperativeHandle(n,(function(){return T?{updatePosition:U}:null}),[T,U]),o.useEffect((function(){if(U)return window.addEventListener("resize",U),function(){window.removeEventListener("resize",U),U.clear()}}),[U]);var _=O;"auto"!==O||L.muiSupportAuto||(_=void 0);var Y=h||(r?Pp(Ah(r)).body:void 0);return o.createElement(Qp,vi({container:Y,open:T,ref:t,BackdropProps:{invisible:!0},className:Tc(p.root,f)},z),o.createElement(L,vi({appear:!0,in:T,onEnter:x,onEntered:w,onExit:C,onExited:k,onExiting:S,timeout:_},q,{onEntering:zp((function(e,t){E&&E(e,t),$(e)}),q.onEntering)}),o.createElement(Kc,vi({elevation:g,ref:V},N,{className:Tc(p.paper,N.className)}),d)))})),zh=Uc({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(qh);function Fh(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Wh(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Hh(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),void 0!==n&&(0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join(""))))}function jh(e,t,n,r,o){for(var i=!1,a=r(e,t,!!t&&n);a;){if(a===e.firstChild){if(i)return!1;i=!0}if(a.hasAttribute("tabindex")&&!a.disabled&&"true"!==a.getAttribute("aria-disabled")&&Hh(a,o))return a.focus(),!0;a=r(e,a,n)}return!1}var Bh="undefined"==typeof window?o.useEffect:o.useLayoutEffect,$h=o.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,a=e.autoFocusItem,s=void 0!==a&&a,c=e.children,u=e.className,d=e.onKeyDown,p=e.disableListWrap,f=void 0!==p&&p,h=e.variant,m=void 0===h?"selectedMenu":h,g=yi(e,["actions","autoFocus","autoFocusItem","children","className","onKeyDown","disableListWrap","variant"]),v=o.useRef(null),y=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Bh((function(){i&&v.current.focus()}),[i]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!v.current.style.width;if(e.clientHeight<v.current.clientHeight&&n){var r="".concat(jp(),"px");v.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,v.current.style.width="calc(100% + ".concat(r,")")}return v.current}}}),[]);var b=Mu(o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),t),x=-1;o.Children.forEach(c,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===x)&&(x=t))}));var w=o.Children.map(c,(function(e,t){if(t===x){var n={};if(s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),null!==n)return o.cloneElement(e,n)}return e}));return o.createElement(wh,vi({role:"menu",ref:b,className:u,onKeyDown:function(e){var t=v.current,n=e.key,r=Pp(t).activeElement;if("ArrowDown"===n)e.preventDefault(),jh(t,r,f,Fh);else if("ArrowUp"===n)e.preventDefault(),jh(t,r,f,Wh);else if("Home"===n)e.preventDefault(),jh(t,null,f,Fh);else if("End"===n)e.preventDefault(),jh(t,null,f,Wh);else if(1===n.length){var o=y.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var s=r&&!o.repeating&&Hh(r,o);o.previousKeyMatched&&(s||jh(t,r,!1,Fh,o))?e.preventDefault():o.previousKeyMatched=!1}d&&d(e)},tabIndex:i?0:-1},g),w)})),Vh={vertical:"top",horizontal:"right"},Uh={vertical:"top",horizontal:"left"},_h=o.forwardRef((function(e,t){var n=e.autoFocus,r=void 0===n||n,i=e.children,a=e.classes,s=e.disableAutoFocusItem,c=void 0!==s&&s,u=e.MenuListProps,d=void 0===u?{}:u,p=e.onClose,f=e.onEntering,h=e.open,m=e.PaperProps,g=void 0===m?{}:m,v=e.PopoverClasses,y=e.transitionDuration,b=void 0===y?"auto":y,x=e.variant,w=void 0===x?"selectedMenu":x,E=yi(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),C=Vc(),k=r&&!c&&h,S=o.useRef(null),T=o.useRef(null),R=-1;o.Children.map(i,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("menu"!==w&&e.props.selected||-1===R)&&(R=t))}));var N=o.Children.map(i,(function(e,t){return t===R?o.cloneElement(e,{ref:function(t){T.current=l.findDOMNode(t),Pu(e.ref,t)}}):e}));return o.createElement(zh,vi({getContentAnchorEl:function(){return T.current},classes:v,onClose:p,onEntering:function(e,t){S.current&&S.current.adjustStyleForScrollbar(e,C),f&&f(e,t)},anchorOrigin:"rtl"===C.direction?Vh:Uh,transformOrigin:"rtl"===C.direction?Vh:Uh,PaperProps:vi({},g,{classes:vi({},g.classes,{root:a.paper})}),open:h,ref:t,transitionDuration:b},E),o.createElement($h,vi({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:S,autoFocus:r&&(-1===R||c),autoFocusItem:k,variant:w},d,{className:Tc(a.list,d.className)}),N))})),Yh=Uc({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(_h),Kh=o.forwardRef((function(e,t){var n,r=e.classes,i=e.className,a=e.component,s=void 0===a?"li":a,l=e.disableGutters,c=void 0!==l&&l,u=e.role,d=void 0===u?"menuitem":u,p=e.selected,f=e.tabIndex,h=yi(e,["classes","className","component","disableGutters","role","selected","tabIndex"]);return e.disabled||(n=void 0!==f?f:-1),o.createElement(kh,vi({button:!0,role:d,tabIndex:n,component:s,selected:p,disableGutters:c,classes:{dense:r.dense},className:Tc(r.root,i,p&&r.selected,!c&&r.gutters),ref:t},h))})),Xh=Uc((function(e){return{root:vi({},e.typography.body1,gi({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:vi({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(Kh),Gh=o.forwardRef((function(e,t){var n=e.activeStep,r=void 0===n?0:n,i=e.backButton,a=e.classes,s=e.className,l=e.LinearProgressProps,c=e.nextButton,u=e.position,d=void 0===u?"bottom":u,p=e.steps,f=e.variant,h=void 0===f?"dots":f,m=yi(e,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]);return o.createElement(Kc,vi({square:!0,elevation:0,className:Tc(a.root,a["position".concat(_c(d))],s),ref:t},m),i,"text"===h&&o.createElement(o.Fragment,null,r+1," / ",p),"dots"===h&&o.createElement("div",{className:a.dots},Qu(new Array(p)).map((function(e,t){return o.createElement("div",{key:t,className:Tc(a.dot,t===r&&a.dotActive)})}))),"progress"===h&&o.createElement(vh,vi({className:a.progress,variant:"determinate",value:Math.ceil(r/(p-1)*100)},l)),c)}));Uc((function(e){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:e.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:e.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:e.palette.primary.main},progress:{width:"50%"}}}),{name:"MuiMobileStepper"})(Gh);var Zh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disabled,a=e.IconComponent,s=e.inputRef,l=e.variant,c=void 0===l?"standard":l,u=yi(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",vi({className:Tc(n.root,n.select,n[c],r,i&&n.disabled),disabled:i,ref:s||t},u)),e.multiple?null:o.createElement(a,{className:Tc(n.icon,n["icon".concat(_c(c))])}))})),Jh=Xd(o.createElement("path",{d:"M7 10l5 5 5-5z"})),Qh=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper}},filled:{},outlined:{borderRadius:e.shape.borderRadius},selectMenu:{height:"auto",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",color:e.palette.action.active,pointerEvents:"none"},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7}}},em=o.createElement(ph,null),tm=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.IconComponent,a=void 0===i?Jh:i,s=e.input,l=void 0===s?em:s,c=e.inputProps;e.variant;var u=yi(e,["children","classes","IconComponent","input","inputProps","variant"]),d=Sf({props:e,muiFormControl:pp(),states:["variant"]});return o.cloneElement(l,vi({inputComponent:Zh,select:!0,inputProps:vi({children:n,classes:r,IconComponent:a,variant:d.variant,type:void 0},c,{},l?l.props.inputProps:{}),ref:t},u))}));tm.muiName="Select",Uc(Qh,{name:"MuiNativeSelect"})(tm);var nm=o.forwardRef((function(e,t){e.children;var n=e.classes,r=e.className,i=e.labelWidth,a=e.notched,s=e.style,l=yi(e,["children","classes","className","labelWidth","notched","style"]),c="rtl"===Vc().direction?"right":"left",u=i>0?.75*i+8:0;return o.createElement("fieldset",vi({"aria-hidden":!0,style:vi(gi({},"padding".concat(_c(c)),8+(a?0:u/2)),s),className:Tc(n.root,r),ref:t},l),o.createElement("legend",{className:n.legend,style:{width:a?u:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),rm=Uc((function(e){var t="rtl"===e.direction?"right":"left";return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:0,pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,transition:e.transitions.create(["padding-".concat(t),"border-color","border-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}}}),{name:"PrivateNotchedOutline"})(nm),om=o.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,a=e.inputComponent,s=void 0===a?"input":a,l=e.labelWidth,c=void 0===l?0:l,u=e.multiline,d=void 0!==u&&u,p=e.notched,f=e.type,h=void 0===f?"text":f,m=yi(e,["classes","fullWidth","inputComponent","labelWidth","multiline","notched","type"]);return o.createElement(Of,vi({renderSuffix:function(e){return o.createElement(rm,{className:n.notchedOutline,labelWidth:c,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)})},classes:vi({},n,{root:Tc(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:s,multiline:d,ref:t,type:h},m))}));om.muiName="Input";var im=Uc((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"dark"===e.palette.type?"0 0 0 100px #266798 inset":null,WebkitTextFillColor:"dark"===e.palette.type?"#fff":null,borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputSelect:{paddingRight:24},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(om),am="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,sm=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(am&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();
|
|
24
|
+
/**!
|
|
25
|
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
26
|
+
* @version 1.16.0
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
29
|
+
*
|
|
30
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
31
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
32
|
+
* in the Software without restriction, including without limitation the rights
|
|
33
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
34
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
35
|
+
* furnished to do so, subject to the following conditions:
|
|
36
|
+
*
|
|
37
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
38
|
+
* copies or substantial portions of the Software.
|
|
39
|
+
*
|
|
40
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
41
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
42
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
43
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
44
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
45
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
46
|
+
* SOFTWARE.
|
|
47
|
+
*/var lm=am&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),sm))}};function cm(e){return e&&"[object Function]"==={}.toString.call(e)}function um(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function dm(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function pm(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=um(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:pm(dm(e))}function fm(e){return e&&e.referenceNode?e.referenceNode:e}var hm=am&&!(!window.MSInputMethodContext||!document.documentMode),mm=am&&/MSIE 10/.test(navigator.userAgent);function gm(e){return 11===e?hm:10===e?mm:hm||mm}function vm(e){if(!e)return document.documentElement;for(var t=gm(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===um(n,"position")?vm(n):n:e?e.ownerDocument.documentElement:document.documentElement}function ym(e){return null!==e.parentNode?ym(e.parentNode):e}function bm(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&vm(a.firstElementChild)!==a?vm(l):l;var c=ym(e);return c.host?bm(c.host,t):bm(e,ym(t).host)}function xm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function wm(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=xm(t,"top"),o=xm(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function Em(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function Cm(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],gm(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function km(e){var t=e.body,n=e.documentElement,r=gm(10)&&getComputedStyle(n);return{height:Cm("Height",t,n,r),width:Cm("Width",t,n,r)}}var Sm=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Tm=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Rm=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Nm=Object.assign||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};function Pm(e){return Nm({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Mm(e){var t={};try{if(gm(10)){t=e.getBoundingClientRect();var n=xm(e,"top"),r=xm(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?km(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var u=um(e);l-=Em(u,"x"),c-=Em(u,"y"),o.width-=l,o.height-=c}return Pm(o)}function Dm(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=gm(10),o="HTML"===t.nodeName,i=Mm(e),a=Mm(t),s=pm(e),l=um(t),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=Pm({top:i.top-a.top-c,left:i.left-a.left-u,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var p=parseFloat(l.marginTop,10),f=parseFloat(l.marginLeft,10);d.top-=c-p,d.bottom-=c-p,d.left-=u-f,d.right-=u-f,d.marginTop=p,d.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=wm(d,t)),d}function Lm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=Dm(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:xm(n),s=t?0:xm(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return Pm(l)}function Im(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===um(e,"position"))return!0;var n=dm(e);return!!n&&Im(n)}function Om(e){if(!e||!e.parentElement||gm())return document.documentElement;for(var t=e.parentElement;t&&"none"===um(t,"transform");)t=t.parentElement;return t||document.documentElement}function Am(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?Om(e):bm(e,fm(t));if("viewport"===r)i=Lm(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=pm(dm(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=Dm(s,a,o);if("HTML"!==s.nodeName||Im(a))i=l;else{var c=km(e.ownerDocument),u=c.height,d=c.width;i.top+=l.top-l.marginTop,i.bottom=u+l.top,i.left+=l.left-l.marginLeft,i.right=d+l.left}}var p="number"==typeof(n=n||0);return i.left+=p?n:n.left||0,i.top+=p?n:n.top||0,i.right-=p?n:n.right||0,i.bottom-=p?n:n.bottom||0,i}function qm(e){return e.width*e.height}function zm(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=Am(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return Nm({key:e},s[e],{area:qm(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function Fm(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?Om(t):bm(t,fm(n));return Dm(n,o,r)}function Wm(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function Hm(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function jm(e,t,n){n=n.split("-")[0];var r=Wm(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[Hm(s)],o}function Bm(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function $m(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=Bm(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&cm(n)&&(t.offsets.popper=Pm(t.offsets.popper),t.offsets.reference=Pm(t.offsets.reference),t=n(t,e))})),t}function Vm(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Fm(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=zm(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=jm(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=$m(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Um(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function _m(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function Ym(){return this.state.isDestroyed=!0,Um(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[_m("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Km(e){var t=e.ownerDocument;return t?t.defaultView:window}function Xm(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||Xm(pm(i.parentNode),t,n,r),r.push(i)}function Gm(e,t,n,r){n.updateBound=r,Km(e).addEventListener("resize",n.updateBound,{passive:!0});var o=pm(e);return Xm(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Zm(){this.state.eventsEnabled||(this.state=Gm(this.reference,this.options,this.state,this.scheduleUpdate))}function Jm(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Km(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Qm(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function eg(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Qm(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var tg=am&&/Firefox/i.test(navigator.userAgent);function ng(e,t,n){var r=Bm(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var rg=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],og=rg.slice(3);function ig(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=og.indexOf(e),r=og.slice(n+1).concat(og.slice(0,n));return t?r.reverse():r}var ag="flip",sg="clockwise",lg="counterclockwise";function cg(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Bm(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return Pm(s)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Qm(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var ug={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:Rm({},l,i[l]),end:Rm({},l,i[l]+i[c]-a[c])};e.offsets.popper=Nm({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=Qm(+n)?[+n,0]:cg(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||vm(e.instance.popper);e.instance.reference===n&&(n=vm(n));var r=_m("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=Am(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),Rm({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),Rm({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=Nm({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!ng(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",h=Wm(r)[c];s[f]-h<a[d]&&(e.offsets.popper[d]-=a[d]-(s[f]-h)),s[d]+h>a[f]&&(e.offsets.popper[d]+=s[d]+h-a[f]),e.offsets.popper=Pm(e.offsets.popper);var m=s[d]+s[c]/2-h/2,g=um(e.instance.popper),v=parseFloat(g["margin"+u],10),y=parseFloat(g["border"+u+"Width"],10),b=m-e.offsets.popper[d]-v-y;return b=Math.max(Math.min(a[c]-h,b),0),e.arrowElement=r,e.offsets.arrow=(Rm(n={},d,Math.round(b)),Rm(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Um(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=Am(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Hm(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ag:a=[r,o];break;case sg:a=ig(r);break;case lg:a=ig(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=Hm(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&g),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&f||!y&&"start"===i&&g||!y&&"end"===i&&m),w=b||x;(p||v||w)&&(e.flipped=!0,(p||v)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=Nm({},e.offsets.popper,jm(e.instance.popper,e.offsets.reference,e.placement)),e=$m(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=Hm(t),e.offsets.popper=Pm(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ng(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Bm(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=Bm(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=vm(e.instance.popper),l=Mm(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:p(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!tg),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=_m("transform"),h=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,h="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+h+"px, "+m+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===p?-1:1;c[d]=m*g,c[p]=h*v,c.willChange=d+", "+p}var y={"x-placement":e.placement};return e.attributes=Nm({},y,e.attributes),e.styles=Nm({},c,e.styles),e.arrowStyles=Nm({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return eg(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&eg(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=Fm(o,t,e,n.positionFixed),a=zm(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),eg(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},dg=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Sm(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=lm(this.update.bind(this)),this.options=Nm({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Nm({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=Nm({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Nm({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&cm(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return Tm(e,[{key:"update",value:function(){return Vm.call(this)}},{key:"destroy",value:function(){return Ym.call(this)}},{key:"enableEventListeners",value:function(){return Zm.call(this)}},{key:"disableEventListeners",value:function(){return Jm.call(this)}}]),e}();function pg(e){return"function"==typeof e?e():e}dg.Utils=("undefined"!=typeof window?window:global).PopperUtils,dg.placements=rg,dg.Defaults=ug;var fg="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,hg={},mg=o.forwardRef((function(e,t){var n=e.anchorEl,r=e.children,i=e.container,a=e.disablePortal,s=void 0!==a&&a,l=e.keepMounted,c=void 0!==l&&l,u=e.modifiers,d=e.open,p=e.placement,f=void 0===p?"bottom":p,h=e.popperOptions,m=void 0===h?hg:h,g=e.popperRef,v=e.transition,y=void 0!==v&&v,b=yi(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition"]),x=o.useRef(null),w=Mu(x,t),E=o.useRef(null),C=Mu(E,g),k=o.useRef(C);fg((function(){k.current=C}),[C]),o.useImperativeHandle(g,(function(){return E.current}),[]);var S=o.useState(!0),T=S[0],R=S[1],N=function(e){if("rtl"!==("undefined"!=typeof window&&document.body.getAttribute("dir")||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f),P=o.useState(N),M=P[0],D=P[1],L=o.useCallback((function(){if(x.current&&n&&d){E.current&&(E.current.destroy(),k.current(null));var e=function(e){D(e.placement)};pg(n);var t=new dg(pg(n),x.current,vi({placement:N},m,{modifiers:vi({},s?{}:{preventOverflow:{boundariesElement:"window"}},{},u,{},m.modifiers),onCreate:zp(e,m.onCreate),onUpdate:zp(e,m.onUpdate)}));k.current(t)}}),[n,s,u,d,N,m]),I=o.useCallback((function(e){Pu(w,e),L()}),[w,L]),O=function(){E.current&&(E.current.destroy(),k.current(null))};if(o.useEffect((function(){L()}),[L]),o.useEffect((function(){return function(){O()}}),[]),o.useEffect((function(){d||y||O()}),[d,y]),!c&&!d&&(!y||T))return null;var A={placement:M};return y&&(A.TransitionProps={in:d,onEnter:function(){R(!1)},onExited:function(){R(!0),O()}}),o.createElement(qp,{disablePortal:s,container:i},o.createElement("div",vi({ref:I,role:"tooltip"},b,{style:vi({position:"fixed",top:0,left:0},b.style)}),"function"==typeof r?r(A):r))})),gg=Xd(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),vg=Xd(o.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"})),yg=o.createElement(gg,null);var bg=Uc((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes;return o.createElement("div",{className:Tc(n.root,t&&n.checked)},yg,o.createElement(vg,{className:n.layer}))})),xg=o.createContext(),wg=o.createElement(bg,{checked:!0}),Eg=o.createElement(bg,null),Cg=o.forwardRef((function(e,t){var n=e.checked,r=e.classes,i=e.color,a=void 0===i?"secondary":i,s=e.name,l=e.onChange,c=yi(e,["checked","classes","color","name","onChange"]),u=o.useContext(xg),d=n,p=zp(l,u&&u.onChange),f=s;return u&&(void 0===d&&(d=u.value===e.value),void 0===f&&(f=u.name)),o.createElement(gp,vi({color:a,type:"radio",icon:Eg,checkedIcon:wg,classes:{root:Tc(r.root,r["color".concat(_c(a))]),checked:r.checked,disabled:r.disabled},name:f,checked:d,onChange:p,ref:t},c))}));function kg(e){return(kg="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})(e)}function Sg(e){return(Sg="function"==typeof Symbol&&"symbol"===kg(Symbol.iterator)?function(e){return kg(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":kg(e)})(e)}function Tg(e,t){return"object"===Sg(t)&&null!==t?e===t:String(e)===String(t)}Uc((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(Cg),o.forwardRef((function(e,t){var n=e.actions,r=e.children,i=e.name,a=e.value,s=e.onChange,l=yi(e,["actions","children","name","value","onChange"]),c=o.useRef(null),u=o.useRef(null!=a).current,d=o.useState((function(){return u?null:e.defaultValue})),p=d[0],f=d[1];o.useImperativeHandle(n,(function(){return{focus:function(){var e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var h={name:i,onChange:function(e){u||f(e.target.value),s&&s(e,e.target.value)},value:u?a:p},m=Mu(t,c);return o.createElement(Bf,vi({role:"radiogroup",ref:m},l),o.createElement(xg.Provider,{value:h},r))})),o.Component;var Rg=o.forwardRef((function(e,t){var n=e.autoFocus,r=e.autoWidth,i=e.children,a=e.classes,s=e.className,l=e.defaultValue,c=e.disabled,u=e.displayEmpty,d=e.labelId,p=e.IconComponent,f=e.inputRef,h=e.MenuProps,m=void 0===h?{}:h,g=e.multiple,v=e.name,y=e.onBlur,b=e.onChange,x=e.onClose,w=e.onFocus,E=e.onOpen,C=e.open,k=e.readOnly,S=e.renderValue;e.required;var T=e.SelectDisplayProps,R=void 0===T?{}:T,N=e.tabIndex;e.type;var P=e.value,M=e.variant,D=void 0===M?"standard":M,L=yi(e,["autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","labelId","IconComponent","inputRef","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value","variant"]),I=o.useRef(null!=P).current,O=o.useState(l),A=O[0],q=O[1],z=I?P:A,F=o.useRef(null),W=o.useState(null),H=W[0],j=W[1],B=o.useRef(null!=C).current,$=o.useState(),V=$[0],U=$[1],_=o.useState(!1),Y=_[0],K=_[1],X=Mu(t,f);o.useImperativeHandle(X,(function(){return{focus:function(){H.focus()},node:F.current,value:z}}),[H,z]),o.useEffect((function(){n&&H&&H.focus()}),[n,H]);var G,Z,J=function(e,t){e?E&&E(t):(H.focus(),x&&x(t)),B||(U(r?null:H.clientWidth),K(e))},Q=function(e){return function(t){var n;if(g||J(!1,t),g){n=Array.isArray(z)?Qu(z):[];var r=z.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;I||q(n),b&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:v}}),b(t,e))}},ee=null!==H&&(B?C:Y);delete L["aria-invalid"];var te=[],ne=!1;(Df({value:z})||u)&&(S?G=S(z):ne=!0);var re=o.Children.map(i,(function(e){if(!o.isValidElement(e))return null;var t;if(g){if(!Array.isArray(z))throw new Error("Material-UI: the `value` prop must be an array when using the `Select` component with `multiple`.");(t=z.some((function(t){return Tg(t,e.props.value)})))&&ne&&te.push(e.props.children)}else(t=Tg(z,e.props.value))&&ne&&(Z=e.props.children);return o.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:Q(e),role:"option",selected:t,value:void 0,"data-value":e.props.value})}));ne&&(G=g?te.join(", "):Z);var oe,ie=V;!r&&B&&H&&(ie=H.clientWidth),oe=void 0!==N?N:c?null:0;var ae=R.id||(v?"mui-component-select-".concat(v):void 0);return o.createElement(o.Fragment,null,o.createElement("div",vi({className:Tc(a.root,a.select,a.selectMenu,a[D],s,c&&a.disabled),ref:j,tabIndex:oe,role:"button","aria-expanded":ee?"true":void 0,"aria-labelledby":"".concat(d||""," ").concat(ae||""),"aria-haspopup":"listbox",onKeyDown:function(e){if(!k){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),J(!0,e))}},onClick:c||k?null:function(e){J(!0,e)},onBlur:function(e){!ee&&y&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:z,name:v}}),y(e))},onFocus:w},R,{id:ae}),function(e){return null==e||"string"==typeof e&&!e.trim()}(G)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):G),o.createElement("input",vi({value:Array.isArray(z)?z.join(","):z,name:v,ref:F,type:"hidden",autoFocus:n},L)),o.createElement(p,{className:Tc(a.icon,a["icon".concat(_c(D))],ee&&a.iconOpen)}),o.createElement(Yh,vi({id:"menu-".concat(v||""),anchorEl:H,open:ee,onClose:function(e){J(!1,e)}},m,{MenuListProps:vi({"aria-labelledby":d,role:"listbox",disableListWrap:!0},m.MenuListProps),PaperProps:vi({},m.PaperProps,{style:vi({minWidth:ie},null!=m.PaperProps?m.PaperProps.style:null)})}),re))})),Ng=Qh,Pg=o.createElement(ph,null),Mg=o.createElement(qf,null),Dg=o.forwardRef((function e(t,n){var r=t.autoWidth,i=void 0!==r&&r,a=t.children,s=t.classes,l=t.displayEmpty,c=void 0!==l&&l,u=t.IconComponent,d=void 0===u?Jh:u,p=t.id,f=t.input,h=t.inputProps,m=t.labelId,g=t.MenuProps,v=t.multiple,y=void 0!==v&&v,b=t.native,x=void 0!==b&&b,w=t.onClose,E=t.onOpen,C=t.open,k=t.renderValue,S=t.SelectDisplayProps,T=t.variant,R=void 0===T?"standard":T,N=t.labelWidth,P=void 0===N?0:N,M=yi(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant","labelWidth"]),D=x?Zh:Rg,L=Sf({props:t,muiFormControl:pp(),states:["variant"]}).variant||R,I=f||{standard:Pg,outlined:o.createElement(im,{labelWidth:P}),filled:Mg}[L];return o.cloneElement(I,vi({inputComponent:D,select:!0,inputProps:vi({children:a,IconComponent:d,variant:L,type:void 0,multiple:y},x?{}:{autoWidth:i,displayEmpty:c,labelId:m,MenuProps:g,onClose:w,onOpen:E,open:C,renderValue:k,SelectDisplayProps:vi({id:p},S)},{},h,{classes:h?oc({baseClasses:s,newClasses:h.classes,Component:e}):s},f?f.props.inputProps:{}),ref:n},M))}));Dg.muiName="Select";var Lg=Uc(Ng,{name:"MuiSelect"})(Dg);var Ig=Uc((function(e){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:vi({zIndex:1},e.typography.body2,{fontSize:e.typography.pxToRem(12),lineHeight:1.2,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-34,left:"calc(-50% + -4px)",transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:e.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(e){var t=e.children,n=e.classes,r=e.className,i=e.open,a=e.value,s=e.valueLabelDisplay;return"off"===s?t:o.cloneElement(t,{className:Tc(t.props.className,(i||"on"===s)&&n.open,n.thumb)},o.createElement("span",{className:Tc(n.offset,r)},o.createElement("span",{className:n.circle},o.createElement("span",{className:n.label},a))))}));function Og(e,t){return e-t}function Ag(e,t,n){return e<t?t:e>n?n:e}function qg(e,t){return e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null).index}function zg(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function Fg(e,t,n){return 100*(e-t)/(n-t)}function Wg(e,t){var n=Math.round(e/t)*t;return Number(n.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function Hg(e){var t=e.values,n=e.source,r=e.newValue,o=e.index;if(t[o]===r)return n;var i=Qu(t);return i[o]=r,i}function jg(e){var t=e.sliderRef,n=e.activeIndex,r=e.setActive;t.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===n||t.current.querySelector('[data-index="'.concat(n,'"]')).focus(),r&&r(n)}var Bg={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},$g=[],Vg=function(e){return e},Ug=o.forwardRef((function(e,t){var n=e["aria-label"],r=e["aria-labelledby"],i=e["aria-valuetext"],a=e.classes,s=e.className,l=e.color,c=void 0===l?"primary":l,u=e.component,d=void 0===u?"span":u,p=e.defaultValue,f=e.disabled,h=void 0!==f&&f,m=e.getAriaLabel,g=e.getAriaValueText,v=e.marks,y=void 0===v?$g:v,b=e.max,x=void 0===b?100:b,w=e.min,E=void 0===w?0:w,C=e.name,k=e.onChange,S=e.onChangeCommitted,T=e.onMouseDown,R=e.orientation,N=void 0===R?"horizontal":R,P=e.step,M=void 0===P?1:P,D=e.ThumbComponent,L=void 0===D?"span":D,I=e.track,O=void 0===I?"normal":I,A=e.value,q=e.ValueLabelComponent,z=void 0===q?Ig:q,F=e.valueLabelDisplay,W=void 0===F?"off":F,H=e.valueLabelFormat,j=void 0===H?Vg:H,B=yi(e,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),$=Vc(),V=o.useRef(null!=A).current,U=o.useRef(),_=o.useState(-1),Y=_[0],K=_[1],X=o.useState(-1),G=X[0],Z=X[1],J=o.useState(p),Q=J[0],ee=J[1],te=V?A:Q,ne=Array.isArray(te),re=o.useRef(),oe=ne?Qu(te).sort(Og):[te];oe=oe.map((function(e){return Ag(e,E,x)}));var ie=!0===y&&null!==M?Qu(Array(Math.floor((x-E)/M)+1)).map((function(e,t){return{value:E+M*t}})):y;re.current={source:te};var ae=Zu(),se=ae.isFocusVisible,le=ae.onBlurVisible,ce=ae.ref,ue=o.useState(-1),de=ue[0],pe=ue[1],fe=o.useRef(),he=Mu(ce,fe),me=Mu(t,he),ge=Wu((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));se(e)&&pe(t),Z(t)})),ve=Wu((function(){-1!==de&&(pe(-1),le()),Z(-1)})),ye=Wu((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));Z(t)})),be=Wu((function(){Z(-1)})),xe=Wu((function(e){var t,n=Number(e.currentTarget.getAttribute("data-index")),r=oe[n],o=(x-E)/10,i=ie.map((function(e){return e.value})),a=i.indexOf(r);switch(e.key){case"Home":t=E;break;case"End":t=x;break;case"PageUp":M&&(t=r+o);break;case"PageDown":M&&(t=r-o);break;case"ArrowRight":case"ArrowUp":t=M?r+M:i[a+1]||i[i.length-1];break;case"ArrowLeft":case"ArrowDown":t=M?r-M:i[a-1]||i[0];break;default:return}if(e.preventDefault(),M&&(t=Wg(t,M)),t=Ag(t,E,x),ne){var s=t;t=Hg({values:oe,source:te,newValue:t,index:n}).sort(Og),jg({sliderRef:fe,activeIndex:t.indexOf(s)})}V||ee(t),pe(n),k&&k(e,t),S&&S(e,t)})),we=o.useRef(),Ee=N;"rtl"===$.direction&&"vertical"!==N&&(Ee+="-reverse");var Ce=o.useCallback((function(e){var t,n,r=e.finger,o=e.move,i=void 0!==o&&o,a=e.values,s=e.source,l=fe.current.getBoundingClientRect(),c=l.width,u=l.height,d=l.bottom,p=l.left;if(t=0===Ee.indexOf("vertical")?(d-r.y)/u:(r.x-p)/c,-1!==Ee.indexOf("-reverse")&&(t=1-t),n=function(e,t,n){return(n-t)*e+t}(t,E,x),M)n=Wg(n,M);else{var f=ie.map((function(e){return e.value}));n=f[qg(f,n)]}n=Ag(n,E,x);var h=0;if(ne){var m=n;h=(n=Hg({values:a,source:s,newValue:n,index:h=i?we.current:qg(a,n)}).sort(Og)).indexOf(m),we.current=h}return{newValue:n,activeIndex:h}}),[x,E,Ee,ne,M,ie]),ke=Wu((function(e){var t=zg(e,U);if(t){var n=Ce({finger:t,move:!0,values:oe,source:te}),r=n.newValue,o=n.activeIndex;jg({sliderRef:fe,activeIndex:o,setActive:K}),V||ee(r),k&&k(e,r)}})),Se=Wu((function(e){var t=zg(e,U);if(t){var n=Ce({finger:t,values:oe,source:te}).newValue;K(-1),"touchend"===e.type&&Z(-1),S&&S(e,n),U.current=void 0,document.body.removeEventListener("mousemove",ke),document.body.removeEventListener("mouseup",Se),document.body.removeEventListener("mouseenter",Te),document.body.removeEventListener("touchmove",ke),document.body.removeEventListener("touchend",Se)}})),Te=Wu((function(e){0===e.buttons&&Se(e)})),Re=Wu((function(e){e.preventDefault();var t=e.changedTouches[0];null!=t&&(U.current=t.identifier);var n=zg(e,U),r=Ce({finger:n,values:oe,source:te}),o=r.newValue,i=r.activeIndex;jg({sliderRef:fe,activeIndex:i,setActive:K}),V||ee(o),k&&k(e,o),document.body.addEventListener("touchmove",ke),document.body.addEventListener("touchend",Se)}));o.useEffect((function(){var e=fe.current;return e.addEventListener("touchstart",Re),function(){e.removeEventListener("touchstart",Re),document.body.removeEventListener("mousemove",ke),document.body.removeEventListener("mouseup",Se),document.body.removeEventListener("mouseenter",Te),document.body.removeEventListener("touchmove",ke),document.body.removeEventListener("touchend",Se)}}),[Te,Se,ke,Re]);var Ne=Wu((function(e){T&&T(e),e.preventDefault();var t=zg(e,U),n=Ce({finger:t,values:oe,source:te}),r=n.newValue,o=n.activeIndex;jg({sliderRef:fe,activeIndex:o,setActive:K}),V||ee(r),k&&k(e,r),document.body.addEventListener("mousemove",ke),document.body.addEventListener("mouseenter",Te),document.body.addEventListener("mouseup",Se)})),Pe=Fg(ne?oe[0]:E,E,x),Me=Fg(oe[oe.length-1],E,x)-Pe,De=vi({},Bg[Ee].offset(Pe),{},Bg[Ee].leap(Me));return o.createElement(d,vi({ref:me,className:Tc(a.root,a["color".concat(_c(c))],s,h&&a.disabled,ie.length>0&&ie.some((function(e){return e.label}))&&a.marked,!1===O&&a.trackFalse,{vertical:a.vertical}[N],{inverted:a.trackInverted}[O]),onMouseDown:Ne},B),o.createElement("span",{className:a.rail}),o.createElement("span",{className:a.track,style:De}),o.createElement("input",{value:oe.join(","),name:C,type:"hidden"}),ie.map((function(e){var t,n=Fg(e.value,E,x),r=Bg[Ee].offset(n);if(!1===O)t=-1!==oe.indexOf(e.value);else{var i=ne?e.value>=oe[0]&&e.value<=oe[oe.length-1]:e.value<=oe[0];t=i&&"normal"===O||!i&&"inverted"===O}return o.createElement(o.Fragment,{key:e.value},o.createElement("span",{style:r,className:Tc(a.mark,t&&a.markActive)}),o.createElement("span",{"aria-hidden":!0,style:r,className:Tc(a.markLabel,t&&a.markLabelActive)},e.label))})),oe.map((function(e,t){var s=Fg(e,E,x),l=Bg[Ee].offset(s);return o.createElement(z,{key:t,valueLabelFormat:j,valueLabelDisplay:W,className:a.valueLabel,value:"function"==typeof j?j(e,t):j,index:t,open:G===t||Y===t||"on"===W,disabled:h},o.createElement(L,{className:Tc(a.thumb,a["thumbColor".concat(_c(c))],Y===t&&a.active,h&&a.disabled,de===t&&a.focusVisible),tabIndex:h?null:0,role:"slider",style:l,"data-index":t,"aria-label":m?m(t):n,"aria-labelledby":r,"aria-orientation":N,"aria-valuemax":x,"aria-valuemin":E,"aria-valuenow":e,"aria-valuetext":g?g(e,t):i,onKeyDown:xe,onFocus:ge,onBlur:ve,onMouseOver:ye,onMouseLeave:be}))})))}));Uc((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"11px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 11px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?mi(e.palette.primary.main,.62):hi(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',left:-18,top:-18,right:-18,bottom:-18},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(fi(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(fi(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(fi(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(fi(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:vi({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:22,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:22,transform:"translateY(50%)"}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(Ug);var _g=o.forwardRef((function(e,t){var n=e.action,r=e.classes,i=e.className,a=e.message,s=e.role,l=void 0===s?"alert":s,c=yi(e,["action","classes","className","message","role"]);return o.createElement(Kc,vi({component:_d,variant:"body2",variantMapping:{body1:"div",body2:"div"},role:l,square:!0,elevation:6,className:Tc(r.root,i),ref:t},c),o.createElement("div",{className:r.message},a),n?o.createElement("div",{className:r.action},n):null)})),Yg=Uc((function(e){var t="light"===e.palette.type?.8:.98,n=pi(e.palette.background.default,t);return{root:gi({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(_g),Kg=o.forwardRef((function(e,t){var n=e.action,r=e.anchorOrigin,i=(r=void 0===r?{vertical:"bottom",horizontal:"center"}:r).vertical,a=r.horizontal,s=e.autoHideDuration,l=e.children,c=e.classes,u=e.className,d=e.ClickAwayListenerProps,p=e.ContentProps,f=e.disableWindowBlurListener,h=void 0!==f&&f,m=e.message,g=e.onClose,v=e.onEnter,y=e.onEntered,b=e.onEntering,x=e.onExit,w=e.onExited,E=e.onExiting,C=e.onMouseEnter,k=e.onMouseLeave,S=e.open,T=e.resumeHideDuration,R=e.TransitionComponent,N=void 0===R?rh:R,P=e.transitionDuration,M=void 0===P?{enter:la.enteringScreen,exit:la.leavingScreen}:P,D=e.TransitionProps,L=yi(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),I=o.useRef(),O=o.useState(!0),A=O[0],q=O[1],z=o.useCallback((function(e){var t=null!=e?e:s;g&&null!=t&&(clearTimeout(I.current),I.current=setTimeout((function(){g&&null!=(null!=e?e:s)&&g(null,"timeout")}),t))}),[s,g]);o.useEffect((function(){return S&&z(),function(){clearTimeout(I.current)}}),[S,z]);var F=function(){clearTimeout(I.current)},W=o.useCallback((function(){if(null!=s){if(null!=T)return void z(T);z(.5*s)}}),[s,T,z]);return o.useEffect((function(){if(!h&&S)return window.addEventListener("focus",W),window.addEventListener("blur",F),function(){window.removeEventListener("focus",W),window.removeEventListener("blur",F)}}),[h,W,S]),!S&&A?null:o.createElement(Dp,vi({onClickAway:function(e){g&&g(e,"clickaway")}},d),o.createElement("div",vi({className:Tc(c.root,c["anchorOrigin".concat(_c(i)).concat(_c(a))],u),onMouseEnter:function(e){C&&C(e),F()},onMouseLeave:function(e){k&&k(e),W()},ref:t},L),o.createElement(N,vi({appear:!0,in:S,onEnter:zp((function(){q(!1)}),v),onEntered:y,onEntering:b,onExit:x,onExited:zp((function(){q(!0)}),w),onExiting:E,timeout:M,direction:"top"===i?"down":"up"},D),l||o.createElement(Yg,vi({message:m,action:n},p)))))}));Uc((function(e){var t={top:8},n={bottom:8},r={justifyContent:"flex-end"},o={justifyContent:"flex-start"},i={top:24},a={bottom:24},s={right:24},l={left:24},c={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:vi({},t,gi({},e.breakpoints.up("sm"),vi({},i,{},c))),anchorOriginBottomCenter:vi({},n,gi({},e.breakpoints.up("sm"),vi({},a,{},c))),anchorOriginTopRight:vi({},t,{},r,gi({},e.breakpoints.up("sm"),vi({left:"auto"},i,{},s))),anchorOriginBottomRight:vi({},n,{},r,gi({},e.breakpoints.up("sm"),vi({left:"auto"},a,{},s))),anchorOriginTopLeft:vi({},t,{},o,gi({},e.breakpoints.up("sm"),vi({right:"auto"},i,{},l))),anchorOriginBottomLeft:vi({},n,{},o,gi({},e.breakpoints.up("sm"),vi({right:"auto"},a,{},l)))}}),{flip:!1,name:"MuiSnackbar"})(Kg);var Xg=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.alternativeLabel,a=e.children,s=e.classes,l=e.className,c=e.completed,u=void 0!==c&&c,d=e.connector,p=e.disabled,f=void 0!==p&&p,h=e.index,m=e.last,g=e.orientation,v=yi(e,["active","alternativeLabel","children","classes","className","completed","connector","disabled","index","last","orientation"]);return o.createElement("div",vi({className:Tc(s.root,s[g],l,i&&s.alternativeLabel,u&&s.completed),ref:t},v),d&&i&&0!==h&&o.cloneElement(d,{orientation:g,alternativeLabel:i,index:h,active:r,completed:u,disabled:f}),o.Children.map(a,(function(e){return o.isValidElement(e)?o.cloneElement(e,vi({active:r,alternativeLabel:i,completed:u,disabled:f,last:m,icon:h+1,orientation:g},e.props)):null})))}));Uc({root:{},horizontal:{paddingLeft:8,paddingRight:8},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}},{name:"MuiStep"})(Xg);var Gg=Xd(o.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"})),Zg=Xd(o.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})),Jg=o.createElement("circle",{cx:"12",cy:"12",r:"12"}),Qg=o.forwardRef((function(e,t){var n=e.completed,r=void 0!==n&&n,i=e.icon,a=e.active,s=void 0!==a&&a,l=e.error,c=void 0!==l&&l,u=e.classes;return"number"==typeof i||"string"==typeof i?c?o.createElement(Zg,{className:Tc(u.root,u.error),ref:t}):r?o.createElement(Gg,{className:Tc(u.root,u.completed),ref:t}):o.createElement(Kd,{className:Tc(u.root,s&&u.active),ref:t},Jg,o.createElement("text",{className:u.text,x:"12",y:"16",textAnchor:"middle"},i)):i})),ev=Uc((function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$active":{color:e.palette.primary.main},"&$completed":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}}),{name:"MuiStepIcon"})(Qg),tv=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.alternativeLabel,a=void 0!==i&&i,s=e.children,l=e.classes,c=e.className,u=e.completed,d=void 0!==u&&u,p=e.disabled,f=void 0!==p&&p,h=e.error,m=void 0!==h&&h,g=e.icon;e.last;var v=e.optional,y=e.orientation,b=void 0===y?"horizontal":y,x=e.StepIconComponent,w=e.StepIconProps,E=yi(e,["active","alternativeLabel","children","classes","className","completed","disabled","error","icon","last","optional","orientation","StepIconComponent","StepIconProps"]),C=x;return g&&!C&&(C=ev),o.createElement("span",vi({className:Tc(l.root,l[b],c,f&&l.disabled,a&&l.alternativeLabel,m&&l.error),ref:t},E),g||C?o.createElement("span",{className:Tc(l.iconContainer,a&&l.alternativeLabel)},o.createElement(C,vi({completed:d,active:r,error:m,icon:g},w))):null,o.createElement("span",{className:l.labelContainer},o.createElement(_d,{variant:"body2",component:"span",className:Tc(l.label,a&&l.alternativeLabel,d&&l.completed,r&&l.active,m&&l.error),display:"block"},s),v))}));tv.muiName="StepLabel";var nv=Uc((function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{flexShrink:0,display:"flex",paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}}),{name:"MuiStepLabel"})(tv),rv=o.forwardRef((function(e,t){var n=e.active,r=e.alternativeLabel,i=e.children,a=e.classes,s=e.className,l=e.completed,c=e.disabled,u=e.icon;e.last;var d=e.optional,p=e.orientation,f=yi(e,["active","alternativeLabel","children","classes","className","completed","disabled","icon","last","optional","orientation"]),h={active:n,alternativeLabel:r,completed:l,disabled:c,icon:u,optional:d,orientation:p},m=zf(i,["StepLabel"])?o.cloneElement(i,h):o.createElement(nv,h,i);return o.createElement(ad,vi({disabled:c,TouchRippleProps:{className:a.touchRipple},className:Tc(a.root,a[p],s),ref:t},f),m)}));Uc({root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start",padding:"8px",margin:"-8px"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}},{name:"MuiStepButton"})(rv);var ov=o.forwardRef((function(e,t){var n=e.active,r=e.alternativeLabel,i=void 0!==r&&r,a=e.classes,s=e.className,l=e.completed,c=e.disabled;e.index;var u=e.orientation,d=void 0===u?"horizontal":u,p=yi(e,["active","alternativeLabel","classes","className","completed","disabled","index","orientation"]);return o.createElement("div",vi({className:Tc(a.root,a[d],s,i&&a.alternativeLabel,n&&a.active,l&&a.completed,c&&a.disabled),ref:t},p),o.createElement("span",{className:Tc(a.line,"vertical"===d?a.lineVertical:a.lineHorizontal)}))})),iv=Uc((function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"},active:{},completed:{},disabled:{},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}}),{name:"MuiStepConnector"})(ov),av=o.forwardRef((function(e,t){var n=e.active;e.alternativeLabel;var r=e.children,i=e.classes,a=e.className;e.completed;var s=e.last;e.optional,e.orientation;var l=e.TransitionComponent,c=void 0===l?Ip:l,u=e.transitionDuration,d=void 0===u?"auto":u,p=e.TransitionProps,f=yi(e,["active","alternativeLabel","children","classes","className","completed","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]),h=d;return"auto"!==d||c.muiSupportAuto||(h=void 0),o.createElement("div",vi({className:Tc(i.root,a,s&&i.last),ref:t},f),o.createElement(c,vi({in:n,className:i.transition,timeout:h,unmountOnExit:!0},p),r))}));Uc((function(e){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600])},last:{borderLeft:"none"},transition:{}}}),{name:"MuiStepContent"})(av);var sv=o.createElement(iv,null),lv=o.forwardRef((function(e,t){var n=e.activeStep,r=void 0===n?0:n,i=e.alternativeLabel,a=void 0!==i&&i,s=e.children,l=e.classes,c=e.className,u=e.connector,d=void 0===u?sv:u,p=e.nonLinear,f=void 0!==p&&p,h=e.orientation,m=void 0===h?"horizontal":h,g=yi(e,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),v=o.isValidElement(d)?o.cloneElement(d,{orientation:m}):null,y=o.Children.toArray(s),b=y.map((function(e,t){var n={alternativeLabel:a,connector:d,last:t+1===y.length,orientation:m},i={index:t,active:!1,completed:!1,disabled:!1};return r===t?i.active=!0:!f&&r>t?i.completed=!0:!f&&r<t&&(i.disabled=!0),[!a&&v&&0!==t&&o.cloneElement(v,vi({key:t},i)),o.cloneElement(e,vi({},n,{},i,{},e.props))]}));return o.createElement(Kc,vi({square:!0,elevation:0,className:Tc(l.root,l[m],c,a&&l.alternativeLabel),ref:t},g),b)}));Uc({root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}},{name:"MuiStepper"})(lv);var cv=o.forwardRef((function(e,t){var n=e.anchor,r=e.classes,i=e.className,a=e.width,s=yi(e,["anchor","classes","className","width"]);return o.createElement("div",vi({className:Tc(r.root,r["anchor".concat(_c(n))],i),ref:t,style:gi({},ff(n)?"width":"height",a)},s))})),uv=Uc((function(e){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}}),{name:"PrivateSwipeArea"})(cv),dv=null;function pv(e,t){return"right"===e?document.body.offsetWidth-t[0].pageX:t[0].pageX}function fv(e,t){return"bottom"===e?window.innerHeight-t[0].clientY:t[0].clientY}function hv(e,t){return e?t.clientWidth:t.clientHeight}function mv(e,t,n,r){return Math.min(Math.max(n?t-e:r+t-e,0),r)}var gv="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),vv={enter:la.enteringScreen,exit:la.leavingScreen},yv="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;o.forwardRef((function(e,t){var n=e.anchor,r=void 0===n?"left":n,i=e.disableBackdropTransition,a=void 0!==i&&i,s=e.disableDiscovery,c=void 0!==s&&s,u=e.disableSwipeToOpen,d=void 0===u?gv:u,p=e.hideBackdrop,f=e.hysteresis,h=void 0===f?.52:f,m=e.minFlingVelocity,g=void 0===m?450:m,v=e.ModalProps,y=(v=void 0===v?{}:v).BackdropProps,b=yi(v,["BackdropProps"]),x=e.onClose,w=e.onOpen,E=e.open,C=e.PaperProps,k=void 0===C?{}:C,S=e.SwipeAreaProps,T=e.swipeAreaWidth,R=void 0===T?20:T,N=e.transitionDuration,P=void 0===N?vv:N,M=e.variant,D=void 0===M?"temporary":M,L=yi(e,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"]),I=Vc(),O=o.useState(!1),A=O[0],q=O[1],z=o.useRef({isSwiping:null}),F=o.useRef(),W=o.useRef(),H=o.useRef(),j=o.useRef(!1),B=o.useRef();yv((function(){B.current=null}),[E]);var $=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,o=void 0===n?null:n,i=t.changeTransition,s=void 0===i||i,l=hf(I,r),c=-1!==["right","bottom"].indexOf(l)?1:-1,u=ff(r),d=u?"translate(".concat(c*e,"px, 0)"):"translate(0, ".concat(c*e,"px)"),f=H.current.style;f.webkitTransform=d,f.transform=d;var h="";if(o&&(h=I.transitions.create("all",Nu({timeout:P},{mode:o}))),s&&(f.webkitTransition=h,f.transition=h),!a&&!p){var m=W.current.style;m.opacity=1-e/hv(u,H.current),s&&(m.webkitTransition=h,m.transition=h)}}),[r,a,p,I,P]),V=Wu((function(e){if(j.current)if(dv=null,j.current=!1,q(!1),z.current.isSwiping){z.current.isSwiping=null;var t,n=hf(I,r),o=ff(r);t=o?pv(n,e.changedTouches):fv(n,e.changedTouches);var i=o?z.current.startX:z.current.startY,a=hv(o,H.current),s=mv(t,i,E,a),l=s/a;Math.abs(z.current.velocity)>g&&(B.current=1e3*Math.abs((a-s)/z.current.velocity)),E?z.current.velocity>g||l>h?x():$(0,{mode:"exit"}):z.current.velocity<-g||1-l>h?w():$(hv(o,H.current),{mode:"enter"})}else z.current.isSwiping=null})),U=Wu((function(e){if(H.current&&j.current&&(null==dv||dv===z.current)){var t=hf(I,r),n=ff(r),o=pv(t,e.touches),i=fv(t,e.touches);if(E&&H.current.contains(e.target)&&null==dv){var a=function(e){var t=e.domTreeShapes,n=e.start,r=e.current,o=e.anchor,i={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},s={x:"clientWidth",y:"clientHeight"};return t.some((function(e){var t=r>=n;"top"!==o&&"left"!==o||(t=!t);var l="left"===o||"right"===o?"x":"y",c=e[i[l]],u=c>0,d=c+e[s[l]]<e[a[l]];return t&&d||!t&&u?e:null}))}({domTreeShapes:function(e,t){for(var n=[];e&&e!==t;){var r=window.getComputedStyle(e);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")?n=[]:(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}(e.target,H.current),start:n?z.current.startX:z.current.startY,current:n?o:i,anchor:r});if(a)return void(dv=a);dv=z.current}if(null==z.current.isSwiping){var s=Math.abs(o-z.current.startX),l=Math.abs(i-z.current.startY);s>l&&e.cancelable&&e.preventDefault();var u=n?s>l&&s>3:l>s&&l>3;if(!0===u||(n?l>3:s>3)){if(z.current.isSwiping=u,!u)return void V(e);z.current.startX=o,z.current.startY=i,c||E||(n?z.current.startX-=R:z.current.startY-=R)}}if(z.current.isSwiping){var d=hv(n,H.current),p=n?z.current.startX:z.current.startY;E&&!z.current.paperHit&&(p=Math.min(p,d));var f=mv(n?o:i,p,E,d);if(E)if(z.current.paperHit)0===f&&(z.current.startX=o,z.current.startY=i);else{if(!(n?o<d:i<d))return;z.current.paperHit=!0,z.current.startX=o,z.current.startY=i}null===z.current.lastTranslate&&(z.current.lastTranslate=f,z.current.lastTime=performance.now()+1);var h=(f-z.current.lastTranslate)/(performance.now()-z.current.lastTime)*1e3;z.current.velocity=.4*z.current.velocity+.6*h,z.current.lastTranslate=f,z.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),$(f)}}})),_=Wu((function(e){if(!e.defaultPrevented&&!e.muiHandled&&(!E||W.current.contains(e.target)||H.current.contains(e.target))){var t=hf(I,r),n=ff(r),o=pv(t,e.touches),i=fv(t,e.touches);if(!E){if(d||e.target!==F.current)return;if(n){if(o>R)return}else if(i>R)return}e.muiHandled=!0,dv=null,z.current.startX=o,z.current.startY=i,q(!0),!E&&H.current&&$(hv(n,H.current)+(c?20:-R),{changeTransition:!1}),z.current.velocity=0,z.current.lastTime=null,z.current.lastTranslate=null,z.current.paperHit=!1,j.current=!0}}));o.useEffect((function(){if("temporary"===D)return document.body.addEventListener("touchstart",_),document.body.addEventListener("touchmove",U,{passive:!1}),document.body.addEventListener("touchend",V),function(){document.body.removeEventListener("touchstart",_),document.body.removeEventListener("touchmove",U,{passive:!1}),document.body.removeEventListener("touchend",V)}}),[D,_,U,V]),o.useEffect((function(){return function(){dv===z.current&&(dv=null)}}),[]),o.useEffect((function(){E||q(!1)}),[E]);var Y=o.useCallback((function(e){W.current=l.findDOMNode(e)}),[]),K=o.useCallback((function(e){H.current=l.findDOMNode(e)}),[]);return o.createElement(o.Fragment,null,o.createElement(vf,vi({open:!("temporary"!==D||!A)||E,variant:D,ModalProps:vi({BackdropProps:vi({},y,{ref:Y})},b),PaperProps:vi({},k,{style:vi({pointerEvents:"temporary"!==D||E?"":"none"},k.style),ref:K}),anchor:r,transitionDuration:B.current||P,onClose:x,ref:t},L)),!d&&"temporary"===D&&o.createElement(ju,null,o.createElement(uv,vi({anchor:r,ref:F,width:R},S))))}));var bv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"secondary":i,s=e.edge,l=void 0!==s&&s,c=e.size,u=void 0===c?"medium":c,d=yi(e,["classes","className","color","edge","size"]),p=o.createElement("span",{className:n.thumb});return o.createElement("span",{className:Tc(n.root,r,{start:n.edgeStart,end:n.edgeEnd}[l],{small:n["size".concat(_c(u))]}[u])},o.createElement(gp,vi({type:"checkbox",icon:p,checkedIcon:p,classes:{root:Tc(n.switchBase,n["color".concat(_c(a))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:t},d)),o.createElement("span",{className:n.track}))}));Uc((function(e){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle"},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),"&$checked":{transform:"translateX(50%)"},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===e.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}}),{name:"MuiSwitch"})(bv);var xv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disabled,a=void 0!==i&&i,s=e.disableFocusRipple,l=void 0!==s&&s,c=e.fullWidth,u=e.icon,d=e.indicator,p=e.label,f=e.onChange,h=e.onClick,m=e.selected,g=e.textColor,v=void 0===g?"inherit":g,y=e.value,b=e.wrapped,x=void 0!==b&&b,w=yi(e,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","selected","textColor","value","wrapped"]);return o.createElement(ad,vi({focusRipple:!l,className:Tc(n.root,n["textColor".concat(_c(v))],r,a&&n.disabled,m&&n.selected,p&&u&&n.labelIcon,c&&n.fullWidth,x&&n.wrapped),ref:t,role:"tab","aria-selected":m,disabled:a,onClick:function(e){f&&f(e,y),h&&h(e)}},w),o.createElement("span",{className:n.wrapper},u,p),d)}));Uc((function(e){var t;return{root:vi({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},gi(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),gi(t,"overflow","hidden"),gi(t,"whiteSpace","normal"),gi(t,"textAlign","center"),gi(t,e.breakpoints.up("sm"),{fontSize:e.typography.pxToRem(13),minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}}),{name:"MuiTab"})(xv);var wv=o.createContext(),Ev=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"table":i,s=e.padding,l=void 0===s?"default":s,c=e.size,u=void 0===c?"medium":c,d=e.stickyHeader,p=void 0!==d&&d,f=yi(e,["classes","className","component","padding","size","stickyHeader"]),h=o.useMemo((function(){return{padding:l,size:u,stickyHeader:p}}),[l,u,p]);return o.createElement(wv.Provider,{value:h},o.createElement(a,vi({ref:t,className:Tc(n.root,r,p&&n.stickyHeader)},f)))}));Uc((function(e){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":vi({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(Ev);var Cv=o.createContext(),kv={variant:"body"},Sv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tbody":i,s=yi(e,["classes","className","component"]);return o.createElement(Cv.Provider,{value:kv},o.createElement(a,vi({className:Tc(n.root,r),ref:t},s)))}));Uc({root:{display:"table-row-group"}},{name:"MuiTableBody"})(Sv);var Tv=o.forwardRef((function(e,t){var n,r=e.align,i=void 0===r?"inherit":r,a=e.classes,s=e.className,l=e.component,c=e.padding,u=e.scope,d=e.size,p=e.sortDirection,f=e.variant,h=yi(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),m=o.useContext(wv),g=o.useContext(Cv);n=l||(g&&"head"===g.variant?"th":"td");var v=u;!v&&g&&"head"===g.variant&&(v="col");var y=c||(m&&m.padding?m.padding:"default"),b=d||(m&&m.size?m.size:"medium"),x=f||g&&g.variant,w=null;return p&&(w="asc"===p?"ascending":"descending"),o.createElement(n,vi({ref:t,className:Tc(a.root,a[x],s,"inherit"!==i&&a["align".concat(_c(i))],"default"!==y&&a["padding".concat(_c(y))],"medium"!==b&&a["size".concat(_c(b))],{head:m&&m.stickyHeader&&a.stickyHeader}[x]),"aria-sort":w,scope:v},h))})),Rv=Uc((function(e){return{root:vi({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?mi(fi(e.palette.divider,1),.88):hi(fi(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0px 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(Tv),Nv={variant:"footer"},Pv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tfoot":i,s=yi(e,["classes","className","component"]);return o.createElement(Cv.Provider,{value:Nv},o.createElement(a,vi({className:Tc(n.root,r),ref:t},s)))}));Uc({root:{display:"table-footer-group"}},{name:"MuiTableFooter"})(Pv);var Mv={variant:"head"},Dv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"thead":i,s=yi(e,["classes","className","component"]);return o.createElement(Cv.Provider,{value:Mv},o.createElement(a,vi({className:Tc(n.root,r),ref:t},s)))}));Uc({root:{display:"table-header-group"}},{name:"MuiTableHead"})(Dv);var Lv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.disableGutters,l=void 0!==s&&s,c=e.variant,u=void 0===c?"regular":c,d=yi(e,["classes","className","component","disableGutters","variant"]);return o.createElement(a,vi({className:Tc(n.root,n[u],r,!l&&n.gutters),ref:t},d))})),Iv=Uc((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:gi({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(Lv),Ov=Xd(o.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),Av=Xd(o.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"})),qv=o.createElement(Av,null),zv=o.createElement(Ov,null),Fv=o.createElement(Ov,null),Wv=o.createElement(Av,null),Hv=o.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,i=e.nextIconButtonProps,a=e.onChangePage,s=e.page,l=e.rowsPerPage,c=yi(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),u=Vc();return o.createElement("div",vi({ref:t},c),o.createElement(hp,vi({onClick:function(e){a(e,s-1)},disabled:0===s,color:"inherit"},n),"rtl"===u.direction?qv:zv),o.createElement(hp,vi({onClick:function(e){a(e,s+1)},disabled:s>=Math.ceil(r/l)-1,color:"inherit"},i),"rtl"===u.direction?Fv:Wv))})),jv=function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(-1===n?r:n," of ").concat(r)},Bv=[10,25,50,100],$v=o.forwardRef((function(e,t){var n,r=e.ActionsComponent,i=void 0===r?Hv:r,a=e.backIconButtonProps,s=e.classes,l=e.className,c=e.colSpan,u=e.component,d=void 0===u?Rv:u,p=e.count,f=e.labelDisplayedRows,h=void 0===f?jv:f,m=e.labelRowsPerPage,g=void 0===m?"Rows per page:":m,v=e.nextIconButtonProps,y=e.onChangePage,b=e.onChangeRowsPerPage,x=e.page,w=e.rowsPerPage,E=e.rowsPerPageOptions,C=void 0===E?Bv:E,k=e.SelectProps,S=void 0===k?{}:k,T=yi(e,["ActionsComponent","backIconButtonProps","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);d!==Rv&&"td"!==d||(n=c||1e3);var R=S.native?"option":Xh;return o.createElement(d,vi({className:Tc(s.root,l),colSpan:n,ref:t},T),o.createElement(Iv,{className:s.toolbar},o.createElement("div",{className:s.spacer}),C.length>1&&o.createElement(_d,{color:"inherit",variant:"body2",className:s.caption},g),C.length>1&&o.createElement(Lg,vi({classes:{select:s.select,icon:s.selectIcon},input:o.createElement(Of,{className:Tc(s.input,s.selectRoot)}),value:w,onChange:b},S),C.map((function(e){return o.createElement(R,{className:s.menuItem,key:e,value:e.value?e.value:e},e.label?e.label:e)}))),o.createElement(_d,{color:"inherit",variant:"body2",className:s.caption},h({from:0===p?0:x*w+1,to:Math.min(p,(x+1)*w),count:p,page:x})),o.createElement(i,{className:s.actions,backIconButtonProps:a,count:p,nextIconButtonProps:v,onChangePage:y,page:x,rowsPerPage:w})))}));Uc((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{top:1},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})($v);var Vv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tr":i,s=e.hover,l=void 0!==s&&s,c=e.selected,u=void 0!==c&&c,d=yi(e,["classes","className","component","hover","selected"]),p=o.useContext(Cv);return o.createElement(a,vi({ref:t,className:Tc(n.root,r,p&&{head:n.head,footer:n.footer}[p.variant],l&&n.hover,u&&n.selected)},d))}));Uc((function(e){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$selected":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.04)":"rgba(255, 255, 255, 0.08)"},"&$hover:hover":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.07)":"rgba(255, 255, 255, 0.14)"}},selected:{},hover:{},head:{},footer:{}}}),{name:"MuiTableRow"})(Vv);var Uv=Xd(o.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"})),_v=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.children,a=e.classes,s=e.className,l=e.direction,c=void 0===l?"desc":l,u=e.hideSortIcon,d=void 0!==u&&u,p=e.IconComponent,f=void 0===p?Uv:p,h=yi(e,["active","children","classes","className","direction","hideSortIcon","IconComponent"]);return o.createElement(ad,vi({className:Tc(a.root,s,r&&a.active),component:"span",disableRipple:!0,ref:t},h),i,d&&!r?null:o.createElement(f,{className:Tc(a.icon,a["iconDirection".concat(_c(c))])}))}));Uc((function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:e.palette.text.secondary},"&:hover":{color:e.palette.text.secondary,"& $icon":{opacity:1}},"&$active":{color:e.palette.text.primary,"&& $icon":{opacity:1,color:e.palette.text.secondary}}},active:{},icon:{marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}}),{name:"MuiTableSortLabel"})(_v);var Yv,Kv=!("undefined"==typeof window||!window.document||!window.document.createElement);function Xv(){if(Yv)return Yv;if(!Kv||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Yv="reverse",e.scrollLeft>0?Yv="default":(e.scrollLeft=1,0===e.scrollLeft&&(Yv="negative")),document.body.removeChild(e),Yv}function Gv(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=Xv();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n}function Zv(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var Jv={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Qv(e){var t=e.onChange,n=yi(e,["onChange"]),r=o.useRef(),i=o.useRef(null),a=function(){r.current=i.current.offsetHeight-i.current.clientHeight};return o.useEffect((function(){var e=lf((function(){var e=r.current;a(),e!==r.current&&t(r.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[t]),o.useEffect((function(){a(),t(r.current)}),[t]),o.createElement("div",vi({style:Jv,ref:i},n))}var ey=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=e.orientation,s=yi(e,["classes","className","color","orientation"]);return o.createElement("span",vi({className:Tc(n.root,n["color".concat(_c(i))],r,{vertical:n.vertical}[a]),ref:t},s))})),ty=Uc((function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}}),{name:"PrivateTabIndicator"})(ey),ny=o.createElement(Ov,{fontSize:"small"}),ry=o.createElement(Av,{fontSize:"small"}),oy=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.direction,a=e.orientation,s=e.visible,l=yi(e,["classes","className","direction","orientation","visible"]),c=Tc(n.root,r,{vertical:n.vertical}[a]);return s?o.createElement(ad,vi({component:"div",className:c,ref:t,role:null,tabIndex:null},l),"left"===i?ny:ry):o.createElement("div",{className:c})})),iy=Uc({root:{width:40,flexShrink:0},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}}},{name:"PrivateTabScrollButton"})(oy),ay=o.forwardRef((function(e,t){var n=e.action,r=e.centered,i=void 0!==r&&r,a=e.children,s=e.classes,l=e.className,c=e.component,u=void 0===c?"div":c,d=e.indicatorColor,p=void 0===d?"secondary":d,f=e.onChange,h=e.orientation,m=void 0===h?"horizontal":h,g=e.ScrollButtonComponent,v=void 0===g?iy:g,y=e.scrollButtons,b=void 0===y?"auto":y,x=e.TabIndicatorProps,w=void 0===x?{}:x,E=e.textColor,C=void 0===E?"inherit":E,k=e.value,S=e.variant,T=void 0===S?"standard":S,R=yi(e,["action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","TabIndicatorProps","textColor","value","variant"]),N=Vc(),P="scrollable"===T,M="rtl"===N.direction,D="vertical"===m,L=D?"scrollTop":"scrollLeft",I=D?"top":"left",O=D?"bottom":"right",A=D?"clientHeight":"clientWidth",q=D?"height":"width",z=o.useState(!1),F=z[0],W=z[1],H=o.useState({}),j=H[0],B=H[1],$=o.useState({start:!1,end:!1}),V=$[0],U=$[1],_=o.useState({overflow:"hidden",marginBottom:null}),Y=_[0],K=_[1],X=new Map,G=o.useRef(null),Z=o.useRef(null),J=function(){var e,t,n=G.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:Gv(n,N.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==k){var o=Z.current.children;if(o.length>0){var i=o[X.get(k)];t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},Q=Wu((function(){var e,t=J(),n=t.tabsMeta,r=t.tabMeta,o=0;if(r&&n)if(D)o=r.top-n.top+n.scrollTop;else{var i=M?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;o=r.left-n.left+i}var a=(gi(e={},I,o),gi(e,q,r?r[q]:0),e);if(isNaN(j[I])||isNaN(j[q]))B(a);else{var s=Math.abs(j[I]-a[I]),l=Math.abs(j[q]-a[q]);(s>=1||l>=1)&&B(a)}})),ee=function(e){!function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?Zv:i,s=r.duration,l=void 0===s?300:s,c=null,u=t[e],d=!1,p=function(){d=!0},f=function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var s=Math.min(1,(i-c)/l);t[e]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};u===n?o(new Error("Element already at target position")):requestAnimationFrame(f)}(L,G.current,e)},te=function(e){var t=G.current[L];D?t+=e:(t+=e*(M?-1:1),t*=M&&"reverse"===Xv()?-1:1),ee(t)},ne=function(){te(-G.current[A])},re=function(){te(G.current[A])},oe=o.useCallback((function(e){K({overflow:null,marginBottom:-e})}),[]),ie=Wu((function(){var e=J(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[I]<t[I]){var r=t[L]+(n[I]-t[I]);ee(r)}else if(n[O]>t[O]){var o=t[L]+(n[O]-t[O]);ee(o)}})),ae=Wu((function(){if(P&&"off"!==b){var e,t,n=G.current,r=n.scrollTop,o=n.scrollHeight,i=n.clientHeight,a=n.scrollWidth,s=n.clientWidth;if(D)e=r>1,t=r<o-i-1;else{var l=Gv(G.current,N.direction);e=M?l<a-s-1:l>1,t=M?l>1:l<a-s-1}e===V.start&&t===V.end||U({start:e,end:t})}}));o.useEffect((function(){var e=lf((function(){Q(),ae()})),t=Bp(G.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}),[Q,ae]);var se=o.useCallback(lf((function(){ae()})));o.useEffect((function(){return function(){se.clear()}}),[se]),o.useEffect((function(){W(!0)}),[]),o.useEffect((function(){Q(),ae()})),o.useEffect((function(){ie()}),[ie,j]),o.useImperativeHandle(n,(function(){return{updateIndicator:Q,updateScrollButtons:ae}}),[Q,ae]);var le=o.createElement(ty,vi({className:s.indicator,orientation:m,color:p},w,{style:vi({},j,{},w.style)})),ce=0,ue=o.Children.map(a,(function(e){if(!o.isValidElement(e))return null;var t=void 0===e.props.value?ce:e.props.value;X.set(t,ce);var n=t===k;return ce+=1,o.cloneElement(e,{fullWidth:"fullWidth"===T,indicator:n&&!F&&le,selected:n,onChange:f,textColor:C,value:t})})),de=function(){var e={};e.scrollbarSizeListener=P?o.createElement(Qv,{className:s.scrollable,onChange:oe}):null;var t=V.start||V.end,n=P&&("auto"===b&&t||"desktop"===b||"on"===b);return e.scrollButtonStart=n?o.createElement(v,{orientation:m,direction:M?"right":"left",onClick:ne,visible:V.start,className:Tc(s.scrollButtons,"on"!==b&&s.scrollButtonsDesktop)}):null,e.scrollButtonEnd=n?o.createElement(v,{orientation:m,direction:M?"left":"right",onClick:re,visible:V.end,className:Tc(s.scrollButtons,"on"!==b&&s.scrollButtonsDesktop)}):null,e}();return o.createElement(u,vi({className:Tc(s.root,l,D&&s.vertical),ref:t},R),de.scrollButtonStart,de.scrollbarSizeListener,o.createElement("div",{className:Tc(s.scroller,P?s.scrollable:s.fixed),style:Y,ref:G,onScroll:se},o.createElement("div",{className:Tc(s.flexContainer,D&&s.flexContainerVertical,i&&!P&&s.centered),ref:Z,role:"tablist"},ue),F&&le),de.scrollButtonEnd)}));Uc((function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:gi({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}}),{name:"MuiTabs"})(ay);var sy={standard:ph,filled:qf,outlined:im},ly=o.forwardRef((function(e,t){var n=e.autoComplete,r=e.autoFocus,i=e.children,a=e.classes,s=e.className,c=e.color,u=void 0===c?"primary":c,d=e.defaultValue,p=e.error,f=e.FormHelperTextProps,h=e.fullWidth,m=e.helperText,g=e.hiddenLabel,v=e.id,y=e.InputLabelProps,b=e.inputProps,x=e.InputProps,w=e.inputRef,E=e.label,C=e.multiline,k=e.name,S=e.onBlur,T=e.onChange,R=e.onFocus,N=e.placeholder,P=e.required,M=void 0!==P&&P,D=e.rows,L=e.rowsMax,I=e.select,O=void 0!==I&&I,A=e.SelectProps,q=e.type,z=e.value,F=e.variant,W=void 0===F?"standard":F,H=yi(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]),j=o.useState(0),B=j[0],$=j[1],V=o.useRef(null);o.useEffect((function(){if("outlined"===W){var e=l.findDOMNode(V.current);$(null!=e?e.offsetWidth:0)}}),[W,M,E]);var U={};"outlined"===W&&(y&&void 0!==y.shrink&&(U.notched=y.shrink),U.labelWidth=B),O&&(A&&A.native||(U.id=void 0),U["aria-describedby"]=void 0);var _=m&&v?"".concat(v,"-helper-text"):void 0,Y=E&&v?"".concat(v,"-label"):void 0,K=sy[W],X=o.createElement(K,vi({"aria-describedby":_,autoComplete:n,autoFocus:r,defaultValue:d,fullWidth:h,multiline:C,name:k,rows:D,rowsMax:L,type:q,value:z,id:v,inputRef:w,onBlur:S,onChange:T,onFocus:R,placeholder:N,inputProps:b},U,x));return o.createElement(Wf,vi({className:Tc(a.root,s),error:p,fullWidth:h,hiddenLabel:g,ref:t,required:M,color:u,variant:W},H),E&&o.createElement(mh,vi({htmlFor:v,ref:V,id:Y},y),E),O?o.createElement(Lg,vi({"aria-describedby":_,id:v,labelId:Y,value:z,input:X},A),i):X,m&&o.createElement(Vf,vi({id:_},f),m))}));function cy(e){return Math.round(1e5*e)/1e5}Uc({root:{}},{name:"MuiTextField"})(ly);var uy=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.disableFocusListener,a=void 0!==i&&i,s=e.disableHoverListener,c=void 0!==s&&s,u=e.disableTouchListener,d=void 0!==u&&u,p=e.enterDelay,f=void 0===p?0:p,h=e.enterTouchDelay,m=void 0===h?700:h,g=e.id,v=e.interactive,y=void 0!==v&&v,b=e.leaveDelay,x=void 0===b?0:b,w=e.leaveTouchDelay,E=void 0===w?1500:w,C=e.onClose,k=e.onOpen,S=e.open,T=e.placement,R=void 0===T?"bottom":T,N=e.PopperProps,P=e.title,M=e.TransitionComponent,D=void 0===M?rh:M,L=e.TransitionProps,I=yi(e,["children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperProps","title","TransitionComponent","TransitionProps"]),O=Vc(),A=o.useState(!1),q=A[0],z=A[1],F=o.useState(0)[1],W=o.useState(),H=W[0],j=W[1],B=o.useRef(!1),$=o.useRef(null!=S).current,V=o.useRef(),U=o.useRef(),_=o.useRef(),Y=o.useRef(),K=o.useRef();o.useEffect((function(){V.current||(V.current="mui-tooltip-".concat(Math.round(1e5*Math.random()))),S&&F((function(e){return!e}))}),[S]),o.useEffect((function(){return function(){clearTimeout(U.current),clearTimeout(_.current),clearTimeout(Y.current),clearTimeout(K.current)}}),[]);var X=function(e){$||q||z(!0),k&&k(e)},G=function(e){var t=n.props;"mouseover"===e.type&&t.onMouseOver&&t.onMouseOver(e),B.current&&"touchstart"!==e.type||(H&&H.removeAttribute("title"),clearTimeout(_.current),clearTimeout(Y.current),f?(e.persist(),_.current=setTimeout((function(){X(e)}),f)):X(e))},Z=Zu(),J=Z.isFocusVisible,Q=Z.onBlurVisible,ee=Z.ref,te=o.useState(!1),ne=te[0],re=te[1],oe=function(e){$||z(!1),C&&C(e),clearTimeout(U.current),U.current=setTimeout((function(){B.current=!1}),O.transitions.duration.shortest)},ie=function(e){var t=n.props;"blur"===e.type&&(t.onBlur&&t.onBlur(e),ne&&(re(!1),Q())),"mouseleave"===e.type&&t.onMouseLeave&&t.onMouseLeave(e),clearTimeout(_.current),clearTimeout(Y.current),e.persist(),Y.current=setTimeout((function(){oe(e)}),x)},ae=Mu(j,t),se=Mu(ee,ae),le=o.useCallback((function(e){Pu(se,l.findDOMNode(e))}),[se]),ce=Mu(n.ref,le),ue=$?S:q;""===P&&(ue=!1);var de=!ue&&!c,pe=vi({"aria-describedby":ue?g||V.current:null,title:de&&"string"==typeof P?P:null},I,{},n.props,{className:Tc(I.className,n.props.className)});d||(pe.onTouchStart=function(e){B.current=!0;var t=n.props;t.onTouchStart&&t.onTouchStart(e),clearTimeout(Y.current),clearTimeout(U.current),clearTimeout(K.current),e.persist(),K.current=setTimeout((function(){G(e)}),m)},pe.onTouchEnd=function(e){n.props.onTouchEnd&&n.props.onTouchEnd(e),clearTimeout(K.current),clearTimeout(Y.current),e.persist(),Y.current=setTimeout((function(){oe(e)}),E)}),c||(pe.onMouseOver=G,pe.onMouseLeave=ie),a||(pe.onFocus=function(e){H||j(e.currentTarget),J(e)&&(re(!0),G(e));var t=n.props;t.onFocus&&t.onFocus(e)},pe.onBlur=ie);var fe=y?{onMouseOver:pe.onMouseOver,onMouseLeave:pe.onMouseLeave,onFocus:pe.onFocus,onBlur:pe.onBlur}:{};return o.createElement(o.Fragment,null,o.cloneElement(n,vi({ref:ce},pe)),o.createElement(mg,vi({className:Tc(r.popper,y&&r.popperInteractive),placement:R,anchorEl:H,open:!!H&&ue,id:pe["aria-describedby"],transition:!0},fe,N),(function(e){var t=e.placement,n=e.TransitionProps;return o.createElement(D,vi({timeout:O.transitions.duration.shorter},n,L),o.createElement("div",{className:Tc(r.tooltip,r["tooltipPlacement".concat(_c(t.split("-")[0]))],B.current&&r.touch)},P))})))}));Uc((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none",flip:!1},popperInteractive:{pointerEvents:"auto"},tooltip:{backgroundColor:fi(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(cy(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(cy(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:gi({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:gi({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:gi({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:gi({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip"})(uy);var dy={entering:{transform:"none"},entered:{transform:"none"}},py={enter:la.enteringScreen,exit:la.leavingScreen};function fy(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function hy({d:e,size:t,style:n={},viewBox:r="0 0 16 16"}){const i={fontSize:fy(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",...n};return o.createElement("i",{style:i},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},o.createElement("path",{d:e})))}o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?py:l,u=yi(e,["children","in","onEnter","onExit","style","timeout"]),d=Vc(),p=Mu(n.ref,t);return o.createElement(lu,vi({appear:!0,in:r,onEnter:function(e,t){Ru(e);var n=Nu({style:s,timeout:c},{mode:"enter"});e.style.webkitTransition=d.transitions.create("transform",n),e.style.transition=d.transitions.create("transform",n),i&&i(e,t)},onExit:function(e){var t=Nu({style:s,timeout:c},{mode:"exit"});e.style.webkitTransition=d.transitions.create("transform",t),e.style.transition=d.transitions.create("transform",t),a&&a(e)},timeout:c},u),(function(e,t){return o.cloneElement(n,vi({style:vi({transform:"scale(0)",visibility:"exited"!==e||r?void 0:"hidden"},dy[e],{},s,{},n.props.style),ref:p},t))}))}));const my={d:"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"},gy={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"},vy="M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z",yy={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"},by={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"};function xy(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 wy(e,t,n,r,o,i){e.getEffectiveProperties().then((a=>{const s=Q(!0,{},a),l=s.qHyperCubeDef[r][t],c=s.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][n];c.qAttributeDimensions=l.qAttributeDimensions,l.qAttributeDimensions=[],i||(c.qAttributeExpressions=l.qAttributeExpressions,l.qAttributeExpressions=[]),s.qHyperCubeDef[r][t]=c,s.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][n]=l,o&&o({oldItem:l,newItem:c,oldProperties:a,newProperties:s,model:e}),xy(e,a,s)}))}function Ey({dir:e,dock:t,altList:n,model:r,translator:o,app:i,onChange:a}){return 0===n.length?null:{dir:e,dock:t,getAlternatives(){const e=n.map((e=>function(e,t,n){if(e.qLibraryId)return t.getDimension(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null)).then((e=>e?"H"!==e.qDim.qGrouping&&e.qDim.qLabelExpression?e.qDim.qLabelExpression:e.qDim.title:n.get("Object.ErrorMessage.MissingDimension")));const r=e.qDef.qLabelExpression;if(r)return t.evaluate(r);const o=e.qDef.qFieldLabels[0]||e.qDef.qFieldDefs[0];return Promise.resolve(o)}(e,i,o).then((t=>({id:e.qDef.cId,selected:!1,title:t})))));return Promise.all(e)},changeTo(e,t){wy(r,e,t,"qDimensions",a)}}}function Cy(e,t,n,r="/qHyperCubeDef"){return{breadcrumbs:e.qGroupFallbackTitles.slice(0,e.qGroupPos),drilldown:"H"===e.qGrouping,index:t,locked:!!e.qLocked,text:"H"===e.qGrouping?e.qGroupFallbackTitles[e.qGroupPos]:e.qFallbackTitle,popoverText:(o=e,"H"===o.qGrouping?o.title||"":o.qFallbackTitle||""),drillUp(e){n.drillUp(r,t,e)}};var o}function ky({altList:e,app:t,dir:n,dock:r,model:o,onChange:i,skipAttributeExpressions:a,translator:s}){return 0===e.length?null:{dir:n,dock:r,getAlternatives(){const n=e.map((e=>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,t,s).then((t=>({id:e.qDef.cId,selected:!1,title:t})))));return Promise.all(n)},changeTo(e,t){wy(o,e,t,"qMeasures",i,a)}}}function Sy(e,t){return{breadcrumbs:[],drilldown:!1,index:t,locked:!1,text:e.qFallbackTitle,popoverText:e.qFallbackTitle}}const Ty={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"}}},Ry=({children:e,...t})=>o.createElement(tp,B({size:"small",disableRipple:!0,disableTouchRipple:!0},t),e);function Ny(){function e({title:e,selected:t,onClick:n}){const r=pe.detectTextDirection(e);return o.createElement(kh,{role:"menuitem",button:!0,onClick:n,style:{textAlign:"start"}},o.createElement(Rh,{style:{minWidth:32}},o.createElement(hy,{d:t?vy:""})),o.createElement(Mh,{primaryTypographyProps:{dir:r}},e))}function t({alignTo:t,changeTo:n,current:r,dir:i,dock:a,list:s,onClose:l,show:c,instruction:u}){const d=s.map(((t,r)=>o.createElement(e,{key:t.id,title:t.title,onClick:()=>n(r)})));return o.createElement(zh,B({anchorEl:t,open:c,onClose:l},Ty[a],{PaperProps:{style:{minWidth:"250px",maxHeight:"300px"}}}),o.createElement(wh,{dense:!0,dir:i,"aria-label":u,component:"nav"},o.createElement(e,{title:r,selected:!0,onClick:l}),d))}e.propTypes={title:Ko.exports.string.isRequired,selected:Ko.exports.bool,onClick:Ko.exports.func.isRequired},e.defaultProps={selected:!1},t.propTypes={alignTo:Ko.exports.any,changeTo:Ko.exports.func.isRequired,current:Ko.exports.string.isRequired,dir:Ko.exports.string.isRequired,dock:Ko.exports.string.isRequired,list:Ko.exports.array,onClose:Ko.exports.func.isRequired,show:Ko.exports.bool.isRequired,instruction:Ko.exports.string},t.defaultProps={list:[],alignTo:null};class n extends o.Component{constructor(e){super(e),this.state={open:!1,inSelection:e.selections&&e.selections.isActive()},this.openPopover=this.openPopover.bind(this),this.closePopover=this.closePopover.bind(this),this.changeTo=this.changeTo.bind(this),this.alignToRef=o.createRef()}componentDidMount(){const{selections:e}=this.props;e&&(this.onSelectionsActivated=()=>this.setState({inSelection:!0}),this.onSelectionsDeactivated=()=>this.setState({inSelection:!1}),e.addListener("activated",this.onSelectionsActivated),e.addListener("deactivated",this.onSelectionsDeactivated),e.addListener("canceled",this.onSelectionsDeactivated))}componentWillUnmount(){const{selections:e}=this.props;e&&(e.removeListener("activated",this.onSelectionsActivated),e.removeListener("deactivated",this.onSelectionsDeactivated),e.removeListener("canceled",this.onSelectionsDeactivated))}changeTo(e){this.props.popover.changeTo(this.props.titleData.index,e),this.closePopover()}openPopover(){this.state.closeTime&&Date.now()-this.state.closeTime<20||this.props.popover.getAlternatives().then((e=>{this.setState({open:!0,alternatives:e})}))}closePopover(){this.setState({open:!1,closeTime:Date.now()})}render(){const{titleData:e,popover:n,translator:r,disabled:i,isDimension:a,padding:s,minWidth:l,hasAlternative:c}=this.props,u={flex:"1 1 auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:"normal",...this.props.style},d=e.breadcrumbs.length,p=i||this.state.inSelection,f=e.breadcrumbs.map(((t,n)=>o.createElement(Ry,{style:{display:"flex",alignItems:"center",color:p&&"rgba(89, 89, 89, 0.8)",pointerEvents:p?"none":"auto"},key:n,onClick:()=>p?void 0:e.drillUp(d-n),title:t},o.createElement("span",{style:u},t),o.createElement(hy,B({},by,{size:"small",style:{margin:"0 8px"}}))))),h=n&&!this.state.open?this.openPopover:this.closePopover,m=!n||i||this.state.inSelection,g={display:"flex",alignItems:"center",width:"100%",color:m&&"rgba(89, 89, 89, 0.8)",height:!a&&m&&"20px",lineHeight:!a&&m&&"20px",border:!a&&m&&"none"};this.state.open&&(g.background="rgba(0,0,0,0.08)");s&&(g.padding=s),l&&(g.minWidth=l);const v=pe.detectTextDirection(e.text),y=o.createElement(Ry,{"aria-label":r.get("Accessibility.Alternative.Instructions",[e.text]),style:g,onClick:m?void 0:h,title:e.text,tabIndex:m?-1:0,onFocus:m?void 0:e=>{e.currentTarget.style.boxShadow="0px 0px 0px 2px #177FE6 inset",e.currentTarget.style.borderRadius="2px"},onBlur:m?void 0:e=>{e.currentTarget.style.boxShadow="none",e.currentTarget.style.borderRadius="0px"},onMouseDown:e=>{e.preventDefault()}},e.locked&&o.createElement(hy,B({},gy,{size:"small",title:r.get("Tooltip.selections.locked")})),o.createElement("span",{style:u,dir:v},e.text),n&&o.createElement(hy,B({},yy,{size:"small",style:{margin:"0 8px"}})));return o.createElement(o.Fragment,null,e.drilldown&&o.createElement(hy,B({},my,{size:"small",title:r.get("Tooltip.dimensions.drilldown"),style:{margin:"0 4px 0 0"}})),f,o.createElement("div",{ref:this.alignToRef,style:{overflow:"hidden",pointerEvents:c?"auto":"none"}},y),n&&o.createElement(t,{dock:n.dock,dir:n.dir,current:e.popoverText,alignTo:this.alignToRef.current,show:this.state.open,list:this.state.alternatives,onClose:this.closePopover,changeTo:this.changeTo,instruction:r.get("Accessibility.Popover.Instructions")}))}}function r(e){return{top:"bottom",bottom:"top",left:"right",right:"left"}[e]}function i(e){return!e.isDimension&&se(e,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures.length")>0}return n.propTypes={disabled:Ko.exports.bool.isRequired,padding:Ko.exports.string,minWidth:Ko.exports.string,titleData:Ko.exports.shape({breadcrumbs:Ko.exports.arrayOf(Ko.exports.string).isRequired,drilldown:Ko.exports.bool.isRequired,index:Ko.exports.number.isRequired,locked:Ko.exports.bool.isRequired,text:Ko.exports.string.isRequired,popoverText:Ko.exports.string.isRequired,drillUp:Ko.exports.func}).isRequired,popover:Ko.exports.shape({dir:Ko.exports.string.isRequired,dock:Ko.exports.string.isRequired,changeTo:Ko.exports.func.isRequired,getAlternatives:Ko.exports.func.isRequired}),translator:Ko.exports.shape({get:Ko.exports.func.isRequired}).isRequired,selections:Ko.exports.shape({isActive:Ko.exports.func,addListener:Ko.exports.func,removeListener:Ko.exports.func}),style:Ko.exports.shape({fontSize:Ko.exports.string,color:Ko.exports.string,fontFamily:Ko.exports.string}).isRequired,isDimension:Ko.exports.bool.isRequired,hasAlternative:Ko.exports.bool.isRequired},n.defaultProps={popover:null,selections:null,padding:"",minWidth:""},{renderer:"react",disableTriggers:!0,preferredSize:function(){return this.settings.settings.isDimension||i(this.settings.settings)?28:20},render(){const{settings:{app:e,disabled:t,explicitItemInfos:a,hyperCube:s,hyperCubeDef:l,isDimension:c,minWidth:u,model:d,onChangeToAlternative:p,padding:f,rtl:h,selections:m,skipAttributeExpressions:g,translator:v},layout:{dock:y}}=this.settings,b="top"!==y&&"bottom"!==y||!h?"ltr":"rtl",x=function(e,t){const n={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center"};return"left"===e?(n.width=t.height+"px",n.transform=`rotate(-90deg) translate(-${t.height}px, 0)`,n.transformOrigin="top left"):"right"===e&&(n.width=t.height+"px",n.transform=`rotate(90deg) translate(0, -${t.width}px)`,n.transformOrigin="top left"),n}(y,this.rect),w=l&&l.qLayoutExclude&&l.qLayoutExclude.qHyperCubeDef,E=w&&w[c?"qDimensions":"qMeasures"]||[],C=a||s[c?"qDimensionInfo":"qMeasureInfo"],k=c?Ey:ky,S=c?Cy:Sy,T=d&&d.colorSupport&&d.modifiers&&k({altList:E,app:e,dir:h?"rtl":"ltr",dock:r(y),model:d,onChange:p,skipAttributeExpressions:g,translator:v}),R=(N=this.settings.settings).isDimension&&se(N,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions.length")>0||i(this.settings.settings);var N;const P=C.map(((e,r)=>{const i="number"==typeof e.explicitColumn?e.explicitColumn:r,a=S(e,i,d),s=r===C.length-1;return o.createElement(o.Fragment,{key:e.cId},o.createElement(n,{popover:T,titleData:a,model:d,translator:v,selections:m,disabled:t(),style:this.style,isDimension:c,padding:f,minWidth:u,hasAlternative:R}),!s&&o.createElement("span",null,", "))}));return o.createElement("div",{style:x,dir:b},P)}}}const Py=pa({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:'"QlikView Sans", "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 My=ma({productionPrefix:"qa562",disableGlobal:!0,seed:""});function Dy(){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,i=e();const a={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=i.scaleRatio.x,n=i.scaleRatio.y;return r.style.left=Math.round(i.margin.left+i.x*t)+"px",r.style.top=Math.round(i.margin.top+i.y*n)+"px",r.style.width=Math.round(i.width)+"px",r.style.height=Math.round(i.height)+"px",r.style.transform=`scale(${t}, ${n})`,r.style.transformOrigin="top left",l.render(function(e,t){return o.createElement(hc,{generateClassName:t},o.createElement(jc,{theme:Py},e))}(e,My),r),!0},itemsAt:()=>[],findShapes:()=>[],clear:()=>(r&&l.unmountComponentAtNode(r),a),destroy(){r&&r.parentElement&&(l.unmountComponentAtNode(r),r.parentElement.removeChild(r)),r=null},size:t=>(t&&(i=e(t)),i)};return a}}function Ly(){return function(e){e.renderer("react",Dy()),e.component("data-title",Ny()),e.component("disclaimer",function(){class e extends o.Component{render(){const{label:e,spanStyle:t}=this.props;return o.createElement(o.Fragment,null,o.createElement("span",{ref:this.alignToRef,style:t,title:e},e))}}return e.propTypes={label:Ko.exports.string.isRequired,spanStyle:Ko.exports.shape().isRequired},{renderer:"react",disableTriggers:!0,preferredSize:function(){return 22},render(){const{settings:{label:t,rtl:n},layout:{dock:r},style:i={}}=this.settings,a="top"!==r&&"bottom"!==r||!n?"ltr":"rtl",s=function(e,t,n){const r={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",color:"#7b7a78",fontStyle:"italic",fontSize:"13px",fontFamily:e.fontFamily||"'Source Sans Pro', 'Arial', 'sans-serif'"};switch(t){case"left":r.width=n.height+"px",r.transform=`rotate(-90deg) translate(-${n.height}px, 0)`,r.transformOrigin="top left";break;case"right":r.width=n.height+"px",r.transform=`rotate(90deg) translate(0, -${n.width}px)`,r.transformOrigin="top left";break;case"center":r.width=n.width+"px",r.height=n.height+"px",r.color="#595959",r.fontStyle="normal",r.fontSize="1.2em",r.textAlign="center";break;default:case"top":case"bottom":r.justifyContent="flex-start",r.alignItems="flex-start"}return r}(i,r,this.rect),l="center"===r?t:"* "+t,c="center"!==r?{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}:{};return o.createElement("div",{style:s,dir:a},o.createElement(o.Fragment,null,o.createElement(e,{label:l,spanStyle:c})))}}}())}}function Iy(e){return st(e).l<70}function Oy(e,t){const n=st(e).l/100,r=st(t).l/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function Ay(e,t){return{x:t.x+e.r*Math.sin(e.a),y:t.y-e.r*Math.cos(e.a)}}var qy={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(Oy(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=Ay({r:s,a:e},n),i=Ay({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:Iy(a)?"#ccc":"#333"})}}i=t}return o}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function zy(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 Fy(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:zy(s)}}var Wy={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=Fy({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 Hy(){const e=n();return e.use(r),e.use(function(e){if("function"!=typeof e.interaction)return function(t){t.interaction("hammer",j(e))};e.interaction("hammer",j(Hammer))}(t)),e.use(Ly()),e.component("pie-dividers",qy),e.component("negative-indicators",Wy),e}var jy={};function By(){By.init.call(this)}jy.isObject=function(e){return"object"==typeof e&&null!==e},jy.isNumber=function(e){return"number"==typeof e},jy.isUndefined=function(e){return void 0===e},jy.isFunction=function(e){return"function"==typeof e};var $y=By;By.EventEmitter=By,By.prototype._events=void 0,By.prototype._maxListeners=void 0,By.defaultMaxListeners=10,By.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},By.prototype.setMaxListeners=function(e){if(!jy.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},By.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],jy.isUndefined(n))return!1;if(jy.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(jy.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},By.prototype.addListener=function(e,t){var n;if(!jy.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,jy.isFunction(t.listener)?t.listener:t),this._events[e]?jy.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,jy.isObject(this._events[e])&&!this._events[e].warned)&&((n=jy.isUndefined(this._maxListeners)?By.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,jy.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),jy.isFunction(console.trace)&&console.trace()));return this},By.prototype.on=By.prototype.addListener,By.prototype.once=function(e,t){if(!jy.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},By.prototype.removeListener=function(e,t){var n,r,o,i;if(!jy.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||jy.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(jy.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},By.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],jy.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},By.prototype.listeners=function(e){return this._events&&this._events[e]?jy.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},By.listenerCount=function(e,t){return e._events&&e._events[t]?jy.isFunction(e._events[t])?1:e._events[t].length:0};function Vy(){const e={};var t;return t=e,Object.keys($y.prototype).forEach((e=>{t[e]=$y.prototype[e]})),$y.init(t),e.lasso={active:()=>!1},e.select={on:e.on,removeListener:e.removeListener},e}const Uy={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 _y(e){const t=e.split("/");return"qmem:"===t[0]&&""===t[1]}const Yy={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 Ky(e,t,n,r){var o,i,a,s,l,c;const{app:u,flags:d}=t,p=null===(o=e.layout)||void 0===o||null===(i=o.tooltip)||void 0===i?void 0:i.imageComponents;if(!p)return[];const[f]=p,h=f.size||"small",m=f.type||"media";let g=-1;for(let e=0;e<n.length;e++)if(n[e].cId===f.cId){g=e;break}const v=(null===(a=r.data)||void 0===a||null===(s=a.customTooltipAttrExps)||void 0===s?void 0:s.value)||[];let y;if(-1!==g&&v[g]&&(y=v[g]),"media"===m&&null!==(l=f.ref)&&void 0!==l&&null!==(c=l.qStaticContentUrl)&&void 0!==c&&c.qUrl)return async function(e,t,n){let r=e.ref.qStaticContentUrl.qUrl;const o=function(e){let t,n,r,o,i,a;return e&&e.session&&e.session.options||e&&e.enigmaModel&&e.enigmaModel.session&&e.enigmaModel.session.sessionConfig?(t=e.session.options||e.enigmaModel.session.sessionConfig,a=void 0!==t.secure?t.secure:t.isSecure,n=a?"https://":"http://",r=t.host||"localhost",o=t.port?":"+t.port:"",i=t.prefix?t.prefix:"/","/"!==i[i.length-1]&&(i+="/"),n+r+o+i):""}(n);o&&(function(e,t){e.replace(t,"").replace(/^\.\.\//i,"/")[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 Yy.getImageSize(r,t);return{src:r,size:t,height:i,width:a,imageError:s}}(f,h,u);if("url"===m)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&&_y(a))try{const t="data:image/png;base64, "+await e.getImage(a),{height:n,width:o,imageError:s}=await Yy.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 Yy.getImageSize(a,r);i={src:a,size:r,height:e,width:t,imageError:n}}return i}(u,d,f,h,y);if(d.isEnabled("IMAGE_BUNDLE_LOAD")&&"field"===m&&y&&y.label){return async function(e,t,n,r){let o;const i=r.label,a=`qmem://${t.qFallbackTitle}/${i}`;if(_y(a))try{const t=await e.getImage(a);if(t){const e="data:image/png;base64, "+t,{height:r,width:i,imageError:a}=await Yy.getImageSize(e,n);o={src:e,size:n,height:r,width:i,imageError:a}}}catch(e){}return o}(u,n[g],h,y)}return[]}const Xy={async addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){const o=t,i=[];for(let t=0;t<o.length;t++)i.push(Ky(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,n;const r=null===(t=e.layout)||void 0===t||null===(n=t.tooltip)||void 0===n?void 0:n.imageComponents;return!!r&&r.length>0}},Gy={async handlePromises({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){let o=t;return o=await Xy.addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}),o},checkIfPromisesExist:({customTooltipModel:e})=>Xy.checkIfPromisesExist({customTooltipModel:e})};const Zy=(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:Uy.CHART.CHART_PARENT_TYPE,qId:Uy.CHART.CHART_OBJECT_ID},qHyperCubeDef:{qDimensions:i,qMeasures:a,qInterColumnSortOrder:s,qInitialDataFetch:[{qWidth:0,qHeight:0}]},qStateName:l}},Jy=e=>{var t,n,r;const o=null===(t=e.tooltip)||void 0===t||null===(n=t.chart)||void 0===n||null===(r=n.object)||void 0===r?void 0:r.refId;return{qInfo:{qType:Uy.CHART.CHART_CHILD_TYPE},qExtendsId:o}};const Qy={createContainer:({ctx:e,layout:t})=>{var n,r;if(!((null===(n=t.qHyperCube)||void 0===n||null===(r=n.qDimensionInfo)||void 0===r?void 0:r.length)<=0))return function(e,t){var n,r,o,i;const a=null!==(n=null===(r=t.tooltip)||void 0===r||null===(o=r.chart)||void 0===o||null===(i=o.style)||void 0===i?void 0:i.size)&&void 0!==n?n:"medium",s=Uy.CHART.STYLE[a];return[{content:[e.h("div",{style:{display:"flex",width:s,height:s,backgroundColor:"#FFFFFF",borderRadius:"5px",padding:"2px",color:"#595959"},colspan:2,id:Uy.CHART.CONTAINER_ID})],colspan:2,style:{"text-align":e.rtl?"right":"left","max-width":s,width:"100%"}},{}]}(e,t)},show:async({app:e,properties:t,selectedNodes:n,dimIndex:r,customTooltipModel:o,rtl:i})=>{var a,s,l;const c=o,u=null==t||null===(a=t.tooltip)||void 0===a||null===(s=a.chart)||void 0===s||null===(l=s.object)||void 0===l?void 0:l.refId;if(null!=c&&c.embed&&e.removeSessionAlternateState&&e.addSessionAlternateState&&u&&!(t.qHyperCubeDef.qDimensions.length<=0)){await Qy.hide({app:e,customTooltipModel:o});try{await async function({app:e,properties:t,customTooltipModel:n}){const r=n,o=Uy.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=Uy.CHART.STATE,a=Zy(t,i),s=await e.createSessionObject(a),l=Jy(t);if(s.id!==Uy.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(c.miniChartToken.alternateState&&c.miniChartToken.sessionObj&&a){var d,p,f,h;const e=n.length>0&&void 0!==(null===(d=n[0].data)||void 0===d?void 0:d.value)?[null===(p=n[0].data)||void 0===p?void 0:p.value]:[],a=void 0!==r?r:t.qHyperCubeDef.qDimensions.length-1;if(2===t.qHyperCubeDef.qDimensions.length&&void 0===r&&n.length>0){var m,g;const e=null!==(m=n[0].data.selectionOuterDimension)&&void 0!==m?m:n[0].data.selectionDimension;if(null!=e&&null!==(g=e.source)&&void 0!==g&&g.field){var v;const t=null==e||null===(v=e.source)||void 0===v?void 0:v.field.split("/"),n=t[t.length-1],r=void 0!==e.value?[e.value]:[];r.length>0&&void 0!==n&&c.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",Number(n),r,!1)}}e.length>0&&c.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",a,e,!1);const s=document.getElementById(Uy.CHART.CONTAINER_ID),l={direction:i?"rtl":"ltr",isReadonly:!0,isPopover:!0,navigation:!1,selections:!1};c.miniChartToken.vis=await o.embed.render({element:s,model:c.miniChartToken.model,options:l,id:null===(f=c.miniChartToken.model)||void 0===f?void 0:f.id,type:null===(h=c.miniChartToken.model)||void 0===h?void 0:h.genericType})}}catch(t){await Qy.hide({app:e,customTooltipModel:o})}}},hide:async({app:e,customTooltipModel:t})=>{const n=t;null!=n&&n.embed&&(Qy.destroyVisualization({customTooltipModel:t}),await e.destroySessionObject(Uy.CHART.CHART_OBJECT_ID),n.miniChartToken.sessionObj=void 0,await async function({app:e,customTooltipModel:t}){const n=t,r=Uy.CHART.STATE;await e.removeSessionAlternateState(r),n.miniChartToken.alternateState=void 0}({app:e,customTooltipModel:t}))},destroyVisualization:({customTooltipModel:e})=>{var t,n;const r=e;"function"==typeof(null===(t=r.miniChartToken)||void 0===t||null===(n=t.vis)||void 0===n?void 0:n.destroy)&&(r.miniChartToken.vis.destroy(),r.miniChartToken.vis=void 0)}};function eb(e){const t=e.qHyperCubeDef?e.qHyperCubeDef.qDimensions:e.qHyperCube.qDimensionInfo;if(t&&t.length>0)return t}function tb(){const{EXPRESSION:e,TITLE:t,DESCRIPTION:n,IMAGES:r}=Uy.CUSTOM,o={};return o[e]=!0,o[t]=!0,o[n]=!0,o[r]=!0,o}function nb(e){const t=tb();return e.filter((e=>t[e.id]))}const rb={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}=rb.getAttrExprData(a);i.length||n.length?Gy.handlePromises({customTooltipModel:o,nodes:rb.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&&Qy.hide({app:r.app,customTooltipModel:o}),t.emit("hide")}},checkIfPromisesExist:({customTooltipModel:e})=>Gy.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,a,s;const t=o.length-1;n=(null===(i=e.qHyperCube)||void 0===i||null===(a=i.qDimensionInfo)||void 0===a||null===(s=a[t])||void 0===s?void 0:s.qAttrExprInfo)||[],r=`qDimensionInfo/${t}/qAttrExprInfo`}return{attrExps:n,fieldPath:r}},quarantineCustomTooltipAttrs(e,t={}){var n,r;if(!(null===(n=e.qLayoutExclude)||void 0===n||null===(r=n.quarantine)||void 0===r?void 0:r[Uy.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[Uy.CUSTOM.QUARANTINE]=[],e.forEach((e=>{r.quarantine[Uy.CUSTOM.QUARANTINE].push(e)})),n.qLayoutExclude=r}(nb(t.qAttributeExpressions||[]),e)}},unquarantineCustomTooltipAttrs(e){var t,n;const r=e;(null===(t=e.qLayoutExclude)||void 0===t||null===(n=t.quarantine)||void 0===n?void 0:n[Uy.CUSTOM.QUARANTINE])&&delete r.qLayoutExclude.quarantine[Uy.CUSTOM.QUARANTINE]},setAttrsFromQuarantine(e,t){const n=eb(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===nb(o).length){var i,a;const t=(null===(i=e.qLayoutExclude)||void 0===i||null===(a=i.quarantine)||void 0===a?void 0:a.customTooltip)||[],n=[...o,...t],s=e;s.qHyperCubeDef?s.qHyperCubeDef.qDimensions[r].qAttributeExpressions=n:s.qHyperCube.qDimensionInfo[r].qAttrExprInfo=n}},moveCustomTooltipAttrs(e,t={},n){let r=[];const o=eb(e)||[];[...o,t].forEach((e=>{const t=nb(e.qAttributeExpressions||[]);t.length>0&&(r=t)}));const i=tb(),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:pe.detectTextDirection(e)},colspan:2},{}],getImageRow(e,t){const n=pe.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 ob(e,t,n,r){var o,i,a;const s=(null===(o=t.qHyperCube)||void 0===o||null===(i=o[n])||void 0===i||null===(a=i[r])||void 0===a?void 0:a.qAttrExprInfo)||[],l=[],c=e.qSubNodes&&e.qSubNodes[r]?e.qSubNodes[r].qAttrExps:e.qAttrExps;return c?(s.forEach(((e,t)=>{const o=c.qValues&&c.qValues[t]?c.qValues[t]:void 0,i=void 0===o?"NaN":function(e,t){let n;switch(e.id){case Uy.CUSTOM.EXPRESSION:n="NaN"===t.qNum||e.isCustomFormatted?void 0===t.qText?"NaN":t.qText:t.qNum;break;case Uy.CUSTOM.TITLE:case Uy.CUSTOM.DESCRIPTION:case Uy.CUSTOM.IMAGES:n=void 0===t.qText?e.qFallbackTitle:t.qText;break;default:n="NaN"}return n}(e,o);l.push({source:{key:"qHyperCube",field:`${n}/${r}/qAttrExprInfo/${t}`},label:i,value:"value"})})),l):l}const ib={getNode(e,{dimensionCount:t}){if(!t||t<1)return;const n=t-1,r="qDimensionInfo";return{field:`${r}/${n}`,value:t=>ob(t,e,r,n)}}};const ab={getCustomAttrExps(e,t,n){var r,o;const i={customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]},a=(null===(r=t.data)||void 0===r||null===(o=r.customTooltipAttrExps)||void 0===o?void 0:o.value)||[];if(Number.isNaN(a))return i;return function(e,t,n,r){const o={[Uy.CUSTOM.TITLE]:!0,[Uy.CUSTOM.DESCRIPTION]:!0},{attrExps:i,fieldPath:a}=rb.getAttrExprData(e);return 0===t.length||0===i.length||""===a||i.forEach(((e,i)=>{const s=t[i];if(e.id===Uy.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===Uy.CUSTOM.TITLE&&{title:t},value:t,id:e.id})}})),r}(n,a.map((t=>fe.getMeasure(e,t))),e,i)}};function sb({nodes:e,layout:t,dataset:n}){return function(e,t,n){const r=[];return e.forEach((e=>{r.push(ab.getCustomAttrExps(n,e,t))})),r}(e,t,n).reduce(((e,t)=>({customTooltipAttrExpsArr:e.customTooltipAttrExpsArr.concat(t.customTooltipAttrExpsArr),customTooltipInfoAttrExpsArr:e.customTooltipInfoAttrExpsArr.concat(t.customTooltipInfoAttrExpsArr)})),{customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]})}function lb(e){const t=Uy.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 cb(e){var t;const n=null===(t=e.qHyperCubeDef)||void 0===t?void 0:t.qDimensions;return n[n.length-1].qAttributeExpressions||[]}var ub={attrExpr:{migrateProperties(e){var t,n,r,o;const i=Q(!0,{},e),a=(null===(t=i.tooltip)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.qHyperCubeDef)||void 0===r?void 0:r.qMeasures)||[];let s=cb(i);return s=function(e,t){return t.concat(e.map((e=>lb(e))))}(a,s),function(e,t){var n;const r=null===(n=t.qHyperCubeDef)||void 0===n?void 0:n.qDimensions;r[r.length-1].qAttributeExpressions=e}(s,i),null===(o=i.tooltip)||void 0===o||delete o.data,i},getPatches(e){var t,n,r,o;const i=(null===(t=e.tooltip)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.qHyperCubeDef)||void 0===r?void 0:r.qMeasures)||[],a=(null===(o=e.qHyperCubeDef)||void 0===o?void 0:o.qDimensions.length)-1;return function(e,t,n){let r=e.length;const o=[];return t.forEach((e=>{const t=lb(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}(cb(e),i,a)},checkForBackwardCompatibility:(e,t)=>(e.qMeasureInfo||[]).length>0&&t.length>0,updateProperties(e,t){return new Promise((n=>{var r,o,i,a,s;const l=(null===(r=t.qHyperCube)||void 0===r?void 0:r.qDimensionInfo)||[],c=(null===(o=t.tooltip)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.qHyperCube)||{},u=null===(a=t.qMeta)||void 0===a||null===(s=a.privileges)||void 0===s?void 0:s.includes("update");e&&e.getEffectiveProperties&&this.checkForBackwardCompatibility(c,l)&&e.getEffectiveProperties().then((t=>{if(u){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:db}=Uy;function pb({flags:e,layout:t,app:n,model:r,picasso:o,chart:i,translator:a,localeInfo:s,embed:l,options:c}){var u,d,p;const f=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:rb,miniChartToken:{},embed:s}}({layout:t,app:n,model:r,picasso:o,chart:i,translator:a,localeInfo:s,embed:l}),h="rtl"===c.direction,m=!(!t.tooltip||t.tooltip.auto),g=m&&D(t,"tooltip.hideBasic",!1),v=!!(m&&null!==(u=t.tooltip)&&void 0!==u&&null!==(d=u.chart)&&void 0!==d&&null!==(p=d.object)&&void 0!==p&&p.refId&&l&&"function"==typeof(null==r?void 0:r.getEffectiveProperties));return{isEnabled:()=>m,hideBasic:()=>g,getAttributes:({dataset:e,nodes:n})=>{var r,o;const i=sb({dataset:e,nodes:n,layout:t});return{title:null===(r=i.customTooltipInfoAttrExpsArr.find((e=>e.id===db.TITLE)))||void 0===r?void 0:r.title,description:null===(o=i.customTooltipInfoAttrExpsArr.find((e=>e.id===db.DESCRIPTION)))||void 0===o?void 0:o.value,measures:i.customTooltipAttrExpsArr}},hasImages:()=>rb.checkIfPromisesExist({customTooltipModel:f}),createImageRow:({value:e,h:t})=>rb.getImageRow(e,{h:t,rtl:h}),addImages:({nodes:r})=>{const o=rb.getDataNodes(i,r),a=rb.getAttrExprData(t);return Gy.handlePromises({customTooltipModel:f,nodes:o,attrExps:a,opts:{flags:e,app:n}})},chart:{isEnabled:()=>v,hasLimitation:()=>{var e;return!(null==n||null===(e=n.isInModalSelection)||void 0===e||!e.call(n))},createContainer:({h:e})=>Qy.createContainer({layout:t,ctx:{h:e,rtl:h}}),createLimitationRow:()=>rb.getFooterRow(a.get("properties.tooltip.notselectedmessage"),h),show:({nodes:e,properties:t})=>Qy.show({app:n,properties:t,selectedNodes:e,customTooltipModel:f,rtl:h}),hasAlternateState:()=>{var e;return!(null===(e=f.miniChartToken)||void 0===e||!e.alternateState)},hide:()=>Qy.hide({app:n,customTooltipModel:f}),destroy:()=>Qy.destroyVisualization({customTooltipModel:f})}}}function fb(e){return{layout:e,keys:{SCALE:{FILL:"fill"},COMPONENT:{DIMENSION_TITLE:"dimension-title",SLICES:"slices",PIE_LABELS:"pie-labels"}}}}function hb({chart:e,translator:t,layout:n,constraints:r,options:o,theme:i,colorService:a,custom:s}){const l=n.qHyperCube.qMeasureInfo.length>1,c="rtl"===o.direction;return L({chart:e,translator:t,config:{rtl:c,enable:()=>!r.passive,getColorSettings:()=>a.getSettings(),style:{fontFamily:i.getStyle("object.pieChart","","fontFamily")},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 mb({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 gb=.8,vb=.55,yb={CORNER_RADIUS:0,INNER_RADIUS:vb,STROKE:{COLOR:"#FFFFFF",WIDTH:{NONE:0,SMALL:2,MEDIUM:4,LARGE:6}}},bb=({layout:e},t,n)=>t.encodings.slice.outerRadius?{scale:"radius",fn:t=>{var r,o;let i=gb,a=0;const s=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:vb;e.donut.showAsDonut&&(i=gb-s,a=s);return t.scale(Math.max(0,t.datum.radius.value))*i+a}}:gb,xb=({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:vb;return t.encodings.slice.outerRadius?{scale:"radius",fn:e=>{const t=gb-i,n=i;return e.scale(Math.min(0,e.datum.radius.value))*t+n}}:i},wb=({layout:e},t)=>{var n,r,o,i,a,s;const l=t.colorService.getDatumProps(),c=l[Object.keys(l)[0]],u=c&&c.field?c.field:void 0,d="qDimensionInfo/0"===u,p=u?t.ds.field(u).raw():null,f=p&&(p.label||p.title||p.qFallbackTitle)||"",h=t.encodings.slice.outerRadius,{formatter:m}=t.chart,g=se(e,"qHyperCube.qDimensionInfo",[]).length;function v(e,n){const r=t.ds.field(e).raw();return{field:e,label:!r.isCustomFormatted&&(r.qIsAutoFormat||"U"===r.qNumFormat.qType)?e=>m(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:{...l,num:v(t.encodings.slice.arc,"arc"),fillTooltip:u?{field:u,label:f,value:e=>d?e.qText||"-":void 0!==e.qNum&&"NaN"!==e.qNum?e.qText?e.qText:e.qNum:e.qText||"-"}:void 0,customTooltipAttrExps:0!==g?ib.getNode(e,{dimensionCount:g}):void 0,radius:h?v(h,"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:xb({layout:e},t,y),fill:t.colorService.getColor(),strokeWidth:null!=y&&null!==(n=y.style)&&void 0!==n&&n.strokeWidth?yb.STROKE.WIDTH[y.style.strokeWidth.toUpperCase()]:yb.STROKE.WIDTH.NONE,stroke:null!==(r=null==y||null===(o=y.style)||void 0===o||null===(i=o.strokeColor)||void 0===i?void 0:i.color)&&void 0!==r?r:yb.STROKE.COLOR,outerRadius:bb({layout:e},t,y),cornerRadius:null!==(a=null==y||null===(s=y.style)||void 0===s?void 0:s.cornerRadius)&&void 0!==a?a:0}},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled,trackBy:e=>e.data.value}}};function Eb({layout:e},t,n){var r,o;const i=(e.components||[]).filter((e=>"slices"===e.key))[0],a=null!==(r=null==i||null===(o=i.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:vb,s=t.encodings.slice.outerRadius;return!(!e.donut.showAsDonut||!s)&&{type:"pie",key:"zeroLine",data:{items:[1]},settings:{slice:{arc:1,fill:"transparent",innerRadius:0,strokeWidth:1,stroke:$(n.theme,"object.pieChart","label.name","color")||"#333",outerRadius:{scale:"radius",fn:e=>{const t=gb-a,n=a;return e.scale(0)*t+n}}}},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled}}}function Cb(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,transitionPhaseDisabled:e.animations.transitionPhaseDisabled,trackBy:()=>Math.random()}}}function kb({layout:e},t,n){return!(e.donut.showAsDonut||!t.encodings.slice.outerRadius)&&{type:"negative-indicators",key:"negative-indicators",layout:{displayOrder:2},settings:{component:"slices",selector:"path",offset:5,size:4,fill:$(n.theme,"object.pieChart","label.name","color")||"#333"},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled,trackBy:e=>e.data.value}}}const{getThemeStyle:Sb}=V;function Tb(e){const t=e.node.desc&&e.node.desc.share;return t?e.formatter("share")(t):""}function Rb(e){return e.node.data.num.label}function Nb(e){return e.node.data.radius.label}function Pb(e,t,n){if(e.dataPoint.auto)return n?Rb:Tb;if("share"===e.dataPoint.labelMode)return Tb;if("value"===e.dataPoint.labelMode){return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?Nb:Rb}return null}function Mb({data:e}){return e?e.label:""}function Db(e,t,n){const r=parseInt(Sb(e,"object.pieChart",t,n),10);if(!isNaN(r))return r}function Lb(e){const t=((e&&e.components?e.components:void 0)||[]).filter((e=>"slices"===e.key))[0];return!t||t.style.innerRadius>.3}function Ib({node:e,data:t}){return Q({_share:e.desc.share,_fillColor:e.attrs.fill},t)}function Ob(e,t,n){const r=[{padding:10,direction:t.encodings.slice.outerRadius?"rotate":"horizontal",placements:[{position:"outside",fill:Sb(n.theme,"object.pieChart","label.name","color"),padding:t.encodings.slice.outerRadius?4:2}],fontSize:Db(n.theme,"label.name","fontSize"),fontFamily:Sb(n.theme,"object.pieChart","label.name","fontFamily"),label:Mb,linkData:({node:e,data:t})=>Q({_share:e.desc.share,_fillColor:e.attrs.fill,_showTooltip:!0},t)}];if(Pb(e,t,!1)){const o=function(e,t,n){return{label:Pb(e,t,!1),simplifiedPlacements:[{position:e.donut.showAsDonut&&Lb(e)?"inside":"into",onBackground:e.donut.showAsDonut&&Lb(e),padding:4}],theme:n.theme,themeId:"object.pieChart"}}(e,t,n),i=ge(Q(t,o),n.theme);i.linkData=Ib,r.push(i)}return{key:"pie-labels",type:"labels",layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"slice",settings:{labels:r}}}]},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3}}}]},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled,trackBy:e=>"text"===e.type?`${e.text} ${e.data.value}`:Math.random()}}}function Ab({layout:e,context:t},n){return!1!==e.dataPoint.show&&(1===n.dataRowCount?function(e,t,n){const r=Pb(e,t,!0),o=(e=>t=>e.getContrastingColorTo(t.node.attrs.fill))(n.theme);return{key:"pie-labels",type:"labels",layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"rows",settings:{align:.5,justify:.5,padding:10,labels:[{fill:e.donut.showAsDonut?n.theme.getStyle("object.pieChart","label.name","color"):o,fontSize:Db(n.theme,"label.name","fontSize"),fontFamily:Sb(n.theme,"object.pieChart","label.name","fontFamily"),label:Mb,linkData:({data:e})=>e},{fill:e.donut.showAsDonut?n.theme.getStyle("object.pieChart","label.value","color"):o,fontSize:Db(n.theme,"label.value","fontSize"),fontFamily:Sb(n.theme,"object.pieChart","label.value","fontFamily"),label:r,linkData:({data:e})=>e}]}}}]}}}(e,n,t):Ob(e,n,t))}const qb=(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))||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 r||this.chart.component("legendRangeBrush").emit("rangeClear"),r}},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 zb(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 Fb(e,t){const n=t.component("slices");if(!n)return!1;const{x:r,y:o}=zb(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*gb;return(i-r)**2+(a-o)**2<=s**2}const Wb=(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=zb(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())}}}),Hb=(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()}}}),jb=(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 Bb(e){return{type:"native",key:"theusual",events:{wheel(t){let n=!1;if(!e.constraints.active&&Fb(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 $b=(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()&&Fb(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}}}),Vb=(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}}}),Ub=(e,t,n)=>({key:"hammered",type:"hammer",enable:!0,gestures:t?[$b(e,{}),Wb(e,t,{}),...n]:[qb(e,{}),jb(e,{}),$b(e,{}),Hb(e,{}),Vb(e,{}),Wb(e,t,{}),...n]});function _b(e,t,n){const r=e.getIsSingleSelect(0),{constraints:o}=n;if(o.active&&o.passive)return[];const i=t.tooltipService.getInteractions();return[Ub(t,r,i.gestures),Bb(t),i.native]}function Yb({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 Kb({layout:e},t,n){if(!e.dimensionTitle)return!1;const r=t.properties;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},style:{fontFamily:n.theme.getStyle("object","axis.title","fontFamily"),fontSize:n.theme.getStyle("object","axis.title","fontSize"),color:n.theme.getStyle("object","axis.title","color")}}}function Xb({layout:e},t,n){return function(e,t,n,r={}){if(!e)return!1;const{translator:o}=t,{rtl:i}=n;return{key:"disclaimer",type:"disclaimer",layout:{dock:ne[e].alignment},settings:{label:o.get("Object.Disclaimer."+e),rtl:i},style: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=se(e,"qHyperCube.qSize.qcy");if(se(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),t,n,{fontFamily:n.theme.getStyle("","","fontFamily")})}function Gb({layout:e,context:t,selectionService:n},r={}){const o=function({layout:e}={},t={}){const n={};return Q(n,t.colorService.getScales()),t.encodings.slice.outerRadius&&Q(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=Xb({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",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=[wb({layout:e,settings:i},r),Eb({layout:e},r,t),Cb(r),kb({layout:e},r,t),Kb({layout:e},r,t),...c.components,mb({settings:i,scaleKey:"fill",legend:c.components[0]||{},onEdited:r.onSelect}),{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}}},{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}}},Ab({layout:{components:e.components,dataPoint:Q({},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:_b(n,r,t),scales:o,components:r.pluginService.extendComponents(a),palettes:r.colorService.getPalettes(),formatters:Yb({settings:i},r),strategy:ae(0,r)}}let Zb,Jb=new Set;function Qb(e,t){for(const n of t)if(e.has(n))return!1;return!0}function ex({instance:e,services:t}){const n=u(),r=b();R((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:le(t,"legend-cat"),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})})),N((()=>({getViewState:()=>({rotation:e.viewState.get("rotation"),legendScrollOffset:le(e.chart,"legend-cat")})})),[e])}const tx={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}},nx={getDimensions:e=>tx.getValue(e,"qHyperCubeDef.qDimensions",[]),getNumDimensions:e=>tx.getValue(e,"qHyperCubeDef.qDimensions.length",0),getMeasures:e=>tx.getValue(e,"qHyperCubeDef.qMeasures",[]),getNumMeasures:e=>tx.getValue(e,"qHyperCubeDef.qMeasures.length",0),getDimensionLayouts(e,t){const n=tx.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=tx.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 rx={colorModeOptions:{primary:()=>!0,dimension:()=>!0,multiColor:()=>!1,measure:()=>!0,expression:e=>nx.getNumMeasures(e)>=1},showLegend:e=>{const t=tx.getValue(e,"color.auto"),n=tx.getValue(e,"color.expressionIsColor"),r=tx.getValue(e,"color.mode");return!(!t&&"primary"===r||!t&&"byExpression"===r&&(n||void 0===n))},persistentColorsShow:e=>!tx.getValue(e,"color.auto")&&"byDimension"===tx.getValue(e,"color.mode"),useDimValColShow:e=>(void 0===tx.getValue(e,"color.useDimColVal")&&tx.setValue(e,"color.useDimColVal",!1),!tx.getValue(e,"color.auto")&&"byDimension"===tx.getValue(e,"color.mode")&&"libraryItem"===tx.getValue(e,"color.byDimDef.type"))},ox=function(e){const{colorModeOptions:t,persistentColorsShow:n,useDimValColShow:r,showLegend:o}=rx;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)&&!tx.getValue(e,"color.useDimColVal"):n(e)},useDimColVal:{show:r}},this.legend={show:o,showTitle:{show(e){const t=tx.getValue(e,"color.auto");return tx.getValue(e,"legend.show")&&o(e)&&(t||!function(e){return"byExpression"===tx.getValue(e,"color.mode")&&!0===tx.getValue(e,"color.expressionIsColor")}(e))}},dock:{show:e=>tx.getValue(e,"legend.show")&&o(e)}}};function ix(e){return new ox(e)}const ax={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}}}}}}},sx={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}}}}},lx={component:"styling-panel",chartTitle:"Object.PieChart",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,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}}}}}}},cx=ix("hard");const ux=e=>{var t;null!==(t=e.color)&&void 0!==t&&t.auto||(q(e,"color.mode","byDimension"),q(e,"color.byDimDef.activeDimensionIndex",0),q(e,"color.persistent",!1))},dx=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},px=e=>{const{flags:t,translator:n}=e||{},r={items:{simpleItems:{items:{autoColor:{label:e=>{var t;return null!==(t=e.color)&&void 0!==t&&t.auto?n.get("Simple.Color.Auto",n.get("properties.colorMode.byDimension")):n.get("Common.Custom")},change:ux},colorMode:{options:dx}}}}},o={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||q(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}}}}}}};return{uses:"settings",items:{simpleStyling:null!=t&&t.isEnabled("PIECHART_SIMPLE_STYLING")?ax:void 0,simpleLabels:o,general:{items:{showDisclaimer:null!=t&&t.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!=t&&t.isEnabled("SENSECLIENT_PS_17478_STYLINGPANEL_PIECHART")?lx:sx,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:cx.color.colorMode.options},persistentColors:{show:cx.color.persistentColors.show}}},simpleColors:r,legend:{show:cx.legend.show,items:{show:{defaultValue:!1,snapshot:{tid:"property-legend"}},showTitle:{show:cx.legend.showTitle.show},dock:{show:cx.legend.dock.show}}}}},tooltip:{uses:"tooltip"}}}},fx={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)}}}}}}},hx={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}}}}},mx={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{suppressZero:null,calcCond:{uses:"calcCond"}}}}};function gx(e){return{type:"items",component:"accordion",items:{data:fx,sorting:hx,addons:mx,settings:px(e)}}}const vx=ix("explore"),yx=gx();var bx={type:"items",component:"accordion",items:{data:{uses:"data"},sort:{uses:"sort"},presentation:{uses:"presentation",items:{showAsDonut:yx.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:yx.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:vx.color.colorMode.options},dimension:{items:{persistentColors:{show:e=>!(e.color&&"byDimension"===e.color.mode&&e.color.useDimColVal&&vx.color.useDimColVal.show(e))}}}}}}};const xx="slices";function wx(e,t){const n=e&&e.desc&&void 0!==e.desc.share?e.desc.share:void 0;return t("share")(n)}function Ex(e){return e.data.num.label}function Cx(e){return e.data.radius.label}function kx(e,t,n,r){return function(e,t){if(e.dataPoint.auto)return 1===e.qHyperCube.qSize.qcy?Ex:wx;if("share"===e.dataPoint.labelMode)return wx;if("value"===e.dataPoint.labelMode)return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?Cx:Ex;return Ex}(n,r)(e,t)}function Sx(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 Tx{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:Sx(n),label:kx(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=Q(!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=Q(e.options,{effect:null}),n?t.getProperties().then((e=>Q(e,{effectPath:null,effectProperties:null,dataPoint:Q(!0,{},e.originalModelSettings.dataPoint),legend:Q(!0,{},e.originalModelSettings.legend),dimensionTitle:e.originalModelSettings.dimensionTitle}))):Promise.resolve()}}class Rx extends Tx{init(e,t,n,r){return e.options=Q(!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(xx).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 Nx extends Tx{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(xx).data.items.map((e=>e.value)).indexOf(n.data.value);-1!==r&&(this.selectedIndex=r,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(xx).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===xx)).map(((n,r)=>{const o=kx(n,this.chart.formatter,e,t);return{text:`${Sx(n)} (${o})`,value:r}}))}init(e,t,n,r){return e.options=Q(!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 Px="/effects/highlight-value",Mx="/effects/maxmin";var Dx={isCompatible:({effectPath:e})=>e===Mx||e===Px,create:e=>e.effectPath===Mx?new Rx(e):e.effectPath===Px?new Nx(e):null};function Lx(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,a;t.chart_tooltip_custom=!r.auto;const e=null===(i=r.chart)||void 0===i||null===(a=i.object)||void 0===a?void 0:a.refId;!r.auto&&e&&(t.chart_tooltip_custom_mini_chart=e)}return t}function Ix(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 Ox(e){e.qOtherTotalSpec.qOtherMode="OTHER_COUNTED",e.qOtherTotalSpec.qOtherCounted={qv:"10"}}function Ax({translator:e}){return{dimensions:{min:1,max:1,description:()=>e.get("Visualizations.Descriptions.Slice"),add(e,t){Ox(e),Ix(t),rb.addCallbackCustomTooltip(t)},move(e,t){Ox(e),Ix(t),rb.moveCallbackCustomTooltip(t,e)},remove(e,t){rb.removeCallbackCustomTooltip(t,e)},replace(e,t,n,r){Ox(e),Ix(r),rb.replaceCallbackCustomTooltip(r,t)}},measures:{min:1,max:2,description:(t,n)=>e.get(0===n?"Visualizations.Descriptions.Angle":"Visualizations.Descriptions.Radius"),add(e,t){Ix(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 qx=e=>e.qMax<=0,zx=e=>!(!(e&&e.qHyperCube.qSize.qcy>0)||e.qHyperCube.qMeasureInfo.every(qx));function Fx(e){return{definition:gx(e),softDefinition:bx,support:{snapshot:zx,export:zx,exportData:!0,sharing:zx,viewData:!0,effects:!0},effects:Dx,extendMetrics:Lx,importProperties:(t,n,r,o)=>{const i={layout:{templateId:n.templateId}};r.mapProperties(i);const a={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()},s=z.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:Ax(e),defaultPropertyValues:a,hypercubePath:o});return s.qProperty.dataPoint&&!1===s.qProperty.dataPoint.show&&delete s.qProperty.dataPoint.show,s},exportProperties:(e,t,n)=>z.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}function Wx(e){return{properties:{version:"1.20.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:yb.STROKE.COLOR},cornerRadius:yb.CORNER_RADIUS,innerRadius:yb.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:!1,showDisclaimer:!0,showTitles:!0,subtitle:"",title:"",tooltip:{auto:!0,hideBasic:!1,data:{qHyperCubeDef:void 0},chart:void 0,imageComponents:void 0}},data:{targets:[Ax(e)]},importProperties:({exportFormat:t,initialProperties:n,hypercubePath:r})=>{const o=z.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:Ax(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})=>z.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(F).forEach((t=>{e.add(F[t])}))}}(e.translator);const n=Hy();return{qae:Wx(e),ext:Fx(e),component(){const e=function({picasso:e}){var t;const n=c(),r=u(),o=d(),[i,a]=p(),s=Vy(),l=f(),v=h(),y=!(null===(t=l.qSelectionInfo)||void 0===t||!t.qInSelections),[b,x]=p(!1);return s.lasso=function({layout:e,isInSelections:t,isLassoActionActive:n,setIsLassoActionActive:r,translator:o}){var i,a,s;return{active:n,label:o.get(n?"Tooltip.ToggleOffLassoSelection":"Tooltip.ToggleOnLassoSelection"),hidden:!t||!(null===(i=e.qHyperCube)||void 0===i||null===(a=i.qDimensionInfo)||void 0===a||null===(s=a[0])||void 0===s||!s.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:l,isInSelections:y,isLassoActionActive:b,setIsLassoActionActive:x,translator:v}),m((()=>(i&&(i.interactions.lasso.active=()=>b),{...s.lasso})),[i,b,y,v.language()]),g((()=>{r.style.overflow="hidden";const t=e({renderer:{prio:[n.renderer||"canvas"]}}),i=t.chart({element:r,data:[],settings:{}}),c=P({chart:i,actions:s,selections:o,config:{selectionActions:!1}});c.setLayout(l),c.setBrushAliases({colorField:"qDimensionInfo/0/qAttrDimInfo/0"});const u=M({legendScrollOffset:0,rotation:0});return u.intercept("rotation",(e=>(u.get("rotation")+e)%(2*Math.PI))),u.onChanged("rotation",(()=>{i.update({partialData:!0})})),s.on("selections-start",(()=>{i.brush("selection").start()})),a({picasso:t,chart:i,selectionService:c,viewState:u,interactions:s}),()=>{c.destroy(),i.destroy(),s.removeAllListeners(),delete s.select,u.intercept("rotation",void 0),u.onChanged("rotation",void 0)}}),[]),i}({picasso:n}),o=function({flags:e,picasso:t,instance:n}){const r=v(),o=y(),i=h(),a=u(),[s,l]=p(),d=b(),f=x(),m=w(),S=c(),T=E(),{qLocaleInfo:R}=C(),N=k();return g((()=>{if(!n)return;a.style.overflow="hidden";const s=I({picasso:n.picasso,model:r,app:o,translator:i,config:{auto:!1,key:"fill"}}),c=O({picassoInstance:n.picasso,plugins:f,pluginArgs:fb(d)}),u=pb({flags:e,layout:d,app:o,model:r,picasso:t,chart:n.chart,translator:i,localeInfo:R,embed:N,options:S}),p=hb({app:o,chart:n.chart,translator:i,layout:d,constraints:m,options:S,theme:T,colorService:s,custom:u});l({colorService:s,pluginService:c,tooltipService:p})}),[r,o,n,d,i.language(),m,S.direction,T.name()]),s}({flags:t,picasso:n,instance:e});!function({instance:e,services:t,picasso:n,flags:o}){const i=c(),a=v(),s=y(),l=h(),u=E(),p=b(),f=d(),m=w(),{qLocaleInfo:x}=C(),[k]=S((()=>t?(ub.attrExpr.updateProperties(a,p),Promise.all([t.colorService.initialize({createConfig:({getUseBaseColors:e})=>({theme:u,legendProps:p.legend,layout:p,localeInfo:x,hc:p.qHyperCube,colorProps:{...p.color,useBaseColors:e(p)}})}),a&&!p.snapshotData?a.getEffectiveProperties():Promise.resolve({}),t.pluginService.initialize()])):Promise.resolve()),[t]);g((()=>{null!=e&&e.selectionService&&e.selectionService.setLayout(p)}),[p]),g((()=>{if(!e||!k)return;const{chart:c,viewState:d,interactions:h}=e,{colorService:g,pluginService:v,tooltipService:y}=t,b=i.viewState||{};p.snapshotData||(d.preventSet("legendScrollOffset",b.legendScrollOffset||0),d.preventSet("rotation",b.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))}(p,d),y.expando.set("properties",k[1]);const w=n.data("q")({key:"qHyperCube",data:p.qHyperCube,config:{localeInfo:x}}),E=[{type:"q",key:"qHyperCube",data:p.qHyperCube,config:{localeInfo:x}},...g.getData()],C={slice:{arc:"qMeasureInfo/0"}};p.qHyperCube.qMeasureInfo.length>1&&(C.slice.outerRadius="qMeasureInfo/1");const S=n.data("q")({data:p.qHyperCube,config:{localeInfo:x}}),T=Zb,R=function(e,t){return t.slice.outerRadius?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)):e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc}}}).filter((e=>e.num.value>0))}(S,C);Zb=R.length;const N=new Set(Jb);Jb=new Set(R.map((e=>e.num.value)));const P=f?()=>{const e=c.brush("selection");r.selections(e,{},p).forEach((e=>{f.select(e)}))}:()=>{},M=p.snapshotData&&!i.freeResize?{width:(p.snapshotData.content.size||p.snapshotData.object.size).w,height:(p.snapshotData.content.size||p.snapshotData.object.size).h}:void 0,D=t=>e.selectionService.getIsSelectionLocked(t),L=()=>Gb({layout:p,context:{rtl:"rtl"===i.direction,theme:u,translator:l,constraints:m,model:a},selectionService:e.selectionService},{picasso:n,ds:w,model:a,app:s,chart:c,onSelect:P,isLocked:D,interactions:h,constraints:m,translator:l,viewState:d,dataRowCount:Zb,encodings:C,colorService:g,pluginService:v,tooltipService:y,debouncer:A,properties:k[1],logicalSize:M,flags:o,animations:{enabled:()=>function(e,t,n){return 0===n.get("rotation")&&!(e<=1||t<=1)}(T,Zb,d),transitionPhaseDisabled:Qb(N,Jb)}});e.generateSettings=L,c.update({data:E,settings:L()}),i.effect&&p.effectProperties?i.effect.update(p,c,{encodings:C}):p.effectPath||c.brush("highlight").end()}),[e,k,i.direction,i.effectProperties,m,u.name(),l.language()])}({instance:e,services:o,picasso:n,flags:t}),function({instance:e}){const t=b(),n=c(),r=T();g((()=>{e&&e.generateSettings&&(e.chart.update({settings:e.generateSettings()}),n.effect&&n.effect.update(t,e.chart))}),[r.width,r.height])}({instance:e}),ex({instance:e,services:o})}}}))}}}));
|