@nebula.js/sn-tabbed-container 2.3.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  /*
2
- * @nebula.js/sn-tabbed-container v2.3.0
2
+ * @nebula.js/sn-tabbed-container v2.5.0
3
3
  * Copyright (c) 2026 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
6
6
 
7
- System.register(["@nebula.js/stardust","react","react-dom"],function(e){"use strict";var t,n,r,o,i,a,s,l,c,d,u,p,h,f,m,b,g,v,y,x,E,C,S,w,R,_,A,k,I,T,L,O;return{setters:[function(e){t=e.useOptions,n=e.useEffect,r=e.onTakeSnapshot,o=e.useKeyboard,i=e.useMemo,a=e.useState,s=e.useElement,l=e.useApp,c=e.useStaleLayout,d=e.useEmbed,u=e.useModel,p=e.useTranslator,h=e.useEmitter,f=e.useInteractionState,m=e.useTheme,b=e.usePromise,g=e.onContextMenu,v=e.useImperativeHandle},function(e){y=e,x=e.forwardRef,E=e.useContext,C=e.default,S=e.isValidElement,w=e.cloneElement,R=e.Children,_=e.useState,A=e.useEffect,k=e.useRef,I=e.useMemo,T=e.useCallback},function(e){L=e.default,O=e}],execute:function(){e("default",function(e){const t=new ru({translator:e.translator});return{qae:{properties:Sm,data:Cm},ext:df({env:e,propertyHandlerData:t}),component(){const n=Jf(),r=p();i(()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(j).forEach(t=>{e.add(j[t])})}}(r)},[r]);const{dataHandler:o,model:s,accessibility:l,setAccessibility:c,interactions:d,element:u,modifiedLayout:h}=n,f=i(()=>function(){const e=new z.EventEmitter;let t=[];return e.updateActiveCharts=n=>{t=n.slice(),e.emit("activeChartsChange",t.slice())},e.setActiveCharts=n=>{t=n.slice(),e.emit("setActiveCharts",t.slice())},e.getActiveCharts=()=>[...t],e}(),[]),{renderHelper:m,sharedContainerUtilities:b,activeTabId:g}=Em({element:u,models:n,env:e,activeCharts:f});uf({containerId:s?.id||"",element:u,sharedContainerUtilities:b,translator:r,dataHandler:o,propertyHandlerData:t,renderHelper:m});const[y,x]=a(!0);If({isContainerActive:y,activeTabId:g,renderHelper:m,modifiedLayout:h,activeCharts:f,sharedContainerUtilities:b}),Af({element:u,accessibility:l,setAccessibility:c,renderHelper:m,interactions:d,env:e,models:n});const{getViewState:E}=mf(m,Rm);v(()=>({getViewState:E,getChildrenObjects(){const e=m.getChildrenObjects();return wm(e)},updateActiveState(e){x(e)},activeCharts:f}),[])}}});var P,M,j={Container_Label_Visualizations:{id:"Container.Label.Visualizations",locale:{"de-DE":"Visualisierungen","en-US":"Visualizations","es-ES":"Visualizaciones","fr-FR":"Visualisations","it-IT":"Visualizzazioni","ja-JP":"ビジュアライゼーション","ko-KR":"시각화","nl-NL":"Visualisaties","pl-PL":"Wizualizacje","pt-BR":"Visualizações","ru-RU":"Визуализации","sv-SE":"Visualiseringar","tr-TR":"Görselleştirmeler","zh-CN":"可视化","zh-TW":"視覺化"}},LayoutContainer_EmptyList_AddContent:{id:"LayoutContainer.EmptyList.AddContent",locale:{"de-DE":"Inhalt hinzufügen","en-US":"Add content","es-ES":"Añadir contenido","fr-FR":"Ajouter un contenu","it-IT":"Aggiungi contenuto","ja-JP":"コンテンツを追加","ko-KR":"콘텐츠 추가","nl-NL":"Inhoud toevoegen","pl-PL":"Dodaj zawartość","pt-BR":"Adicionar conteúdo","ru-RU":"Добавить содержимое","sv-SE":"Lägg till innehåll","tr-TR":"İçerik ekle","zh-CN":"添加内容","zh-TW":"新增內容"}},LayoutContainer_EmptyList_EmptyHint:{id:"LayoutContainer.EmptyList.EmptyHint",locale:{"de-DE":"Leere Sammelbox","en-US":"Empty container","es-ES":"Contenedor vacío","fr-FR":"Conteneur vide","it-IT":"Contenitore vuoto","ja-JP":"コンテナが空です","ko-KR":"빈 컨테이너","nl-NL":"Lege container","pl-PL":"Pusty kontener","pt-BR":"Contêiner vazio","ru-RU":"Пустой контейнер","sv-SE":"Tom behållare","tr-TR":"Kapsayıcı boş","zh-CN":"空容器","zh-TW":"空的容器"}},LayoutContainer_Object_Charts:{id:"LayoutContainer.Object.Charts",locale:{"de-DE":"Diagramme","en-US":"Charts","es-ES":"Gráficos","fr-FR":"Graphiques","it-IT":"Grafici","ja-JP":"チャート","ko-KR":"차트","nl-NL":"Diagrammen","pl-PL":"Wykresy","pt-BR":"Gráficos","ru-RU":"Диаграммы","sv-SE":"Diagram","tr-TR":"Grafikler","zh-CN":"图表","zh-TW":"圖表"}},LayoutContainer_Object_CustomObjects:{id:"LayoutContainer.Object.CustomObjects",locale:{"de-DE":"Benutzerdefinierte Objekte","en-US":"Custom objects","es-ES":"Objetos personalizados","fr-FR":"Objets personnalisés","it-IT":"Oggetti personalizzati","ja-JP":"カスタム オブジェクト","ko-KR":"사용자 지정 개체","nl-NL":"Aangepaste objecten","pl-PL":"Obiekty niestandardowe","pt-BR":"Objetos personalizados","ru-RU":"Пользовательские объекты","sv-SE":"Anpassade objekt","tr-TR":"Özel nesneler","zh-CN":"自定义对象","zh-TW":"自訂物件"}},LayoutContainer_Object_Description:{id:"LayoutContainer.Object.Description",locale:{"de-DE":"Die Sammelbox besteht aus folgenden Objekten: {0}. Verwenden Sie zum Navigieren die Nach-links- und Nach-rechts-Pfeiltasten. Drücken Sie die Eingabetaste oder die Leertaste, um die Diagramme auszuwählen.","en-US":"Container consists of the following objects: {0}. Use left and right arrow keys to navigate through the inner charts. Press enter or space to select the charts.","es-ES":"El contenedor consta de los siguientes objetos: {0}. Utilice las teclas de flecha izquierda y derecha para navegar por los gráficos interiores. Pulse Intro o espacio para seleccionar los gráficos.","fr-FR":"Le conteneur comprend les objets suivants : {0}. Utilisez les touches de direction gauche et droite pour parcourir les graphiques internes. Appuyez sur la touche Entrée ou espace pour sélectionner les graphiques.","it-IT":"Il contenitore include i seguenti oggetti: {0}. Utilizzare i tasti freccia sinistro e destro per navigare tra i grafici interni. Per selezionare i grafici, premere Invio o Spazio.","ja-JP":"コンテナは以下のオブジェクトで構成されます: {0}。左右の矢印キーを使用して、内部のチャートをナビゲートします。Enter キーかスペース キーを押してチャートを選択します。","ko-KR":"컨테이너는 다음 개체로 구성됩니다. {0}. 왼쪽 및 오른쪽 화살표 키를 사용하여 내부 차트를 탐색하십시오. 차트를 선택하려면 Enter 키나 스페이스바를 누르십시오.","nl-NL":"Container bevat de volgende objecten: {0}. Navigeer met de pijl-links en pijl-rechts langs de binnenste diagrammen. Druk op Enter of de spatiebalk om de diagrammen te selecteren.","pl-PL":"Kontener zawiera następujące obiekty: {0}. Do nawigacji po wewnętrznych wykresach użyj lewego i prawego klawisza strzałki. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać wykresy.","pt-BR":"O contêiner consiste nos seguintes objetos: {0}. Use as setas para a esquerda e para a direita para navegar pelos gráficos internos. Pressione Enter ou espaço para selecionar os gráficos.","ru-RU":"Контейнер состоит из следующих объектов: {0}. Для навигации по внутренним диаграммам используйте клавиши со стрелками влево и вправо. Нажмите клавишу Enter или пробел, чтобы выбрать диаграммы.","sv-SE":"Behållaren innehåller följande objekt: {0}. Använd vänster och höger piltangent för att navigera genom de inre diagrammen. Tryck på returtangenten eller mellanslag för att välja diagram.","tr-TR":"Kapsayıcı şu nesneleri içerir: {0}. İç grafikler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Grafik seçmek için enter veya boşluk tuşuna basın.","zh-CN":"容器由以下对象组成:{0}。使用左右箭头键浏览内部图表。按回车或空格键选择图表。","zh-TW":"容器由下列物件組成:{0}。使用向左和向右方向鍵瀏覽內部圖表。按下 Enter 或空間以選取圖表。"}},LayoutContainer_Object_MasterItems:{id:"LayoutContainer.Object.MasterItems",locale:{"de-DE":"Master-Elemente","en-US":"Master items","es-ES":"Elementos maestros","fr-FR":"Éléments principaux","it-IT":"Voci principali","ja-JP":"マスター アイテム","ko-KR":"마스터 항목","nl-NL":"Masteritems","pl-PL":"Elementy główne","pt-BR":"Itens mestre","ru-RU":"Основные элементы","sv-SE":"Originalobjekt","tr-TR":"Ana öğeler","zh-CN":"主条目","zh-TW":"主項目"}},LayoutContainer_Object_Untitled:{id:"LayoutContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}},TabContainer_Navigation_Horizontal:{id:"TabContainer.Navigation.Horizontal",locale:{"de-DE":"Verwenden Sie die Nach-links- und Nach-rechts-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use left and right arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha izquierda y derecha para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches gauche et droite pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Utilizzare i tasti freccia destra e sinistra per navigare tra le schede. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"左右の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 왼쪽 및 오른쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-links en pijl-rechts om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w lewo i w prawo. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para a esquerda e para a direita para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки влево и вправо для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd vänster och höger piltangent för att navigera mellan flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用左右箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向左和向右方向鍵瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Navigation_Vertical:{id:"TabContainer.Navigation.Vertical",locale:{"de-DE":"Verwenden Sie die Nach-unten- und Nach-oben-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use up and down arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha arriba y abajo para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches haut et bas pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Per navigare tra le schede, usare i tasti freccia su e giù. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"上下の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 위쪽 및 아래쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-omhoog en pijl-omlaag om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w górę i w dół. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para cima e para baixo para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки вверх и вниз для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd piltangenterna upp och ner för att navigera genom flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için yukarı ve aşağı ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用上下箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向上和向下方向鍵以瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Object_Description:{id:"TabContainer.Object.Description",locale:{"de-DE":"Die Registerkarten-Sammelbox besteht aus folgenden Objekten: {0}.","en-US":"Tab container consists of the following objects: {0}.","es-ES":"El contenedor de pestañas contiene los siguientes objetos: {0}.","fr-FR":"Le conteneur d'onglets comprend les objets suivants : {0}.","it-IT":"Il contenitore a schede include i seguenti oggetti: {0}.","ja-JP":"タブ コンテナは以下のオブジェクトで構成されています: {0}。","ko-KR":"탭 컨테이너는 다음 개체로 구성됩니다. {0}.","nl-NL":"Tabbladcontainer bevat de volgende objecten: {0}.","pl-PL":"Kontener kart zawiera następujące obiekty: {0}.","pt-BR":"O contêiner de guias consiste nos seguintes objetos: {0}.","ru-RU":"Контейнер вкладок содержит следующие объекты: {0}.","sv-SE":"Flikbehållaren innehåller följande objekt: {0}.","tr-TR":"Sekme kapsayıcısı şu nesneleri içerir: {0}.","zh-CN":"选项卡容器由以下对象组成:{0}。","zh-TW":"索引標籤容器由下列物件組成:{0}。"}},TabContainer_Object_Untitled:{id:"TabContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}}};function N(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var z=function(){if(M)return P;M=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},P=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,a,s;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];for(o=(s=r.slice()).length,a=0;a<o;a++)s[a].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,a;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(a=i;a-- >0;)if(r[a]===n||r[a].listener&&r[a].listener===n){o=a;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},P}();function D(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var B=Object.freeze({__proto__:null,default:D}),F="$$material";function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(null,arguments)}function H(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var U=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0!==e.speedy&&e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1],n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);if(n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n,this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),W="-ms-",Y="-moz-",V="-webkit-",q="comm",K="rule",X="decl",Z="@keyframes",J=Math.abs,Q=String.fromCharCode,ee=Object.assign;function te(e){return e.trim()}function ne(e,t,n){return e.replace(t,n)}function re(e,t){return e.indexOf(t)}function oe(e,t){return 0|e.charCodeAt(t)}function ie(e,t,n){return e.slice(t,n)}function ae(e){return e.length}function se(e){return e.length}function le(e,t){return t.push(e),e}var ce=1,de=1,ue=0,pe=0,he=0,fe="";function me(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ce,column:de,length:a,return:""}}function be(e,t){return ee(me("",null,null,"",null,null,0),e,{length:-e.length},t)}function ge(){return he=pe>0?oe(fe,--pe):0,de--,10===he&&(de=1,ce--),he}function ve(){return he=pe<ue?oe(fe,pe++):0,de++,10===he&&(de=1,ce++),he}function ye(){return oe(fe,pe)}function xe(){return pe}function Ee(e,t){return ie(fe,e,t)}function Ce(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Se(e){return ce=de=1,ue=ae(fe=e),pe=0,[]}function we(e){return fe="",e}function Re(e){return te(Ee(pe-1,ke(91===e?e+2:40===e?e+1:e)))}function _e(e){for(;(he=ye())&&he<33;)ve();return Ce(e)>2||Ce(he)>3?"":" "}function Ae(e,t){for(;--t&&ve()&&!(he<48||he>102||he>57&&he<65||he>70&&he<97););return Ee(e,xe()+(t<6&&32==ye()&&32==ve()))}function ke(e){for(;ve();)switch(he){case e:return pe;case 34:case 39:34!==e&&39!==e&&ke(he);break;case 40:41===e&&ke(e);break;case 92:ve()}return pe}function Ie(e,t){for(;ve()&&e+he!==57&&(e+he!==84||47!==ye()););return"/*"+Ee(t,pe-1)+"*"+Q(47===e?e:ve())}function Te(e){for(;!Ce(ye());)ve();return Ee(e,pe)}function Le(e){return we(Oe("",null,null,null,[""],e=Se(e),0,[0],e))}function Oe(e,t,n,r,o,i,a,s,l){for(var c=0,d=0,u=a,p=0,h=0,f=0,m=1,b=1,g=1,v=0,y="",x=o,E=i,C=r,S=y;b;)switch(f=v,v=ve()){case 40:if(108!=f&&58==oe(S,u-1)){-1!=re(S+=ne(Re(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=Re(v);break;case 9:case 10:case 13:case 32:S+=_e(f);break;case 92:S+=Ae(xe()-1,7);continue;case 47:switch(ye()){case 42:case 47:le(Me(Ie(ve(),xe()),t,n),l);break;default:S+="/"}break;case 123*m:s[c++]=ae(S)*g;case 125*m:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+d:-1==g&&(S=ne(S,/\f/g,"")),h>0&&ae(S)-u&&le(h>32?je(S+";",r,n,u-1):je(ne(S," ","")+";",r,n,u-2),l);break;case 59:S+=";";default:if(le(C=Pe(S,t,n,c,d,o,s,y,x=[],E=[],u),i),123===v)if(0===d)Oe(S,t,C,C,x,i,u,s,E);else switch(99===p&&110===oe(S,3)?100:p){case 100:case 108:case 109:case 115:Oe(e,C,C,r&&le(Pe(e,C,C,0,0,o,s,y,o,x=[],u),E),o,E,u,s,r?x:E);break;default:Oe(S,C,C,C,[""],E,0,s,E)}}c=d=h=0,m=g=1,y=S="",u=a;break;case 58:u=1+ae(S),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==ge())continue;switch(S+=Q(v),v*m){case 38:g=d>0?1:(S+="\f",-1);break;case 44:s[c++]=(ae(S)-1)*g,g=1;break;case 64:45===ye()&&(S+=Re(ve())),p=ye(),d=u=ae(y=S+=Te(xe())),v++;break;case 45:45===f&&2==ae(S)&&(m=0)}}return i}function Pe(e,t,n,r,o,i,a,s,l,c,d){for(var u=o-1,p=0===o?i:[""],h=se(p),f=0,m=0,b=0;f<r;++f)for(var g=0,v=ie(e,u+1,u=J(m=a[f])),y=e;g<h;++g)(y=te(m>0?p[g]+" "+v:ne(v,/&\f/g,p[g])))&&(l[b++]=y);return me(e,t,n,0===o?K:s,l,c,d)}function Me(e,t,n){return me(e,t,n,q,Q(he),ie(e,2,-2),0)}function je(e,t,n,r){return me(e,t,n,X,ie(e,0,r),ie(e,r+1,-1),r)}function Ne(e,t){for(var n="",r=se(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function $e(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case X:return e.return=e.return||e.value;case q:return"";case Z:return e.return=e.value+"{"+Ne(e.children,r)+"}";case K:e.value=e.props.join(",")}return ae(n=Ne(e.children,r))?e.return=e.value+"{"+n+"}":""}function ze(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var De=function(e,t,n){for(var r=0,o=0;r=o,o=ye(),38===r&&12===o&&(t[n]=1),!Ce(o);)ve();return Ee(e,pe)},Be=function(e,t){return we(function(e,t){var n=-1,r=44;do{switch(Ce(r)){case 0:38===r&&12===ye()&&(t[n]=1),e[n]+=De(pe-1,t,n);break;case 2:e[n]+=Re(r);break;case 4:if(44===r){e[++n]=58===ye()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Q(r)}}while(r=ve());return e}(Se(e),t))},Fe=new WeakMap,Ge=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Fe.get(n))&&!r){Fe.set(e,!0);for(var o=[],i=Be(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},He=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Ue=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},We=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ye=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Ve=function(e,t,n){We(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ye(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!We(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ye(e)))};function qe(e,t){switch(function(e,t){return 45^oe(e,0)?(((t<<2^oe(e,0))<<2^oe(e,1))<<2^oe(e,2))<<2^oe(e,3):0}(e,t)){case 5103:return V+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return V+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return V+e+Y+e+W+e+e;case 6828:case 4268:return V+e+W+e+e;case 6165:return V+e+W+"flex-"+e+e;case 5187:return V+e+ne(e,/(\w+).+(:[^]+)/,V+"box-$1$2"+W+"flex-$1$2")+e;case 5443:return V+e+W+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return V+e+W+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return V+e+W+ne(e,"shrink","negative")+e;case 5292:return V+e+W+ne(e,"basis","preferred-size")+e;case 6060:return V+"box-"+ne(e,"-grow","")+V+e+W+ne(e,"grow","positive")+e;case 4554:return V+ne(e,/([^-])(transform)/g,"$1"+V+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,V+"$1"),/(image-set)/,V+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,V+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,V+"box-pack:$3"+W+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+V+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,V+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ae(e)-1-t>6)switch(oe(e,t+1)){case 109:if(45!==oe(e,t+4))break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+V+"$2-$3$1"+Y+(108==oe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~re(e,"stretch")?qe(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==oe(e,t+1))break;case 6444:switch(oe(e,ae(e)-3-(~re(e,"!important")&&10))){case 107:return ne(e,":",":"+V)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+V+(45===oe(e,14)?"inline-":"")+"box$3$1"+V+"$2$3$1"+W+"$2box$3")+e}break;case 5936:switch(oe(e,t+11)){case 114:return V+e+W+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return V+e+W+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return V+e+W+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return V+e+W+e+e}return e}var Ke,Xe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case X:e.return=qe(e.value,e.length);break;case Z:return Ne([be(e,{value:ne(e.value,"@","@"+V)})],r);case K:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ne([be(e,{props:[ne(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ne([be(e,{props:[ne(t,/:(plac\w+)/,":"+V+"input-$1")]}),be(e,{props:[ne(t,/:(plac\w+)/,":-moz-$1")]}),be(e,{props:[ne(t,/:(plac\w+)/,W+"input-$1")]})],r)}return""})}}],Ze=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Ke=function(e){var t=e.match(Ze);if(t)return t[t.length-1]};var Je,Qe,et,tt,nt=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r=e.stylisPlugins||Xe;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var l=[Ge,He];l.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(Ue(s))return;break}}o.forEach(function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')})}}}}({get compat(){return p.compat}}),Ve);var c,d=[$e,function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==q&&c.insert(e.value+"{}"))}],u=function(e){var t=se(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}(l.concat(r,d));i=function(e,t,n,r){if(c=n,Ke){var o=Ke(t.styles);o&&(c={insert:function(e){n.insert(e+o)}})}!function(e){Ne(Le(e),u)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new U({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return p.sheet.hydrate(s),p},rt={exports:{}},ot={};function it(){return Qe||(Qe=1,rt.exports=function(){if(Je)return ot;Je=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case u:return e;default:switch(e=e&&e.$$typeof){case s:case d:case f:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return ot.AsyncMode=l,ot.ConcurrentMode=c,ot.ContextConsumer=s,ot.ContextProvider=a,ot.Element=t,ot.ForwardRef=d,ot.Fragment=r,ot.Lazy=f,ot.Memo=h,ot.Portal=n,ot.Profiler=i,ot.StrictMode=o,ot.Suspense=u,ot.isAsyncMode=function(e){return x(e)||y(e)===l},ot.isConcurrentMode=x,ot.isContextConsumer=function(e){return y(e)===s},ot.isContextProvider=function(e){return y(e)===a},ot.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ot.isForwardRef=function(e){return y(e)===d},ot.isFragment=function(e){return y(e)===r},ot.isLazy=function(e){return y(e)===f},ot.isMemo=function(e){return y(e)===h},ot.isPortal=function(e){return y(e)===n},ot.isProfiler=function(e){return y(e)===i},ot.isStrictMode=function(e){return y(e)===o},ot.isSuspense=function(e){return y(e)===u},ot.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===d||e.$$typeof===b||e.$$typeof===g||e.$$typeof===v||e.$$typeof===m)},ot.typeOf=y,ot}()),rt.exports}!function(){if(tt)return et;tt=1;var e=it(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,u=Object.prototype;et=function e(t,r,o){if("string"!=typeof r){if(u){var p=d(r);p&&p!==u&&e(t,p,o)}var h=s(r);l&&(h=h.concat(l(r)));for(var f=i(t),m=i(r),b=0;b<h.length;++b){var g=h[b];if(!(n[g]||o&&o[g]||m&&m[g]||f&&f[g])){var v=c(r,g);try{a(t,g,v)}catch(e){}}}}return t}}();function at(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var st=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},lt=function(e,t,n){st(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var ct={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ut="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",pt=/[A-Z]|^ms/g,ht=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ft=function(e){return 45===e.charCodeAt(1)},mt=function(e){return null!=e&&"boolean"!=typeof e},bt=ze(function(e){return ft(e)?e:e.replace(pt,"-$&").toLowerCase()}),gt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ht,function(e,t,n){return _t={name:t,styles:n,next:_t},t})}return 1===ct[e]||ft(e)||"number"!=typeof t||0===t?t:t+"px"},vt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,yt=["normal","none","initial","inherit","unset"],xt=gt,Et=/^-ms-/,Ct=/-(.)/g,St={};gt=function(e,t){if("content"===e&&("string"!=typeof t||-1===yt.indexOf(t)&&!vt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=xt(e,t);return""===n||ft(e)||-1===e.indexOf("-")||void 0!==St[e]||(St[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Et,"ms-").replace(Ct,function(e,t){return t.toUpperCase()})+"?")),n};var wt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Rt(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles){if("NO_COMPONENT_SELECTOR"===String(r))throw new Error(wt);return r}switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return _t={name:o.name,styles:o.styles,next:_t},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)_t={name:a.name,styles:a.styles,next:_t},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Rt(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":mt(s)&&(r+=bt(i)+":"+gt(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i)throw new Error(wt);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Rt(e,t,a);switch(i){case"animation":case"animationName":r+=bt(i)+":"+l+";";break;default:"undefined"===i&&console.error(ut),r+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)mt(a[c])&&(r+=bt(i)+":"+gt(i,a[c])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=_t,l=n(e);return _t=s,Rt(e,t,l)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var c=[],d=n.replace(ht,function(e,t,n){var r="animation"+c.length;return c.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+d+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+d+"`")}var u=n;if(null==t)return u;var p=t[u];return void 0!==p?p:u}var _t,At=/label:\s*([^\s;{]+)\s*(;|$)/g;function kt(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";_t=void 0;var i=e[0];if(null==i||void 0===i.raw)r=!1,o+=Rt(n,t,i);else{var a=i;void 0===a[0]&&console.error(dt),o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Rt(n,t,e[s]),r){var l=i;void 0===l[s]&&console.error(dt),o+=l[s]}At.lastIndex=0;for(var c,d="";null!==(c=At.exec(o));)d+="-"+c[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+d;return{name:u,styles:o,next:_t,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}}var It=!!y.useInsertionEffect&&y.useInsertionEffect,Tt=It||function(e){return e()},Lt=It||y.useLayoutEffect,Ot=y.createContext("undefined"!=typeof HTMLElement?nt({key:"css"}):null);Ot.displayName="EmotionCacheContext";var Pt=Ot.Provider,Mt=function(e){return x(function(t,n){var r=E(Ot);return e(t,r,n)})},jt=y.createContext({});jt.displayName="EmotionThemeContext";var Nt={}.hasOwnProperty,$t=function(e){var t=e.split(".");return t[t.length-1]},zt=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);return t||(t=/^([A-Za-z0-9$.]+)@/.exec(e))?$t(t[1]):void 0},Dt=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Bt=function(e){return e.replace(/\$/g,"-")},Ft="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ht=function(e,t){if("string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+t.css+"`");var n={};for(var r in t)Nt.call(t,r)&&(n[r]=t[r]);if(n[Ft]=e,"undefined"!=typeof globalThis&&globalThis.EMOTION_RUNTIME_AUTO_LABEL&&t.css&&("object"!=typeof t.css||!("name"in t.css)||"string"!=typeof t.css.name||-1===t.css.name.indexOf("-"))){var o=function(e){if(e)for(var t=e.split("\n"),n=0;n<t.length;n++){var r=zt(t[n]);if(r){if(Dt.has(r))break;if(/^[A-Z]/.test(r))return Bt(r)}}}((new Error).stack);o&&(n[Gt]=o)}return n},Ut=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return st(t,n,r),Tt(function(){return lt(t,n,r)}),null},Wt=Mt(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Ft],i=[r],a="";"string"==typeof e.className?a=at(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=kt(i,void 0,y.useContext(jt));if(-1===s.name.indexOf("-")){var l=e[Gt];l&&(s=kt([s,"label:"+l+";"]))}a+=t.key+"-"+s.name;var c={};for(var d in e)Nt.call(e,d)&&"css"!==d&&d!==Ft&&d!==Gt&&(c[d]=e[d]);return c.className=a,n&&(c.ref=n),y.createElement(y.Fragment,null,y.createElement(Ut,{cache:t,serialized:s,isStringTag:"string"==typeof o}),y.createElement(o,c))});Wt.displayName="EmotionCssPropInternal";var Yt,Vt,qt=Wt,Kt=function(e,t){var n=arguments;if(null==t||!Nt.call(t,"css"))return y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=qt,o[1]=Ht(e,t);for(var i=2;i<r;i++)o[i]=n[i];return y.createElement.apply(null,o)};Yt=Kt||(Kt={}),Vt||(Vt=Yt.JSX||(Yt.JSX={}));var Xt=!1,Zt=Mt(function(e,t){!Xt&&("className"in e&&e.className||"css"in e&&e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Xt=!0);var n=kt([e.styles],void 0,y.useContext(jt)),r=y.useRef();return Lt(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),Lt(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&lt(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function Jt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return kt(t)}function Qt(){var e=Jt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}Zt.displayName="EmotionGlobal";var en=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in void 0!==i.styles&&void 0!==i.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};var tn=function(e){var t=e.cache,n=e.serializedArr;return Tt(function(){for(var e=0;e<n.length;e++)lt(t,n[e],!1)}),null},nn=Mt(function(e,t){var n=!1,r=[],o=function(){if(n)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a=kt(o,t.registered);return r.push(a),st(t,a,!1),t.key+"-"+a.name},i={css:o,cx:function(){if(n)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return function(e,t,n){var r=[],o=at(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,en(r))},theme:y.useContext(jt)},a=e.children(i);return n=!0,y.createElement(y.Fragment,null,y.createElement(tn,{cache:t,serializedArr:r}),a)});nn.displayName="EmotionClassNames";var rn="undefined"!=typeof document,on="undefined"!=typeof jest||"undefined"!=typeof vi;if(rn&&!on){var an="undefined"!=typeof globalThis?globalThis:rn?window:global,sn="__EMOTION_REACT_"+"11.14.0".split(".")[0]+"__";an[sn]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),an[sn]=!0}var ln=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,cn=ze(function(e){return ln.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),dn=function(e){return"theme"!==e},un=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?cn:dn},pn=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},hn="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",fn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return st(t,n,r),Tt(function(){return lt(t,n,r)}),null},mn=function e(t,n){if(void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=pn(t,n,i),l=s||un(a),c=!l("as");return function(){var d=arguments,u=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&u.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)u.push.apply(u,d);else{var p=d[0];void 0===p[0]&&console.error(hn),u.push(p[0]);for(var h=d.length,f=1;f<h;f++)void 0===p[f]&&console.error(hn),u.push(d[f],p[f])}var m=Mt(function(e,t,n){var r=c&&e.as||a,i="",d=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=y.useContext(jt)}"string"==typeof e.className?i=at(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var f=kt(u.concat(d),t.registered,p);i+=t.key+"-"+f.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===s?un(r):l,b={};for(var g in e)c&&"as"===g||m(g)&&(b[g]=e[g]);return b.className=i,n&&(b.ref=n),y.createElement(y.Fragment,null,y.createElement(fn,{cache:t,serialized:f,isStringTag:"string"==typeof r}),y.createElement(r,b))});return m.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=u,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return void 0===o?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,r){return e(t,G({},n,r,{shouldForwardProp:pn(m,r,!0)})).apply(void 0,u)},m}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){mn[e]=mn(e)});var bn,gn,vn={exports:{}},yn={};var xn=(gn||(gn=1,vn.exports=function(){if(bn)return yn;bn=1;var e=C,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var s,l={},c=null,d=null;for(s in void 0!==a&&(c=""+a),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,s)&&!i.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:d,props:l,_owner:o.current}}return yn.Fragment=n,yn.jsx=a,yn.jsxs=a,yn}()),vn.exports);const En=new Map;function Cn(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return xn.jsx(Zt,{styles:r})}
7
+ System.register(["@nebula.js/stardust","react","react-dom"],function(e){"use strict";var t,n,r,o,i,a,s,l,c,d,u,p,h,f,m,b,g,v,y,x,E,C,S,w,R,_,A,k,I,L,T,O;return{setters:[function(e){t=e.useOptions,n=e.useEffect,r=e.onTakeSnapshot,o=e.useKeyboard,i=e.useMemo,a=e.useState,s=e.useElement,l=e.useApp,c=e.useStaleLayout,d=e.useEmbed,u=e.useModel,p=e.useTranslator,h=e.useEmitter,f=e.useInteractionState,m=e.useTheme,b=e.usePromise,g=e.onContextMenu,v=e.useImperativeHandle},function(e){y=e,x=e.forwardRef,E=e.useContext,C=e.default,S=e.isValidElement,w=e.cloneElement,R=e.Children,_=e.useState,A=e.useEffect,k=e.useRef,I=e.useMemo,L=e.useCallback},function(e){T=e.default,O=e}],execute:function(){e("default",function(e){const t=new ru({translator:e.translator});return{qae:{properties:Cm,data:Em},ext:cf({env:e,propertyHandlerData:t}),component(){const n=Zf(),r=p();i(()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(j).forEach(t=>{e.add(j[t])})}}(r)},[r]);const{dataHandler:o,model:s,accessibility:l,setAccessibility:c,interactions:d,element:u,modifiedLayout:h}=n,f=i(()=>function(){const e=new z.EventEmitter;let t=[];return e.updateActiveCharts=n=>{t=n.slice(),e.emit("activeChartsChange",t.slice())},e.setActiveCharts=n=>{t=n.slice(),e.emit("setActiveCharts",t.slice())},e.getActiveCharts=()=>[...t],e}(),[]),{renderHelper:m,sharedContainerUtilities:b,activeTabId:g}=xm({element:u,models:n,env:e,activeCharts:f});df({containerId:s?.id||"",element:u,sharedContainerUtilities:b,translator:r,dataHandler:o,propertyHandlerData:t,renderHelper:m});const[y,x]=a(!0);kf({isContainerActive:y,activeTabId:g,renderHelper:m,modifiedLayout:h,activeCharts:f,sharedContainerUtilities:b}),_f({element:u,accessibility:l,setAccessibility:c,renderHelper:m,interactions:d,env:e,models:n});const{getViewState:E}=ff(m,wm);v(()=>({getViewState:E,getChildrenObjects(){const e=m.getChildrenObjects();return Sm(e)},updateActiveState(e){x(e)},activeCharts:f}),[])}}});var P,M,j={Container_Label_Visualizations:{id:"Container.Label.Visualizations",locale:{"de-DE":"Visualisierungen","en-US":"Visualizations","es-ES":"Visualizaciones","fr-FR":"Visualisations","it-IT":"Visualizzazioni","ja-JP":"ビジュアライゼーション","ko-KR":"시각화","nl-NL":"Visualisaties","pl-PL":"Wizualizacje","pt-BR":"Visualizações","ru-RU":"Визуализации","sv-SE":"Visualiseringar","tr-TR":"Görselleştirmeler","zh-CN":"可视化","zh-TW":"視覺化"}},LayoutContainer_EmptyList_AddContent:{id:"LayoutContainer.EmptyList.AddContent",locale:{"de-DE":"Inhalt hinzufügen","en-US":"Add content","es-ES":"Añadir contenido","fr-FR":"Ajouter un contenu","it-IT":"Aggiungi contenuto","ja-JP":"コンテンツを追加","ko-KR":"콘텐츠 추가","nl-NL":"Inhoud toevoegen","pl-PL":"Dodaj zawartość","pt-BR":"Adicionar conteúdo","ru-RU":"Добавить содержимое","sv-SE":"Lägg till innehåll","tr-TR":"İçerik ekle","zh-CN":"添加内容","zh-TW":"新增內容"}},LayoutContainer_EmptyList_EmptyHint:{id:"LayoutContainer.EmptyList.EmptyHint",locale:{"de-DE":"Leere Sammelbox","en-US":"Empty container","es-ES":"Contenedor vacío","fr-FR":"Conteneur vide","it-IT":"Contenitore vuoto","ja-JP":"コンテナが空です","ko-KR":"빈 컨테이너","nl-NL":"Lege container","pl-PL":"Pusty kontener","pt-BR":"Contêiner vazio","ru-RU":"Пустой контейнер","sv-SE":"Tom behållare","tr-TR":"Kapsayıcı boş","zh-CN":"空容器","zh-TW":"空的容器"}},LayoutContainer_Object_Charts:{id:"LayoutContainer.Object.Charts",locale:{"de-DE":"Diagramme","en-US":"Charts","es-ES":"Gráficos","fr-FR":"Graphiques","it-IT":"Grafici","ja-JP":"チャート","ko-KR":"차트","nl-NL":"Diagrammen","pl-PL":"Wykresy","pt-BR":"Gráficos","ru-RU":"Диаграммы","sv-SE":"Diagram","tr-TR":"Grafikler","zh-CN":"图表","zh-TW":"圖表"}},LayoutContainer_Object_CustomObjects:{id:"LayoutContainer.Object.CustomObjects",locale:{"de-DE":"Benutzerdefinierte Objekte","en-US":"Custom objects","es-ES":"Objetos personalizados","fr-FR":"Objets personnalisés","it-IT":"Oggetti personalizzati","ja-JP":"カスタム オブジェクト","ko-KR":"사용자 지정 개체","nl-NL":"Aangepaste objecten","pl-PL":"Obiekty niestandardowe","pt-BR":"Objetos personalizados","ru-RU":"Пользовательские объекты","sv-SE":"Anpassade objekt","tr-TR":"Özel nesneler","zh-CN":"自定义对象","zh-TW":"自訂物件"}},LayoutContainer_Object_Description:{id:"LayoutContainer.Object.Description",locale:{"de-DE":"Die Sammelbox besteht aus folgenden Objekten: {0}. Verwenden Sie zum Navigieren die Nach-links- und Nach-rechts-Pfeiltasten. Drücken Sie die Eingabetaste oder die Leertaste, um die Diagramme auszuwählen.","en-US":"Container consists of the following objects: {0}. Use left and right arrow keys to navigate through the inner charts. Press enter or space to select the charts.","es-ES":"El contenedor consta de los siguientes objetos: {0}. Utilice las teclas de flecha izquierda y derecha para navegar por los gráficos interiores. Pulse Intro o espacio para seleccionar los gráficos.","fr-FR":"Le conteneur comprend les objets suivants : {0}. Utilisez les touches de direction gauche et droite pour parcourir les graphiques internes. Appuyez sur la touche Entrée ou espace pour sélectionner les graphiques.","it-IT":"Il contenitore include i seguenti oggetti: {0}. Utilizzare i tasti freccia sinistro e destro per navigare tra i grafici interni. Per selezionare i grafici, premere Invio o Spazio.","ja-JP":"コンテナは以下のオブジェクトで構成されます: {0}。左右の矢印キーを使用して、内部のチャートをナビゲートします。Enter キーかスペース キーを押してチャートを選択します。","ko-KR":"컨테이너는 다음 개체로 구성됩니다. {0}. 왼쪽 및 오른쪽 화살표 키를 사용하여 내부 차트를 탐색하십시오. 차트를 선택하려면 Enter 키나 스페이스바를 누르십시오.","nl-NL":"Container bevat de volgende objecten: {0}. Navigeer met de pijl-links en pijl-rechts langs de binnenste diagrammen. Druk op Enter of de spatiebalk om de diagrammen te selecteren.","pl-PL":"Kontener zawiera następujące obiekty: {0}. Do nawigacji po wewnętrznych wykresach użyj lewego i prawego klawisza strzałki. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać wykresy.","pt-BR":"O contêiner consiste nos seguintes objetos: {0}. Use as setas para a esquerda e para a direita para navegar pelos gráficos internos. Pressione Enter ou espaço para selecionar os gráficos.","ru-RU":"Контейнер состоит из следующих объектов: {0}. Для навигации по внутренним диаграммам используйте клавиши со стрелками влево и вправо. Нажмите клавишу Enter или пробел, чтобы выбрать диаграммы.","sv-SE":"Behållaren innehåller följande objekt: {0}. Använd vänster och höger piltangent för att navigera genom de inre diagrammen. Tryck på returtangenten eller mellanslag för att välja diagram.","tr-TR":"Kapsayıcı şu nesneleri içerir: {0}. İç grafikler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Grafik seçmek için enter veya boşluk tuşuna basın.","zh-CN":"容器由以下对象组成:{0}。使用左右箭头键浏览内部图表。按回车或空格键选择图表。","zh-TW":"容器由下列物件組成:{0}。使用向左和向右方向鍵瀏覽內部圖表。按下 Enter 或空間以選取圖表。"}},LayoutContainer_Object_MasterItems:{id:"LayoutContainer.Object.MasterItems",locale:{"de-DE":"Master-Elemente","en-US":"Master items","es-ES":"Elementos maestros","fr-FR":"Éléments principaux","it-IT":"Voci principali","ja-JP":"マスター アイテム","ko-KR":"마스터 항목","nl-NL":"Masteritems","pl-PL":"Elementy główne","pt-BR":"Itens mestre","ru-RU":"Основные элементы","sv-SE":"Originalobjekt","tr-TR":"Ana öğeler","zh-CN":"主条目","zh-TW":"主項目"}},LayoutContainer_Object_Untitled:{id:"LayoutContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}},TabContainer_Navigation_Horizontal:{id:"TabContainer.Navigation.Horizontal",locale:{"de-DE":"Verwenden Sie die Nach-links- und Nach-rechts-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use left and right arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha izquierda y derecha para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches gauche et droite pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Utilizzare i tasti freccia destra e sinistra per navigare tra le schede. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"左右の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 왼쪽 및 오른쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-links en pijl-rechts om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w lewo i w prawo. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para a esquerda e para a direita para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки влево и вправо для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd vänster och höger piltangent för att navigera mellan flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用左右箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向左和向右方向鍵瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Navigation_Vertical:{id:"TabContainer.Navigation.Vertical",locale:{"de-DE":"Verwenden Sie die Nach-unten- und Nach-oben-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use up and down arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha arriba y abajo para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches haut et bas pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Per navigare tra le schede, usare i tasti freccia su e giù. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"上下の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 위쪽 및 아래쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-omhoog en pijl-omlaag om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w górę i w dół. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para cima e para baixo para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки вверх и вниз для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd piltangenterna upp och ner för att navigera genom flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için yukarı ve aşağı ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用上下箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向上和向下方向鍵以瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Object_Description:{id:"TabContainer.Object.Description",locale:{"de-DE":"Die Registerkarten-Sammelbox besteht aus folgenden Objekten: {0}.","en-US":"Tab container consists of the following objects: {0}.","es-ES":"El contenedor de pestañas contiene los siguientes objetos: {0}.","fr-FR":"Le conteneur d'onglets comprend les objets suivants : {0}.","it-IT":"Il contenitore a schede include i seguenti oggetti: {0}.","ja-JP":"タブ コンテナは以下のオブジェクトで構成されています: {0}。","ko-KR":"탭 컨테이너는 다음 개체로 구성됩니다. {0}.","nl-NL":"Tabbladcontainer bevat de volgende objecten: {0}.","pl-PL":"Kontener kart zawiera następujące obiekty: {0}.","pt-BR":"O contêiner de guias consiste nos seguintes objetos: {0}.","ru-RU":"Контейнер вкладок содержит следующие объекты: {0}.","sv-SE":"Flikbehållaren innehåller följande objekt: {0}.","tr-TR":"Sekme kapsayıcısı şu nesneleri içerir: {0}.","zh-CN":"选项卡容器由以下对象组成:{0}。","zh-TW":"索引標籤容器由下列物件組成:{0}。"}},TabContainer_Object_Untitled:{id:"TabContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}}};function N(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var z=function(){if(M)return P;M=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},P=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,a,s;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];for(o=(s=r.slice()).length,a=0;a<o;a++)s[a].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,a;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(a=i;a-- >0;)if(r[a]===n||r[a].listener&&r[a].listener===n){o=a;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},P}();function D(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var B=Object.freeze({__proto__:null,default:D}),F="$$material";function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(null,arguments)}function H(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var U=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0!==e.speedy&&e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1],n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);if(n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n,this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),W="-ms-",Y="-moz-",V="-webkit-",q="comm",K="rule",X="decl",Z="@keyframes",J=Math.abs,Q=String.fromCharCode,ee=Object.assign;function te(e){return e.trim()}function ne(e,t,n){return e.replace(t,n)}function re(e,t){return e.indexOf(t)}function oe(e,t){return 0|e.charCodeAt(t)}function ie(e,t,n){return e.slice(t,n)}function ae(e){return e.length}function se(e){return e.length}function le(e,t){return t.push(e),e}var ce=1,de=1,ue=0,pe=0,he=0,fe="";function me(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ce,column:de,length:a,return:""}}function be(e,t){return ee(me("",null,null,"",null,null,0),e,{length:-e.length},t)}function ge(){return he=pe>0?oe(fe,--pe):0,de--,10===he&&(de=1,ce--),he}function ve(){return he=pe<ue?oe(fe,pe++):0,de++,10===he&&(de=1,ce++),he}function ye(){return oe(fe,pe)}function xe(){return pe}function Ee(e,t){return ie(fe,e,t)}function Ce(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Se(e){return ce=de=1,ue=ae(fe=e),pe=0,[]}function we(e){return fe="",e}function Re(e){return te(Ee(pe-1,ke(91===e?e+2:40===e?e+1:e)))}function _e(e){for(;(he=ye())&&he<33;)ve();return Ce(e)>2||Ce(he)>3?"":" "}function Ae(e,t){for(;--t&&ve()&&!(he<48||he>102||he>57&&he<65||he>70&&he<97););return Ee(e,xe()+(t<6&&32==ye()&&32==ve()))}function ke(e){for(;ve();)switch(he){case e:return pe;case 34:case 39:34!==e&&39!==e&&ke(he);break;case 40:41===e&&ke(e);break;case 92:ve()}return pe}function Ie(e,t){for(;ve()&&e+he!==57&&(e+he!==84||47!==ye()););return"/*"+Ee(t,pe-1)+"*"+Q(47===e?e:ve())}function Le(e){for(;!Ce(ye());)ve();return Ee(e,pe)}function Te(e){return we(Oe("",null,null,null,[""],e=Se(e),0,[0],e))}function Oe(e,t,n,r,o,i,a,s,l){for(var c=0,d=0,u=a,p=0,h=0,f=0,m=1,b=1,g=1,v=0,y="",x=o,E=i,C=r,S=y;b;)switch(f=v,v=ve()){case 40:if(108!=f&&58==oe(S,u-1)){-1!=re(S+=ne(Re(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=Re(v);break;case 9:case 10:case 13:case 32:S+=_e(f);break;case 92:S+=Ae(xe()-1,7);continue;case 47:switch(ye()){case 42:case 47:le(Me(Ie(ve(),xe()),t,n),l);break;default:S+="/"}break;case 123*m:s[c++]=ae(S)*g;case 125*m:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+d:-1==g&&(S=ne(S,/\f/g,"")),h>0&&ae(S)-u&&le(h>32?je(S+";",r,n,u-1):je(ne(S," ","")+";",r,n,u-2),l);break;case 59:S+=";";default:if(le(C=Pe(S,t,n,c,d,o,s,y,x=[],E=[],u),i),123===v)if(0===d)Oe(S,t,C,C,x,i,u,s,E);else switch(99===p&&110===oe(S,3)?100:p){case 100:case 108:case 109:case 115:Oe(e,C,C,r&&le(Pe(e,C,C,0,0,o,s,y,o,x=[],u),E),o,E,u,s,r?x:E);break;default:Oe(S,C,C,C,[""],E,0,s,E)}}c=d=h=0,m=g=1,y=S="",u=a;break;case 58:u=1+ae(S),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==ge())continue;switch(S+=Q(v),v*m){case 38:g=d>0?1:(S+="\f",-1);break;case 44:s[c++]=(ae(S)-1)*g,g=1;break;case 64:45===ye()&&(S+=Re(ve())),p=ye(),d=u=ae(y=S+=Le(xe())),v++;break;case 45:45===f&&2==ae(S)&&(m=0)}}return i}function Pe(e,t,n,r,o,i,a,s,l,c,d){for(var u=o-1,p=0===o?i:[""],h=se(p),f=0,m=0,b=0;f<r;++f)for(var g=0,v=ie(e,u+1,u=J(m=a[f])),y=e;g<h;++g)(y=te(m>0?p[g]+" "+v:ne(v,/&\f/g,p[g])))&&(l[b++]=y);return me(e,t,n,0===o?K:s,l,c,d)}function Me(e,t,n){return me(e,t,n,q,Q(he),ie(e,2,-2),0)}function je(e,t,n,r){return me(e,t,n,X,ie(e,0,r),ie(e,r+1,-1),r)}function Ne(e,t){for(var n="",r=se(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function $e(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case X:return e.return=e.return||e.value;case q:return"";case Z:return e.return=e.value+"{"+Ne(e.children,r)+"}";case K:e.value=e.props.join(",")}return ae(n=Ne(e.children,r))?e.return=e.value+"{"+n+"}":""}function ze(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var De=function(e,t,n){for(var r=0,o=0;r=o,o=ye(),38===r&&12===o&&(t[n]=1),!Ce(o);)ve();return Ee(e,pe)},Be=function(e,t){return we(function(e,t){var n=-1,r=44;do{switch(Ce(r)){case 0:38===r&&12===ye()&&(t[n]=1),e[n]+=De(pe-1,t,n);break;case 2:e[n]+=Re(r);break;case 4:if(44===r){e[++n]=58===ye()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Q(r)}}while(r=ve());return e}(Se(e),t))},Fe=new WeakMap,Ge=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Fe.get(n))&&!r){Fe.set(e,!0);for(var o=[],i=Be(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},He=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Ue=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},We=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Ye=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Ve=function(e,t,n){We(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Ye(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!We(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Ye(e)))};function qe(e,t){switch(function(e,t){return 45^oe(e,0)?(((t<<2^oe(e,0))<<2^oe(e,1))<<2^oe(e,2))<<2^oe(e,3):0}(e,t)){case 5103:return V+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return V+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return V+e+Y+e+W+e+e;case 6828:case 4268:return V+e+W+e+e;case 6165:return V+e+W+"flex-"+e+e;case 5187:return V+e+ne(e,/(\w+).+(:[^]+)/,V+"box-$1$2"+W+"flex-$1$2")+e;case 5443:return V+e+W+"flex-item-"+ne(e,/flex-|-self/,"")+e;case 4675:return V+e+W+"flex-line-pack"+ne(e,/align-content|flex-|-self/,"")+e;case 5548:return V+e+W+ne(e,"shrink","negative")+e;case 5292:return V+e+W+ne(e,"basis","preferred-size")+e;case 6060:return V+"box-"+ne(e,"-grow","")+V+e+W+ne(e,"grow","positive")+e;case 4554:return V+ne(e,/([^-])(transform)/g,"$1"+V+"$2")+e;case 6187:return ne(ne(ne(e,/(zoom-|grab)/,V+"$1"),/(image-set)/,V+"$1"),e,"")+e;case 5495:case 3959:return ne(e,/(image-set\([^]*)/,V+"$1$`$1");case 4968:return ne(ne(e,/(.+:)(flex-)?(.*)/,V+"box-pack:$3"+W+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+V+e+e;case 4095:case 3583:case 4068:case 2532:return ne(e,/(.+)-inline(.+)/,V+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ae(e)-1-t>6)switch(oe(e,t+1)){case 109:if(45!==oe(e,t+4))break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+V+"$2-$3$1"+Y+(108==oe(e,t+3)?"$3":"$2-$3"))+e;case 115:return~re(e,"stretch")?qe(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==oe(e,t+1))break;case 6444:switch(oe(e,ae(e)-3-(~re(e,"!important")&&10))){case 107:return ne(e,":",":"+V)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+V+(45===oe(e,14)?"inline-":"")+"box$3$1"+V+"$2$3$1"+W+"$2box$3")+e}break;case 5936:switch(oe(e,t+11)){case 114:return V+e+W+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return V+e+W+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return V+e+W+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return V+e+W+e+e}return e}var Ke,Xe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case X:e.return=qe(e.value,e.length);break;case Z:return Ne([be(e,{value:ne(e.value,"@","@"+V)})],r);case K:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ne([be(e,{props:[ne(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ne([be(e,{props:[ne(t,/:(plac\w+)/,":"+V+"input-$1")]}),be(e,{props:[ne(t,/:(plac\w+)/,":-moz-$1")]}),be(e,{props:[ne(t,/:(plac\w+)/,W+"input-$1")]})],r)}return""})}}],Ze=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;Ke=function(e){var t=e.match(Ze);if(t)return t[t.length-1]};var Je,Qe,et,tt,nt=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r=e.stylisPlugins||Xe;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var l=[Ge,He];l.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:r,a=i.length-1;a>=0;a--){var s=i[a];if(s.line<t.line)break;if(s.column<t.column){if(Ue(s))return;break}}o.forEach(function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')})}}}}({get compat(){return p.compat}}),Ve);var c,d=[$e,function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==q&&c.insert(e.value+"{}"))}],u=function(e){var t=se(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}(l.concat(r,d));i=function(e,t,n,r){if(c=n,Ke){var o=Ke(t.styles);o&&(c={insert:function(e){n.insert(e+o)}})}!function(e){Ne(Te(e),u)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new U({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return p.sheet.hydrate(s),p},rt={exports:{}},ot={};function it(){return Qe||(Qe=1,rt.exports=function(){if(Je)return ot;Je=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case i:case o:case u:return e;default:switch(e=e&&e.$$typeof){case s:case d:case f:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return ot.AsyncMode=l,ot.ConcurrentMode=c,ot.ContextConsumer=s,ot.ContextProvider=a,ot.Element=t,ot.ForwardRef=d,ot.Fragment=r,ot.Lazy=f,ot.Memo=h,ot.Portal=n,ot.Profiler=i,ot.StrictMode=o,ot.Suspense=u,ot.isAsyncMode=function(e){return x(e)||y(e)===l},ot.isConcurrentMode=x,ot.isContextConsumer=function(e){return y(e)===s},ot.isContextProvider=function(e){return y(e)===a},ot.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ot.isForwardRef=function(e){return y(e)===d},ot.isFragment=function(e){return y(e)===r},ot.isLazy=function(e){return y(e)===f},ot.isMemo=function(e){return y(e)===h},ot.isPortal=function(e){return y(e)===n},ot.isProfiler=function(e){return y(e)===i},ot.isStrictMode=function(e){return y(e)===o},ot.isSuspense=function(e){return y(e)===u},ot.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===d||e.$$typeof===b||e.$$typeof===g||e.$$typeof===v||e.$$typeof===m)},ot.typeOf=y,ot}()),rt.exports}!function(){if(tt)return et;tt=1;var e=it(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,u=Object.prototype;et=function e(t,r,o){if("string"!=typeof r){if(u){var p=d(r);p&&p!==u&&e(t,p,o)}var h=s(r);l&&(h=h.concat(l(r)));for(var f=i(t),m=i(r),b=0;b<h.length;++b){var g=h[b];if(!(n[g]||o&&o[g]||m&&m[g]||f&&f[g])){var v=c(r,g);try{a(t,g,v)}catch(e){}}}}return t}}();function at(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var st=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},lt=function(e,t,n){st(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var ct={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",ut="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",pt=/[A-Z]|^ms/g,ht=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ft=function(e){return 45===e.charCodeAt(1)},mt=function(e){return null!=e&&"boolean"!=typeof e},bt=ze(function(e){return ft(e)?e:e.replace(pt,"-$&").toLowerCase()}),gt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ht,function(e,t,n){return _t={name:t,styles:n,next:_t},t})}return 1===ct[e]||ft(e)||"number"!=typeof t||0===t?t:t+"px"},vt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,yt=["normal","none","initial","inherit","unset"],xt=gt,Et=/^-ms-/,Ct=/-(.)/g,St={};gt=function(e,t){if("content"===e&&("string"!=typeof t||-1===yt.indexOf(t)&&!vt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=xt(e,t);return""===n||ft(e)||-1===e.indexOf("-")||void 0!==St[e]||(St[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Et,"ms-").replace(Ct,function(e,t){return t.toUpperCase()})+"?")),n};var wt="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Rt(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles){if("NO_COMPONENT_SELECTOR"===String(r))throw new Error(wt);return r}switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return _t={name:o.name,styles:o.styles,next:_t},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)_t={name:a.name,styles:a.styles,next:_t},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Rt(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?r+=i+"{"+t[s]+"}":mt(s)&&(r+=bt(i)+":"+gt(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i)throw new Error(wt);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Rt(e,t,a);switch(i){case"animation":case"animationName":r+=bt(i)+":"+l+";";break;default:"undefined"===i&&console.error(ut),r+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)mt(a[c])&&(r+=bt(i)+":"+gt(i,a[c])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=_t,l=n(e);return _t=s,Rt(e,t,l)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var c=[],d=n.replace(ht,function(e,t,n){var r="animation"+c.length;return c.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+d+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+d+"`")}var u=n;if(null==t)return u;var p=t[u];return void 0!==p?p:u}var _t,At=/label:\s*([^\s;{]+)\s*(;|$)/g;function kt(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";_t=void 0;var i=e[0];if(null==i||void 0===i.raw)r=!1,o+=Rt(n,t,i);else{var a=i;void 0===a[0]&&console.error(dt),o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Rt(n,t,e[s]),r){var l=i;void 0===l[s]&&console.error(dt),o+=l[s]}At.lastIndex=0;for(var c,d="";null!==(c=At.exec(o));)d+="-"+c[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+d;return{name:u,styles:o,next:_t,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}}var It=!!y.useInsertionEffect&&y.useInsertionEffect,Lt=It||function(e){return e()},Tt=It||y.useLayoutEffect,Ot=y.createContext("undefined"!=typeof HTMLElement?nt({key:"css"}):null);Ot.displayName="EmotionCacheContext";var Pt=Ot.Provider,Mt=function(e){return x(function(t,n){var r=E(Ot);return e(t,r,n)})},jt=y.createContext({});jt.displayName="EmotionThemeContext";var Nt={}.hasOwnProperty,$t=function(e){var t=e.split(".");return t[t.length-1]},zt=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);return t||(t=/^([A-Za-z0-9$.]+)@/.exec(e))?$t(t[1]):void 0},Dt=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Bt=function(e){return e.replace(/\$/g,"-")},Ft="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Gt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ht=function(e,t){if("string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+t.css+"`");var n={};for(var r in t)Nt.call(t,r)&&(n[r]=t[r]);if(n[Ft]=e,"undefined"!=typeof globalThis&&globalThis.EMOTION_RUNTIME_AUTO_LABEL&&t.css&&("object"!=typeof t.css||!("name"in t.css)||"string"!=typeof t.css.name||-1===t.css.name.indexOf("-"))){var o=function(e){if(e)for(var t=e.split("\n"),n=0;n<t.length;n++){var r=zt(t[n]);if(r){if(Dt.has(r))break;if(/^[A-Z]/.test(r))return Bt(r)}}}((new Error).stack);o&&(n[Gt]=o)}return n},Ut=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return st(t,n,r),Lt(function(){return lt(t,n,r)}),null},Wt=Mt(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Ft],i=[r],a="";"string"==typeof e.className?a=at(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var s=kt(i,void 0,y.useContext(jt));if(-1===s.name.indexOf("-")){var l=e[Gt];l&&(s=kt([s,"label:"+l+";"]))}a+=t.key+"-"+s.name;var c={};for(var d in e)Nt.call(e,d)&&"css"!==d&&d!==Ft&&d!==Gt&&(c[d]=e[d]);return c.className=a,n&&(c.ref=n),y.createElement(y.Fragment,null,y.createElement(Ut,{cache:t,serialized:s,isStringTag:"string"==typeof o}),y.createElement(o,c))});Wt.displayName="EmotionCssPropInternal";var Yt,Vt,qt=Wt,Kt=function(e,t){var n=arguments;if(null==t||!Nt.call(t,"css"))return y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=qt,o[1]=Ht(e,t);for(var i=2;i<r;i++)o[i]=n[i];return y.createElement.apply(null,o)};Yt=Kt||(Kt={}),Vt||(Vt=Yt.JSX||(Yt.JSX={}));var Xt=!1,Zt=Mt(function(e,t){!Xt&&("className"in e&&e.className||"css"in e&&e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Xt=!0);var n=kt([e.styles],void 0,y.useContext(jt)),r=y.useRef();return Tt(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),Tt(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&lt(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function Jt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return kt(t)}function Qt(){var e=Jt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}Zt.displayName="EmotionGlobal";var en=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in void 0!==i.styles&&void 0!==i.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};var tn=function(e){var t=e.cache,n=e.serializedArr;return Lt(function(){for(var e=0;e<n.length;e++)lt(t,n[e],!1)}),null},nn=Mt(function(e,t){var n=!1,r=[],o=function(){if(n)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a=kt(o,t.registered);return r.push(a),st(t,a,!1),t.key+"-"+a.name},i={css:o,cx:function(){if(n)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return function(e,t,n){var r=[],o=at(e,r,n);return r.length<2?n:o+t(r)}(t.registered,o,en(r))},theme:y.useContext(jt)},a=e.children(i);return n=!0,y.createElement(y.Fragment,null,y.createElement(tn,{cache:t,serializedArr:r}),a)});nn.displayName="EmotionClassNames";var rn="undefined"!=typeof document,on="undefined"!=typeof jest||"undefined"!=typeof vi;if(rn&&!on){var an="undefined"!=typeof globalThis?globalThis:rn?window:global,sn="__EMOTION_REACT_"+"11.14.0".split(".")[0]+"__";an[sn]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),an[sn]=!0}var ln=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,cn=ze(function(e){return ln.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),dn=function(e){return"theme"!==e},un=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?cn:dn},pn=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},hn="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",fn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return st(t,n,r),Lt(function(){return lt(t,n,r)}),null},mn=function e(t,n){if(void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=pn(t,n,i),l=s||un(a),c=!l("as");return function(){var d=arguments,u=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&u.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)u.push.apply(u,d);else{var p=d[0];void 0===p[0]&&console.error(hn),u.push(p[0]);for(var h=d.length,f=1;f<h;f++)void 0===p[f]&&console.error(hn),u.push(d[f],p[f])}var m=Mt(function(e,t,n){var r=c&&e.as||a,i="",d=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=y.useContext(jt)}"string"==typeof e.className?i=at(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var f=kt(u.concat(d),t.registered,p);i+=t.key+"-"+f.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===s?un(r):l,b={};for(var g in e)c&&"as"===g||m(g)&&(b[g]=e[g]);return b.className=i,n&&(b.ref=n),y.createElement(y.Fragment,null,y.createElement(fn,{cache:t,serialized:f,isStringTag:"string"==typeof r}),y.createElement(r,b))});return m.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=u,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return void 0===o?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,r){return e(t,G({},n,r,{shouldForwardProp:pn(m,r,!0)})).apply(void 0,u)},m}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){mn[e]=mn(e)});var bn,gn,vn={exports:{}},yn={};var xn=(gn||(gn=1,vn.exports=function(){if(bn)return yn;bn=1;var e=C,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var s,l={},c=null,d=null;for(s in void 0!==a&&(c=""+a),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(d=n.ref),n)r.call(n,s)&&!i.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:d,props:l,_owner:o.current}}return yn.Fragment=n,yn.jsx=a,yn.jsxs=a,yn}()),vn.exports);const En=new Map;function Cn(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return xn.jsx(Zt,{styles:r})}
8
8
  /**
9
9
  * @mui/styled-engine v5.18.0
10
10
  *
11
11
  * @license MIT
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
- */function Sn(e,t){return mn(e,t)}const wn=[];function Rn(e){return wn[0]=e,kt(wn)}var _n=Object.freeze({__proto__:null,GlobalStyles:Cn,StyledEngineProvider:function(e){const{injectFirst:t,enableCssLayer:n,children:r}=e,o=y.useMemo(()=>{const e=`${t}-${n}`;if("object"==typeof document&&En.has(e))return En.get(e);const r=function(e,t){const n=nt({key:"css",prepend:e});if(t){const e=n.insert;n.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return n}(t,n);return En.set(e,r),r},[t,n]);return t||n?xn.jsx(Pt,{value:o,children:r}):r},ThemeContext:jt,css:Jt,default:Sn,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},internal_serializeStyles:Rn,keyframes:Qt});function An(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function kn(e){if(y.isValidElement(e)||!An(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=kn(e[n])}),t}function In(e,t,n={clone:!0}){const r=n.clone?G({},e):e;return An(e)&&An(t)&&Object.keys(t).forEach(o=>{y.isValidElement(t[o])?r[o]=t[o]:An(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&An(e[o])?r[o]=In(e[o],t[o],n):n.clone?r[o]=An(t[o])?kn(t[o]):t[o]:r[o]=t[o]}),r}var Tn=Object.freeze({__proto__:null,default:In,isPlainObject:An});const Ln=["values","unit","step"];function On(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=H(e,Ln),i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>G({},e,{[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return G({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Pn={borderRadius:4};function Mn(e,t){return t?In(e,t,{clone:!1}):e}const jn={xs:0,sm:600,md:900,lg:1200,xl:1536},Nn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jn[e]}px)`};function $n(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Nn;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||Nn;return Object.keys(t).reduce((r,o)=>{if(-1!==Object.keys(e.values||jn).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r},{})}return n(t)}function zn(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Dn(e){if("string"!=typeof e)throw new Error(D(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Bn=Object.freeze({__proto__:null,default:Dn});function Fn(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Gn(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Fn(e,n)||r,t&&(o=t(o,r,e)),o}function Hn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Fn(e.theme,r)||{};return $n(e,i,e=>{let r=Gn(a,o,e);return e===r&&"string"==typeof e&&(r=Gn(a,o,`${t}${"default"===e?"":Dn(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i}const Un={m:"margin",p:"padding"},Wn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Vn=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Yn[e])return[e];e=Yn[e]}const[t,n]=e.split(""),r=Un[t],o=Wn[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),qn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Kn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Xn(e,t,n,r){var o;const i=null!=(o=Fn(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Zn(e){return Xn(e,"spacing",8)}function Jn(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Qn(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Jn(t,n),e),{})}(Vn(n),r);return $n(e,e[n],o)}function er(e,t){const n=Zn(e.theme);return Object.keys(e).map(r=>Qn(e,t,r,n)).reduce(Mn,{})}function tr(e){return er(e,qn)}function nr(e){return er(e,Kn)}function rr(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Mn(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function or(e){return"number"!=typeof e?e:`${e}px solid`}function ir(e,t){return Hn({prop:e,themeKey:"borders",transform:t})}tr.propTypes={},tr.filterProps=qn,nr.propTypes={},nr.filterProps=Kn;const ar=ir("border",or),sr=ir("borderTop",or),lr=ir("borderRight",or),cr=ir("borderBottom",or),dr=ir("borderLeft",or),ur=ir("borderColor"),pr=ir("borderTopColor"),hr=ir("borderRightColor"),fr=ir("borderBottomColor"),mr=ir("borderLeftColor"),br=ir("outline",or),gr=ir("outlineColor"),vr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Xn(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Jn(t,e)});return $n(e,e.borderRadius,n)}return null};vr.propTypes={},vr.filterProps=["borderRadius"],rr(ar,sr,lr,cr,dr,ur,pr,hr,fr,mr,vr,br,gr);const yr=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Xn(e.theme,"spacing",8),n=e=>({gap:Jn(t,e)});return $n(e,e.gap,n)}return null};yr.propTypes={},yr.filterProps=["gap"];const xr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Xn(e.theme,"spacing",8),n=e=>({columnGap:Jn(t,e)});return $n(e,e.columnGap,n)}return null};xr.propTypes={},xr.filterProps=["columnGap"];const Er=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Xn(e.theme,"spacing",8),n=e=>({rowGap:Jn(t,e)});return $n(e,e.rowGap,n)}return null};Er.propTypes={},Er.filterProps=["rowGap"];function Cr(e,t){return"grey"===t?t:e}rr(yr,xr,Er,Hn({prop:"gridColumn"}),Hn({prop:"gridRow"}),Hn({prop:"gridAutoFlow"}),Hn({prop:"gridAutoColumns"}),Hn({prop:"gridAutoRows"}),Hn({prop:"gridTemplateColumns"}),Hn({prop:"gridTemplateRows"}),Hn({prop:"gridTemplateAreas"}),Hn({prop:"gridArea"}));function Sr(e){return e<=1&&0!==e?100*e+"%":e}rr(Hn({prop:"color",themeKey:"palette",transform:Cr}),Hn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Cr}),Hn({prop:"backgroundColor",themeKey:"palette",transform:Cr}));const wr=Hn({prop:"width",transform:Sr}),Rr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||jn[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Sr(t)}};return $n(e,e.maxWidth,t)}return null};Rr.filterProps=["maxWidth"];const _r=Hn({prop:"minWidth",transform:Sr}),Ar=Hn({prop:"height",transform:Sr}),kr=Hn({prop:"maxHeight",transform:Sr}),Ir=Hn({prop:"minHeight",transform:Sr});Hn({prop:"size",cssProperty:"width",transform:Sr}),Hn({prop:"size",cssProperty:"height",transform:Sr});rr(wr,Rr,_r,Ar,kr,Ir,Hn({prop:"boxSizing"}));const Tr={border:{themeKey:"borders",transform:or},borderTop:{themeKey:"borders",transform:or},borderRight:{themeKey:"borders",transform:or},borderBottom:{themeKey:"borders",transform:or},borderLeft:{themeKey:"borders",transform:or},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:or},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:vr},color:{themeKey:"palette",transform:Cr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Cr},backgroundColor:{themeKey:"palette",transform:Cr},p:{style:nr},pt:{style:nr},pr:{style:nr},pb:{style:nr},pl:{style:nr},px:{style:nr},py:{style:nr},padding:{style:nr},paddingTop:{style:nr},paddingRight:{style:nr},paddingBottom:{style:nr},paddingLeft:{style:nr},paddingX:{style:nr},paddingY:{style:nr},paddingInline:{style:nr},paddingInlineStart:{style:nr},paddingInlineEnd:{style:nr},paddingBlock:{style:nr},paddingBlockStart:{style:nr},paddingBlockEnd:{style:nr},m:{style:tr},mt:{style:tr},mr:{style:tr},mb:{style:tr},ml:{style:tr},mx:{style:tr},my:{style:tr},margin:{style:tr},marginTop:{style:tr},marginRight:{style:tr},marginBottom:{style:tr},marginLeft:{style:tr},marginX:{style:tr},marginY:{style:tr},marginInline:{style:tr},marginInlineStart:{style:tr},marginInlineEnd:{style:tr},marginBlock:{style:tr},marginBlockStart:{style:tr},marginBlockEnd:{style:tr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:yr},rowGap:{style:Er},columnGap:{style:xr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Sr},maxWidth:{style:Rr},minWidth:{transform:Sr},height:{transform:Sr},maxHeight:{transform:Sr},minHeight:{transform:Sr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Lr(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const d=Fn(n,s)||{};if(c)return c(o);return $n(o,t,t=>{let n=Gn(d,l,t);return t===n&&"string"==typeof t&&(n=Gn(d,l,`${e}${"default"===t?"":Dn(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){var r;const{sx:o,theme:i={},nested:a}=n||{};if(!o)return null;const s=null!=(r=i.unstable_sxConfig)?r:Tr;function l(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,n)=>(t[e.up(n)]={},t),{}))||{}}(i.breakpoints),l=Object.keys(o);let c=o;return Object.keys(r).forEach(n=>{const o=(a=r[n],l=i,"function"==typeof a?a(l):a);var a,l;if(null!=o)if("object"==typeof o)if(s[n])c=Mn(c,e(n,o,i,s));else{const e=$n({theme:i},o,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,o)?c=Mn(c,e):c[n]=t({sx:o,theme:i,nested:!0})}else c=Mn(c,e(n,o,i,s))}),!a&&i.modularCssLayers?{"@layer sx":zn(l,c)}:zn(l,c)}return Array.isArray(o)?o.map(l):l(o)}}const Or=Lr();function Pr(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}Or.filterProps=["sx"];const Mr=["breakpoints","palette","spacing","shape"];function jr(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=H(e,Mr),s=On(n),l=function(e=8){if(e.mui)return e;const t=Zn({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}(o);let c=In({breakpoints:s,direction:"ltr",components:{},palette:G({mode:"light"},r),spacing:l,shape:G({},Pn,i)},a);return c.applyStyles=Pr,c=t.reduce((e,t)=>In(e,t),c),c.unstable_sxConfig=G({},Tr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Or({sx:e,theme:this})},c}var Nr=Object.freeze({__proto__:null,default:jr,private_createBreakpoints:On,unstable_applyStyles:Pr});function $r(e=null){const t=y.useContext(jt);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const zr=jr();function Dr(e=zr){return $r(e)}function Br(e){const t=Rn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Fr({styles:e,themeId:t,defaultTheme:n={}}){const r=Dr(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>Br("function"==typeof e?e(o):e)):Br(i)),xn.jsx(Cn,{styles:i})}const Gr=["sx"];function Hr(e){const{sx:t}=e,n=H(e,Gr),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Tr;return Object.keys(e).forEach(t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]}),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return An(n)?G({},r,n):r}:G({},r,t),G({},o,{sx:i})}var Ur=Object.freeze({__proto__:null,default:Or,extendSxProp:Hr,unstable_createStyleFunctionSx:Lr,unstable_defaultSxConfig:Tr});const Wr=e=>e,Yr=(()=>{let e=Wr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Wr}}})();function Vr(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Vr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function qr(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Vr(e))&&(r&&(r+=" "),r+=t);return r}const Kr=["className","component"];const Xr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Zr(e,t,n="Mui"){const r=Xr[t];return r?`${n}-${r}`:`${Yr.generate(e)}-${t}`}function Jr(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=Zr(e,t,n)}),r}var Qr,eo,to={exports:{}},no={};function ro(){if(Qr)return no;Qr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");function f(h){if("object"==typeof h&&null!==h){var f=h.$$typeof;switch(f){case e:switch(h=h.type){case n:case o:case r:case l:case c:case p:return h;default:switch(h=h&&h.$$typeof){case a:case s:case u:case d:case i:return h;default:return f}}case t:return f}}}return no.ContextConsumer=i,no.ContextProvider=a,no.Element=e,no.ForwardRef=s,no.Fragment=n,no.Lazy=u,no.Memo=d,no.Portal=t,no.Profiler=o,no.StrictMode=r,no.Suspense=l,no.SuspenseList=c,no.isContextConsumer=function(e){return f(e)===i},no.isContextProvider=function(e){return f(e)===a},no.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},no.isForwardRef=function(e){return f(e)===s},no.isFragment=function(e){return f(e)===n},no.isLazy=function(e){return f(e)===u},no.isMemo=function(e){return f(e)===d},no.isPortal=function(e){return f(e)===t},no.isProfiler=function(e){return f(e)===o},no.isStrictMode=function(e){return f(e)===r},no.isSuspense=function(e){return f(e)===l},no.isSuspenseList=function(e){return f(e)===c},no.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===u||e.$$typeof===d||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===h||void 0!==e.getModuleId)},no.typeOf=f,no}function oo(){return eo||(eo=1,to.exports=ro()),to.exports}var io=oo();const ao=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function so(e){const t=`${e}`.match(ao);return t&&t[1]||""}function lo(e,t=""){return e.displayName||e.name||so(e)||t}function co(e,t,n){const r=lo(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var uo=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return lo(e,"Component");if("object"==typeof e)switch(e.$$typeof){case io.ForwardRef:return co(e,e.render,"ForwardRef");case io.Memo:return co(e,e.type,"memo");default:return}}},getFunctionName:so});function po(e,t){const n=G({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=G({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=G({},i),Object.keys(o).forEach(e=>{n[r][e]=po(o[e],i[e])})):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])}),n}const ho="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;function fo(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var mo=Object.freeze({__proto__:null,default:fo});function bo(e){if(e.type)return e;if("#"===e.charAt(0))return bo(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(D(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(D(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}function go(e,t){return e=bo(e),t=function(e,t=0,n=1){return fo(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function vo(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function yo(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function xo(e){return e&&e.ownerDocument||document}function Eo(e){return xo(e).defaultView||window}function Co(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let So=0;const wo=y["useId".toString()];function Ro(e){if(void 0!==wo){return wo()}return function(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{null==t&&(So+=1,n(`mui-${So}`))},[t]),r}(e)}function _o(e){const t=y.useRef(e);return ho(()=>{t.current=e}),y.useRef((...e)=>(0,t.current)(...e)).current}function Ao(...e){return y.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{Co(e,t)})},e)}const ko={};const Io=[];class To{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new To}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function Lo(){const e=function(e,t){const n=y.useRef(ko);return n.current===ko&&(n.current=e(t)),n}(To.create).current;return function(e){y.useEffect(e,Io)}(e.disposeEffect),e}let Oo=!0,Po=!1;const Mo=new To,jo={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 No(e){e.metaKey||e.altKey||e.ctrlKey||(Oo=!0)}function $o(){Oo=!1}function zo(){"hidden"===this.visibilityState&&Po&&(Oo=!0)}function Do(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Oo||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!jo[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Bo(){const e=y.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",No,!0),t.addEventListener("mousedown",$o,!0),t.addEventListener("pointerdown",$o,!0),t.addEventListener("touchstart",$o,!0),t.addEventListener("visibilitychange",zo,!0))},[]),t=y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Do(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Po=!0,Mo.start(100,()=>{Po=!1}),t.current=!1,!0)},ref:e}}function Fo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Go;function Ho(){if(Go)return Go;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),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),Go="reverse",e.scrollLeft>0?Go="default":(e.scrollLeft=1,0===e.scrollLeft&&(Go="negative")),document.body.removeChild(e),Go}function Uo(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Ho()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Wo(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}function Yo(e){return"string"==typeof e}function Vo(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function qo(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t}const Ko=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Xo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=H(e,Ko),s=i?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:l,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=qr(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=G({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=G({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Vo(G({},o,r)),s=qo(r),l=qo(o),c=t(a),d=qr(null==c?void 0:c.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),u=G({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=G({},c,n,l,s);return d.length>0&&(p.className=d),Object.keys(u).length>0&&(p.style=u),{props:p,internalRef:c.ref}}(G({},a,{externalSlotProps:s})),d=function(e,t,n){return void 0===e||Yo(e)?t:G({},t,{ownerState:G({},t.ownerState,n)})}(n,G({},l,{ref:Ao(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return d}function Zo(e){var t;return parseInt(y.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const Jo=y.createContext(null);function Qo(){return y.useContext(Jo)}var ei="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function ti(e){const{children:t,theme:n}=e,r=Qo(),o=y.useMemo(()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return G({},e,t)}(r,n);return null!=e&&(e[ei]=null!==r),e},[n,r]);return xn.jsx(Jo.Provider,{value:o,children:t})}const ni=["value"],ri=y.createContext();function oi(e){let{value:t}=e,n=H(e,ni);return xn.jsx(ri.Provider,G({value:null==t||t},n))}const ii=()=>{const e=y.useContext(ri);return null!=e&&e},ai=y.createContext(void 0);function si({value:e,children:t}){return xn.jsx(ai.Provider,{value:e,children:t})}function li({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?po(o.defaultProps,r):o.styleOverrides||o.variants?r:po(o,r)}({props:e,name:t,theme:{components:y.useContext(ai)}})}const ci={};function di(e,t,n,r=!1){return y.useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?G({},t,{[e]:i}):i;return r?()=>a:a}return G({},t,e?{[e]:n}:n)},[e,t,n,r])}function ui(e){const{children:t,theme:n,themeId:r}=e,o=$r(ci),i=Qo()||ci,a=di(r,o,n),s=di(r,i,n,!0),l="rtl"===a.direction,c=function(e){const t=$r(),n=Ro()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",ho(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var r;if(t&&null!=(r=t.hasAttribute)&&r.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",n),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${n}"]`))||i.remove()}},[o,n]),o?xn.jsx(Fr,{styles:o}):null}(a);return xn.jsx(ti,{theme:s,children:xn.jsx(jt.Provider,{value:a,children:xn.jsx(oi,{value:l,children:xn.jsxs(si,{value:null==a?void 0:a.components,children:[c,t]})})})})}var pi,hi={},fi={exports:{}};function mi(){return pi||(pi=1,(e=fi).exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports),fi.exports;var e}var bi,gi=$(B),yi=$(mo);function xi(){if(bi)return hi;bi=1;var e=mi();Object.defineProperty(hi,"__esModule",{value:!0}),hi.alpha=d,hi.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),a=i(e),l=i(t),c=[o(a.values[0],l.values[0]),o(a.values[1],l.values[1]),o(a.values[2],l.values[2])];return s({type:"rgb",values:c})},hi.colorChannel=void 0,hi.darken=u,hi.decomposeColor=i,hi.emphasize=h,hi.getContrastRatio=function(e,t){const n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},hi.getLuminance=c,hi.hexToRgb=o,hi.hslToRgb=l,hi.lighten=p,hi.private_safeAlpha=function(e,t,n){try{return d(e,t)}catch(t){return e}},hi.private_safeColorChannel=void 0,hi.private_safeDarken=function(e,t,n){try{return u(e,t)}catch(t){return e}},hi.private_safeEmphasize=function(e,t,n){try{return h(e,t)}catch(t){return e}},hi.private_safeLighten=function(e,t,n){try{return p(e,t)}catch(t){return e}},hi.recomposeColor=s,hi.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=i(e);return`#${t.map((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e)).join("")}`};var t=e(gi),n=e(yi);function r(e,t=0,r=1){return(0,n.default)(e,t,r)}function o(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(o(e));const n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,t.default)(9,e));let a,s=e.substring(n+1,e.length-1);if("color"===r){if(s=s.split(" "),a=s.shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,t.default)(10,a))}else s=s.split(",");return s=s.map(e=>parseFloat(e)),{type:r,values:s,colorSpace:a}}const a=e=>{const t=i(e);return t.values.slice(0,3).map((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e).join(" ")};hi.colorChannel=a;function s(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function l(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),l=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const d=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",d.push(t[3])),s({type:c,values:d})}function c(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(l(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)}function u(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function p(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return s(e)}function h(e,t=.15){return c(e)>.5?u(e,t):p(e,t)}return hi.private_safeColorChannel=(e,t)=>{try{return a(e)}catch(t){return e}},hi}var Ei=xi();const Ci={black:"#000",white:"#fff"},Si={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},wi="#f3e5f5",Ri="#ce93d8",_i="#ba68c8",Ai="#ab47bc",ki="#9c27b0",Ii="#7b1fa2",Ti="#e57373",Li="#ef5350",Oi="#f44336",Pi="#d32f2f",Mi="#c62828",ji="#ffb74d",Ni="#ffa726",$i="#ff9800",zi="#f57c00",Di="#e65100",Bi="#e3f2fd",Fi="#90caf9",Gi="#42a5f5",Hi="#1976d2",Ui="#1565c0",Wi="#4fc3f7",Yi="#29b6f6",Vi="#03a9f4",qi="#0288d1",Ki="#01579b",Xi="#81c784",Zi="#66bb6a",Ji="#4caf50",Qi="#388e3c",ea="#2e7d32",ta="#1b5e20",na=["mode","contrastThreshold","tonalOffset"],ra={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ci.white,default:Ci.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},oa={text:{primary:Ci.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ci.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ia(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Ei.lighten(e.main,o):"dark"===t&&(e.dark=Ei.darken(e.main,i)))}function aa(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=H(e,na),i=e.primary||function(e="light"){return"dark"===e?{main:Fi,light:Bi,dark:Gi}:{main:Hi,light:Gi,dark:Ui}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ri,light:wi,dark:Ai}:{main:ki,light:_i,dark:Ii}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Oi,light:Ti,dark:Pi}:{main:Pi,light:Li,dark:Mi}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Yi,light:Wi,dark:qi}:{main:qi,light:Vi,dark:Ki}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Zi,light:Xi,dark:Qi}:{main:ea,light:Ji,dark:ta}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Ni,light:ji,dark:zi}:{main:"#ed6c02",light:$i,dark:Di}}(t);function u(e){return Ei.getContrastRatio(e,oa.text.primary)>=n?oa.text.primary:ra.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=G({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(D(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(D(12,t?` (${t})`:"",JSON.stringify(e.main)));return ia(e,"light",o,r),ia(e,"dark",i,r),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:oa,light:ra};return In(G({common:G({},Ci),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:Si,contrastThreshold:n,getContrastText:u,augmentColor:p,tonalOffset:r},h[t]),o)}const sa=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const la={textTransform:"uppercase"},ca='"Roboto", "Helvetica", "Arial", sans-serif';function da(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=ca,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=n,p=H(n,sa),h=o/14,f=u||(e=>e/c*h+"rem"),m=(e,t,n,o,i)=>{return G({fontFamily:r,fontWeight:e,fontSize:f(t),lineHeight:n},r===ca?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,d);var a},b={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,la),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,la),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return In(G({htmlFontSize:c,pxToRem:f,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},b),p,{clone:!1})}function ua(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const pa=["none",ua(0,2,1,-1,0,1,1,0,0,1,3,0),ua(0,3,1,-2,0,2,2,0,0,1,5,0),ua(0,3,3,-2,0,3,4,0,0,1,8,0),ua(0,2,4,-1,0,4,5,0,0,1,10,0),ua(0,3,5,-1,0,5,8,0,0,1,14,0),ua(0,3,5,-1,0,6,10,0,0,1,18,0),ua(0,4,5,-2,0,7,10,1,0,2,16,1),ua(0,5,5,-3,0,8,10,1,0,3,14,2),ua(0,5,6,-3,0,9,12,1,0,3,16,2),ua(0,6,6,-3,0,10,14,1,0,4,18,3),ua(0,6,7,-4,0,11,15,1,0,4,20,3),ua(0,7,8,-4,0,12,17,2,0,5,22,4),ua(0,7,8,-4,0,13,19,2,0,5,24,4),ua(0,7,9,-4,0,14,21,2,0,5,26,4),ua(0,8,9,-5,0,15,22,2,0,6,28,5),ua(0,8,10,-5,0,16,24,2,0,6,30,5),ua(0,8,11,-5,0,17,26,2,0,6,32,5),ua(0,9,11,-5,0,18,28,2,0,7,34,6),ua(0,9,12,-6,0,19,29,2,0,7,36,6),ua(0,10,13,-6,0,20,31,3,0,8,38,7),ua(0,10,13,-6,0,21,33,3,0,8,40,7),ua(0,10,14,-6,0,22,35,3,0,8,42,7),ua(0,11,14,-7,0,23,36,3,0,9,44,8),ua(0,11,15,-7,0,24,38,3,0,9,46,8)],ha=["duration","easing","delay"],fa={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)"},ma={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ba(e){return`${Math.round(e)}ms`}function ga(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function va(e){const t=G({},fa,e.easing),n=G({},ma,e.duration);return G({getAutoHeightDuration:ga,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return H(r,ha),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:ba(o)} ${i} ${"string"==typeof a?a:ba(a)}`).join(",")}},e,{easing:t,duration:n})}const ya={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},xa=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ea(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=H(e,xa);if(e.vars&&void 0===e.generateCssVars)throw new Error(D(18));const s=aa(r),l=jr(e);let c=In(l,{mixins:(d=l.breakpoints,u=n,G({toolbar:{minHeight:56,[d.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[d.up("sm")]:{minHeight:64}}},u)),palette:s,shadows:pa.slice(),typography:da(s,i),transitions:va(o),zIndex:G({},ya)});var d,u;return c=In(c,a),c=t.reduce((e,t)=>In(e,t),c),c.unstable_sxConfig=G({},Tr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Or({sx:e,theme:this})},c}const Ca=Ea();function Sa(){const e=Dr(Ca);return e[F]||e}var wa,Ra={},_a={exports:{}};var Aa,ka={exports:{}};var Ia,Ta=$(_n),La=$(Tn),Oa=$(Bn),Pa=$(uo),Ma=$(Nr),ja=$(Ur);function Na(){if(Ia)return Ra;Ia=1;var e=mi();Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=function(e={}){const{themeId:t,defaultTheme:a=f,rootShouldForwardProp:l=p,slotShouldForwardProp:c=p}=e,u=e=>(0,s.default)((0,n.default)({},e,{theme:b((0,n.default)({},e,{defaultTheme:a,themeId:t}))}));return u.__mui_systemSx=!0,(e,s={})=>{(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:h,slot:f,skipVariantsResolver:y,skipSx:x,overridesResolver:E=g(m(f))}=s,C=(0,r.default)(s,d),S=h&&h.startsWith("Mui")||f?"components":"custom",w=void 0!==y?y:f&&"Root"!==f&&"root"!==f||!1,R=x||!1;let _=p;"Root"===f||"root"===f?_=l:f?_=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(_=void 0);const A=(0,o.default)(e,(0,n.default)({shouldForwardProp:_,label:void 0},C)),k=e=>"function"==typeof e&&e.__emotion_real!==e||(0,i.isPlainObject)(e)?r=>{const o=b({theme:r.theme,defaultTheme:a,themeId:t});return v(e,(0,n.default)({},r,{theme:o}),o.modularCssLayers?S:void 0)}:e,I=(r,...o)=>{let i=k(r);const s=o?o.map(k):[];h&&E&&s.push(e=>{const r=b((0,n.default)({},e,{defaultTheme:a,themeId:t}));if(!r.components||!r.components[h]||!r.components[h].styleOverrides)return null;const o=r.components[h].styleOverrides,i={};return Object.entries(o).forEach(([t,o])=>{i[t]=v(o,(0,n.default)({},e,{theme:r}),r.modularCssLayers?"theme":void 0)}),E(e,i)}),h&&!w&&s.push(e=>{var r;const o=b((0,n.default)({},e,{defaultTheme:a,themeId:t}));return v({variants:null==o||null==(r=o.components)||null==(r=r[h])?void 0:r.variants},(0,n.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),R||s.push(u);const l=s.length-o.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const c=A(i,...s);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(I.withConfig=A.withConfig),I}},Ra.shouldForwardProp=p,Ra.systemDefaultTheme=void 0;var t,n=e((wa||(wa=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(_a)),_a.exports)),r=e((Aa||(Aa=1,(t=ka).exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},t.exports.__esModule=!0,t.exports.default=t.exports),ka.exports)),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(Ta),i=La;e(Oa),e(Pa);var a=e(Ma),s=e(ja);const l=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function h(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const f=Ra.systemDefaultTheme=(0,a.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function v(e,t,i){let{ownerState:a}=t,s=(0,r.default)(t,l);const d="function"==typeof e?e((0,n.default)({ownerState:a},s)):e;if(Array.isArray(d))return d.flatMap(e=>v(e,(0,n.default)({ownerState:a},s),i));if(d&&"object"==typeof d&&Array.isArray(d.variants)){const{variants:e=[]}=d;let t=(0,r.default)(d,c);return e.forEach(e=>{let r=!0;if("function"==typeof e.props?r=e.props((0,n.default)({ownerState:a},s,a)):Object.keys(e.props).forEach(t=>{(null==a?void 0:a[t])!==e.props[t]&&s[t]!==e.props[t]&&(r=!1)}),r){Array.isArray(t)||(t=[t]);const r="function"==typeof e.style?e.style((0,n.default)({ownerState:a},s,a)):e.style;t.push(i?h((0,o.internal_serializeStyles)(r),i):r)}}),t}return i?h((0,o.internal_serializeStyles)(d),i):d}return Ra}const $a=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,za=N(Na())({themeId:F,defaultTheme:Ca,rootShouldForwardProp:$a}),Da=["theme"];function Ba(e){let{theme:t}=e,n=H(e,Da);const r=t[F];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=G({},r,{vars:null}):t&&!t.vars&&(o=G({},t,{vars:null}))),xn.jsx(ui,G({},n,{themeId:r?F:void 0,theme:o}))}const Fa=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Ga={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},Ha=12,Ua=14,Wa=16,Ya=24,Va=3,qa=300,Ka=400,Xa=600,Za=700,Ja={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function Qa(e){return li(e)}function es(e){return Zr("MuiSvgIcon",e)}Jr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ts=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],ns=za("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Dn(n.color)}`],t[`fontSize${Dn(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,d,u,p,h,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(u=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?u:{action:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[t.color]}}),rs=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=n,p=H(n,ts),h=y.isValidElement(r)&&"svg"===r.type,f=G({},n,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:u,hasSvgAsChild:h}),m={};c||(m.viewBox=u);const b=(e=>{const{color:t,fontSize:n,classes:r}=e;return Wo({root:["root","inherit"!==t&&`color${Dn(t)}`,`fontSize${Dn(n)}`]},es,r)})(f);return xn.jsxs(ns,G({as:a,className:qr(b.root,o),focusable:"false",color:l,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},m,p,h&&r.props,{ownerState:f,children:[h?r.props.children:r,d?xn.jsx("title",{children:d}):null]}))});function os(e,t){function n(n,r){return xn.jsx(rs,G({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=rs.muiName,y.memo(y.forwardRef(n))}function is(e,t){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},is(e,t)}function as(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,is(e,t)}rs.muiName="SvgIcon";var ss=!1,ls=C.createContext(null),cs="unmounted",ds="exited",us="entering",ps="entered",hs="exiting",fs=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=ds,r.appearStatus=us):o=ps:o=t.unmountOnExit||t.mountOnEnter?cs:ds,r.state={status:o},r.nextCallback=null,r}as(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===cs?{status:ds}: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!==us&&n!==ps&&(t=us):n!==us&&n!==ps||(t=hs)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===us){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:L.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ds&&this.setState({status:cs})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[L.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||ss?this.safeSetState({status:ps},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:us},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:ps},function(){t.props.onEntered(i,a)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:L.findDOMNode(this);t&&!ss?(this.props.onExit(r),this.safeSetState({status:hs},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:ds},function(){e.props.onExited(r)})})})):this.safeSetState({status:ds},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:L.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===cs)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=H(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return C.createElement(ls.Provider,{value:null},"function"==typeof n?n(e,r):C.cloneElement(C.Children.only(n),r))},t}(C.Component);function ms(){}function bs(e,t){var n=Object.create(null);return e&&R.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&S(e)?t(e):e}(e)}),n}function gs(e,t,n){return null!=n[t]?n[t]:e.props[t]}function vs(e,t,n){var r=bs(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if(S(a)){var s=i in t,l=i in r,c=t[i],d=S(c)&&!c.props.in;!l||s&&!d?l||!s||d?l&&s&&S(c)&&(o[i]=w(a,{onExited:n.bind(null,a),in:c.props.in,exit:gs(a,"exit",e),enter:gs(a,"enter",e)})):o[i]=w(a,{in:!1}):o[i]=w(a,{onExited:n.bind(null,a),in:!0,exit:gs(a,"exit",e),enter:gs(a,"enter",e)})}}),o}fs.contextType=ls,fs.propTypes={},fs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ms,onEntering:ms,onEntered:ms,onExit:ms,onExiting:ms,onExited:ms},fs.UNMOUNTED=cs,fs.EXITED=ds,fs.ENTERING=us,fs.ENTERED=ps,fs.EXITING=hs;var ys=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},xs=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}as(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,bs(n.children,function(e){return w(e,{onExited:r.bind(null,e),in:!0,appear:gs(e,"appear",n),enter:gs(e,"enter",n),exit:gs(e,"exit",n)})})):vs(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=bs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=G({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=H(e,["component","childFactory"]),o=this.state.contextValue,i=ys(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?C.createElement(ls.Provider,{value:o},i):C.createElement(ls.Provider,{value:o},C.createElement(t,r,i))},t}(C.Component);xs.propTypes={},xs.defaultProps={component:"div",childFactory:function(e){return e}};const Es=e=>e.scrollTop;function Cs(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function Ss(e){return Zr("MuiPaper",e)}Jr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const ws=["className","component","elevation","square","variant"],Rs=za("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return G({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&G({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Ei.alpha("#fff",Fa(t.elevation))}, ${Ei.alpha("#fff",Fa(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}),_s=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=n,l=H(n,ws),c=G({},n,{component:o,elevation:i,square:a,variant:s}),d=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Wo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Ss,o)})(c);return xn.jsx(Rs,G({as:o,ownerState:c,className:qr(d.root,r),ref:t},l))});const As=Jr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ks=["center","classes","className"];let Is,Ts,Ls,Os,Ps=e=>e;const Ms=Qt(Is||(Is=Ps`
14
+ */function Sn(e,t){return mn(e,t)}const wn=[];function Rn(e){return wn[0]=e,kt(wn)}var _n=Object.freeze({__proto__:null,GlobalStyles:Cn,StyledEngineProvider:function(e){const{injectFirst:t,enableCssLayer:n,children:r}=e,o=y.useMemo(()=>{const e=`${t}-${n}`;if("object"==typeof document&&En.has(e))return En.get(e);const r=function(e,t){const n=nt({key:"css",prepend:e});if(t){const e=n.insert;n.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return n}(t,n);return En.set(e,r),r},[t,n]);return t||n?xn.jsx(Pt,{value:o,children:r}):r},ThemeContext:jt,css:Jt,default:Sn,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},internal_serializeStyles:Rn,keyframes:Qt});function An(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function kn(e){if(y.isValidElement(e)||!An(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=kn(e[n])}),t}function In(e,t,n={clone:!0}){const r=n.clone?G({},e):e;return An(e)&&An(t)&&Object.keys(t).forEach(o=>{y.isValidElement(t[o])?r[o]=t[o]:An(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&An(e[o])?r[o]=In(e[o],t[o],n):n.clone?r[o]=An(t[o])?kn(t[o]):t[o]:r[o]=t[o]}),r}var Ln=Object.freeze({__proto__:null,default:In,isPlainObject:An});const Tn=["values","unit","step"];function On(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=H(e,Tn),i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>G({},e,{[t.key]:t.val}),{})})(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return G({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Pn={borderRadius:4};function Mn(e,t){return t?In(e,t,{clone:!1}):e}const jn={xs:0,sm:600,md:900,lg:1200,xl:1536},Nn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jn[e]}px)`};function $n(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Nn;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||Nn;return Object.keys(t).reduce((r,o)=>{if(-1!==Object.keys(e.values||jn).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r},{})}return n(t)}function zn(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Dn(e){if("string"!=typeof e)throw new Error(D(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Bn=Object.freeze({__proto__:null,default:Dn});function Fn(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Gn(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Fn(e,n)||r,t&&(o=t(o,r,e)),o}function Hn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Fn(e.theme,r)||{};return $n(e,i,e=>{let r=Gn(a,o,e);return e===r&&"string"==typeof e&&(r=Gn(a,o,`${t}${"default"===e?"":Dn(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i}const Un={m:"margin",p:"padding"},Wn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Vn=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Yn[e])return[e];e=Yn[e]}const[t,n]=e.split(""),r=Un[t],o=Wn[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),qn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Kn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Xn(e,t,n,r){var o;const i=null!=(o=Fn(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Zn(e){return Xn(e,"spacing",8)}function Jn(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Qn(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Jn(t,n),e),{})}(Vn(n),r);return $n(e,e[n],o)}function er(e,t){const n=Zn(e.theme);return Object.keys(e).map(r=>Qn(e,t,r,n)).reduce(Mn,{})}function tr(e){return er(e,qn)}function nr(e){return er(e,Kn)}function rr(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Mn(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function or(e){return"number"!=typeof e?e:`${e}px solid`}function ir(e,t){return Hn({prop:e,themeKey:"borders",transform:t})}tr.propTypes={},tr.filterProps=qn,nr.propTypes={},nr.filterProps=Kn;const ar=ir("border",or),sr=ir("borderTop",or),lr=ir("borderRight",or),cr=ir("borderBottom",or),dr=ir("borderLeft",or),ur=ir("borderColor"),pr=ir("borderTopColor"),hr=ir("borderRightColor"),fr=ir("borderBottomColor"),mr=ir("borderLeftColor"),br=ir("outline",or),gr=ir("outlineColor"),vr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Xn(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Jn(t,e)});return $n(e,e.borderRadius,n)}return null};vr.propTypes={},vr.filterProps=["borderRadius"],rr(ar,sr,lr,cr,dr,ur,pr,hr,fr,mr,vr,br,gr);const yr=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Xn(e.theme,"spacing",8),n=e=>({gap:Jn(t,e)});return $n(e,e.gap,n)}return null};yr.propTypes={},yr.filterProps=["gap"];const xr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Xn(e.theme,"spacing",8),n=e=>({columnGap:Jn(t,e)});return $n(e,e.columnGap,n)}return null};xr.propTypes={},xr.filterProps=["columnGap"];const Er=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Xn(e.theme,"spacing",8),n=e=>({rowGap:Jn(t,e)});return $n(e,e.rowGap,n)}return null};Er.propTypes={},Er.filterProps=["rowGap"];function Cr(e,t){return"grey"===t?t:e}rr(yr,xr,Er,Hn({prop:"gridColumn"}),Hn({prop:"gridRow"}),Hn({prop:"gridAutoFlow"}),Hn({prop:"gridAutoColumns"}),Hn({prop:"gridAutoRows"}),Hn({prop:"gridTemplateColumns"}),Hn({prop:"gridTemplateRows"}),Hn({prop:"gridTemplateAreas"}),Hn({prop:"gridArea"}));function Sr(e){return e<=1&&0!==e?100*e+"%":e}rr(Hn({prop:"color",themeKey:"palette",transform:Cr}),Hn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Cr}),Hn({prop:"backgroundColor",themeKey:"palette",transform:Cr}));const wr=Hn({prop:"width",transform:Sr}),Rr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||jn[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Sr(t)}};return $n(e,e.maxWidth,t)}return null};Rr.filterProps=["maxWidth"];const _r=Hn({prop:"minWidth",transform:Sr}),Ar=Hn({prop:"height",transform:Sr}),kr=Hn({prop:"maxHeight",transform:Sr}),Ir=Hn({prop:"minHeight",transform:Sr});Hn({prop:"size",cssProperty:"width",transform:Sr}),Hn({prop:"size",cssProperty:"height",transform:Sr});rr(wr,Rr,_r,Ar,kr,Ir,Hn({prop:"boxSizing"}));const Lr={border:{themeKey:"borders",transform:or},borderTop:{themeKey:"borders",transform:or},borderRight:{themeKey:"borders",transform:or},borderBottom:{themeKey:"borders",transform:or},borderLeft:{themeKey:"borders",transform:or},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:or},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:vr},color:{themeKey:"palette",transform:Cr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Cr},backgroundColor:{themeKey:"palette",transform:Cr},p:{style:nr},pt:{style:nr},pr:{style:nr},pb:{style:nr},pl:{style:nr},px:{style:nr},py:{style:nr},padding:{style:nr},paddingTop:{style:nr},paddingRight:{style:nr},paddingBottom:{style:nr},paddingLeft:{style:nr},paddingX:{style:nr},paddingY:{style:nr},paddingInline:{style:nr},paddingInlineStart:{style:nr},paddingInlineEnd:{style:nr},paddingBlock:{style:nr},paddingBlockStart:{style:nr},paddingBlockEnd:{style:nr},m:{style:tr},mt:{style:tr},mr:{style:tr},mb:{style:tr},ml:{style:tr},mx:{style:tr},my:{style:tr},margin:{style:tr},marginTop:{style:tr},marginRight:{style:tr},marginBottom:{style:tr},marginLeft:{style:tr},marginX:{style:tr},marginY:{style:tr},marginInline:{style:tr},marginInlineStart:{style:tr},marginInlineEnd:{style:tr},marginBlock:{style:tr},marginBlockStart:{style:tr},marginBlockEnd:{style:tr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:yr},rowGap:{style:Er},columnGap:{style:xr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Sr},maxWidth:{style:Rr},minWidth:{transform:Sr},height:{transform:Sr},maxHeight:{transform:Sr},minHeight:{transform:Sr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Tr(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const d=Fn(n,s)||{};if(c)return c(o);return $n(o,t,t=>{let n=Gn(d,l,t);return t===n&&"string"==typeof t&&(n=Gn(d,l,`${e}${"default"===t?"":Dn(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){var r;const{sx:o,theme:i={},nested:a}=n||{};if(!o)return null;const s=null!=(r=i.unstable_sxConfig)?r:Lr;function l(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,n)=>(t[e.up(n)]={},t),{}))||{}}(i.breakpoints),l=Object.keys(o);let c=o;return Object.keys(r).forEach(n=>{const o=(a=r[n],l=i,"function"==typeof a?a(l):a);var a,l;if(null!=o)if("object"==typeof o)if(s[n])c=Mn(c,e(n,o,i,s));else{const e=$n({theme:i},o,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,o)?c=Mn(c,e):c[n]=t({sx:o,theme:i,nested:!0})}else c=Mn(c,e(n,o,i,s))}),!a&&i.modularCssLayers?{"@layer sx":zn(l,c)}:zn(l,c)}return Array.isArray(o)?o.map(l):l(o)}}const Or=Tr();function Pr(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}Or.filterProps=["sx"];const Mr=["breakpoints","palette","spacing","shape"];function jr(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=H(e,Mr),s=On(n),l=function(e=8){if(e.mui)return e;const t=Zn({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}(o);let c=In({breakpoints:s,direction:"ltr",components:{},palette:G({mode:"light"},r),spacing:l,shape:G({},Pn,i)},a);return c.applyStyles=Pr,c=t.reduce((e,t)=>In(e,t),c),c.unstable_sxConfig=G({},Lr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Or({sx:e,theme:this})},c}var Nr=Object.freeze({__proto__:null,default:jr,private_createBreakpoints:On,unstable_applyStyles:Pr});function $r(e=null){const t=y.useContext(jt);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const zr=jr();function Dr(e=zr){return $r(e)}function Br(e){const t=Rn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Fr({styles:e,themeId:t,defaultTheme:n={}}){const r=Dr(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>Br("function"==typeof e?e(o):e)):Br(i)),xn.jsx(Cn,{styles:i})}const Gr=["sx"];function Hr(e){const{sx:t}=e,n=H(e,Gr),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Lr;return Object.keys(e).forEach(t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]}),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return An(n)?G({},r,n):r}:G({},r,t),G({},o,{sx:i})}var Ur=Object.freeze({__proto__:null,default:Or,extendSxProp:Hr,unstable_createStyleFunctionSx:Tr,unstable_defaultSxConfig:Lr});const Wr=e=>e,Yr=(()=>{let e=Wr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Wr}}})();function Vr(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Vr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function qr(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Vr(e))&&(r&&(r+=" "),r+=t);return r}const Kr=["className","component"];const Xr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Zr(e,t,n="Mui"){const r=Xr[t];return r?`${n}-${r}`:`${Yr.generate(e)}-${t}`}function Jr(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=Zr(e,t,n)}),r}var Qr,eo,to={exports:{}},no={};function ro(){if(Qr)return no;Qr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");function f(h){if("object"==typeof h&&null!==h){var f=h.$$typeof;switch(f){case e:switch(h=h.type){case n:case o:case r:case l:case c:case p:return h;default:switch(h=h&&h.$$typeof){case a:case s:case u:case d:case i:return h;default:return f}}case t:return f}}}return no.ContextConsumer=i,no.ContextProvider=a,no.Element=e,no.ForwardRef=s,no.Fragment=n,no.Lazy=u,no.Memo=d,no.Portal=t,no.Profiler=o,no.StrictMode=r,no.Suspense=l,no.SuspenseList=c,no.isContextConsumer=function(e){return f(e)===i},no.isContextProvider=function(e){return f(e)===a},no.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},no.isForwardRef=function(e){return f(e)===s},no.isFragment=function(e){return f(e)===n},no.isLazy=function(e){return f(e)===u},no.isMemo=function(e){return f(e)===d},no.isPortal=function(e){return f(e)===t},no.isProfiler=function(e){return f(e)===o},no.isStrictMode=function(e){return f(e)===r},no.isSuspense=function(e){return f(e)===l},no.isSuspenseList=function(e){return f(e)===c},no.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===u||e.$$typeof===d||e.$$typeof===a||e.$$typeof===i||e.$$typeof===s||e.$$typeof===h||void 0!==e.getModuleId)},no.typeOf=f,no}function oo(){return eo||(eo=1,to.exports=ro()),to.exports}var io=oo();const ao=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function so(e){const t=`${e}`.match(ao);return t&&t[1]||""}function lo(e,t=""){return e.displayName||e.name||so(e)||t}function co(e,t,n){const r=lo(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var uo=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return lo(e,"Component");if("object"==typeof e)switch(e.$$typeof){case io.ForwardRef:return co(e,e.render,"ForwardRef");case io.Memo:return co(e,e.type,"memo");default:return}}},getFunctionName:so});function po(e,t){const n=G({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=G({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=G({},i),Object.keys(o).forEach(e=>{n[r][e]=po(o[e],i[e])})):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])}),n}const ho="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;function fo(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var mo=Object.freeze({__proto__:null,default:fo});function bo(e){if(e.type)return e;if("#"===e.charAt(0))return bo(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(D(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(D(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}function go(e,t){return e=bo(e),t=function(e,t=0,n=1){return fo(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function vo(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function yo(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function xo(e){return e&&e.ownerDocument||document}function Eo(e){return xo(e).defaultView||window}function Co(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let So=0;const wo=y["useId".toString()];function Ro(e){if(void 0!==wo){return wo()}return function(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{null==t&&(So+=1,n(`mui-${So}`))},[t]),r}(e)}function _o(e){const t=y.useRef(e);return ho(()=>{t.current=e}),y.useRef((...e)=>(0,t.current)(...e)).current}function Ao(...e){return y.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{Co(e,t)})},e)}const ko={};const Io=[];class Lo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Lo}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function To(){const e=function(e,t){const n=y.useRef(ko);return n.current===ko&&(n.current=e(t)),n}(Lo.create).current;return function(e){y.useEffect(e,Io)}(e.disposeEffect),e}let Oo=!0,Po=!1;const Mo=new Lo,jo={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 No(e){e.metaKey||e.altKey||e.ctrlKey||(Oo=!0)}function $o(){Oo=!1}function zo(){"hidden"===this.visibilityState&&Po&&(Oo=!0)}function Do(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Oo||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!jo[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Bo(){const e=y.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",No,!0),t.addEventListener("mousedown",$o,!0),t.addEventListener("pointerdown",$o,!0),t.addEventListener("touchstart",$o,!0),t.addEventListener("visibilitychange",zo,!0))},[]),t=y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Do(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Po=!0,Mo.start(100,()=>{Po=!1}),t.current=!1,!0)},ref:e}}function Fo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Go;function Ho(){if(Go)return Go;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),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),Go="reverse",e.scrollLeft>0?Go="default":(e.scrollLeft=1,0===e.scrollLeft&&(Go="negative")),document.body.removeChild(e),Go}function Uo(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Ho()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Wo(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}function Yo(e){return"string"==typeof e}function Vo(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function qo(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t}const Ko=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Xo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=H(e,Ko),s=i?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:l,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=qr(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=G({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=G({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Vo(G({},o,r)),s=qo(r),l=qo(o),c=t(a),d=qr(null==c?void 0:c.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),u=G({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=G({},c,n,l,s);return d.length>0&&(p.className=d),Object.keys(u).length>0&&(p.style=u),{props:p,internalRef:c.ref}}(G({},a,{externalSlotProps:s})),d=function(e,t,n){return void 0===e||Yo(e)?t:G({},t,{ownerState:G({},t.ownerState,n)})}(n,G({},l,{ref:Ao(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return d}function Zo(e){var t;return parseInt(y.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const Jo=y.createContext(null);function Qo(){return y.useContext(Jo)}var ei="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function ti(e){const{children:t,theme:n}=e,r=Qo(),o=y.useMemo(()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return G({},e,t)}(r,n);return null!=e&&(e[ei]=null!==r),e},[n,r]);return xn.jsx(Jo.Provider,{value:o,children:t})}const ni=["value"],ri=y.createContext();function oi(e){let{value:t}=e,n=H(e,ni);return xn.jsx(ri.Provider,G({value:null==t||t},n))}const ii=()=>{const e=y.useContext(ri);return null!=e&&e},ai=y.createContext(void 0);function si({value:e,children:t}){return xn.jsx(ai.Provider,{value:e,children:t})}function li({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?po(o.defaultProps,r):o.styleOverrides||o.variants?r:po(o,r)}({props:e,name:t,theme:{components:y.useContext(ai)}})}const ci={};function di(e,t,n,r=!1){return y.useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?G({},t,{[e]:i}):i;return r?()=>a:a}return G({},t,e?{[e]:n}:n)},[e,t,n,r])}function ui(e){const{children:t,theme:n,themeId:r}=e,o=$r(ci),i=Qo()||ci,a=di(r,o,n),s=di(r,i,n,!0),l="rtl"===a.direction,c=function(e){const t=$r(),n=Ro()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",ho(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var r;if(t&&null!=(r=t.hasAttribute)&&r.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",n),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${n}"]`))||i.remove()}},[o,n]),o?xn.jsx(Fr,{styles:o}):null}(a);return xn.jsx(ti,{theme:s,children:xn.jsx(jt.Provider,{value:a,children:xn.jsx(oi,{value:l,children:xn.jsxs(si,{value:null==a?void 0:a.components,children:[c,t]})})})})}var pi,hi={},fi={exports:{}};function mi(){return pi||(pi=1,(e=fi).exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports),fi.exports;var e}var bi,gi=$(B),yi=$(mo);function xi(){if(bi)return hi;bi=1;var e=mi();Object.defineProperty(hi,"__esModule",{value:!0}),hi.alpha=d,hi.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),a=i(e),l=i(t),c=[o(a.values[0],l.values[0]),o(a.values[1],l.values[1]),o(a.values[2],l.values[2])];return s({type:"rgb",values:c})},hi.colorChannel=void 0,hi.darken=u,hi.decomposeColor=i,hi.emphasize=h,hi.getContrastRatio=function(e,t){const n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},hi.getLuminance=c,hi.hexToRgb=o,hi.hslToRgb=l,hi.lighten=p,hi.private_safeAlpha=function(e,t,n){try{return d(e,t)}catch(t){return e}},hi.private_safeColorChannel=void 0,hi.private_safeDarken=function(e,t,n){try{return u(e,t)}catch(t){return e}},hi.private_safeEmphasize=function(e,t,n){try{return h(e,t)}catch(t){return e}},hi.private_safeLighten=function(e,t,n){try{return p(e,t)}catch(t){return e}},hi.recomposeColor=s,hi.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=i(e);return`#${t.map((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e)).join("")}`};var t=e(gi),n=e(yi);function r(e,t=0,r=1){return(0,n.default)(e,t,r)}function o(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(o(e));const n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,t.default)(9,e));let a,s=e.substring(n+1,e.length-1);if("color"===r){if(s=s.split(" "),a=s.shift(),4===s.length&&"/"===s[3].charAt(0)&&(s[3]=s[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,t.default)(10,a))}else s=s.split(",");return s=s.map(e=>parseFloat(e)),{type:r,values:s,colorSpace:a}}const a=e=>{const t=i(e);return t.values.slice(0,3).map((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e).join(" ")};hi.colorChannel=a;function s(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function l(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),l=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const d=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",d.push(t[3])),s({type:c,values:d})}function c(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(l(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)}function u(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function p(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return s(e)}function h(e,t=.15){return c(e)>.5?u(e,t):p(e,t)}return hi.private_safeColorChannel=(e,t)=>{try{return a(e)}catch(t){return e}},hi}var Ei=xi();const Ci={black:"#000",white:"#fff"},Si={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},wi="#f3e5f5",Ri="#ce93d8",_i="#ba68c8",Ai="#ab47bc",ki="#9c27b0",Ii="#7b1fa2",Li="#e57373",Ti="#ef5350",Oi="#f44336",Pi="#d32f2f",Mi="#c62828",ji="#ffb74d",Ni="#ffa726",$i="#ff9800",zi="#f57c00",Di="#e65100",Bi="#e3f2fd",Fi="#90caf9",Gi="#42a5f5",Hi="#1976d2",Ui="#1565c0",Wi="#4fc3f7",Yi="#29b6f6",Vi="#03a9f4",qi="#0288d1",Ki="#01579b",Xi="#81c784",Zi="#66bb6a",Ji="#4caf50",Qi="#388e3c",ea="#2e7d32",ta="#1b5e20",na=["mode","contrastThreshold","tonalOffset"],ra={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ci.white,default:Ci.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},oa={text:{primary:Ci.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ci.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ia(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Ei.lighten(e.main,o):"dark"===t&&(e.dark=Ei.darken(e.main,i)))}function aa(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=H(e,na),i=e.primary||function(e="light"){return"dark"===e?{main:Fi,light:Bi,dark:Gi}:{main:Hi,light:Gi,dark:Ui}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ri,light:wi,dark:Ai}:{main:ki,light:_i,dark:Ii}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Oi,light:Li,dark:Pi}:{main:Pi,light:Ti,dark:Mi}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Yi,light:Wi,dark:qi}:{main:qi,light:Vi,dark:Ki}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Zi,light:Xi,dark:Qi}:{main:ea,light:Ji,dark:ta}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Ni,light:ji,dark:zi}:{main:"#ed6c02",light:$i,dark:Di}}(t);function u(e){return Ei.getContrastRatio(e,oa.text.primary)>=n?oa.text.primary:ra.text.primary}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=G({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(D(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(D(12,t?` (${t})`:"",JSON.stringify(e.main)));return ia(e,"light",o,r),ia(e,"dark",i,r),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:oa,light:ra};return In(G({common:G({},Ci),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:Si,contrastThreshold:n,getContrastText:u,augmentColor:p,tonalOffset:r},h[t]),o)}const sa=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const la={textTransform:"uppercase"},ca='"Roboto", "Helvetica", "Arial", sans-serif';function da(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=ca,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=n,p=H(n,sa),h=o/14,f=u||(e=>e/c*h+"rem"),m=(e,t,n,o,i)=>{return G({fontFamily:r,fontWeight:e,fontSize:f(t),lineHeight:n},r===ca?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,d);var a},b={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,la),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,la),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return In(G({htmlFontSize:c,pxToRem:f,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},b),p,{clone:!1})}function ua(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const pa=["none",ua(0,2,1,-1,0,1,1,0,0,1,3,0),ua(0,3,1,-2,0,2,2,0,0,1,5,0),ua(0,3,3,-2,0,3,4,0,0,1,8,0),ua(0,2,4,-1,0,4,5,0,0,1,10,0),ua(0,3,5,-1,0,5,8,0,0,1,14,0),ua(0,3,5,-1,0,6,10,0,0,1,18,0),ua(0,4,5,-2,0,7,10,1,0,2,16,1),ua(0,5,5,-3,0,8,10,1,0,3,14,2),ua(0,5,6,-3,0,9,12,1,0,3,16,2),ua(0,6,6,-3,0,10,14,1,0,4,18,3),ua(0,6,7,-4,0,11,15,1,0,4,20,3),ua(0,7,8,-4,0,12,17,2,0,5,22,4),ua(0,7,8,-4,0,13,19,2,0,5,24,4),ua(0,7,9,-4,0,14,21,2,0,5,26,4),ua(0,8,9,-5,0,15,22,2,0,6,28,5),ua(0,8,10,-5,0,16,24,2,0,6,30,5),ua(0,8,11,-5,0,17,26,2,0,6,32,5),ua(0,9,11,-5,0,18,28,2,0,7,34,6),ua(0,9,12,-6,0,19,29,2,0,7,36,6),ua(0,10,13,-6,0,20,31,3,0,8,38,7),ua(0,10,13,-6,0,21,33,3,0,8,40,7),ua(0,10,14,-6,0,22,35,3,0,8,42,7),ua(0,11,14,-7,0,23,36,3,0,9,44,8),ua(0,11,15,-7,0,24,38,3,0,9,46,8)],ha=["duration","easing","delay"],fa={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)"},ma={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ba(e){return`${Math.round(e)}ms`}function ga(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function va(e){const t=G({},fa,e.easing),n=G({},ma,e.duration);return G({getAutoHeightDuration:ga,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return H(r,ha),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:ba(o)} ${i} ${"string"==typeof a?a:ba(a)}`).join(",")}},e,{easing:t,duration:n})}const ya={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},xa=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ea(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=H(e,xa);if(e.vars&&void 0===e.generateCssVars)throw new Error(D(18));const s=aa(r),l=jr(e);let c=In(l,{mixins:(d=l.breakpoints,u=n,G({toolbar:{minHeight:56,[d.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[d.up("sm")]:{minHeight:64}}},u)),palette:s,shadows:pa.slice(),typography:da(s,i),transitions:va(o),zIndex:G({},ya)});var d,u;return c=In(c,a),c=t.reduce((e,t)=>In(e,t),c),c.unstable_sxConfig=G({},Lr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Or({sx:e,theme:this})},c}const Ca=Ea();function Sa(){const e=Dr(Ca);return e[F]||e}var wa,Ra={},_a={exports:{}};var Aa,ka={exports:{}};var Ia,La=$(_n),Ta=$(Ln),Oa=$(Bn),Pa=$(uo),Ma=$(Nr),ja=$(Ur);function Na(){if(Ia)return Ra;Ia=1;var e=mi();Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=function(e={}){const{themeId:t,defaultTheme:a=f,rootShouldForwardProp:l=p,slotShouldForwardProp:c=p}=e,u=e=>(0,s.default)((0,n.default)({},e,{theme:b((0,n.default)({},e,{defaultTheme:a,themeId:t}))}));return u.__mui_systemSx=!0,(e,s={})=>{(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:h,slot:f,skipVariantsResolver:y,skipSx:x,overridesResolver:E=g(m(f))}=s,C=(0,r.default)(s,d),S=h&&h.startsWith("Mui")||f?"components":"custom",w=void 0!==y?y:f&&"Root"!==f&&"root"!==f||!1,R=x||!1;let _=p;"Root"===f||"root"===f?_=l:f?_=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(_=void 0);const A=(0,o.default)(e,(0,n.default)({shouldForwardProp:_,label:void 0},C)),k=e=>"function"==typeof e&&e.__emotion_real!==e||(0,i.isPlainObject)(e)?r=>{const o=b({theme:r.theme,defaultTheme:a,themeId:t});return v(e,(0,n.default)({},r,{theme:o}),o.modularCssLayers?S:void 0)}:e,I=(r,...o)=>{let i=k(r);const s=o?o.map(k):[];h&&E&&s.push(e=>{const r=b((0,n.default)({},e,{defaultTheme:a,themeId:t}));if(!r.components||!r.components[h]||!r.components[h].styleOverrides)return null;const o=r.components[h].styleOverrides,i={};return Object.entries(o).forEach(([t,o])=>{i[t]=v(o,(0,n.default)({},e,{theme:r}),r.modularCssLayers?"theme":void 0)}),E(e,i)}),h&&!w&&s.push(e=>{var r;const o=b((0,n.default)({},e,{defaultTheme:a,themeId:t}));return v({variants:null==o||null==(r=o.components)||null==(r=r[h])?void 0:r.variants},(0,n.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),R||s.push(u);const l=s.length-o.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const c=A(i,...s);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(I.withConfig=A.withConfig),I}},Ra.shouldForwardProp=p,Ra.systemDefaultTheme=void 0;var t,n=e((wa||(wa=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(_a)),_a.exports)),r=e((Aa||(Aa=1,(t=ka).exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},t.exports.__esModule=!0,t.exports.default=t.exports),ka.exports)),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(La),i=Ta;e(Oa),e(Pa);var a=e(Ma),s=e(ja);const l=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function h(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const f=Ra.systemDefaultTheme=(0,a.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function v(e,t,i){let{ownerState:a}=t,s=(0,r.default)(t,l);const d="function"==typeof e?e((0,n.default)({ownerState:a},s)):e;if(Array.isArray(d))return d.flatMap(e=>v(e,(0,n.default)({ownerState:a},s),i));if(d&&"object"==typeof d&&Array.isArray(d.variants)){const{variants:e=[]}=d;let t=(0,r.default)(d,c);return e.forEach(e=>{let r=!0;if("function"==typeof e.props?r=e.props((0,n.default)({ownerState:a},s,a)):Object.keys(e.props).forEach(t=>{(null==a?void 0:a[t])!==e.props[t]&&s[t]!==e.props[t]&&(r=!1)}),r){Array.isArray(t)||(t=[t]);const r="function"==typeof e.style?e.style((0,n.default)({ownerState:a},s,a)):e.style;t.push(i?h((0,o.internal_serializeStyles)(r),i):r)}}),t}return i?h((0,o.internal_serializeStyles)(d),i):d}return Ra}const $a=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,za=N(Na())({themeId:F,defaultTheme:Ca,rootShouldForwardProp:$a}),Da=["theme"];function Ba(e){let{theme:t}=e,n=H(e,Da);const r=t[F];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=G({},r,{vars:null}):t&&!t.vars&&(o=G({},t,{vars:null}))),xn.jsx(ui,G({},n,{themeId:r?F:void 0,theme:o}))}const Fa=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Ga={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},Ha=12,Ua=14,Wa=16,Ya=24,Va=3,qa=300,Ka=400,Xa=600,Za=700,Ja={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function Qa(e){return li(e)}function es(e){return Zr("MuiSvgIcon",e)}Jr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ts=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],ns=za("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Dn(n.color)}`],t[`fontSize${Dn(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,d,u,p,h,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(u=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?u:{action:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[t.color]}}),rs=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:s="medium",htmlColor:l,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=n,p=H(n,ts),h=y.isValidElement(r)&&"svg"===r.type,f=G({},n,{color:i,component:a,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:u,hasSvgAsChild:h}),m={};c||(m.viewBox=u);const b=(e=>{const{color:t,fontSize:n,classes:r}=e;return Wo({root:["root","inherit"!==t&&`color${Dn(t)}`,`fontSize${Dn(n)}`]},es,r)})(f);return xn.jsxs(ns,G({as:a,className:qr(b.root,o),focusable:"false",color:l,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},m,p,h&&r.props,{ownerState:f,children:[h?r.props.children:r,d?xn.jsx("title",{children:d}):null]}))});function os(e,t){function n(n,r){return xn.jsx(rs,G({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=rs.muiName,y.memo(y.forwardRef(n))}function is(e,t){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},is(e,t)}function as(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,is(e,t)}rs.muiName="SvgIcon";var ss=!1,ls=C.createContext(null),cs="unmounted",ds="exited",us="entering",ps="entered",hs="exiting",fs=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=ds,r.appearStatus=us):o=ps:o=t.unmountOnExit||t.mountOnEnter?cs:ds,r.state={status:o},r.nextCallback=null,r}as(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===cs?{status:ds}: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!==us&&n!==ps&&(t=us):n!==us&&n!==ps||(t=hs)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===us){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:T.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ds&&this.setState({status:cs})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[T.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||ss?this.safeSetState({status:ps},function(){t.props.onEntered(i)}):(this.props.onEnter(i,a),this.safeSetState({status:us},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:ps},function(){t.props.onEntered(i,a)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:T.findDOMNode(this);t&&!ss?(this.props.onExit(r),this.safeSetState({status:hs},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:ds},function(){e.props.onExited(r)})})})):this.safeSetState({status:ds},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:T.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===cs)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=H(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return C.createElement(ls.Provider,{value:null},"function"==typeof n?n(e,r):C.cloneElement(C.Children.only(n),r))},t}(C.Component);function ms(){}function bs(e,t){var n=Object.create(null);return e&&R.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&S(e)?t(e):e}(e)}),n}function gs(e,t,n){return null!=n[t]?n[t]:e.props[t]}function vs(e,t,n){var r=bs(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if(S(a)){var s=i in t,l=i in r,c=t[i],d=S(c)&&!c.props.in;!l||s&&!d?l||!s||d?l&&s&&S(c)&&(o[i]=w(a,{onExited:n.bind(null,a),in:c.props.in,exit:gs(a,"exit",e),enter:gs(a,"enter",e)})):o[i]=w(a,{in:!1}):o[i]=w(a,{onExited:n.bind(null,a),in:!0,exit:gs(a,"exit",e),enter:gs(a,"enter",e)})}}),o}fs.contextType=ls,fs.propTypes={},fs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ms,onEntering:ms,onEntered:ms,onExit:ms,onExiting:ms,onExited:ms},fs.UNMOUNTED=cs,fs.EXITED=ds,fs.ENTERING=us,fs.ENTERED=ps,fs.EXITING=hs;var ys=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},xs=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}as(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,bs(n.children,function(e){return w(e,{onExited:r.bind(null,e),in:!0,appear:gs(e,"appear",n),enter:gs(e,"enter",n),exit:gs(e,"exit",n)})})):vs(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=bs(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=G({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=H(e,["component","childFactory"]),o=this.state.contextValue,i=ys(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?C.createElement(ls.Provider,{value:o},i):C.createElement(ls.Provider,{value:o},C.createElement(t,r,i))},t}(C.Component);xs.propTypes={},xs.defaultProps={component:"div",childFactory:function(e){return e}};const Es=e=>e.scrollTop;function Cs(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function Ss(e){return Zr("MuiPaper",e)}Jr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const ws=["className","component","elevation","square","variant"],Rs=za("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return G({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&G({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Ei.alpha("#fff",Fa(t.elevation))}, ${Ei.alpha("#fff",Fa(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}),_s=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=n,l=H(n,ws),c=G({},n,{component:o,elevation:i,square:a,variant:s}),d=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Wo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Ss,o)})(c);return xn.jsx(Rs,G({as:o,ownerState:c,className:qr(d.root,r),ref:t},l))});const As=Jr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ks=["center","classes","className"];let Is,Ls,Ts,Os,Ps=e=>e;const Ms=Qt(Is||(Is=Ps`
15
15
  0% {
16
16
  transform: scale(0);
17
17
  opacity: 0.1;
@@ -21,7 +21,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],function(e){"use str
21
21
  transform: scale(1);
22
22
  opacity: 0.3;
23
23
  }
24
- `)),js=Qt(Ts||(Ts=Ps`
24
+ `)),js=Qt(Ls||(Ls=Ps`
25
25
  0% {
26
26
  opacity: 1;
27
27
  }
@@ -29,7 +29,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],function(e){"use str
29
29
  100% {
30
30
  opacity: 0;
31
31
  }
32
- `)),Ns=Qt(Ls||(Ls=Ps`
32
+ `)),Ns=Qt(Ts||(Ts=Ps`
33
33
  0% {
34
34
  transform: scale(1);
35
35
  }
@@ -84,6 +84,6 @@ System.register(["@nebula.js/stardust","react","react-dom"],function(e){"use str
84
84
  animation-iteration-count: infinite;
85
85
  animation-delay: 200ms;
86
86
  }
87
- `),As.rippleVisible,Ms,550,({theme:e})=>e.transitions.easing.easeInOut,As.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,As.child,As.childLeaving,js,550,({theme:e})=>e.transitions.easing.easeInOut,As.childPulsate,Ns,({theme:e})=>e.transitions.easing.easeInOut),Ds=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=H(n,ks),[s,l]=y.useState([]),c=y.useRef(0),d=y.useRef(null);y.useEffect(()=>{d.current&&(d.current(),d.current=null)},[s]);const u=y.useRef(!1),p=Lo(),h=y.useRef(null),f=y.useRef(null),m=y.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;l(e=>[...e,xn.jsx(zs,{classes:{ripple:qr(o.ripple,As.ripple),rippleVisible:qr(o.rippleVisible,As.rippleVisible),ripplePulsate:qr(o.ripplePulsate,As.ripplePulsate),child:qr(o.child,As.child),childLeaving:qr(o.childLeaving,As.childLeaving),childPulsate:qr(o.childPulsate,As.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)]),c.current+=1,d.current=a},[o]),b=y.useCallback((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&u.current)return void(u.current=!1);"touchstart"===(null==e?void 0:e.type)&&(u.current=!0);const s=a?null:f.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,d,b;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),d=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),d=Math.round(n-l.top)}if(i)b=Math.sqrt((2*l.width**2+l.height**2)/3),b%2==0&&(b+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-d),d)+2;b=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{m({pulsate:o,rippleX:c,rippleY:d,rippleSize:b,cb:n})},p.start(80,()=>{h.current&&(h.current(),h.current=null)})):m({pulsate:o,rippleX:c,rippleY:d,rippleSize:b,cb:n})},[r,m,p]),g=y.useCallback(()=>{b({},{pulsate:!0})},[b]),v=y.useCallback((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void p.start(0,()=>{v(e,t)});h.current=null,l(e=>e.length>0?e.slice(1):e),d.current=t},[p]);return y.useImperativeHandle(t,()=>({pulsate:g,start:b,stop:v}),[g,b,v]),xn.jsx($s,G({className:qr(As.root,o.root,i),ref:f},a,{children:xn.jsx(xs,{component:null,exit:!0,children:s})}))});function Bs(e){return Zr("MuiButtonBase",e)}const Fs=Jr("MuiButtonBase",["root","disabled","focusVisible"]),Gs=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Hs=za("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Fs.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Us=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:u=!1,LinkComponent:p="a",onBlur:h,onClick:f,onContextMenu:m,onDragLeave:b,onFocus:g,onFocusVisible:v,onKeyDown:x,onKeyUp:E,onMouseDown:C,onMouseLeave:S,onMouseUp:w,onTouchEnd:R,onTouchMove:_,onTouchStart:A,tabIndex:k=0,TouchRippleProps:I,touchRippleRef:T,type:L}=n,O=H(n,Gs),P=y.useRef(null),M=y.useRef(null),j=Ao(M,T),{isFocusVisibleRef:N,onFocus:$,onBlur:z,ref:D}=Bo(),[B,F]=y.useState(!1);l&&B&&F(!1),y.useImperativeHandle(r,()=>({focusVisible:()=>{F(!0),P.current.focus()}}),[]);const[U,W]=y.useState(!1);y.useEffect(()=>{W(!0)},[]);const Y=U&&!c&&!l;function V(e,t,n=d){return _o(r=>{t&&t(r);return!n&&M.current&&M.current[e](r),!0})}y.useEffect(()=>{B&&u&&!c&&U&&M.current.pulsate()},[c,u,B,U]);const q=V("start",C),K=V("stop",m),X=V("stop",b),Z=V("stop",w),J=V("stop",e=>{B&&e.preventDefault(),S&&S(e)}),Q=V("start",A),ee=V("stop",R),te=V("stop",_),ne=V("stop",e=>{z(e),!1===N.current&&F(!1),h&&h(e)},!1),re=_o(e=>{P.current||(P.current=e.currentTarget),$(e),!0===N.current&&(F(!0),v&&v(e)),g&&g(e)}),oe=()=>{const e=P.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ie=y.useRef(!1),ae=_o(e=>{u&&!ie.current&&B&&M.current&&" "===e.key&&(ie.current=!0,M.current.stop(e,()=>{M.current.start(e)})),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!l&&(e.preventDefault(),f&&f(e))}),se=_o(e=>{u&&" "===e.key&&M.current&&B&&!e.defaultPrevented&&(ie.current=!1,M.current.stop(e,()=>{M.current.pulsate(e)})),E&&E(e),f&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&f(e)});let le=s;"button"===le&&(O.href||O.to)&&(le=p);const ce={};"button"===le?(ce.type=void 0===L?"button":L,ce.disabled=l):(O.href||O.to||(ce.role="button"),l&&(ce["aria-disabled"]=l));const de=Ao(t,D,P),ue=G({},n,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:d,focusRipple:u,tabIndex:k,focusVisible:B}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Wo({root:["root",t&&"disabled",n&&"focusVisible"]},Bs,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return xn.jsxs(Hs,G({as:le,className:qr(pe.root,a),ownerState:ue,onBlur:ne,onClick:f,onContextMenu:K,onFocus:re,onKeyDown:ae,onKeyUp:se,onMouseDown:q,onMouseLeave:J,onMouseUp:Z,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:Q,ref:de,tabIndex:l?-1:k,type:L},ce,O,{children:[i,Y?xn.jsx(Ds,G({ref:j,center:o},I)):null]}))});function Ws(e){return Zr("MuiTypography",e)}Jr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ys=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Vs=za("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Dn(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>G({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),qs={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ks={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Xs=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTypography"}),r=(e=>Ks[e]||e)(n.color),o=Hr(G({},n,{color:r})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:d=!1,variant:u="body1",variantMapping:p=qs}=o,h=H(o,Ys),f=G({},o,{align:i,color:r,className:a,component:s,gutterBottom:l,noWrap:c,paragraph:d,variant:u,variantMapping:p}),m=s||(d?"p":p[u]||qs[u])||"span",b=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return Wo({root:["root",i,"inherit"!==e.align&&`align${Dn(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Ws,a)})(f);return xn.jsx(Vs,G({as:m,ref:t,ownerState:f,className:qr(b.root,a)},h))});const Zs=y.forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=y.useState(null),s=Ao(y.isValidElement(n)?Zo(n):null,t);if(ho(()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),ho(()=>{if(i&&!o)return Co(t,i),()=>{Co(t,null)}},[t,i,o]),o){if(y.isValidElement(n)){const e={ref:s};return y.cloneElement(n,e)}return xn.jsx(y.Fragment,{children:n})}return xn.jsx(y.Fragment,{children:i?O.createPortal(n,i):i})}),Js=["onChange","maxRows","minRows","style","value"];function Qs(e){return parseInt(e,10)||0}const el={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function tl(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const nl=y.forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,s=H(e,Js),{current:l}=y.useRef(null!=a),c=y.useRef(null),d=Ao(t,c),u=y.useRef(null),p=y.useRef(null),h=y.useCallback(()=>{const t=c.current,n=p.current;if(!t||!n)return;const i=Eo(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,s=Qs(i.paddingBottom)+Qs(i.paddingTop),l=Qs(i.borderBottomWidth)+Qs(i.borderTopWidth),d=n.scrollHeight;n.value="x";const u=n.scrollHeight;let h=d;o&&(h=Math.max(Number(o)*u,h)),r&&(h=Math.min(Number(r)*u,h)),h=Math.max(h,u);return{outerHeightStyle:h+("border-box"===a?s+l:0),overflowing:Math.abs(h-d)<=1}},[r,o,e.placeholder]),f=_o(()=>{const e=c.current,t=h();if(!e||!t||tl(t))return!1;const n=t.outerHeightStyle;return null!=u.current&&u.current!==n}),m=y.useCallback(()=>{const e=c.current,t=h();if(!e||!t||tl(t))return;const n=t.outerHeightStyle;u.current!==n&&(u.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[h]),b=y.useRef(-1);ho(()=>{const e=yo(m),t=null==c?void 0:c.current;if(!t)return;const n=Eo(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{f()&&(r.unobserve(t),cancelAnimationFrame(b.current),m(),b.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(b.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[h,m,f]),ho(()=>{m()});return xn.jsxs(y.Fragment,{children:[xn.jsx("textarea",G({value:a,onChange:e=>{l||m(),n&&n(e)},ref:d,rows:o,style:i},s)),xn.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:G({},el,i,{paddingTop:0,paddingBottom:0})})]})});const rl=y.createContext(void 0);function ol(){return y.useContext(rl)}function il(e){return xn.jsx(Fr,G({},e,{defaultTheme:Ca,themeId:F}))}function al(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function sl(e){return Zr("MuiInputBase",e)}const ll=Jr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),cl=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],dl=za("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Dn(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})(({theme:e,ownerState:t})=>G({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${ll.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&G({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),ul=za("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=G({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return G({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${ll.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${ll.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})}),pl=xn.jsx(il,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),hl=y.forwardRef(function(e,t){var n;const r=Qa({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,components:l={},componentsProps:c={},defaultValue:d,disabled:u,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:f=!1,id:m,inputComponent:b="input",inputProps:g={},inputRef:v,maxRows:x,minRows:E,multiline:C=!1,name:S,onBlur:w,onChange:R,onClick:_,onFocus:A,onKeyDown:k,onKeyUp:I,placeholder:T,readOnly:L,renderSuffix:O,rows:P,slotProps:M={},slots:j={},startAdornment:N,type:$="text",value:z}=r,B=H(r,cl),F=null!=g.value?g.value:z,{current:U}=y.useRef(null!=F),W=y.useRef(),Y=y.useCallback(e=>{},[]),V=Ao(W,v,g.ref,Y),[q,K]=y.useState(!1),X=ol(),Z=function({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}({props:r,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Z.focused=X?X.focused:q,y.useEffect(()=>{!X&&u&&q&&(K(!1),w&&w())},[X,u,q,w]);const J=X&&X.onFilled,Q=X&&X.onEmpty,ee=y.useCallback(e=>{!function(e,t=!1){return e&&(al(e.value)&&""!==e.value||t&&al(e.defaultValue)&&""!==e.defaultValue)}(e)?Q&&Q():J&&J()},[J,Q]);ho(()=>{U&&ee({value:F})},[F,ee,U]);y.useEffect(()=>{ee(W.current)},[]);let te=b,ne=g;C&&"input"===te&&(ne=G(P?{type:void 0,minRows:P,maxRows:P}:{type:void 0,maxRows:x,minRows:E},ne),te=nl);y.useEffect(()=>{X&&X.setAdornedStart(Boolean(N))},[X,N]);const re=G({},r,{color:Z.color||"primary",disabled:Z.disabled,endAdornment:h,error:Z.error,focused:Z.focused,formControl:X,fullWidth:f,hiddenLabel:Z.hiddenLabel,multiline:C,size:Z.size,startAdornment:N,type:$}),oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:d,readOnly:u,size:p,startAdornment:h,type:f}=e;return Wo({root:["root",`color${Dn(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Dn(p)}`,d&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",u&&"readOnly"],input:["input",r&&"disabled","search"===f&&"inputTypeSearch",d&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",u&&"readOnly"]},sl,t)})(re),ie=j.root||l.Root||dl,ae=M.root||c.root||{},se=j.input||l.Input||ul;return ne=G({},ne,null!=(n=M.input)?n:c.input),xn.jsxs(y.Fragment,{children:[!p&&pl,xn.jsxs(ie,G({},ae,!Yo(ie)&&{ownerState:G({},re,ae.ownerState)},{ref:t,onClick:e=>{W.current&&e.currentTarget===e.target&&W.current.focus(),_&&_(e)}},B,{className:qr(oe.root,ae.className,s,L&&"MuiInputBase-readOnly"),children:[N,xn.jsx(rl.Provider,{value:null,children:xn.jsx(se,G({ownerState:re,"aria-invalid":Z.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:d,disabled:Z.disabled,id:m,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?W.current:{value:"x"})},name:S,placeholder:T,readOnly:L,required:Z.required,rows:P,value:F,onKeyDown:k,onKeyUp:I,type:$},ne,!Yo(se)&&{as:te,ownerState:G({},re,ne.ownerState)},{ref:V,className:qr(oe.input,ne.className,L&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),g.onBlur&&g.onBlur(e),X&&X.onBlur?X.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!U){const t=e.target||W.current;if(null==t)throw new Error(D(1));ee({value:t.value})}g.onChange&&g.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{Z.disabled?e.stopPropagation():(A&&A(e),g.onFocus&&g.onFocus(e),X&&X.onFocus?X.onFocus(e):K(!0))}}))}),h,O?O(G({},Z,{startAdornment:N})):null]}))]})}),fl=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ml={entering:{opacity:1},entered:{opacity:1}},bl=y.forwardRef(function(e,t){const n=Sa(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:d,onEntering:u,onExit:p,onExited:h,onExiting:f,style:m,timeout:b=r,TransitionComponent:g=fs}=e,v=H(e,fl),x=y.useRef(null),E=Ao(x,Zo(a),t),C=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},S=C(u),w=C((e,t)=>{Es(e);const r=Cs({style:m,timeout:b,easing:s},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)}),R=C(d),_=C(f),A=C(e=>{const t=Cs({style:m,timeout:b,easing:s},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)}),k=C(h);return xn.jsx(g,G({appear:i,in:l,nodeRef:x,onEnter:w,onEntered:R,onEntering:S,onExit:A,onExited:k,onExiting:_,addEndListener:e=>{o&&o(x.current,e)},timeout:b},v,{children:(e,t)=>y.cloneElement(a,G({style:G({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},ml[e],m,a.props.style),ref:E},t))}))});function gl(e){return Zr("MuiBackdrop",e)}Jr("MuiBackdrop",["root","invisible"]);const vl=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],yl=za("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>G({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),xl=y.forwardRef(function(e,t){var n,r,o;const i=Qa({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:c={},componentsProps:d={},invisible:u=!1,open:p,slotProps:h={},slots:f={},TransitionComponent:m=bl,transitionDuration:b}=i,g=H(i,vl),v=G({},i,{component:l,invisible:u}),y=(e=>{const{classes:t,invisible:n}=e;return Wo({root:["root",n&&"invisible"]},gl,t)})(v),x=null!=(n=h.root)?n:d.root;return xn.jsx(m,G({in:p,timeout:b},g,{children:xn.jsx(yl,G({"aria-hidden":!0},x,{as:null!=(r=null!=(o=f.root)?o:c.Root)?r:l,className:qr(y.root,s,null==x?void 0:x.className),ownerState:G({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}),El=Jr("MuiBox",["root"]),Cl=Ea(),Sl=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Sn("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Or);return y.forwardRef(function(e,a){const s=Dr(n),l=Hr(e),{className:c,component:d="div"}=l,u=H(l,Kr);return xn.jsx(i,G({as:d,ref:a,className:qr(c,o?o(r):r),theme:t&&s[t]||s},u))})}({themeId:F,defaultTheme:Cl,defaultClassName:El.root,generateClassName:Yr.generate});function wl(e){return Zr("MuiButton",e)}const Rl=Jr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),_l=y.createContext({}),Al=y.createContext(void 0),kl=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Il=e=>G({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Tl=za(Us,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Dn(n.color)}`],t[`size${Dn(n.size)}`],t[`${n.variant}Size${Dn(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return G({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":G({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ei.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ei.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ei.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":G({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Rl.focusVisible}`]:G({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Rl.disabled}`]:G({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ei.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Rl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Rl.disabled}`]:{boxShadow:"none"}}),Ll=za("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Dn(n.size)}`]]}})(({ownerState:e})=>G({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Il(e))),Ol=za("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Dn(n.size)}`]]}})(({ownerState:e})=>G({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Il(e))),Pl=y.forwardRef(function(e,t){const n=y.useContext(_l),r=y.useContext(Al),o=Qa({props:po(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:u=!1,endIcon:p,focusVisibleClassName:h,fullWidth:f=!1,size:m="medium",startIcon:b,type:g,variant:v="text"}=o,x=H(o,kl),E=G({},o,{color:a,component:s,disabled:c,disableElevation:d,disableFocusRipple:u,fullWidth:f,size:m,type:g,variant:v}),C=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return G({},a,Wo({root:["root",i,`${i}${Dn(t)}`,`size${Dn(o)}`,`${i}Size${Dn(o)}`,`color${Dn(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Dn(o)}`],endIcon:["icon","endIcon",`iconSize${Dn(o)}`]},wl,a))})(E),S=b&&xn.jsx(Ll,{className:C.startIcon,ownerState:E,children:b}),w=p&&xn.jsx(Ol,{className:C.endIcon,ownerState:E,children:p}),R=r||"";return xn.jsxs(Tl,G({ownerState:E,className:qr(n.className,C.root,l,R),component:s,disabled:c,focusRipple:!u,focusVisibleClassName:qr(C.focusVisible,h),ref:t,type:g},x,{classes:C,children:[S,i,w]}))});function Ml(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function jl(e){return parseInt(Eo(e).getComputedStyle(e).paddingRight,10)||0}function Nl(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Ml(e,o)})}function $l(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function zl(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=xo(e);return t.body===e?Eo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Fo(xo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${jl(r)+e}px`;const t=xo(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${jl(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=xo(r).body;else{const t=r.parentElement,n=Eo(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}const Dl=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Bl(e){const t=[],n=[];return Array.from(e.querySelectorAll(Dl)).forEach((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Fl(){return!0}function Gl(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Bl,isEnabled:a=Fl,open:s}=e,l=y.useRef(!1),c=y.useRef(null),d=y.useRef(null),u=y.useRef(null),p=y.useRef(null),h=y.useRef(!1),f=y.useRef(null),m=Ao(Zo(t),f),b=y.useRef(null);y.useEffect(()=>{s&&f.current&&(h.current=!n)},[n,s]),y.useEffect(()=>{if(!s||!f.current)return;const e=xo(f.current);return f.current.contains(e.activeElement)||(f.current.hasAttribute("tabIndex")||f.current.setAttribute("tabIndex","-1"),h.current&&f.current.focus()),()=>{o||(u.current&&u.current.focus&&(l.current=!0,u.current.focus()),u.current=null)}},[s]),y.useEffect(()=>{if(!s||!f.current)return;const e=xo(f.current),t=t=>{b.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===f.current&&t.shiftKey&&(l.current=!0,d.current&&d.current.focus())},n=()=>{const t=f.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==c.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let n=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(n=i(f.current)),n.length>0){var o,s;const e=Boolean((null==(o=b.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=b.current)?void 0:s.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,o,a,s,i]);const g=e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0};return xn.jsxs(y.Fragment,{children:[xn.jsx("div",{tabIndex:s?0:-1,onFocus:g,ref:c,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),xn.jsx("div",{tabIndex:s?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})}const Hl=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Ml(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);Nl(t,e.mount,e.modalRef,r,!0);const o=$l(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=$l(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];r.restore||(r.restore=zl(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=$l(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Ml(e.modalRef,t),Nl(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Ml(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Ul(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=Hl,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:d,rootRef:u}=e,p=y.useRef({}),h=y.useRef(null),f=y.useRef(null),m=Ao(f,u),[b,g]=y.useState(!d),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const E=()=>(p.current.modalRef=f.current,p.current.mount=h.current,p.current),C=()=>{o.mount(E(),{disableScrollLock:r}),f.current&&(f.current.scrollTop=0)},S=_o(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||xo(h.current).body;o.add(E(),e),f.current&&C()}),w=y.useCallback(()=>o.isTopModal(E()),[o]),R=_o(e=>{h.current=e,e&&(d&&w()?C():f.current&&Ml(f.current,x))}),_=y.useCallback(()=>{o.remove(E(),x)},[x,o]);y.useEffect(()=>()=>{_()},[_]),y.useEffect(()=>{d?S():v&&i||_()},[d,_,v,i,S]);const A=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},k=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Vo(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=G({},n,t);return G({role:"presentation"},r,{onKeyDown:A(r),ref:m})},getBackdropProps:(e={})=>G({"aria-hidden":!0},e,{onClick:k(e),open:d}),getTransitionProps:()=>({onEnter:vo(()=>{g(!1),a&&a()},null==l?void 0:l.props.onEnter),onExited:vo(()=>{g(!0),s&&s(),i&&_()},null==l?void 0:l.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:b,hasTransition:v}}function Wl(e){return Zr("MuiModal",e)}Jr("MuiModal",["root","hidden","backdrop"]);const Yl=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Vl=za("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>G({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),ql=za(xl,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Kl=y.forwardRef(function(e,t){var n,r,o,i,a,s;const l=Qa({name:"MuiModal",props:e}),{BackdropComponent:c=ql,BackdropProps:d,className:u,closeAfterTransition:p=!1,children:h,container:f,component:m,components:b={},componentsProps:g={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:E=!1,disablePortal:C=!1,disableRestoreFocus:S=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:_=!1,onBackdropClick:A,open:k,slotProps:I,slots:T}=l,L=H(l,Yl),O=G({},l,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:E,disablePortal:C,disableRestoreFocus:S,disableScrollLock:w,hideBackdrop:R,keepMounted:_}),{getRootProps:P,getBackdropProps:M,getTransitionProps:j,portalRef:N,isTopModal:$,exited:z,hasTransition:D}=Ul(G({},O,{rootRef:t})),B=G({},O,{exited:z}),F=(e=>{const{open:t,exited:n,classes:r}=e;return Wo({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Wl,r)})(B),U={};if(void 0===h.props.tabIndex&&(U.tabIndex="-1"),D){const{onEnter:e,onExited:t}=j();U.onEnter=e,U.onExited=t}const W=null!=(n=null!=(r=null==T?void 0:T.root)?r:b.Root)?n:Vl,Y=null!=(o=null!=(i=null==T?void 0:T.backdrop)?i:b.Backdrop)?o:c,V=null!=(a=null==I?void 0:I.root)?a:g.root,q=null!=(s=null==I?void 0:I.backdrop)?s:g.backdrop,K=Xo({elementType:W,externalSlotProps:V,externalForwardedProps:L,getSlotProps:P,additionalProps:{ref:t,as:m},ownerState:B,className:qr(u,null==V?void 0:V.className,null==F?void 0:F.root,!B.open&&B.exited&&(null==F?void 0:F.hidden))}),X=Xo({elementType:Y,externalSlotProps:q,additionalProps:d,getSlotProps:e=>M(G({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:qr(null==q?void 0:q.className,null==d?void 0:d.className,null==F?void 0:F.backdrop),ownerState:B});return _||k||D&&!z?xn.jsx(Zs,{ref:N,container:f,disablePortal:C,children:xn.jsxs(W,G({},K,{children:[!R&&c?xn.jsx(Y,G({},X)):null,xn.jsx(Gl,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:S,isEnabled:$,open:k,children:y.cloneElement(h,U)})]}))}):null});function Xl(e){return Zr("MuiDivider",e)}const Zl=Jr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Jl=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Ql=za("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>G({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ei.alpha(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>G({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>G({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}),({theme:e,ownerState:t})=>G({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:e})=>G({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),ec=za("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>G({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),tc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:d=("hr"!==a?"separator":void 0),textAlign:u="center",variant:p="fullWidth"}=n,h=H(n,Jl),f=G({},n,{absolute:r,component:a,flexItem:s,light:l,orientation:c,role:d,textAlign:u,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return Wo({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Xl,r)})(f);return xn.jsx(Ql,G({as:a,className:qr(m.root,i),role:d,ref:t,ownerState:f},h,{children:o?xn.jsx(ec,{className:m.wrapper,ownerState:f,children:o}):null}))});tc.muiSkipListHighlight=!0;const nc=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function rc(e){return`scale(${e}, ${e**2})`}const oc={entering:{opacity:1,transform:rc(1)},entered:{opacity:1,transform:"none"}},ic="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ac=y.forwardRef(function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:c,onExit:d,onExited:u,onExiting:p,style:h,timeout:f="auto",TransitionComponent:m=fs}=e,b=H(e,nc),g=Lo(),v=y.useRef(),x=Sa(),E=y.useRef(null),C=Ao(E,Zo(o),t),S=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},w=S(c),R=S((e,t)=>{Es(e);const{duration:n,delay:r,easing:o}=Cs({style:h,timeout:f,easing:i},{mode:"enter"});let a;"auto"===f?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:ic?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)}),_=S(l),A=S(p),k=S(e=>{const{duration:t,delay:n,easing:r}=Cs({style:h,timeout:f,easing:i},{mode:"exit"});let o;"auto"===f?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:ic?o:.666*o,delay:ic?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=rc(.75),d&&d(e)}),I=S(u);return xn.jsx(m,G({appear:r,in:a,nodeRef:E,onEnter:R,onEntered:_,onEntering:w,onExit:k,onExited:I,onExiting:A,addEndListener:e=>{"auto"===f&&g.start(v.current||0,e),n&&n(E.current,e)},timeout:"auto"===f?null:f},b,{children:(e,t)=>y.cloneElement(o,G({style:G({opacity:0,transform:rc(.75),visibility:"exited"!==e||a?void 0:"hidden"},oc[e],h,o.props.style),ref:C},t))}))});function sc(e){return Zr("MuiInputAdornment",e)}ac.muiSupportAuto=!0;const lc=Jr("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var cc;const dc=["children","className","component","disablePointerEvents","disableTypography","position","variant"],uc=za("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Dn(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(({theme:e,ownerState:t})=>G({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${lc.positionStart}&:not(.${lc.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),pc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:s=!1,position:l,variant:c}=n,d=H(n,dc),u=ol()||{};let p=c;c&&u.variant,u&&!p&&(p=u.variant);const h=G({},n,{hiddenLabel:u.hiddenLabel,size:u.size,disablePointerEvents:a,position:l,variant:p}),f=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e;return Wo({root:["root",n&&"disablePointerEvents",o&&`position${Dn(o)}`,a,r&&"hiddenLabel",i&&`size${Dn(i)}`]},sc,t)})(h);return xn.jsx(rl.Provider,{value:null,children:xn.jsx(uc,G({as:i,ownerState:h,className:qr(f.root,o),ref:t},d,{children:"string"!=typeof r||s?xn.jsxs(y.Fragment,{children:["start"===l?cc||(cc=xn.jsx("span",{className:"notranslate",children:"​"})):null,r]}):xn.jsx(Xs,{color:"text.secondary",children:r})}))})}),hc=y.createContext({});function fc(e){return Zr("MuiList",e)}Jr("MuiList",["root","padding","dense","subheader"]);const mc=["children","className","component","dense","disablePadding","subheader"],bc=za("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>G({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),gc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l}=n,c=H(n,mc),d=y.useMemo(()=>({dense:a}),[a]),u=G({},n,{component:i,dense:a,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Wo({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},fc,t)})(u);return xn.jsx(hc.Provider,{value:d,children:xn.jsxs(bc,G({as:i,className:qr(p.root,o),ref:t,ownerState:u},c,{children:[l,r]}))})});function vc(e){return Zr("MuiListItem",e)}const yc=Jr("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function xc(e){return Zr("MuiListItemButton",e)}const Ec=Jr("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Cc=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Sc=za(Us,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>G({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ec.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ec.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ec.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ec.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ec.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),wc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:s=!1,disableGutters:l=!1,divider:c=!1,focusVisibleClassName:d,selected:u=!1,className:p}=n,h=H(n,Cc),f=y.useContext(hc),m=y.useMemo(()=>({dense:s||f.dense||!1,alignItems:r,disableGutters:l}),[r,f.dense,s,l]),b=y.useRef(null);ho(()=>{o&&b.current&&b.current.focus()},[o]);const g=G({},n,{alignItems:r,dense:m.dense,disableGutters:l,divider:c,selected:u}),v=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:s}=e;return G({},n,Wo({root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},xc,n))})(g),x=Ao(b,t);return xn.jsx(hc.Provider,{value:m,children:xn.jsx(Sc,G({ref:x,href:h.href||h.to,component:(h.href||h.to)&&"div"===i?"button":i,focusVisibleClassName:qr(v.focusVisible,d),ownerState:g,className:qr(v.root,p)},h,{classes:v,children:a}))})});function Rc(e){return Zr("MuiListItemSecondaryAction",e)}Jr("MuiListItemSecondaryAction",["root","disableGutters"]);const _c=["className"],Ac=za("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>G({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),kc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=H(n,_c),i=G({},n,{disableGutters:y.useContext(hc).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return Wo({root:["root",t&&"disableGutters"]},Rc,n)})(i);return xn.jsx(Ac,G({className:qr(a.root,r),ownerState:i,ref:t},o))});kc.muiName="ListItemSecondaryAction";const Ic=["className"],Tc=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Lc=za("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>G({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&G({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Ec.root}`]:{paddingRight:48}},{[`&.${yc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${yc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${yc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${yc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${yc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Oc=za("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Pc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:i=!1,children:a,className:s,component:l,components:c={},componentsProps:d={},ContainerComponent:u="li",ContainerProps:{className:p}={},dense:h=!1,disabled:f=!1,disableGutters:m=!1,disablePadding:b=!1,divider:g=!1,focusVisibleClassName:v,secondaryAction:x,selected:E=!1,slotProps:C={},slots:S={}}=n,w=H(n.ContainerProps,Ic),R=H(n,Tc),_=y.useContext(hc),A=y.useMemo(()=>({dense:h||_.dense||!1,alignItems:r,disableGutters:m}),[r,_.dense,h,m]),k=y.useRef(null);ho(()=>{o&&k.current&&k.current.focus()},[o]);const I=y.Children.toArray(a),T=I.length&&(L=I[I.length-1],O=["ListItemSecondaryAction"],y.isValidElement(L)&&-1!==O.indexOf(null!=(P=L.type.muiName)?P:null==(M=L.type)||null==(M=M._payload)||null==(M=M.value)?void 0:M.muiName));var L,O,P,M;const j=G({},n,{alignItems:r,autoFocus:o,button:i,dense:A.dense,disabled:f,disableGutters:m,disablePadding:b,divider:g,hasSecondaryAction:T,selected:E}),N=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:d}=e;return Wo({root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},vc,r)})(j),$=Ao(k,t),z=S.root||c.Root||Lc,D=C.root||d.root||{},B=G({className:qr(N.root,D.className,s),disabled:f},R);let F=l||"li";return i&&(B.component=l||"div",B.focusVisibleClassName=qr(yc.focusVisible,v),F=Us),T?(F=B.component||l?F:"div","li"===u&&("li"===F?F="div":"li"===B.component&&(B.component="div")),xn.jsx(hc.Provider,{value:A,children:xn.jsxs(Oc,G({as:u,className:qr(N.container,p),ref:$,ownerState:j},w,{children:[xn.jsx(z,G({},D,!Yo(z)&&{as:F,ownerState:G({},j,D.ownerState)},B,{children:I})),I.pop()]}))})):xn.jsx(hc.Provider,{value:A,children:xn.jsxs(z,G({},D,{as:F,ref:$},!Yo(z)&&{ownerState:G({},j,D.ownerState)},B,{children:[I,x&&xn.jsx(kc,{children:x})]}))})});function Mc(e){return Zr("MuiListItemIcon",e)}const jc=Jr("MuiListItemIcon",["root","alignItemsFlexStart"]),Nc=["className"],$c=za("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>G({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),zc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=H(n,Nc),i=G({},n,{alignItems:y.useContext(hc).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return Wo({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Mc,n)})(i);return xn.jsx($c,G({className:qr(a.root,r),ownerState:i,ref:t},o))}),Dc=Jr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Bc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Fc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Gc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Hc(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Uc(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Hc(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}const Wc=y.forwardRef(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:d="selectedMenu"}=e,u=H(e,Bc),p=y.useRef(null),h=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ho(()=>{r&&p.current.focus()},[r]),y.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Fo(xo(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}}),[]);const f=Ao(p,t);let m=-1;y.Children.forEach(i,(e,t)=>{y.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))});const b=y.Children.map(i,(e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),y.cloneElement(e,t)}return e});return xn.jsx(gc,G({role:"menu",ref:f,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=xo(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Uc(t,r,l,s,Fc);else if("ArrowUp"===n)e.preventDefault(),Uc(t,r,l,s,Gc);else if("Home"===n)e.preventDefault(),Uc(t,null,l,s,Fc);else if("End"===n)e.preventDefault(),Uc(t,null,l,s,Gc);else if(1===n.length){const o=h.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);const l=r&&!o.repeating&&Hc(r,o);o.previousKeyMatched&&(l||Uc(t,r,!1,s,Fc,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:r?0:-1},u,{children:b}))});function Yc(e){return Zr("MuiPopover",e)}Jr("MuiPopover",["root","paper"]);const Vc=["onEntering"],qc=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Kc=["slotProps"];function Xc(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Zc(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Jc(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function Qc(e){return"function"==typeof e?e():e}const ed=za(Kl,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),td=za(_s,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),nd=y.forwardRef(function(e,t){var n,r,o;const i=Qa({props:e,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:u,className:p,container:h,elevation:f=8,marginThreshold:m=16,open:b,PaperProps:g={},slots:v,slotProps:x,transformOrigin:E={vertical:"top",horizontal:"left"},TransitionComponent:C=ac,transitionDuration:S="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,_=H(i.TransitionProps,Vc),A=H(i,qc),k=null!=(n=null==x?void 0:x.paper)?n:g,I=y.useRef(),T=Ao(I,k.ref),L=G({},i,{anchorOrigin:l,anchorReference:d,elevation:f,marginThreshold:m,externalPaperSlotProps:k,transformOrigin:E,TransitionComponent:C,transitionDuration:S,TransitionProps:_}),O=(e=>{const{classes:t}=e;return Wo({root:["root"],paper:["paper"]},Yc,t)})(L),P=y.useCallback(()=>{if("anchorPosition"===d)return c;const e=Qc(s),t=(e&&1===e.nodeType?e:xo(I.current).body).getBoundingClientRect();return{top:t.top+Xc(t,l.vertical),left:t.left+Zc(t,l.horizontal)}},[s,l.horizontal,l.vertical,c,d]),M=y.useCallback(e=>({vertical:Xc(e,E.vertical),horizontal:Zc(e,E.horizontal)}),[E.horizontal,E.vertical]),j=y.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=M(t);if("none"===d)return{top:null,left:null,transformOrigin:Jc(n)};const r=P();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,l=i+t.width,c=Eo(Qc(s)),u=c.innerHeight-m,p=c.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,n.vertical+=e}else if(null!==m&&a>u){const e=a-u;o-=e,n.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,n.horizontal+=e}else if(l>p){const e=l-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Jc(n)}},[s,d,P,M,m]),[N,$]=y.useState(b),z=y.useCallback(()=>{const e=I.current;if(!e)return;const t=j(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,$(!0)},[j]);y.useEffect(()=>(R&&window.addEventListener("scroll",z),()=>window.removeEventListener("scroll",z)),[s,R,z]);y.useEffect(()=>{b&&z()}),y.useImperativeHandle(a,()=>b?{updatePosition:()=>{z()}}:null,[b,z]),y.useEffect(()=>{if(!b)return;const e=yo(()=>{z()}),t=Eo(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[s,b,z]);let D=S;"auto"!==S||C.muiSupportAuto||(D=void 0);const B=h||(s?xo(Qc(s)).body:void 0),F=null!=(r=null==v?void 0:v.root)?r:ed,U=null!=(o=null==v?void 0:v.paper)?o:td,W=Xo({elementType:U,externalSlotProps:G({},k,{style:N?k.style:G({},k.style,{opacity:0})}),additionalProps:{elevation:f,ref:T},ownerState:L,className:qr(O.paper,null==k?void 0:k.className)}),Y=Xo({elementType:F,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:A,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:B,open:b},ownerState:L,className:qr(O.root,p)}),{slotProps:V}=Y,q=H(Y,Kc);return xn.jsx(F,G({},q,!Yo(F)&&{slotProps:V,disableScrollLock:R},{children:xn.jsx(C,G({appear:!0,in:b,onEntering:(e,t)=>{w&&w(e,t),z()},onExited:()=>{$(!1)},timeout:D},_,{children:xn.jsx(U,G({},W,{children:u}))}))}))});function rd(e){return Zr("MuiMenu",e)}Jr("MuiMenu",["root","paper","list"]);const od=["onEntering"],id=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],ad={vertical:"top",horizontal:"right"},sd={vertical:"top",horizontal:"left"},ld=za(nd,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cd=za(td,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),dd=za(Wc,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),ud=y.forwardRef(function(e,t){var n,r;const o=Qa({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:d,open:u,PaperProps:p={},PopoverClasses:h,transitionDuration:f="auto",TransitionProps:{onEntering:m}={},variant:b="selectedMenu",slots:g={},slotProps:v={}}=o,x=H(o.TransitionProps,od),E=H(o,id),C=ii(),S=G({},o,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:c,onEntering:m,PaperProps:p,transitionDuration:f,TransitionProps:x,variant:b}),w=(e=>{const{classes:t}=e;return Wo({root:["root"],paper:["paper"],list:["list"]},rd,t)})(S),R=i&&!l&&u,_=y.useRef(null);let A=-1;y.Children.map(a,(e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected||-1===A)&&(A=t))});const k=null!=(n=g.paper)?n:cd,I=null!=(r=v.paper)?r:p,T=Xo({elementType:g.root,externalSlotProps:v.root,ownerState:S,className:[w.root,s]}),L=Xo({elementType:k,externalSlotProps:I,ownerState:S,className:w.paper});return xn.jsx(ld,G({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?ad:sd,slots:{paper:k,root:g.root},slotProps:{root:T,paper:L},open:u,ref:t,transitionDuration:f,TransitionProps:G({onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),m&&m(e,t)}},x),ownerState:S},E,{classes:h,children:xn.jsx(dd,G({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:_,autoFocus:i&&(-1===A||l),autoFocusItem:R,variant:b},c,{className:qr(w.list,c.className),children:a}))}))});function pd(e){return Zr("MuiMenuItem",e)}const hd=Jr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),fd=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],md=za(Us,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>G({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${hd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${hd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${hd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${hd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${hd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Zl.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Zl.inset}`]:{marginLeft:52},[`& .${Dc.root}`]:{marginTop:0,marginBottom:0},[`& .${Dc.inset}`]:{paddingLeft:36},[`& .${jc.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&G({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${jc.root} svg`]:{fontSize:"1.25rem"}}))),bd=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:c="menuitem",tabIndex:d,className:u}=n,p=H(n,fd),h=y.useContext(hc),f=y.useMemo(()=>({dense:i||h.dense||!1,disableGutters:s}),[h.dense,i,s]),m=y.useRef(null);ho(()=>{r&&m.current&&m.current.focus()},[r]);const b=G({},n,{dense:f.dense,divider:a,disableGutters:s}),g=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return G({},a,Wo({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},pd,a))})(n),v=Ao(m,t);let x;return n.disabled||(x=void 0!==d?d:-1),xn.jsx(hc.Provider,{value:f,children:xn.jsx(md,G({ref:v,role:c,tabIndex:x,component:o,focusVisibleClassName:qr(g.focusVisible,l),className:qr(g.root,u)},p,{ownerState:b,classes:g}))})});function gd(e){return Zr("MuiTab",e)}const vd=Jr("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),yd=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],xd=za(Us,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Dn(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${vd.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>G({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${vd.iconWrapper}`]:G({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${vd.selected}`]:{opacity:1},[`&.${vd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${vd.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${vd.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${vd.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${vd.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Ed=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTab"}),{className:r,disabled:o=!1,disableFocusRipple:i=!1,fullWidth:a,icon:s,iconPosition:l="top",indicator:c,label:d,onChange:u,onClick:p,onFocus:h,selected:f,selectionFollowsFocus:m,textColor:b="inherit",value:g,wrapped:v=!1}=n,x=H(n,yd),E=G({},n,{disabled:o,disableFocusRipple:i,selected:f,icon:!!s,iconPosition:l,label:!!d,fullWidth:a,textColor:b,wrapped:v}),C=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e;return Wo({root:["root",i&&a&&"labelIcon",`textColor${Dn(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]},gd,t)})(E),S=s&&d&&y.isValidElement(s)?y.cloneElement(s,{className:qr(C.iconWrapper,s.props.className)}):s;return xn.jsxs(xd,G({focusRipple:!i,className:qr(C.root,r),ref:t,role:"tab","aria-selected":f,disabled:o,onClick:e=>{!f&&u&&u(e,g),p&&p(e)},onFocus:e=>{m&&!f&&u&&u(e,g),h&&h(e)},ownerState:E,tabIndex:f?0:-1},x,{children:["top"===l||"start"===l?xn.jsxs(y.Fragment,{children:[S,d]}):xn.jsxs(y.Fragment,{children:[d,S]}),c]}))});var Cd=os(xn.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Sd=os(xn.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function wd(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const Rd=["onChange"],_d={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Ad(e){return Zr("MuiTabScrollButton",e)}const kd=Jr("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Id=["className","slots","slotProps","direction","orientation","disabled"],Td=za(Us,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>G({width:40,flexShrink:0,opacity:.8,[`&.${kd.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Ld=y.forwardRef(function(e,t){var n,r;const o=Qa({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:s={},direction:l}=o,c=H(o,Id),d=G({isRtl:ii()},o),u=(e=>{const{classes:t,orientation:n,disabled:r}=e;return Wo({root:["root",n,r&&"disabled"]},Ad,t)})(d),p=null!=(n=a.StartScrollButtonIcon)?n:Cd,h=null!=(r=a.EndScrollButtonIcon)?r:Sd,f=Xo({elementType:p,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),m=Xo({elementType:h,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return xn.jsx(Td,G({component:"div",className:qr(u.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===l?xn.jsx(p,G({},f)):xn.jsx(h,G({},m))}))});function Od(e){return Zr("MuiTabs",e)}const Pd=Jr("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Md=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],jd=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Nd=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,$d=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},zd=za("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Pd.scrollButtons}`]:t.scrollButtons},{[`& .${Pd.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>G({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Pd.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Dd=za("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>G({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Bd=za("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>G({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Fd=za("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>G({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Gd=za(function(e){const{onChange:t}=e,n=H(e,Rd),r=y.useRef(),o=y.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return ho(()=>{const e=yo(()=>{const e=r.current;i(),e!==r.current&&t(r.current)}),n=Eo(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}},[t]),y.useEffect(()=>{i(),t(r.current)},[t]),xn.jsx("div",G({style:_d},n,{ref:o}))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Hd={},Ud=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTabs"}),r=Sa(),o=ii(),{"aria-label":i,"aria-labelledby":a,action:s,centered:l=!1,children:c,className:d,component:u="div",allowScrollButtonsMobile:p=!1,indicatorColor:h="primary",onChange:f,orientation:m="horizontal",ScrollButtonComponent:b=Ld,scrollButtons:g="auto",selectionFollowsFocus:v,slots:x={},slotProps:E={},TabIndicatorProps:C={},TabScrollButtonProps:S={},textColor:w="primary",value:R,variant:_="standard",visibleScrollbar:A=!1}=n,k=H(n,Md),I="scrollable"===_,T="vertical"===m,L=T?"scrollTop":"scrollLeft",O=T?"top":"left",P=T?"bottom":"right",M=T?"clientHeight":"clientWidth",j=T?"height":"width",N=G({},n,{component:u,allowScrollButtonsMobile:p,indicatorColor:h,orientation:m,vertical:T,scrollButtons:g,textColor:w,variant:_,visibleScrollbar:A,fixed:!I,hideScrollbar:I&&!A,scrollableX:I&&!T,scrollableY:I&&T,centered:l&&!I,scrollButtonsHideMobile:!p}),$=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return Wo({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Od,l)})(N),z=Xo({elementType:x.StartScrollButtonIcon,externalSlotProps:E.startScrollButtonIcon,ownerState:N}),D=Xo({elementType:x.EndScrollButtonIcon,externalSlotProps:E.endScrollButtonIcon,ownerState:N}),[B,F]=y.useState(!1),[U,W]=y.useState(Hd),[Y,V]=y.useState(!1),[q,K]=y.useState(!1),[X,Z]=y.useState(!1),[J,Q]=y.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,te=y.useRef(null),ne=y.useRef(null),re=()=>{const e=te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:Uo(e,o?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==R){const e=ne.current.children;if(e.length>0){const t=e[ee.get(R)];n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},oe=_o(()=>{const{tabsMeta:e,tabMeta:t}=re();let n,r=0;if(T)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=o?"right":"left",t&&e){const i=o?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(o?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[j]:t?t[j]:0};if(isNaN(U[n])||isNaN(U[j]))W(i);else{const e=Math.abs(U[n]-i[n]),t=Math.abs(U[j]-i[j]);(e>=1||t>=1)&&W(i)}}),ie=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=()=>{}){const{ease:i=wd,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const d=()=>{c=!0},u=r=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=r);const d=Math.min(1,(r-s)/a);t[e]=i(d)*(n-l)+l,d>=1?requestAnimationFrame(()=>{o(null)}):requestAnimationFrame(u)};l===n?o(new Error("Element already at target position")):requestAnimationFrame(u)}(L,te.current,e,{duration:r.transitions.duration.standard}):te.current[L]=e},ae=e=>{let t=te.current[L];T?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===Ho()?-1:1),ie(t)},se=()=>{const e=te.current[M];let t=0;const n=Array.from(ne.current.children);for(let r=0;r<n.length;r+=1){const o=n[r];if(t+o[M]>e){0===r&&(t=e);break}t+=o[M]}return t},le=()=>{ae(-1*se())},ce=()=>{ae(se())},de=y.useCallback(e=>{Q({overflow:null,scrollbarWidth:e})},[]),ue=_o(e=>{const{tabsMeta:t,tabMeta:n}=re();if(n&&t)if(n[O]<t[O]){const r=t[L]+(n[O]-t[O]);ie(r,{animation:e})}else if(n[P]>t[P]){const r=t[L]+(n[P]-t[P]);ie(r,{animation:e})}}),pe=_o(()=>{I&&!1!==g&&Z(!X)});y.useEffect(()=>{const e=yo(()=>{te.current&&oe()});let t;const n=n=>{n.forEach(e=>{e.removedNodes.forEach(e=>{var n;null==(n=t)||n.unobserve(e)}),e.addedNodes.forEach(e=>{var n;null==(n=t)||n.observe(e)})}),e(),pe()},r=Eo(te.current);let o;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ne.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(o=new MutationObserver(n),o.observe(ne.current,{childList:!0})),()=>{var n,i;e.clear(),r.removeEventListener("resize",e),null==(n=o)||n.disconnect(),null==(i=t)||i.disconnect()}},[oe,pe]),y.useEffect(()=>{const e=Array.from(ne.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&I&&!1!==g){const n=e[0],r=e[t-1],o={root:te.current,threshold:.99},i=new IntersectionObserver(e=>{V(!e[0].isIntersecting)},o);i.observe(n);const a=new IntersectionObserver(e=>{K(!e[0].isIntersecting)},o);return a.observe(r),()=>{i.disconnect(),a.disconnect()}}},[I,g,X,null==c?void 0:c.length]),y.useEffect(()=>{F(!0)},[]),y.useEffect(()=>{oe()}),y.useEffect(()=>{ue(Hd!==U)},[ue,U]),y.useImperativeHandle(s,()=>({updateIndicator:oe,updateScrollButtons:pe}),[oe,pe]);const he=xn.jsx(Fd,G({},C,{className:qr($.indicator,C.className),ownerState:N,style:G({},U,C.style)}));let fe=0;const me=y.Children.map(c,e=>{if(!y.isValidElement(e))return null;const t=void 0===e.props.value?fe:e.props.value;ee.set(t,fe);const n=t===R;return fe+=1,y.cloneElement(e,G({fullWidth:"fullWidth"===_,indicator:n&&!B&&he,selected:n,selectionFollowsFocus:v,onChange:f,textColor:w,value:t},1!==fe||!1!==R||e.props.tabIndex?{}:{tabIndex:0}))}),be=(()=>{const e={};e.scrollbarSizeListener=I?xn.jsx(Gd,{onChange:de,className:qr($.scrollableX,$.hideScrollbar)}):null;const t=I&&("auto"===g&&(Y||q)||!0===g);return e.scrollButtonStart=t?xn.jsx(b,G({slots:{StartScrollButtonIcon:x.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:z},orientation:m,direction:o?"right":"left",onClick:le,disabled:!Y},S,{className:qr($.scrollButtons,S.className)})):null,e.scrollButtonEnd=t?xn.jsx(b,G({slots:{EndScrollButtonIcon:x.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:D},orientation:m,direction:o?"left":"right",onClick:ce,disabled:!q},S,{className:qr($.scrollButtons,S.className)})):null,e})();return xn.jsxs(zd,G({className:qr($.root,d),ownerState:N,ref:t,as:u},k,{children:[be.scrollButtonStart,be.scrollbarSizeListener,xn.jsxs(Dd,{className:$.scroller,ownerState:N,style:{overflow:J.overflow,[T?"margin"+(o?"Left":"Right"):"marginBottom"]:A?void 0:-J.scrollbarWidth},ref:te,children:[xn.jsx(Bd,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===m?"vertical":null,className:$.flexContainer,ownerState:N,onKeyDown:e=>{const t=ne.current,n=xo(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===m?"ArrowLeft":"ArrowUp",i="horizontal"===m?"ArrowRight":"ArrowDown";switch("horizontal"===m&&o&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),$d(t,n,Nd);break;case i:e.preventDefault(),$d(t,n,jd);break;case"Home":e.preventDefault(),$d(t,null,jd);break;case"End":e.preventDefault(),$d(t,null,Nd)}},ref:ne,role:"tablist",children:me}),B&&he]}),be.scrollButtonEnd]}))});function Wd(e){return xn.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:xn.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}function Yd({fontSize:e="medium",children:t=null,className:n=""}={}){return xn.jsx("i",{style:{fontSize:"small"===e?"16px":"20px",margin:"small"===e?"-2px 0":void 0,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})}function Vd(e={}){return xn.jsx(Yd,{...e,children:xn.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[xn.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),xn.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function qd(e={}){return xn.jsx(Yd,{fontSize:"medium",...e,children:xn.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[xn.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),xn.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Kd(e){return xn.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:xn.jsx("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345L9.345 8Z"})})}function Xd(e={}){return xn.jsx(Yd,{...e,children:xn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xn.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[xn.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),xn.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Zd(e={}){return xn.jsx(Yd,{fontSize:"medium",...e,children:xn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xn.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:xn.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Jd({className:e}){return xn.jsx(Yd,{fontSize:"small",className:e,children:xn.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:xn.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:xn.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:xn.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[xn.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),xn.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function Qd(e={}){return xn.jsx(Yd,{...e,children:xn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xn.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:xn.jsx("rect",{stroke:Ga.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}var eu=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:Ga.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Ga.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:xn.jsx(Wd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${Ga.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`,borderRadius:Va,backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${Ga.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Ga.WHITE,color:Ga.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:Va},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Ga.GREYSCALE_0_15,backgroundColor:Ga.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Ga.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Ga.GREEN_PALE},"&:active":{backgroundColor:Ga.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Ga.BLUE_PALE},"&:active":{backgroundColor:Ga.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Va,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Ga.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Ga.GREYSCALE_0_42,backgroundColor:Ga.GREYSCALE_100_60,"&:active":{backgroundColor:Ga.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Ga.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Ga.PURPLE,"&.Mui-focusVisible":{borderColor:Ga.PURPLE,boxShadow:`0 0 0 3px ${go(Ga.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Ga.GREEN,"&.Mui-focusVisible":{borderColor:Ga.GREEN,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Ga.BLUE,"&.Mui-focusVisible":{borderColor:Ga.BLUE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Ga.ORANGE,"&.Mui-focusVisible":{borderColor:Ga.ORANGE,boxShadow:`0 0 0 3px ${go(Ga.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Ga.RED,"&.Mui-focusVisible":{borderColor:Ga.RED,boxShadow:`0 0 0 3px ${go(Ga.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Ga.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Ga.PURPLE_PALE},"&:active":{backgroundColor:Ga.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Ga.PURPLE_PALE,boxShadow:`0 0 0 3px ${go(Ga.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Ga.GREEN_PALE},"&:active":{backgroundColor:Ga.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Ga.BLUE_PALE},"&:active":{backgroundColor:Ga.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Ga.ORANGE_PALE},"&:active":{backgroundColor:Ga.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Ga.ORANGE_PALE,boxShadow:`0 0 0 3px ${go(Ga.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Ga.RED_PALE},"&:active":{backgroundColor:Ga.RED_DARK},"&.Mui-focusVisible":{borderColor:Ga.RED_PALE,boxShadow:`0 0 0 3px ${go(Ga.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:Ga.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Ga.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:Va,boxShadow:`inset 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:xn.jsx(Kd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Ha,borderRadius:Va,color:Ga.TEXT_PRIMARY,backgroundColor:Ga.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Ga.GREYSCALE_0_05,color:Ga.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Ga.GREEN,borderColor:Ga.GREEN},"&.MuiChip-outlinedInfo":{color:Ga.BLUE,borderColor:Ga.BLUE},"&.MuiChip-outlinedWarning":{color:Ga.ORANGE,borderColor:Ga.ORANGE},"&.MuiChip-outlinedError":{color:Ga.RED,borderColor:Ga.RED}},outlined:{border:`solid 1px ${Ga.GREYSCALE_0_15}`,backgroundColor:Ga.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:Va,boxShadow:"none",backgroundColor:Ga.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Ga.GREEN,borderColor:Ga.GREEN},outlinedSecondary:{color:Ga.BLUE,borderColor:Ga.BLUE},label:{fontFamily:Ja.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:xn.jsx(Kd,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:xn.jsx(Wd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:Va},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:Va,fontSize:Ua,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Ga.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Ga.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Ga.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Ga.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_05}}},popupIndicator:{borderRadius:Va,border:`solid 1px ${Ga.GREYSCALE_0_15}`,color:Ga.GREYSCALE_0_60,marginRight:0,width:Ya,height:Ya},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Ga.GREYSCALE_0_15}`},clearIndicator:{borderRadius:Va,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Ga.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Ua}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Ha,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Ga.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Ga.GREYSCALE_25,fontSize:Ha,fontFamily:Ja.FONT_FAMILY,fontWeight:Xa,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Ga.TEXT_PRIMARY},"&.Mui-error":{color:Ga.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Ga.TEXT_SECONDARY,content:"'(optional)'",fontWeight:Ka,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Ga.TEXT_SECONDARY,content:"'(required)'",fontWeight:Ka,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Ua,lineHeight:"16px",backgroundColor:Ga.WHITE,borderRadius:Va,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.GREYSCALE_0_05}`,borderColor:Ga.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Ga.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Ga.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.RED}`,boxShadow:`0px 0px 0px 1px ${Ga.RED}, inset 0 2px 0 0 ${Ga.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.GREYSCALE_0_10}`,borderColor:Ga.GREYSCALE_0_10,backgroundColor:Ga.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Ga.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Ga.GREYSCALE_0_15,borderRadius:Va,boxShadow:`inset 0 2px 0 0 ${Ga.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>xn.jsx(Wd,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:Ga.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Ga.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03},"&:active":{backgroundColor:Ga.GREYSCALE_0_10},"&:focus":{backgroundColor:Ga.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Ga.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Ga.GREYSCALE_0_30,"&:hover":{backgroundColor:Ga.GREYSCALE_0_0,borderColor:Ga.GREYSCALE_0_15},"& ~svg":{color:Ga.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Ga.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:Va}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Ga.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Ua,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Ha,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Ha,fontWeight:Xa,color:Ga.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:Xa}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Ga.GREYSCALE_0_15}, 0px 0px 0px 1px ${Ga.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:xn.jsx(Zd,{}),checkedIcon:xn.jsx(qd,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Ga.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Ga.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Ga.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:xn.jsx(Qd,{}),checkedIcon:xn.jsx(Vd,{}),indeterminateIcon:xn.jsx(Xd,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:Va,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Ga.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Ga.GREYSCALE_0_55,color:Ga.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:Ga.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Ga.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Ga.GREYSCALE_0_55,"&:hover":{color:Ga.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:Ga.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Ga.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Ua,color:Ga.TEXT_PRIMARY,lineHeight:"16px",fontWeight:Xa},secondary:{fontSize:Ha,color:Ga.GREYSCALE_45,fontWeight:Ka,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Ua,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Ua,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Ga.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Ha,borderBottom:`solid 1px ${Ga.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Ua,color:Ga.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Ga.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:'url(\'data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A\')',fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Ga.RED}}},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:Ga.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:Ga.GREEN,height:"24px","&.Mui-disabled":{color:Ga.GREYSCALE_0_15}},rail:{backgroundColor:Ga.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Ga.GREYSCALE_0_05}`,borderRadius:Va,boxShadow:`inset 0px 0px 0px 1px ${Ga.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Ga.GREYSCALE_0_05}`,borderRadius:Va},thumb:{height:"16px",width:"16px",borderRadius:Va,backgroundColor:Ga.WHITE,boxShadow:`0px 1px 2px 0px ${Ga.GREYSCALE_0_15}, 0px 0px 0px 1px ${Ga.GREYSCALE_0_05}`,"&:hover":{borderRadius:Va,boxShadow:`0 2px 4px 0 ${Ga.GREYSCALE_0_30}, 0 0 0 1px ${Ga.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Ga.GREYSCALE_0_15}, 0 0 0 1px ${Ga.GREYSCALE_0_06}, 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Ga.GREYSCALE_0_15}, 0 0 0 1px ${Ga.GREYSCALE_0_06}, 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Ga.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Ga.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Ga.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Ga.GREYSCALE_0_15},markLabel:{color:Ga.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Ga.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Ga.WHITE,color:Ga.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:Ga.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Ga.GREYSCALE_0_15,borderRadius:Va},thumb:{height:"16px",width:"16px",borderRadius:Va,backgroundColor:Ga.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:Ua,fontWeight:Xa,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Ga.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`,backgroundColor:Ga.GREYSCALE_0_03,borderRadius:Va},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Ga.GREYSCALE_25,"&.Mui-selected":{color:Ga.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Ua,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:Va,"&:hover":{backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Ga.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Ga.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:Va,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Ga.GREYSCALE_0_05},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Ga.GREYSCALE_85}`,borderRight:`1px solid ${Ga.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Xa,backgroundColor:Ga.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:Ga.GREYSCALE_98,borderBottom:`1px solid ${Ga.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Ga.GREYSCALE_85}`,borderTop:`1px solid ${Ga.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Ga.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Ga.GREYSCALE_0_05,"&:hover":{backgroundColor:Ga.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Ga.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>xn.jsx(Jd,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${Ga.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Ua,borderRadius:Va,padding:"7px 16px",border:`1px solid ${Ga.GREYSCALE_0_15}`,backgroundColor:Ga.GREYSCALE_100_60,color:Ga.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Ga.GREYSCALE_0_10,border:`1px solid ${Ga.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03,border:`1px solid ${Ga.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Ga.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Ga.MISC_FOCUS_BORDER}`,border:`1px solid ${Ga.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Ga.GREYSCALE_25,backgroundColor:Ga.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Ga.GREYSCALE_0_10,border:`1px solid ${Ga.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Ha,height:24,width:24,padding:7},sizeLarge:{fontSize:Wa,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Ua,borderRadius:Va}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:Ga.GREYSCALE_20},tooltip:{backgroundColor:Ga.GREYSCALE_20,fontSize:Ha,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}});const tu=e=>({mode:"light",primary:{ultraLight:Ga.GREEN_ULTRA_LIGHT,light:Ga.GREEN_PALE,main:Ga.GREEN,dark:Ga.GREEN_DARK,extraDark:Ga.GREEN_EXTRA_DARK,contrastText:Ga.WHITE},secondary:{ultraLight:Ga.BLUE_ULTRA_LIGHT,light:Ga.BLUE_PALE,main:Ga.BLUE,dark:Ga.BLUE_DARK,extraDark:Ga.BLUE_EXTRA_DARK,contrastText:Ga.WHITE},error:{ultraLight:Ga.RED_ULTRA_LIGHT,light:Ga.RED_PALE,main:Ga.RED,dark:Ga.RED_DARK,extraDark:Ga.RED_EXTRA_DARK,contrastText:Ga.WHITE},warning:{ultraLight:Ga.ORANGE_ULTRA_LIGHT,light:Ga.ORANGE_PALE,main:Ga.ORANGE,dark:Ga.ORANGE_DARK,extraDark:Ga.ORANGE_EXTRA_DARK,contrastText:Ga.WHITE},success:{ultraLight:Ga.GREEN_ULTRA_LIGHT,light:Ga.GREEN_PALE,main:Ga.GREEN,dark:Ga.GREEN_DARK,extraDark:Ga.GREEN_EXTRA_DARK,contrastText:Ga.WHITE},info:{ultraLight:Ga.BLUE_ULTRA_LIGHT,light:Ga.BLUE_PALE,main:Ga.BLUE,dark:Ga.BLUE_DARK,extraDark:Ga.BLUE_EXTRA_DARK,contrastText:Ga.WHITE},text:{primary:Ga.TEXT_PRIMARY,secondary:Ga.TEXT_SECONDARY,disabled:Ga.GREYSCALE_0_30},action:{hover:Ga.GREYSCALE_0_03,hoverOpacity:.03,selected:Ga.GREYSCALE_0_05,selectedOpacity:.05,focus:Ga.MISC_FOCUS_BORDER},amethyst:{ultraLight:Ga.WHITE,main:Ga.PURPLE,light:Ga.PURPLE_PALE,dark:Ga.PURPLE_DARK,extraDark:Ga.GREYSCALE_0_0,contrastText:Ga.WHITE},background:{paper:Ga.WHITE,default:Ga.GREYSCALE_95},divider:Ga.GREYSCALE_0_15});function nu(e){return Ea({components:eu(),palette:tu(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:Ua,fontWeightLight:qa,fontWeightRegular:Ka,fontWeightMedium:Xa,fontWeightBold:Za,htmlFontSize:Ua,fontFamily:Ja.FONT_FAMILY,button:{fontWeight:Xa,fontSize:Ua,textTransform:"none"},body1:{fontSize:Wa,lineHeight:"24px"},body2:{fontSize:Ua,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:Ya,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Wa,fontWeight:Xa,lineHeight:"16px"},h6:{fontSize:Ua,fontWeight:Xa,lineHeight:"16px"},caption:{color:Ga.TEXT_SECONDARY},subtitle1:{fontSize:Ua,color:Ga.TEXT_SECONDARY},subtitle2:{fontSize:Ha,color:Ga.TEXT_SECONDARY}},shape:{borderRadius:Va},direction:e})}class ru{translator;muiTheme;containers={};constructor({translator:e}){this.translator=e}sync=({element:e,sharedContainerUtilities:t,translator:n,containerId:r,dataHandler:o,renderHelper:i})=>{this.translator=n,this.containers[r]={element:e,sharedContainerUtilities:t,dataHandler:o,renderHelper:i}};setMuiTheme=e=>{this.muiTheme=nu(e)};destroy=e=>{delete this.containers[e]}}const ou=["container","sn-layout-container","sn-tabbed-container","listbox","qlik-tabbed-container","qlik-show-hide-container","qlik-trellis-container","qlik-on-demand-reporting","sn-analysis-autochart"];class iu{embed;translator;charts={};constructor(e,t){this.embed=e,this.translator=t}getCharts=()=>(this.charts=(this.embed?.getRegisteredTypes()).reduce((e,t)=>{if(!ou.includes(t.id)&&!1!==t.libraryInfo?.isLibraryItem&&!t.libraryInfo?.deprecated){const n=t;n.libraryInfo?.translationKey&&(n.libraryInfo.translation=this.translator.get(n.libraryInfo.translationKey)),e[t.id||t.type]=n}return e},{}),this.charts);getChart=e=>(this.charts[e]||this.getCharts(),this.charts[e])}var au,su={};var lu=function(){if(au)return su;au=1;var e=L;return su.createRoot=e.createRoot,su.hydrateRoot=e.hydrateRoot,su}();const cu=x((e,t)=>xn.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:xn.jsx("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})})),du="rgb(89, 89, 89)",uu=mn(Sl)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),pu=mn(Sl)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),hu=mn(gc,{shouldForwardProp:e=>"width"!==e})(({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}})),fu=mn(Xs)({color:du,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),mu=mn(zc)({"&.MuiListItemIcon-root":{minWidth:32,color:du,marginRight:"0px"}}),bu=mn(tc)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),gu=mn(Pl)({"&.MuiButton-contained":{backgroundColor:du,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:du,color:du,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${du}`}}}),vu=mn(rs)({width:"1em",height:"1em",paddingBottom:"8px"}),yu=mn(rs)({width:"16px",height:"16px"}),xu=({name:e,items:t,onSelect:n})=>xn.jsxs(xn.Fragment,{children:[xn.jsx(Pc,{dense:!0,children:xn.jsx(fu,{noWrap:!0,fontWeight:"bold",children:e})},e),xn.jsx(bu,{}),t.map(e=>xn.jsx(Pc,{divider:!0,disablePadding:!0,disableGutters:!0,children:xn.jsxs(wc,{sx:{minHeight:"32px",height:"auto"},onClick:()=>{n(e)},disableRipple:!0,dense:!0,children:[e.iconPath?xn.jsx(mu,{children:e.IconDefinition?xn.jsx(e.IconDefinition,{}):xn.jsx(yu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:e.iconPath})})}):null,xn.jsx(fu,{noWrap:!0,title:e.translation||e.name,children:e.translation||e.name})]})},e.qExtendsId??e.name))]}),Eu=({categories:e,anchorEl:t,onClose:n,onSelect:r,width:o})=>{const[i,a]=_(""),s=!!t;return xn.jsxs(nd,{open:s,anchorEl:t,onClose:()=>{a(""),n()},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"},children:[xn.jsx(hl,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:xn.jsx(pc,{position:"start",children:xn.jsx(cu,{})})}),xn.jsx(bu,{}),xn.jsx(hu,{width:o,children:e.map(e=>{const t=e.items.filter(e=>{const t=e.translation||e.name;return t?.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>-1});return t.length>0&&xn.jsx(xu,{name:e.name,items:t,onSelect:r},e.name)})})]})},Cu=({anchorEl:e,onClose:t,dataHandler:n,translator:r,sharedContainerUtilities:o,width:i})=>{const[a,s]=_([]),[l,c]=_({});A(()=>{if(e&&n){(async()=>{const e=await n.getMasterVizList();s(e),c(n.getCharts())})().catch(()=>{})}},[e,n]);const d=[],u=[],p=new Map,h=Object.values(l);if(0===h.length&&0===a.length)return null;h.forEach(e=>{if(!e.libraryInfo||!e.libraryInfo.isThirdParty&&e.libraryInfo.visible)d.push(e);else if(e.libraryInfo.visible)if(e.libraryInfo.bundle?.name){const t=e.libraryInfo.bundle.name,n=p.get(t);n?n.push(e):p.set(t,[e])}else u.push(e)});const f=e=>e.map(e=>({iconPath:e.libraryInfo?.iconPath,IconDefinition:e.libraryInfo?.IconDefinition,name:e.id,translation:e.libraryInfo?.translation||e.libraryInfo?.name||e.id||"",type:e.id})).sort((e,t)=>(e.translation||e.name).localeCompare(t.translation||t.name)),m=[{name:r.get("LayoutContainer.Object.MasterItems"),items:a.map(e=>({qExtendsId:e.qExtendsId,iconPath:l[e.visualization]?.libraryInfo?.iconPath,IconDefinition:l[e.visualization]?.libraryInfo?.IconDefinition,name:e.name,type:e.visualization})).sort((e,t)=>e.name.localeCompare(t.name))},{name:r.get("LayoutContainer.Object.Charts"),items:d.map(e=>({iconPath:e.libraryInfo?.iconPath||"",IconDefinition:e.libraryInfo?.IconDefinition,name:e.libraryInfo?.name||e.id,type:e.libraryInfo?.template||e.id,translation:e.libraryInfo?.translation||e.id||""})).sort((e,t)=>e.translation.localeCompare(t.translation))},{name:r.get("LayoutContainer.Object.CustomObjects"),items:f(u)}];for(const[e,t]of p)m.push({name:e,items:f(t)});return xn.jsx(Eu,{categories:m,anchorEl:e,onSelect:e=>{if(!n)return;const{qExtendsId:r}=e;(r?n.addMasterObjectAsChild({initProps:{qExtendsId:r,qInfo:{qType:"undefined"}}}):n.addVizAsChild({type:e.type,objectInitProps:{label:e.translation}})).then(e=>{e?.id&&o?.setSelected([e.id])}).catch(e=>{console.warn(e)}).finally(()=>{t()})},onClose:t,width:i})},Su=e=>{const t=Ru(e);return e.objects?.map(e=>{const{childRefId:n}=e;if(!n)return e;const r=t[n];return r?{...e,id:r}:e})??[]},wu=(e,t)=>e?.qChildList?.qItems?.find(e=>e?.qData?.childRefId===t),Ru=e=>e?.qChildList?.qItems?.reduce((e,t)=>{const n=t?.qData?.childRefId;return e[n]=t?.qInfo?.qId,e},{});var _u=wu,Au=e=>{const t={...e};return t.objects=Su(t),t},ku=e=>e?.qChildList?.qItems?.reduce((e,t)=>{const n=t?.qInfo?.qId;return e[n]=t.qData?.childRefId,e},{}),Iu=e=>e.objects.reduce((e,t)=>(e[t.childRefId]=t,e),{}),Tu=(e,t)=>{if(!e)return t;const n=wu(e,t);return n?.qInfo?.qId};class Lu{layout;app;activeId="";data;properties=void 0;constructor({app:e,data:t}){this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}setSelectedChild=e=>{this.activeContainer?.sharedContainerUtilities?.setSelected(e)};addChild=({initProps:e,objectInitProps:t,children:n})=>{if(!this.activeContainer)return;const{dataHandler:r}=this.activeContainer;if(e?.qExtendsId){const{qExtendsId:o,qInfo:i}=e;return r?.addMasterObjectAsChild({initProps:{qExtendsId:o,qInfo:i},objectInitProps:t,children:n})}return r?.addVizAsChild({type:e?.visualization,initProps:e,objectInitProps:t,children:n})};deleteChild=async e=>{if(!this.activeContainer)return;const{dataHandler:t}=this.activeContainer;await(t?.deleteChildren([e]))};duplicateChild=async e=>{const{childRefId:t,...n}=e,r=this.getEngineId(t);if(!r)return;const o=await(this.app?.getObject(r));if(o&&this.activeContainer){const{sharedContainerUtilities:e}=this.activeContainer,t=await o.getFullPropertyTree(),r=t.qProperty,i=t.qChildren,a=await this.addChild({initProps:r,children:i,objectInitProps:n});a&&e?.setSelected([a.id])}};openAddChildPopover=e=>{if(this.activeContainer&&this.activeContainer.dataHandler&&this.data.muiTheme){const t=((e,t)=>{const n=e.getElementsByClassName(t);let r;return 0===n.length?(r=document.createElement("div"),r.className=t,e.appendChild(r)):r=n[0],lu.createRoot(r)})(this.activeContainer.element,"add-child-popover"),n=()=>{t.unmount()};t?.render(xn.jsx(Ba,{theme:this.data.muiTheme,children:xn.jsx(Cu,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:n,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})}))}};getObject(e){const t=this.getEngineId(e);if(t)return this.activeContainer?.renderHelper.objectMap.get(t)}setModel=e=>{this.activeId=e.id};setLayout=e=>{this.layout=e};getLayout=()=>this.layout;getEngineId=e=>Tu(this.layout,e);setProperties=e=>{this.properties=e};canAddDimension=()=>!1;canAddMeasure=()=>!1;canColorBy=()=>!1;getDimensions=()=>[];getMeasures=()=>[];minDimensions=()=>0;minMeasures=()=>0;maxDimensions=()=>0;maxMeasures=()=>0}function Ou(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Pu(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||Nu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ju(e){return function(e){if(Array.isArray(e))return Ou(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nu(e,t){if(e){if("string"==typeof e)return Ou(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ou(e,t):void 0}}var $u,zu="top",Du="top-right",Bu="right",Fu="bottom-right",Gu="bottom",Hu="bottom-left",Uu="left",Wu="top-left";Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu($u={},"equal-equal",[zu,Gu]),"equal-higher",[Gu,Fu]),"equal-lower",[zu,Du]),"equal-void",[zu,Gu]),"higher-equal",[Uu,Hu,zu,Du]),"higher-higher-acute",[Gu,Hu,Uu,Du]),"higher-higher-obtuse",[Gu,zu]),"higher-lower-negative",[zu,Du,Bu]),"higher-lower-positive",[Gu,Hu,Uu]),"higher-void",[zu]),Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu($u,"lower-equal",[zu]),"lower-higher-negative",[zu,Wu]),"lower-higher-positive",[Fu]),"lower-lower-acute",[zu,Wu,Uu,Du,Bu]),"lower-lower-obtuse",[zu,Gu]),"lower-void",[zu]),"void-equal",[zu]),"void-higher",[zu,Gu]),"void-lower",[zu,Gu,Uu]),"void-void",[zu]),Pu($u,"unclassified",[zu,Gu,Bu,Uu,Du,Fu,Hu,Wu]);var Yu="object",Vu=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],qu=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var Ku=function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1),groupHeader:!1,disabled:!1,styles:{fontFamily:e}}};function Xu(e){var t=e.theme,n=e.translator,r=e.defaultValue,o=e.flags,i=[],a=t.getStyle("","","fontFamilies");return Array.isArray(a)&&a.length?i.push.apply(i,ju(new Set([r].concat(ju(a.map(function(e){return e.split(",").map(function(e){return e.trim()}).map(function(e){return e.replace(/\s+/g," ").trim()}).filter(Boolean).join(", ")})))))):i.push(r),[{value:"ThemeHeader",label:n.get("properties.themeFonts"),metaText:n.get("properties.theme"),groupHeader:!0}].concat(ju(i.map(function(e){return Ku(e)})),[{value:"DefaultHeader",label:n.get("properties.allFonts"),metaText:n.get("properties.default"),groupHeader:!0}],ju(function(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?qu:Vu}(o).map(function(e){return Ku(e)})))}function Zu(e){var t=e.theme,n=e.translator,r=e.id,o=e.path,i=e.flags,a=function(){return t.getStyle(r,o,"fontFamily")};return{getDefaultValue:function(){return a()},getOptions:function(){return Xu({theme:t,translator:n,defaultValue:a(),flags:i})}}}var Ju=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],Qu=function(e){return{value:e,label:e,groupHeader:!1,disabled:!1}};function ep(e){var t=e.theme,n=e.translator,r=e.id,o=e.path,i=function(){return t.getStyle(r,o,"fontSize")};return{getDefaultValue:function(){return i()},getOptions:function(){return function(e){var t=e.translator,n=e.defaultValue,r=[],o=e.theme.getStyle("","","fontSizes");return Array.isArray(o)&&o.length?r.push.apply(r,ju(new Set([n].concat(ju(o))))):r.push(n),[{value:"ThemeHeader",label:t.get("properties.themeFontSizes"),metaText:t.get("properties.theme"),groupHeader:!0}].concat(ju(r.map(function(e){return Qu(e)})),[{value:"DefaultHeader",label:t.get("properties.allFontSizes"),metaText:t.get("properties.default"),groupHeader:!0}],ju(Ju.map(function(e){return Qu(e)})))}({theme:t,translator:n,defaultValue:i()})}}}function tp(e){var t=e.theme,n=e.translator,r=e.id,o=e.path;return{fontFamily:Zu({theme:t,translator:n,id:r,path:o,flags:e.flags}),fontSize:ep({theme:t,translator:n,id:r,path:o})}}var np,rp,op=["__proto__","constructor"],ip=function(e){if(op.some(function(t){return e.includes(t)}))throw new Error("font-resolver: Forbidden property.")};var ap,sp=function(){if(rp)return np;rp=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),i=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!i)return!1;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return np=function e(){var t,n,r,l,c,d,u=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof u&&(f=u,u=arguments[1]||{},p=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});p<h;++p)if(null!=(t=arguments[p]))for(n in t)r=s(u,n),u!==(l=s(t,n))&&(f&&l&&(i(l)||(c=o(l)))?(c?(c=!1,d=r&&o(r)?r:[]):d=r&&i(r)?r:{},a(u,{name:n,newValue:e(f,d,l)})):void 0!==l&&a(u,{name:n,newValue:l}));return u},np}();function lp(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function cp(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function dp(){}(ap=sp)&&ap.__esModule&&Object.prototype.hasOwnProperty.call(ap,"default")&&ap.default;var up=.7,pp=1/up,hp="\\s*([+-]?\\d+)\\s*",fp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",mp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",bp=/^#([0-9a-f]{3,8})$/,gp=new RegExp(`^rgb\\(${hp},${hp},${hp}\\)$`),vp=new RegExp(`^rgb\\(${mp},${mp},${mp}\\)$`),yp=new RegExp(`^rgba\\(${hp},${hp},${hp},${fp}\\)$`),xp=new RegExp(`^rgba\\(${mp},${mp},${mp},${fp}\\)$`),Ep=new RegExp(`^hsl\\(${fp},${mp},${mp}\\)$`),Cp=new RegExp(`^hsla\\(${fp},${mp},${mp},${fp}\\)$`),Sp={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 wp(){return this.rgb().formatHex()}function Rp(){return this.rgb().formatRgb()}function _p(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=bp.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ap(t):3===n?new Lp(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?kp(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?kp(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=gp.exec(e))?new Lp(t[1],t[2],t[3],1):(t=vp.exec(e))?new Lp(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=yp.exec(e))?kp(t[1],t[2],t[3],t[4]):(t=xp.exec(e))?kp(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ep.exec(e))?$p(t[1],t[2]/100,t[3]/100,1):(t=Cp.exec(e))?$p(t[1],t[2]/100,t[3]/100,t[4]):Sp.hasOwnProperty(e)?Ap(Sp[e]):"transparent"===e?new Lp(NaN,NaN,NaN,0):null}function Ap(e){return new Lp(e>>16&255,e>>8&255,255&e,1)}function kp(e,t,n,r){return r<=0&&(e=t=n=NaN),new Lp(e,t,n,r)}function Ip(e){return e instanceof dp||(e=_p(e)),e?new Lp((e=e.rgb()).r,e.g,e.b,e.opacity):new Lp}function Tp(e,t,n,r){return 1===arguments.length?Ip(e):new Lp(e,t,n,null==r?1:r)}function Lp(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Op(){return`#${Np(this.r)}${Np(this.g)}${Np(this.b)}`}function Pp(){const e=Mp(this.opacity);return`${1===e?"rgb(":"rgba("}${jp(this.r)}, ${jp(this.g)}, ${jp(this.b)}${1===e?")":`, ${e})`}`}function Mp(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function jp(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Np(e){return((e=jp(e))<16?"0":"")+e.toString(16)}function $p(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Dp(e,t,n,r)}function zp(e){if(e instanceof Dp)return new Dp(e.h,e.s,e.l,e.opacity);if(e instanceof dp||(e=_p(e)),!e)return new Dp;if(e instanceof Dp)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 Dp(a,s,l,e.opacity)}function Dp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Bp(e){return(e=(e||0)%360)<0?e+360:e}function Fp(e){return Math.max(0,Math.min(1,e||0))}function Gp(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}lp(dp,_p,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:wp,formatHex:wp,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return zp(this).formatHsl()},formatRgb:Rp,toString:Rp}),lp(Lp,Tp,cp(dp,{brighter(e){return e=null==e?pp:Math.pow(pp,e),new Lp(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?up:Math.pow(up,e),new Lp(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Lp(jp(this.r),jp(this.g),jp(this.b),Mp(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Op,formatHex:Op,formatHex8:function(){return`#${Np(this.r)}${Np(this.g)}${Np(this.b)}${Np(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Pp,toString:Pp})),lp(Dp,function(e,t,n,r){return 1===arguments.length?zp(e):new Dp(e,t,n,null==r?1:r)},cp(dp,{brighter(e){return e=null==e?pp:Math.pow(pp,e),new Dp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?up:Math.pow(up,e),new Dp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Lp(Gp(e>=240?e-240:e+120,o,r),Gp(e,o,r),Gp(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Dp(Bp(this.h),Fp(this.s),Fp(this.l),Mp(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Mp(this.opacity);return`${1===e?"hsl(":"hsla("}${Bp(this.h)}, ${100*Fp(this.s)}%, ${100*Fp(this.l)}%${1===e?")":`, ${e})`}`}}));const Hp=Math.PI/180,Up=180/Math.PI,Wp=.96422,Yp=.82521,Vp=4/29,qp=6/29,Kp=3*qp*qp,Xp=qp*qp*qp;function Zp(e){if(e instanceof Jp)return new Jp(e.l,e.a,e.b,e.opacity);if(e instanceof rh)return oh(e);e instanceof Lp||(e=Ip(e));var t,n,r=nh(e.r),o=nh(e.g),i=nh(e.b),a=Qp((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=Qp((.4360747*r+.3850649*o+.1430804*i)/Wp),n=Qp((.0139322*r+.0971045*o+.7141733*i)/Yp)),new Jp(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Jp(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Qp(e){return e>Xp?Math.pow(e,1/3):e/Kp+Vp}function eh(e){return e>qp?e*e*e:Kp*(e-Vp)}function th(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function nh(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function rh(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function oh(e){if(isNaN(e.h))return new Jp(e.l,0,0,e.opacity);var t=e.h*Hp;return new Jp(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}lp(Jp,function(e,t,n,r){return 1===arguments.length?Zp(e):new Jp(e,t,n,null==r?1:r)},cp(dp,{brighter(e){return new Jp(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Jp(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Lp(th(3.1338561*(t=Wp*eh(t))-1.6168667*(e=1*eh(e))-.4906146*(n=Yp*eh(n))),th(-.9787684*t+1.9161415*e+.033454*n),th(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),lp(rh,function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof rh)return new rh(e.h,e.c,e.l,e.opacity);if(e instanceof Jp||(e=Zp(e)),0===e.a&&0===e.b)return new rh(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Up;return new rh(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new rh(e,t,n,null==r?1:r)},cp(dp,{brighter(e){return new rh(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new rh(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return oh(this).rgb()}}));var ih=e=>()=>e;function ah(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):ih(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1===(e=+e)?ah: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):ih(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Tp(e)).r,(t=Tp(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=ah(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);var sh="center",lh="bottom";function ch(e,t,n){if(void 0===e||void 0===t)return n;for(var r=t.split("."),o=e,i=0;i<r.length;++i){var a=r[i];if(void 0===o[a])return n;o=o[a]}return o}[{key:"NoDataExist",alignment:sh,condition:function(e){var t=e.layoutService;if(!t)return!1;var n=t.meta.size;return n.x*n.y===0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:sh,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every(function(e){return"NaN"===e.qMin&&"NaN"===e.qMax})}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:sh,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:sh},{key:"DataRangeIncludingZero",alignment:lh},{key:"LimitedData",alignment:lh},{key:"NegativeOrZeroValues",alignment:lh}].reduce(function(e,t){return e[t.key]=t,e},{});var dh,uh=["__proto__","constructor"];function ph(e,t,n){if(void 0!==e&&void 0!==t){var r=t.split("."),o=r[r.length-1];if(!uh.some(function(e){return r.includes(e)})){for(var i=e,a=0;a<r.length-1;++a){var s=r[a];void 0===i[s]&&(i[s]=Number.isNaN(+r[a+1])?{}:[]),i=i[s]}void 0!==n?i[o]=n:delete i[o]}}}function hh(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function fh(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=bh)):void 0===t&&(t=mh);for(var n,r,o,i,a,s=new yh(e),l=[s];n=l.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)l.push(r=o[i]=new yh(o[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(vh)}function mh(e){return e.children}function bh(e){return Array.isArray(e)?e[1]:null}function gh(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function vh(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function yh(e){this.data=e,this.depth=this.height=0,this.parent=null}yh.prototype=fh.prototype={constructor:yh,count:function(){return this.eachAfter(hh)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return fh(this).eachBefore(gh)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},dh=function(e){
87
+ `),As.rippleVisible,Ms,550,({theme:e})=>e.transitions.easing.easeInOut,As.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,As.child,As.childLeaving,js,550,({theme:e})=>e.transitions.easing.easeInOut,As.childPulsate,Ns,({theme:e})=>e.transitions.easing.easeInOut),Ds=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=H(n,ks),[s,l]=y.useState([]),c=y.useRef(0),d=y.useRef(null);y.useEffect(()=>{d.current&&(d.current(),d.current=null)},[s]);const u=y.useRef(!1),p=To(),h=y.useRef(null),f=y.useRef(null),m=y.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;l(e=>[...e,xn.jsx(zs,{classes:{ripple:qr(o.ripple,As.ripple),rippleVisible:qr(o.rippleVisible,As.rippleVisible),ripplePulsate:qr(o.ripplePulsate,As.ripplePulsate),child:qr(o.child,As.child),childLeaving:qr(o.childLeaving,As.childLeaving),childPulsate:qr(o.childPulsate,As.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)]),c.current+=1,d.current=a},[o]),b=y.useCallback((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&u.current)return void(u.current=!1);"touchstart"===(null==e?void 0:e.type)&&(u.current=!0);const s=a?null:f.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,d,b;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),d=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),d=Math.round(n-l.top)}if(i)b=Math.sqrt((2*l.width**2+l.height**2)/3),b%2==0&&(b+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-d),d)+2;b=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{m({pulsate:o,rippleX:c,rippleY:d,rippleSize:b,cb:n})},p.start(80,()=>{h.current&&(h.current(),h.current=null)})):m({pulsate:o,rippleX:c,rippleY:d,rippleSize:b,cb:n})},[r,m,p]),g=y.useCallback(()=>{b({},{pulsate:!0})},[b]),v=y.useCallback((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void p.start(0,()=>{v(e,t)});h.current=null,l(e=>e.length>0?e.slice(1):e),d.current=t},[p]);return y.useImperativeHandle(t,()=>({pulsate:g,start:b,stop:v}),[g,b,v]),xn.jsx($s,G({className:qr(As.root,o.root,i),ref:f},a,{children:xn.jsx(xs,{component:null,exit:!0,children:s})}))});function Bs(e){return Zr("MuiButtonBase",e)}const Fs=Jr("MuiButtonBase",["root","disabled","focusVisible"]),Gs=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Hs=za("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Fs.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Us=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:s="button",disabled:l=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:u=!1,LinkComponent:p="a",onBlur:h,onClick:f,onContextMenu:m,onDragLeave:b,onFocus:g,onFocusVisible:v,onKeyDown:x,onKeyUp:E,onMouseDown:C,onMouseLeave:S,onMouseUp:w,onTouchEnd:R,onTouchMove:_,onTouchStart:A,tabIndex:k=0,TouchRippleProps:I,touchRippleRef:L,type:T}=n,O=H(n,Gs),P=y.useRef(null),M=y.useRef(null),j=Ao(M,L),{isFocusVisibleRef:N,onFocus:$,onBlur:z,ref:D}=Bo(),[B,F]=y.useState(!1);l&&B&&F(!1),y.useImperativeHandle(r,()=>({focusVisible:()=>{F(!0),P.current.focus()}}),[]);const[U,W]=y.useState(!1);y.useEffect(()=>{W(!0)},[]);const Y=U&&!c&&!l;function V(e,t,n=d){return _o(r=>{t&&t(r);return!n&&M.current&&M.current[e](r),!0})}y.useEffect(()=>{B&&u&&!c&&U&&M.current.pulsate()},[c,u,B,U]);const q=V("start",C),K=V("stop",m),X=V("stop",b),Z=V("stop",w),J=V("stop",e=>{B&&e.preventDefault(),S&&S(e)}),Q=V("start",A),ee=V("stop",R),te=V("stop",_),ne=V("stop",e=>{z(e),!1===N.current&&F(!1),h&&h(e)},!1),re=_o(e=>{P.current||(P.current=e.currentTarget),$(e),!0===N.current&&(F(!0),v&&v(e)),g&&g(e)}),oe=()=>{const e=P.current;return s&&"button"!==s&&!("A"===e.tagName&&e.href)},ie=y.useRef(!1),ae=_o(e=>{u&&!ie.current&&B&&M.current&&" "===e.key&&(ie.current=!0,M.current.stop(e,()=>{M.current.start(e)})),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!l&&(e.preventDefault(),f&&f(e))}),se=_o(e=>{u&&" "===e.key&&M.current&&B&&!e.defaultPrevented&&(ie.current=!1,M.current.stop(e,()=>{M.current.pulsate(e)})),E&&E(e),f&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&f(e)});let le=s;"button"===le&&(O.href||O.to)&&(le=p);const ce={};"button"===le?(ce.type=void 0===T?"button":T,ce.disabled=l):(O.href||O.to||(ce.role="button"),l&&(ce["aria-disabled"]=l));const de=Ao(t,D,P),ue=G({},n,{centerRipple:o,component:s,disabled:l,disableRipple:c,disableTouchRipple:d,focusRipple:u,tabIndex:k,focusVisible:B}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Wo({root:["root",t&&"disabled",n&&"focusVisible"]},Bs,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return xn.jsxs(Hs,G({as:le,className:qr(pe.root,a),ownerState:ue,onBlur:ne,onClick:f,onContextMenu:K,onFocus:re,onKeyDown:ae,onKeyUp:se,onMouseDown:q,onMouseLeave:J,onMouseUp:Z,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:Q,ref:de,tabIndex:l?-1:k,type:T},ce,O,{children:[i,Y?xn.jsx(Ds,G({ref:j,center:o},I)):null]}))});function Ws(e){return Zr("MuiTypography",e)}Jr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ys=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Vs=za("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Dn(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>G({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),qs={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ks={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Xs=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTypography"}),r=(e=>Ks[e]||e)(n.color),o=Hr(G({},n,{color:r})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:d=!1,variant:u="body1",variantMapping:p=qs}=o,h=H(o,Ys),f=G({},o,{align:i,color:r,className:a,component:s,gutterBottom:l,noWrap:c,paragraph:d,variant:u,variantMapping:p}),m=s||(d?"p":p[u]||qs[u])||"span",b=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return Wo({root:["root",i,"inherit"!==e.align&&`align${Dn(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Ws,a)})(f);return xn.jsx(Vs,G({as:m,ref:t,ownerState:f,className:qr(b.root,a)},h))});const Zs=y.forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=y.useState(null),s=Ao(y.isValidElement(n)?Zo(n):null,t);if(ho(()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),ho(()=>{if(i&&!o)return Co(t,i),()=>{Co(t,null)}},[t,i,o]),o){if(y.isValidElement(n)){const e={ref:s};return y.cloneElement(n,e)}return xn.jsx(y.Fragment,{children:n})}return xn.jsx(y.Fragment,{children:i?O.createPortal(n,i):i})}),Js=["onChange","maxRows","minRows","style","value"];function Qs(e){return parseInt(e,10)||0}const el={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function tl(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const nl=y.forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,s=H(e,Js),{current:l}=y.useRef(null!=a),c=y.useRef(null),d=Ao(t,c),u=y.useRef(null),p=y.useRef(null),h=y.useCallback(()=>{const t=c.current,n=p.current;if(!t||!n)return;const i=Eo(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,s=Qs(i.paddingBottom)+Qs(i.paddingTop),l=Qs(i.borderBottomWidth)+Qs(i.borderTopWidth),d=n.scrollHeight;n.value="x";const u=n.scrollHeight;let h=d;o&&(h=Math.max(Number(o)*u,h)),r&&(h=Math.min(Number(r)*u,h)),h=Math.max(h,u);return{outerHeightStyle:h+("border-box"===a?s+l:0),overflowing:Math.abs(h-d)<=1}},[r,o,e.placeholder]),f=_o(()=>{const e=c.current,t=h();if(!e||!t||tl(t))return!1;const n=t.outerHeightStyle;return null!=u.current&&u.current!==n}),m=y.useCallback(()=>{const e=c.current,t=h();if(!e||!t||tl(t))return;const n=t.outerHeightStyle;u.current!==n&&(u.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[h]),b=y.useRef(-1);ho(()=>{const e=yo(m),t=null==c?void 0:c.current;if(!t)return;const n=Eo(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{f()&&(r.unobserve(t),cancelAnimationFrame(b.current),m(),b.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(b.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[h,m,f]),ho(()=>{m()});return xn.jsxs(y.Fragment,{children:[xn.jsx("textarea",G({value:a,onChange:e=>{l||m(),n&&n(e)},ref:d,rows:o,style:i},s)),xn.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:G({},el,i,{paddingTop:0,paddingBottom:0})})]})});const rl=y.createContext(void 0);function ol(){return y.useContext(rl)}function il(e){return xn.jsx(Fr,G({},e,{defaultTheme:Ca,themeId:F}))}function al(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function sl(e){return Zr("MuiInputBase",e)}const ll=Jr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),cl=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],dl=za("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Dn(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})(({theme:e,ownerState:t})=>G({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${ll.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&G({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),ul=za("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=G({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return G({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${ll.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${ll.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})}),pl=xn.jsx(il,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),hl=y.forwardRef(function(e,t){var n;const r=Qa({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:s,components:l={},componentsProps:c={},defaultValue:d,disabled:u,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:f=!1,id:m,inputComponent:b="input",inputProps:g={},inputRef:v,maxRows:x,minRows:E,multiline:C=!1,name:S,onBlur:w,onChange:R,onClick:_,onFocus:A,onKeyDown:k,onKeyUp:I,placeholder:L,readOnly:T,renderSuffix:O,rows:P,slotProps:M={},slots:j={},startAdornment:N,type:$="text",value:z}=r,B=H(r,cl),F=null!=g.value?g.value:z,{current:U}=y.useRef(null!=F),W=y.useRef(),Y=y.useCallback(e=>{},[]),V=Ao(W,v,g.ref,Y),[q,K]=y.useState(!1),X=ol(),Z=function({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}({props:r,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Z.focused=X?X.focused:q,y.useEffect(()=>{!X&&u&&q&&(K(!1),w&&w())},[X,u,q,w]);const J=X&&X.onFilled,Q=X&&X.onEmpty,ee=y.useCallback(e=>{!function(e,t=!1){return e&&(al(e.value)&&""!==e.value||t&&al(e.defaultValue)&&""!==e.defaultValue)}(e)?Q&&Q():J&&J()},[J,Q]);ho(()=>{U&&ee({value:F})},[F,ee,U]);y.useEffect(()=>{ee(W.current)},[]);let te=b,ne=g;C&&"input"===te&&(ne=G(P?{type:void 0,minRows:P,maxRows:P}:{type:void 0,maxRows:x,minRows:E},ne),te=nl);y.useEffect(()=>{X&&X.setAdornedStart(Boolean(N))},[X,N]);const re=G({},r,{color:Z.color||"primary",disabled:Z.disabled,endAdornment:h,error:Z.error,focused:Z.focused,formControl:X,fullWidth:f,hiddenLabel:Z.hiddenLabel,multiline:C,size:Z.size,startAdornment:N,type:$}),oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:d,readOnly:u,size:p,startAdornment:h,type:f}=e;return Wo({root:["root",`color${Dn(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Dn(p)}`,d&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",u&&"readOnly"],input:["input",r&&"disabled","search"===f&&"inputTypeSearch",d&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",u&&"readOnly"]},sl,t)})(re),ie=j.root||l.Root||dl,ae=M.root||c.root||{},se=j.input||l.Input||ul;return ne=G({},ne,null!=(n=M.input)?n:c.input),xn.jsxs(y.Fragment,{children:[!p&&pl,xn.jsxs(ie,G({},ae,!Yo(ie)&&{ownerState:G({},re,ae.ownerState)},{ref:t,onClick:e=>{W.current&&e.currentTarget===e.target&&W.current.focus(),_&&_(e)}},B,{className:qr(oe.root,ae.className,s,T&&"MuiInputBase-readOnly"),children:[N,xn.jsx(rl.Provider,{value:null,children:xn.jsx(se,G({ownerState:re,"aria-invalid":Z.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:d,disabled:Z.disabled,id:m,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?W.current:{value:"x"})},name:S,placeholder:L,readOnly:T,required:Z.required,rows:P,value:F,onKeyDown:k,onKeyUp:I,type:$},ne,!Yo(se)&&{as:te,ownerState:G({},re,ne.ownerState)},{ref:V,className:qr(oe.input,ne.className,T&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),g.onBlur&&g.onBlur(e),X&&X.onBlur?X.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!U){const t=e.target||W.current;if(null==t)throw new Error(D(1));ee({value:t.value})}g.onChange&&g.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{Z.disabled?e.stopPropagation():(A&&A(e),g.onFocus&&g.onFocus(e),X&&X.onFocus?X.onFocus(e):K(!0))}}))}),h,O?O(G({},Z,{startAdornment:N})):null]}))]})}),fl=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ml={entering:{opacity:1},entered:{opacity:1}},bl=y.forwardRef(function(e,t){const n=Sa(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:d,onEntering:u,onExit:p,onExited:h,onExiting:f,style:m,timeout:b=r,TransitionComponent:g=fs}=e,v=H(e,fl),x=y.useRef(null),E=Ao(x,Zo(a),t),C=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},S=C(u),w=C((e,t)=>{Es(e);const r=Cs({style:m,timeout:b,easing:s},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)}),R=C(d),_=C(f),A=C(e=>{const t=Cs({style:m,timeout:b,easing:s},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)}),k=C(h);return xn.jsx(g,G({appear:i,in:l,nodeRef:x,onEnter:w,onEntered:R,onEntering:S,onExit:A,onExited:k,onExiting:_,addEndListener:e=>{o&&o(x.current,e)},timeout:b},v,{children:(e,t)=>y.cloneElement(a,G({style:G({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},ml[e],m,a.props.style),ref:E},t))}))});function gl(e){return Zr("MuiBackdrop",e)}Jr("MuiBackdrop",["root","invisible"]);const vl=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],yl=za("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>G({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),xl=y.forwardRef(function(e,t){var n,r,o;const i=Qa({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:c={},componentsProps:d={},invisible:u=!1,open:p,slotProps:h={},slots:f={},TransitionComponent:m=bl,transitionDuration:b}=i,g=H(i,vl),v=G({},i,{component:l,invisible:u}),y=(e=>{const{classes:t,invisible:n}=e;return Wo({root:["root",n&&"invisible"]},gl,t)})(v),x=null!=(n=h.root)?n:d.root;return xn.jsx(m,G({in:p,timeout:b},g,{children:xn.jsx(yl,G({"aria-hidden":!0},x,{as:null!=(r=null!=(o=f.root)?o:c.Root)?r:l,className:qr(y.root,s,null==x?void 0:x.className),ownerState:G({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}),El=Jr("MuiBox",["root"]),Cl=Ea(),Sl=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Sn("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Or);return y.forwardRef(function(e,a){const s=Dr(n),l=Hr(e),{className:c,component:d="div"}=l,u=H(l,Kr);return xn.jsx(i,G({as:d,ref:a,className:qr(c,o?o(r):r),theme:t&&s[t]||s},u))})}({themeId:F,defaultTheme:Cl,defaultClassName:El.root,generateClassName:Yr.generate});function wl(e){return Zr("MuiButton",e)}const Rl=Jr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),_l=y.createContext({}),Al=y.createContext(void 0),kl=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Il=e=>G({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Ll=za(Us,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Dn(n.color)}`],t[`size${Dn(n.size)}`],t[`${n.variant}Size${Dn(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return G({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":G({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ei.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ei.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ei.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":G({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Rl.focusVisible}`]:G({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Rl.disabled}`]:G({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ei.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Rl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Rl.disabled}`]:{boxShadow:"none"}}),Tl=za("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Dn(n.size)}`]]}})(({ownerState:e})=>G({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Il(e))),Ol=za("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Dn(n.size)}`]]}})(({ownerState:e})=>G({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Il(e))),Pl=y.forwardRef(function(e,t){const n=y.useContext(_l),r=y.useContext(Al),o=Qa({props:po(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:s="button",className:l,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:u=!1,endIcon:p,focusVisibleClassName:h,fullWidth:f=!1,size:m="medium",startIcon:b,type:g,variant:v="text"}=o,x=H(o,kl),E=G({},o,{color:a,component:s,disabled:c,disableElevation:d,disableFocusRipple:u,fullWidth:f,size:m,type:g,variant:v}),C=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return G({},a,Wo({root:["root",i,`${i}${Dn(t)}`,`size${Dn(o)}`,`${i}Size${Dn(o)}`,`color${Dn(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Dn(o)}`],endIcon:["icon","endIcon",`iconSize${Dn(o)}`]},wl,a))})(E),S=b&&xn.jsx(Tl,{className:C.startIcon,ownerState:E,children:b}),w=p&&xn.jsx(Ol,{className:C.endIcon,ownerState:E,children:p}),R=r||"";return xn.jsxs(Ll,G({ownerState:E,className:qr(n.className,C.root,l,R),component:s,disabled:c,focusRipple:!u,focusVisibleClassName:qr(C.focusVisible,h),ref:t,type:g},x,{classes:C,children:[S,i,w]}))});function Ml(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function jl(e){return parseInt(Eo(e).getComputedStyle(e).paddingRight,10)||0}function Nl(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Ml(e,o)})}function $l(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function zl(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=xo(e);return t.body===e?Eo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Fo(xo(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${jl(r)+e}px`;const t=xo(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${jl(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=xo(r).body;else{const t=r.parentElement,n=Eo(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}const Dl=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Bl(e){const t=[],n=[];return Array.from(e.querySelectorAll(Dl)).forEach((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Fl(){return!0}function Gl(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Bl,isEnabled:a=Fl,open:s}=e,l=y.useRef(!1),c=y.useRef(null),d=y.useRef(null),u=y.useRef(null),p=y.useRef(null),h=y.useRef(!1),f=y.useRef(null),m=Ao(Zo(t),f),b=y.useRef(null);y.useEffect(()=>{s&&f.current&&(h.current=!n)},[n,s]),y.useEffect(()=>{if(!s||!f.current)return;const e=xo(f.current);return f.current.contains(e.activeElement)||(f.current.hasAttribute("tabIndex")||f.current.setAttribute("tabIndex","-1"),h.current&&f.current.focus()),()=>{o||(u.current&&u.current.focus&&(l.current=!0,u.current.focus()),u.current=null)}},[s]),y.useEffect(()=>{if(!s||!f.current)return;const e=xo(f.current),t=t=>{b.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===f.current&&t.shiftKey&&(l.current=!0,d.current&&d.current.focus())},n=()=>{const t=f.current;if(null===t)return;if(!e.hasFocus()||!a()||l.current)return void(l.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==c.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let n=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(n=i(f.current)),n.length>0){var o,s;const e=Boolean((null==(o=b.current)?void 0:o.shiftKey)&&"Tab"===(null==(s=b.current)?void 0:s.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,o,a,s,i]);const g=e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0};return xn.jsxs(y.Fragment,{children:[xn.jsx("div",{tabIndex:s?0:-1,onFocus:g,ref:c,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),xn.jsx("div",{tabIndex:s?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})}const Hl=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Ml(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);Nl(t,e.mount,e.modalRef,r,!0);const o=$l(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=$l(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];r.restore||(r.restore=zl(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=$l(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Ml(e.modalRef,t),Nl(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Ml(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Ul(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=Hl,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:d,rootRef:u}=e,p=y.useRef({}),h=y.useRef(null),f=y.useRef(null),m=Ao(f,u),[b,g]=y.useState(!d),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const E=()=>(p.current.modalRef=f.current,p.current.mount=h.current,p.current),C=()=>{o.mount(E(),{disableScrollLock:r}),f.current&&(f.current.scrollTop=0)},S=_o(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||xo(h.current).body;o.add(E(),e),f.current&&C()}),w=y.useCallback(()=>o.isTopModal(E()),[o]),R=_o(e=>{h.current=e,e&&(d&&w()?C():f.current&&Ml(f.current,x))}),_=y.useCallback(()=>{o.remove(E(),x)},[x,o]);y.useEffect(()=>()=>{_()},[_]),y.useEffect(()=>{d?S():v&&i||_()},[d,_,v,i,S]);const A=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},k=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Vo(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=G({},n,t);return G({role:"presentation"},r,{onKeyDown:A(r),ref:m})},getBackdropProps:(e={})=>G({"aria-hidden":!0},e,{onClick:k(e),open:d}),getTransitionProps:()=>({onEnter:vo(()=>{g(!1),a&&a()},null==l?void 0:l.props.onEnter),onExited:vo(()=>{g(!0),s&&s(),i&&_()},null==l?void 0:l.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:b,hasTransition:v}}function Wl(e){return Zr("MuiModal",e)}Jr("MuiModal",["root","hidden","backdrop"]);const Yl=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Vl=za("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>G({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),ql=za(xl,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Kl=y.forwardRef(function(e,t){var n,r,o,i,a,s;const l=Qa({name:"MuiModal",props:e}),{BackdropComponent:c=ql,BackdropProps:d,className:u,closeAfterTransition:p=!1,children:h,container:f,component:m,components:b={},componentsProps:g={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:E=!1,disablePortal:C=!1,disableRestoreFocus:S=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:_=!1,onBackdropClick:A,open:k,slotProps:I,slots:L}=l,T=H(l,Yl),O=G({},l,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:E,disablePortal:C,disableRestoreFocus:S,disableScrollLock:w,hideBackdrop:R,keepMounted:_}),{getRootProps:P,getBackdropProps:M,getTransitionProps:j,portalRef:N,isTopModal:$,exited:z,hasTransition:D}=Ul(G({},O,{rootRef:t})),B=G({},O,{exited:z}),F=(e=>{const{open:t,exited:n,classes:r}=e;return Wo({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Wl,r)})(B),U={};if(void 0===h.props.tabIndex&&(U.tabIndex="-1"),D){const{onEnter:e,onExited:t}=j();U.onEnter=e,U.onExited=t}const W=null!=(n=null!=(r=null==L?void 0:L.root)?r:b.Root)?n:Vl,Y=null!=(o=null!=(i=null==L?void 0:L.backdrop)?i:b.Backdrop)?o:c,V=null!=(a=null==I?void 0:I.root)?a:g.root,q=null!=(s=null==I?void 0:I.backdrop)?s:g.backdrop,K=Xo({elementType:W,externalSlotProps:V,externalForwardedProps:T,getSlotProps:P,additionalProps:{ref:t,as:m},ownerState:B,className:qr(u,null==V?void 0:V.className,null==F?void 0:F.root,!B.open&&B.exited&&(null==F?void 0:F.hidden))}),X=Xo({elementType:Y,externalSlotProps:q,additionalProps:d,getSlotProps:e=>M(G({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:qr(null==q?void 0:q.className,null==d?void 0:d.className,null==F?void 0:F.backdrop),ownerState:B});return _||k||D&&!z?xn.jsx(Zs,{ref:N,container:f,disablePortal:C,children:xn.jsxs(W,G({},K,{children:[!R&&c?xn.jsx(Y,G({},X)):null,xn.jsx(Gl,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:S,isEnabled:$,open:k,children:y.cloneElement(h,U)})]}))}):null});function Xl(e){return Zr("MuiDivider",e)}const Zl=Jr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Jl=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Ql=za("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>G({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ei.alpha(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>G({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>G({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}),({theme:e,ownerState:t})=>G({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:e})=>G({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),ec=za("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>G({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),tc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:d=("hr"!==a?"separator":void 0),textAlign:u="center",variant:p="fullWidth"}=n,h=H(n,Jl),f=G({},n,{absolute:r,component:a,flexItem:s,light:l,orientation:c,role:d,textAlign:u,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return Wo({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Xl,r)})(f);return xn.jsx(Ql,G({as:a,className:qr(m.root,i),role:d,ref:t,ownerState:f},h,{children:o?xn.jsx(ec,{className:m.wrapper,ownerState:f,children:o}):null}))});tc.muiSkipListHighlight=!0;const nc=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function rc(e){return`scale(${e}, ${e**2})`}const oc={entering:{opacity:1,transform:rc(1)},entered:{opacity:1,transform:"none"}},ic="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ac=y.forwardRef(function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:s,onEntered:l,onEntering:c,onExit:d,onExited:u,onExiting:p,style:h,timeout:f="auto",TransitionComponent:m=fs}=e,b=H(e,nc),g=To(),v=y.useRef(),x=Sa(),E=y.useRef(null),C=Ao(E,Zo(o),t),S=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},w=S(c),R=S((e,t)=>{Es(e);const{duration:n,delay:r,easing:o}=Cs({style:h,timeout:f,easing:i},{mode:"enter"});let a;"auto"===f?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:ic?a:.666*a,delay:r,easing:o})].join(","),s&&s(e,t)}),_=S(l),A=S(p),k=S(e=>{const{duration:t,delay:n,easing:r}=Cs({style:h,timeout:f,easing:i},{mode:"exit"});let o;"auto"===f?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:ic?o:.666*o,delay:ic?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=rc(.75),d&&d(e)}),I=S(u);return xn.jsx(m,G({appear:r,in:a,nodeRef:E,onEnter:R,onEntered:_,onEntering:w,onExit:k,onExited:I,onExiting:A,addEndListener:e=>{"auto"===f&&g.start(v.current||0,e),n&&n(E.current,e)},timeout:"auto"===f?null:f},b,{children:(e,t)=>y.cloneElement(o,G({style:G({opacity:0,transform:rc(.75),visibility:"exited"!==e||a?void 0:"hidden"},oc[e],h,o.props.style),ref:C},t))}))});function sc(e){return Zr("MuiInputAdornment",e)}ac.muiSupportAuto=!0;const lc=Jr("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var cc;const dc=["children","className","component","disablePointerEvents","disableTypography","position","variant"],uc=za("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Dn(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(({theme:e,ownerState:t})=>G({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${lc.positionStart}&:not(.${lc.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),pc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:s=!1,position:l,variant:c}=n,d=H(n,dc),u=ol()||{};let p=c;c&&u.variant,u&&!p&&(p=u.variant);const h=G({},n,{hiddenLabel:u.hiddenLabel,size:u.size,disablePointerEvents:a,position:l,variant:p}),f=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e;return Wo({root:["root",n&&"disablePointerEvents",o&&`position${Dn(o)}`,a,r&&"hiddenLabel",i&&`size${Dn(i)}`]},sc,t)})(h);return xn.jsx(rl.Provider,{value:null,children:xn.jsx(uc,G({as:i,ownerState:h,className:qr(f.root,o),ref:t},d,{children:"string"!=typeof r||s?xn.jsxs(y.Fragment,{children:["start"===l?cc||(cc=xn.jsx("span",{className:"notranslate",children:"​"})):null,r]}):xn.jsx(Xs,{color:"text.secondary",children:r})}))})}),hc=y.createContext({});function fc(e){return Zr("MuiList",e)}Jr("MuiList",["root","padding","dense","subheader"]);const mc=["children","className","component","dense","disablePadding","subheader"],bc=za("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>G({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),gc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:s=!1,subheader:l}=n,c=H(n,mc),d=y.useMemo(()=>({dense:a}),[a]),u=G({},n,{component:i,dense:a,disablePadding:s}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Wo({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},fc,t)})(u);return xn.jsx(hc.Provider,{value:d,children:xn.jsxs(bc,G({as:i,className:qr(p.root,o),ref:t,ownerState:u},c,{children:[l,r]}))})});function vc(e){return Zr("MuiListItem",e)}const yc=Jr("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function xc(e){return Zr("MuiListItemButton",e)}const Ec=Jr("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Cc=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Sc=za(Us,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>G({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ec.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ec.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ec.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ec.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ec.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),wc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:s=!1,disableGutters:l=!1,divider:c=!1,focusVisibleClassName:d,selected:u=!1,className:p}=n,h=H(n,Cc),f=y.useContext(hc),m=y.useMemo(()=>({dense:s||f.dense||!1,alignItems:r,disableGutters:l}),[r,f.dense,s,l]),b=y.useRef(null);ho(()=>{o&&b.current&&b.current.focus()},[o]);const g=G({},n,{alignItems:r,dense:m.dense,disableGutters:l,divider:c,selected:u}),v=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:s}=e;return G({},n,Wo({root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},xc,n))})(g),x=Ao(b,t);return xn.jsx(hc.Provider,{value:m,children:xn.jsx(Sc,G({ref:x,href:h.href||h.to,component:(h.href||h.to)&&"div"===i?"button":i,focusVisibleClassName:qr(v.focusVisible,d),ownerState:g,className:qr(v.root,p)},h,{classes:v,children:a}))})});function Rc(e){return Zr("MuiListItemSecondaryAction",e)}Jr("MuiListItemSecondaryAction",["root","disableGutters"]);const _c=["className"],Ac=za("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>G({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),kc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=H(n,_c),i=G({},n,{disableGutters:y.useContext(hc).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return Wo({root:["root",t&&"disableGutters"]},Rc,n)})(i);return xn.jsx(Ac,G({className:qr(a.root,r),ownerState:i,ref:t},o))});kc.muiName="ListItemSecondaryAction";const Ic=["className"],Lc=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Tc=za("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>G({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&G({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Ec.root}`]:{paddingRight:48}},{[`&.${yc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${yc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${yc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${yc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${yc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Oc=za("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Pc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:i=!1,children:a,className:s,component:l,components:c={},componentsProps:d={},ContainerComponent:u="li",ContainerProps:{className:p}={},dense:h=!1,disabled:f=!1,disableGutters:m=!1,disablePadding:b=!1,divider:g=!1,focusVisibleClassName:v,secondaryAction:x,selected:E=!1,slotProps:C={},slots:S={}}=n,w=H(n.ContainerProps,Ic),R=H(n,Lc),_=y.useContext(hc),A=y.useMemo(()=>({dense:h||_.dense||!1,alignItems:r,disableGutters:m}),[r,_.dense,h,m]),k=y.useRef(null);ho(()=>{o&&k.current&&k.current.focus()},[o]);const I=y.Children.toArray(a),L=I.length&&(T=I[I.length-1],O=["ListItemSecondaryAction"],y.isValidElement(T)&&-1!==O.indexOf(null!=(P=T.type.muiName)?P:null==(M=T.type)||null==(M=M._payload)||null==(M=M.value)?void 0:M.muiName));var T,O,P,M;const j=G({},n,{alignItems:r,autoFocus:o,button:i,dense:A.dense,disabled:f,disableGutters:m,disablePadding:b,divider:g,hasSecondaryAction:L,selected:E}),N=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:d}=e;return Wo({root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},vc,r)})(j),$=Ao(k,t),z=S.root||c.Root||Tc,D=C.root||d.root||{},B=G({className:qr(N.root,D.className,s),disabled:f},R);let F=l||"li";return i&&(B.component=l||"div",B.focusVisibleClassName=qr(yc.focusVisible,v),F=Us),L?(F=B.component||l?F:"div","li"===u&&("li"===F?F="div":"li"===B.component&&(B.component="div")),xn.jsx(hc.Provider,{value:A,children:xn.jsxs(Oc,G({as:u,className:qr(N.container,p),ref:$,ownerState:j},w,{children:[xn.jsx(z,G({},D,!Yo(z)&&{as:F,ownerState:G({},j,D.ownerState)},B,{children:I})),I.pop()]}))})):xn.jsx(hc.Provider,{value:A,children:xn.jsxs(z,G({},D,{as:F,ref:$},!Yo(z)&&{ownerState:G({},j,D.ownerState)},B,{children:[I,x&&xn.jsx(kc,{children:x})]}))})});function Mc(e){return Zr("MuiListItemIcon",e)}const jc=Jr("MuiListItemIcon",["root","alignItemsFlexStart"]),Nc=["className"],$c=za("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>G({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),zc=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=H(n,Nc),i=G({},n,{alignItems:y.useContext(hc).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return Wo({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Mc,n)})(i);return xn.jsx($c,G({className:qr(a.root,r),ownerState:i,ref:t},o))}),Dc=Jr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Bc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Fc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Gc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Hc(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Uc(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Hc(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}const Wc=y.forwardRef(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:s=!1,disableListWrap:l=!1,onKeyDown:c,variant:d="selectedMenu"}=e,u=H(e,Bc),p=y.useRef(null),h=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ho(()=>{r&&p.current.focus()},[r]),y.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Fo(xo(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}}),[]);const f=Ao(p,t);let m=-1;y.Children.forEach(i,(e,t)=>{y.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))});const b=y.Children.map(i,(e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),y.cloneElement(e,t)}return e});return xn.jsx(gc,G({role:"menu",ref:f,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=xo(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Uc(t,r,l,s,Fc);else if("ArrowUp"===n)e.preventDefault(),Uc(t,r,l,s,Gc);else if("Home"===n)e.preventDefault(),Uc(t,null,l,s,Fc);else if("End"===n)e.preventDefault(),Uc(t,null,l,s,Gc);else if(1===n.length){const o=h.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);const l=r&&!o.repeating&&Hc(r,o);o.previousKeyMatched&&(l||Uc(t,r,!1,s,Fc,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:r?0:-1},u,{children:b}))});function Yc(e){return Zr("MuiPopover",e)}Jr("MuiPopover",["root","paper"]);const Vc=["onEntering"],qc=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Kc=["slotProps"];function Xc(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Zc(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Jc(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function Qc(e){return"function"==typeof e?e():e}const ed=za(Kl,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),td=za(_s,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),nd=y.forwardRef(function(e,t){var n,r,o;const i=Qa({props:e,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:u,className:p,container:h,elevation:f=8,marginThreshold:m=16,open:b,PaperProps:g={},slots:v,slotProps:x,transformOrigin:E={vertical:"top",horizontal:"left"},TransitionComponent:C=ac,transitionDuration:S="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,_=H(i.TransitionProps,Vc),A=H(i,qc),k=null!=(n=null==x?void 0:x.paper)?n:g,I=y.useRef(),L=Ao(I,k.ref),T=G({},i,{anchorOrigin:l,anchorReference:d,elevation:f,marginThreshold:m,externalPaperSlotProps:k,transformOrigin:E,TransitionComponent:C,transitionDuration:S,TransitionProps:_}),O=(e=>{const{classes:t}=e;return Wo({root:["root"],paper:["paper"]},Yc,t)})(T),P=y.useCallback(()=>{if("anchorPosition"===d)return c;const e=Qc(s),t=(e&&1===e.nodeType?e:xo(I.current).body).getBoundingClientRect();return{top:t.top+Xc(t,l.vertical),left:t.left+Zc(t,l.horizontal)}},[s,l.horizontal,l.vertical,c,d]),M=y.useCallback(e=>({vertical:Xc(e,E.vertical),horizontal:Zc(e,E.horizontal)}),[E.horizontal,E.vertical]),j=y.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=M(t);if("none"===d)return{top:null,left:null,transformOrigin:Jc(n)};const r=P();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,l=i+t.width,c=Eo(Qc(s)),u=c.innerHeight-m,p=c.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,n.vertical+=e}else if(null!==m&&a>u){const e=a-u;o-=e,n.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,n.horizontal+=e}else if(l>p){const e=l-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Jc(n)}},[s,d,P,M,m]),[N,$]=y.useState(b),z=y.useCallback(()=>{const e=I.current;if(!e)return;const t=j(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,$(!0)},[j]);y.useEffect(()=>(R&&window.addEventListener("scroll",z),()=>window.removeEventListener("scroll",z)),[s,R,z]);y.useEffect(()=>{b&&z()}),y.useImperativeHandle(a,()=>b?{updatePosition:()=>{z()}}:null,[b,z]),y.useEffect(()=>{if(!b)return;const e=yo(()=>{z()}),t=Eo(s);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[s,b,z]);let D=S;"auto"!==S||C.muiSupportAuto||(D=void 0);const B=h||(s?xo(Qc(s)).body:void 0),F=null!=(r=null==v?void 0:v.root)?r:ed,U=null!=(o=null==v?void 0:v.paper)?o:td,W=Xo({elementType:U,externalSlotProps:G({},k,{style:N?k.style:G({},k.style,{opacity:0})}),additionalProps:{elevation:f,ref:L},ownerState:T,className:qr(O.paper,null==k?void 0:k.className)}),Y=Xo({elementType:F,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:A,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:B,open:b},ownerState:T,className:qr(O.root,p)}),{slotProps:V}=Y,q=H(Y,Kc);return xn.jsx(F,G({},q,!Yo(F)&&{slotProps:V,disableScrollLock:R},{children:xn.jsx(C,G({appear:!0,in:b,onEntering:(e,t)=>{w&&w(e,t),z()},onExited:()=>{$(!1)},timeout:D},_,{children:xn.jsx(U,G({},W,{children:u}))}))}))});function rd(e){return Zr("MuiMenu",e)}Jr("MuiMenu",["root","paper","list"]);const od=["onEntering"],id=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],ad={vertical:"top",horizontal:"right"},sd={vertical:"top",horizontal:"left"},ld=za(nd,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cd=za(td,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),dd=za(Wc,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),ud=y.forwardRef(function(e,t){var n,r;const o=Qa({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:d,open:u,PaperProps:p={},PopoverClasses:h,transitionDuration:f="auto",TransitionProps:{onEntering:m}={},variant:b="selectedMenu",slots:g={},slotProps:v={}}=o,x=H(o.TransitionProps,od),E=H(o,id),C=ii(),S=G({},o,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:c,onEntering:m,PaperProps:p,transitionDuration:f,TransitionProps:x,variant:b}),w=(e=>{const{classes:t}=e;return Wo({root:["root"],paper:["paper"],list:["list"]},rd,t)})(S),R=i&&!l&&u,_=y.useRef(null);let A=-1;y.Children.map(a,(e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected||-1===A)&&(A=t))});const k=null!=(n=g.paper)?n:cd,I=null!=(r=v.paper)?r:p,L=Xo({elementType:g.root,externalSlotProps:v.root,ownerState:S,className:[w.root,s]}),T=Xo({elementType:k,externalSlotProps:I,ownerState:S,className:w.paper});return xn.jsx(ld,G({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?ad:sd,slots:{paper:k,root:g.root},slotProps:{root:L,paper:T},open:u,ref:t,transitionDuration:f,TransitionProps:G({onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),m&&m(e,t)}},x),ownerState:S},E,{classes:h,children:xn.jsx(dd,G({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:_,autoFocus:i&&(-1===A||l),autoFocusItem:R,variant:b},c,{className:qr(w.list,c.className),children:a}))}))});function pd(e){return Zr("MuiMenuItem",e)}const hd=Jr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),fd=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],md=za(Us,{shouldForwardProp:e=>$a(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>G({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${hd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${hd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${hd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${hd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${hd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Zl.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Zl.inset}`]:{marginLeft:52},[`& .${Dc.root}`]:{marginTop:0,marginBottom:0},[`& .${Dc.inset}`]:{paddingLeft:36},[`& .${jc.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&G({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${jc.root} svg`]:{fontSize:"1.25rem"}}))),bd=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:s=!1,focusVisibleClassName:l,role:c="menuitem",tabIndex:d,className:u}=n,p=H(n,fd),h=y.useContext(hc),f=y.useMemo(()=>({dense:i||h.dense||!1,disableGutters:s}),[h.dense,i,s]),m=y.useRef(null);ho(()=>{r&&m.current&&m.current.focus()},[r]);const b=G({},n,{dense:f.dense,divider:a,disableGutters:s}),g=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return G({},a,Wo({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},pd,a))})(n),v=Ao(m,t);let x;return n.disabled||(x=void 0!==d?d:-1),xn.jsx(hc.Provider,{value:f,children:xn.jsx(md,G({ref:v,role:c,tabIndex:x,component:o,focusVisibleClassName:qr(g.focusVisible,l),className:qr(g.root,u)},p,{ownerState:b,classes:g}))})});function gd(e){return Zr("MuiTab",e)}const vd=Jr("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),yd=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],xd=za(Us,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Dn(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${vd.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>G({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${vd.iconWrapper}`]:G({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${vd.selected}`]:{opacity:1},[`&.${vd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${vd.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${vd.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${vd.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${vd.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Ed=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTab"}),{className:r,disabled:o=!1,disableFocusRipple:i=!1,fullWidth:a,icon:s,iconPosition:l="top",indicator:c,label:d,onChange:u,onClick:p,onFocus:h,selected:f,selectionFollowsFocus:m,textColor:b="inherit",value:g,wrapped:v=!1}=n,x=H(n,yd),E=G({},n,{disabled:o,disableFocusRipple:i,selected:f,icon:!!s,iconPosition:l,label:!!d,fullWidth:a,textColor:b,wrapped:v}),C=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e;return Wo({root:["root",i&&a&&"labelIcon",`textColor${Dn(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]},gd,t)})(E),S=s&&d&&y.isValidElement(s)?y.cloneElement(s,{className:qr(C.iconWrapper,s.props.className)}):s;return xn.jsxs(xd,G({focusRipple:!i,className:qr(C.root,r),ref:t,role:"tab","aria-selected":f,disabled:o,onClick:e=>{!f&&u&&u(e,g),p&&p(e)},onFocus:e=>{m&&!f&&u&&u(e,g),h&&h(e)},ownerState:E,tabIndex:f?0:-1},x,{children:["top"===l||"start"===l?xn.jsxs(y.Fragment,{children:[S,d]}):xn.jsxs(y.Fragment,{children:[d,S]}),c]}))});var Cd=os(xn.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Sd=os(xn.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function wd(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const Rd=["onChange"],_d={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Ad(e){return Zr("MuiTabScrollButton",e)}const kd=Jr("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Id=["className","slots","slotProps","direction","orientation","disabled"],Ld=za(Us,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>G({width:40,flexShrink:0,opacity:.8,[`&.${kd.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Td=y.forwardRef(function(e,t){var n,r;const o=Qa({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:s={},direction:l}=o,c=H(o,Id),d=G({isRtl:ii()},o),u=(e=>{const{classes:t,orientation:n,disabled:r}=e;return Wo({root:["root",n,r&&"disabled"]},Ad,t)})(d),p=null!=(n=a.StartScrollButtonIcon)?n:Cd,h=null!=(r=a.EndScrollButtonIcon)?r:Sd,f=Xo({elementType:p,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),m=Xo({elementType:h,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return xn.jsx(Ld,G({component:"div",className:qr(u.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===l?xn.jsx(p,G({},f)):xn.jsx(h,G({},m))}))});function Od(e){return Zr("MuiTabs",e)}const Pd=Jr("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Md=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],jd=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Nd=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,$d=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},zd=za("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Pd.scrollButtons}`]:t.scrollButtons},{[`& .${Pd.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>G({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Pd.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Dd=za("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>G({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Bd=za("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>G({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Fd=za("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>G({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Gd=za(function(e){const{onChange:t}=e,n=H(e,Rd),r=y.useRef(),o=y.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return ho(()=>{const e=yo(()=>{const e=r.current;i(),e!==r.current&&t(r.current)}),n=Eo(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}},[t]),y.useEffect(()=>{i(),t(r.current)},[t]),xn.jsx("div",G({style:_d},n,{ref:o}))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Hd={},Ud=y.forwardRef(function(e,t){const n=Qa({props:e,name:"MuiTabs"}),r=Sa(),o=ii(),{"aria-label":i,"aria-labelledby":a,action:s,centered:l=!1,children:c,className:d,component:u="div",allowScrollButtonsMobile:p=!1,indicatorColor:h="primary",onChange:f,orientation:m="horizontal",ScrollButtonComponent:b=Td,scrollButtons:g="auto",selectionFollowsFocus:v,slots:x={},slotProps:E={},TabIndicatorProps:C={},TabScrollButtonProps:S={},textColor:w="primary",value:R,variant:_="standard",visibleScrollbar:A=!1}=n,k=H(n,Md),I="scrollable"===_,L="vertical"===m,T=L?"scrollTop":"scrollLeft",O=L?"top":"left",P=L?"bottom":"right",M=L?"clientHeight":"clientWidth",j=L?"height":"width",N=G({},n,{component:u,allowScrollButtonsMobile:p,indicatorColor:h,orientation:m,vertical:L,scrollButtons:g,textColor:w,variant:_,visibleScrollbar:A,fixed:!I,hideScrollbar:I&&!A,scrollableX:I&&!L,scrollableY:I&&L,centered:l&&!I,scrollButtonsHideMobile:!p}),$=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return Wo({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Od,l)})(N),z=Xo({elementType:x.StartScrollButtonIcon,externalSlotProps:E.startScrollButtonIcon,ownerState:N}),D=Xo({elementType:x.EndScrollButtonIcon,externalSlotProps:E.endScrollButtonIcon,ownerState:N}),[B,F]=y.useState(!1),[U,W]=y.useState(Hd),[Y,V]=y.useState(!1),[q,K]=y.useState(!1),[X,Z]=y.useState(!1),[J,Q]=y.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,te=y.useRef(null),ne=y.useRef(null),re=()=>{const e=te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:Uo(e,o?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==R){const e=ne.current.children;if(e.length>0){const t=e[ee.get(R)];n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},oe=_o(()=>{const{tabsMeta:e,tabMeta:t}=re();let n,r=0;if(L)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=o?"right":"left",t&&e){const i=o?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(o?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[j]:t?t[j]:0};if(isNaN(U[n])||isNaN(U[j]))W(i);else{const e=Math.abs(U[n]-i[n]),t=Math.abs(U[j]-i[j]);(e>=1||t>=1)&&W(i)}}),ie=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=()=>{}){const{ease:i=wd,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const d=()=>{c=!0},u=r=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=r);const d=Math.min(1,(r-s)/a);t[e]=i(d)*(n-l)+l,d>=1?requestAnimationFrame(()=>{o(null)}):requestAnimationFrame(u)};l===n?o(new Error("Element already at target position")):requestAnimationFrame(u)}(T,te.current,e,{duration:r.transitions.duration.standard}):te.current[T]=e},ae=e=>{let t=te.current[T];L?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===Ho()?-1:1),ie(t)},se=()=>{const e=te.current[M];let t=0;const n=Array.from(ne.current.children);for(let r=0;r<n.length;r+=1){const o=n[r];if(t+o[M]>e){0===r&&(t=e);break}t+=o[M]}return t},le=()=>{ae(-1*se())},ce=()=>{ae(se())},de=y.useCallback(e=>{Q({overflow:null,scrollbarWidth:e})},[]),ue=_o(e=>{const{tabsMeta:t,tabMeta:n}=re();if(n&&t)if(n[O]<t[O]){const r=t[T]+(n[O]-t[O]);ie(r,{animation:e})}else if(n[P]>t[P]){const r=t[T]+(n[P]-t[P]);ie(r,{animation:e})}}),pe=_o(()=>{I&&!1!==g&&Z(!X)});y.useEffect(()=>{const e=yo(()=>{te.current&&oe()});let t;const n=n=>{n.forEach(e=>{e.removedNodes.forEach(e=>{var n;null==(n=t)||n.unobserve(e)}),e.addedNodes.forEach(e=>{var n;null==(n=t)||n.observe(e)})}),e(),pe()},r=Eo(te.current);let o;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ne.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(o=new MutationObserver(n),o.observe(ne.current,{childList:!0})),()=>{var n,i;e.clear(),r.removeEventListener("resize",e),null==(n=o)||n.disconnect(),null==(i=t)||i.disconnect()}},[oe,pe]),y.useEffect(()=>{const e=Array.from(ne.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&I&&!1!==g){const n=e[0],r=e[t-1],o={root:te.current,threshold:.99},i=new IntersectionObserver(e=>{V(!e[0].isIntersecting)},o);i.observe(n);const a=new IntersectionObserver(e=>{K(!e[0].isIntersecting)},o);return a.observe(r),()=>{i.disconnect(),a.disconnect()}}},[I,g,X,null==c?void 0:c.length]),y.useEffect(()=>{F(!0)},[]),y.useEffect(()=>{oe()}),y.useEffect(()=>{ue(Hd!==U)},[ue,U]),y.useImperativeHandle(s,()=>({updateIndicator:oe,updateScrollButtons:pe}),[oe,pe]);const he=xn.jsx(Fd,G({},C,{className:qr($.indicator,C.className),ownerState:N,style:G({},U,C.style)}));let fe=0;const me=y.Children.map(c,e=>{if(!y.isValidElement(e))return null;const t=void 0===e.props.value?fe:e.props.value;ee.set(t,fe);const n=t===R;return fe+=1,y.cloneElement(e,G({fullWidth:"fullWidth"===_,indicator:n&&!B&&he,selected:n,selectionFollowsFocus:v,onChange:f,textColor:w,value:t},1!==fe||!1!==R||e.props.tabIndex?{}:{tabIndex:0}))}),be=(()=>{const e={};e.scrollbarSizeListener=I?xn.jsx(Gd,{onChange:de,className:qr($.scrollableX,$.hideScrollbar)}):null;const t=I&&("auto"===g&&(Y||q)||!0===g);return e.scrollButtonStart=t?xn.jsx(b,G({slots:{StartScrollButtonIcon:x.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:z},orientation:m,direction:o?"right":"left",onClick:le,disabled:!Y},S,{className:qr($.scrollButtons,S.className)})):null,e.scrollButtonEnd=t?xn.jsx(b,G({slots:{EndScrollButtonIcon:x.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:D},orientation:m,direction:o?"left":"right",onClick:ce,disabled:!q},S,{className:qr($.scrollButtons,S.className)})):null,e})();return xn.jsxs(zd,G({className:qr($.root,d),ownerState:N,ref:t,as:u},k,{children:[be.scrollButtonStart,be.scrollbarSizeListener,xn.jsxs(Dd,{className:$.scroller,ownerState:N,style:{overflow:J.overflow,[L?"margin"+(o?"Left":"Right"):"marginBottom"]:A?void 0:-J.scrollbarWidth},ref:te,children:[xn.jsx(Bd,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===m?"vertical":null,className:$.flexContainer,ownerState:N,onKeyDown:e=>{const t=ne.current,n=xo(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===m?"ArrowLeft":"ArrowUp",i="horizontal"===m?"ArrowRight":"ArrowDown";switch("horizontal"===m&&o&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),$d(t,n,Nd);break;case i:e.preventDefault(),$d(t,n,jd);break;case"Home":e.preventDefault(),$d(t,null,jd);break;case"End":e.preventDefault(),$d(t,null,Nd)}},ref:ne,role:"tablist",children:me}),B&&he]}),be.scrollButtonEnd]}))});function Wd(e){return xn.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:xn.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}function Yd({fontSize:e="medium",children:t=null,className:n=""}={}){return xn.jsx("i",{style:{fontSize:"small"===e?"16px":"20px",margin:"small"===e?"-2px 0":void 0,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})}function Vd(e={}){return xn.jsx(Yd,{...e,children:xn.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[xn.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),xn.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function qd(e={}){return xn.jsx(Yd,{fontSize:"medium",...e,children:xn.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[xn.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),xn.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Kd(e){return xn.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:xn.jsx("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345L9.345 8Z"})})}function Xd(e={}){return xn.jsx(Yd,{...e,children:xn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xn.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[xn.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),xn.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Zd(e={}){return xn.jsx(Yd,{fontSize:"medium",...e,children:xn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xn.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:xn.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Jd({className:e}){return xn.jsx(Yd,{fontSize:"small",className:e,children:xn.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:xn.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:xn.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:xn.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[xn.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),xn.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function Qd(e={}){return xn.jsx(Yd,{...e,children:xn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xn.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:xn.jsx("rect",{stroke:Ga.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}var eu=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:Ga.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Ga.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:xn.jsx(Wd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${Ga.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`,borderRadius:Va,backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${Ga.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Ga.WHITE,color:Ga.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:Va},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Ga.GREYSCALE_0_15,backgroundColor:Ga.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Ga.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Ga.GREEN_PALE},"&:active":{backgroundColor:Ga.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Ga.BLUE_PALE},"&:active":{backgroundColor:Ga.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Va,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Ga.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Ga.GREYSCALE_0_42,backgroundColor:Ga.GREYSCALE_100_60,"&:active":{backgroundColor:Ga.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Ga.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Ga.PURPLE,"&.Mui-focusVisible":{borderColor:Ga.PURPLE,boxShadow:`0 0 0 3px ${go(Ga.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Ga.GREEN,"&.Mui-focusVisible":{borderColor:Ga.GREEN,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Ga.BLUE,"&.Mui-focusVisible":{borderColor:Ga.BLUE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Ga.ORANGE,"&.Mui-focusVisible":{borderColor:Ga.ORANGE,boxShadow:`0 0 0 3px ${go(Ga.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Ga.RED,"&.Mui-focusVisible":{borderColor:Ga.RED,boxShadow:`0 0 0 3px ${go(Ga.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Ga.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Ga.PURPLE_PALE},"&:active":{backgroundColor:Ga.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Ga.PURPLE_PALE,boxShadow:`0 0 0 3px ${go(Ga.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Ga.GREEN_PALE},"&:active":{backgroundColor:Ga.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Ga.BLUE_PALE},"&:active":{backgroundColor:Ga.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Ga.ORANGE_PALE},"&:active":{backgroundColor:Ga.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Ga.ORANGE_PALE,boxShadow:`0 0 0 3px ${go(Ga.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Ga.RED_PALE},"&:active":{backgroundColor:Ga.RED_DARK},"&.Mui-focusVisible":{borderColor:Ga.RED_PALE,boxShadow:`0 0 0 3px ${go(Ga.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:Ga.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Ga.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:Va,boxShadow:`inset 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:xn.jsx(Kd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Ha,borderRadius:Va,color:Ga.TEXT_PRIMARY,backgroundColor:Ga.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Ga.GREYSCALE_0_05,color:Ga.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Ga.GREEN,borderColor:Ga.GREEN},"&.MuiChip-outlinedInfo":{color:Ga.BLUE,borderColor:Ga.BLUE},"&.MuiChip-outlinedWarning":{color:Ga.ORANGE,borderColor:Ga.ORANGE},"&.MuiChip-outlinedError":{color:Ga.RED,borderColor:Ga.RED}},outlined:{border:`solid 1px ${Ga.GREYSCALE_0_15}`,backgroundColor:Ga.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:Va,boxShadow:"none",backgroundColor:Ga.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Ga.GREEN,borderColor:Ga.GREEN},outlinedSecondary:{color:Ga.BLUE,borderColor:Ga.BLUE},label:{fontFamily:Ja.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:xn.jsx(Kd,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:xn.jsx(Wd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:Va},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:Va,fontSize:Ua,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Ga.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Ga.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Ga.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Ga.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_05}}},popupIndicator:{borderRadius:Va,border:`solid 1px ${Ga.GREYSCALE_0_15}`,color:Ga.GREYSCALE_0_60,marginRight:0,width:Ya,height:Ya},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Ga.GREYSCALE_0_15}`},clearIndicator:{borderRadius:Va,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Ga.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Ua}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Ha,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Ga.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Ga.GREYSCALE_25,fontSize:Ha,fontFamily:Ja.FONT_FAMILY,fontWeight:Xa,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Ga.TEXT_PRIMARY},"&.Mui-error":{color:Ga.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Ga.TEXT_SECONDARY,content:"'(optional)'",fontWeight:Ka,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Ga.TEXT_SECONDARY,content:"'(required)'",fontWeight:Ka,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Ua,lineHeight:"16px",backgroundColor:Ga.WHITE,borderRadius:Va,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.GREYSCALE_0_05}`,borderColor:Ga.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Ga.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Ga.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.RED}`,boxShadow:`0px 0px 0px 1px ${Ga.RED}, inset 0 2px 0 0 ${Ga.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ga.GREYSCALE_0_10}`,borderColor:Ga.GREYSCALE_0_10,backgroundColor:Ga.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Ga.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Ga.GREYSCALE_0_15,borderRadius:Va,boxShadow:`inset 0 2px 0 0 ${Ga.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>xn.jsx(Wd,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:Ga.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Ga.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03},"&:active":{backgroundColor:Ga.GREYSCALE_0_10},"&:focus":{backgroundColor:Ga.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Ga.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Ga.GREYSCALE_0_30,"&:hover":{backgroundColor:Ga.GREYSCALE_0_0,borderColor:Ga.GREYSCALE_0_15},"& ~svg":{color:Ga.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Ga.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:Va}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Ga.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Ga.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Ua,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Ha,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Ha,fontWeight:Xa,color:Ga.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:Xa}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Ga.GREYSCALE_0_15}, 0px 0px 0px 1px ${Ga.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:xn.jsx(Zd,{}),checkedIcon:xn.jsx(qd,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Ga.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Ga.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Ga.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:xn.jsx(Qd,{}),checkedIcon:xn.jsx(Vd,{}),indeterminateIcon:xn.jsx(Xd,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:Va,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Ga.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Ga.GREYSCALE_0_55,color:Ga.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:Ga.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Ga.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Ga.GREYSCALE_0_55,"&:hover":{color:Ga.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:Ga.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Ga.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Ua,color:Ga.TEXT_PRIMARY,lineHeight:"16px",fontWeight:Xa},secondary:{fontSize:Ha,color:Ga.GREYSCALE_45,fontWeight:Ka,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Ua,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Ua,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Ga.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Ha,borderBottom:`solid 1px ${Ga.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Ua,color:Ga.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Ga.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:'url(\'data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A\')',fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Ga.RED}}},"&.Mui-focusVisible":{backgroundColor:Ga.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:Ga.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:Ga.GREEN,height:"24px","&.Mui-disabled":{color:Ga.GREYSCALE_0_15}},rail:{backgroundColor:Ga.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Ga.GREYSCALE_0_05}`,borderRadius:Va,boxShadow:`inset 0px 0px 0px 1px ${Ga.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Ga.GREYSCALE_0_05}`,borderRadius:Va},thumb:{height:"16px",width:"16px",borderRadius:Va,backgroundColor:Ga.WHITE,boxShadow:`0px 1px 2px 0px ${Ga.GREYSCALE_0_15}, 0px 0px 0px 1px ${Ga.GREYSCALE_0_05}`,"&:hover":{borderRadius:Va,boxShadow:`0 2px 4px 0 ${Ga.GREYSCALE_0_30}, 0 0 0 1px ${Ga.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Ga.GREYSCALE_0_15}, 0 0 0 1px ${Ga.GREYSCALE_0_06}, 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Ga.GREYSCALE_0_15}, 0 0 0 1px ${Ga.GREYSCALE_0_06}, 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Ga.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Ga.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Ga.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Ga.GREYSCALE_0_15},markLabel:{color:Ga.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Ga.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Ga.WHITE,color:Ga.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:Ga.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Ga.GREEN_PALE,boxShadow:`0 0 0 3px ${go(Ga.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Ga.BLUE_PALE,boxShadow:`0 0 0 3px ${go(Ga.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Ga.GREYSCALE_0_15,borderRadius:Va},thumb:{height:"16px",width:"16px",borderRadius:Va,backgroundColor:Ga.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:Ua,fontWeight:Xa,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Ga.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Ga.MISC_FOCUS_BORDER}`,backgroundColor:Ga.GREYSCALE_0_03,borderRadius:Va},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Ga.GREYSCALE_25,"&.Mui-selected":{color:Ga.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Ua,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:Va,"&:hover":{backgroundColor:Ga.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Ga.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Ga.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:Va,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Ga.GREYSCALE_0_05},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Ga.GREYSCALE_85}`,borderRight:`1px solid ${Ga.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Xa,backgroundColor:Ga.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:Ga.GREYSCALE_98,borderBottom:`1px solid ${Ga.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Ga.GREYSCALE_85}`,borderTop:`1px solid ${Ga.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Ga.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Ga.GREYSCALE_0_05,"&:hover":{backgroundColor:Ga.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Ga.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>xn.jsx(Jd,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${Ga.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Ua,borderRadius:Va,padding:"7px 16px",border:`1px solid ${Ga.GREYSCALE_0_15}`,backgroundColor:Ga.GREYSCALE_100_60,color:Ga.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Ga.GREYSCALE_0_10,border:`1px solid ${Ga.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Ga.GREYSCALE_0_03,border:`1px solid ${Ga.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Ga.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Ga.MISC_FOCUS_BORDER}`,border:`1px solid ${Ga.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Ga.GREYSCALE_25,backgroundColor:Ga.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Ga.GREYSCALE_0_10,border:`1px solid ${Ga.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Ha,height:24,width:24,padding:7},sizeLarge:{fontSize:Wa,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Ua,borderRadius:Va}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:Ga.GREYSCALE_20},tooltip:{backgroundColor:Ga.GREYSCALE_20,fontSize:Ha,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}});const tu=e=>({mode:"light",primary:{ultraLight:Ga.GREEN_ULTRA_LIGHT,light:Ga.GREEN_PALE,main:Ga.GREEN,dark:Ga.GREEN_DARK,extraDark:Ga.GREEN_EXTRA_DARK,contrastText:Ga.WHITE},secondary:{ultraLight:Ga.BLUE_ULTRA_LIGHT,light:Ga.BLUE_PALE,main:Ga.BLUE,dark:Ga.BLUE_DARK,extraDark:Ga.BLUE_EXTRA_DARK,contrastText:Ga.WHITE},error:{ultraLight:Ga.RED_ULTRA_LIGHT,light:Ga.RED_PALE,main:Ga.RED,dark:Ga.RED_DARK,extraDark:Ga.RED_EXTRA_DARK,contrastText:Ga.WHITE},warning:{ultraLight:Ga.ORANGE_ULTRA_LIGHT,light:Ga.ORANGE_PALE,main:Ga.ORANGE,dark:Ga.ORANGE_DARK,extraDark:Ga.ORANGE_EXTRA_DARK,contrastText:Ga.WHITE},success:{ultraLight:Ga.GREEN_ULTRA_LIGHT,light:Ga.GREEN_PALE,main:Ga.GREEN,dark:Ga.GREEN_DARK,extraDark:Ga.GREEN_EXTRA_DARK,contrastText:Ga.WHITE},info:{ultraLight:Ga.BLUE_ULTRA_LIGHT,light:Ga.BLUE_PALE,main:Ga.BLUE,dark:Ga.BLUE_DARK,extraDark:Ga.BLUE_EXTRA_DARK,contrastText:Ga.WHITE},text:{primary:Ga.TEXT_PRIMARY,secondary:Ga.TEXT_SECONDARY,disabled:Ga.GREYSCALE_0_30},action:{hover:Ga.GREYSCALE_0_03,hoverOpacity:.03,selected:Ga.GREYSCALE_0_05,selectedOpacity:.05,focus:Ga.MISC_FOCUS_BORDER},amethyst:{ultraLight:Ga.WHITE,main:Ga.PURPLE,light:Ga.PURPLE_PALE,dark:Ga.PURPLE_DARK,extraDark:Ga.GREYSCALE_0_0,contrastText:Ga.WHITE},background:{paper:Ga.WHITE,default:Ga.GREYSCALE_95},divider:Ga.GREYSCALE_0_15});function nu(e){return Ea({components:eu(),palette:tu(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:Ua,fontWeightLight:qa,fontWeightRegular:Ka,fontWeightMedium:Xa,fontWeightBold:Za,htmlFontSize:Ua,fontFamily:Ja.FONT_FAMILY,button:{fontWeight:Xa,fontSize:Ua,textTransform:"none"},body1:{fontSize:Wa,lineHeight:"24px"},body2:{fontSize:Ua,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:Ya,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Wa,fontWeight:Xa,lineHeight:"16px"},h6:{fontSize:Ua,fontWeight:Xa,lineHeight:"16px"},caption:{color:Ga.TEXT_SECONDARY},subtitle1:{fontSize:Ua,color:Ga.TEXT_SECONDARY},subtitle2:{fontSize:Ha,color:Ga.TEXT_SECONDARY}},shape:{borderRadius:Va},direction:e})}class ru{translator;muiTheme;containers={};constructor({translator:e}){this.translator=e}sync=({element:e,sharedContainerUtilities:t,translator:n,containerId:r,dataHandler:o,renderHelper:i,chartList:a})=>{this.translator=n,this.containers[r]={element:e,sharedContainerUtilities:t,dataHandler:o,renderHelper:i,chartList:a}};setMuiTheme=e=>{this.muiTheme=nu(e)};destroy=e=>{delete this.containers[e]}}const ou=["container","sn-layout-container","sn-tabbed-container","listbox","qlik-tabbed-container","qlik-show-hide-container","qlik-trellis-container","qlik-on-demand-reporting","sn-analysis-autochart"];class iu{embed;translator;charts={};constructor(e,t){this.embed=e,this.translator=t}getCharts=()=>(this.charts=(this.embed?.getRegisteredTypes()).reduce((e,t)=>{if(!ou.includes(t.id)&&!1!==t.libraryInfo?.isLibraryItem&&!t.libraryInfo?.deprecated){const n=t;n.libraryInfo?.translationKey&&(n.libraryInfo.translation=this.translator.get(n.libraryInfo.translationKey)),e[t.id||t.type]=n}return e},{}),this.charts);getChart=e=>(this.charts[e]||this.getCharts(),this.charts[e])}var au,su={};var lu=function(){if(au)return su;au=1;var e=T;return su.createRoot=e.createRoot,su.hydrateRoot=e.hydrateRoot,su}();const cu=x((e,t)=>xn.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:xn.jsx("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})})),du="rgb(89, 89, 89)",uu=mn(Sl)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),pu=mn(Sl)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),hu=mn(gc,{shouldForwardProp:e=>"width"!==e})(({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}})),fu=mn(Xs)({color:du,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),mu=mn(zc)({"&.MuiListItemIcon-root":{minWidth:32,color:du,marginRight:"0px"}}),bu=mn(tc)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),gu=mn(Pl)({"&.MuiButton-contained":{backgroundColor:du,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:du,color:du,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${du}`}}}),vu=mn(rs)({width:"1em",height:"1em",paddingBottom:"8px"}),yu=mn(rs)({width:"16px",height:"16px"}),xu=({name:e,items:t,onSelect:n})=>xn.jsxs(xn.Fragment,{children:[xn.jsx(Pc,{dense:!0,children:xn.jsx(fu,{noWrap:!0,fontWeight:"bold",children:e})},e),xn.jsx(bu,{}),t.map(e=>xn.jsx(Pc,{divider:!0,disablePadding:!0,disableGutters:!0,children:xn.jsxs(wc,{sx:{minHeight:"32px",height:"auto"},onClick:()=>{n(e)},disableRipple:!0,dense:!0,children:[e.iconPath?xn.jsx(mu,{children:e.IconDefinition?xn.jsx(e.IconDefinition,{}):xn.jsx(yu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:e.iconPath})})}):null,xn.jsx(fu,{noWrap:!0,title:e.translation||e.name,children:e.translation||e.name})]})},e.qExtendsId??e.name))]}),Eu=({categories:e,anchorEl:t,onClose:n,onSelect:r,width:o})=>{const[i,a]=_(""),s=!!t;return xn.jsxs(nd,{open:s,anchorEl:t,onClose:()=>{a(""),n()},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"},children:[xn.jsx(hl,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:xn.jsx(pc,{position:"start",children:xn.jsx(cu,{})})}),xn.jsx(bu,{}),xn.jsx(hu,{width:o,children:e.map(e=>{const t=e.items.filter(e=>{const t=e.translation||e.name;return t?.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>-1});return t.length>0&&xn.jsx(xu,{name:e.name,items:t,onSelect:r},e.name)})})]})},Cu=({anchorEl:e,onClose:t,dataHandler:n,translator:r,sharedContainerUtilities:o,width:i})=>{const[a,s]=_([]),[l,c]=_({});A(()=>{if(e&&n){(async()=>{const e=await n.getMasterVizList();s(e),c(n.getCharts())})().catch(()=>{})}},[e,n]);const d=[],u=[],p=new Map,h=Object.values(l);if(0===h.length&&0===a.length)return null;h.forEach(e=>{if(!e.libraryInfo||!e.libraryInfo.isThirdParty&&e.libraryInfo.visible)d.push(e);else if(e.libraryInfo.visible)if(e.libraryInfo.bundle?.name){const t=e.libraryInfo.bundle.name,n=p.get(t);n?n.push(e):p.set(t,[e])}else u.push(e)});const f=e=>e.map(e=>({iconPath:e.libraryInfo?.iconPath,IconDefinition:e.libraryInfo?.IconDefinition,name:e.id,translation:e.libraryInfo?.translation||e.libraryInfo?.name||e.id||"",type:e.id})).sort((e,t)=>(e.translation||e.name).localeCompare(t.translation||t.name)),m=[{name:r.get("LayoutContainer.Object.MasterItems"),items:a.map(e=>({qExtendsId:e.qExtendsId,iconPath:l[e.visualization]?.libraryInfo?.iconPath,IconDefinition:l[e.visualization]?.libraryInfo?.IconDefinition,name:e.name,type:e.visualization})).sort((e,t)=>e.name.localeCompare(t.name))},{name:r.get("LayoutContainer.Object.Charts"),items:d.map(e=>({iconPath:e.libraryInfo?.iconPath||"",IconDefinition:e.libraryInfo?.IconDefinition,name:e.libraryInfo?.name||e.id,type:e.libraryInfo?.template||e.id,translation:e.libraryInfo?.translation||e.id||""})).sort((e,t)=>e.translation.localeCompare(t.translation))},{name:r.get("LayoutContainer.Object.CustomObjects"),items:f(u)}];for(const[e,t]of p)m.push({name:e,items:f(t)});return xn.jsx(Eu,{categories:m,anchorEl:e,onSelect:e=>{if(!n)return;const{qExtendsId:r}=e;(r?n.addMasterObjectAsChild({initProps:{qExtendsId:r,qInfo:{qType:"undefined"}}}):n.addVizAsChild({type:e.type,objectInitProps:{label:e.translation}})).then(e=>{e?.id&&o?.setSelected([e.id])}).catch(e=>{console.warn(e)}).finally(()=>{t()})},onClose:t,width:i})},Su=e=>{const t=Ru(e);return e.objects?.map(e=>{const{childRefId:n}=e;if(!n)return e;const r=t[n];return r?{...e,id:r}:e})??[]},wu=(e,t)=>e?.qChildList?.qItems?.find(e=>e?.qData?.childRefId===t),Ru=e=>e?.qChildList?.qItems?.reduce((e,t)=>{const n=t?.qData?.childRefId;return e[n]=t?.qInfo?.qId,e},{});var _u=wu,Au=e=>{const t={...e};return t.objects=Su(t),t},ku=e=>e?.qChildList?.qItems?.reduce((e,t)=>{const n=t?.qInfo?.qId;return e[n]=t.qData?.childRefId,e},{}),Iu=e=>e.objects.reduce((e,t)=>(e[t.childRefId]=t,e),{}),Lu=(e,t)=>{if(!e)return t;const n=wu(e,t);return n?.qInfo?.qId};class Tu{layout;app;activeId="";data;properties=void 0;constructor({app:e,data:t}){this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}setSelectedChild=e=>{this.activeContainer?.sharedContainerUtilities?.setSelected(e)};addChild=({initProps:e,objectInitProps:t,children:n})=>{if(!this.activeContainer)return;const{dataHandler:r}=this.activeContainer;if(e?.qExtendsId){const{qExtendsId:o,qInfo:i}=e;return r?.addMasterObjectAsChild({initProps:{qExtendsId:o,qInfo:i},objectInitProps:t,children:n})}return r?.addVizAsChild({type:e?.visualization,initProps:e,objectInitProps:t,children:n})};deleteChild=async e=>{if(!this.activeContainer)return;const{dataHandler:t}=this.activeContainer;await(t?.deleteChildren([e]))};duplicateChild=async e=>{const{childRefId:t,...n}=e,r=this.getEngineId(t);if(!r)return;const o=await(this.app?.getObject(r));if(o&&this.activeContainer){const{sharedContainerUtilities:e}=this.activeContainer,t=await o.getFullPropertyTree(),r=t.qProperty,i=t.qChildren,a=await this.addChild({initProps:r,children:i,objectInitProps:n});a&&e?.setSelected([a.id])}};openAddChildPopover=e=>{if(this.activeContainer&&this.activeContainer.dataHandler&&this.data.muiTheme){const t=((e,t)=>{const n=e.getElementsByClassName(t);let r;return 0===n.length?(r=document.createElement("div"),r.className=t,e.appendChild(r)):r=n[0],lu.createRoot(r)})(this.activeContainer.element,"add-child-popover"),n=()=>{t.unmount()};t?.render(xn.jsx(Ba,{theme:this.data.muiTheme,children:xn.jsx(Cu,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:n,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})}))}};getObject(e){const t=this.getEngineId(e);if(t)return this.activeContainer?.renderHelper.objectMap.get(t)}getChartIcon(e){const t=this.getEngineId(e);if(!t)return;const n=this.activeContainer?.renderHelper.getChildLayout(t),r=n?.qData.visualization;return r?this.activeContainer?.chartList?.getChart(r)?.libraryInfo?.icon:void 0}setModel=e=>{this.activeId=e.id};setLayout=e=>{this.layout=e};getLayout=()=>this.layout;getEngineId=e=>Lu(this.layout,e);setProperties=e=>{this.properties=e};canAddDimension=()=>!1;canAddMeasure=()=>!1;canColorBy=()=>!1;getDimensions=()=>[];getMeasures=()=>[];minDimensions=()=>0;minMeasures=()=>0;maxDimensions=()=>0;maxMeasures=()=>0}function Ou(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Pu(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||Nu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ju(e){return function(e){if(Array.isArray(e))return Ou(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nu(e,t){if(e){if("string"==typeof e)return Ou(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ou(e,t):void 0}}var $u,zu="top",Du="top-right",Bu="right",Fu="bottom-right",Gu="bottom",Hu="bottom-left",Uu="left",Wu="top-left";Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu($u={},"equal-equal",[zu,Gu]),"equal-higher",[Gu,Fu]),"equal-lower",[zu,Du]),"equal-void",[zu,Gu]),"higher-equal",[Uu,Hu,zu,Du]),"higher-higher-acute",[Gu,Hu,Uu,Du]),"higher-higher-obtuse",[Gu,zu]),"higher-lower-negative",[zu,Du,Bu]),"higher-lower-positive",[Gu,Hu,Uu]),"higher-void",[zu]),Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu(Pu($u,"lower-equal",[zu]),"lower-higher-negative",[zu,Wu]),"lower-higher-positive",[Fu]),"lower-lower-acute",[zu,Wu,Uu,Du,Bu]),"lower-lower-obtuse",[zu,Gu]),"lower-void",[zu]),"void-equal",[zu]),"void-higher",[zu,Gu]),"void-lower",[zu,Gu,Uu]),"void-void",[zu]),Pu($u,"unclassified",[zu,Gu,Bu,Uu,Du,Fu,Hu,Wu]);var Yu="object",Vu=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var qu=function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1),groupHeader:!1,disabled:!1,styles:{fontFamily:e}}};function Ku(e){var t=e.theme,n=e.translator,r=e.defaultValue,o=[],i=t.getStyle("","","fontFamilies");return Array.isArray(i)&&i.length?o.push.apply(o,ju(new Set([r].concat(ju(i.map(function(e){return e.split(",").map(function(e){return e.trim()}).map(function(e){return e.replace(/\s+/g," ").trim()}).filter(Boolean).join(", ")})))))):o.push(r),[{value:"ThemeHeader",label:n.get("properties.themeFonts"),metaText:n.get("properties.theme"),groupHeader:!0}].concat(ju(o.map(function(e){return qu(e)})),[{value:"DefaultHeader",label:n.get("properties.allFonts"),metaText:n.get("properties.default"),groupHeader:!0}],ju(Vu.map(function(e){return qu(e)})))}function Xu(e){var t=e.theme,n=e.translator,r=e.id,o=e.path,i=function(){return t.getStyle(r,o,"fontFamily")};return{getDefaultValue:function(){return i()},getOptions:function(){return Ku({theme:t,translator:n,defaultValue:i()})}}}var Zu=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],Ju=function(e){return{value:e,label:e,groupHeader:!1,disabled:!1}};function Qu(e){var t=e.theme,n=e.translator,r=e.id,o=e.path,i=function(){return t.getStyle(r,o,"fontSize")};return{getDefaultValue:function(){return i()},getOptions:function(){return function(e){var t=e.translator,n=e.defaultValue,r=[],o=e.theme.getStyle("","","fontSizes");return Array.isArray(o)&&o.length?r.push.apply(r,ju(new Set([n].concat(ju(o))))):r.push(n),[{value:"ThemeHeader",label:t.get("properties.themeFontSizes"),metaText:t.get("properties.theme"),groupHeader:!0}].concat(ju(r.map(function(e){return Ju(e)})),[{value:"DefaultHeader",label:t.get("properties.allFontSizes"),metaText:t.get("properties.default"),groupHeader:!0}],ju(Zu.map(function(e){return Ju(e)})))}({theme:t,translator:n,defaultValue:i()})}}}function ep(e){var t=e.theme,n=e.translator,r=e.id,o=e.path;return{fontFamily:Xu({theme:t,translator:n,id:r,path:o}),fontSize:Qu({theme:t,translator:n,id:r,path:o})}}var tp,np,rp=["__proto__","constructor"],op=function(e){if(rp.some(function(t){return e.includes(t)}))throw new Error("font-resolver: Forbidden property.")};var ip,ap=function(){if(np)return tp;np=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),i=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!i)return!1;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return tp=function e(){var t,n,r,l,c,d,u=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof u&&(f=u,u=arguments[1]||{},p=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});p<h;++p)if(null!=(t=arguments[p]))for(n in t)r=s(u,n),u!==(l=s(t,n))&&(f&&l&&(i(l)||(c=o(l)))?(c?(c=!1,d=r&&o(r)?r:[]):d=r&&i(r)?r:{},a(u,{name:n,newValue:e(f,d,l)})):void 0!==l&&a(u,{name:n,newValue:l}));return u},tp}();function sp(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function lp(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function cp(){}(ip=ap)&&ip.__esModule&&Object.prototype.hasOwnProperty.call(ip,"default")&&ip.default;var dp=.7,up=1/dp,pp="\\s*([+-]?\\d+)\\s*",hp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",fp="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",mp=/^#([0-9a-f]{3,8})$/,bp=new RegExp(`^rgb\\(${pp},${pp},${pp}\\)$`),gp=new RegExp(`^rgb\\(${fp},${fp},${fp}\\)$`),vp=new RegExp(`^rgba\\(${pp},${pp},${pp},${hp}\\)$`),yp=new RegExp(`^rgba\\(${fp},${fp},${fp},${hp}\\)$`),xp=new RegExp(`^hsl\\(${hp},${fp},${fp}\\)$`),Ep=new RegExp(`^hsla\\(${hp},${fp},${fp},${hp}\\)$`),Cp={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 Sp(){return this.rgb().formatHex()}function wp(){return this.rgb().formatRgb()}function Rp(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=mp.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?_p(t):3===n?new Lp(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ap(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ap(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=bp.exec(e))?new Lp(t[1],t[2],t[3],1):(t=gp.exec(e))?new Lp(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=vp.exec(e))?Ap(t[1],t[2],t[3],t[4]):(t=yp.exec(e))?Ap(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=xp.exec(e))?Np(t[1],t[2]/100,t[3]/100,1):(t=Ep.exec(e))?Np(t[1],t[2]/100,t[3]/100,t[4]):Cp.hasOwnProperty(e)?_p(Cp[e]):"transparent"===e?new Lp(NaN,NaN,NaN,0):null}function _p(e){return new Lp(e>>16&255,e>>8&255,255&e,1)}function Ap(e,t,n,r){return r<=0&&(e=t=n=NaN),new Lp(e,t,n,r)}function kp(e){return e instanceof cp||(e=Rp(e)),e?new Lp((e=e.rgb()).r,e.g,e.b,e.opacity):new Lp}function Ip(e,t,n,r){return 1===arguments.length?kp(e):new Lp(e,t,n,null==r?1:r)}function Lp(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Tp(){return`#${jp(this.r)}${jp(this.g)}${jp(this.b)}`}function Op(){const e=Pp(this.opacity);return`${1===e?"rgb(":"rgba("}${Mp(this.r)}, ${Mp(this.g)}, ${Mp(this.b)}${1===e?")":`, ${e})`}`}function Pp(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Mp(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function jp(e){return((e=Mp(e))<16?"0":"")+e.toString(16)}function Np(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new zp(e,t,n,r)}function $p(e){if(e instanceof zp)return new zp(e.h,e.s,e.l,e.opacity);if(e instanceof cp||(e=Rp(e)),!e)return new zp;if(e instanceof zp)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 zp(a,s,l,e.opacity)}function zp(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Dp(e){return(e=(e||0)%360)<0?e+360:e}function Bp(e){return Math.max(0,Math.min(1,e||0))}function Fp(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}sp(cp,Rp,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Sp,formatHex:Sp,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return $p(this).formatHsl()},formatRgb:wp,toString:wp}),sp(Lp,Ip,lp(cp,{brighter(e){return e=null==e?up:Math.pow(up,e),new Lp(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?dp:Math.pow(dp,e),new Lp(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Lp(Mp(this.r),Mp(this.g),Mp(this.b),Pp(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Tp,formatHex:Tp,formatHex8:function(){return`#${jp(this.r)}${jp(this.g)}${jp(this.b)}${jp(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Op,toString:Op})),sp(zp,function(e,t,n,r){return 1===arguments.length?$p(e):new zp(e,t,n,null==r?1:r)},lp(cp,{brighter(e){return e=null==e?up:Math.pow(up,e),new zp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?dp:Math.pow(dp,e),new zp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Lp(Fp(e>=240?e-240:e+120,o,r),Fp(e,o,r),Fp(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new zp(Dp(this.h),Bp(this.s),Bp(this.l),Pp(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Pp(this.opacity);return`${1===e?"hsl(":"hsla("}${Dp(this.h)}, ${100*Bp(this.s)}%, ${100*Bp(this.l)}%${1===e?")":`, ${e})`}`}}));const Gp=Math.PI/180,Hp=180/Math.PI,Up=.96422,Wp=.82521,Yp=4/29,Vp=6/29,qp=3*Vp*Vp,Kp=Vp*Vp*Vp;function Xp(e){if(e instanceof Zp)return new Zp(e.l,e.a,e.b,e.opacity);if(e instanceof nh)return rh(e);e instanceof Lp||(e=kp(e));var t,n,r=th(e.r),o=th(e.g),i=th(e.b),a=Jp((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=Jp((.4360747*r+.3850649*o+.1430804*i)/Up),n=Jp((.0139322*r+.0971045*o+.7141733*i)/Wp)),new Zp(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Zp(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Jp(e){return e>Kp?Math.pow(e,1/3):e/qp+Yp}function Qp(e){return e>Vp?e*e*e:qp*(e-Yp)}function eh(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function th(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function nh(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function rh(e){if(isNaN(e.h))return new Zp(e.l,0,0,e.opacity);var t=e.h*Gp;return new Zp(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}sp(Zp,function(e,t,n,r){return 1===arguments.length?Xp(e):new Zp(e,t,n,null==r?1:r)},lp(cp,{brighter(e){return new Zp(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Zp(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Lp(eh(3.1338561*(t=Up*Qp(t))-1.6168667*(e=1*Qp(e))-.4906146*(n=Wp*Qp(n))),eh(-.9787684*t+1.9161415*e+.033454*n),eh(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),sp(nh,function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof nh)return new nh(e.h,e.c,e.l,e.opacity);if(e instanceof Zp||(e=Xp(e)),0===e.a&&0===e.b)return new nh(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Hp;return new nh(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new nh(e,t,n,null==r?1:r)},lp(cp,{brighter(e){return new nh(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new nh(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return rh(this).rgb()}}));var oh=e=>()=>e;function ih(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):oh(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1===(e=+e)?ih: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):oh(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Ip(e)).r,(t=Ip(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=ih(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);var ah="center",sh="bottom";function lh(e,t,n){if(void 0===e||void 0===t)return n;for(var r=t.split("."),o=e,i=0;i<r.length;++i){var a=r[i];if(void 0===o[a])return n;o=o[a]}return o}[{key:"NoDataExist",alignment:ah,condition:function(e){var t=e.layoutService;if(!t)return!1;var n=t.meta.size;return n.x*n.y===0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:ah,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every(function(e){return"NaN"===e.qMin&&"NaN"===e.qMax})}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:ah,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:ah},{key:"DataRangeIncludingZero",alignment:sh},{key:"LimitedData",alignment:sh},{key:"NegativeOrZeroValues",alignment:sh}].reduce(function(e,t){return e[t.key]=t,e},{});var ch,dh=["__proto__","constructor"];function uh(e,t,n){if(void 0!==e&&void 0!==t){var r=t.split("."),o=r[r.length-1];if(!dh.some(function(e){return r.includes(e)})){for(var i=e,a=0;a<r.length-1;++a){var s=r[a];void 0===i[s]&&(i[s]=Number.isNaN(+r[a+1])?{}:[]),i=i[s]}void 0!==n?i[o]=n:delete i[o]}}}function ph(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function hh(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=mh)):void 0===t&&(t=fh);for(var n,r,o,i,a,s=new vh(e),l=[s];n=l.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)l.push(r=o[i]=new vh(o[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(gh)}function fh(e){return e.children}function mh(e){return Array.isArray(e)?e[1]:null}function bh(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function gh(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function vh(e){this.data=e,this.depth=this.height=0,this.parent=null}vh.prototype=hh.prototype={constructor:vh,count:function(){return this.eachAfter(ph)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,a=[i],s=[],l=-1;i=a.pop();)if(s.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=s.pop();)e.call(t,i,++l,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return hh(this).eachBefore(bh)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},ch=function(e){
88
88
  /*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
89
- e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,s,l,c,d,u,p=e.length,h=e.search(/[0-9\-\+#]/),f=h>0?e.substring(0,h):"",m=e.split("").reverse().join(""),b=m.search(/[0-9\-\+#]/),g=p-b,v=e.substring(g,g+1),y=g+("."===v||","===v?1:0),x=b>0?e.substring(y,p):"";if(n=(t="-"===(e=e.substring(h,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=s)&&(t=(+t).toFixed(s+1)),d=e[0].split(i),e[0]=d.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0===+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],l=d[1]&&d[d.length-1].length){for(m="",g=(u=t[0]).length%l,p=u.length,y=0;y<p;y++)m+=u.charAt(y),!((y-g+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),f+(n?"-":"")+r+x}},dh({exports:{}});var xh="'Source Sans Pro', 'Arial', 'sans-serif'",Eh="#333333",Ch="#595959",Sh="#737373",wh="#cccccc",Rh="#e6e6e6";function _h(e){var t={};return[].concat(ju(e),ju([["","","color"],["object","","fontFamily"],["object","axis.label.name","color",Ch],["object","axis.label.name","fontFamily",xh],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",wh],["object","axis.line.minor","color",Rh],["object","axis.title","color"],["object","axis.title","fontFamily",xh],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",Rh],["object","grid.line.major","color",wh],["object","grid.line.minor","color",Rh],["object","label.value","color",Ch],["object","label.value","fontFamily",xh],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",Ch],[!1,"label.value","lightColor",Rh],["object","outOfRange","color","#999"],["object","legend.title","color",Eh],["object","legend.title","fontFamily",xh],["object","legend.title","fontSize","15px"],["object","legend.label","color",Ch],["object","legend.label","fontFamily",xh],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",Eh],["object","referenceLine.label.name","fontFamily",xh],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",Rh],["object","referenceLine.outOfBounds","fontFamily",xh],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",Sh,function(e){return"transparent"===e?Sh:e}]])).reduce(function(e,n){var r="".concat(n[0],"-").concat(n[1],"-").concat(n[2],"}");return t[r]||(t[r]=!0,e.push(n)),e},[]).sort(function(e,t){return(e[0].split?e[0].split(".").length:0)-(t[0].split?t[0].split(".").length:0)})}var Ah="object",kh=function(e){return e};function Ih(e){var t=e.theme,n=e.id,r=e.transform,o=e.extend,i=e.matrix,a={},s=r.reduce(function(e,t){var n=Mu(t,2),r=n[0],o=n[1];return e[r]=o,e},{});return i.forEach(function(e){var r=Mu(e,5),o=r[0],i=r[1],l=r[2],c=r[3],d=r[4],u=void 0===d?function(e){return e}:d,p=function(e){var t=e.theme,n=e.base,r=e.path,o=e.attribute,i=e.defaultValue,a=void 0===i?void 0:i;if(!t||!1===n)return a;var s=t.getStyle(n,r,o);return void 0===s?a:s}({theme:t,base:o===Ah&&n?"".concat(Ah,".").concat(n):o,path:i,attribute:l,defaultValue:c}),h=(s["".concat(i,".").concat(l)]||kh)(u(p));ph(a,[i,l].filter(Boolean).join("."),h)}),o.forEach(function(e){var t=Mu(e,2),n=t[0],r=t[1];ph(a,n,r)}),a}const Th={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function Lh(e){if(!e.objects)return{};const t=Iu(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map(n=>({chart_type:n.qData.visualization,chart_id:n.qInfo.qId,chart_isMaster:!!n.qData.qExtendsId,tab_isVisible:0!==t[n.qData.childRefId]?.condition,tab_isActive:n.qData.childRefId===e.cachedTabId}))}}const Oh=({ref:e,theme:t,change:n})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9,component:"dropdown",change(t){(ch(t,`${e}.color`)||ch(t,`${e}.colorExpression`))&&(ph(t,`${e}.color`,void 0),ph(t,`${e}.colorExpression`,void 0)),n?.(t)},options:[{value:!1,translation:"properties.colorMode.primary"},{value:!0,translation:"properties.colorMode.byExpression"}],defaultValue:!1,placeholder:"properties.colorMode.primary"},bgColorPicker:{component:"color-picker",ref:`${e}.color`,width:3,show:t=>!ch(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>({color:t?.getStyle("object.tabbedContainer",e,"color")??"none"}),showAlpha:!0,change:e=>{n?.(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>ch(t,`${e}.useColorExpression`)}}}),Ph=({theme:e})=>({bgColorAllWrapper:Oh({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:Oh({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Oh({ref:"background.hover",theme:e,change:e=>{ph(e,"indicator.hover.color",ch(e,"background.hover.color")),ph(e,"indicator.hover.useColorExpression",ch(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),Mh=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontSize`;return{fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.size`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),show:e=>!1!==e.icon?.show},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>!1!==e.icon?.show}}},position:{type:"string",ref:"icon.position",component:"dropdown",options:[{value:"start",translation:"properties.dock.start"},{value:"top",translation:"properties.dock.top"},{value:"end",translation:"properties.dock.end"},{value:"bottom",translation:"properties.dock.bottom"}],defaultValue:(e,{layout:t})=>"left"===t.orientation?"top":"start",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"icon.show",component:"switch",defaultValue:!0,show:e=>"tab"===e.key}}},jh=({theme:e})=>({colorWrapper:Oh({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Oh({ref:"indicator.hover",theme:e,change:e=>{ph(e,"background.hover.color",ch(e,"indicator.hover.color")),ph(e,"background.hover.useColorExpression",ch(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),Nh=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontFamily`,o=`${e.theme}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:`${e.ref}.fontFamily`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),change:(e,t,n)=>{const r=e.label?.fontFamily,o=(e=>{const t=[];return e.objects.forEach(e=>{const n=e.components?.find(e=>"tab"===e.key),r=n?.label?.fontFamily;r&&-1===t.indexOf(r)&&t.push(r)}),t})(n);r&&-1===o.indexOf(r)&&o.push(r),n.fontsUsed=o}},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.fontSize`,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o)},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")})}}},alignment:{component:"text-align-buttons",ref:"label.alignment",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"label.show",component:"switch",defaultValue:!0}}},$h=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"Object.Container.Props.Label",component:"panel-section",items:{label:{component:"items",ref:e,key:t,items:Nh({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:r})}}}),zh=({ref:e,key:t})=>({translation:"Visualizations.Descriptions.Width",component:"panel-section",items:{width:{component:"items",ref:e,key:t,items:{unit:{type:"string",ref:"width.unit",component:"dropdown",options:[{value:"%",translation:"Object.Table.Column.Percentage"},{value:"px",translation:"Object.Table.Column.Pixels"}],defaultValue:"%",change:e=>{if(void 0!==e.width?.value&&"%"===e.width?.unit)for(let t=0;t<e.width.value.length;t++)e.width.value[t]>100?e.width.value[t]=100:e.width.value[t]<5&&(e.width.value[t]=5)}},valuePixel:{translation:"properties.axis.minMax",component:"slider",ref:"width.value",range:!0,step:1,min:0,max:800,show:e=>"px"===e.width?.unit,defaultValue:[0,360]},valuePercentage:{translation:"properties.axis.minMax",component:"slider",type:"array",ref:"width.value",range:!0,step:1,min:5,max:100,show:e=>!e.width?.unit||"px"!==e.width?.unit,defaultValue:[5,20]}}}}}),Dh=({theme:e,ref:t,key:n})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:n,items:jh({theme:e})}}}),Bh=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:Mh({paths:{ref:"icon",theme:"icon.value"},fontResolver:n,theme:r})}},show:(e,{layout:t})=>!!t.showIcons}),Fh=({theme:e,ref:t,key:n})=>({translation:"Object.OrgChart.BackgroundColor",component:"panel-section",items:{background:{component:"items",ref:t,key:n,items:"tab"===n?{bgColorWrapper:Oh({ref:"background"})}:Ph({theme:e})}}}),Gh=({fontResolver:e,theme:t})=>{const n="components",r="tab";return{component:"styling-panel",chartTitle:"Object.Container",tabTitle:"scripteditor.dataconnectors.delimiter.tab",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",ref:n,items:{label:$h({ref:n,key:r,fontResolver:e,theme:t}),width:{...zh({ref:n,key:r}),show:(e,{layout:t})=>"left"!==t.orientation},icon:Bh({ref:n,key:r,fontResolver:e,theme:t}),background:Fh({ref:n,key:r,theme:t})}}},Hh={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},Uh={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},Wh=(e,t)=>"object"==typeof e.label?t.objects.find(t=>t.childRefId===e.childRefId)?.label||e.label.qValueExpression.qExpr:e.label,Yh=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{const n=t.getLayout(),r=_u(n,e.childRefId)?.qMeta;return!r?.privileges?.includes("update")||!n.permissions?.update},action(t,n,{app:r}){const{sense:o}=e.env.anything,i=n.getEngineId(t.childRefId);i&&(o.propertyPanel.show({id:i,app:r,parent:"current",headerLabel:Wh(t,n.getLayout())}),n.setSelectedChild([i]))}}),Vh=e=>{const{sense:t}=e.env.anything;return{label:Hh,condition:Uh,styling:Gh({fontResolver:e.fontResolver,theme:t?.theme}),editProperties:Yh(e)}},qh={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},Kh={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},Xh=e=>({type:"array",ref:"objects",itemTitleRef:e=>e.label,allowAdd:!0,customAdd:!0,allowMove:!0,allowRemove:!0,customRemove:!0,addTranslation:"Object.Container.Props.Add",cId:"childRefId",grouped:!0,add(e,t,n){const r=document.querySelector(".pp-toplist-add-button");null!==r&&n.openAddChildPopover(r)},remove(e,t,n){n.deleteChild(e.childRefId).catch(()=>{})},items:Vh(e)}),Zh=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:qh,chartsLabel:Kh,chartList:Xh(e)}}),Jh={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},Qh={type:"boolean",translation:"Object.Container.Props.UseDropdown",label:"Menu",ref:"useDropdown",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},ef={type:"boolean",translation:"Object.Container.Props.UseScrollButtons",ref:"useScrollButton",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!0,show:e=>e.showTabs},tf={type:"boolean",translation:"Object.Container.Props.ShowIcons",ref:"showIcons",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},nf={type:"string",translation:"Object.Container.Props.DefaultTab",ref:"defaultTabId",component:"dropdown",defaultValue:void 0,options(e,t){const n=t.getLayout();return n?n.objects.map(e=>({translation:e.label,value:e.childRefId})):[]},change(e,t){const n=Tu(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},rf={type:"string",translation:"properties.orientation",ref:"orientation",component:"dropdown",options:[{value:"top",translation:"properties.orientation.horizontal"},{value:"left",translation:"properties.orientation.vertical"}],defaultValue:"top",show:e=>e.showTabs},of=({fontResolver:e,theme:t})=>{const n="components",r="tabs";return{component:"styling-panel",chartTitle:"Object.TabContainer",tabTitle:"Object.Container.Props.ShowTabs",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,useBackground:!0,items:{label:$h({ref:n,key:r,fontResolver:e,theme:t}),width:zh({ref:n,key:r}),indicator:Dh({ref:n,key:r,theme:t}),icon:Bh({ref:n,key:r,fontResolver:e,theme:t}),background:Fh({ref:n,key:r,theme:t})}}},af={items:{details:{show:e=>!0===e.showDetails}}},sf=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:of({fontResolver:e.fontResolver,theme:t?.theme}),container:{type:"items",items:{showTabs:Jh,useDropdown:Qh,useScrollButton:ef,showIcons:tf,orientation:rf,defaultTabId:nf}}}}},lf=e=>({uses:"settings",items:{general:af,presentation:sf(e)}}),cf=e=>({type:"items",component:"accordion",items:{content:Zh(e),settings:lf(e)}}),df=e=>{const{sense:t}=e.env.anything,n=function(e){var t=e.theme,n=e.translator,r=e.config,o=void 0===r?{}:r,i=e.flags,a=function(e){var t=e.config,n=void 0===t?{}:t,r=n.id,o=n.paths;return{id:void 0===r?Yu:"".concat(Yu,".").concat(r),paths:Array.isArray(o)?o:[]}}({config:o}),s=a.id,l=a.paths,c={};l.forEach(function(e){var r=e.split(".");ip(r);for(var o=c,a=0;a<r.length;a++){var l=r[a];a===r.length-1?o[l]=tp({theme:t,translator:n,id:s,path:e,flags:i}):void 0===o[l]&&(o[l]={}),o=o[l]}});var d=function(e){var t=e.split(".");ip(t);for(var n=c,r=0;r<t.length;r++){var o=t[r];if(void 0===n[o])throw new Error("font-resolver: Path '".concat(e,"' could not be resolved."));n=n[o]}return n};return c.getDefaultValue=function(e){return d(e).getDefaultValue()},c.getOptions=function(e){return d(e).getOptions()},c}({theme:t?.theme,translator:e.env.translator,flags:e.env.flags,config:{id:"tabbedContainer",paths:["label.value","icon.value"]}}),r=function(e){return{async getDropOptions(e,t,n){const{item:r}=t,o=e.getCreatePropertyHandler();if(o.setModel(e.model),"state"===t.item.type){const r=await e.model.getProperties();return o.setProperties(r),o.setLayout(e.model?.layout),this.getDropStateOptions(t,o,e.model,n)}if("visualization"===r.type)return t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"addvisualization",select(){o.addChild({initProps:{qExtendsId:r.id,qInfo:{qType:"undefined"}}})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),void n();const i=await t.item.getDropOption(t.item);"newObject"===i?.id&&t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"createvisualization",select(){o.addChild({initProps:{...i.args.init,visualization:i.args.template},children:i.args.children?.map(e=>({qProperty:e}))})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),n()},async addChild(t,n){const{model:r}=this,o=new Lu({app:r.app,data:e.propertyHandlerData});return o.setModel(r),{childModel:await o.addChild({initProps:t,children:n}),handler:o}},canReceive(e){if(this.model.layout.qExtendsId)return!1;if("libraryitem"===e.type){const{item:t}=e;if("template"===t.type&&ou.includes(t.template))return!1;if("visualization"===t.type&&ou.includes(t.visualization))return!1}return"gridcell"!==e.type||!ou.includes(e.cell.model.layout.visualization)}}}(e);return{definition:cf({...e,fontResolver:n}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new Lu({app:t,data:e.propertyHandlerData}),...r,addChild:async function(e,t){const{childModel:n,handler:o}=await r.addChild.apply(this,[e,t]);n&&o.setSelectedChild([n.id])},migrate:{properties:(e,t)=>((async(e,t)=>{if(!e.objects){const{objects:n,defaultTabId:r,components:o,orientation:i,showDetails:a}=await t.getEffectiveProperties(),s=await t.getFullPropertyTree();if(!s.qProperty.objects&&n){const l=[];s.qChildren.forEach(e=>{const n=e.qProperty;if(n.qInfo.qId){const r=async r=>{const o=await t.getChild(r),i=await o.getEffectiveProperties();return{...e,qProperty:{...n,childRefId:i.childRefId}}};l.push(r(n.qInfo.qId))}});const c=await Promise.all(l),d={...e,objects:n,defaultTabId:r??"",components:o,qChildListDef:Th,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...s,qProperty:d,qChildren:c})}}})(e,t),e)},exportProperties:null,importProperties:(e,t)=>{const n={...e.properties};return"masterobject"!==e.properties.qInfo.qType&&(n.qInfo.qType=t.qInfo.qType),n.visualization=t.visualization,{qProperty:n,qChildren:e.qChildren}},extendMetrics:Lh}},uf=({propertyHandlerData:e,element:r,sharedContainerUtilities:o,translator:i,containerId:a,dataHandler:s,renderHelper:l})=>{const c=t();a&&e.sync({containerId:a,element:r,sharedContainerUtilities:o,translator:i,dataHandler:s,renderHelper:l}),n(()=>{e.setMuiTheme(c.direction)},[c.direction,e]),n(()=>()=>{a&&e.destroy(a)},[a,e,c.direction])},pf=e=>e.reduce((e,{id:t,data:n})=>(n&&(e[t]=n),e),{}),hf=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;t.push(o.getViewState().then(e=>({id:n,data:e})).catch(()=>e))}const n=await Promise.all(t);return{viewStates:pf(n)}},ff=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;t.push(o.getSnapshotLayout().then(e=>({id:n,data:e})).catch(()=>e))}const n=await Promise.all(t);return pf(n)},mf=(e,t)=>(r(async n=>{const r=n,{snapshotData:o}=r;if(o){const n=Au(r),i=t(e.objectMap,n),[a,s]=await Promise.all([ff(i.objectMap),hf(i.objectMap)]);o.objectsData={layouts:a},r.objects=i.objects,o.viewState=s}return n}),{getViewState:()=>hf(e.objectMap)});let bf=function(e){return e.COPY="ctrl+c",e.CUT="ctrl+x",e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e}({}),gf=function(e){return e.KEY_DOWN="keydown",e.FOCUS_OUT="focusout",e}({}),vf=function(e){return e.TAB_MENU="tab-menu",e.TAB_MENU_ITEM="tab-menu-item",e.ACTIVE_TAB="active-tab-button",e.TAB_WRAPPER="tab-wrapper",e.TAB="tab-button",e.TAB_EXTRA_PRIO="MuiTab-root",e.TAB_LABEL="tab-label",e.TABS_ICON="tab-icon",e.ACTIVE_TAB_PANEL="active-tab-panel",e.TAB_INDICATOR="MuiTabs-indicator",e}({});const yf=`& .${vf.TAB}.${vf.TAB_EXTRA_PRIO}, .${vf.TAB}.${vf.ACTIVE_TAB}`,xf=`& .${vf.TAB}.${vf.TAB_EXTRA_PRIO}:hover`,Ef=`& .${vf.TAB_LABEL}`,Cf=`& .${vf.TABS_ICON} svg`,Sf=`& .${vf.TAB_WRAPPER}`,wf=`& .${vf.TAB_INDICATOR}`,Rf=e=>e.getElementsByClassName(vf.ACTIVE_TAB)?.[0],_f=e=>e.getElementsByClassName(vf.ACTIVE_TAB_PANEL)?.[0],Af=({element:e,setAccessibility:t,accessibility:r,renderHelper:s,interactions:l,env:c,models:d})=>{const{modifiedLayout:{showTabs:u,objects:p,orientation:h},translator:f}=d;n(()=>{(()=>{const t="top"===h?f.get("TabContainer.Navigation.Horizontal"):f.get("TabContainer.Navigation.Vertical"),n=((e,t)=>e.map(e=>e.label||t.get("TabContainer.Object.Untitled")).join(", "))(p,f);e.setAttribute("aria-label",f.get("TabContainer.Object.Description",[n,u?t:""]))})()},[e,u,p,f,h]);const m=c.flags.isEnabled("VIZ-7_NEW_SHEET"),b=o(),g=i(()=>()=>{t(!1),b.enabled&&b.blur?.(!0)},[b,t]),v=i(()=>t=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case bf.ESCAPE:t.stopPropagation(),b.blur?.(!0);break;case bf.ENTER:case bf.SPACE:{t.stopPropagation();const n=t.target;n?.classList.contains(vf.ACTIVE_TAB)&&_f(e)?.focus();break}}},[e,b]),y=i(()=>t=>{const n=t.shiftKey?`shift+${t.key}`:t.key,r=s.objectMap.values().next().value,o=s.objectApis.values().next().value;switch(n){case bf.ESCAPE:{const n=Rf(e);m?(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():n?.focus()})({event:t,objectApi:o,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():n?.focus()})({event:t,objectApi:r,activeTab:n});break}case bf.ENTER:case bf.SPACE:{const n=_f(e);m?(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():t.toggleFocus?.(!0)})({event:t,objectApi:o,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():t.viewDataToggled&&"function"==typeof t.dataViewObject?.focus?t.dataViewObject.focus():"function"==typeof t.focus&&t.focus()})({event:t,objectApi:r,activeTab:n});break}case bf.OPEN_CONTEXT_MENU:t.stopPropagation(),r?.viewDataToggled||e!==document.activeElement&&(g(),e.focus())}},[e,g,m,s]),x=i(()=>e=>{const t=e.target;t?.classList.contains(vf.ACTIVE_TAB_PANEL)?y(e):v(e)},[v,y]);n(()=>(r&&e.addEventListener(gf.KEY_DOWN,x),()=>{e.removeEventListener(gf.KEY_DOWN,x)}),[e,r,x]);const[E,C]=a(!1);n(()=>{E&&(C(!1),window.setTimeout(()=>((e=>e.getElementsByClassName(vf.TAB_MENU)?.[0])(e)??Rf(e))?.focus(),0))},[e,E]),n(()=>{t(!1)},[l.edit,t]),n(()=>{const n=t=>{const n=t.relatedTarget;e?.contains(n)||n?.classList.contains(vf.TAB_MENU_ITEM)||g?.()};return b.enabled&&b.active&&!l.edit&&(t(!0),C(!0),e.addEventListener(gf.FOCUS_OUT,n)),()=>{e.removeEventListener(gf.FOCUS_OUT,n)}},[b])},kf=e=>{const[t]=a(e);return[t,function(e){Object.assign(t,e)}]},If=({isContainerActive:e,activeTabId:t,modifiedLayout:r,renderHelper:o,activeCharts:a,sharedContainerUtilities:s})=>{const l={modifiedLayout:r,activeTabId:t,renderHelper:o,isContainerActive:e},[c,d]=kf(l);d(l);const u=i(()=>()=>{const e=ku(c.modifiedLayout);for(const[t,n]of c.renderHelper.objectMap.entries()){const r=c.isContainerActive&&c.activeTabId===e[t];"setIsActive"in n&&n.setIsActive(r)}},[c]);n(()=>{c.isContainerActive&&u()},[o.objectMap,u,c]),n(()=>{u()},[e,u]),(({activeCharts:e,onSetActiveCharts:t,canSetActiveChart:r=!0})=>{const[o,i]=kf({onSetActiveCharts:t});i({onSetActiveCharts:t}),n(()=>{if(!r)return;const t=e=>{o.onSetActiveCharts(e)};e.on("setActiveCharts",t);const n=e.getActiveCharts();return n.length>0&&t(n),()=>e.removeListener("setActiveCharts",t)},[e,o,r])})({activeCharts:a,onSetActiveCharts:e=>{if(0===e.length)return;const t=c.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t&&t!==c.activeTabId&&s.setSelected(e)}})},Tf={getChar(e){let t,n=e;return n>9?(t=65+n-10,t>90&&(t+=6)):n=`${n}`.charCodeAt(0),!t||[48,111,79,105,73,108].indexOf(t)>-1?this.getChar(n+1):String.fromCharCode(t)},base62(e){const t=this.getChar(e%62),n=Math.floor(e/62);return n>0?this.base62(n)+t:t},id(){return this.base62(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};const Lf={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Of{sessionObject;constructor(e){this.getOrCreateSessionObject(e).catch(()=>{})}getOrCreateSessionObject=async e=>{const t=Lf.qInfo.qId;this.sessionObject=await e.getObject(t).catch(()=>e.createSessionObject(Lf))};getMasterVisualizations=async()=>{try{if(!this.sessionObject)return[];const e=await this.sessionObject.getLayout();return("qAppObjectList"in e?e.qAppObjectList.qItems:e).map(e=>({...e.qData,qExtendsId:e.qInfo.qId})).filter(e=>!ou.includes(e.visualization))}catch{return[]}}}let Pf=function(e){return e[e.TOP=0]="TOP",e[e.BOTTOM=1]="BOTTOM",e[e.UP=2]="UP",e[e.DOWN=3]="DOWN",e}({});class Mf{model;embed;app;undoRedoModel;chartList;masterVizList;mutex;constructor({embed:e,model:t,app:n,translator:r,mutex:o}){this.model=t,this.embed=e,this.app=n;const i=n;i&&i.getUndoInfoObject&&i.getUndoInfoObject().then(e=>{this.undoRedoModel=e}).catch(()=>{}),n&&(this.masterVizList=new Of(n)),e&&r&&(this.chartList=new iu(e,r)),this.mutex=o}rememberAsGroup=async e=>{let t;this.undoRedoModel&&(t=await this.undoRedoModel.startGroup());const n=await e();return t&&this.undoRedoModel&&await this.undoRedoModel.endGroup(t),n};generateProperties=async(e,t)=>await this.embed.generateProperties({type:e,properties:t});async addChild(e,t,n){if(this.model&&!ou.includes(e.visualization))try{await this.mutex.lock();const{model:r}=this,o=async()=>{e.childRefId=Tf.id();const o=await r.createChild(e);if(o){const t=await r.getProperties();t.objects.unshift({childRefId:e.childRefId,...n,condition:{qValueExpression:{qExpr:""}}}),await r.setProperties(t)}return t&&o&&await Promise.all(t.map(({qProperty:e})=>o.createChild(e))),o};return await this.rememberAsGroup(o)}catch{return}finally{this.mutex.unlock()}}addVizAsChild=async({type:e,initProps:t,objectInitProps:n,children:r})=>{try{const o=await this.generateProperties(e,t);let i=n?.label||t?.title;if(!i){const n=this.getChart(t?.visualization),r=n?.libraryInfo;i=r?.translation||r?.name||e}const a={...n,label:i};return await this.addChild(o,r,a)}catch{return}};addMasterObjectAsChild=async({initProps:e,objectInitProps:t,children:n})=>{try{if(!e||!e.qExtendsId||!this.app)return;const r=await this.app.getObject(e.qExtendsId),o=await r.getProperties(),i=t?.label||o.title||o.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},s={...t,label:i};return await this.addChild(a,n,s)}catch{return}};deleteChildren=async e=>{const{model:t}=this;if(0===e.length||!t)return!1;try{await this.mutex.lock();const n=await t.getFullPropertyTree(),{qChildren:r,qProperty:o}=n,i=new Set(e);return n.qChildren=r.filter(({qProperty:e})=>{const t=e.childRefId;return!t||!i.has(t)}),n.qProperty.objects=o.objects.filter(e=>!i.has(e.childRefId)),await t.setFullPropertyTree(n),!0}catch{return!1}finally{this.mutex.unlock()}};moveChild=async(e,t)=>{if(this.model)try{await this.mutex.lock();const n=await this.model.getProperties(),{objects:r}=n,o=r.findIndex(e=>e.childRefId===t);let i=!1;switch(e){case Pf.TOP:{if(0===o)break;const e=r.splice(o,1)[0];r.unshift(e),i=!0;break}case Pf.BOTTOM:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.push(e),i=!0;break}case Pf.UP:{if(0===o)break;const e=r.splice(o,1)[0];r.splice(o-1,0,e),i=!0;break}case Pf.DOWN:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.splice(o+1,0,e),i=!0;break}}i&&await this.model.setProperties(n)}finally{this.mutex.unlock()}};getCharts=()=>this.chartList?.getCharts()||{};getMasterVizList=()=>this.masterVizList?.getMasterVisualizations()||Promise.resolve([]);getChart=e=>this.chartList?.getChart(e);getChartLabelById=(e,t)=>{const n=e?.qChildList?.qItems.find(e=>e.qInfo.qId===t);if(!n)return"";const{visualization:r,title:o}=n.qData;if(o)return o;const i=this.getChart(r);return i?.libraryInfo?.translation||r}}class jf{locked=!1;tasks=[];id;constructor(e){this.id=e}lock=async()=>this.locked?new Promise(e=>{this.tasks.push(e)}):(this.locked=!0,!0);unlock=()=>{if(this.tasks.length>0){const e=this.tasks.shift();e?.(!0)}else this.locked=!1}}const Nf={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},$f={index:-1,color:"none",alpha:1},zf=e=>{let t=parseFloat(e[1]),n=parseFloat(e[3]),r=parseFloat(e[5]);return t%=360,n/=100,r/=100,t=Math.max(0,Math.min(t,360)),n=Math.max(0,Math.min(n,1)),r=Math.max(0,Math.min(r,1)),{h:t,s:n,l:r,v:r}},Df=(e,t,n,r,o=1)=>{let i,a,s,l=[];switch(n=Math.floor(n)){case 0:l=[e,t,0];break;case 1:l=[t,e,0];break;case 2:l=[0,e,t];break;case 3:l=[0,t,e];break;case 4:l=[t,0,e];break;case 5:l=[e,0,t];break;default:l=[0,0,0]}return i=l[0]+r,a=l[1]+r,s=l[2]+r,i=Math.round(255*i),a=Math.round(255*a),s=Math.round(255*s),`rgba(${i},${a},${s},${o})`},Bf=e=>{const{h:t,s:n,l:r}=zf(e),o=e.length>7?parseFloat(e[7]):1,i=r<=.5?2*r*n:(2-2*r)*n,a=t/60,s=i*(1-Math.abs(a%2-1));return Df(i,s,a,r-.5*i,o)},Ff={resolveExpression:({colorExpression:e=""})=>{let t=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e);if(t)return`rgb(${t[1]},${t[2]},${t[3]})`;if(t=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return`rgba(${t[1]},${t[2]},${t[3]},${t[4]})`;if(t=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e),t){const e=Math.round(Number(t[1])/255*100)/100;return`rgba(${t[2]},${t[3]},${t[4]},${e})`}if(t=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return Bf(t);if(t=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return Bf(t);if(t=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return(e=>{const{h:t,s:n,v:r}=zf(e),o=r*n,i=t/60,a=o*(1-Math.abs(i%2-1));return Df(o,a,i,r-o)})(t);if(t=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e),t)return e;if(t=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e),t)return e;const n=e&&Nf[e.toLowerCase()];if(n){const e=void 0!==n.a?n.a:1;return`rgba(${n.r},${n.g},${n.b},${e})`}return"none"},getColor({style:e,defaultColor:t,theme:n}){const r=e?.color||$f;let o;return o=e?.useColorExpression?Ff.resolveExpression(e):"string"==typeof r?r:n?.getColorPickerColor(r)||"",o&&"none"!==o?o:t}},Gf=()=>xn.jsx(vu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:"M15 6V5H5V2H1.5a.5.5 0 0 0-.5.5V6H0V2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4h-1Zm-5-4H6v2h4V2Zm4.5 0H11v2h4V2.5a.5.5 0 0 0-.5-.5Zm1.5 9h-1V8h1v3Zm0 3a1 1 0 0 1-1 1h-1v-1h.6a.4.4 0 0 0 .4-.4V13h1v1Zm-7 1v-1h3v1H9Zm-5 0v-1h3v1H4Zm-3 0a1 1 0 0 1-1-1v-1h1v.6c0 .22.18.4.4.4H2v1H1ZM0 8h1v3H0V8Zm4-.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4ZM5 11h6V8H5v3Z"})}),Hf=({libraryInfo:e,style:t,id:n})=>xn.jsx("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:vf.TABS_ICON,children:xn.jsx(e.IconDefinition,{})}),Uf=({style:e,id:t})=>xn.jsx("div",{style:e,"data-testid":"tab-hidden-icon",id:t,children:xn.jsx(yu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:"m13.441.795.764.646-1.839 2.174c.568.434 1.076.914 1.522 1.385a13.79 13.79 0 0 1 2.109 3 13.798 13.798 0 0 1-2.108 3c-1.382 1.457-3.345 3-5.89 3-1.34 0-2.52-.428-3.536-1.045l-1.904 2.25-.764-.646L13.441.795ZM11.72 4.379l-1.427 1.686a3 3 0 0 1-3.82 4.516l-1.354 1.6c.86.497 1.819.819 2.88.819 2.121 0 3.834-1.287 5.161-2.685A12.666 12.666 0 0 0 14.857 8a12.691 12.691 0 0 0-1.697-2.315c-.35-.37-.727-.73-1.132-1.063l-.308-.243ZM8 2a6.428 6.428 0 0 1 2.242.412l.305.123-.681.805A5.359 5.359 0 0 0 8 3C5.877 3 4.164 4.287 2.837 5.685A12.664 12.664 0 0 0 1.14 8a12.66 12.66 0 0 0 1.697 2.315l.301.308.311.299-.646.765A14.567 14.567 0 0 1 2.109 11 13.791 13.791 0 0 1 0 8a13.801 13.801 0 0 1 2.109-3C3.49 3.543 5.454 2 8 2Zm1.633 4.845-2.5 2.956a1.999 1.999 0 0 0 2.5-2.956Zm-3.917-.793a3 3 0 0 1 2.692-1.025l.202.035-.809.948A2 2 0 0 0 6 7.967l.003.152-.808.947a3 3 0 0 1 .521-3.014Z"})})}),Wf=()=>xn.jsx(yu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:"M12 4H6V3h6v1ZM6 8.5h4v-1H6v1Zm9 4.5H6v-1h9v1ZM3 11a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1Zm0-5.5a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1ZM3 2a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h1Zm0 1H2v1h1V3Z"})}),Yf=za(Ld)({width:28,overflow:"hidden"}),Vf=za(Ld)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),qf=(e,t)=>e.find(e=>e.childRefId===t),Kf=(e,t)=>!t.edit&&0===e.condition,Xf=e=>{const{objects:t,defaultTabId:n,cachedTabId:r}=e;return r||(n&&t.some(e=>e.childRefId===n)?n:t[0]?.childRefId||"")};class Zf{modifiedLayout;themeStyle;style;objectMap;activeTabId;theme;constructor({modifiedLayout:e,themeService:t}){this.modifiedLayout=e,this.activeTabId=Xf(this.modifiedLayout),this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=Iu(this.modifiedLayout),this.style=this.createStyleClasses()}getTabsWidth=e=>{const t=this.resolveComponentStyle({compPath:"width.value",themePath:"tabWidth.value"});if(void 0===t||2!==t.length||e!==this.modifiedLayout.orientation)return{};const n=this.resolveComponentStyle({compPath:"width.unit",themePath:"tabWidth.unit",defaultValue:"%"});return{minWidth:`${t[0]}${n}`,maxWidth:`${t[1]}${n}`}};getTabWidth=e=>{const t=e?.value,n=e?.unit??"%";if(void 0===t||2!==t.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${t[0]}${n}`,maxWidth:`${t[1]}${n}`}};getColorStyle=(e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t});return Ff.getColor({style:n,theme:this.theme})??n};getTabBackgroundStyle=(e,t)=>{let n;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});n=Ff.getColor({style:e,theme:this.theme})}return n??Ff.getColor({style:t,theme:this.theme})};createTabClasses=()=>this.modifiedLayout.objects?.reduce((e,t)=>{const n=t?.childRefId,r=t?.components?.find(e=>"tab"===e.key);return e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}`]={textAlign:ch(r,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(n,r?.background),...this.getTabWidth(r?.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${n}`]={fontSize:ch(r,"label.fontSize"),fontFamily:ch(r,"label.fontFamily"),color:Ff.getColor({style:ch(r,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${n} svg`]={height:ch(r,"icon.size"),color:Ff.getColor({style:ch(r,"icon.color"),theme:this.theme})},e},{});createTabsClasses=()=>({[Ef]:{fontSize:this.resolveComponentStyle({compPath:"label.fontSize",themePath:"label.value.fontSize"}),fontFamily:this.resolveComponentStyle({compPath:"label.fontFamily",themePath:"label.value.fontFamily"}),color:this.resolveComponentStyle({compPath:"label.color.color",themePath:"label.value.color"})},[Cf]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[yf]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[xf]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[Sf]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[wf]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}});createStyleClasses=()=>({...this.createTabsClasses(),...this.createTabClasses()});getStyleClasses(){return this.style}resolveComponentStyle=({key:e="tabs",compPath:t,themePath:n=t,defaultValue:r})=>{const o=this.modifiedLayout.components?.find(t=>t.key===e);return ch(o,t)??ch(this.themeStyle,n)??r};getTabStyle(e){return this.objectMap[e].components?.find(e=>"tab"===e.key)}}const Jf=()=>{const e=s(),n=l(),r=c(),o=d(),b=u(),g=p(),v=t(),y=h(),x=f(),E=function(e){var t=e.theme,n=e.config,r=void 0===n?{}:n,o=r.id,i=r.resolve,a=void 0===i?[]:i,s=r.transform,l=void 0===s?[]:s,c=r.extend,d=void 0===c?[]:c,u={theme:t,matrix:_h(a),styles:void 0};return u.styles=Ih({theme:t,id:o,transform:l,extend:d,matrix:u.matrix}),{getStyles:function(){return u.styles},getTheme:function(){return u.theme},setTheme:function(e){u.theme=e,u.styles=Ih({theme:e,id:o,transform:l,extend:d,matrix:u.matrix})}}}({theme:m(),config:{id:"tabbedContainer",resolve:[["object.tabbedContainer","indicator.selected","color"],["object.tabbedContainer","indicator.hover","color"],["object.tabbedContainer","background.hover","color"],["object.tabbedContainer","icon.value","color"],["object.tabbedContainer","icon.value","fontSize"]]}}),C=i(()=>new iu(o,g),[o,g]),[S]=a(()=>new jf(b.id)),[w,R]=a(!1),_=i(()=>o&&b&&n?new Mf({embed:o,model:b,app:n,translator:g,mutex:S}):void 0,[o,b,n,g,S]),A=i(()=>Au(r),[r]),k=i(()=>new Zf({modifiedLayout:A,themeService:E}),[A,E]);return i(()=>({app:n,modifiedLayout:A,embed:o,model:b,emitter:y,interactions:x,dataHandler:_,chartList:C,styleModel:k,mutex:S,options:v,accessibility:w,setAccessibility:R,translator:g,element:e}),[A,o,b,n,y,x,_,C,k,S,v,w,g,e])},Qf=({dataHandler:e,modifiedLayout:t,translator:n,sharedContainerUtilities:r,Icon:o})=>{const[i,a]=_(void 0);if(!e||!t)return null;const s=!t.qExtendsId;return xn.jsx(pu,{children:xn.jsxs(uu,{children:[xn.jsx(o,{}),s?xn.jsxs(xn.Fragment,{children:[xn.jsx(gu,{sx:{width:250,height:32,fontFamily:"inherit"},className:"init-button",variant:i?"contained":"outlined",onClick:e=>{a(e.currentTarget)},"aria-label":n.get("LayoutContainer.EmptyList.AddContent"),disableRipple:!0,children:n.get("LayoutContainer.EmptyList.AddContent")}),xn.jsx(Cu,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:r})]}):xn.jsx(Xs,{variant:"inherit",children:n.get("LayoutContainer.EmptyList.EmptyHint")})]})})};class em{_rendered=new Set;_objectMap=new Map;_objectApis=new Map;_resolver;_dependencyData;_recreateMap=new Map;constructor(e){this._dependencyData=e}set dependencyData(e){this._dependencyData=e}get rendered(){return this._rendered}get objectMap(){return this._objectMap}get objectApis(){return this._objectApis}get resolver(){return this._resolver}get recreateMap(){return this._recreateMap}createTimerForRendering=()=>{if(!this.resolver){let e;const t=setTimeout(()=>{this.doResolve()},9e4),n=new Promise(t=>{e=t});this._resolver={promise:n,resolve:e,timer:t}}return this._resolver};doResolve=()=>{this.resolver&&(clearTimeout(this.resolver?.timer),this.resolver.resolve?.(!0),this._resolver=void 0)};tryToResolve=()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){(0===e.length||e.every(e=>this.rendered.has(e.id)))&&this.doResolve()}};syncObjects(e){const t=new Set,n=new Set([...Array.from(this.objectMap.keys()),...Array.from(this.objectApis.keys()),...this.rendered]),r=new Set(n);let o=!1;return e.forEach(e=>{n.has(e.id)?(this.rendered.has(e.id)&&t.add(e.id),r.delete(e.id)):o=!0}),r.forEach(e=>{const t=this.objectMap.get(e);t&&(this.confirmPotentialSelections(t),t.destroy?.(),this.objectMap.delete(e)),this.objectApis.get(e)?.destroy(),this.objectApis.delete(e)}),this._rendered=t,this.tryToResolve(),o}destroy(){for(const e of this.objectApis.values())e.destroy();this._objectMap=new Map,this._objectApis=new Map}saveObject(e,t){this.objectMap.set(e,t)}saveObjectApi(e,t){this._objectApis.set(e,t)}onRendered(e){this.rendered.add(e),this.tryToResolve()}getChildrenObjects(){const{visibleLayoutObjects:e}=this._dependencyData,t=[];return e.forEach(e=>{const n=this.objectMap.get(e.id);n&&t.push(n)}),t}getChildLayout(e){const{modifiedLayout:t}=this._dependencyData;return t.qChildList.qItems.find(t=>t.qInfo.qId===e)}getObjectOptions(e){const{viewState:t,modifiedLayout:n,options:r}=this._dependencyData,{chartAnimations:o,direction:i,progressiveRendering:a,freeResize:s,navigation:l}=r;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!!n?.qExtendsId,isSnapshot:!!n.snapshotData,...!!t?.viewStates?.[e]&&{viewState:t?.viewStates[e]},...!!t?.layouts?.[e]&&{layout:t.layouts[e]},direction:i,chartAnimations:o,progressiveRendering:a,freeResize:s,navigation:l,disableThemeBorder:!1,fallbackToClient:r.fallbackToClient}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const tm=({chartObject:e,embed:t,renderHelper:n,direction:r,interactions:o,env:i})=>{const a=k(null),{id:s}=e;A(()=>{if(s&&a.current){const e=n.getObjectOptions(s)||{};e.disableThemeBorder=!0,t.render({id:s,element:a.current,options:e}).then(e=>{n.saveObjectApi(s,e)}).catch(e=>{const t=n.getChildLayout(s)?.qInfo?.qType;console.error("Could not render chart with id",s,t,e)})}},[s,t,n,r]);const l=I(()=>()=>{if(e?.id&&i.anything){const t=e?.label,{sense:r}=i.anything,o="current",a=n.objectMap.get(e.id);a&&r.propertyPanel.show({model:a.model,parent:o,headerLabel:t,keepCurrentActiveCell:!0})}},[i,e,n]);return A(()=>{const e=a?.current;return e&&o?.edit&&e.addEventListener("dblclick",l),()=>{e?.removeEventListener("dblclick",l)}},[a,l,o]),xn.jsx("div",{ref:a,style:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`})};let nm=function(e){return e.TABS_HEIGHT="36px",e}({});const rm=({charts:e,handleChangeTab:t,activeTabId:n,element:r,translator:o,accessibility:i,disabled:a})=>{const[s,l]=C.useState(null),c=Boolean(s),d=()=>{l(null)},u=T(e=>{e?.focus()},[]);return xn.jsxs(xn.Fragment,{children:[xn.jsx(Pl,{onClick:e=>{l(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":o.get("Container.Label.Visualizations"),className:vf.TAB_MENU,sx:{m:"2px"},children:xn.jsx(Wf,{})}),xn.jsx(ud,{anchorEl:s,open:c,onClose:d,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}},children:e.map(e=>xn.jsx(bd,{className:vf.TAB_MENU_ITEM,ref:n===e.childRefId&&c?u:null,onClick:()=>{(e=>{t(e.childRefId),d(),window.setTimeout(()=>{r.getElementsByClassName(vf.ACTIVE_TAB_PANEL)?.[0]?.focus()},0)})(e)},sx:{...n===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{}},"aria-label":e.label,title:e.label,children:xn.jsx(Xs,{variant:"inherit",noWrap:!0,children:e.label})},`chartTabMenu-${e.childRefId}`))})]})},om=({label:e,id:t})=>xn.jsx(Sl,{className:vf.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"},children:xn.jsx("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"},children:e})}),im=({libraryInfo:e,chart:t,iconPosition:n,id:r})=>{let o;switch(n){case"bottom":o={marginTop:"6px"};break;case"top":o={marginBottom:"6px"};break;case"end":o={marginInlineStart:"8px"};break;default:o={marginInlineEnd:"8px"}}o.display="flex",o.alignItems="center",o.height="100%",o.flex="1 0 0";return 0===t.condition?xn.jsx(Uf,{id:`${vf.TABS_ICON}-${r}`,style:o}):e?xn.jsx(Hf,{id:`${vf.TABS_ICON}-${r}`,libraryInfo:e,style:o}):null},am=({models:e,activeTabId:t,handleChangeTab:n})=>{const{modifiedLayout:r,chartList:o,interactions:i,accessibility:a}=e,s=o?.getCharts(),l=r.objects.filter(e=>!Kf(e,i)),{orientation:c,tabContainerStyle:d,ScrollButtonComponent:u}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:Vf}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:Yf})(r),p=!1===i.active&&!i.edit,[h,f]=_(!1),m=T(e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void f("vertical"===c?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}f(!1)},[c]);return xn.jsxs(Sl,{className:vf.TAB_WRAPPER,sx:d,ref:e=>{m(e)},children:[r.useDropdown&&h?xn.jsx(rm,{charts:l,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}):null,xn.jsx(Ud,{value:t,onChange:(e,t)=>{n(t)},ScrollButtonComponent:u,variant:"scrollable",orientation:c,scrollButtons:!!r.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:nm.TABS_HEIGHT},children:l.map(n=>{const o=_u(r,n.childRefId)?.qData?.visualization,i=o&&s?.[o]?.libraryInfo,l=e.styleModel.getTabStyle(n.childRefId),d=0===n.condition||r.showIcons&&i&&!1!==l?.icon?.show,u="vertical"===c?"top":"start",h=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:u}),f=e.styleModel.resolveComponentStyle({compPath:"label.show"}),m=n.label&&(l?.label?.show??!1!==f),b=`${r.qInfo.qId}-${n.childRefId}`;return xn.jsx(Ed,{className:`${vf.TAB} ${t===n.childRefId?vf.ACTIVE_TAB:""}`,disabled:p,id:`tab-${b}`,value:n.childRefId,title:n.label,label:m?xn.jsx(om,{label:n.label,id:b}):void 0,icon:d?xn.jsx(im,{libraryInfo:i,chart:n,iconPosition:h,id:b}):"",iconPosition:h,"data-testid":`container-tab-${n.childRefId}`,sx:{textAlign:"vertical"!==c||r.showIcons?"center":"start",minWidth:"vertical"===c?"100%":void 0,minHeight:nm.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${b}`,tabIndex:a&&t===n.childRefId?0:-1},n.childRefId)})})]})},sm=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:r,env:o})=>{const{modifiedLayout:i,embed:a,interactions:s,options:l,styleModel:c,accessibility:d}=e,u=i.objects,p=s.edit||!!u.find(e=>0!==e.condition),h=i.showTabs&&p,f="left"===i.orientation?"row":"column",m=c.getStyleClasses();return xn.jsxs(Sl,{sx:{display:"flex",flexDirection:f,height:"100%",width:"100%",direction:l.direction,...m},children:[h?xn.jsx(am,{models:e,activeTabId:n,handleChangeTab:r}):null,u.map(e=>{const r=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,c=n===e.childRefId&&!Kf(e,s);return xn.jsx(Sl,{role:"tabpanel",id:r,"aria-label":e.label,sx:{flex:"1 1 auto",minHeight:0,width:"100%",padding:"2px",boxSizing:"border-box",direction:"ltr","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200}},...c?{className:vf.ACTIVE_TAB_PANEL,tabIndex:d?0:-1}:{hidden:!0},children:c?xn.jsx(tm,{chartObject:e,renderHelper:t,direction:l.direction,embed:a,interactions:s,env:o}):null},r)})]})};let lm=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),cm=function(e){return e.COPY="copy",e.PASTE_AND_REPLACE="paste-and-replace",e.PASTE="paste",e.DUPLICATE="duplicate",e.DELETE="delete",e.CUT="cut",e.EDIT_PROPERTIES="edit",e.ZOOM_IN="zoom-in",e.VISUAL_EXPLORATION="visual-exploration",e.MONITOR_IN_HUB="addto",e.REORDER_LAYERS_GROUP="reorder-layers-group",e.BRING_TO_FRONT="bring-to-front",e.BRING_FORWARD="bring-forward",e.SEND_TO_BACK="send-to-back",e.SEND_BACKWARDS="send-backwards",e.CONTAINER_HEADER="container-header",e.CHART_HEADER="chart-header",e.ALERT_GROUP="alertGroup",e.ADD_TO_MASTER_ITEMS="add-to-master-items",e.UNLINK_VISUALIZATION="unlink",e.DEVELOPER="object-developer",e.SHOW_DETAILS="object-info",e.EXPLAIN_KEY_DRIVERS_OLD_ID="explainKeyDrivers",e.EXPLAIN_KEY_DRIVERS="key-driver",e.SUBSCRIBE="subscribe",e.NOTES_GROUP="notesGroup",e.DOWNLOAD="download",e.SHARE_IMAGE="share",e}({});const dm=[cm.PASTE_AND_REPLACE,cm.ZOOM_IN,cm.VISUAL_EXPLORATION],um=[cm.VISUAL_EXPLORATION,cm.ALERT_GROUP,cm.SHOW_DETAILS,cm.EXPLAIN_KEY_DRIVERS,cm.EXPLAIN_KEY_DRIVERS_OLD_ID],pm=[cm.DELETE,cm.CUT,cm.ADD_TO_MASTER_ITEMS,cm.UNLINK_VISUALIZATION],hm=[cm.PASTE_AND_REPLACE],fm=(e,t)=>{const{childRefId:n}=e.model.layout,r=t.objects.find(e=>e.childRefId===n);return{...e,additionalData:{label:r?.label}}},mm=(e,t,n,r,o)=>{const i=t.getSupportFunction(cm.COPY);if(!i)return void e.deleteItem(cm.COPY);const a=()=>{i(fm(n,r)).catch(()=>{})},s=e.items.find(e=>e.id===cm.COPY);if(s)s.updateItem({select:a});else if(o){const t=e.items.findIndex(e=>e.id===cm.CUT),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:cm.COPY,id:cm.COPY,icon:"copy",select:a,items:[]},n)}},bm=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,gm=async(e,t,n,r,o)=>{if(o.flags.isEnabled("GVC_48_CHART_CONTEXT_MENU_ITEM_GENERATION"))return;const i=t.getBuilder("default");if(!i)return;const a=await i();a.addItem({translation:"contextMenu.containerOptionsHeader",tid:cm.CONTAINER_HEADER,id:cm.CONTAINER_HEADER,bold:!0,items:[]},0);const s=bm(n);a.items.forEach(e=>{(um.includes(e.id)||!s&&hm.includes(e.id))&&a.deleteItem(e.id)}),s&&await(async(e,t,n)=>{const r=t.getSupportFunction(lm.PASTE),o=await(r?.()?.catch(()=>{}));if(!o||ou.includes(o.template))return void e.deleteItem(cm.PASTE_AND_REPLACE);const i=()=>{n()},a=e.items.find(e=>e.id===cm.PASTE_AND_REPLACE||e.id===cm.PASTE);if(a)a.updateItem({translation:"contextMenu.paste",select:i});else{const t=e.items.findLastIndex(e=>e.id===cm.COPY||e.id===cm.DEVELOPER||e.id===cm.CONTAINER_HEADER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:cm.PASTE_AND_REPLACE,id:cm.PASTE_AND_REPLACE,icon:"paste",select:i,items:[]},n)}})(a,t,r),e.updateItem({items:a.items}),1===e.items.length&&e.deleteItem(cm.CONTAINER_HEADER)},vm=e=>{const t={[cm.MONITOR_IN_HUB]:!0,[cm.SUBSCRIBE]:!0,[cm.NOTES_GROUP]:!0,[cm.DOWNLOAD]:!0,[cm.SHARE_IMAGE]:!0};e.items.forEach(n=>{t[n.id]?e.deleteItem(n.id):n.items&&vm(n)})},ym=(e,t,n,r,o,i)=>a=>{const{dataHandler:s,modifiedLayout:l}=r;if(bm(r)){n.isInvalid||(((e,t,n,r)=>{const{model:o,modifiedLayout:i}=n,a=e.items.findLastIndex(e=>e.id===cm.CHART_HEADER||e.id===cm.REORDER_LAYERS_GROUP),s=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:cm.EDIT_PROPERTIES,id:cm.EDIT_PROPERTIES,icon:cm.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,n=i.objects.find(t=>t.childRefId===e),a=n?.label,{sense:s}=r.anything,l=o;s.propertyPanel.show({model:t.model,parent:l,headerLabel:a})}},s)})(a,n,r,o),((e,t,n,r,o,i)=>{const a=r.getSupportFunction(cm.COPY);if(!a)return void e.deleteItem(cm.CUT);const s=()=>{o&&a(fm(n,i)).then(async()=>{await(o?.deleteChildren([t]))}).catch(()=>{})},l=e.items.find(e=>e.id===cm.CUT);if(l)l.updateItem({select:s});else{const t=e.items.findLastIndex(e=>e.id===cm.ADD_TO_MASTER_ITEMS||e.id===cm.UNLINK_VISUALIZATION||e.id===cm.EDIT_PROPERTIES||e.id===cm.REORDER_LAYERS_GROUP||e.id===cm.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:cm.CUT,id:cm.CUT,icon:"cut",select:s,items:[]},n)}})(a,t,n,e,s,l),mm(a,e,n,l,!0),((e,t,n,r,o)=>{const i=t.getSupportFunction(lm.COPY),a=t.getSupportFunction(lm.PASTE);if(!i||!a)return void e.deleteItem(cm.DUPLICATE);const s=()=>{i(fm(n,r)).then(()=>{o()}).catch(()=>{})},l=e.items.find(e=>e.id===cm.DUPLICATE);if(l)l.updateItem({select:s});else{const t=e.items.findIndex(e=>e.id===cm.COPY),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:cm.DUPLICATE,id:cm.DUPLICATE,icon:cm.DUPLICATE,items:[],select:s},n)}})(a,e,n,l,i)),((e,t,n)=>{const r=()=>{n&&n.deleteChildren([t]).catch(()=>{})},o=e.items.find(e=>e.id===cm.DELETE);if(o)o.updateItem({select:r});else{const t=e.items.findLastIndex(e=>e.id===cm.DUPLICATE||e.id===cm.ADD_TO_MASTER_ITEMS||e.id===cm.UNLINK_VISUALIZATION||e.id===cm.REORDER_LAYERS_GROUP||e.id===cm.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:cm.DELETE,id:cm.DELETE,icon:"bin",items:[],select:r},n)}})(a,t,s)}else mm(a,e,n,l,!1)},xm=(e,t,n,r)=>{g(async(o,i,a)=>{if(!a)return!1;const s=((e,t)=>()=>{if(!e)return;const n=t.getSupportFunction(lm.PASTE);n&&n().then(async({template:t,init:n,children:r,additionalData:o})=>{const{label:i}=o,a={label:i};n.qExtendsId?await e.addMasterObjectAsChild({initProps:n,children:r,objectInitProps:a}):await e.addVizAsChild({type:t,initProps:n,children:r,objectInitProps:a})}).catch(e=>{e&&t.getSupportFunction(lm.RESET_COPY_BUFFER)})})(n.dataHandler,a);if(await gm(o,a,n,s,r),vm(o),!(e=>{let t;t="qv-radial-contextmenu"===e.type?e.touches[0]?.target:e.target;return t&&((e,t)=>{let n=e;for(;n;){if(n.classList?.contains(t))return n;n=n.parentNode}return null})(t,vf.ACTIVE_TAB_PANEL)})(i))return!0;const l=n.modifiedLayout.objects.find(t=>t.childRefId===e)?.id;if(!l)return!0;const c=t.objectMap.get(l);if(!c)return!0;const d=ym(a,e,c,n,r,s),u=await(async(e,t,n,r)=>{const o=bm(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:cm.CHART_HEADER,id:cm.CHART_HEADER,bold:!0,items:[]},0),r(a),a.items.forEach(e=>{(dm.includes(e.id)||!o&&pm.includes(e.id))&&a.deleteItem(e.id)}),1===a.items.length&&a.deleteItem(cm.CHART_HEADER),a})(a,c,n,d);return!u||(o.items.length>0&&u.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...o.items]},u.items.length),o.updateItem({items:u.items}),!0)})},Em=({element:e,models:r,env:o,activeCharts:s})=>{const l=((e,t)=>{const[r,o]=a(void 0);return n(()=>{if(0===e.getElementsByClassName(t).length){const n=document.createElement("div");n.className=t,e.appendChild(n);const r=lu.createRoot(n);o(r)}return()=>{r?.unmount()}},[e,t,r]),r})(e,"init-component"),{options:c,modifiedLayout:d,interactions:u,model:p}=r,{qChildList:h}=d,f=nu(c.direction),m=(e=>{const{viewState:n}=t(),{snapshotData:r}=e;if(r){const{layouts:e}=r.objectsData,t=r.viewState?.viewStates;return{layouts:e,viewStates:t}}if(n){const{viewStates:e}=n;return{viewStates:e}}})(d),g=i(()=>Xf(d),[d]),v={modifiedLayout:d,activeTabId:g,env:o},[y,x]=kf(v);x(v);const E=i(()=>d.objects.filter(e=>g===e.childRefId),[g,d.objects]),{renderHelper:C}=(e=>{const{visibleLayoutObjects:t,options:r}=e,[o]=a(()=>new em(e)),[,i]=a(r);return o.dependencyData=e,b(async()=>(i(e=>(e!==r&&t.forEach(e=>o.recreateMap.set(e.id,!0)),r)),o.syncObjects(t)?o.createTimerForRendering()?.promise:o.resolver?.promise),[t,r]),n(()=>()=>{o.destroy()},[o]),{renderHelper:o}})({modifiedLayout:d,visibleLayoutObjects:E,viewState:m,options:c});xm(g,C,r,o);const[S]=a({current:void 0}),w=i(()=>e=>{(async({model:e,patchList:t})=>{if(e?.applyPatches){const n=await e.getEffectiveProperties(),r=[];t.forEach(e=>{const{newValue:t,propertyName:o}=e,i=void 0!==n[o]?"Replace":"Add";t?r.push({qPath:`/${o}`,qOp:i,qValue:JSON.stringify(t)}):"Replace"===i&&r.push({qPath:`/${o}`,qOp:"Remove"})}),r.length>0&&await e.applyPatches(r,!0)}})({model:p,patchList:[{newValue:e,propertyName:"cachedTabId"}]}).then(()=>{const t=y.modifiedLayout.objects.find(t=>t.childRefId===e)?.id;s.updateActiveCharts(t?[t]:[])})},[s,p,y.modifiedLayout.objects]),R=i(()=>({setSelected:e=>{const t=y.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t?w(t):S.current=e[0]}}),[w,y,S]);n(()=>{const e=(({chartObjects:e,activeTabId:t})=>!qf(e,t)&&e.length>0?e[0]?.childRefId:t)({chartObjects:y.modifiedLayout.objects,activeTabId:y.activeTabId});if(e!==y.activeTabId)w(e);else if(S.current){const e=y.modifiedLayout.objects.find(e=>e.id===S.current)?.childRefId;e&&w(e)}S.current=void 0},[d?.objects.length,y,S,w]),n(()=>{const e=(({chartObjects:e,activeTabId:t,interactions:n})=>{const r=qf(e,t);if(!r||Kf(r,n)){const n=e.find(e=>0!==e.condition);return n?.childRefId||t}return t})({chartObjects:y.modifiedLayout.objects,activeTabId:y.activeTabId,interactions:u});e!==y.activeTabId&&w(e)},[u,d?.objects,y,w]);const _=0===h.qItems.length&&u.edit;return n(()=>{l?.render(xn.jsxs(Ba,{theme:f,children:[_?xn.jsx(Qf,{Icon:Gf,dataHandler:r.dataHandler,modifiedLayout:r.modifiedLayout,translator:r.translator,sharedContainerUtilities:R}):null,!_&&xn.jsx(sm,{models:r,renderHelper:C,activeTabId:g,handleChangeTab:w,env:o})]}))},[l,r,f,_,C,g,R,w,o]),{renderHelper:C,sharedContainerUtilities:R,activeTabId:g}};var Cm={targets:[]};const Sm={showTitles:!0,title:"",subtitle:"",footnote:"",disableNavMenu:!0,showDetails:!1,objects:[],qChildListDef:{qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}},showTabs:!0,useScrollButton:!0,useDropdown:!1,showIcons:!1,components:[],defaultTabId:"",orientation:"top",fontsUsed:[]};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".init-component {\n height: 100%;\n overflow: hidden;\n}\n");const wm=e=>e.map(e=>{if("canReceive"in e){const t=e=>"libraryitem"===e.type&&("field"===e.item.type||"measure"===e.item.type||"dimension"===e.item.type);return{...e,canReceive:n=>t(n)&&e.canReceive(n)}}return e}),Rm=(e,t)=>{let n=!0;const r=t.objects.reduce((t,r)=>{const o=r.id;if(0!==r.condition){const i=e.get(o);return i&&(e=>e.supportExport())(i)&&(n=!1,t.objectMap.set(o,i)),t.objects.push(r),t}return t},{objects:[],objectMap:new Map});return n?{objects:[],objectMap:new Map}:r}}}});
89
+ e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,s,l,c,d,u,p=e.length,h=e.search(/[0-9\-\+#]/),f=h>0?e.substring(0,h):"",m=e.split("").reverse().join(""),b=m.search(/[0-9\-\+#]/),g=p-b,v=e.substring(g,g+1),y=g+("."===v||","===v?1:0),x=b>0?e.substring(y,p):"";if(n=(t="-"===(e=e.substring(h,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",s=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=s)&&(t=(+t).toFixed(s+1)),d=e[0].split(i),e[0]=d.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0===+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],l=d[1]&&d[d.length-1].length){for(m="",g=(u=t[0]).length%l,p=u.length,y=0;y<p;y++)m+=u.charAt(y),!((y-g+1)%l)&&y<p-l&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),f+(n?"-":"")+r+x}},ch({exports:{}});var yh="'Source Sans Pro', 'Arial', 'sans-serif'",xh="#333333",Eh="#595959",Ch="#737373",Sh="#cccccc",wh="#e6e6e6";function Rh(e){var t={};return[].concat(ju(e),ju([["","","color"],["object","","fontFamily"],["object","axis.label.name","color",Eh],["object","axis.label.name","fontFamily",yh],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",Sh],["object","axis.line.minor","color",wh],["object","axis.title","color"],["object","axis.title","fontFamily",yh],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",wh],["object","grid.line.major","color",Sh],["object","grid.line.minor","color",wh],["object","label.value","color",Eh],["object","label.value","fontFamily",yh],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",Eh],[!1,"label.value","lightColor",wh],["object","outOfRange","color","#999"],["object","legend.title","color",xh],["object","legend.title","fontFamily",yh],["object","legend.title","fontSize","15px"],["object","legend.label","color",Eh],["object","legend.label","fontFamily",yh],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",xh],["object","referenceLine.label.name","fontFamily",yh],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",wh],["object","referenceLine.outOfBounds","fontFamily",yh],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",Ch,function(e){return"transparent"===e?Ch:e}]])).reduce(function(e,n){var r="".concat(n[0],"-").concat(n[1],"-").concat(n[2],"}");return t[r]||(t[r]=!0,e.push(n)),e},[]).sort(function(e,t){return(e[0].split?e[0].split(".").length:0)-(t[0].split?t[0].split(".").length:0)})}var _h="object",Ah=function(e){return e};function kh(e){var t=e.theme,n=e.id,r=e.transform,o=e.extend,i=e.matrix,a={},s=r.reduce(function(e,t){var n=Mu(t,2),r=n[0],o=n[1];return e[r]=o,e},{});return i.forEach(function(e){var r=Mu(e,5),o=r[0],i=r[1],l=r[2],c=r[3],d=r[4],u=void 0===d?function(e){return e}:d,p=function(e){var t=e.theme,n=e.base,r=e.path,o=e.attribute,i=e.defaultValue,a=void 0===i?void 0:i;if(!t||!1===n)return a;var s=t.getStyle(n,r,o);return void 0===s?a:s}({theme:t,base:o===_h&&n?"".concat(_h,".").concat(n):o,path:i,attribute:l,defaultValue:c}),h=(s["".concat(i,".").concat(l)]||Ah)(u(p));uh(a,[i,l].filter(Boolean).join("."),h)}),o.forEach(function(e){var t=Mu(e,2),n=t[0],r=t[1];uh(a,n,r)}),a}const Ih={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function Lh(e){if(!e.objects)return{};const t=Iu(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map(n=>({chart_type:n.qData.visualization,chart_id:n.qInfo.qId,chart_isMaster:!!n.qData.qExtendsId,tab_isVisible:0!==t[n.qData.childRefId]?.condition,tab_isActive:n.qData.childRefId===e.cachedTabId}))}}const Th=({ref:e,theme:t,change:n})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9,component:"dropdown",change(t){(lh(t,`${e}.color`)||lh(t,`${e}.colorExpression`))&&(uh(t,`${e}.color`,void 0),uh(t,`${e}.colorExpression`,void 0)),n?.(t)},options:[{value:!1,translation:"properties.colorMode.primary"},{value:!0,translation:"properties.colorMode.byExpression"}],defaultValue:!1,placeholder:"properties.colorMode.primary"},bgColorPicker:{component:"color-picker",ref:`${e}.color`,width:3,show:t=>!lh(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>({color:t?.getStyle("object.tabbedContainer",e,"color")??"none"}),showAlpha:!0,change:e=>{n?.(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>lh(t,`${e}.useColorExpression`)}}}),Oh=({theme:e})=>({bgColorAllWrapper:Th({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:Th({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Th({ref:"background.hover",theme:e,change:e=>{uh(e,"indicator.hover.color",lh(e,"background.hover.color")),uh(e,"indicator.hover.useColorExpression",lh(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),Ph=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontSize`;return{fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.size`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),show:e=>!1!==e.icon?.show},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>!1!==e.icon?.show}}},position:{type:"string",ref:"icon.position",component:"dropdown",options:[{value:"start",translation:"properties.dock.start"},{value:"top",translation:"properties.dock.top"},{value:"end",translation:"properties.dock.end"},{value:"bottom",translation:"properties.dock.bottom"}],defaultValue:(e,{layout:t})=>"left"===t.orientation?"top":"start",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"icon.show",component:"switch",defaultValue:!0,show:e=>"tab"===e.key}}},Mh=({theme:e})=>({colorWrapper:Th({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Th({ref:"indicator.hover",theme:e,change:e=>{uh(e,"background.hover.color",lh(e,"indicator.hover.color")),uh(e,"background.hover.useColorExpression",lh(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),jh=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontFamily`,o=`${e.theme}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:`${e.ref}.fontFamily`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),change:(e,t,n)=>{const r=e.label?.fontFamily,o=(e=>{const t=[];return e.objects.forEach(e=>{const n=e.components?.find(e=>"tab"===e.key),r=n?.label?.fontFamily;r&&-1===t.indexOf(r)&&t.push(r)}),t})(n);r&&-1===o.indexOf(r)&&o.push(r),n.fontsUsed=o}},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.fontSize`,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o)},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")})}}},alignment:{component:"text-align-buttons",ref:"label.alignment",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"label.show",component:"switch",defaultValue:!0}}},Nh=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"Object.Container.Props.Label",component:"panel-section",items:{label:{component:"items",ref:e,key:t,items:jh({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:r})}}}),$h=({ref:e,key:t})=>({translation:"Visualizations.Descriptions.Width",component:"panel-section",items:{width:{component:"items",ref:e,key:t,items:{unit:{type:"string",ref:"width.unit",component:"dropdown",options:[{value:"%",translation:"Object.Table.Column.Percentage"},{value:"px",translation:"Object.Table.Column.Pixels"}],defaultValue:"%",change:e=>{if(void 0!==e.width?.value&&"%"===e.width?.unit)for(let t=0;t<e.width.value.length;t++)e.width.value[t]>100?e.width.value[t]=100:e.width.value[t]<5&&(e.width.value[t]=5)}},valuePixel:{translation:"properties.axis.minMax",component:"slider",ref:"width.value",range:!0,step:1,min:0,max:800,show:e=>"px"===e.width?.unit,defaultValue:[0,360]},valuePercentage:{translation:"properties.axis.minMax",component:"slider",type:"array",ref:"width.value",range:!0,step:1,min:5,max:100,show:e=>!e.width?.unit||"px"!==e.width?.unit,defaultValue:[5,20]}}}}}),zh=({theme:e,ref:t,key:n})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:n,items:Mh({theme:e})}}}),Dh=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:Ph({paths:{ref:"icon",theme:"icon.value"},fontResolver:n,theme:r})}},show:(e,{layout:t})=>!!t.showIcons}),Bh=({theme:e,ref:t,key:n})=>({translation:"Object.OrgChart.BackgroundColor",component:"panel-section",items:{background:{component:"items",ref:t,key:n,items:"tab"===n?{bgColorWrapper:Th({ref:"background"})}:Oh({theme:e})}}}),Fh=({fontResolver:e,theme:t})=>{const n="components",r="tab";return{component:"styling-panel",chartTitle:"Object.Container",tabTitle:"scripteditor.dataconnectors.delimiter.tab",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",ref:n,items:{label:Nh({ref:n,key:r,fontResolver:e,theme:t}),width:{...$h({ref:n,key:r}),show:(e,{layout:t})=>"left"!==t.orientation},icon:Dh({ref:n,key:r,fontResolver:e,theme:t}),background:Bh({ref:n,key:r,theme:t})}}},Gh={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},Hh={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},Uh=(e,t)=>"object"==typeof e.label?t.objects.find(t=>t.childRefId===e.childRefId)?.label||e.label.qValueExpression.qExpr:e.label,Wh=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{const n=t.getLayout(),r=_u(n,e.childRefId)?.qMeta;return!r?.privileges?.includes("update")||!n.permissions?.update},action(t,n,{app:r}){const{sense:o}=e.env.anything,i=n.getEngineId(t.childRefId);i&&(o.propertyPanel.show({id:i,app:r,parent:"current",headerLabel:Uh(t,n.getLayout())}),n.setSelectedChild([i]))}}),Yh=e=>{const{sense:t}=e.env.anything;return{label:Gh,condition:Hh,styling:Fh({fontResolver:e.fontResolver,theme:t?.theme}),editProperties:Wh(e)}},Vh={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},qh={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},Kh=e=>({type:"array",ref:"objects",itemTitleRef:e=>e.label,allowAdd:!0,customAdd:!0,allowMove:!0,allowRemove:!0,customRemove:!0,addTranslation:"Object.Container.Props.Add",cId:"childRefId",grouped:!0,add(e,t,n){const r=document.querySelector(".pp-toplist-add-button");null!==r&&n.openAddChildPopover(r)},remove(e,t,n){n.deleteChild(e.childRefId).catch(()=>{})},items:Yh(e)}),Xh=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:Vh,chartsLabel:qh,chartList:Kh(e)}}),Zh={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},Jh={type:"boolean",translation:"Object.Container.Props.UseDropdown",label:"Menu",ref:"useDropdown",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},Qh={type:"boolean",translation:"Object.Container.Props.UseScrollButtons",ref:"useScrollButton",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!0,show:e=>e.showTabs},ef={type:"boolean",translation:"Object.Container.Props.ShowIcons",ref:"showIcons",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},tf={type:"string",translation:"Object.Container.Props.DefaultTab",ref:"defaultTabId",component:"dropdown",defaultValue:void 0,options(e,t){const n=t.getLayout();return n?n.objects.map(e=>({translation:e.label,value:e.childRefId})):[]},change(e,t){const n=Lu(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},nf={type:"string",translation:"properties.orientation",ref:"orientation",component:"dropdown",options:[{value:"top",translation:"properties.orientation.horizontal"},{value:"left",translation:"properties.orientation.vertical"}],defaultValue:"top",show:e=>e.showTabs},rf=({fontResolver:e,theme:t})=>{const n="components",r="tabs";return{component:"styling-panel",chartTitle:"Object.TabContainer",tabTitle:"Object.Container.Props.ShowTabs",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,useBackground:!0,items:{label:Nh({ref:n,key:r,fontResolver:e,theme:t}),width:$h({ref:n,key:r}),indicator:zh({ref:n,key:r,theme:t}),icon:Dh({ref:n,key:r,fontResolver:e,theme:t}),background:Bh({ref:n,key:r,theme:t})}}},of={items:{details:{show:e=>!0===e.showDetails}}},af=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:rf({fontResolver:e.fontResolver,theme:t?.theme}),container:{type:"items",items:{showTabs:Zh,useDropdown:Jh,useScrollButton:Qh,showIcons:ef,orientation:nf,defaultTabId:tf}}}}},sf=e=>({uses:"settings",items:{general:of,presentation:af(e)}}),lf=e=>({type:"items",component:"accordion",items:{content:Xh(e),settings:sf(e)}}),cf=e=>{const{sense:t}=e.env.anything,n=function(e){var t=e.theme,n=e.translator,r=e.config,o=function(e){var t=e.config,n=void 0===t?{}:t,r=n.id,o=n.paths;return{id:void 0===r?Yu:"".concat(Yu,".").concat(r),paths:Array.isArray(o)?o:[]}}({config:void 0===r?{}:r}),i=o.id,a=o.paths,s={};a.forEach(function(e){var r=e.split(".");op(r);for(var o=s,a=0;a<r.length;a++){var l=r[a];a===r.length-1?o[l]=ep({theme:t,translator:n,id:i,path:e}):void 0===o[l]&&(o[l]={}),o=o[l]}});var l=function(e){var t=e.split(".");op(t);for(var n=s,r=0;r<t.length;r++){var o=t[r];if(void 0===n[o])throw new Error("font-resolver: Path '".concat(e,"' could not be resolved."));n=n[o]}return n};return s.getDefaultValue=function(e){return l(e).getDefaultValue()},s.getOptions=function(e){return l(e).getOptions()},s}({theme:t?.theme,translator:e.env.translator,flags:e.env.flags,config:{id:"tabbedContainer",paths:["label.value","icon.value"]}}),r=function(e){return{async getDropOptions(e,t,n){const{item:r}=t,o=e.getCreatePropertyHandler();if(o.setModel(e.model),"state"===t.item.type){const r=await e.model.getProperties();return o.setProperties(r),o.setLayout(e.model?.layout),this.getDropStateOptions(t,o,e.model,n)}if("visualization"===r.type)return t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"addvisualization",select(){o.addChild({initProps:{qExtendsId:r.id,qInfo:{qType:"undefined"}}})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),void n();const i=await t.item.getDropOption(t.item);"newObject"===i?.id&&t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"createvisualization",select(){o.addChild({initProps:{...i.args.init,visualization:i.args.template},children:i.args.children?.map(e=>({qProperty:e}))})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),n()},async addChild(t,n){const{model:r}=this,o=new Tu({app:r.app,data:e.propertyHandlerData});return o.setModel(r),{childModel:await o.addChild({initProps:t,children:n}),handler:o}},canReceive(e){if(this.model.layout.qExtendsId)return!1;if("libraryitem"===e.type){const{item:t}=e;if("template"===t.type&&ou.includes(t.template))return!1;if("visualization"===t.type&&ou.includes(t.visualization))return!1}return"gridcell"!==e.type||!ou.includes(e.cell.model.layout.visualization)}}}(e);return{definition:lf({...e,fontResolver:n}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new Tu({app:t,data:e.propertyHandlerData}),...r,addChild:async function(e,t){const{childModel:n,handler:o}=await r.addChild.apply(this,[e,t]);n&&o.setSelectedChild([n.id])},migrate:{properties:(e,t)=>((async(e,t)=>{if(!e.objects){const{objects:n,defaultTabId:r,components:o,orientation:i,showDetails:a}=await t.getEffectiveProperties(),s=await t.getFullPropertyTree();if(!s.qProperty.objects&&n){const l=[];s.qChildren.forEach(e=>{const n=e.qProperty;if(n.qInfo.qId){const r=async r=>{const o=await t.getChild(r),i=await o.getEffectiveProperties();return{...e,qProperty:{...n,childRefId:i.childRefId}}};l.push(r(n.qInfo.qId))}});const c=await Promise.all(l),d={...e,objects:n,defaultTabId:r??"",components:o,qChildListDef:Ih,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...s,qProperty:d,qChildren:c})}}})(e,t),e)},exportProperties:null,importProperties:(e,t)=>{const n={...e.properties};return"masterobject"!==e.properties.qInfo.qType&&(n.qInfo.qType=t.qInfo.qType),n.visualization=t.visualization,{qProperty:n,qChildren:e.qChildren}},extendMetrics:Lh}},df=({propertyHandlerData:e,element:r,sharedContainerUtilities:o,translator:i,containerId:a,dataHandler:s,renderHelper:l,chartList:c})=>{const d=t();a&&e.sync({containerId:a,element:r,sharedContainerUtilities:o,translator:i,dataHandler:s,renderHelper:l,chartList:c}),n(()=>{e.setMuiTheme(d.direction)},[d.direction,e]),n(()=>()=>{a&&e.destroy(a)},[a,e,d.direction])},uf=e=>e.reduce((e,{id:t,data:n})=>(n&&(e[t]=n),e),{}),pf=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;t.push(o.getViewState().then(e=>({id:n,data:e})).catch(()=>e))}const n=await Promise.all(t);return{viewStates:uf(n)}},hf=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;t.push(o.getSnapshotLayout().then(e=>({id:n,data:e})).catch(()=>e))}const n=await Promise.all(t);return uf(n)},ff=(e,t)=>(r(async n=>{const r=n,{snapshotData:o}=r;if(o){const n=Au(r),i=t(e.objectMap,n),[a,s]=await Promise.all([hf(i.objectMap),pf(i.objectMap)]);o.objectsData={layouts:a},r.objects=i.objects,o.viewState=s}return n}),{getViewState:()=>pf(e.objectMap)});let mf=function(e){return e.COPY="ctrl+c",e.CUT="ctrl+x",e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e}({}),bf=function(e){return e.KEY_DOWN="keydown",e.FOCUS_OUT="focusout",e}({}),gf=function(e){return e.TAB_MENU="tab-menu",e.TAB_MENU_ITEM="tab-menu-item",e.ACTIVE_TAB="active-tab-button",e.TAB_WRAPPER="tab-wrapper",e.TAB="tab-button",e.TAB_EXTRA_PRIO="MuiTab-root",e.TAB_LABEL="tab-label",e.TABS_ICON="tab-icon",e.ACTIVE_TAB_PANEL="active-tab-panel",e.TAB_INDICATOR="MuiTabs-indicator",e}({});const vf=`& .${gf.TAB}.${gf.TAB_EXTRA_PRIO}, .${gf.TAB}.${gf.ACTIVE_TAB}`,yf=`& .${gf.TAB}.${gf.TAB_EXTRA_PRIO}:hover`,xf=`& .${gf.TAB_LABEL}`,Ef=`& .${gf.TABS_ICON} svg`,Cf=`& .${gf.TAB_WRAPPER}`,Sf=`& .${gf.TAB_INDICATOR}`,wf=e=>e.getElementsByClassName(gf.ACTIVE_TAB)?.[0],Rf=e=>e.getElementsByClassName(gf.ACTIVE_TAB_PANEL)?.[0],_f=({element:e,setAccessibility:t,accessibility:r,renderHelper:s,interactions:l,env:c,models:d})=>{const{modifiedLayout:{showTabs:u,objects:p,orientation:h},translator:f}=d;n(()=>{(()=>{const t="top"===h?f.get("TabContainer.Navigation.Horizontal"):f.get("TabContainer.Navigation.Vertical"),n=((e,t)=>e.map(e=>e.label||t.get("TabContainer.Object.Untitled")).join(", "))(p,f);e.setAttribute("aria-label",f.get("TabContainer.Object.Description",[n,u?t:""]))})()},[e,u,p,f,h]);const m=c.flags.isEnabled("VIZ-7_NEW_SHEET"),b=o(),g=i(()=>()=>{t(!1),b.enabled&&b.blur?.(!0)},[b,t]),v=i(()=>t=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case mf.ESCAPE:t.stopPropagation(),b.blur?.(!0);break;case mf.ENTER:case mf.SPACE:{t.stopPropagation();const n=t.target;n?.classList.contains(gf.ACTIVE_TAB)&&Rf(e)?.focus();break}}},[e,b]),y=i(()=>t=>{const n=t.shiftKey?`shift+${t.key}`:t.key,r=s.objectMap.values().next().value,o=s.objectApis.values().next().value;switch(n){case mf.ESCAPE:{const n=wf(e);m?(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():n?.focus()})({event:t,objectApi:o,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():n?.focus()})({event:t,objectApi:r,activeTab:n});break}case mf.ENTER:case mf.SPACE:{const n=Rf(e);m?(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():t.toggleFocus?.(!0)})({event:t,objectApi:o,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():t.viewDataToggled&&"function"==typeof t.dataViewObject?.focus?t.dataViewObject.focus():"function"==typeof t.focus&&t.focus()})({event:t,objectApi:r,activeTab:n});break}case mf.OPEN_CONTEXT_MENU:t.stopPropagation(),r?.viewDataToggled||e!==document.activeElement&&(g(),e.focus())}},[e,g,m,s]),x=i(()=>e=>{const t=e.target;t?.classList.contains(gf.ACTIVE_TAB_PANEL)?y(e):v(e)},[v,y]);n(()=>(r&&e.addEventListener(bf.KEY_DOWN,x),()=>{e.removeEventListener(bf.KEY_DOWN,x)}),[e,r,x]);const[E,C]=a(!1);n(()=>{E&&(C(!1),window.setTimeout(()=>((e=>e.getElementsByClassName(gf.TAB_MENU)?.[0])(e)??wf(e))?.focus(),0))},[e,E]),n(()=>{t(!1)},[l.edit,t]),n(()=>{const n=t=>{const n=t.relatedTarget;e?.contains(n)||n?.classList.contains(gf.TAB_MENU_ITEM)||g?.()};return b.enabled&&b.active&&!l.edit&&(t(!0),C(!0),e.addEventListener(bf.FOCUS_OUT,n)),()=>{e.removeEventListener(bf.FOCUS_OUT,n)}},[b])},Af=e=>{const[t]=a(e);return[t,function(e){Object.assign(t,e)}]},kf=({isContainerActive:e,activeTabId:t,modifiedLayout:r,renderHelper:o,activeCharts:a,sharedContainerUtilities:s})=>{const l={modifiedLayout:r,activeTabId:t,renderHelper:o,isContainerActive:e},[c,d]=Af(l);d(l);const u=i(()=>()=>{const e=ku(c.modifiedLayout);for(const[t,n]of c.renderHelper.objectMap.entries()){const r=c.isContainerActive&&c.activeTabId===e[t];"setIsActive"in n&&n.setIsActive(r)}},[c]);n(()=>{c.isContainerActive&&u()},[o.objectMap,u,c]),n(()=>{u()},[e,u]),(({activeCharts:e,onSetActiveCharts:t,canSetActiveChart:r=!0})=>{const[o,i]=Af({onSetActiveCharts:t});i({onSetActiveCharts:t}),n(()=>{if(!r)return;const t=e=>{o.onSetActiveCharts(e)};e.on("setActiveCharts",t);const n=e.getActiveCharts();return n.length>0&&t(n),()=>e.removeListener("setActiveCharts",t)},[e,o,r])})({activeCharts:a,onSetActiveCharts:e=>{if(0===e.length)return;const t=c.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t&&t!==c.activeTabId&&s.setSelected(e)}})},If={getChar(e){let t,n=e;return n>9?(t=65+n-10,t>90&&(t+=6)):n=`${n}`.charCodeAt(0),!t||[48,111,79,105,73,108].indexOf(t)>-1?this.getChar(n+1):String.fromCharCode(t)},base62(e){const t=this.getChar(e%62),n=Math.floor(e/62);return n>0?this.base62(n)+t:t},id(){return this.base62(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};const Lf={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Tf{sessionObject;constructor(e){this.getOrCreateSessionObject(e).catch(()=>{})}getOrCreateSessionObject=async e=>{const t=Lf.qInfo.qId;this.sessionObject=await e.getObject(t).catch(()=>e.createSessionObject(Lf))};getMasterVisualizations=async()=>{try{if(!this.sessionObject)return[];const e=await this.sessionObject.getLayout();return("qAppObjectList"in e?e.qAppObjectList.qItems:e).map(e=>({...e.qData,qExtendsId:e.qInfo.qId})).filter(e=>!ou.includes(e.visualization))}catch{return[]}}}let Of=function(e){return e[e.TOP=0]="TOP",e[e.BOTTOM=1]="BOTTOM",e[e.UP=2]="UP",e[e.DOWN=3]="DOWN",e}({});class Pf{model;embed;app;undoRedoModel;chartList;masterVizList;mutex;constructor({embed:e,model:t,app:n,translator:r,mutex:o}){this.model=t,this.embed=e,this.app=n;const i=n;i&&i.getUndoInfoObject&&i.getUndoInfoObject().then(e=>{this.undoRedoModel=e}).catch(()=>{}),n&&(this.masterVizList=new Tf(n)),e&&r&&(this.chartList=new iu(e,r)),this.mutex=o}rememberAsGroup=async e=>{let t;this.undoRedoModel&&(t=await this.undoRedoModel.startGroup());const n=await e();return t&&this.undoRedoModel&&await this.undoRedoModel.endGroup(t),n};generateProperties=async(e,t)=>await this.embed.generateProperties({type:e,properties:t});async addChild(e,t,n){if(this.model&&!ou.includes(e.visualization))try{await this.mutex.lock();const{model:r}=this,o=async()=>{e.childRefId=If.id();const o=await r.createChild(e);if(o){const t=await r.getProperties();t.objects.unshift({childRefId:e.childRefId,...n,condition:{qValueExpression:{qExpr:""}}}),await r.setProperties(t)}return t&&o&&await Promise.all(t.map(({qProperty:e})=>o.createChild(e))),o};return await this.rememberAsGroup(o)}catch{return}finally{this.mutex.unlock()}}addVizAsChild=async({type:e,initProps:t,objectInitProps:n,children:r})=>{try{const o=await this.generateProperties(e,t);let i=n?.label||t?.title;if(!i){const n=this.getChart(t?.visualization),r=n?.libraryInfo;i=r?.translation||r?.name||e}const a={...n,label:i};return await this.addChild(o,r,a)}catch{return}};addMasterObjectAsChild=async({initProps:e,objectInitProps:t,children:n})=>{try{if(!e||!e.qExtendsId||!this.app)return;const r=await this.app.getObject(e.qExtendsId),o=await r.getProperties(),i=t?.label||o.title||o.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},s={...t,label:i};return await this.addChild(a,n,s)}catch{return}};deleteChildren=async e=>{const{model:t}=this;if(0===e.length||!t)return!1;try{await this.mutex.lock();const n=await t.getFullPropertyTree(),{qChildren:r,qProperty:o}=n,i=new Set(e);return n.qChildren=r.filter(({qProperty:e})=>{const t=e.childRefId;return!t||!i.has(t)}),n.qProperty.objects=o.objects.filter(e=>!i.has(e.childRefId)),await t.setFullPropertyTree(n),!0}catch{return!1}finally{this.mutex.unlock()}};moveChild=async(e,t)=>{if(this.model)try{await this.mutex.lock();const n=await this.model.getProperties(),{objects:r}=n,o=r.findIndex(e=>e.childRefId===t);let i=!1;switch(e){case Of.TOP:{if(0===o)break;const e=r.splice(o,1)[0];r.unshift(e),i=!0;break}case Of.BOTTOM:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.push(e),i=!0;break}case Of.UP:{if(0===o)break;const e=r.splice(o,1)[0];r.splice(o-1,0,e),i=!0;break}case Of.DOWN:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.splice(o+1,0,e),i=!0;break}}i&&await this.model.setProperties(n)}finally{this.mutex.unlock()}};getCharts=()=>this.chartList?.getCharts()||{};getMasterVizList=()=>this.masterVizList?.getMasterVisualizations()||Promise.resolve([]);getChart=e=>this.chartList?.getChart(e);getChartLabelById=(e,t)=>{const n=e?.qChildList?.qItems.find(e=>e.qInfo.qId===t);if(!n)return"";const{visualization:r,title:o}=n.qData;if(o)return o;const i=this.getChart(r);return i?.libraryInfo?.translation||r}}class Mf{locked=!1;tasks=[];id;constructor(e){this.id=e}lock=async()=>this.locked?new Promise(e=>{this.tasks.push(e)}):(this.locked=!0,!0);unlock=()=>{if(this.tasks.length>0){const e=this.tasks.shift();e?.(!0)}else this.locked=!1}}const jf={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},Nf={index:-1,color:"none",alpha:1},$f=e=>{let t=parseFloat(e[1]),n=parseFloat(e[3]),r=parseFloat(e[5]);return t%=360,n/=100,r/=100,t=Math.max(0,Math.min(t,360)),n=Math.max(0,Math.min(n,1)),r=Math.max(0,Math.min(r,1)),{h:t,s:n,l:r,v:r}},zf=(e,t,n,r,o=1)=>{let i,a,s,l;switch(n=Math.floor(n)){case 0:l=[e,t,0];break;case 1:l=[t,e,0];break;case 2:l=[0,e,t];break;case 3:l=[0,t,e];break;case 4:l=[t,0,e];break;case 5:l=[e,0,t];break;default:l=[0,0,0]}return i=l[0]+r,a=l[1]+r,s=l[2]+r,i=Math.round(255*i),a=Math.round(255*a),s=Math.round(255*s),`rgba(${i},${a},${s},${o})`},Df=e=>{const{h:t,s:n,l:r}=$f(e),o=e.length>7?parseFloat(e[7]):1,i=r<=.5?2*r*n:(2-2*r)*n,a=t/60,s=i*(1-Math.abs(a%2-1));return zf(i,s,a,r-.5*i,o)},Bf={resolveExpression:({colorExpression:e=""})=>{let t=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e);if(t)return`rgb(${t[1]},${t[2]},${t[3]})`;if(t=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return`rgba(${t[1]},${t[2]},${t[3]},${t[4]})`;if(t=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e),t){const e=Math.round(Number(t[1])/255*100)/100;return`rgba(${t[2]},${t[3]},${t[4]},${e})`}if(t=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return Df(t);if(t=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return Df(t);if(t=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return(e=>{const{h:t,s:n,v:r}=$f(e),o=r*n,i=t/60,a=o*(1-Math.abs(i%2-1));return zf(o,a,i,r-o)})(t);if(t=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e),t)return e;if(t=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e),t)return e;const n=e&&jf[e.toLowerCase()];if(n){const e=void 0!==n.a?n.a:1;return`rgba(${n.r},${n.g},${n.b},${e})`}return"none"},getColor({style:e,defaultColor:t,theme:n}){const r=e?.color||Nf;let o;return o=e?.useColorExpression?Bf.resolveExpression(e):"string"==typeof r?r:n?.getColorPickerColor(r)||"",o&&"none"!==o?o:t}},Ff=()=>xn.jsx(vu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:"M15 6V5H5V2H1.5a.5.5 0 0 0-.5.5V6H0V2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4h-1Zm-5-4H6v2h4V2Zm4.5 0H11v2h4V2.5a.5.5 0 0 0-.5-.5Zm1.5 9h-1V8h1v3Zm0 3a1 1 0 0 1-1 1h-1v-1h.6a.4.4 0 0 0 .4-.4V13h1v1Zm-7 1v-1h3v1H9Zm-5 0v-1h3v1H4Zm-3 0a1 1 0 0 1-1-1v-1h1v.6c0 .22.18.4.4.4H2v1H1ZM0 8h1v3H0V8Zm4-.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4ZM5 11h6V8H5v3Z"})}),Gf=({libraryInfo:e,style:t,id:n})=>xn.jsx("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:gf.TABS_ICON,children:xn.jsx(e.IconDefinition,{})}),Hf=({style:e,id:t})=>xn.jsx("div",{style:e,"data-testid":"tab-hidden-icon",id:t,children:xn.jsx(yu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:"m13.441.795.764.646-1.839 2.174c.568.434 1.076.914 1.522 1.385a13.79 13.79 0 0 1 2.109 3 13.798 13.798 0 0 1-2.108 3c-1.382 1.457-3.345 3-5.89 3-1.34 0-2.52-.428-3.536-1.045l-1.904 2.25-.764-.646L13.441.795ZM11.72 4.379l-1.427 1.686a3 3 0 0 1-3.82 4.516l-1.354 1.6c.86.497 1.819.819 2.88.819 2.121 0 3.834-1.287 5.161-2.685A12.666 12.666 0 0 0 14.857 8a12.691 12.691 0 0 0-1.697-2.315c-.35-.37-.727-.73-1.132-1.063l-.308-.243ZM8 2a6.428 6.428 0 0 1 2.242.412l.305.123-.681.805A5.359 5.359 0 0 0 8 3C5.877 3 4.164 4.287 2.837 5.685A12.664 12.664 0 0 0 1.14 8a12.66 12.66 0 0 0 1.697 2.315l.301.308.311.299-.646.765A14.567 14.567 0 0 1 2.109 11 13.791 13.791 0 0 1 0 8a13.801 13.801 0 0 1 2.109-3C3.49 3.543 5.454 2 8 2Zm1.633 4.845-2.5 2.956a1.999 1.999 0 0 0 2.5-2.956Zm-3.917-.793a3 3 0 0 1 2.692-1.025l.202.035-.809.948A2 2 0 0 0 6 7.967l.003.152-.808.947a3 3 0 0 1 .521-3.014Z"})})}),Uf=()=>xn.jsx(yu,{viewBox:"0 0 16 16",children:xn.jsx("path",{d:"M12 4H6V3h6v1ZM6 8.5h4v-1H6v1Zm9 4.5H6v-1h9v1ZM3 11a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1Zm0-5.5a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1ZM3 2a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h1Zm0 1H2v1h1V3Z"})}),Wf=za(Td)({width:28,overflow:"hidden"}),Yf=za(Td)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),Vf=(e,t)=>e.find(e=>e.childRefId===t),qf=(e,t)=>!t.edit&&0===e.condition,Kf=e=>{const{objects:t,defaultTabId:n,cachedTabId:r}=e;return r||(n&&t.some(e=>e.childRefId===n)?n:t[0]?.childRefId||"")};class Xf{modifiedLayout;themeStyle;style;objectMap;activeTabId;theme;constructor({modifiedLayout:e,themeService:t}){this.modifiedLayout=e,this.activeTabId=Kf(this.modifiedLayout),this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=Iu(this.modifiedLayout),this.style=this.createStyleClasses()}getTabsWidth=e=>{const t=this.resolveComponentStyle({compPath:"width.value",themePath:"tabWidth.value"});if(void 0===t||2!==t.length||e!==this.modifiedLayout.orientation)return{};const n=this.resolveComponentStyle({compPath:"width.unit",themePath:"tabWidth.unit",defaultValue:"%"});return{minWidth:`${t[0]}${n}`,maxWidth:`${t[1]}${n}`}};getTabWidth=e=>{const t=e?.value,n=e?.unit??"%";if(void 0===t||2!==t.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${t[0]}${n}`,maxWidth:`${t[1]}${n}`}};getColorStyle=(e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t});return Bf.getColor({style:n,theme:this.theme})??n};getTabBackgroundStyle=(e,t)=>{let n;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});n=Bf.getColor({style:e,theme:this.theme})}return n??Bf.getColor({style:t,theme:this.theme})};createTabClasses=()=>this.modifiedLayout.objects?.reduce((e,t)=>{const n=t?.childRefId,r=t?.components?.find(e=>"tab"===e.key);return e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}`]={textAlign:lh(r,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(n,r?.background),...this.getTabWidth(r?.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${n}`]={fontSize:lh(r,"label.fontSize"),fontFamily:lh(r,"label.fontFamily"),color:Bf.getColor({style:lh(r,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${n} svg`]={height:lh(r,"icon.size"),color:Bf.getColor({style:lh(r,"icon.color"),theme:this.theme})},e},{});createTabsClasses=()=>({[xf]:{fontSize:this.resolveComponentStyle({compPath:"label.fontSize",themePath:"label.value.fontSize"}),fontFamily:this.resolveComponentStyle({compPath:"label.fontFamily",themePath:"label.value.fontFamily"}),color:this.resolveComponentStyle({compPath:"label.color.color",themePath:"label.value.color"})},[Ef]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[vf]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[yf]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[Cf]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[Sf]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}});createStyleClasses=()=>({...this.createTabsClasses(),...this.createTabClasses()});getStyleClasses(){return this.style}resolveComponentStyle=({key:e="tabs",compPath:t,themePath:n=t,defaultValue:r})=>{const o=this.modifiedLayout.components?.find(t=>t.key===e);return lh(o,t)??lh(this.themeStyle,n)??r};getTabStyle(e){return this.objectMap[e].components?.find(e=>"tab"===e.key)}}const Zf=()=>{const e=s(),n=l(),r=c(),o=d(),b=u(),g=p(),v=t(),y=h(),x=f(),E=function(e){var t=e.theme,n=e.config,r=void 0===n?{}:n,o=r.id,i=r.resolve,a=void 0===i?[]:i,s=r.transform,l=void 0===s?[]:s,c=r.extend,d=void 0===c?[]:c,u={theme:t,matrix:Rh(a),styles:void 0};return u.styles=kh({theme:t,id:o,transform:l,extend:d,matrix:u.matrix}),{getStyles:function(){return u.styles},getTheme:function(){return u.theme},setTheme:function(e){u.theme=e,u.styles=kh({theme:e,id:o,transform:l,extend:d,matrix:u.matrix})}}}({theme:m(),config:{id:"tabbedContainer",resolve:[["object.tabbedContainer","indicator.selected","color"],["object.tabbedContainer","indicator.hover","color"],["object.tabbedContainer","background.hover","color"],["object.tabbedContainer","icon.value","color"],["object.tabbedContainer","icon.value","fontSize"]]}}),C=i(()=>new iu(o,g),[o,g]),[S]=a(()=>new Mf(b.id)),[w,R]=a(!1),_=i(()=>o&&b&&n?new Pf({embed:o,model:b,app:n,translator:g,mutex:S}):void 0,[o,b,n,g,S]),A=i(()=>Au(r),[r]),k=i(()=>new Xf({modifiedLayout:A,themeService:E}),[A,E]);return i(()=>({app:n,modifiedLayout:A,embed:o,model:b,emitter:y,interactions:x,dataHandler:_,chartList:C,styleModel:k,mutex:S,options:v,accessibility:w,setAccessibility:R,translator:g,element:e}),[A,o,b,n,y,x,_,C,k,S,v,w,g,e])},Jf=({dataHandler:e,modifiedLayout:t,translator:n,sharedContainerUtilities:r,Icon:o})=>{const[i,a]=_(void 0);if(!e||!t)return null;const s=!t.qExtendsId;return xn.jsx(pu,{children:xn.jsxs(uu,{children:[xn.jsx(o,{}),s?xn.jsxs(xn.Fragment,{children:[xn.jsx(gu,{sx:{width:250,height:32,fontFamily:"inherit"},className:"init-button",variant:i?"contained":"outlined",onClick:e=>{a(e.currentTarget)},"aria-label":n.get("LayoutContainer.EmptyList.AddContent"),disableRipple:!0,children:n.get("LayoutContainer.EmptyList.AddContent")}),xn.jsx(Cu,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:r})]}):xn.jsx(Xs,{variant:"inherit",children:n.get("LayoutContainer.EmptyList.EmptyHint")})]})})};class Qf{_rendered=new Set;_objectMap=new Map;_objectApis=new Map;_resolver;_dependencyData;_recreateMap=new Map;constructor(e){this._dependencyData=e}set dependencyData(e){this._dependencyData=e}get rendered(){return this._rendered}get objectMap(){return this._objectMap}get objectApis(){return this._objectApis}get resolver(){return this._resolver}get recreateMap(){return this._recreateMap}createTimerForRendering=()=>{if(!this.resolver){let e;const t=setTimeout(()=>{this.doResolve()},9e4),n=new Promise(t=>{e=t});this._resolver={promise:n,resolve:e,timer:t}}return this._resolver};doResolve=()=>{this.resolver&&(clearTimeout(this.resolver?.timer),this.resolver.resolve?.(!0),this._resolver=void 0)};tryToResolve=()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){(0===e.length||e.every(e=>this.rendered.has(e.id)))&&this.doResolve()}};syncObjects(e){const t=new Set,n=new Set([...Array.from(this.objectMap.keys()),...Array.from(this.objectApis.keys()),...this.rendered]),r=new Set(n);let o=!1;return e.forEach(e=>{n.has(e.id)?(this.rendered.has(e.id)&&t.add(e.id),r.delete(e.id)):o=!0}),r.forEach(e=>{const t=this.objectMap.get(e);t&&(this.confirmPotentialSelections(t),t.destroy?.(),this.objectMap.delete(e)),this.objectApis.get(e)?.destroy(),this.objectApis.delete(e)}),this._rendered=t,this.tryToResolve(),o}destroy(){for(const e of this.objectApis.values())e.destroy();this._objectMap=new Map,this._objectApis=new Map}saveObject(e,t){this.objectMap.set(e,t)}saveObjectApi(e,t){this._objectApis.set(e,t)}onRendered(e){this.rendered.add(e),this.tryToResolve()}getChildrenObjects(){const{visibleLayoutObjects:e}=this._dependencyData,t=[];return e.forEach(e=>{const n=this.objectMap.get(e.id);n&&t.push(n)}),t}getChildLayout(e){const{modifiedLayout:t}=this._dependencyData;return t.qChildList.qItems.find(t=>t.qInfo.qId===e)}getObjectOptions(e){const{viewState:t,modifiedLayout:n,options:r}=this._dependencyData,{chartAnimations:o,direction:i,progressiveRendering:a,freeResize:s,navigation:l}=r;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!!n?.qExtendsId,isSnapshot:!!n.snapshotData,...!!t?.viewStates?.[e]&&{viewState:t?.viewStates[e]},...!!t?.layouts?.[e]&&{layout:t.layouts[e]},direction:i,chartAnimations:o,progressiveRendering:a,freeResize:s,navigation:l,disableThemeBorder:!1,fallbackToClient:r.fallbackToClient}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const em=({chartObject:e,embed:t,renderHelper:n,direction:r,interactions:o,env:i})=>{const a=k(null),{id:s}=e;A(()=>{if(s&&a.current){const e=n.getObjectOptions(s)||{};e.disableThemeBorder=!0,t.render({id:s,element:a.current,options:e}).then(e=>{n.saveObjectApi(s,e)}).catch(e=>{const t=n.getChildLayout(s)?.qInfo?.qType;console.error("Could not render chart with id",s,t,e)})}},[s,t,n,r]);const l=I(()=>()=>{if(e?.id&&i.anything){const t=e?.label,{sense:r}=i.anything,o="current",a=n.objectMap.get(e.id);a&&r.propertyPanel.show({model:a.model,parent:o,headerLabel:t,keepCurrentActiveCell:!0})}},[i,e,n]);return A(()=>{const e=a?.current;return e&&o?.edit&&e.addEventListener("dblclick",l),()=>{e?.removeEventListener("dblclick",l)}},[a,l,o]),xn.jsx("div",{ref:a,style:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`})};let tm=function(e){return e.TABS_HEIGHT="36px",e}({});const nm=({charts:e,handleChangeTab:t,activeTabId:n,element:r,translator:o,accessibility:i,disabled:a})=>{const[s,l]=C.useState(null),c=Boolean(s),d=()=>{l(null)},u=L(e=>{e?.focus()},[]);return xn.jsxs(xn.Fragment,{children:[xn.jsx(Pl,{onClick:e=>{l(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":o.get("Container.Label.Visualizations"),className:gf.TAB_MENU,sx:{m:"2px"},children:xn.jsx(Uf,{})}),xn.jsx(ud,{anchorEl:s,open:c,onClose:d,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}},children:e.map(e=>xn.jsx(bd,{className:gf.TAB_MENU_ITEM,ref:n===e.childRefId&&c?u:null,onClick:()=>{(e=>{t(e.childRefId),d(),window.setTimeout(()=>{r.getElementsByClassName(gf.ACTIVE_TAB_PANEL)?.[0]?.focus()},0)})(e)},sx:{...n===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{}},"aria-label":e.label,title:e.label,children:xn.jsx(Xs,{variant:"inherit",noWrap:!0,children:e.label})},`chartTabMenu-${e.childRefId}`))})]})},rm=({label:e,id:t})=>xn.jsx(Sl,{className:gf.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"},children:xn.jsx("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"},children:e})}),om=({libraryInfo:e,chart:t,iconPosition:n,id:r})=>{let o;switch(n){case"bottom":o={marginTop:"6px"};break;case"top":o={marginBottom:"6px"};break;case"end":o={marginInlineStart:"8px"};break;default:o={marginInlineEnd:"8px"}}o.display="flex",o.alignItems="center",o.height="100%",o.flex="1 0 0";return 0===t.condition?xn.jsx(Hf,{id:`${gf.TABS_ICON}-${r}`,style:o}):e?xn.jsx(Gf,{id:`${gf.TABS_ICON}-${r}`,libraryInfo:e,style:o}):null},im=({models:e,activeTabId:t,handleChangeTab:n})=>{const{modifiedLayout:r,chartList:o,interactions:i,accessibility:a}=e,s=o?.getCharts(),l=r.objects.filter(e=>!qf(e,i)),{orientation:c,tabContainerStyle:d,ScrollButtonComponent:u}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:Yf}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:Wf})(r),p=!1===i.active&&!i.edit,[h,f]=_(!1),m=L(e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void f("vertical"===c?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}f(!1)},[c]);return xn.jsxs(Sl,{className:gf.TAB_WRAPPER,sx:d,ref:e=>{m(e)},children:[r.useDropdown&&h?xn.jsx(nm,{charts:l,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}):null,xn.jsx(Ud,{value:t,onChange:(e,t)=>{n(t)},ScrollButtonComponent:u,variant:"scrollable",orientation:c,scrollButtons:!!r.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:tm.TABS_HEIGHT},children:l.map(n=>{const o=_u(r,n.childRefId)?.qData?.visualization,i=o&&s?.[o]?.libraryInfo,l=e.styleModel.getTabStyle(n.childRefId),d=0===n.condition||r.showIcons&&i&&!1!==l?.icon?.show,u="vertical"===c?"top":"start",h=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:u}),f=e.styleModel.resolveComponentStyle({compPath:"label.show"}),m=n.label&&(l?.label?.show??!1!==f),b=`${r.qInfo.qId}-${n.childRefId}`;return xn.jsx(Ed,{className:`${gf.TAB} ${t===n.childRefId?gf.ACTIVE_TAB:""}`,disabled:p,id:`tab-${b}`,value:n.childRefId,title:n.label,label:m?xn.jsx(rm,{label:n.label,id:b}):void 0,icon:d?xn.jsx(om,{libraryInfo:i,chart:n,iconPosition:h,id:b}):"",iconPosition:h,"data-testid":`container-tab-${n.childRefId}`,sx:{textAlign:"vertical"!==c||r.showIcons?"center":"start",minWidth:"vertical"===c?"100%":void 0,minHeight:tm.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${b}`,tabIndex:a&&t===n.childRefId?0:-1},n.childRefId)})})]})},am=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:r,env:o})=>{const{modifiedLayout:i,embed:a,interactions:s,options:l,styleModel:c,accessibility:d}=e,u=i.objects,p=s.edit||!!u.find(e=>0!==e.condition),h=i.showTabs&&p,f="left"===i.orientation?"row":"column",m=c.getStyleClasses();return xn.jsxs(Sl,{sx:{display:"flex",flexDirection:f,height:"100%",width:"100%",direction:l.direction,...m},children:[h?xn.jsx(im,{models:e,activeTabId:n,handleChangeTab:r}):null,u.map(e=>{const r=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,c=n===e.childRefId&&!qf(e,s);return xn.jsx(Sl,{role:"tabpanel",id:r,"aria-label":e.label,sx:{flex:"1 1 auto",minHeight:0,width:"100%",padding:"2px",boxSizing:"border-box",direction:"ltr","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200}},...c?{className:gf.ACTIVE_TAB_PANEL,tabIndex:d?0:-1}:{hidden:!0},children:c?xn.jsx(em,{chartObject:e,renderHelper:t,direction:l.direction,embed:a,interactions:s,env:o}):null},r)})]})};let sm=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),lm=function(e){return e.COPY="copy",e.PASTE_AND_REPLACE="paste-and-replace",e.PASTE="paste",e.DUPLICATE="duplicate",e.DELETE="delete",e.CUT="cut",e.EDIT_PROPERTIES="edit",e.ZOOM_IN="zoom-in",e.VISUAL_EXPLORATION="visual-exploration",e.MONITOR_IN_HUB="addto",e.REORDER_LAYERS_GROUP="reorder-layers-group",e.BRING_TO_FRONT="bring-to-front",e.BRING_FORWARD="bring-forward",e.SEND_TO_BACK="send-to-back",e.SEND_BACKWARDS="send-backwards",e.CONTAINER_HEADER="container-header",e.CHART_HEADER="chart-header",e.ALERT_GROUP="alertGroup",e.ADD_TO_MASTER_ITEMS="add-to-master-items",e.UNLINK_VISUALIZATION="unlink",e.DEVELOPER="object-developer",e.SHOW_DETAILS="object-info",e.EXPLAIN_KEY_DRIVERS_OLD_ID="explainKeyDrivers",e.EXPLAIN_KEY_DRIVERS="key-driver",e.SUBSCRIBE="subscribe",e.NOTES_GROUP="notesGroup",e.DOWNLOAD="download",e.SHARE_IMAGE="share",e}({});const cm=[lm.PASTE_AND_REPLACE,lm.ZOOM_IN,lm.VISUAL_EXPLORATION],dm=[lm.VISUAL_EXPLORATION,lm.ALERT_GROUP,lm.SHOW_DETAILS,lm.EXPLAIN_KEY_DRIVERS,lm.EXPLAIN_KEY_DRIVERS_OLD_ID],um=[lm.DELETE,lm.CUT,lm.ADD_TO_MASTER_ITEMS,lm.UNLINK_VISUALIZATION],pm=[lm.PASTE_AND_REPLACE],hm=(e,t)=>{const{childRefId:n}=e.model.layout,r=t.objects.find(e=>e.childRefId===n);return{...e,additionalData:{label:r?.label}}},fm=(e,t,n,r,o)=>{const i=t.getSupportFunction(lm.COPY);if(!i)return void e.deleteItem(lm.COPY);const a=()=>{i(hm(n,r)).catch(()=>{})},s=e.items.find(e=>e.id===lm.COPY);if(s)s.updateItem({select:a});else if(o){const t=e.items.findIndex(e=>e.id===lm.CUT),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:lm.COPY,id:lm.COPY,icon:"copy",select:a,items:[]},n)}},mm=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,bm=async(e,t,n,r,o)=>{if(o.flags.isEnabled("GVC_48_CHART_CONTEXT_MENU_ITEM_GENERATION"))return;const i=t.getBuilder("default");if(!i)return;const a=await i();a.addItem({translation:"contextMenu.containerOptionsHeader",tid:lm.CONTAINER_HEADER,id:lm.CONTAINER_HEADER,bold:!0,items:[]},0);const s=mm(n);a.items.forEach(e=>{(dm.includes(e.id)||!s&&pm.includes(e.id))&&a.deleteItem(e.id)}),s&&await(async(e,t,n)=>{const r=t.getSupportFunction(sm.PASTE),o=await(r?.()?.catch(()=>{}));if(!o||ou.includes(o.template))return void e.deleteItem(lm.PASTE_AND_REPLACE);const i=()=>{n()},a=e.items.find(e=>e.id===lm.PASTE_AND_REPLACE||e.id===lm.PASTE);if(a)a.updateItem({translation:"contextMenu.paste",select:i});else{const t=e.items.findLastIndex(e=>e.id===lm.COPY||e.id===lm.DEVELOPER||e.id===lm.CONTAINER_HEADER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:lm.PASTE_AND_REPLACE,id:lm.PASTE_AND_REPLACE,icon:"paste",select:i,items:[]},n)}})(a,t,r),e.updateItem({items:a.items}),1===e.items.length&&e.deleteItem(lm.CONTAINER_HEADER)},gm=e=>{const t={[lm.MONITOR_IN_HUB]:!0,[lm.SUBSCRIBE]:!0,[lm.NOTES_GROUP]:!0,[lm.DOWNLOAD]:!0,[lm.SHARE_IMAGE]:!0};e.items.forEach(n=>{t[n.id]?e.deleteItem(n.id):n.items&&gm(n)})},vm=(e,t,n,r,o,i)=>a=>{const{dataHandler:s,modifiedLayout:l}=r;if(mm(r)){n.isInvalid||(((e,t,n,r)=>{const{model:o,modifiedLayout:i}=n,a=e.items.findLastIndex(e=>e.id===lm.CHART_HEADER||e.id===lm.REORDER_LAYERS_GROUP),s=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:lm.EDIT_PROPERTIES,id:lm.EDIT_PROPERTIES,icon:lm.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,n=i.objects.find(t=>t.childRefId===e),a=n?.label,{sense:s}=r.anything,l=o;s.propertyPanel.show({model:t.model,parent:l,headerLabel:a})}},s)})(a,n,r,o),((e,t,n,r,o,i)=>{const a=r.getSupportFunction(lm.COPY);if(!a)return void e.deleteItem(lm.CUT);const s=()=>{o&&a(hm(n,i)).then(async()=>{await(o?.deleteChildren([t]))}).catch(()=>{})},l=e.items.find(e=>e.id===lm.CUT);if(l)l.updateItem({select:s});else{const t=e.items.findLastIndex(e=>e.id===lm.ADD_TO_MASTER_ITEMS||e.id===lm.UNLINK_VISUALIZATION||e.id===lm.EDIT_PROPERTIES||e.id===lm.REORDER_LAYERS_GROUP||e.id===lm.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:lm.CUT,id:lm.CUT,icon:"cut",select:s,items:[]},n)}})(a,t,n,e,s,l),fm(a,e,n,l,!0),((e,t,n,r,o)=>{const i=t.getSupportFunction(sm.COPY),a=t.getSupportFunction(sm.PASTE);if(!i||!a)return void e.deleteItem(lm.DUPLICATE);const s=()=>{i(hm(n,r)).then(()=>{o()}).catch(()=>{})},l=e.items.find(e=>e.id===lm.DUPLICATE);if(l)l.updateItem({select:s});else{const t=e.items.findIndex(e=>e.id===lm.COPY),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:lm.DUPLICATE,id:lm.DUPLICATE,icon:lm.DUPLICATE,items:[],select:s},n)}})(a,e,n,l,i)),((e,t,n)=>{const r=()=>{n&&n.deleteChildren([t]).catch(()=>{})},o=e.items.find(e=>e.id===lm.DELETE);if(o)o.updateItem({select:r});else{const t=e.items.findLastIndex(e=>e.id===lm.DUPLICATE||e.id===lm.ADD_TO_MASTER_ITEMS||e.id===lm.UNLINK_VISUALIZATION||e.id===lm.REORDER_LAYERS_GROUP||e.id===lm.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:lm.DELETE,id:lm.DELETE,icon:"bin",items:[],select:r},n)}})(a,t,s)}else fm(a,e,n,l,!1)},ym=(e,t,n,r)=>{g(async(o,i,a)=>{if(!a)return!1;const s=((e,t)=>()=>{if(!e)return;const n=t.getSupportFunction(sm.PASTE);n&&n().then(async({template:t,init:n,children:r,additionalData:o})=>{const{label:i}=o,a={label:i};n.qExtendsId?await e.addMasterObjectAsChild({initProps:n,children:r,objectInitProps:a}):await e.addVizAsChild({type:t,initProps:n,children:r,objectInitProps:a})}).catch(e=>{e&&t.getSupportFunction(sm.RESET_COPY_BUFFER)})})(n.dataHandler,a);if(await bm(o,a,n,s,r),gm(o),!(e=>{let t;t="qv-radial-contextmenu"===e.type?e.touches[0]?.target:e.target;return t&&((e,t)=>{let n=e;for(;n;){if(n.classList?.contains(t))return n;n=n.parentNode}return null})(t,gf.ACTIVE_TAB_PANEL)})(i))return!0;const l=n.modifiedLayout.objects.find(t=>t.childRefId===e)?.id;if(!l)return!0;const c=t.objectMap.get(l);if(!c)return!0;const d=vm(a,e,c,n,r,s),u=await(async(e,t,n,r)=>{const o=mm(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:lm.CHART_HEADER,id:lm.CHART_HEADER,bold:!0,items:[]},0),r(a),a.items.forEach(e=>{(cm.includes(e.id)||!o&&um.includes(e.id))&&a.deleteItem(e.id)}),1===a.items.length&&a.deleteItem(lm.CHART_HEADER),a})(a,c,n,d);return!u||(o.items.length>0&&u.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...o.items]},u.items.length),o.updateItem({items:u.items}),!0)})},xm=({element:e,models:r,env:o,activeCharts:s})=>{const l=((e,t)=>{const[r,o]=a(void 0);return n(()=>{if(0===e.getElementsByClassName(t).length){const n=document.createElement("div");n.className=t,e.appendChild(n);const r=lu.createRoot(n);o(r)}return()=>{r?.unmount()}},[e,t,r]),r})(e,"init-component"),{options:c,modifiedLayout:d,interactions:u,model:p}=r,{qChildList:h}=d,f=nu(c.direction),m=(e=>{const{viewState:n}=t(),{snapshotData:r}=e;if(r){const{layouts:e}=r.objectsData,t=r.viewState?.viewStates;return{layouts:e,viewStates:t}}if(n){const{viewStates:e}=n;return{viewStates:e}}})(d),g=i(()=>Kf(d),[d]),v={modifiedLayout:d,activeTabId:g,env:o},[y,x]=Af(v);x(v);const E=i(()=>d.objects.filter(e=>g===e.childRefId),[g,d.objects]),{renderHelper:C}=(e=>{const{visibleLayoutObjects:t,options:r}=e,[o]=a(()=>new Qf(e)),[,i]=a(r);return o.dependencyData=e,b(async()=>(i(e=>(e!==r&&t.forEach(e=>o.recreateMap.set(e.id,!0)),r)),o.syncObjects(t)?o.createTimerForRendering()?.promise:o.resolver?.promise),[t,r]),n(()=>()=>{o.destroy()},[o]),{renderHelper:o}})({modifiedLayout:d,visibleLayoutObjects:E,viewState:m,options:c});ym(g,C,r,o);const[S]=a({current:void 0}),w=i(()=>e=>{(async({model:e,patchList:t})=>{if(e?.applyPatches){const n=await e.getEffectiveProperties(),r=[];t.forEach(e=>{const{newValue:t,propertyName:o}=e,i=void 0!==n[o]?"Replace":"Add";t?r.push({qPath:`/${o}`,qOp:i,qValue:JSON.stringify(t)}):"Replace"===i&&r.push({qPath:`/${o}`,qOp:"Remove"})}),r.length>0&&await e.applyPatches(r,!0)}})({model:p,patchList:[{newValue:e,propertyName:"cachedTabId"}]}).then(()=>{const t=y.modifiedLayout.objects.find(t=>t.childRefId===e)?.id;s.updateActiveCharts(t?[t]:[])})},[s,p,y.modifiedLayout.objects]),R=i(()=>({setSelected:e=>{const t=y.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t?w(t):S.current=e[0]}}),[w,y,S]);n(()=>{const e=(({chartObjects:e,activeTabId:t})=>!Vf(e,t)&&e.length>0?e[0]?.childRefId:t)({chartObjects:y.modifiedLayout.objects,activeTabId:y.activeTabId});if(e!==y.activeTabId)w(e);else if(S.current){const e=y.modifiedLayout.objects.find(e=>e.id===S.current)?.childRefId;e&&w(e)}S.current=void 0},[d?.objects.length,y,S,w]),n(()=>{const e=(({chartObjects:e,activeTabId:t,interactions:n})=>{const r=Vf(e,t);if(!r||qf(r,n)){const n=e.find(e=>0!==e.condition);return n?.childRefId||t}return t})({chartObjects:y.modifiedLayout.objects,activeTabId:y.activeTabId,interactions:u});e!==y.activeTabId&&w(e)},[u,d?.objects,y,w]);const _=0===h.qItems.length&&u.edit;return n(()=>{l?.render(xn.jsxs(Ba,{theme:f,children:[_?xn.jsx(Jf,{Icon:Ff,dataHandler:r.dataHandler,modifiedLayout:r.modifiedLayout,translator:r.translator,sharedContainerUtilities:R}):null,!_&&xn.jsx(am,{models:r,renderHelper:C,activeTabId:g,handleChangeTab:w,env:o})]}))},[l,r,f,_,C,g,R,w,o]),{renderHelper:C,sharedContainerUtilities:R,activeTabId:g}};var Em={targets:[]};const Cm={showTitles:!0,title:"",subtitle:"",footnote:"",disableNavMenu:!0,showDetails:!1,objects:[],qChildListDef:{qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}},showTabs:!0,useScrollButton:!0,useDropdown:!1,showIcons:!1,components:[],defaultTabId:"",orientation:"top",fontsUsed:[]};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".init-component {\n height: 100%;\n overflow: hidden;\n}\n");const Sm=e=>e.map(e=>{if("canReceive"in e){const t=e=>"libraryitem"===e.type&&("field"===e.item.type||"measure"===e.item.type||"dimension"===e.item.type);return{...e,canReceive:n=>t(n)&&e.canReceive(n)}}return e}),wm=(e,t)=>{let n=!0;const r=t.objects.reduce((t,r)=>{const o=r.id;if(0!==r.condition){const i=e.get(o);return i&&(e=>e.supportExport())(i)&&(n=!1,t.objectMap.set(o,i)),t.objects.push(r),t}return t},{objects:[],objectMap:new Map});return n?{objects:[],objectMap:new Map}:r}}}});