@nebula.js/sn-tabbed-container 1.0.9 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  /*
2
- * @nebula.js/sn-tabbed-container v1.0.9
2
+ * @nebula.js/sn-tabbed-container v1.1.2
3
3
  * Copyright (c) 2025 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
6
6
 
7
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-tabbed-container"]=t(e.stardust)}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n={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":"Esvaziar contêiner","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_DashboardBundle:{id:"LayoutContainer.Object.DashboardBundle",locale:{"de-DE":"Qlik Dashboard Bundle","en-US":"Qlik Dashboard bundle","es-ES":"Paquete Qlik Dashboard","fr-FR":"Bundle Qlik Dashboard","it-IT":"Bundle Qlik Dashboard","ja-JP":"Qlik ダッシュボード バンドル","ko-KR":"Qlik 대시보드 번들","nl-NL":"Qlik Dashboard-bundel","pl-PL":"Pakiet Qlik Dashboard","pt-BR":"Pacote Dashboard do Qlik","ru-RU":"Пакет Qlik Dashboard Bundle","sv-SE":"Qlik Dashboard-paket","tr-TR":"Qlik Gösterge Paneli paketi","zh-CN":"Qlik Dashboard 捆绑","zh-TW":"Qlik 儀表板搭售"}},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_SmartBundle:{id:"LayoutContainer.Object.SmartBundle",locale:{"de-DE":"Qlik Smart Bundle","en-US":"Qlik Smart bundle","es-ES":"Paquete Qlik Smart","fr-FR":"Bundle Qlik Smart","it-IT":"Bundle Qlik Smart","ja-JP":"Qlik スマート バンドル","ko-KR":"Qlik 스마트 번들","nl-NL":"Qlik Smart-bundel","pl-PL":"Pakiet Qlik Smart","pt-BR":"Pacote Smart do Qlik","ru-RU":"Пакет Qlik Smart Bundle","sv-SE":"Qlik Smart-paket","tr-TR":"Qlik Akıllı paket","zh-CN":"Qlik Smart 捆绑","zh-TW":"Qlik 智慧搭售"}},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":"無標題的物件"}},LayoutContainer_Object_VisualizationBundle:{id:"LayoutContainer.Object.VisualizationBundle",locale:{"de-DE":"Qlik Visualization Bundle","en-US":"Qlik Visualization bundle","es-ES":"Paquete Qlik Visualizations","fr-FR":"Bundle Qlik Visualization","it-IT":"Bundle Qlik Visualization","ja-JP":"Qlik ビジュアライゼーション バンドル","ko-KR":"Qlik 시각화 번들","nl-NL":"Qlik Visualization-bundel","pl-PL":"Pakiet Qlik Visualization","pt-BR":"Pacote Visualização do Qlik","ru-RU":"Пакет Qlik Visualization Bundle","sv-SE":"Qlik visualiseringspaket","tr-TR":"Qlik Görselleştirme paketi","zh-CN":"Qlik Visualization 捆绑","zh-TW":"Qlik 視覺化搭售"}}};function r(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"===t?String:Number)(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 o(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 i=Object.freeze({__proto__:null,default:o}),a="$$material";function l(){return l=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},l.apply(null,arguments)}function s(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var d={exports:{}},p={},f=Symbol.for("react.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),y=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),S=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),C=Symbol.iterator;var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,_={};function T(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}function L(){}function P(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}T.prototype.isReactComponent={},T.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},T.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},L.prototype=T.prototype;var I=P.prototype=new L;I.constructor=P,R(I,T.prototype),I.isPureReactComponent=!0;var A=Array.isArray,O=Object.prototype.hasOwnProperty,M={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function z(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)O.call(t,r)&&!N.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:f,type:e,key:i,ref:a,props:o,_owner:M.current}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}var D=/\/+/g;function $(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function B(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case f:case h:a=!0}}if(a)return o=o(a=e),e=""===r?"."+$(a,0):r,A(o)?(n="",null!=e&&(n=e.replace(D,"$&/")+"/"),B(o,t,n,"",(function(e){return e}))):null!=o&&(j(o)&&(o=function(e,t){return{$$typeof:f,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(D,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",A(e))for(var l=0;l<e.length;l++){var s=r+$(i=e[l],l);a+=B(i,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=C&&e[C]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(i=e.next()).done;)a+=B(i=i.value,t,n,s=r+$(i,l++),o);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function F(e,t,n){if(null==e)return e;var r=[],o=0;return B(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function H(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var U={current:null},V={transition:null},G={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:V,ReactCurrentOwner:M};function W(){throw Error("act(...) is not supported in production builds of React.")}p.Children={map:F,forEach:function(e,t,n){F(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return F(e,(function(){t++})),t},toArray:function(e){return F(e,(function(e){return e}))||[]},only:function(e){if(!j(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},p.Component=T,p.Fragment=m,p.Profiler=b,p.PureComponent=P,p.StrictMode=g,p.Suspense=E,p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G,p.act=W,p.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=R({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=M.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)O.call(t,s)&&!N.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:f,type:e.type,key:o,ref:i,props:r,_owner:a}},p.createContext=function(e){return(e={$$typeof:y,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:v,_context:e},e.Consumer=e},p.createElement=z,p.createFactory=function(e){var t=z.bind(null,e);return t.type=e,t},p.createRef=function(){return{current:null}},p.forwardRef=function(e){return{$$typeof:x,render:e}},p.isValidElement=j,p.lazy=function(e){return{$$typeof:w,_payload:{_status:-1,_result:e},_init:H}},p.memo=function(e,t){return{$$typeof:S,type:e,compare:void 0===t?null:t}},p.startTransition=function(e){var t=V.transition;V.transition={};try{e()}finally{V.transition=t}},p.unstable_act=W,p.useCallback=function(e,t){return U.current.useCallback(e,t)},p.useContext=function(e){return U.current.useContext(e)},p.useDebugValue=function(){},p.useDeferredValue=function(e){return U.current.useDeferredValue(e)},p.useEffect=function(e,t){return U.current.useEffect(e,t)},p.useId=function(){return U.current.useId()},p.useImperativeHandle=function(e,t,n){return U.current.useImperativeHandle(e,t,n)},p.useInsertionEffect=function(e,t){return U.current.useInsertionEffect(e,t)},p.useLayoutEffect=function(e,t){return U.current.useLayoutEffect(e,t)},p.useMemo=function(e,t){return U.current.useMemo(e,t)},p.useReducer=function(e,t,n){return U.current.useReducer(e,t,n)},p.useRef=function(e){return U.current.useRef(e)},p.useState=function(e){return U.current.useState(e)},p.useSyncExternalStore=function(e,t,n){return U.current.useSyncExternalStore(e,t,n)},p.useTransition=function(){return U.current.useTransition()},p.version="18.3.1",d.exports=p;var Y=d.exports,q=u(Y),K=t({__proto__:null,default:q},[Y]);var Q=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),X="-ms-",Z="-moz-",J="-webkit-",ee="comm",te="rule",ne="decl",re="@keyframes",oe=Math.abs,ie=String.fromCharCode,ae=Object.assign;function le(e){return e.trim()}function se(e,t,n){return e.replace(t,n)}function ue(e,t){return e.indexOf(t)}function ce(e,t){return 0|e.charCodeAt(t)}function de(e,t,n){return e.slice(t,n)}function pe(e){return e.length}function fe(e){return e.length}function he(e,t){return t.push(e),e}var me=1,ge=1,be=0,ve=0,ye=0,xe="";function Ee(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:me,column:ge,length:a,return:""}}function Se(e,t){return ae(Ee("",null,null,"",null,null,0),e,{length:-e.length},t)}function we(){return ye=ve>0?ce(xe,--ve):0,ge--,10===ye&&(ge=1,me--),ye}function Ce(){return ye=ve<be?ce(xe,ve++):0,ge++,10===ye&&(ge=1,me++),ye}function ke(){return ce(xe,ve)}function Re(){return ve}function _e(e,t){return de(xe,e,t)}function Te(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 Le(e){return me=ge=1,be=pe(xe=e),ve=0,[]}function Pe(e){return xe="",e}function Ie(e){return le(_e(ve-1,Me(91===e?e+2:40===e?e+1:e)))}function Ae(e){for(;(ye=ke())&&ye<33;)Ce();return Te(e)>2||Te(ye)>3?"":" "}function Oe(e,t){for(;--t&&Ce()&&!(ye<48||ye>102||ye>57&&ye<65||ye>70&&ye<97););return _e(e,Re()+(t<6&&32==ke()&&32==Ce()))}function Me(e){for(;Ce();)switch(ye){case e:return ve;case 34:case 39:34!==e&&39!==e&&Me(ye);break;case 40:41===e&&Me(e);break;case 92:Ce()}return ve}function Ne(e,t){for(;Ce()&&e+ye!==57&&(e+ye!==84||47!==ke()););return"/*"+_e(t,ve-1)+"*"+ie(47===e?e:Ce())}function ze(e){for(;!Te(ke());)Ce();return _e(e,ve)}function je(e){return Pe(De("",null,null,null,[""],e=Le(e),0,[0],e))}function De(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,E=i,S=r,w=y;g;)switch(h=v,v=Ce()){case 40:if(108!=h&&58==ce(w,d-1)){-1!=ue(w+=se(Ie(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=Ie(v);break;case 9:case 10:case 13:case 32:w+=Ae(h);break;case 92:w+=Oe(Re()-1,7);continue;case 47:switch(ke()){case 42:case 47:he(Be(Ne(Ce(),Re()),t,n),s);break;default:w+="/"}break;case 123*m:l[u++]=pe(w)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(w=se(w,/\f/g,"")),f>0&&pe(w)-d&&he(f>32?Fe(w+";",r,n,d-1):Fe(se(w," ","")+";",r,n,d-2),s);break;case 59:w+=";";default:if(he(S=$e(w,t,n,u,c,o,l,y,x=[],E=[],d),i),123===v)if(0===c)De(w,t,S,S,x,i,d,l,E);else switch(99===p&&110===ce(w,3)?100:p){case 100:case 108:case 109:case 115:De(e,S,S,r&&he($e(e,S,S,0,0,o,l,y,o,x=[],d),E),o,E,d,l,r?x:E);break;default:De(w,S,S,S,[""],E,0,l,E)}}u=c=f=0,m=b=1,y=w="",d=a;break;case 58:d=1+pe(w),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==we())continue;switch(w+=ie(v),v*m){case 38:b=c>0?1:(w+="\f",-1);break;case 44:l[u++]=(pe(w)-1)*b,b=1;break;case 64:45===ke()&&(w+=Ie(Ce())),p=ke(),c=d=pe(y=w+=ze(Re())),v++;break;case 45:45===h&&2==pe(w)&&(m=0)}}return i}function $e(e,t,n,r,o,i,a,l,s,u,c){for(var d=o-1,p=0===o?i:[""],f=fe(p),h=0,m=0,g=0;h<r;++h)for(var b=0,v=de(e,d+1,d=oe(m=a[h])),y=e;b<f;++b)(y=le(m>0?p[b]+" "+v:se(v,/&\f/g,p[b])))&&(s[g++]=y);return Ee(e,t,n,0===o?te:l,s,u,c)}function Be(e,t,n){return Ee(e,t,n,ee,ie(ye),de(e,2,-2),0)}function Fe(e,t,n,r){return Ee(e,t,n,ne,de(e,0,r),de(e,r+1,-1),r)}function He(e,t){for(var n="",r=fe(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Ue(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ne:return e.return=e.return||e.value;case ee:return"";case re:return e.return=e.value+"{"+He(e.children,r)+"}";case te:e.value=e.props.join(",")}return pe(n=He(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ve(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ge=function(e,t,n){for(var r=0,o=0;r=o,o=ke(),38===r&&12===o&&(t[n]=1),!Te(o);)Ce();return _e(e,ve)},We=function(e,t){return Pe(function(e,t){var n=-1,r=44;do{switch(Te(r)){case 0:38===r&&12===ke()&&(t[n]=1),e[n]+=Ge(ve-1,t,n);break;case 2:e[n]+=Ie(r);break;case 4:if(44===r){e[++n]=58===ke()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ie(r)}}while(r=Ce());return e}(Le(e),t))},Ye=new WeakMap,qe=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)||Ye.get(n))&&!r){Ye.set(e,!0);for(var o=[],i=We(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},Ke=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Qe(e,t){switch(function(e,t){return 45^ce(e,0)?(((t<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}(e,t)){case 5103:return J+"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 J+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return J+e+Z+e+X+e+e;case 6828:case 4268:return J+e+X+e+e;case 6165:return J+e+X+"flex-"+e+e;case 5187:return J+e+se(e,/(\w+).+(:[^]+)/,J+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return J+e+X+"flex-item-"+se(e,/flex-|-self/,"")+e;case 4675:return J+e+X+"flex-line-pack"+se(e,/align-content|flex-|-self/,"")+e;case 5548:return J+e+X+se(e,"shrink","negative")+e;case 5292:return J+e+X+se(e,"basis","preferred-size")+e;case 6060:return J+"box-"+se(e,"-grow","")+J+e+X+se(e,"grow","positive")+e;case 4554:return J+se(e,/([^-])(transform)/g,"$1"+J+"$2")+e;case 6187:return se(se(se(e,/(zoom-|grab)/,J+"$1"),/(image-set)/,J+"$1"),e,"")+e;case 5495:case 3959:return se(e,/(image-set\([^]*)/,J+"$1$`$1");case 4968:return se(se(e,/(.+:)(flex-)?(.*)/,J+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+J+e+e;case 4095:case 3583:case 4068:case 2532:return se(e,/(.+)-inline(.+)/,J+"$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(pe(e)-1-t>6)switch(ce(e,t+1)){case 109:if(45!==ce(e,t+4))break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+Z+(108==ce(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ue(e,"stretch")?Qe(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ce(e,t+1))break;case 6444:switch(ce(e,pe(e)-3-(~ue(e,"!important")&&10))){case 107:return se(e,":",":"+J)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(45===ce(e,14)?"inline-":"")+"box$3$1"+J+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(ce(e,t+11)){case 114:return J+e+X+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return J+e+X+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return J+e+X+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return J+e+X+e+e}return e}var Xe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ne:e.return=Qe(e.value,e.length);break;case re:return He([Se(e,{value:se(e.value,"@","@"+J)})],r);case te: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 He([Se(e,{props:[se(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return He([Se(e,{props:[se(t,/:(plac\w+)/,":"+J+"input-$1")]}),Se(e,{props:[se(t,/:(plac\w+)/,":-moz-$1")]}),Se(e,{props:[se(t,/:(plac\w+)/,X+"input-$1")]})],r)}return""}))}}],Ze=function(e){var t=e.key;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,o,i=e.stylisPlugins||Xe,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)}));var s,u,c=[Ue,(u=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],d=function(e){var t=fe(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([qe,Ke].concat(i,c));o=function(e,t,n,r){s=n,function(e){He(je(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Q({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return p.sheet.hydrate(l),p},Je={exports:{}},et={},tt="function"==typeof Symbol&&Symbol.for,nt=tt?Symbol.for("react.element"):60103,rt=tt?Symbol.for("react.portal"):60106,ot=tt?Symbol.for("react.fragment"):60107,it=tt?Symbol.for("react.strict_mode"):60108,at=tt?Symbol.for("react.profiler"):60114,lt=tt?Symbol.for("react.provider"):60109,st=tt?Symbol.for("react.context"):60110,ut=tt?Symbol.for("react.async_mode"):60111,ct=tt?Symbol.for("react.concurrent_mode"):60111,dt=tt?Symbol.for("react.forward_ref"):60112,pt=tt?Symbol.for("react.suspense"):60113,ft=tt?Symbol.for("react.suspense_list"):60120,ht=tt?Symbol.for("react.memo"):60115,mt=tt?Symbol.for("react.lazy"):60116,gt=tt?Symbol.for("react.block"):60121,bt=tt?Symbol.for("react.fundamental"):60117,vt=tt?Symbol.for("react.responder"):60118,yt=tt?Symbol.for("react.scope"):60119;function xt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case nt:switch(e=e.type){case ut:case ct:case ot:case at:case it:case pt:return e;default:switch(e=e&&e.$$typeof){case st:case dt:case mt:case ht:case lt:return e;default:return t}}case rt:return t}}}function Et(e){return xt(e)===ct}et.AsyncMode=ut,et.ConcurrentMode=ct,et.ContextConsumer=st,et.ContextProvider=lt,et.Element=nt,et.ForwardRef=dt,et.Fragment=ot,et.Lazy=mt,et.Memo=ht,et.Portal=rt,et.Profiler=at,et.StrictMode=it,et.Suspense=pt,et.isAsyncMode=function(e){return Et(e)||xt(e)===ut},et.isConcurrentMode=Et,et.isContextConsumer=function(e){return xt(e)===st},et.isContextProvider=function(e){return xt(e)===lt},et.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===nt},et.isForwardRef=function(e){return xt(e)===dt},et.isFragment=function(e){return xt(e)===ot},et.isLazy=function(e){return xt(e)===mt},et.isMemo=function(e){return xt(e)===ht},et.isPortal=function(e){return xt(e)===rt},et.isProfiler=function(e){return xt(e)===at},et.isStrictMode=function(e){return xt(e)===it},et.isSuspense=function(e){return xt(e)===pt},et.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===ot||e===ct||e===at||e===it||e===pt||e===ft||"object"==typeof e&&null!==e&&(e.$$typeof===mt||e.$$typeof===ht||e.$$typeof===lt||e.$$typeof===st||e.$$typeof===dt||e.$$typeof===bt||e.$$typeof===vt||e.$$typeof===yt||e.$$typeof===gt)},et.typeOf=xt,Je.exports=et;var St=Je.exports,wt={};wt[St.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},wt[St.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};function Ct(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var kt=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Rt=function(e,t,n){kt(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 _t={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},Tt=/[A-Z]|^ms/g,Lt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pt=function(e){return 45===e.charCodeAt(1)},It=function(e){return null!=e&&"boolean"!=typeof e},At=Ve((function(e){return Pt(e)?e:e.replace(Tt,"-$&").toLowerCase()})),Ot=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Lt,(function(e,t,n){return Nt={name:t,styles:n,next:Nt},t}))}return 1===_t[e]||Pt(e)||"number"!=typeof t||0===t?t:t+"px"};function Mt(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Nt={name:o.name,styles:o.styles,next:Nt},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Nt={name:a.name,styles:a.styles,next:Nt},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+=Mt(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":It(l)&&(r+=At(i)+":"+Ot(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Mt(e,t,a);switch(i){case"animation":case"animationName":r+=At(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)It(a[u])&&(r+=At(i)+":"+Ot(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=Nt,s=n(e);return Nt=l,Mt(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Nt,zt=/label:\s*([^\s;{]+)\s*(;|$)/g;function jt(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="";Nt=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Mt(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Mt(n,t,e[a]),r)o+=i[a]}zt.lastIndex=0;for(var l,s="";null!==(l=zt.exec(o));)s+="-"+l[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)+s;return{name:u,styles:o,next:Nt}}var Dt,$t,Bt=!!K.useInsertionEffect&&K.useInsertionEffect,Ft=Bt||function(e){return e()},Ht=Bt||Y.useLayoutEffect,Ut=Y.createContext("undefined"!=typeof HTMLElement?Ze({key:"css"}):null),Vt=Ut.Provider,Gt=function(e){return Y.forwardRef((function(t,n){var r=Y.useContext(Ut);return e(t,r,n)}))},Wt=Y.createContext({}),Yt={}.hasOwnProperty,qt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Kt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return kt(t,n,r),Ft((function(){return Rt(t,n,r)})),null},Qt=Gt((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[qt],i=[r],a="";"string"==typeof e.className?a=Ct(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=jt(i,void 0,Y.useContext(Wt));a+=t.key+"-"+l.name;var s={};for(var u in e)Yt.call(e,u)&&"css"!==u&&u!==qt&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),Y.createElement(Y.Fragment,null,Y.createElement(Kt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),Y.createElement(o,s))})),Xt=Qt,Zt=function(e,t){var n=arguments;if(null==t||!Yt.call(t,"css"))return Y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=Xt,o[1]=function(e,t){var n={};for(var r in t)Yt.call(t,r)&&(n[r]=t[r]);return n[qt]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return Y.createElement.apply(null,o)};Dt=Zt||(Zt={}),$t||($t=Dt.JSX||(Dt.JSX={}));var Jt=Gt((function(e,t){var n=jt([e.styles],void 0,Y.useContext(Wt)),r=Y.useRef();return Ht((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]),Ht((function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Rt(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 en(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return jt(t)}function tn(){var e=en.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_"}}}var nn=/^((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|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)-.*))$/,rn=Ve((function(e){return nn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),on=function(e){return"theme"!==e},an=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?rn:on},ln=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},sn=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return kt(t,n,r),Ft((function(){return Rt(t,n,r)})),null},un=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=ln(t,n,i),u=s||an(a),c=!u("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{var f=d[0];p.push(f[0]);for(var h=d.length,m=1;m<h;m++)p.push(d[m],f[m])}var g=Gt((function(e,t,n){var r=c&&e.as||a,i="",l=[],d=e;if(null==e.theme){for(var f in d={},e)d[f]=e[f];d.theme=Y.useContext(Wt)}"string"==typeof e.className?i=Ct(t.registered,l,e.className):null!=e.className&&(i=e.className+" ");var h=jt(p.concat(l),t.registered,d);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===s?an(r):u,g={};for(var b in e)c&&"as"===b||m(b)&&(g[b]=e[b]);return g.className=i,n&&(g.ref=n),Y.createElement(Y.Fragment,null,Y.createElement(sn,{cache:t,serialized:h,isStringTag:"string"==typeof r}),Y.createElement(r,g))}));return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,l({},n,r,{shouldForwardProp:ln(g,r,!0)})).apply(void 0,p)},g}}.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){un[e]=un(e)}));var cn={exports:{}},dn={},pn=Y,fn=Symbol.for("react.element"),hn=Symbol.for("react.fragment"),mn=Object.prototype.hasOwnProperty,gn=pn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,bn={key:!0,ref:!0,__self:!0,__source:!0};function vn(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)mn.call(t,r)&&!bn.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:fn,type:e,key:i,ref:a,props:o,_owner:gn.current}}dn.Fragment=hn,dn.jsx=vn,dn.jsxs=vn,cn.exports=dn;var yn=cn.exports;let xn;function En(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 yn.jsx(Jt,{styles:r})}
7
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-tabbed-container"]=t(e.stardust)}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var n={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":"Esvaziar contêiner","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_Object_Description:{id:"TabContainer.Object.Description",locale:{"en-US":"Tab container consists of the following objects: {0}."}},TabContainer_Object_Untitled:{id:"TabContainer.Object.Untitled",locale:{"en-US":"Untitled object"}},TabContainer_Navigation_Horizontal:{id:"TabContainer.Navigation.Horizontal",locale:{"en-US":"Use left and right arrow keys to navigate through the tabs. Press Enter or Space to select the tabs."}},TabContainer_Navigation_Vertical:{id:"TabContainer.Navigation.Vertical",locale:{"en-US":"Use up and down arrow keys to navigate through the tabs. Press Enter or Space to select the tabs."}}};function r(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"===t?String:Number)(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 o(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 i=Object.freeze({__proto__:null,default:o}),a="$$material";function l(){return l=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},l.apply(null,arguments)}function s(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var d={exports:{}},p={},f=Symbol.for("react.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),y=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),S=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),C=Symbol.iterator;var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,_={};function T(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}function A(){}function I(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}T.prototype.isReactComponent={},T.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},T.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},A.prototype=T.prototype;var L=I.prototype=new A;L.constructor=I,R(L,T.prototype),L.isPureReactComponent=!0;var P=Array.isArray,O=Object.prototype.hasOwnProperty,M={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)O.call(t,r)&&!N.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:f,type:e,key:i,ref:a,props:o,_owner:M.current}}function z(e){return"object"==typeof e&&null!==e&&e.$$typeof===f}var $=/\/+/g;function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function B(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case f:case h:a=!0}}if(a)return o=o(a=e),e=""===r?"."+D(a,0):r,P(o)?(n="",null!=e&&(n=e.replace($,"$&/")+"/"),B(o,t,n,"",(function(e){return e}))):null!=o&&(z(o)&&(o=function(e,t){return{$$typeof:f,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace($,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",P(e))for(var l=0;l<e.length;l++){var s=r+D(i=e[l],l);a+=B(i,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=C&&e[C]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(i=e.next()).done;)a+=B(i=i.value,t,n,s=r+D(i,l++),o);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function F(e,t,n){if(null==e)return e;var r=[],o=0;return B(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function W(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var G={current:null},H={transition:null},U={ReactCurrentDispatcher:G,ReactCurrentBatchConfig:H,ReactCurrentOwner:M};function V(){throw Error("act(...) is not supported in production builds of React.")}p.Children={map:F,forEach:function(e,t,n){F(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return F(e,(function(){t++})),t},toArray:function(e){return F(e,(function(e){return e}))||[]},only:function(e){if(!z(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},p.Component=T,p.Fragment=m,p.Profiler=b,p.PureComponent=I,p.StrictMode=g,p.Suspense=E,p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,p.act=V,p.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=R({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=M.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)O.call(t,s)&&!N.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:f,type:e.type,key:o,ref:i,props:r,_owner:a}},p.createContext=function(e){return(e={$$typeof:y,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:v,_context:e},e.Consumer=e},p.createElement=j,p.createFactory=function(e){var t=j.bind(null,e);return t.type=e,t},p.createRef=function(){return{current:null}},p.forwardRef=function(e){return{$$typeof:x,render:e}},p.isValidElement=z,p.lazy=function(e){return{$$typeof:w,_payload:{_status:-1,_result:e},_init:W}},p.memo=function(e,t){return{$$typeof:S,type:e,compare:void 0===t?null:t}},p.startTransition=function(e){var t=H.transition;H.transition={};try{e()}finally{H.transition=t}},p.unstable_act=V,p.useCallback=function(e,t){return G.current.useCallback(e,t)},p.useContext=function(e){return G.current.useContext(e)},p.useDebugValue=function(){},p.useDeferredValue=function(e){return G.current.useDeferredValue(e)},p.useEffect=function(e,t){return G.current.useEffect(e,t)},p.useId=function(){return G.current.useId()},p.useImperativeHandle=function(e,t,n){return G.current.useImperativeHandle(e,t,n)},p.useInsertionEffect=function(e,t){return G.current.useInsertionEffect(e,t)},p.useLayoutEffect=function(e,t){return G.current.useLayoutEffect(e,t)},p.useMemo=function(e,t){return G.current.useMemo(e,t)},p.useReducer=function(e,t,n){return G.current.useReducer(e,t,n)},p.useRef=function(e){return G.current.useRef(e)},p.useState=function(e){return G.current.useState(e)},p.useSyncExternalStore=function(e,t,n){return G.current.useSyncExternalStore(e,t,n)},p.useTransition=function(){return G.current.useTransition()},p.version="18.3.1",d.exports=p;var Y=d.exports,q=u(Y),K=t({__proto__:null,default:q},[Y]);var X=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Q={exports:{}};!function(e,t){!function(e){var t="-ms-",n="-moz-",r="-webkit-",o="comm",i="rule",a="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",g="@font-face",b="@counter-style",v="@font-feature-values",y="@layer",x=Math.abs,E=String.fromCharCode,S=Object.assign;function w(e,t){return 45^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}function C(e){return e.trim()}function k(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,n){return e.replace(t,n)}function _(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function A(e,t,n){return e.slice(t,n)}function I(e){return e.length}function L(e){return e.length}function P(e,t){return t.push(e),e}function O(e,t){return e.map(t).join("")}function M(t,n,r,o,i,a,l){return{value:t,root:n,parent:r,type:o,props:i,children:a,line:e.line,column:e.column,length:l,return:""}}function N(e,t){return S(M("",null,null,"",null,null,0),e,{length:-e.length},t)}function j(){return e.character}function z(){return e.character=e.position>0?T(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function $(){return e.character=e.position<e.length?T(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function D(){return T(e.characters,e.position)}function B(){return e.position}function F(t,n){return A(e.characters,t,n)}function W(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 G(t){return e.line=e.column=1,e.length=I(e.characters=t),e.position=0,[]}function H(t){return e.characters="",t}function U(t){return C(F(e.position-1,X(91===t?t+2:40===t?t+1:t)))}function V(e){return H(q(G(e)))}function Y(t){for(;(e.character=D())&&e.character<33;)$();return W(t)>2||W(e.character)>3?"":" "}function q(t){for(;$();)switch(W(e.character)){case 0:P(Z(e.position-1),t);break;case 2:P(U(e.character),t);break;default:P(E(e.character),t)}return t}function K(t,n){for(;--n&&$()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return F(t,B()+(n<6&&32==D()&&32==$()))}function X(t){for(;$();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&X(e.character);break;case 40:41===t&&X(t);break;case 92:$()}return e.position}function Q(t,n){for(;$()&&t+e.character!==57&&(t+e.character!==84||47!==D()););return"/*"+F(n,e.position-1)+"*"+E(47===t?t:$())}function Z(t){for(;!W(D());)$();return F(t,e.position)}function J(e){return H(ee("",null,null,null,[""],e=G(e),0,[0],e))}function ee(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,S=i,w=r,C=y;g;)switch(h=v,v=$()){case 40:if(108!=h&&58==T(C,d-1)){-1!=_(C+=R(U(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=U(v);break;case 9:case 10:case 13:case 32:C+=Y(h);break;case 92:C+=K(B()-1,7);continue;case 47:switch(D()){case 42:case 47:P(ne(Q($(),B()),t,n),s);break;default:C+="/"}break;case 123*m:l[u++]=I(C)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(C=R(C,/\f/g,"")),f>0&&I(C)-d&&P(f>32?re(C+";",r,n,d-1):re(R(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(P(w=te(C,t,n,u,c,o,l,y,x=[],S=[],d),i),123===v)if(0===c)ee(C,t,w,w,x,i,d,l,S);else switch(99===p&&110===T(C,3)?100:p){case 100:case 108:case 109:case 115:ee(e,w,w,r&&P(te(e,w,w,0,0,o,l,y,o,x=[],d),S),o,S,d,l,r?x:S);break;default:ee(C,w,w,w,[""],S,0,l,S)}}u=c=f=0,m=b=1,y=C="",d=a;break;case 58:d=1+I(C),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==z())continue;switch(C+=E(v),v*m){case 38:b=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(I(C)-1)*b,b=1;break;case 64:45===D()&&(C+=U($())),p=D(),c=d=I(y=C+=Z(B())),v++;break;case 45:45===h&&2==I(C)&&(m=0)}}return i}function te(e,t,n,r,o,a,l,s,u,c,d){for(var p=o-1,f=0===o?a:[""],h=L(f),m=0,g=0,b=0;m<r;++m)for(var v=0,y=A(e,p+1,p=x(g=l[m])),E=e;v<h;++v)(E=C(g>0?f[v]+" "+y:R(y,/&\f/g,f[v])))&&(u[b++]=E);return M(e,t,n,0===o?i:s,u,c,d)}function ne(e,t,n){return M(e,t,n,o,E(j()),A(e,2,-2),0)}function re(e,t,n,r){return M(e,t,n,a,A(e,0,r),A(e,r+1,-1),r)}function oe(e,o,i){switch(w(e,o)){case 5103:return r+"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 r+e+e;case 4789:return n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r+e+n+e+t+e+e;case 5936:switch(T(e,o+11)){case 114:return r+e+t+R(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r+e+t+R(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r+e+t+R(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return r+e+t+e+e;case 6165:return r+e+t+"flex-"+e+e;case 5187:return r+e+R(e,/(\w+).+(:[^]+)/,r+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return r+e+t+"flex-item-"+R(e,/flex-|-self/g,"")+(k(e,/flex-|baseline/)?"":t+"grid-row-"+R(e,/flex-|-self/g,""))+e;case 4675:return r+e+t+"flex-line-pack"+R(e,/align-content|flex-|-self/g,"")+e;case 5548:return r+e+t+R(e,"shrink","negative")+e;case 5292:return r+e+t+R(e,"basis","preferred-size")+e;case 6060:return r+"box-"+R(e,"-grow","")+r+e+t+R(e,"grow","positive")+e;case 4554:return r+R(e,/([^-])(transform)/g,"$1"+r+"$2")+e;case 6187:return R(R(R(e,/(zoom-|grab)/,r+"$1"),/(image-set)/,r+"$1"),e,"")+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,r+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,r+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r+e+e;case 4200:if(!k(e,/flex-|baseline/))return t+"grid-column-align"+A(e,o)+e;break;case 2592:case 3360:return t+R(e,"template-","")+e;case 4384:case 3616:return i&&i.some((function(e,t){return o=t,k(e.props,/grid-\w+-end/)}))?~_(e+(i=i[o].value),"span")?e:t+R(e,"-start","")+e+t+"grid-row-span:"+(~_(i,"span")?k(i,/\d+/):+k(i,/\d+/)-+k(e,/\d+/))+";":t+R(e,"-start","")+e;case 4896:case 4128:return i&&i.some((function(e){return k(e.props,/grid-\w+-start/)}))?e:t+R(R(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,r+"$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(I(e)-1-o>6)switch(T(e,o+1)){case 109:if(45!==T(e,o+4))break;case 102:return R(e,/(.+:)(.+)-([^]+)/,"$1"+r+"$2-$3$1"+n+(108==T(e,o+3)?"$3":"$2-$3"))+e;case 115:return~_(e,"stretch")?oe(R(e,"stretch","fill-available"),o,i)+e:e}break;case 5152:case 5920:return R(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(n,r,o,i,a,l,s){return t+r+":"+o+s+(i?t+r+"-span:"+(a?l:+l-+o)+s:"")+e}));case 4949:if(121===T(e,o+6))return R(e,":",":"+r)+e;break;case 6444:switch(T(e,45===T(e,14)?18:11)){case 120:return R(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+r+(45===T(e,14)?"inline-":"")+"box$3$1"+r+"$2$3$1"+t+"$2box$3")+e;case 100:return R(e,":",":"+t)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return R(e,"scroll-","scroll-snap-")+e}return e}function ie(e,t){for(var n="",r=L(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ae(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case u:case a:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+ie(e.children,r)+"}";case i:e.value=e.props.join(",")}return I(n=ie(e.children,r))?e.return=e.value+"{"+n+"}":""}function le(e){var t=L(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function se(e){return function(t){t.root||(t=t.return)&&e(t)}}function ue(e,o,l,s){if(e.length>-1&&!e.return)switch(e.type){case a:return void(e.return=oe(e.value,e.length,l));case m:return ie([N(e,{value:R(e.value,"@","@"+r)})],s);case i:if(e.length)return O(e.props,(function(o){switch(k(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([N(e,{props:[R(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return ie([N(e,{props:[R(o,/:(plac\w+)/,":"+r+"input-$1")]}),N(e,{props:[R(o,/:(plac\w+)/,":"+n+"$1")]}),N(e,{props:[R(o,/:(plac\w+)/,t+"input-$1")]})],s)}return""}))}}function ce(e){e.type===i&&(e.props=e.props.map((function(t){return O(V(t),(function(t,n,r){switch(T(t,0)){case 12:return A(t,1,I(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+A(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,L(r)>1?"":t;case n=L(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=c,e.COMMENT=o,e.COUNTER_STYLE=b,e.DECLARATION=a,e.DOCUMENT=f,e.FONT_FACE=g,e.FONT_FEATURE_VALUES=v,e.IMPORT=u,e.KEYFRAMES=m,e.LAYER=y,e.MEDIA=s,e.MOZ=n,e.MS=t,e.NAMESPACE=h,e.PAGE=l,e.RULESET=i,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=x,e.alloc=G,e.append=P,e.assign=S,e.caret=B,e.char=j,e.charat=T,e.combine=O,e.comment=ne,e.commenter=Q,e.compile=J,e.copy=N,e.dealloc=H,e.declaration=re,e.delimit=U,e.delimiter=X,e.escaping=K,e.from=E,e.hash=w,e.identifier=Z,e.indexof=_,e.match=k,e.middleware=le,e.namespace=ce,e.next=$,e.node=M,e.parse=ee,e.peek=D,e.prefix=oe,e.prefixer=ue,e.prev=z,e.replace=R,e.ruleset=te,e.rulesheet=se,e.serialize=ie,e.sizeof=L,e.slice=F,e.stringify=ae,e.strlen=I,e.substr=A,e.token=W,e.tokenize=V,e.tokenizer=q,e.trim=C,e.whitespace=Y,Object.defineProperty(e,"__esModule",{value:!0})}(t)}(0,Q.exports);var Z=Q.exports;function J(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ee=function(e,t,n){for(var r=0,o=0;r=o,o=Z.peek(),38===r&&12===o&&(t[n]=1),!Z.token(o);)Z.next();return Z.slice(e,Z.position)},te=function(e,t){return Z.dealloc(function(e,t){var n=-1,r=44;do{switch(Z.token(r)){case 0:38===r&&12===Z.peek()&&(t[n]=1),e[n]+=ee(Z.position-1,t,n);break;case 2:e[n]+=Z.delimit(r);break;case 4:if(44===r){e[++n]=58===Z.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Z.from(r)}}while(r=Z.next());return e}(Z.alloc(e),t))},ne=new WeakMap,re=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)||ne.get(n))&&!r){ne.set(e,!0);for(var o=[],i=te(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},oe=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ie(e,t){switch(Z.hash(e,t)){case 5103:return Z.WEBKIT+"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 Z.WEBKIT+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z.WEBKIT+e+Z.MOZ+e+Z.MS+e+e;case 6828:case 4268:return Z.WEBKIT+e+Z.MS+e+e;case 6165:return Z.WEBKIT+e+Z.MS+"flex-"+e+e;case 5187:return Z.WEBKIT+e+Z.replace(e,/(\w+).+(:[^]+)/,Z.WEBKIT+"box-$1$2"+Z.MS+"flex-$1$2")+e;case 5443:return Z.WEBKIT+e+Z.MS+"flex-item-"+Z.replace(e,/flex-|-self/,"")+e;case 4675:return Z.WEBKIT+e+Z.MS+"flex-line-pack"+Z.replace(e,/align-content|flex-|-self/,"")+e;case 5548:return Z.WEBKIT+e+Z.MS+Z.replace(e,"shrink","negative")+e;case 5292:return Z.WEBKIT+e+Z.MS+Z.replace(e,"basis","preferred-size")+e;case 6060:return Z.WEBKIT+"box-"+Z.replace(e,"-grow","")+Z.WEBKIT+e+Z.MS+Z.replace(e,"grow","positive")+e;case 4554:return Z.WEBKIT+Z.replace(e,/([^-])(transform)/g,"$1"+Z.WEBKIT+"$2")+e;case 6187:return Z.replace(Z.replace(Z.replace(e,/(zoom-|grab)/,Z.WEBKIT+"$1"),/(image-set)/,Z.WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return Z.replace(e,/(image-set\([^]*)/,Z.WEBKIT+"$1$`$1");case 4968:return Z.replace(Z.replace(e,/(.+:)(flex-)?(.*)/,Z.WEBKIT+"box-pack:$3"+Z.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z.WEBKIT+e+e;case 4095:case 3583:case 4068:case 2532:return Z.replace(e,/(.+)-inline(.+)/,Z.WEBKIT+"$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(Z.strlen(e)-1-t>6)switch(Z.charat(e,t+1)){case 109:if(45!==Z.charat(e,t+4))break;case 102:return Z.replace(e,/(.+:)(.+)-([^]+)/,"$1"+Z.WEBKIT+"$2-$3$1"+Z.MOZ+(108==Z.charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Z.indexof(e,"stretch")?ie(Z.replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Z.charat(e,t+1))break;case 6444:switch(Z.charat(e,Z.strlen(e)-3-(~Z.indexof(e,"!important")&&10))){case 107:return Z.replace(e,":",":"+Z.WEBKIT)+e;case 101:return Z.replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z.WEBKIT+(45===Z.charat(e,14)?"inline-":"")+"box$3$1"+Z.WEBKIT+"$2$3$1"+Z.MS+"$2box$3")+e}break;case 5936:switch(Z.charat(e,t+11)){case 114:return Z.WEBKIT+e+Z.MS+Z.replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z.WEBKIT+e+Z.MS+Z.replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z.WEBKIT+e+Z.MS+Z.replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z.WEBKIT+e+Z.MS+e+e}return e}var ae=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Z.DECLARATION:e.return=ie(e.value,e.length);break;case Z.KEYFRAMES:return Z.serialize([Z.copy(e,{value:Z.replace(e.value,"@","@"+Z.WEBKIT)})],r);case Z.RULESET:if(e.length)return Z.combine(e.props,(function(t){switch(Z.match(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z.serialize([Z.copy(e,{props:[Z.replace(t,/:(read-\w+)/,":"+Z.MOZ+"$1")]})],r);case"::placeholder":return Z.serialize([Z.copy(e,{props:[Z.replace(t,/:(plac\w+)/,":"+Z.WEBKIT+"input-$1")]}),Z.copy(e,{props:[Z.replace(t,/:(plac\w+)/,":"+Z.MOZ+"$1")]}),Z.copy(e,{props:[Z.replace(t,/:(plac\w+)/,Z.MS+"input-$1")]})],r)}return""}))}}],le=function(e){var t=e.key;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,o,i=e.stylisPlugins||ae,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)}));var s,u=[re,oe],c=[Z.stringify,Z.rulesheet((function(e){s.insert(e)}))],d=Z.middleware(u.concat(i,c));o=function(e,t,n,r){s=n,function(e){Z.serialize(Z.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new X({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return p.sheet.hydrate(l),p},se={exports:{}},ue={},ce="function"==typeof Symbol&&Symbol.for,de=ce?Symbol.for("react.element"):60103,pe=ce?Symbol.for("react.portal"):60106,fe=ce?Symbol.for("react.fragment"):60107,he=ce?Symbol.for("react.strict_mode"):60108,me=ce?Symbol.for("react.profiler"):60114,ge=ce?Symbol.for("react.provider"):60109,be=ce?Symbol.for("react.context"):60110,ve=ce?Symbol.for("react.async_mode"):60111,ye=ce?Symbol.for("react.concurrent_mode"):60111,xe=ce?Symbol.for("react.forward_ref"):60112,Ee=ce?Symbol.for("react.suspense"):60113,Se=ce?Symbol.for("react.suspense_list"):60120,we=ce?Symbol.for("react.memo"):60115,Ce=ce?Symbol.for("react.lazy"):60116,ke=ce?Symbol.for("react.block"):60121,Re=ce?Symbol.for("react.fundamental"):60117,_e=ce?Symbol.for("react.responder"):60118,Te=ce?Symbol.for("react.scope"):60119;function Ae(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case de:switch(e=e.type){case ve:case ye:case fe:case me:case he:case Ee:return e;default:switch(e=e&&e.$$typeof){case be:case xe:case Ce:case we:case ge:return e;default:return t}}case pe:return t}}}function Ie(e){return Ae(e)===ye}ue.AsyncMode=ve,ue.ConcurrentMode=ye,ue.ContextConsumer=be,ue.ContextProvider=ge,ue.Element=de,ue.ForwardRef=xe,ue.Fragment=fe,ue.Lazy=Ce,ue.Memo=we,ue.Portal=pe,ue.Profiler=me,ue.StrictMode=he,ue.Suspense=Ee,ue.isAsyncMode=function(e){return Ie(e)||Ae(e)===ve},ue.isConcurrentMode=Ie,ue.isContextConsumer=function(e){return Ae(e)===be},ue.isContextProvider=function(e){return Ae(e)===ge},ue.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===de},ue.isForwardRef=function(e){return Ae(e)===xe},ue.isFragment=function(e){return Ae(e)===fe},ue.isLazy=function(e){return Ae(e)===Ce},ue.isMemo=function(e){return Ae(e)===we},ue.isPortal=function(e){return Ae(e)===pe},ue.isProfiler=function(e){return Ae(e)===me},ue.isStrictMode=function(e){return Ae(e)===he},ue.isSuspense=function(e){return Ae(e)===Ee},ue.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===fe||e===ye||e===me||e===he||e===Ee||e===Se||"object"==typeof e&&null!==e&&(e.$$typeof===Ce||e.$$typeof===we||e.$$typeof===ge||e.$$typeof===be||e.$$typeof===xe||e.$$typeof===Re||e.$$typeof===_e||e.$$typeof===Te||e.$$typeof===ke)},ue.typeOf=Ae,se.exports=ue;var Le=se.exports,Pe={};Pe[Le.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pe[Le.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};function Oe(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var Me=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ne=function(e,t,n){Me(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 je={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},ze=/[A-Z]|^ms/g,$e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,De=function(e){return 45===e.charCodeAt(1)},Be=function(e){return null!=e&&"boolean"!=typeof e},Fe=J((function(e){return De(e)?e:e.replace(ze,"-$&").toLowerCase()})),We=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace($e,(function(e,t,n){return He={name:t,styles:n,next:He},t}))}return 1===je[e]||De(e)||"number"!=typeof t||0===t?t:t+"px"};function Ge(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return He={name:o.name,styles:o.styles,next:He},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)He={name:a.name,styles:a.styles,next:He},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+=Ge(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":Be(l)&&(r+=Fe(i)+":"+We(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Ge(e,t,a);switch(i){case"animation":case"animationName":r+=Fe(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Be(a[u])&&(r+=Fe(i)+":"+We(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=He,s=n(e);return He=l,Ge(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var He,Ue=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ve(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="";He=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Ge(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Ge(n,t,e[a]),r)o+=i[a]}Ue.lastIndex=0;for(var l,s="";null!==(l=Ue.exec(o));)s+="-"+l[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)+s;return{name:u,styles:o,next:He}}var Ye=!!K.useInsertionEffect&&K.useInsertionEffect,qe=Ye||function(e){return e()},Ke=Ye||Y.useLayoutEffect,Xe=Y.createContext("undefined"!=typeof HTMLElement?le({key:"css"}):null),Qe=Xe.Provider,Ze=function(e){return Y.forwardRef((function(t,n){var r=Y.useContext(Xe);return e(t,r,n)}))},Je=Y.createContext({}),et={}.hasOwnProperty,tt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",nt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Me(t,n,r),qe((function(){return Ne(t,n,r)})),null},rt=Ze((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[tt],i=[r],a="";"string"==typeof e.className?a=Oe(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Ve(i,void 0,Y.useContext(Je));a+=t.key+"-"+l.name;var s={};for(var u in e)et.call(e,u)&&"css"!==u&&u!==tt&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),Y.createElement(Y.Fragment,null,Y.createElement(nt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),Y.createElement(o,s))})),ot=rt,it={exports:{}};!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}(it);var at,lt,st=it.exports,ut=function(e,t){var n=arguments;if(null==t||!et.call(t,"css"))return Y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=ot,o[1]=function(e,t){var n={};for(var r in t)et.call(t,r)&&(n[r]=t[r]);return n[tt]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return Y.createElement.apply(null,o)};at=ut||(ut={}),lt||(lt=at.JSX||(at.JSX={}));var ct=Ze((function(e,t){var n=Ve([e.styles],void 0,Y.useContext(Je)),r=Y.useRef();return Ke((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]),Ke((function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Ne(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 dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ve(t)}function pt(){var e=dt.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_"}}}var ft=/^((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|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)-.*))$/,ht=J((function(e){return ft.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),mt=function(e){return"theme"!==e},gt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?ht:mt},bt=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},vt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Me(t,n,r),qe((function(){return Ne(t,n,r)})),null},yt=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=bt(t,n,i),u=s||gt(a),c=!u("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{var f=d[0];p.push(f[0]);for(var h=d.length,m=1;m<h;m++)p.push(d[m],f[m])}var g=Ze((function(e,t,n){var r=c&&e.as||a,i="",l=[],d=e;if(null==e.theme){for(var f in d={},e)d[f]=e[f];d.theme=Y.useContext(Je)}"string"==typeof e.className?i=Oe(t.registered,l,e.className):null!=e.className&&(i=e.className+" ");var h=Ve(p.concat(l),t.registered,d);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===s?gt(r):u,g={};for(var b in e)c&&"as"===b||m(b)&&(g[b]=e[b]);return g.className=i,n&&(g.ref=n),Y.createElement(Y.Fragment,null,Y.createElement(vt,{cache:t,serialized:h,isStringTag:"string"==typeof r}),Y.createElement(r,g))}));return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,l({},n,r,{shouldForwardProp:bt(g,r,!0)})).apply(void 0,p)},g}}.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){yt[e]=yt(e)}));var xt={exports:{}};function Et(){}function St(){}St.resetWarningCache=Et;xt.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:St,resetWarningCache:Et};return n.PropTypes=n,n}();var wt=u(xt.exports),Ct={exports:{}},kt={},Rt=Y,_t=Symbol.for("react.element"),Tt=Symbol.for("react.fragment"),At=Object.prototype.hasOwnProperty,It=Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Lt={key:!0,ref:!0,__self:!0,__source:!0};function Pt(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)At.call(t,r)&&!Lt.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:_t,type:e,key:i,ref:a,props:o,_owner:It.current}}kt.Fragment=Tt,kt.jsx=Pt,kt.jsxs=Pt,Ct.exports=kt;var Ot=Ct.exports;let Mt;function Nt(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 Ot.jsx(ct,{styles:r})}
8
8
  /**
9
9
  * @mui/styled-engine v5.16.14
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 un(e,t)}"object"==typeof document&&(xn=Ze({key:"css",prepend:!0}));var wn=Object.freeze({__proto__:null,GlobalStyles:En,StyledEngineProvider:function(e){const{injectFirst:t,children:n}=e;return t&&xn?yn.jsx(Vt,{value:xn,children:n}):n},ThemeContext:Wt,css:en,default:Sn,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:tn});function Cn(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)||!Cn(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=kn(e[n])})),t}function Rn(e,t,n={clone:!0}){const r=n.clone?l({},e):e;return Cn(e)&&Cn(t)&&Object.keys(t).forEach((o=>{Y.isValidElement(t[o])?r[o]=t[o]:Cn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Cn(e[o])?r[o]=Rn(e[o],t[o],n):n.clone?r[o]=Cn(t[o])?kn(t[o]):t[o]:r[o]=t[o]})),r}var _n=Object.freeze({__proto__:null,default:Rn,isPlainObject:Cn});const Tn=["values","unit","step"];function Ln(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=s(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)=>l({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function u(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function c(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function d(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 l({keys:a,values:i,up:u,down:c,between:d,only:function(e){return a.indexOf(e)+1<a.length?d(e,a[a.indexOf(e)+1]):u(e)},not:function(e){const t=a.indexOf(e);return 0===t?u(a[1]):t===a.length-1?c(a[t]):d(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Pn={borderRadius:4};function In(e,t){return t?Rn(e,t,{clone:!1}):e}const An={xs:0,sm:600,md:900,lg:1200,xl:1536},On={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${An[e]}px)`};function Mn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||On;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||On;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||An).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Nn(e){if("string"!=typeof e)throw new Error(o(7));return e.charAt(0).toUpperCase()+e.slice(1)}var zn=Object.freeze({__proto__:null,default:Nn});function jn(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 Dn(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:jn(e,n)||r,t&&(o=t(o,r,e)),o}function $n(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=jn(e.theme,r)||{};return Mn(e,i,(e=>{let r=Dn(a,o,e);return e===r&&"string"==typeof e&&(r=Dn(a,o,`${t}${"default"===e?"":Nn(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const Bn={m:"margin",p:"padding"},Fn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Hn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Un=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Hn[e])return[e];e=Hn[e]}const[t,n]=e.split(""),r=Bn[t],o=Fn[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Vn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Gn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Wn(e,t,n,r){var o;const i=null!=(o=jn(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 Yn(e){return Wn(e,"spacing",8)}function qn(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 Kn(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=qn(t,n),e)),{})}(Un(n),r);return Mn(e,e[n],o)}function Qn(e,t){const n=Yn(e.theme);return Object.keys(e).map((r=>Kn(e,t,r,n))).reduce(In,{})}function Xn(e){return Qn(e,Vn)}function Zn(e){return Qn(e,Gn)}function Jn(...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]?In(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function er(e){return"number"!=typeof e?e:`${e}px solid`}function tr(e,t){return $n({prop:e,themeKey:"borders",transform:t})}Xn.propTypes={},Xn.filterProps=Vn,Zn.propTypes={},Zn.filterProps=Gn;const nr=tr("border",er),rr=tr("borderTop",er),or=tr("borderRight",er),ir=tr("borderBottom",er),ar=tr("borderLeft",er),lr=tr("borderColor"),sr=tr("borderTopColor"),ur=tr("borderRightColor"),cr=tr("borderBottomColor"),dr=tr("borderLeftColor"),pr=tr("outline",er),fr=tr("outlineColor"),hr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Wn(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:qn(t,e)});return Mn(e,e.borderRadius,n)}return null};hr.propTypes={},hr.filterProps=["borderRadius"],Jn(nr,rr,or,ir,ar,lr,sr,ur,cr,dr,hr,pr,fr);const mr=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Wn(e.theme,"spacing",8),n=e=>({gap:qn(t,e)});return Mn(e,e.gap,n)}return null};mr.propTypes={},mr.filterProps=["gap"];const gr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Wn(e.theme,"spacing",8),n=e=>({columnGap:qn(t,e)});return Mn(e,e.columnGap,n)}return null};gr.propTypes={},gr.filterProps=["columnGap"];const br=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Wn(e.theme,"spacing",8),n=e=>({rowGap:qn(t,e)});return Mn(e,e.rowGap,n)}return null};br.propTypes={},br.filterProps=["rowGap"];function vr(e,t){return"grey"===t?t:e}Jn(mr,gr,br,$n({prop:"gridColumn"}),$n({prop:"gridRow"}),$n({prop:"gridAutoFlow"}),$n({prop:"gridAutoColumns"}),$n({prop:"gridAutoRows"}),$n({prop:"gridTemplateColumns"}),$n({prop:"gridTemplateRows"}),$n({prop:"gridTemplateAreas"}),$n({prop:"gridArea"}));function yr(e){return e<=1&&0!==e?100*e+"%":e}Jn($n({prop:"color",themeKey:"palette",transform:vr}),$n({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:vr}),$n({prop:"backgroundColor",themeKey:"palette",transform:vr}));const xr=$n({prop:"width",transform:yr}),Er=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])||An[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:yr(t)}};return Mn(e,e.maxWidth,t)}return null};Er.filterProps=["maxWidth"];const Sr=$n({prop:"minWidth",transform:yr}),wr=$n({prop:"height",transform:yr}),Cr=$n({prop:"maxHeight",transform:yr}),kr=$n({prop:"minHeight",transform:yr});$n({prop:"size",cssProperty:"width",transform:yr}),$n({prop:"size",cssProperty:"height",transform:yr});Jn(xr,Er,Sr,wr,Cr,kr,$n({prop:"boxSizing"}));const Rr={border:{themeKey:"borders",transform:er},borderTop:{themeKey:"borders",transform:er},borderRight:{themeKey:"borders",transform:er},borderBottom:{themeKey:"borders",transform:er},borderLeft:{themeKey:"borders",transform:er},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:er},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:hr},color:{themeKey:"palette",transform:vr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:vr},backgroundColor:{themeKey:"palette",transform:vr},p:{style:Zn},pt:{style:Zn},pr:{style:Zn},pb:{style:Zn},pl:{style:Zn},px:{style:Zn},py:{style:Zn},padding:{style:Zn},paddingTop:{style:Zn},paddingRight:{style:Zn},paddingBottom:{style:Zn},paddingLeft:{style:Zn},paddingX:{style:Zn},paddingY:{style:Zn},paddingInline:{style:Zn},paddingInlineStart:{style:Zn},paddingInlineEnd:{style:Zn},paddingBlock:{style:Zn},paddingBlockStart:{style:Zn},paddingBlockEnd:{style:Zn},m:{style:Xn},mt:{style:Xn},mr:{style:Xn},mb:{style:Xn},ml:{style:Xn},mx:{style:Xn},my:{style:Xn},margin:{style:Xn},marginTop:{style:Xn},marginRight:{style:Xn},marginBottom:{style:Xn},marginLeft:{style:Xn},marginX:{style:Xn},marginY:{style:Xn},marginInline:{style:Xn},marginInlineStart:{style:Xn},marginInlineEnd:{style:Xn},marginBlock:{style:Xn},marginBlockStart:{style:Xn},marginBlockEnd:{style:Xn},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:mr},rowGap:{style:br},columnGap:{style:gr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:yr},maxWidth:{style:Er},minWidth:{transform:yr},height:{transform:yr},maxHeight:{transform:yr},minHeight:{transform:yr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function _r(){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:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=jn(n,l)||{};if(u)return u(o);return Mn(o,t,(t=>{let n=Dn(c,s,t);return t===n&&"string"==typeof t&&(n=Dn(c,s,`${e}${"default"===t?"":Nn(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Rr;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 s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],u=i,"function"==typeof l?l(u):l);var l,u;if(null!=o)if("object"==typeof o)if(a[n])s=In(s,e(n,o,i,a));else{const e=Mn({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)?s=In(s,e):s[n]=t({sx:o,theme:i})}else s=In(s,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}const Tr=_r();function Lr(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:{}}Tr.filterProps=["sx"];const Pr=["breakpoints","palette","spacing","shape"];function Ir(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=s(e,Pr),u=Ln(n),c=function(e=8){if(e.mui)return e;const t=Yn({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 d=Rn({breakpoints:u,direction:"ltr",components:{},palette:l({mode:"light"},r),spacing:c,shape:l({},Pn,i)},a);return d.applyStyles=Lr,d=t.reduce(((e,t)=>Rn(e,t)),d),d.unstable_sxConfig=l({},Rr,null==a?void 0:a.unstable_sxConfig),d.unstable_sx=function(e){return Tr({sx:e,theme:this})},d}var Ar=Object.freeze({__proto__:null,default:Ir,private_createBreakpoints:Ln,unstable_applyStyles:Lr});function Or(e=null){const t=Y.useContext(Wt);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Mr=Ir();function Nr(e=Mr){return Or(e)}function zr({styles:e,themeId:t,defaultTheme:n={}}){const r=Nr(n),o="function"==typeof e?e(t&&r[t]||r):e;return yn.jsx(En,{styles:o})}const jr=["sx"];function Dr(e){const{sx:t}=e,n=s(e,jr),{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:Rr;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 Cn(n)?l({},r,n):r}:l({},r,t),l({},o,{sx:i})}var $r=Object.freeze({__proto__:null,default:Tr,extendSxProp:Dr,unstable_createStyleFunctionSx:_r,unstable_defaultSxConfig:Rr});const Br=e=>e,Fr=(()=>{let e=Br;return{configure(t){e=t},generate:t=>e(t),reset(){e=Br}}})();function Hr(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=Hr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ur(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Hr(e))&&(r&&(r+=" "),r+=t);return r}const Vr=["className","component"];const Gr={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 Wr(e,t,n="Mui"){const r=Gr[t];return r?`${n}-${r}`:`${Fr.generate(e)}-${t}`}function Yr(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Wr(e,t,n)})),r}var qr={exports:{}},Kr={},Qr=Symbol.for("react.transitional.element"),Xr=Symbol.for("react.portal"),Zr=Symbol.for("react.fragment"),Jr=Symbol.for("react.strict_mode"),eo=Symbol.for("react.profiler"),to=Symbol.for("react.consumer"),no=Symbol.for("react.context"),ro=Symbol.for("react.forward_ref"),oo=Symbol.for("react.suspense"),io=Symbol.for("react.suspense_list"),ao=Symbol.for("react.memo"),lo=Symbol.for("react.lazy"),so=Symbol.for("react.offscreen"),uo=Symbol.for("react.client.reference");function co(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Qr:switch(e=e.type){case Zr:case eo:case Jr:case oo:case io:return e;default:switch(e=e&&e.$$typeof){case no:case ro:case lo:case ao:case to:return e;default:return t}}case Xr:return t}}}Kr.ContextConsumer=to,Kr.ContextProvider=no,Kr.Element=Qr,Kr.ForwardRef=ro,Kr.Fragment=Zr,Kr.Lazy=lo,Kr.Memo=ao,Kr.Portal=Xr,Kr.Profiler=eo,Kr.StrictMode=Jr,Kr.Suspense=oo,Kr.SuspenseList=io,Kr.isContextConsumer=function(e){return co(e)===to},Kr.isContextProvider=function(e){return co(e)===no},Kr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Qr},Kr.isForwardRef=function(e){return co(e)===ro},Kr.isFragment=function(e){return co(e)===Zr},Kr.isLazy=function(e){return co(e)===lo},Kr.isMemo=function(e){return co(e)===ao},Kr.isPortal=function(e){return co(e)===Xr},Kr.isProfiler=function(e){return co(e)===eo},Kr.isStrictMode=function(e){return co(e)===Jr},Kr.isSuspense=function(e){return co(e)===oo},Kr.isSuspenseList=function(e){return co(e)===io},Kr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Zr||e===eo||e===Jr||e===oo||e===io||e===so||"object"==typeof e&&null!==e&&(e.$$typeof===lo||e.$$typeof===ao||e.$$typeof===no||e.$$typeof===to||e.$$typeof===ro||e.$$typeof===uo||void 0!==e.getModuleId)},Kr.typeOf=co,qr.exports=Kr;var po=qr.exports;const fo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ho(e){const t=`${e}`.match(fo);return t&&t[1]||""}function mo(e,t=""){return e.displayName||e.name||ho(e)||t}function go(e,t,n){const r=mo(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var bo=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return mo(e,"Component");if("object"==typeof e)switch(e.$$typeof){case po.ForwardRef:return go(e,e.render,"ForwardRef");case po.Memo:return go(e,e.type,"memo");default:return}}},getFunctionName:ho});function vo(e,t){const n=l({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=l({},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]=l({},i),Object.keys(o).forEach((e=>{n[r][e]=vo(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}const yo="undefined"!=typeof window?Y.useLayoutEffect:Y.useEffect;function xo(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var Eo=Object.freeze({__proto__:null,default:xo});function So(e){if(e.type)return e;if("#"===e.charAt(0))return So(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(o(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(o(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}function wo(e,t){return e=So(e),t=function(e,t=0,n=1){return xo(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 Co(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function ko(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Ro(e){return e&&e.ownerDocument||document}function _o(e){return Ro(e).defaultView||window}function To(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Lo(e){const t=Y.useRef(e);return yo((()=>{t.current=e})),Y.useRef(((...e)=>(0,t.current)(...e))).current}function Po(...e){return Y.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{To(e,t)}))}),e)}const Io={};const Ao=[];class Oo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Oo}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function Mo(){const e=function(e,t){const n=Y.useRef(Io);return n.current===Io&&(n.current=e(t)),n}(Oo.create).current;return function(e){Y.useEffect(e,Ao)}(e.disposeEffect),e}let No=!0,zo=!1;const jo=new Oo,Do={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 $o(e){e.metaKey||e.altKey||e.ctrlKey||(No=!0)}function Bo(){No=!1}function Fo(){"hidden"===this.visibilityState&&zo&&(No=!0)}function Ho(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return No||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Do[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Uo(){const e=Y.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",$o,!0),t.addEventListener("mousedown",Bo,!0),t.addEventListener("pointerdown",Bo,!0),t.addEventListener("touchstart",Bo,!0),t.addEventListener("visibilitychange",Fo,!0))}),[]),t=Y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ho(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(zo=!0,jo.start(100,(()=>{zo=!1})),t.current=!1,!0)},ref:e}}function Vo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Go;function Wo(){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 Yo(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Wo()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function qo(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 Ko(e){return"string"==typeof e}function Qo(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 Xo(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 Zo=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Jo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=s(e,Zo),u=i?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:c,internalRef:d}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Ur(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=l({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=l({},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=Qo(l({},o,r)),s=Xo(r),u=Xo(o),c=t(a),d=Ur(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),p=l({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=l({},c,n,u,s);return d.length>0&&(f.className=d),Object.keys(p).length>0&&(f.style=p),{props:f,internalRef:c.ref}}(l({},a,{externalSlotProps:u})),p=function(e,t,n){return void 0===e||Ko(e)?t:l({},t,{ownerState:l({},t.ownerState,n)})}(n,l({},c,{ref:Po(d,null==u?void 0:u.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return p}function ei(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 ti=Y.createContext(null);function ni(){return Y.useContext(ti)}var ri="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function oi(e){const{children:t,theme:n}=e,r=ni(),o=Y.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return l({},e,t)}(r,n);return null!=e&&(e[ri]=null!==r),e}),[n,r]);return yn.jsx(ti.Provider,{value:o,children:t})}const ii=["value"],ai=Y.createContext();function li(e){let{value:t}=e,n=s(e,ii);return yn.jsx(ai.Provider,l({value:null==t||t},n))}const si=()=>{const e=Y.useContext(ai);return null!=e&&e},ui=Y.createContext(void 0);function ci({value:e,children:t}){return yn.jsx(ui.Provider,{value:e,children:t})}function di({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?vo(o.defaultProps,r):o.styleOverrides||o.variants?r:vo(o,r)}({props:e,name:t,theme:{components:Y.useContext(ui)}})}const pi={};function fi(e,t,n,r=!1){return Y.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?l({},t,{[e]:i}):i;return r?()=>a:a}return l({},t,e?{[e]:n}:n)}),[e,t,n,r])}function hi(e){const{children:t,theme:n,themeId:r}=e,o=Or(pi),i=ni()||pi,a=fi(r,o,n),l=fi(r,i,n,!0),s="rtl"===a.direction;return yn.jsx(oi,{theme:l,children:yn.jsx(Wt.Provider,{value:a,children:yn.jsx(li,{value:s,children:yn.jsx(ci,{value:null==a?void 0:a.components,children:t})})})})}var mi={},gi={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(gi);var bi=gi.exports,vi=c(i),yi=c(Eo),xi=bi;Object.defineProperty(mi,"__esModule",{value:!0});var Ei=mi.alpha=Mi;mi.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),i=Li(e),a=Li(t),l=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return Ii({type:"rgb",values:l})},mi.colorChannel=void 0;var Si=mi.darken=Ni;mi.decomposeColor=Li,mi.emphasize=ji;var wi=mi.getContrastRatio=function(e,t){const n=Oi(e),r=Oi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};mi.getLuminance=Oi,mi.hexToRgb=Ti,mi.hslToRgb=Ai;var Ci=mi.lighten=zi;mi.private_safeAlpha=function(e,t,n){try{return Mi(e,t)}catch(t){return e}},mi.private_safeColorChannel=void 0,mi.private_safeDarken=function(e,t,n){try{return Ni(e,t)}catch(t){return e}},mi.private_safeEmphasize=function(e,t,n){try{return ji(e,t)}catch(t){return e}},mi.private_safeLighten=function(e,t,n){try{return zi(e,t)}catch(t){return e}},mi.recomposeColor=Ii,mi.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=Li(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 ki=xi(vi),Ri=xi(yi);function _i(e,t=0,n=1){return(0,Ri.default)(e,t,n)}function Ti(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 Li(e){if(e.type)return e;if("#"===e.charAt(0))return Li(Ti(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,ki.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,ki.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const Pi=e=>{const t=Li(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};mi.colorChannel=Pi;function Ii(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 Ai(e){e=Li(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Ii({type:l,values:s})}function Oi(e){let t="hsl"===(e=Li(e)).type||"hsla"===e.type?Li(Ai(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 Mi(e,t){return e=Li(e),t=_i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Ii(e)}function Ni(e,t){if(e=Li(e),t=_i(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 Ii(e)}function zi(e,t){if(e=Li(e),t=_i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(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 Ii(e)}function ji(e,t=.15){return Oi(e)>.5?Ni(e,t):zi(e,t)}mi.private_safeColorChannel=(e,t)=>{try{return Pi(e)}catch(t){return e}};const Di={black:"#000",white:"#fff"},$i={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"},Bi="#f3e5f5",Fi="#ce93d8",Hi="#ba68c8",Ui="#ab47bc",Vi="#9c27b0",Gi="#7b1fa2",Wi="#e57373",Yi="#ef5350",qi="#f44336",Ki="#d32f2f",Qi="#c62828",Xi="#ffb74d",Zi="#ffa726",Ji="#ff9800",ea="#f57c00",ta="#e65100",na="#e3f2fd",ra="#90caf9",oa="#42a5f5",ia="#1976d2",aa="#1565c0",la="#4fc3f7",sa="#29b6f6",ua="#03a9f4",ca="#0288d1",da="#01579b",pa="#81c784",fa="#66bb6a",ha="#4caf50",ma="#388e3c",ga="#2e7d32",ba="#1b5e20",va=["mode","contrastThreshold","tonalOffset"],ya={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:Di.white,default:Di.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}},xa={text:{primary:Di.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:Di.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 Ea(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=Ci(e.main,o):"dark"===t&&(e.dark=Si(e.main,i)))}function Sa(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=s(e,va),a=e.primary||function(e="light"){return"dark"===e?{main:ra,light:na,dark:oa}:{main:ia,light:oa,dark:aa}}(t),u=e.secondary||function(e="light"){return"dark"===e?{main:Fi,light:Bi,dark:Ui}:{main:Vi,light:Hi,dark:Gi}}(t),c=e.error||function(e="light"){return"dark"===e?{main:qi,light:Wi,dark:Ki}:{main:Ki,light:Yi,dark:Qi}}(t),d=e.info||function(e="light"){return"dark"===e?{main:sa,light:la,dark:ca}:{main:ca,light:ua,dark:da}}(t),p=e.success||function(e="light"){return"dark"===e?{main:fa,light:pa,dark:ma}:{main:ga,light:ha,dark:ba}}(t),f=e.warning||function(e="light"){return"dark"===e?{main:Zi,light:Xi,dark:ea}:{main:"#ed6c02",light:Ji,dark:ta}}(t);function h(e){return wi(e,xa.text.primary)>=n?xa.text.primary:ya.text.primary}const m=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e=l({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(o(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(o(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ea(e,"light",i,r),Ea(e,"dark",a,r),e.contrastText||(e.contrastText=h(e.main)),e},g={dark:xa,light:ya};return Rn(l({common:l({},Di),mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:u,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:d,name:"info"}),success:m({color:p,name:"success"}),grey:$i,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r},g[t]),i)}const wa=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Ca={textTransform:"uppercase"},ka='"Roboto", "Helvetica", "Arial", sans-serif';function Ra(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=ka,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:p,pxToRem:f}=n,h=s(n,wa),m=o/14,g=f||(e=>e/d*m+"rem"),b=(e,t,n,o,i)=>{return l({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n},r===ka?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,p);var a},v={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(a,48,1.167,0),h4:b(a,34,1.235,.25),h5:b(a,24,1.334,0),h6:b(u,20,1.6,.15),subtitle1:b(a,16,1.75,.15),subtitle2:b(u,14,1.57,.1),body1:b(a,16,1.5,.15),body2:b(a,14,1.43,.15),button:b(u,14,1.75,.4,Ca),caption:b(a,12,1.66,.4),overline:b(a,12,2.66,1,Ca),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Rn(l({htmlFontSize:d,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:u,fontWeightBold:c},v),h,{clone:!1})}function _a(...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 Ta=["none",_a(0,2,1,-1,0,1,1,0,0,1,3,0),_a(0,3,1,-2,0,2,2,0,0,1,5,0),_a(0,3,3,-2,0,3,4,0,0,1,8,0),_a(0,2,4,-1,0,4,5,0,0,1,10,0),_a(0,3,5,-1,0,5,8,0,0,1,14,0),_a(0,3,5,-1,0,6,10,0,0,1,18,0),_a(0,4,5,-2,0,7,10,1,0,2,16,1),_a(0,5,5,-3,0,8,10,1,0,3,14,2),_a(0,5,6,-3,0,9,12,1,0,3,16,2),_a(0,6,6,-3,0,10,14,1,0,4,18,3),_a(0,6,7,-4,0,11,15,1,0,4,20,3),_a(0,7,8,-4,0,12,17,2,0,5,22,4),_a(0,7,8,-4,0,13,19,2,0,5,24,4),_a(0,7,9,-4,0,14,21,2,0,5,26,4),_a(0,8,9,-5,0,15,22,2,0,6,28,5),_a(0,8,10,-5,0,16,24,2,0,6,30,5),_a(0,8,11,-5,0,17,26,2,0,6,32,5),_a(0,9,11,-5,0,18,28,2,0,7,34,6),_a(0,9,12,-6,0,19,29,2,0,7,36,6),_a(0,10,13,-6,0,20,31,3,0,8,38,7),_a(0,10,13,-6,0,21,33,3,0,8,40,7),_a(0,10,14,-6,0,22,35,3,0,8,42,7),_a(0,11,14,-7,0,23,36,3,0,9,44,8),_a(0,11,15,-7,0,24,38,3,0,9,46,8)],La=["duration","easing","delay"],Pa={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ia={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Aa(e){return`${Math.round(e)}ms`}function Oa(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ma(e){const t=l({},Pa,e.easing),n=l({},Ia,e.duration);return l({getAutoHeightDuration:Oa,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return s(r,La),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Aa(o)} ${i} ${"string"==typeof a?a:Aa(a)}`)).join(",")}},e,{easing:t,duration:n})}const Na={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},za=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ja(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:a={}}=e,u=s(e,za);if(e.vars&&void 0===e.generateCssVars)throw new Error(o(18));const c=Sa(r),d=Ir(e);let p=Rn(d,{mixins:(f=d.breakpoints,h=n,l({toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}}},h)),palette:c,shadows:Ta.slice(),typography:Ra(c,a),transitions:Ma(i),zIndex:l({},Na)});var f,h;return p=Rn(p,u),p=t.reduce(((e,t)=>Rn(e,t)),p),p.unstable_sxConfig=l({},Rr,null==u?void 0:u.unstable_sxConfig),p.unstable_sx=function(e){return Tr({sx:e,theme:this})},p}const Da=ja();function $a(){const e=Nr(Da);return e[a]||e}var Ba,Fa={},Ha={exports:{}};var Ua,Va={exports:{}};var Ga=c(wn),Wa=c(_n),Ya=c(zn),qa=c(bo),Ka=c(Ar),Qa=c($r),Xa=bi;Object.defineProperty(Fa,"__esModule",{value:!0});var Za=Fa.default=function(e={}){const{themeId:t,defaultTheme:n=cl,rootShouldForwardProp:r=ul,slotShouldForwardProp:o=ul}=e,i=e=>(0,ol.default)((0,Ja.default)({},e,{theme:pl((0,Ja.default)({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,tl.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=fl(dl(s))}=a,p=(0,el.default)(a,ll),f=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,h=c||!1;let m=ul;"Root"===s||"root"===s?m=r:s?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,tl.default)(e,(0,Ja.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,nl.isPlainObject)(e)?r=>hl(e,(0,Ja.default)({},r,{theme:pl({theme:r.theme,defaultTheme:n,themeId:t})})):e,v=(r,...o)=>{let a=b(r);const s=o?o.map(b):[];l&&d&&s.push((e=>{const r=pl((0,Ja.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=hl(n,(0,Ja.default)({},e,{theme:r}))})),d(e,i)})),l&&!f&&s.push((e=>{var r;const o=pl((0,Ja.default)({},e,{defaultTheme:n,themeId:t}));return hl({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},(0,Ja.default)({},e,{theme:o}))})),h||s.push(i);const u=s.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=g(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return g.withConfig&&(v.withConfig=g.withConfig),v}};Fa.shouldForwardProp=ul,Fa.systemDefaultTheme=void 0;var Ja=Xa((Ba||(Ba=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}(Ha)),Ha.exports)),el=Xa((Ua||(Ua=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(Va)),Va.exports)),tl=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=sl(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}(Ga),nl=Wa;Xa(Ya),Xa(qa);var rl=Xa(Ka),ol=Xa(Qa);const il=["ownerState"],al=["variants"],ll=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function sl(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(sl=function(e){return e?n:t})(e)}function ul(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const cl=Fa.systemDefaultTheme=(0,rl.default)(),dl=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function pl({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function fl(e){return e?(t,n)=>n[e]:null}function hl(e,t){let{ownerState:n}=t,r=(0,el.default)(t,il);const o="function"==typeof e?e((0,Ja.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>hl(e,(0,Ja.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,el.default)(o,al);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,Ja.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,Ja.default)({ownerState:n},r,n)):e.style))})),t}return o}const ml=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,gl=Za({themeId:a,defaultTheme:Da,rootShouldForwardProp:ml}),bl=["theme"];function vl(e){let{theme:t}=e,n=s(e,bl);const r=t[a];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=l({},r,{vars:null}):t&&!t.vars&&(o=l({},t,{vars:null}))),yn.jsx(hi,l({},n,{themeId:r?a:void 0,theme:o}))}const yl=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function xl(e){return di(e)}function El(e){return Wr("MuiSvgIcon",e)}Yr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Sl=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],wl=gl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Nn(n.color)}`],t[`fontSize${Nn(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,u,c,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),Cl=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:p,viewBox:f="0 0 24 24"}=n,h=s(n,Sl),m=Y.isValidElement(r)&&"svg"===r.type,g=l({},n,{color:i,component:a,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:f,hasSvgAsChild:m}),b={};d||(b.viewBox=f);const v=(e=>{const{color:t,fontSize:n,classes:r}=e;return qo({root:["root","inherit"!==t&&`color${Nn(t)}`,`fontSize${Nn(n)}`]},El,r)})(g);return yn.jsxs(wl,l({as:a,className:Ur(v.root,o),focusable:"false",color:c,"aria-hidden":!p||void 0,role:p?"img":void 0,ref:t},b,h,m&&r.props,{ownerState:g,children:[m?r.props.children:r,p?yn.jsx("title",{children:p}):null]}))}));function kl(e,t){function n(n,r){return yn.jsx(Cl,l({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=Cl.muiName,Y.memo(Y.forwardRef(n))}function Rl(e,t){return Rl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rl(e,t)}function _l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Rl(e,t)}Cl.muiName="SvgIcon";var Tl={exports:{}},Ll={},Pl={exports:{}},Il={};
14
+ */function jt(e,t){return yt(e,t)}"object"==typeof document&&(Mt=le({key:"css",prepend:!0}));const zt=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};var $t=Object.freeze({__proto__:null,GlobalStyles:Nt,StyledEngineProvider:function(e){const{injectFirst:t,children:n}=e;return t&&Mt?Ot.jsx(Qe,{value:Mt,children:n}):n},ThemeContext:Je,css:dt,default:jt,internal_processStyles:zt,keyframes:pt});function Dt(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 Bt(e){if(Y.isValidElement(e)||!Dt(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Bt(e[n])})),t}function Ft(e,t,n={clone:!0}){const r=n.clone?l({},e):e;return Dt(e)&&Dt(t)&&Object.keys(t).forEach((o=>{Y.isValidElement(t[o])?r[o]=t[o]:Dt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Dt(e[o])?r[o]=Ft(e[o],t[o],n):n.clone?r[o]=Dt(t[o])?Bt(t[o]):t[o]:r[o]=t[o]})),r}var Wt=Object.freeze({__proto__:null,default:Ft,isPlainObject:Dt});const Gt=["values","unit","step"];function Ht(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=s(e,Gt),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)=>l({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function u(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function c(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function d(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 l({keys:a,values:i,up:u,down:c,between:d,only:function(e){return a.indexOf(e)+1<a.length?d(e,a[a.indexOf(e)+1]):u(e)},not:function(e){const t=a.indexOf(e);return 0===t?u(a[1]):t===a.length-1?c(a[t]):d(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Ut={borderRadius:4};function Vt(e,t){return t?Ft(e,t,{clone:!1}):e}const Yt={xs:0,sm:600,md:900,lg:1200,xl:1536},qt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Yt[e]}px)`};function Kt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||qt;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||qt;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Yt).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Xt(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function Qt(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function Zt({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}function Jt(e){if("string"!=typeof e)throw new Error(o(7));return e.charAt(0).toUpperCase()+e.slice(1)}var en=Object.freeze({__proto__:null,default:Jt});function tn(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 nn(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:tn(e,n)||r,t&&(o=t(o,r,e)),o}function rn(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=tn(e.theme,r)||{};return Kt(e,i,(e=>{let r=nn(a,o,e);return e===r&&"string"==typeof e&&(r=nn(a,o,`${t}${"default"===e?"":Jt(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const on={m:"margin",p:"padding"},an={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ln={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},sn=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!ln[e])return[e];e=ln[e]}const[t,n]=e.split(""),r=on[t],o=an[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),un=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],dn=[...un,...cn];function pn(e,t,n,r){var o;const i=null!=(o=tn(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 fn(e){return pn(e,"spacing",8)}function hn(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 mn(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=hn(t,n),e)),{})}(sn(n),r);return Kt(e,e[n],o)}function gn(e,t){const n=fn(e.theme);return Object.keys(e).map((r=>mn(e,t,r,n))).reduce(Vt,{})}function bn(e){return gn(e,un)}function vn(e){return gn(e,cn)}function yn(e){return gn(e,dn)}function xn(...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]?Vt(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function En(e){return"number"!=typeof e?e:`${e}px solid`}function Sn(e,t){return rn({prop:e,themeKey:"borders",transform:t})}bn.propTypes={},bn.filterProps=un,vn.propTypes={},vn.filterProps=cn,yn.propTypes={},yn.filterProps=dn;const wn=Sn("border",En),Cn=Sn("borderTop",En),kn=Sn("borderRight",En),Rn=Sn("borderBottom",En),_n=Sn("borderLeft",En),Tn=Sn("borderColor"),An=Sn("borderTopColor"),In=Sn("borderRightColor"),Ln=Sn("borderBottomColor"),Pn=Sn("borderLeftColor"),On=Sn("outline",En),Mn=Sn("outlineColor"),Nn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=pn(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:hn(t,e)});return Kt(e,e.borderRadius,n)}return null};Nn.propTypes={},Nn.filterProps=["borderRadius"];const jn=xn(wn,Cn,kn,Rn,_n,Tn,An,In,Ln,Pn,Nn,On,Mn),zn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=pn(e.theme,"spacing",8),n=e=>({gap:hn(t,e)});return Kt(e,e.gap,n)}return null};zn.propTypes={},zn.filterProps=["gap"];const $n=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=pn(e.theme,"spacing",8),n=e=>({columnGap:hn(t,e)});return Kt(e,e.columnGap,n)}return null};$n.propTypes={},$n.filterProps=["columnGap"];const Dn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=pn(e.theme,"spacing",8),n=e=>({rowGap:hn(t,e)});return Kt(e,e.rowGap,n)}return null};Dn.propTypes={},Dn.filterProps=["rowGap"];const Bn=xn(zn,$n,Dn,rn({prop:"gridColumn"}),rn({prop:"gridRow"}),rn({prop:"gridAutoFlow"}),rn({prop:"gridAutoColumns"}),rn({prop:"gridAutoRows"}),rn({prop:"gridTemplateColumns"}),rn({prop:"gridTemplateRows"}),rn({prop:"gridTemplateAreas"}),rn({prop:"gridArea"}));function Fn(e,t){return"grey"===t?t:e}const Wn=xn(rn({prop:"color",themeKey:"palette",transform:Fn}),rn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Fn}),rn({prop:"backgroundColor",themeKey:"palette",transform:Fn}));function Gn(e){return e<=1&&0!==e?100*e+"%":e}const Hn=rn({prop:"width",transform:Gn}),Un=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])||Yt[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:Gn(t)}};return Kt(e,e.maxWidth,t)}return null};Un.filterProps=["maxWidth"];const Vn=rn({prop:"minWidth",transform:Gn}),Yn=rn({prop:"height",transform:Gn}),qn=rn({prop:"maxHeight",transform:Gn}),Kn=rn({prop:"minHeight",transform:Gn});rn({prop:"size",cssProperty:"width",transform:Gn}),rn({prop:"size",cssProperty:"height",transform:Gn});const Xn=xn(Hn,Un,Vn,Yn,qn,Kn,rn({prop:"boxSizing"})),Qn={border:{themeKey:"borders",transform:En},borderTop:{themeKey:"borders",transform:En},borderRight:{themeKey:"borders",transform:En},borderBottom:{themeKey:"borders",transform:En},borderLeft:{themeKey:"borders",transform:En},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:En},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Nn},color:{themeKey:"palette",transform:Fn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Fn},backgroundColor:{themeKey:"palette",transform:Fn},p:{style:vn},pt:{style:vn},pr:{style:vn},pb:{style:vn},pl:{style:vn},px:{style:vn},py:{style:vn},padding:{style:vn},paddingTop:{style:vn},paddingRight:{style:vn},paddingBottom:{style:vn},paddingLeft:{style:vn},paddingX:{style:vn},paddingY:{style:vn},paddingInline:{style:vn},paddingInlineStart:{style:vn},paddingInlineEnd:{style:vn},paddingBlock:{style:vn},paddingBlockStart:{style:vn},paddingBlockEnd:{style:vn},m:{style:bn},mt:{style:bn},mr:{style:bn},mb:{style:bn},ml:{style:bn},mx:{style:bn},my:{style:bn},margin:{style:bn},marginTop:{style:bn},marginRight:{style:bn},marginBottom:{style:bn},marginLeft:{style:bn},marginX:{style:bn},marginY:{style:bn},marginInline:{style:bn},marginInlineStart:{style:bn},marginInlineEnd:{style:bn},marginBlock:{style:bn},marginBlockStart:{style:bn},marginBlockEnd:{style:bn},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:zn},rowGap:{style:Dn},columnGap:{style:$n},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Gn},maxWidth:{style:Un},minWidth:{transform:Gn},height:{transform:Gn},maxHeight:{transform:Gn},minHeight:{transform:Gn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Zn(){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:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=tn(n,l)||{};if(u)return u(o);return Kt(o,t,(t=>{let n=nn(c,s,t);return t===n&&"string"==typeof t&&(n=nn(c,s,`${e}${"default"===t?"":Jt(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Qn;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=Xt(i.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],u=i,"function"==typeof l?l(u):l);var l,u;if(null!=o)if("object"==typeof o)if(a[n])s=Vt(s,e(n,o,i,a));else{const e=Kt({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)?s=Vt(s,e):s[n]=t({sx:o,theme:i})}else s=Vt(s,e(n,o,i,a))})),Qt(l,s)}return Array.isArray(o)?o.map(l):l(o)}}const Jn=Zn();function er(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:{}}Jn.filterProps=["sx"];const tr=["breakpoints","palette","spacing","shape"];function nr(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=s(e,tr),u=Ht(n),c=function(e=8){if(e.mui)return e;const t=fn({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 d=Ft({breakpoints:u,direction:"ltr",components:{},palette:l({mode:"light"},r),spacing:c,shape:l({},Ut,i)},a);return d.applyStyles=er,d=t.reduce(((e,t)=>Ft(e,t)),d),d.unstable_sxConfig=l({},Qn,null==a?void 0:a.unstable_sxConfig),d.unstable_sx=function(e){return Jn({sx:e,theme:this})},d}var rr=Object.freeze({__proto__:null,default:nr,private_createBreakpoints:Ht,unstable_applyStyles:er});function or(e=null){const t=Y.useContext(Je);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const ir=nr();function ar(e=ir){return or(e)}function lr({styles:e,themeId:t,defaultTheme:n={}}){const r=ar(n),o="function"==typeof e?e(t&&r[t]||r):e;return Ot.jsx(Nt,{styles:o})}var sr=xn(rn({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),rn({prop:"display"}),rn({prop:"overflow"}),rn({prop:"textOverflow"}),rn({prop:"visibility"}),rn({prop:"whiteSpace"}));const ur=xn(rn({prop:"flexBasis"}),rn({prop:"flexDirection"}),rn({prop:"flexWrap"}),rn({prop:"justifyContent"}),rn({prop:"alignItems"}),rn({prop:"alignContent"}),rn({prop:"order"}),rn({prop:"flex"}),rn({prop:"flexGrow"}),rn({prop:"flexShrink"}),rn({prop:"alignSelf"}),rn({prop:"justifyItems"}),rn({prop:"justifySelf"}));var cr=xn(rn({prop:"position"}),rn({prop:"zIndex",themeKey:"zIndex"}),rn({prop:"top"}),rn({prop:"right"}),rn({prop:"bottom"}),rn({prop:"left"}));const dr=rn({prop:"boxShadow",themeKey:"shadows"}),pr=rn({prop:"fontFamily",themeKey:"typography"}),fr=rn({prop:"fontSize",themeKey:"typography"}),hr=rn({prop:"fontStyle",themeKey:"typography"}),mr=rn({prop:"fontWeight",themeKey:"typography"}),gr=rn({prop:"letterSpacing"}),br=rn({prop:"textTransform"}),vr=rn({prop:"lineHeight"}),yr=rn({prop:"textAlign"}),xr=xn(rn({prop:"typography",cssProperty:!1,themeKey:"typography"}),pr,fr,hr,mr,gr,vr,yr,br),Er=["sx"];function Sr(e){const{sx:t}=e,n=s(e,Er),{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:Qn;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 Dt(n)?l({},r,n):r}:l({},r,t),l({},o,{sx:i})}var wr=Object.freeze({__proto__:null,default:Jn,extendSxProp:Sr,unstable_createStyleFunctionSx:Zn,unstable_defaultSxConfig:Qn});const Cr={borders:jn.filterProps,display:sr.filterProps,flexbox:ur.filterProps,grid:Bn.filterProps,positions:cr.filterProps,palette:Wn.filterProps,shadows:dr.filterProps,sizing:Xn.filterProps,spacing:yn.filterProps,typography:xr.filterProps},kr={borders:jn,display:sr,flexbox:ur,grid:Bn,positions:cr,palette:Wn,shadows:dr,sizing:Xn,spacing:yn,typography:xr};Object.keys(Cr).reduce(((e,t)=>(Cr[t].forEach((n=>{e[n]=kr[t]})),e)),{});const Rr=e=>e,_r=(()=>{let e=Rr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Rr}}})();function Tr(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=Tr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ar(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Tr(e))&&(r&&(r+=" "),r+=t);return r}const Ir=["className","component"];function Lr(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=jt("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Jn);return Y.forwardRef((function(e,a){const u=ar(n),c=Sr(e),{className:d,component:p="div"}=c,f=s(c,Ir);return Ot.jsx(i,l({as:p,ref:a,className:Ar(d,o?o(r):r),theme:t&&u[t]||u},f))}))}const Pr={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 Or(e,t,n="Mui"){const r=Pr[t];return r?`${n}-${r}`:`${_r.generate(e)}-${t}`}function Mr(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Or(e,t,n)})),r}Lr({defaultClassName:Mr("MuiBox",["root"]).root,generateClassName:_r.generate});var Nr={exports:{}},jr={},zr=Symbol.for("react.transitional.element"),$r=Symbol.for("react.portal"),Dr=Symbol.for("react.fragment"),Br=Symbol.for("react.strict_mode"),Fr=Symbol.for("react.profiler"),Wr=Symbol.for("react.consumer"),Gr=Symbol.for("react.context"),Hr=Symbol.for("react.forward_ref"),Ur=Symbol.for("react.suspense"),Vr=Symbol.for("react.suspense_list"),Yr=Symbol.for("react.memo"),qr=Symbol.for("react.lazy"),Kr=Symbol.for("react.offscreen"),Xr=Symbol.for("react.client.reference");function Qr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case zr:switch(e=e.type){case Dr:case Fr:case Br:case Ur:case Vr:return e;default:switch(e=e&&e.$$typeof){case Gr:case Hr:case qr:case Yr:case Wr:return e;default:return t}}case $r:return t}}}jr.ContextConsumer=Wr,jr.ContextProvider=Gr,jr.Element=zr,jr.ForwardRef=Hr,jr.Fragment=Dr,jr.Lazy=qr,jr.Memo=Yr,jr.Portal=$r,jr.Profiler=Fr,jr.StrictMode=Br,jr.Suspense=Ur,jr.SuspenseList=Vr,jr.isContextConsumer=function(e){return Qr(e)===Wr},jr.isContextProvider=function(e){return Qr(e)===Gr},jr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===zr},jr.isForwardRef=function(e){return Qr(e)===Hr},jr.isFragment=function(e){return Qr(e)===Dr},jr.isLazy=function(e){return Qr(e)===qr},jr.isMemo=function(e){return Qr(e)===Yr},jr.isPortal=function(e){return Qr(e)===$r},jr.isProfiler=function(e){return Qr(e)===Fr},jr.isStrictMode=function(e){return Qr(e)===Br},jr.isSuspense=function(e){return Qr(e)===Ur},jr.isSuspenseList=function(e){return Qr(e)===Vr},jr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Dr||e===Fr||e===Br||e===Ur||e===Vr||e===Kr||"object"==typeof e&&null!==e&&(e.$$typeof===qr||e.$$typeof===Yr||e.$$typeof===Gr||e.$$typeof===Wr||e.$$typeof===Hr||e.$$typeof===Xr||void 0!==e.getModuleId)},jr.typeOf=Qr,Nr.exports=jr;var Zr=Nr.exports;const Jr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function eo(e){const t=`${e}`.match(Jr);return t&&t[1]||""}function to(e,t=""){return e.displayName||e.name||eo(e)||t}function no(e,t,n){const r=to(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var ro=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return to(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Zr.ForwardRef:return no(e,e.render,"ForwardRef");case Zr.Memo:return no(e,e.type,"memo");default:return}}},getFunctionName:eo});const oo=["ownerState"],io=["variants"],ao=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function lo(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const so=nr(),uo=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function co({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function po(e){return e?(t,n)=>n[e]:null}function fo(e,t){let{ownerState:n}=t,r=s(t,oo);const o="function"==typeof e?e(l({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>fo(e,l({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=s(o,io);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(l({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(l({ownerState:n},r,n)):e.style))})),t}return o}const ho=function(e={}){const{themeId:t,defaultTheme:n=so,rootShouldForwardProp:r=lo,slotShouldForwardProp:o=lo}=e,i=e=>Jn(l({},e,{theme:co(l({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{zt(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:u,slot:c,skipVariantsResolver:d,skipSx:p,overridesResolver:f=po(uo(c))}=a,h=s(a,ao),m=void 0!==d?d:c&&"Root"!==c&&"root"!==c||!1,g=p||!1;let b=lo;"Root"===c||"root"===c?b=r:c?b=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(b=void 0);const v=jt(e,l({shouldForwardProp:b,label:undefined},h)),y=e=>"function"==typeof e&&e.__emotion_real!==e||Dt(e)?r=>fo(e,l({},r,{theme:co({theme:r.theme,defaultTheme:n,themeId:t})})):e,x=(r,...o)=>{let a=y(r);const s=o?o.map(y):[];u&&f&&s.push((e=>{const r=co(l({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[u]||!r.components[u].styleOverrides)return null;const o=r.components[u].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=fo(n,l({},e,{theme:r}))})),f(e,i)})),u&&!m&&s.push((e=>{var r;const o=co(l({},e,{defaultTheme:n,themeId:t}));return fo({variants:null==o||null==(r=o.components)||null==(r=r[u])?void 0:r.variants},l({},e,{theme:o}))})),g||s.push(i);const c=s.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const d=v(a,...s);return e.muiName&&(d.muiName=e.muiName),d};return v.withConfig&&(x.withConfig=v.withConfig),x}}();function mo(e,t){const n=l({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=l({},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]=l({},i),Object.keys(o).forEach((e=>{n[r][e]=mo(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function go({props:e,name:t,defaultTheme:n,themeId:r}){let o=ar(n);r&&(o=o[r]||o);const i=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?mo(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e});return i}const bo="undefined"!=typeof window?Y.useLayoutEffect:Y.useEffect;function vo(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var yo=Object.freeze({__proto__:null,default:vo});function xo(e){if(e.type)return e;if("#"===e.charAt(0))return xo(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(o(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(o(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}function Eo(e,t){return e=xo(e),t=function(e,t=0,n=1){return vo(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 So(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function wo(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Co(e,t){var n,r;return Y.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}function ko(e){return e&&e.ownerDocument||document}function Ro(e){return ko(e).defaultView||window}function _o(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function To(e){const t=Y.useRef(e);return bo((()=>{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=>{_o(e,t)}))}),e)}(wt.element,()=>null).isRequired=(wt.element.isRequired,()=>null),wt.elementType,"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),wt.oneOfType([wt.func,wt.object]);const Io={};const Lo=[];class Po{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Po}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function Oo(){const e=function(e,t){const n=Y.useRef(Io);return n.current===Io&&(n.current=e(t)),n}(Po.create).current;return function(e){Y.useEffect(e,Lo)}(e.disposeEffect),e}let Mo=!0,No=!1;const jo=new Po,zo={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 $o(e){e.metaKey||e.altKey||e.ctrlKey||(Mo=!0)}function Do(){Mo=!1}function Bo(){"hidden"===this.visibilityState&&No&&(Mo=!0)}function Fo(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Mo||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!zo[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Wo(){const e=Y.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",$o,!0),t.addEventListener("mousedown",Do,!0),t.addEventListener("pointerdown",Do,!0),t.addEventListener("touchstart",Do,!0),t.addEventListener("visibilitychange",Bo,!0))}),[]),t=Y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Fo(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(No=!0,jo.start(100,(()=>{No=!1})),t.current=!1,!0)},ref:e}}function Go(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Ho;function Uo(){if(Ho)return Ho;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),Ho="reverse",e.scrollLeft>0?Ho="default":(e.scrollLeft=1,0===e.scrollLeft&&(Ho="negative")),document.body.removeChild(e),Ho}function Vo(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Uo()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Yo(){return null}function qo(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 Ko(e){return"string"==typeof e}function Xo(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}Yo.isRequired=Yo;const Zo=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Jo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=s(e,Zo),u=i?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:c,internalRef:d}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Ar(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=l({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=l({},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=Xo(l({},o,r)),s=Qo(r),u=Qo(o),c=t(a),d=Ar(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),p=l({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=l({},c,n,u,s);return d.length>0&&(f.className=d),Object.keys(p).length>0&&(f.style=p),{props:f,internalRef:c.ref}}(l({},a,{externalSlotProps:u})),p=function(e,t,n){return void 0===e||Ko(e)?t:l({},t,{ownerState:l({},t.ownerState,n)})}(n,l({},c,{ref:Ao(d,null==u?void 0:u.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return p}function ei(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 ti=Y.createContext(null);function ni(){return Y.useContext(ti)}var ri="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function oi(e){const{children:t,theme:n}=e,r=ni(),o=Y.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return l({},e,t)}(r,n);return null!=e&&(e[ri]=null!==r),e}),[n,r]);return Ot.jsx(ti.Provider,{value:o,children:t})}const ii=["value"],ai=Y.createContext();function li(e){let{value:t}=e,n=s(e,ii);return Ot.jsx(ai.Provider,l({value:null==t||t},n))}const si=()=>{const e=Y.useContext(ai);return null!=e&&e},ui=Y.createContext(void 0);function ci({value:e,children:t}){return Ot.jsx(ui.Provider,{value:e,children:t})}function di({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?mo(o.defaultProps,r):o.styleOverrides||o.variants?r:mo(o,r)}({props:e,name:t,theme:{components:Y.useContext(ui)}})}const pi={};function fi(e,t,n,r=!1){return Y.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?l({},t,{[e]:i}):i;return r?()=>a:a}return l({},t,e?{[e]:n}:n)}),[e,t,n,r])}function hi(e){const{children:t,theme:n,themeId:r}=e,o=or(pi),i=ni()||pi,a=fi(r,o,n),l=fi(r,i,n,!0),s="rtl"===a.direction;return Ot.jsx(oi,{theme:l,children:Ot.jsx(Je.Provider,{value:a,children:Ot.jsx(li,{value:s,children:Ot.jsx(ci,{value:null==a?void 0:a.components,children:t})})})})}const mi=["className","component","disableGutters","fixed","maxWidth","classes"],gi=nr(),bi=ho("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Jt(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),vi=e=>go({props:e,name:"MuiContainer",defaultTheme:gi});!function(e={}){const{createStyledComponent:t=bi,useThemeProps:n=vi,componentName:r="MuiContainer"}=e,o=t((({theme:e,ownerState:t})=>l({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const r=n,o=e.breakpoints.values[r];return 0!==o&&(t[e.breakpoints.up(r)]={maxWidth:`${o}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>l({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}))),i=Y.forwardRef((function(e,t){const i=n(e),{className:a,component:u="div",disableGutters:c=!1,fixed:d=!1,maxWidth:p="lg"}=i,f=s(i,mi),h=l({},i,{component:u,disableGutters:c,fixed:d,maxWidth:p}),m=((e,t)=>{const{classes:n,fixed:r,disableGutters:o,maxWidth:i}=e;return qo({root:["root",i&&`maxWidth${Jt(String(i))}`,r&&"fixed",o&&"disableGutters"]},(e=>Or(t,e)),n)})(h,r);return Ot.jsx(o,l({as:u,ownerState:h,className:Ar(m.root,a),ref:t},f))}))}(),Mr("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const yi=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,i=Object.keys(t),o.filter((e=>i.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const i=t[o];void 0!==i&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),i)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,i};function xi(e){return e?`Level${e}`:""}function Ei(e){return e.unstable_level>0&&e.container}function Si(e){return function(t){return`var(--Grid-${t}Spacing${xi(e.unstable_level)})`}}function wi(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${xi(e.unstable_level-1)})`}}function Ci(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${xi(e.unstable_level-1)})`}const ki=({theme:e,ownerState:t})=>{const n=Si(t),r={};return yi(e.breakpoints,t.gridSize,((e,o)=>{let i={};!0===o&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${Ci(t)}${Ei(t)?` + ${n("column")}`:""})`}),e(r,i)})),r},Ri=({theme:e,ownerState:t})=>{const n={};return yi(e.breakpoints,t.gridOffset,((e,r)=>{let o={};"auto"===r&&(o={marginLeft:"auto"}),"number"==typeof r&&(o={marginLeft:0===r?"0px":`calc(100% * ${r} / ${Ci(t)})`}),e(n,o)})),n},_i=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Ei(t)?{[`--Grid-columns${xi(t.unstable_level)}`]:Ci(t)}:{"--Grid-columns":12};return yi(e.breakpoints,t.columns,((e,r)=>{e(n,{[`--Grid-columns${xi(t.unstable_level)}`]:r})})),n},Ti=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=wi(t),r=Ei(t)?{[`--Grid-rowSpacing${xi(t.unstable_level)}`]:n("row")}:{};return yi(e.breakpoints,t.rowSpacing,((n,o)=>{var i;n(r,{[`--Grid-rowSpacing${xi(t.unstable_level)}`]:"string"==typeof o?o:null==(i=e.spacing)?void 0:i.call(e,o)})})),r},Ai=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=wi(t),r=Ei(t)?{[`--Grid-columnSpacing${xi(t.unstable_level)}`]:n("column")}:{};return yi(e.breakpoints,t.columnSpacing,((n,o)=>{var i;n(r,{[`--Grid-columnSpacing${xi(t.unstable_level)}`]:"string"==typeof o?o:null==(i=e.spacing)?void 0:i.call(e,o)})})),r},Ii=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return yi(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},Li=({ownerState:e})=>{const t=Si(e),n=wi(e);return l({minWidth:0,boxSizing:"border-box"},e.container&&l({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||Ei(e))&&l({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},Pi=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},Oi=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},Mi=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map((([e,t])=>`direction-${e}-${t}`)):[`direction-xs-${String(e)}`],Ni=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],ji=nr(),zi=ho("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function $i(e){return go({props:e,name:"MuiGrid",defaultTheme:ji})}!function(e={}){const{createStyledComponent:t=zi,useThemeProps:n=$i,componentName:r="MuiGrid"}=e,o=Y.createContext(void 0),i=t(_i,Ai,Ti,ki,Ii,Li,Ri),a=Y.forwardRef((function(e,t){var a,u,c,d,p,f,h,m;const g=ar(),b=Sr(n(e)),v=Y.useContext(o),{className:y,children:x,columns:E=12,container:S=!1,component:w="div",direction:C="row",wrap:k="wrap",spacing:R=0,rowSpacing:_=R,columnSpacing:T=R,disableEqualOverflow:A,unstable_level:I=0}=b,L=s(b,Ni);let P=A;I&&void 0!==A&&(P=e.disableEqualOverflow);const O={},M={},N={};Object.entries(L).forEach((([e,t])=>{void 0!==g.breakpoints.values[e]?O[e]=t:void 0!==g.breakpoints.values[e.replace("Offset","")]?M[e.replace("Offset","")]=t:N[e]=t}));const j=null!=(a=e.columns)?a:I?void 0:E,z=null!=(u=e.spacing)?u:I?void 0:R,$=null!=(c=null!=(d=e.rowSpacing)?d:e.spacing)?c:I?void 0:_,D=null!=(p=null!=(f=e.columnSpacing)?f:e.spacing)?p:I?void 0:T,B=l({},b,{level:I,columns:j,container:S,direction:C,wrap:k,spacing:z,rowSpacing:$,columnSpacing:D,gridSize:O,gridOffset:M,disableEqualOverflow:null!=(h=null!=(m=P)?m:v)&&h,parentDisableEqualOverflow:v}),F=((e,t)=>{const{container:n,direction:o,spacing:i,wrap:a,gridSize:l}=e;return qo({root:["root",n&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...Mi(o),...Pi(l),...n?Oi(i,t.breakpoints.keys[0]):[]]},(e=>Or(r,e)),{})})(B,g);let W=Ot.jsx(i,l({ref:t,as:w,ownerState:B,className:Ar(F.root,y)},N,{children:Y.Children.map(x,(e=>{var t,n;return Y.isValidElement(e)&&Co(e,["Grid"])?Y.cloneElement(e,{unstable_level:null!=(t=null==(n=e.props)?void 0:n.unstable_level)?t:I+1}):e}))}));return void 0!==P&&P!==(null!=v&&v)&&(W=Ot.jsx(o.Provider,{value:P,children:W})),W}));a.muiName="Grid"}();const Di=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];Mr("MuiGrid",["root","container","item",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...Di.map((e=>`grid-xs-${e}`)),...Di.map((e=>`grid-sm-${e}`)),...Di.map((e=>`grid-md-${e}`)),...Di.map((e=>`grid-lg-${e}`)),...Di.map((e=>`grid-xl-${e}`))]);const Bi=["component","direction","spacing","divider","children","className","useFlexGap"],Fi=nr(),Wi=ho("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Gi(e){return go({props:e,name:"MuiStack",defaultTheme:Fi})}function Hi(e,t){const n=Y.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(Y.cloneElement(t,{key:`separator-${o}`})),e)),[])}const Ui=({ownerState:e,theme:t})=>{let n=l({display:"flex",flexDirection:"column"},Kt({theme:t},Zt({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=fn(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=Zt({values:e.direction,base:o}),a=Zt({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));n=Ft(n,Kt({theme:t},a,((t,n)=>{return e.useFlexGap?{gap:hn(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:hn(r,t)}};var o})))}return n=function(e,...t){const n=Xt(e),r=[n,...t].reduce(((e,t)=>Ft(e,t)),{});return Qt(Object.keys(n),r)}(t.breakpoints,n),n};!function(e={}){const{createStyledComponent:t=Wi,useThemeProps:n=Gi,componentName:r="MuiStack"}=e,o=t(Ui),i=Y.forwardRef((function(e,t){const i=Sr(n(e)),{component:a="div",direction:u="column",spacing:c=0,divider:d,children:p,className:f,useFlexGap:h=!1}=i,m=s(i,Bi),g={direction:u,spacing:c,useFlexGap:h},b=qo({root:["root"]},(e=>Or(r,e)),{});return Ot.jsx(o,l({as:a,ownerState:g,ref:t,className:Ar(b.root,f)},m,{children:d?Hi(p,d):p}))}))}(),Mr("MuiStack",["root"]);var Vi={},Yi={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(Yi);var qi=Yi.exports,Ki=c(i),Xi=c(yo),Qi=qi;Object.defineProperty(Vi,"__esModule",{value:!0});var Zi=Vi.alpha=da;Vi.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),i=aa(e),a=aa(t),l=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return sa({type:"rgb",values:l})},Vi.colorChannel=void 0;var Ji=Vi.darken=pa;Vi.decomposeColor=aa,Vi.emphasize=ha;var ea=Vi.getContrastRatio=function(e,t){const n=ca(e),r=ca(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};Vi.getLuminance=ca,Vi.hexToRgb=ia,Vi.hslToRgb=ua;var ta=Vi.lighten=fa;Vi.private_safeAlpha=function(e,t,n){try{return da(e,t)}catch(t){return e}},Vi.private_safeColorChannel=void 0,Vi.private_safeDarken=function(e,t,n){try{return pa(e,t)}catch(t){return e}},Vi.private_safeEmphasize=function(e,t,n){try{return ha(e,t)}catch(t){return e}},Vi.private_safeLighten=function(e,t,n){try{return fa(e,t)}catch(t){return e}},Vi.recomposeColor=sa,Vi.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=aa(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 na=Qi(Ki),ra=Qi(Xi);function oa(e,t=0,n=1){return(0,ra.default)(e,t,n)}function ia(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 aa(e){if(e.type)return e;if("#"===e.charAt(0))return aa(ia(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,na.default)(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,na.default)(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const la=e=>{const t=aa(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};Vi.colorChannel=la;function sa(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 ua(e){e=aa(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),sa({type:l,values:s})}function ca(e){let t="hsl"===(e=aa(e)).type||"hsla"===e.type?aa(ua(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 da(e,t){return e=aa(e),t=oa(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,sa(e)}function pa(e,t){if(e=aa(e),t=oa(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 sa(e)}function fa(e,t){if(e=aa(e),t=oa(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 sa(e)}function ha(e,t=.15){return ca(e)>.5?pa(e,t):fa(e,t)}Vi.private_safeColorChannel=(e,t)=>{try{return la(e)}catch(t){return e}};const ma={black:"#000",white:"#fff"},ga={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"},ba="#f3e5f5",va="#ce93d8",ya="#ba68c8",xa="#ab47bc",Ea="#9c27b0",Sa="#7b1fa2",wa="#e57373",Ca="#ef5350",ka="#f44336",Ra="#d32f2f",_a="#c62828",Ta="#ffb74d",Aa="#ffa726",Ia="#ff9800",La="#f57c00",Pa="#e65100",Oa="#e3f2fd",Ma="#90caf9",Na="#42a5f5",ja="#1976d2",za="#1565c0",$a="#4fc3f7",Da="#29b6f6",Ba="#03a9f4",Fa="#0288d1",Wa="#01579b",Ga="#81c784",Ha="#66bb6a",Ua="#4caf50",Va="#388e3c",Ya="#2e7d32",qa="#1b5e20",Ka=["mode","contrastThreshold","tonalOffset"],Xa={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:ma.white,default:ma.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}},Qa={text:{primary:ma.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:ma.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 Za(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=ta(e.main,o):"dark"===t&&(e.dark=Ji(e.main,i)))}function Ja(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=s(e,Ka),a=e.primary||function(e="light"){return"dark"===e?{main:Ma,light:Oa,dark:Na}:{main:ja,light:Na,dark:za}}(t),u=e.secondary||function(e="light"){return"dark"===e?{main:va,light:ba,dark:xa}:{main:Ea,light:ya,dark:Sa}}(t),c=e.error||function(e="light"){return"dark"===e?{main:ka,light:wa,dark:Ra}:{main:Ra,light:Ca,dark:_a}}(t),d=e.info||function(e="light"){return"dark"===e?{main:Da,light:$a,dark:Fa}:{main:Fa,light:Ba,dark:Wa}}(t),p=e.success||function(e="light"){return"dark"===e?{main:Ha,light:Ga,dark:Va}:{main:Ya,light:Ua,dark:qa}}(t),f=e.warning||function(e="light"){return"dark"===e?{main:Aa,light:Ta,dark:La}:{main:"#ed6c02",light:Ia,dark:Pa}}(t);function h(e){return ea(e,Qa.text.primary)>=n?Qa.text.primary:Xa.text.primary}const m=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(!(e=l({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(o(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(o(12,t?` (${t})`:"",JSON.stringify(e.main)));return Za(e,"light",i,r),Za(e,"dark",a,r),e.contrastText||(e.contrastText=h(e.main)),e},g={dark:Qa,light:Xa};return Ft(l({common:l({},ma),mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:u,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:d,name:"info"}),success:m({color:p,name:"success"}),grey:ga,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r},g[t]),i)}const el=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const tl={textTransform:"uppercase"},nl='"Roboto", "Helvetica", "Arial", sans-serif';function rl(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=nl,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:p,pxToRem:f}=n,h=s(n,el),m=o/14,g=f||(e=>e/d*m+"rem"),b=(e,t,n,o,i)=>{return l({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n},r===nl?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,p);var a},v={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(a,48,1.167,0),h4:b(a,34,1.235,.25),h5:b(a,24,1.334,0),h6:b(u,20,1.6,.15),subtitle1:b(a,16,1.75,.15),subtitle2:b(u,14,1.57,.1),body1:b(a,16,1.5,.15),body2:b(a,14,1.43,.15),button:b(u,14,1.75,.4,tl),caption:b(a,12,1.66,.4),overline:b(a,12,2.66,1,tl),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ft(l({htmlFontSize:d,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:u,fontWeightBold:c},v),h,{clone:!1})}function ol(...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 il=["none",ol(0,2,1,-1,0,1,1,0,0,1,3,0),ol(0,3,1,-2,0,2,2,0,0,1,5,0),ol(0,3,3,-2,0,3,4,0,0,1,8,0),ol(0,2,4,-1,0,4,5,0,0,1,10,0),ol(0,3,5,-1,0,5,8,0,0,1,14,0),ol(0,3,5,-1,0,6,10,0,0,1,18,0),ol(0,4,5,-2,0,7,10,1,0,2,16,1),ol(0,5,5,-3,0,8,10,1,0,3,14,2),ol(0,5,6,-3,0,9,12,1,0,3,16,2),ol(0,6,6,-3,0,10,14,1,0,4,18,3),ol(0,6,7,-4,0,11,15,1,0,4,20,3),ol(0,7,8,-4,0,12,17,2,0,5,22,4),ol(0,7,8,-4,0,13,19,2,0,5,24,4),ol(0,7,9,-4,0,14,21,2,0,5,26,4),ol(0,8,9,-5,0,15,22,2,0,6,28,5),ol(0,8,10,-5,0,16,24,2,0,6,30,5),ol(0,8,11,-5,0,17,26,2,0,6,32,5),ol(0,9,11,-5,0,18,28,2,0,7,34,6),ol(0,9,12,-6,0,19,29,2,0,7,36,6),ol(0,10,13,-6,0,20,31,3,0,8,38,7),ol(0,10,13,-6,0,21,33,3,0,8,40,7),ol(0,10,14,-6,0,22,35,3,0,8,42,7),ol(0,11,14,-7,0,23,36,3,0,9,44,8),ol(0,11,15,-7,0,24,38,3,0,9,46,8)],al=["duration","easing","delay"],ll={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)"},sl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ul(e){return`${Math.round(e)}ms`}function cl(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function dl(e){const t=l({},ll,e.easing),n=l({},sl,e.duration);return l({getAutoHeightDuration:cl,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return s(r,al),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:ul(o)} ${i} ${"string"==typeof a?a:ul(a)}`)).join(",")}},e,{easing:t,duration:n})}const pl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},fl=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function hl(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:a={}}=e,u=s(e,fl);if(e.vars&&void 0===e.generateCssVars)throw new Error(o(18));const c=Ja(r),d=nr(e);let p=Ft(d,{mixins:(f=d.breakpoints,h=n,l({toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}}},h)),palette:c,shadows:il.slice(),typography:rl(c,a),transitions:dl(i),zIndex:l({},pl)});var f,h;return p=Ft(p,u),p=t.reduce(((e,t)=>Ft(e,t)),p),p.unstable_sxConfig=l({},Qn,null==u?void 0:u.unstable_sxConfig),p.unstable_sx=function(e){return Jn({sx:e,theme:this})},p}const ml=hl();function gl(){const e=ar(ml);return e[a]||e}var bl,vl={},yl={exports:{}};var xl=c($t),El=c(Wt),Sl=c(en),wl=c(ro),Cl=c(rr),kl=c(wr),Rl=qi;Object.defineProperty(vl,"__esModule",{value:!0});var _l=vl.default=function(e={}){const{themeId:t,defaultTheme:n=Dl,rootShouldForwardProp:r=$l,slotShouldForwardProp:o=$l}=e,i=e=>(0,Ol.default)((0,Tl.default)({},e,{theme:Fl((0,Tl.default)({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,Il.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:u,skipSx:c,overridesResolver:d=Wl(Bl(s))}=a,p=(0,Al.default)(a,jl),f=void 0!==u?u:s&&"Root"!==s&&"root"!==s||!1,h=c||!1;let m=$l;"Root"===s||"root"===s?m=r:s?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=(0,Il.default)(e,(0,Tl.default)({shouldForwardProp:m,label:undefined},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Ll.isPlainObject)(e)?r=>Gl(e,(0,Tl.default)({},r,{theme:Fl({theme:r.theme,defaultTheme:n,themeId:t})})):e,v=(r,...o)=>{let a=b(r);const s=o?o.map(b):[];l&&d&&s.push((e=>{const r=Fl((0,Tl.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=Gl(n,(0,Tl.default)({},e,{theme:r}))})),d(e,i)})),l&&!f&&s.push((e=>{var r;const o=Fl((0,Tl.default)({},e,{defaultTheme:n,themeId:t}));return Gl({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},(0,Tl.default)({},e,{theme:o}))})),h||s.push(i);const u=s.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=g(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return g.withConfig&&(v.withConfig=g.withConfig),v}};vl.shouldForwardProp=$l,vl.systemDefaultTheme=void 0;var Tl=Rl(st),Al=Rl((bl||(bl=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(yl)),yl.exports)),Il=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=zl(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}(xl),Ll=El;Rl(Sl),Rl(wl);var Pl=Rl(Cl),Ol=Rl(kl);const Ml=["ownerState"],Nl=["variants"],jl=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function zl(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(zl=function(e){return e?n:t})(e)}function $l(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Dl=vl.systemDefaultTheme=(0,Pl.default)(),Bl=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Fl({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function Wl(e){return e?(t,n)=>n[e]:null}function Gl(e,t){let{ownerState:n}=t,r=(0,Al.default)(t,Ml);const o="function"==typeof e?e((0,Tl.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>Gl(e,(0,Tl.default)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,Al.default)(o,Nl);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,Tl.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,Tl.default)({ownerState:n},r,n)):e.style))})),t}return o}const Hl=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,Ul=_l({themeId:a,defaultTheme:ml,rootShouldForwardProp:Hl}),Vl=["theme"];function Yl(e){let{theme:t}=e,n=s(e,Vl);const r=t[a];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=l({},r,{vars:null}):t&&!t.vars&&(o=l({},t,{vars:null}))),Ot.jsx(hi,l({},n,{themeId:r?a:void 0,theme:o}))}const ql=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Kl={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)"},Xl=12,Ql=14,Zl=16,Jl=24,es=3,ts=300,ns=400,rs=600,os=700,is={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function as(e){return di(e)}function ls(e){return Or("MuiSvgIcon",e)}Mr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ss=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],us=Ul("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Jt(n.color)}`],t[`fontSize${Jt(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,u,c,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),cs=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:p,viewBox:f="0 0 24 24"}=n,h=s(n,ss),m=Y.isValidElement(r)&&"svg"===r.type,g=l({},n,{color:i,component:a,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:f,hasSvgAsChild:m}),b={};d||(b.viewBox=f);const v=(e=>{const{color:t,fontSize:n,classes:r}=e;return qo({root:["root","inherit"!==t&&`color${Jt(t)}`,`fontSize${Jt(n)}`]},ls,r)})(g);return Ot.jsxs(us,l({as:a,className:Ar(v.root,o),focusable:"false",color:c,"aria-hidden":!p||void 0,role:p?"img":void 0,ref:t},b,h,m&&r.props,{ownerState:g,children:[m?r.props.children:r,p?Ot.jsx("title",{children:p}):null]}))}));function ds(e,t){function n(n,r){return Ot.jsx(cs,l({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=cs.muiName,Y.memo(Y.forwardRef(n))}function ps(e,t){return ps=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ps(e,t)}function fs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ps(e,t)}function hs(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}cs.muiName="SvgIcon";var ms={exports:{}},gs={},bs={exports:{}},vs={};
15
15
  /**
16
16
  * @license React
17
17
  * scheduler.production.min.js
@@ -21,7 +21,7 @@
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
23
  */
24
- !function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,A(E);else{var t=n(u);null!==t&&O(x,t.startTime-e)}}function E(t,o){h=!1,m&&(m=!1,b(k),k=-1),f=!0;var i=p;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&O(x,g.startTime-o),c=!1}return c}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,w=!1,C=null,k=-1,R=5,_=-1;function T(){return!(e.unstable_now()-_<R)}function L(){if(null!==C){var t=e.unstable_now();_=t;var n=!0;try{n=C(!0,t)}finally{n?S():(w=!1,C=null)}}else w=!1}if("function"==typeof v)S=function(){v(L)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,I=P.port2;P.port1.onmessage=L,S=function(){I.postMessage(null)}}else S=function(){g(L,0)};function A(e){C=e,w||(w=!0,S())}function O(t,n){k=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,A(E))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(b(k),k=-1):m=!0,O(x,i-a))):(r.sortIndex=l,t(s,r),h||f||(h=!0,A(E))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(Il),Pl.exports=Il;var Al=Pl.exports,Ol=Y,Ml=Al;
24
+ !function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,P(E);else{var t=n(u);null!==t&&O(x,t.startTime-e)}}function E(t,o){h=!1,m&&(m=!1,b(k),k=-1),f=!0;var i=p;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&O(x,g.startTime-o),c=!1}return c}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,w=!1,C=null,k=-1,R=5,_=-1;function T(){return!(e.unstable_now()-_<R)}function A(){if(null!==C){var t=e.unstable_now();_=t;var n=!0;try{n=C(!0,t)}finally{n?S():(w=!1,C=null)}}else w=!1}if("function"==typeof v)S=function(){v(A)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,L=I.port2;I.port1.onmessage=A,S=function(){L.postMessage(null)}}else S=function(){g(A,0)};function P(e){C=e,w||(w=!0,S())}function O(t,n){k=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,P(E))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(b(k),k=-1):m=!0,O(x,i-a))):(r.sortIndex=l,t(s,r),h||f||(h=!0,P(E))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(vs),bs.exports=vs;var ys=bs.exports,xs=Y,Es=ys;
25
25
  /**
26
26
  * @license React
27
27
  * react-dom.production.min.js
@@ -30,7 +30,7 @@
30
30
  *
31
31
  * This source code is licensed under the MIT license found in the
32
32
  * LICENSE file in the root directory of this source tree.
33
- */function Nl(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var zl=new Set,jl={};function Dl(e,t){$l(e,t),$l(e+"Capture",t)}function $l(e,t){for(jl[e]=t,e=0;e<t.length;e++)zl.add(t[e])}var Bl=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Fl=Object.prototype.hasOwnProperty,Hl=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ul={},Vl={};function Gl(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Wl={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Wl[e]=new Gl(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Wl[t]=new Gl(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Wl[e]=new Gl(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Wl[e]=new Gl(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Wl[e]=new Gl(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Wl[e]=new Gl(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Wl[e]=new Gl(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Wl[e]=new Gl(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Wl[e]=new Gl(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Yl=/[\-:]([a-z])/g;function ql(e){return e[1].toUpperCase()}function Kl(e,t,n,r){var o=Wl.hasOwnProperty(t)?Wl[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Fl.call(Vl,e)||!Fl.call(Ul,e)&&(Hl.test(e)?Vl[e]=!0:(Ul[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Yl,ql);Wl[t]=new Gl(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Yl,ql);Wl[t]=new Gl(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Yl,ql);Wl[t]=new Gl(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Wl[e]=new Gl(e,1,!1,e.toLowerCase(),null,!1,!1)})),Wl.xlinkHref=new Gl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Wl[e]=new Gl(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Ql=Ol.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xl=Symbol.for("react.element"),Zl=Symbol.for("react.portal"),Jl=Symbol.for("react.fragment"),es=Symbol.for("react.strict_mode"),ts=Symbol.for("react.profiler"),ns=Symbol.for("react.provider"),rs=Symbol.for("react.context"),os=Symbol.for("react.forward_ref"),is=Symbol.for("react.suspense"),as=Symbol.for("react.suspense_list"),ls=Symbol.for("react.memo"),ss=Symbol.for("react.lazy"),us=Symbol.for("react.offscreen"),cs=Symbol.iterator;function ds(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=cs&&e[cs]||e["@@iterator"])?e:null}var ps,fs=Object.assign;function hs(e){if(void 0===ps)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ps=t&&t[1]||""}return"\n"+ps+e}var ms=!1;function gs(e,t){if(!e||ms)return"";ms=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{ms=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hs(e):""}function bs(e){switch(e.tag){case 5:return hs(e.type);case 16:return hs("Lazy");case 13:return hs("Suspense");case 19:return hs("SuspenseList");case 0:case 2:case 15:return e=gs(e.type,!1);case 11:return e=gs(e.type.render,!1);case 1:return e=gs(e.type,!0);default:return""}}function vs(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Jl:return"Fragment";case Zl:return"Portal";case ts:return"Profiler";case es:return"StrictMode";case is:return"Suspense";case as:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case rs:return(e.displayName||"Context")+".Consumer";case ns:return(e._context.displayName||"Context")+".Provider";case os:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case ls:return null!==(t=e.displayName||null)?t:vs(e.type)||"Memo";case ss:t=e._payload,e=e._init;try{return vs(e(t))}catch(e){}}return null}function ys(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vs(t);case 8:return t===es?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function xs(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Es(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ss(e){e._valueTracker||(e._valueTracker=function(e){var t=Es(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ws(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Es(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Cs(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ks(e,t){var n=t.checked;return fs({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Rs(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=xs(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function _s(e,t){null!=(t=t.checked)&&Kl(e,"checked",t,!1)}function Ts(e,t){_s(e,t);var n=xs(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ps(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ps(e,t.type,xs(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ls(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ps(e,t,n){"number"===t&&Cs(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Is=Array.isArray;function As(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+xs(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Os(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(Nl(91));return fs({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ms(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(Nl(92));if(Is(n)){if(1<n.length)throw Error(Nl(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:xs(n)}}function Ns(e,t){var n=xs(t.value),r=xs(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function zs(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function js(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ds(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?js(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var $s,Bs,Fs=(Bs=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for(($s=$s||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=$s.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Bs(e,t)}))}:Bs);function Hs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Us={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vs=["Webkit","ms","Moz","O"];function Gs(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Us.hasOwnProperty(e)&&Us[e]?(""+t).trim():t+"px"}function Ws(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Gs(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Us).forEach((function(e){Vs.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Us[t]=Us[e]}))}));var Ys=fs({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function qs(e,t){if(t){if(Ys[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(Nl(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(Nl(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(Nl(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(Nl(62))}}function Ks(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Qs=null;function Xs(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Zs=null,Js=null,eu=null;function tu(e){if(e=qp(e)){if("function"!=typeof Zs)throw Error(Nl(280));var t=e.stateNode;t&&(t=Qp(t),Zs(e.stateNode,e.type,t))}}function nu(e){Js?eu?eu.push(e):eu=[e]:Js=e}function ru(){if(Js){var e=Js,t=eu;if(eu=Js=null,tu(e),t)for(e=0;e<t.length;e++)tu(t[e])}}function ou(e,t){return e(t)}function iu(){}var au=!1;function lu(e,t,n){if(au)return e(t,n);au=!0;try{return ou(e,t,n)}finally{au=!1,(null!==Js||null!==eu)&&(iu(),ru())}}function su(e,t){var n=e.stateNode;if(null===n)return null;var r=Qp(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(Nl(231,t,typeof n));return n}var uu=!1;if(Bl)try{var cu={};Object.defineProperty(cu,"passive",{get:function(){uu=!0}}),window.addEventListener("test",cu,cu),window.removeEventListener("test",cu,cu)}catch(Bs){uu=!1}function du(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var pu=!1,fu=null,hu=!1,mu=null,gu={onError:function(e){pu=!0,fu=e}};function bu(e,t,n,r,o,i,a,l,s){pu=!1,fu=null,du.apply(gu,arguments)}function vu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function yu(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function xu(e){if(vu(e)!==e)throw Error(Nl(188))}function Eu(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=vu(e)))throw Error(Nl(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return xu(o),e;if(i===r)return xu(o),t;i=i.sibling}throw Error(Nl(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(Nl(189))}}if(n.alternate!==r)throw Error(Nl(190))}if(3!==n.tag)throw Error(Nl(188));return n.stateNode.current===n?e:t}(e),null!==e?Su(e):null}function Su(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Su(e);if(null!==t)return t;e=e.sibling}return null}var wu=Ml.unstable_scheduleCallback,Cu=Ml.unstable_cancelCallback,ku=Ml.unstable_shouldYield,Ru=Ml.unstable_requestPaint,_u=Ml.unstable_now,Tu=Ml.unstable_getCurrentPriorityLevel,Lu=Ml.unstable_ImmediatePriority,Pu=Ml.unstable_UserBlockingPriority,Iu=Ml.unstable_NormalPriority,Au=Ml.unstable_LowPriority,Ou=Ml.unstable_IdlePriority,Mu=null,Nu=null;var zu=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ju(e)/Du|0)|0},ju=Math.log,Du=Math.LN2;var $u=64,Bu=4194304;function Fu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hu(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=Fu(l):0!==(i&=a)&&(r=Fu(i))}else 0!==(a=n&~o)?r=Fu(a):0!==i&&(r=Fu(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-zu(t)),r|=e[n],t&=~o;return r}function Uu(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Vu(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Gu(){var e=$u;return!(4194240&($u<<=1))&&($u=64),e}function Wu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Yu(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-zu(t)]=n}function qu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zu(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Ku=0;function Qu(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var Xu,Zu,Ju,ec,tc,nc=!1,rc=[],oc=null,ic=null,ac=null,lc=new Map,sc=new Map,uc=[],cc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function dc(e,t){switch(e){case"focusin":case"focusout":oc=null;break;case"dragenter":case"dragleave":ic=null;break;case"mouseover":case"mouseout":ac=null;break;case"pointerover":case"pointerout":lc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":sc.delete(t.pointerId)}}function pc(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=qp(t))&&Zu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function fc(e){var t=Yp(e.target);if(null!==t){var n=vu(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=yu(n)))return e.blockedOn=t,void tc(e.priority,(function(){Ju(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function hc(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=kc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=qp(n))&&Zu(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Qs=r,n.target.dispatchEvent(r),Qs=null,t.shift()}return!0}function mc(e,t,n){hc(e)&&n.delete(t)}function gc(){nc=!1,null!==oc&&hc(oc)&&(oc=null),null!==ic&&hc(ic)&&(ic=null),null!==ac&&hc(ac)&&(ac=null),lc.forEach(mc),sc.forEach(mc)}function bc(e,t){e.blockedOn===t&&(e.blockedOn=null,nc||(nc=!0,Ml.unstable_scheduleCallback(Ml.unstable_NormalPriority,gc)))}function vc(e){function t(t){return bc(t,e)}if(0<rc.length){bc(rc[0],e);for(var n=1;n<rc.length;n++){var r=rc[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==oc&&bc(oc,e),null!==ic&&bc(ic,e),null!==ac&&bc(ac,e),lc.forEach(t),sc.forEach(t),n=0;n<uc.length;n++)(r=uc[n]).blockedOn===e&&(r.blockedOn=null);for(;0<uc.length&&null===(n=uc[0]).blockedOn;)fc(n),null===n.blockedOn&&uc.shift()}var yc=Ql.ReactCurrentBatchConfig,xc=!0;function Ec(e,t,n,r){var o=Ku,i=yc.transition;yc.transition=null;try{Ku=1,wc(e,t,n,r)}finally{Ku=o,yc.transition=i}}function Sc(e,t,n,r){var o=Ku,i=yc.transition;yc.transition=null;try{Ku=4,wc(e,t,n,r)}finally{Ku=o,yc.transition=i}}function wc(e,t,n,r){if(xc){var o=kc(e,t,n,r);if(null===o)yp(e,t,r,Cc,n),dc(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return oc=pc(oc,e,t,n,r,o),!0;case"dragenter":return ic=pc(ic,e,t,n,r,o),!0;case"mouseover":return ac=pc(ac,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return lc.set(i,pc(lc.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,sc.set(i,pc(sc.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(dc(e,r),4&t&&-1<cc.indexOf(e)){for(;null!==o;){var i=qp(o);if(null!==i&&Xu(i),null===(i=kc(e,t,n,r))&&yp(e,t,r,Cc,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else yp(e,t,r,null,n)}}var Cc=null;function kc(e,t,n,r){if(Cc=null,null!==(e=Yp(e=Xs(r))))if(null===(t=vu(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=yu(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Cc=e,null}function Rc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Tu()){case Lu:return 1;case Pu:return 4;case Iu:case Au:return 16;case Ou:return 536870912;default:return 16}default:return 16}}var _c=null,Tc=null,Lc=null;function Pc(){if(Lc)return Lc;var e,t,n=Tc,r=n.length,o="value"in _c?_c.value:_c.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Lc=o.slice(e,1<t?1-t:void 0)}function Ic(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Ac(){return!0}function Oc(){return!1}function Mc(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Ac:Oc,this.isPropagationStopped=Oc,this}return fs(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Ac)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Ac)},persist:function(){},isPersistent:Ac}),t}var Nc,zc,jc,Dc={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$c=Mc(Dc),Bc=fs({},Dc,{view:0,detail:0}),Fc=Mc(Bc),Hc=fs({},Bc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ed,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==jc&&(jc&&"mousemove"===e.type?(Nc=e.screenX-jc.screenX,zc=e.screenY-jc.screenY):zc=Nc=0,jc=e),Nc)},movementY:function(e){return"movementY"in e?e.movementY:zc}}),Uc=Mc(Hc),Vc=Mc(fs({},Hc,{dataTransfer:0})),Gc=Mc(fs({},Bc,{relatedTarget:0})),Wc=Mc(fs({},Dc,{animationName:0,elapsedTime:0,pseudoElement:0})),Yc=fs({},Dc,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qc=Mc(Yc),Kc=Mc(fs({},Dc,{data:0})),Qc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Zc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jc(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Zc[e])&&!!t[e]}function ed(){return Jc}var td=fs({},Bc,{key:function(e){if(e.key){var t=Qc[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Ic(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Xc[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ed,charCode:function(e){return"keypress"===e.type?Ic(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ic(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),nd=Mc(td),rd=Mc(fs({},Hc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),od=Mc(fs({},Bc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ed})),id=Mc(fs({},Dc,{propertyName:0,elapsedTime:0,pseudoElement:0})),ad=fs({},Hc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ld=Mc(ad),sd=[9,13,27,32],ud=Bl&&"CompositionEvent"in window,cd=null;Bl&&"documentMode"in document&&(cd=document.documentMode);var dd=Bl&&"TextEvent"in window&&!cd,pd=Bl&&(!ud||cd&&8<cd&&11>=cd),fd=String.fromCharCode(32),hd=!1;function md(e,t){switch(e){case"keyup":return-1!==sd.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var bd=!1;var vd={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function yd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!vd[e.type]:"textarea"===t}function xd(e,t,n,r){nu(r),0<(t=Ep(t,"onChange")).length&&(n=new $c("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ed=null,Sd=null;function wd(e){fp(e,0)}function Cd(e){if(ws(Kp(e)))return e}function kd(e,t){if("change"===e)return t}var Rd=!1;if(Bl){var _d;if(Bl){var Td="oninput"in document;if(!Td){var Ld=document.createElement("div");Ld.setAttribute("oninput","return;"),Td="function"==typeof Ld.oninput}_d=Td}else _d=!1;Rd=_d&&(!document.documentMode||9<document.documentMode)}function Pd(){Ed&&(Ed.detachEvent("onpropertychange",Id),Sd=Ed=null)}function Id(e){if("value"===e.propertyName&&Cd(Sd)){var t=[];xd(t,Sd,e,Xs(e)),lu(wd,t)}}function Ad(e,t,n){"focusin"===e?(Pd(),Sd=n,(Ed=t).attachEvent("onpropertychange",Id)):"focusout"===e&&Pd()}function Od(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Cd(Sd)}function Md(e,t){if("click"===e)return Cd(t)}function Nd(e,t){if("input"===e||"change"===e)return Cd(t)}var zd="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function jd(e,t){if(zd(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Fl.call(t,o)||!zd(e[o],t[o]))return!1}return!0}function Dd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $d(e,t){var n,r=Dd(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Dd(r)}}function Bd(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Bd(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Fd(){for(var e=window,t=Cs();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Cs((e=t.contentWindow).document)}return t}function Hd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Ud(e){var t=Fd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bd(n.ownerDocument.documentElement,n)){if(null!==r&&Hd(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=$d(n,i);var a=$d(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Vd=Bl&&"documentMode"in document&&11>=document.documentMode,Gd=null,Wd=null,Yd=null,qd=!1;function Kd(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;qd||null==Gd||Gd!==Cs(r)||("selectionStart"in(r=Gd)&&Hd(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Yd&&jd(Yd,r)||(Yd=r,0<(r=Ep(Wd,"onSelect")).length&&(t=new $c("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Gd)))}function Qd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Xd={animationend:Qd("Animation","AnimationEnd"),animationiteration:Qd("Animation","AnimationIteration"),animationstart:Qd("Animation","AnimationStart"),transitionend:Qd("Transition","TransitionEnd")},Zd={},Jd={};function ep(e){if(Zd[e])return Zd[e];if(!Xd[e])return e;var t,n=Xd[e];for(t in n)if(n.hasOwnProperty(t)&&t in Jd)return Zd[e]=n[t];return e}Bl&&(Jd=document.createElement("div").style,"AnimationEvent"in window||(delete Xd.animationend.animation,delete Xd.animationiteration.animation,delete Xd.animationstart.animation),"TransitionEvent"in window||delete Xd.transitionend.transition);var tp=ep("animationend"),np=ep("animationiteration"),rp=ep("animationstart"),op=ep("transitionend"),ip=new Map,ap="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function lp(e,t){ip.set(e,t),Dl(t,[e])}for(var sp=0;sp<ap.length;sp++){var up=ap[sp];lp(up.toLowerCase(),"on"+(up[0].toUpperCase()+up.slice(1)))}lp(tp,"onAnimationEnd"),lp(np,"onAnimationIteration"),lp(rp,"onAnimationStart"),lp("dblclick","onDoubleClick"),lp("focusin","onFocus"),lp("focusout","onBlur"),lp(op,"onTransitionEnd"),$l("onMouseEnter",["mouseout","mouseover"]),$l("onMouseLeave",["mouseout","mouseover"]),$l("onPointerEnter",["pointerout","pointerover"]),$l("onPointerLeave",["pointerout","pointerover"]),Dl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Dl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Dl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Dl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Dl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Dl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cp="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),dp=new Set("cancel close invalid load scroll toggle".split(" ").concat(cp));function pp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(bu.apply(this,arguments),pu){if(!pu)throw Error(Nl(198));var u=fu;pu=!1,fu=null,hu||(hu=!0,mu=u)}}(r,t,void 0,e),e.currentTarget=null}function fp(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;pp(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;pp(o,l,u),i=s}}}if(hu)throw e=mu,hu=!1,mu=null,e}function hp(e,t){var n=t[Vp];void 0===n&&(n=t[Vp]=new Set);var r=e+"__bubble";n.has(r)||(vp(t,e,2,!1),n.add(r))}function mp(e,t,n){var r=0;t&&(r|=4),vp(n,e,r,t)}var gp="_reactListening"+Math.random().toString(36).slice(2);function bp(e){if(!e[gp]){e[gp]=!0,zl.forEach((function(t){"selectionchange"!==t&&(dp.has(t)||mp(t,!1,e),mp(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[gp]||(t[gp]=!0,mp("selectionchange",!1,t))}}function vp(e,t,n,r){switch(Rc(t)){case 1:var o=Ec;break;case 4:o=Sc;break;default:o=wc}n=o.bind(null,t,n,e),o=void 0,!uu||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function yp(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=Yp(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}lu((function(){var r=i,o=Xs(n),a=[];e:{var l=ip.get(e);if(void 0!==l){var s=$c,u=e;switch(e){case"keypress":if(0===Ic(n))break e;case"keydown":case"keyup":s=nd;break;case"focusin":u="focus",s=Gc;break;case"focusout":u="blur",s=Gc;break;case"beforeblur":case"afterblur":s=Gc;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Uc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Vc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=od;break;case tp:case np:case rp:s=Wc;break;case op:s=id;break;case"scroll":s=Fc;break;case"wheel":s=ld;break;case"copy":case"cut":case"paste":s=qc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=rd}var c=!!(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=su(h,p))&&c.push(xp(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Qs||!(u=n.relatedTarget||n.fromElement)||!Yp(u)&&!u[Up])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?Yp(u):null)&&(u!==(d=vu(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=Uc,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=rd,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:Kp(s),f=null==u?l:Kp(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Yp(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=Sp(f))h++;for(f=0,m=p;m;m=Sp(m))f++;for(;0<h-f;)c=Sp(c),h--;for(;0<f-h;)p=Sp(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Sp(c),p=Sp(p)}c=null}else c=null;null!==s&&wp(a,l,s,c,!1),null!==u&&null!==d&&wp(a,d,u,c,!0)}if("select"===(s=(l=r?Kp(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=kd;else if(yd(l))if(Rd)g=Nd;else{g=Od;var b=Ad}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=Md);switch(g&&(g=g(e,r))?xd(a,g,n,o):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&Ps(l,"number",l.value)),b=r?Kp(r):window,e){case"focusin":(yd(b)||"true"===b.contentEditable)&&(Gd=b,Wd=r,Yd=null);break;case"focusout":Yd=Wd=Gd=null;break;case"mousedown":qd=!0;break;case"contextmenu":case"mouseup":case"dragend":qd=!1,Kd(a,n,o);break;case"selectionchange":if(Vd)break;case"keydown":case"keyup":Kd(a,n,o)}var v;if(ud)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else bd?md(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(pd&&"ko"!==n.locale&&(bd||"onCompositionStart"!==y?"onCompositionEnd"===y&&bd&&(v=Pc()):(Tc="value"in(_c=o)?_c.value:_c.textContent,bd=!0)),0<(b=Ep(r,y)).length&&(y=new Kc(y,e,null,n,o),a.push({event:y,listeners:b}),v?y.data=v:null!==(v=gd(n))&&(y.data=v))),(v=dd?function(e,t){switch(e){case"compositionend":return gd(t);case"keypress":return 32!==t.which?null:(hd=!0,fd);case"textInput":return(e=t.data)===fd&&hd?null:e;default:return null}}(e,n):function(e,t){if(bd)return"compositionend"===e||!ud&&md(e,t)?(e=Pc(),Lc=Tc=_c=null,bd=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return pd&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ep(r,"onBeforeInput")).length&&(o=new Kc("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}fp(a,t)}))}function xp(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ep(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=su(e,n))&&r.unshift(xp(e,i,o)),null!=(i=su(e,t))&&r.push(xp(e,i,o))),e=e.return}return r}function Sp(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function wp(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=su(n,i))&&a.unshift(xp(n,s,l)):o||null!=(s=su(n,i))&&a.push(xp(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Cp=/\r\n?/g,kp=/\u0000|\uFFFD/g;function Rp(e){return("string"==typeof e?e:""+e).replace(Cp,"\n").replace(kp,"")}function _p(e,t,n){if(t=Rp(t),Rp(e)!==t&&n)throw Error(Nl(425))}function Tp(){}var Lp=null,Pp=null;function Ip(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Ap="function"==typeof setTimeout?setTimeout:void 0,Op="function"==typeof clearTimeout?clearTimeout:void 0,Mp="function"==typeof Promise?Promise:void 0,Np="function"==typeof queueMicrotask?queueMicrotask:void 0!==Mp?function(e){return Mp.resolve(null).then(e).catch(zp)}:Ap;function zp(e){setTimeout((function(){throw e}))}function jp(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void vc(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);vc(t)}function Dp(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function $p(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Bp=Math.random().toString(36).slice(2),Fp="__reactFiber$"+Bp,Hp="__reactProps$"+Bp,Up="__reactContainer$"+Bp,Vp="__reactEvents$"+Bp,Gp="__reactListeners$"+Bp,Wp="__reactHandles$"+Bp;function Yp(e){var t=e[Fp];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Up]||n[Fp]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=$p(e);null!==e;){if(n=e[Fp])return n;e=$p(e)}return t}n=(e=n).parentNode}return null}function qp(e){return!(e=e[Fp]||e[Up])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Kp(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(Nl(33))}function Qp(e){return e[Hp]||null}var Xp=[],Zp=-1;function Jp(e){return{current:e}}function ef(e){0>Zp||(e.current=Xp[Zp],Xp[Zp]=null,Zp--)}function tf(e,t){Zp++,Xp[Zp]=e.current,e.current=t}var nf={},rf=Jp(nf),of=Jp(!1),af=nf;function lf(e,t){var n=e.type.contextTypes;if(!n)return nf;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function sf(e){return null!=(e=e.childContextTypes)}function uf(){ef(of),ef(rf)}function cf(e,t,n){if(rf.current!==nf)throw Error(Nl(168));tf(rf,t),tf(of,n)}function df(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(Nl(108,ys(e)||"Unknown",o));return fs({},n,r)}function pf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nf,af=rf.current,tf(rf,e),tf(of,of.current),!0}function ff(e,t,n){var r=e.stateNode;if(!r)throw Error(Nl(169));n?(e=df(e,t,af),r.__reactInternalMemoizedMergedChildContext=e,ef(of),ef(rf),tf(rf,e)):ef(of),tf(of,n)}var hf=null,mf=!1,gf=!1;function bf(e){null===hf?hf=[e]:hf.push(e)}function vf(){if(!gf&&null!==hf){gf=!0;var e=0,t=Ku;try{var n=hf;for(Ku=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}hf=null,mf=!1}catch(t){throw null!==hf&&(hf=hf.slice(e+1)),wu(Lu,vf),t}finally{Ku=t,gf=!1}}return null}var yf=[],xf=0,Ef=null,Sf=0,wf=[],Cf=0,kf=null,Rf=1,_f="";function Tf(e,t){yf[xf++]=Sf,yf[xf++]=Ef,Ef=e,Sf=t}function Lf(e,t,n){wf[Cf++]=Rf,wf[Cf++]=_f,wf[Cf++]=kf,kf=e;var r=Rf;e=_f;var o=32-zu(r)-1;r&=~(1<<o),n+=1;var i=32-zu(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Rf=1<<32-zu(t)+o|n<<o|r,_f=i+e}else Rf=1<<i|n<<o|r,_f=e}function Pf(e){null!==e.return&&(Tf(e,1),Lf(e,1,0))}function If(e){for(;e===Ef;)Ef=yf[--xf],yf[xf]=null,Sf=yf[--xf],yf[xf]=null;for(;e===kf;)kf=wf[--Cf],wf[Cf]=null,_f=wf[--Cf],wf[Cf]=null,Rf=wf[--Cf],wf[Cf]=null}var Af=null,Of=null,Mf=!1,Nf=null;function zf(e,t){var n=av(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function jf(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Af=e,Of=Dp(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Af=e,Of=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==kf?{id:Rf,overflow:_f}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=av(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Af=e,Of=null,!0);default:return!1}}function Df(e){return!(!(1&e.mode)||128&e.flags)}function $f(e){if(Mf){var t=Of;if(t){var n=t;if(!jf(e,t)){if(Df(e))throw Error(Nl(418));t=Dp(n.nextSibling);var r=Af;t&&jf(e,t)?zf(r,n):(e.flags=-4097&e.flags|2,Mf=!1,Af=e)}}else{if(Df(e))throw Error(Nl(418));e.flags=-4097&e.flags|2,Mf=!1,Af=e}}}function Bf(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Af=e}function Ff(e){if(e!==Af)return!1;if(!Mf)return Bf(e),Mf=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Ip(e.type,e.memoizedProps)),t&&(t=Of)){if(Df(e))throw Hf(),Error(Nl(418));for(;t;)zf(e,t),t=Dp(t.nextSibling)}if(Bf(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(Nl(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Of=Dp(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Of=null}}else Of=Af?Dp(e.stateNode.nextSibling):null;return!0}function Hf(){for(var e=Of;e;)e=Dp(e.nextSibling)}function Uf(){Of=Af=null,Mf=!1}function Vf(e){null===Nf?Nf=[e]:Nf.push(e)}var Gf=Ql.ReactCurrentBatchConfig;function Wf(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(Nl(309));var r=n.stateNode}if(!r)throw Error(Nl(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(Nl(284));if(!n._owner)throw Error(Nl(290,e))}return e}function Yf(e,t){throw e=Object.prototype.toString.call(t),Error(Nl(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qf(e){return(0,e._init)(e._payload)}function Kf(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=sv(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=pv(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===Jl?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===ss&&qf(i)===t.type)?((r=o(t,n.props)).ref=Wf(e,t,n),r.return=e,r):((r=uv(n.type,n.key,n.props,null,e.mode,r)).ref=Wf(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=fv(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=cv(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=pv(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Xl:return(n=uv(t.type,t.key,t.props,null,e.mode,n)).ref=Wf(e,null,t),n.return=e,n;case Zl:return(t=fv(t,e.mode,n)).return=e,t;case ss:return d(e,(0,t._init)(t._payload),n)}if(Is(t)||ds(t))return(t=cv(t,e.mode,n,null)).return=e,t;Yf(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Xl:return n.key===o?s(e,t,n,r):null;case Zl:return n.key===o?u(e,t,n,r):null;case ss:return p(e,t,(o=n._init)(n._payload),r)}if(Is(n)||ds(n))return null!==o?null:c(e,t,n,r,null);Yf(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Xl:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Zl:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case ss:return f(e,t,n,(0,r._init)(r._payload),o)}if(Is(r)||ds(r))return c(t,e=e.get(n)||null,r,o,null);Yf(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var b=p(o,h,l[m],s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(o,h),a=i(b,a,m),null===c?u=b:c.sibling=b,c=b,h=g}if(m===l.length)return n(o,h),Mf&&Tf(o,m),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return Mf&&Tf(o,m),u}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),Mf&&Tf(o,m),u}function m(o,a,l,s){var u=ds(l);if("function"!=typeof u)throw Error(Nl(150));if(null==(l=u.call(l)))throw Error(Nl(151));for(var c=u=null,h=a,m=a=0,g=null,b=l.next();null!==h&&!b.done;m++,b=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,b.value,s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,h=g}if(b.done)return n(o,h),Mf&&Tf(o,m),u;if(null===h){for(;!b.done;m++,b=l.next())null!==(b=d(o,b.value,s))&&(a=i(b,a,m),null===c?u=b:c.sibling=b,c=b);return Mf&&Tf(o,m),u}for(h=r(o,h);!b.done;m++,b=l.next())null!==(b=f(h,o,m,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?m:b.key),a=i(b,a,m),null===c?u=b:c.sibling=b,c=b);return e&&h.forEach((function(e){return t(o,e)})),Mf&&Tf(o,m),u}return function e(r,i,l,s){if("object"==typeof l&&null!==l&&l.type===Jl&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case Xl:e:{for(var u=l.key,c=i;null!==c;){if(c.key===u){if((u=l.type)===Jl){if(7===c.tag){n(r,c.sibling),(i=o(c,l.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===ss&&qf(u)===c.type){n(r,c.sibling),(i=o(c,l.props)).ref=Wf(r,c,l),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===Jl?((i=cv(l.props.children,r.mode,s,l.key)).return=r,r=i):((s=uv(l.type,l.key,l.props,null,r.mode,s)).ref=Wf(r,i,l),s.return=r,r=s)}return a(r);case Zl:e:{for(c=l.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===l.containerInfo&&i.stateNode.implementation===l.implementation){n(r,i.sibling),(i=o(i,l.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=fv(l,r.mode,s)).return=r,r=i}return a(r);case ss:return e(r,i,(c=l._init)(l._payload),s)}if(Is(l))return h(r,i,l,s);if(ds(l))return m(r,i,l,s);Yf(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,l)).return=r,r=i):(n(r,i),(i=pv(l,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var Qf=Kf(!0),Xf=Kf(!1),Zf=Jp(null),Jf=null,eh=null,th=null;function nh(){th=eh=Jf=null}function rh(e){var t=Zf.current;ef(Zf),e._currentValue=t}function oh(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ih(e,t){Jf=e,th=eh=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(qm=!0),e.firstContext=null)}function ah(e){var t=e._currentValue;if(th!==e)if(e={context:e,memoizedValue:t,next:null},null===eh){if(null===Jf)throw Error(Nl(308));eh=e,Jf.dependencies={lanes:0,firstContext:e}}else eh=eh.next=e;return t}var lh=null;function sh(e){null===lh?lh=[e]:lh.push(e)}function uh(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,sh(t)):(n.next=o.next,o.next=n),t.interleaved=n,ch(e,r)}function ch(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var dh=!1;function ph(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function hh(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function mh(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&rb){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ch(e,n)}return null===(o=r.interleaved)?(t.next=t,sh(r)):(t.next=o.next,o.next=t),r.interleaved=t,ch(e,n)}function gh(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,qu(e,n)}}function bh(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vh(e,t,n,r){var o=e.updateQueue;dh=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=fs({},d,p);break e;case 2:dh=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=f,s=d):c=c.next=f,a|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);db|=a,e.lanes=a,e.memoizedState=d}}function yh(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(Nl(191,o));o.call(r)}}}var xh={},Eh=Jp(xh),Sh=Jp(xh),wh=Jp(xh);function Ch(e){if(e===xh)throw Error(Nl(174));return e}function kh(e,t){switch(tf(wh,t),tf(Sh,e),tf(Eh,xh),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ds(null,"");break;default:t=Ds(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ef(Eh),tf(Eh,t)}function Rh(){ef(Eh),ef(Sh),ef(wh)}function _h(e){Ch(wh.current);var t=Ch(Eh.current),n=Ds(t,e.type);t!==n&&(tf(Sh,e),tf(Eh,n))}function Th(e){Sh.current===e&&(ef(Eh),ef(Sh))}var Lh=Jp(0);function Ph(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ih=[];function Ah(){for(var e=0;e<Ih.length;e++)Ih[e]._workInProgressVersionPrimary=null;Ih.length=0}var Oh=Ql.ReactCurrentDispatcher,Mh=Ql.ReactCurrentBatchConfig,Nh=0,zh=null,jh=null,Dh=null,$h=!1,Bh=!1,Fh=0,Hh=0;function Uh(){throw Error(Nl(321))}function Vh(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!zd(e[n],t[n]))return!1;return!0}function Gh(e,t,n,r,o,i){if(Nh=i,zh=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Oh.current=null===e||null===e.memoizedState?Tm:Lm,e=n(r,o),Bh){i=0;do{if(Bh=!1,Fh=0,25<=i)throw Error(Nl(301));i+=1,Dh=jh=null,t.updateQueue=null,Oh.current=Pm,e=n(r,o)}while(Bh)}if(Oh.current=_m,t=null!==jh&&null!==jh.next,Nh=0,Dh=jh=zh=null,$h=!1,t)throw Error(Nl(300));return e}function Wh(){var e=0!==Fh;return Fh=0,e}function Yh(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Dh?zh.memoizedState=Dh=e:Dh=Dh.next=e,Dh}function qh(){if(null===jh){var e=zh.alternate;e=null!==e?e.memoizedState:null}else e=jh.next;var t=null===Dh?zh.memoizedState:Dh.next;if(null!==t)Dh=t,jh=e;else{if(null===e)throw Error(Nl(310));e={memoizedState:(jh=e).memoizedState,baseState:jh.baseState,baseQueue:jh.baseQueue,queue:jh.queue,next:null},null===Dh?zh.memoizedState=Dh=e:Dh=Dh.next=e}return Dh}function Kh(e,t){return"function"==typeof t?t(e):t}function Qh(e){var t=qh(),n=t.queue;if(null===n)throw Error(Nl(311));n.lastRenderedReducer=e;var r=jh,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=a=null,s=null,u=i;do{var c=u.lane;if((Nh&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=d,a=r):s=s.next=d,zh.lanes|=c,db|=c}u=u.next}while(null!==u&&u!==i);null===s?a=r:s.next=l,zd(r,t.memoizedState)||(qm=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,zh.lanes|=i,db|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Xh(e){var t=qh(),n=t.queue;if(null===n)throw Error(Nl(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);zd(i,t.memoizedState)||(qm=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Zh(){}function Jh(e,t){var n=zh,r=qh(),o=t(),i=!zd(r.memoizedState,o);if(i&&(r.memoizedState=o,qm=!0),r=r.queue,dm(nm.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==Dh&&1&Dh.memoizedState.tag){if(n.flags|=2048,am(9,tm.bind(null,n,r,o,t),void 0,null),null===ob)throw Error(Nl(349));30&Nh||em(n,t,o)}return o}function em(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=zh.updateQueue)?(t={lastEffect:null,stores:null},zh.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function tm(e,t,n,r){t.value=n,t.getSnapshot=r,rm(t)&&om(e)}function nm(e,t,n){return n((function(){rm(t)&&om(e)}))}function rm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!zd(e,n)}catch(e){return!0}}function om(e){var t=ch(e,1);null!==t&&Ib(t,e,1,-1)}function im(e){var t=Yh();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Kh,lastRenderedState:e},t.queue=e,e=e.dispatch=wm.bind(null,zh,e),[t.memoizedState,e]}function am(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=zh.updateQueue)?(t={lastEffect:null,stores:null},zh.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function lm(){return qh().memoizedState}function sm(e,t,n,r){var o=Yh();zh.flags|=e,o.memoizedState=am(1|t,n,void 0,void 0===r?null:r)}function um(e,t,n,r){var o=qh();r=void 0===r?null:r;var i=void 0;if(null!==jh){var a=jh.memoizedState;if(i=a.destroy,null!==r&&Vh(r,a.deps))return void(o.memoizedState=am(t,n,i,r))}zh.flags|=e,o.memoizedState=am(1|t,n,i,r)}function cm(e,t){return sm(8390656,8,e,t)}function dm(e,t){return um(2048,8,e,t)}function pm(e,t){return um(4,2,e,t)}function fm(e,t){return um(4,4,e,t)}function hm(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function mm(e,t,n){return n=null!=n?n.concat([e]):null,um(4,4,hm.bind(null,t,e),n)}function gm(){}function bm(e,t){var n=qh();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Vh(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function vm(e,t){var n=qh();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Vh(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ym(e,t,n){return 21&Nh?(zd(n,t)||(n=Gu(),zh.lanes|=n,db|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qm=!0),e.memoizedState=n)}function xm(e,t){var n=Ku;Ku=0!==n&&4>n?n:4,e(!0);var r=Mh.transition;Mh.transition={};try{e(!1),t()}finally{Ku=n,Mh.transition=r}}function Em(){return qh().memoizedState}function Sm(e,t,n){var r=Pb(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Cm(e))km(t,n);else if(null!==(n=uh(e,t,n,r))){Ib(n,e,r,Lb()),Rm(n,t,r)}}function wm(e,t,n){var r=Pb(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cm(e))km(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,zd(l,a)){var s=t.interleaved;return null===s?(o.next=o,sh(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=uh(e,t,o,r))&&(Ib(n,e,r,o=Lb()),Rm(n,t,r))}}function Cm(e){var t=e.alternate;return e===zh||null!==t&&t===zh}function km(e,t){Bh=$h=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Rm(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,qu(e,n)}}var _m={readContext:ah,useCallback:Uh,useContext:Uh,useEffect:Uh,useImperativeHandle:Uh,useInsertionEffect:Uh,useLayoutEffect:Uh,useMemo:Uh,useReducer:Uh,useRef:Uh,useState:Uh,useDebugValue:Uh,useDeferredValue:Uh,useTransition:Uh,useMutableSource:Uh,useSyncExternalStore:Uh,useId:Uh,unstable_isNewReconciler:!1},Tm={readContext:ah,useCallback:function(e,t){return Yh().memoizedState=[e,void 0===t?null:t],e},useContext:ah,useEffect:cm,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,sm(4194308,4,hm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return sm(4194308,4,e,t)},useInsertionEffect:function(e,t){return sm(4,2,e,t)},useMemo:function(e,t){var n=Yh();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Yh();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Sm.bind(null,zh,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Yh().memoizedState=e},useState:im,useDebugValue:gm,useDeferredValue:function(e){return Yh().memoizedState=e},useTransition:function(){var e=im(!1),t=e[0];return e=xm.bind(null,e[1]),Yh().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=zh,o=Yh();if(Mf){if(void 0===n)throw Error(Nl(407));n=n()}else{if(n=t(),null===ob)throw Error(Nl(349));30&Nh||em(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,cm(nm.bind(null,r,i,e),[e]),r.flags|=2048,am(9,tm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Yh(),t=ob.identifierPrefix;if(Mf){var n=_f;t=":"+t+"R"+(n=(Rf&~(1<<32-zu(Rf)-1)).toString(32)+n),0<(n=Fh++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Hh++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Lm={readContext:ah,useCallback:bm,useContext:ah,useEffect:dm,useImperativeHandle:mm,useInsertionEffect:pm,useLayoutEffect:fm,useMemo:vm,useReducer:Qh,useRef:lm,useState:function(){return Qh(Kh)},useDebugValue:gm,useDeferredValue:function(e){return ym(qh(),jh.memoizedState,e)},useTransition:function(){return[Qh(Kh)[0],qh().memoizedState]},useMutableSource:Zh,useSyncExternalStore:Jh,useId:Em,unstable_isNewReconciler:!1},Pm={readContext:ah,useCallback:bm,useContext:ah,useEffect:dm,useImperativeHandle:mm,useInsertionEffect:pm,useLayoutEffect:fm,useMemo:vm,useReducer:Xh,useRef:lm,useState:function(){return Xh(Kh)},useDebugValue:gm,useDeferredValue:function(e){var t=qh();return null===jh?t.memoizedState=e:ym(t,jh.memoizedState,e)},useTransition:function(){return[Xh(Kh)[0],qh().memoizedState]},useMutableSource:Zh,useSyncExternalStore:Jh,useId:Em,unstable_isNewReconciler:!1};function Im(e,t){if(e&&e.defaultProps){for(var n in t=fs({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Am(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:fs({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Om={isMounted:function(e){return!!(e=e._reactInternals)&&vu(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Lb(),o=Pb(e),i=hh(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=mh(e,i,o))&&(Ib(t,e,o,r),gh(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Lb(),o=Pb(e),i=hh(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=mh(e,i,o))&&(Ib(t,e,o,r),gh(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Lb(),r=Pb(e),o=hh(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=mh(e,o,r))&&(Ib(t,e,r,n),gh(t,e,r))}};function Mm(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!jd(n,r)||!jd(o,i))}function Nm(e,t,n){var r=!1,o=nf,i=t.contextType;return"object"==typeof i&&null!==i?i=ah(i):(o=sf(t)?af:rf.current,i=(r=null!=(r=t.contextTypes))?lf(e,o):nf),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Om,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function zm(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Om.enqueueReplaceState(t,t.state,null)}function jm(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},ph(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ah(i):(i=sf(t)?af:rf.current,o.context=lf(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Am(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Om.enqueueReplaceState(o,o.state,null),vh(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Dm(e,t){try{var n="",r=t;do{n+=bs(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function $m(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Bm(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Fm="function"==typeof WeakMap?WeakMap:Map;function Hm(e,t,n){(n=hh(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){yb||(yb=!0,xb=r),Bm(0,t)},n}function Um(e,t,n){(n=hh(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Bm(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){Bm(0,t),"function"!=typeof r&&(null===Eb?Eb=new Set([this]):Eb.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Vm(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Fm;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=ev.bind(null,e,t,n),t.then(e,e))}function Gm(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Wm(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=hh(-1,1)).tag=2,mh(n,t,1))),n.lanes|=1),e)}var Ym=Ql.ReactCurrentOwner,qm=!1;function Km(e,t,n,r){t.child=null===e?Xf(t,null,n,r):Qf(t,e.child,n,r)}function Qm(e,t,n,r,o){n=n.render;var i=t.ref;return ih(t,o),r=Gh(e,t,n,r,i,o),n=Wh(),null===e||qm?(Mf&&n&&Pf(t),t.flags|=1,Km(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,yg(e,t,o))}function Xm(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||lv(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=uv(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Zm(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:jd)(a,r)&&e.ref===t.ref)return yg(e,t,o)}return t.flags|=1,(e=sv(i,r)).ref=t.ref,e.return=t,t.child=e}function Zm(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(jd(i,r)&&e.ref===t.ref){if(qm=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,yg(e,t,o);131072&e.flags&&(qm=!0)}}return tg(e,t,n,r,o)}function Jm(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,tf(sb,lb),lb|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,tf(sb,lb),lb|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},tf(sb,lb),lb|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,tf(sb,lb),lb|=r;return Km(e,t,o,n),t.child}function eg(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function tg(e,t,n,r,o){var i=sf(n)?af:rf.current;return i=lf(t,i),ih(t,o),n=Gh(e,t,n,r,i,o),r=Wh(),null===e||qm?(Mf&&r&&Pf(t),t.flags|=1,Km(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,yg(e,t,o))}function ng(e,t,n,r,o){if(sf(n)){var i=!0;pf(t)}else i=!1;if(ih(t,o),null===t.stateNode)vg(e,t),Nm(t,n,r),jm(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=ah(u):u=lf(t,u=sf(n)?af:rf.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&zm(t,a,r,u),dh=!1;var p=t.memoizedState;a.state=p,vh(t,r,a,o),s=t.memoizedState,l!==r||p!==s||of.current||dh?("function"==typeof c&&(Am(t,n,c,r),s=t.memoizedState),(l=dh||Mm(t,n,l,r,p,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,fh(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Im(t.type,l),a.props=u,d=t.pendingProps,p=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=ah(s):s=lf(t,s=sf(n)?af:rf.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||p!==s)&&zm(t,a,r,s),dh=!1,p=t.memoizedState,a.state=p,vh(t,r,a,o);var h=t.memoizedState;l!==d||p!==h||of.current||dh?("function"==typeof f&&(Am(t,n,f,r),h=t.memoizedState),(u=dh||Mm(t,n,u,r,p,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return rg(e,t,n,r,i,o)}function rg(e,t,n,r,o,i){eg(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&ff(t,n,!1),yg(e,t,i);r=t.stateNode,Ym.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qf(t,e.child,null,i),t.child=Qf(t,null,l,i)):Km(e,t,l,i),t.memoizedState=r.state,o&&ff(t,n,!0),t.child}function og(e){var t=e.stateNode;t.pendingContext?cf(0,t.pendingContext,t.pendingContext!==t.context):t.context&&cf(0,t.context,!1),kh(e,t.containerInfo)}function ig(e,t,n,r,o){return Uf(),Vf(o),t.flags|=256,Km(e,t,n,r),t.child}var ag,lg,sg,ug,cg={dehydrated:null,treeContext:null,retryLane:0};function dg(e){return{baseLanes:e,cachePool:null,transitions:null}}function pg(e,t,n){var r,o=t.pendingProps,i=Lh.current,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),tf(Lh,1&i),null===e)return $f(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,a?(o=t.mode,a=t.child,l={mode:"hidden",children:l},1&o||null===a?a=dv(l,o,0,null):(a.childLanes=0,a.pendingProps=l),e=cv(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=dg(n),t.memoizedState=cg,e):fg(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,hg(e,t,a,r=$m(Error(Nl(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=dv({mode:"visible",children:r.children},o,0,null),(i=cv(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&Qf(t,e.child,null,a),t.child.memoizedState=dg(a),t.memoizedState=cg,i);if(!(1&t.mode))return hg(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,hg(e,t,a,r=$m(i=Error(Nl(419)),r,void 0))}if(l=!!(a&e.childLanes),qm||l){if(null!==(r=ob)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|a)?0:o)&&o!==i.retryLane&&(i.retryLane=o,ch(e,o),Ib(r,e,o,-1))}return Vb(),hg(e,t,a,r=$m(Error(Nl(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=nv.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Of=Dp(o.nextSibling),Af=t,Mf=!0,Nf=null,null!==e&&(wf[Cf++]=Rf,wf[Cf++]=_f,wf[Cf++]=kf,Rf=e.id,_f=e.overflow,kf=t),t=fg(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,i,n);if(a){a=o.fallback,l=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 1&l||t.child===i?(o=sv(i,s)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null),null!==r?a=sv(r,a):(a=cv(a,l,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,l=null===(l=e.child.memoizedState)?dg(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~n,t.memoizedState=cg,o}return e=(a=e.child).sibling,o=sv(a,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function fg(e,t){return(t=dv({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function hg(e,t,n,r){return null!==r&&Vf(r),Qf(t,e.child,null,n),(e=fg(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function mg(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),oh(e.return,t,n)}function gg(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function bg(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Km(e,t,r.children,n),2&(r=Lh.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&mg(e,n,t);else if(19===e.tag)mg(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(tf(Lh,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ph(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),gg(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ph(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}gg(t,!0,n,null,i);break;case"together":gg(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function vg(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function yg(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),db|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(Nl(153));if(null!==t.child){for(n=sv(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=sv(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function xg(e,t){if(!Mf)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Eg(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Sg(e,t,n){var r=t.pendingProps;switch(If(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Eg(t),null;case 1:case 17:return sf(t.type)&&uf(),Eg(t),null;case 3:return r=t.stateNode,Rh(),ef(of),ef(rf),Ah(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ff(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==Nf&&(Nb(Nf),Nf=null))),lg(e,t),Eg(t),null;case 5:Th(t);var o=Ch(wh.current);if(n=t.type,null!==e&&null!=t.stateNode)sg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(Nl(166));return Eg(t),null}if(e=Ch(Eh.current),Ff(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Fp]=t,r[Hp]=i,e=!!(1&t.mode),n){case"dialog":hp("cancel",r),hp("close",r);break;case"iframe":case"object":case"embed":hp("load",r);break;case"video":case"audio":for(o=0;o<cp.length;o++)hp(cp[o],r);break;case"source":hp("error",r);break;case"img":case"image":case"link":hp("error",r),hp("load",r);break;case"details":hp("toggle",r);break;case"input":Rs(r,i),hp("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},hp("invalid",r);break;case"textarea":Ms(r,i),hp("invalid",r)}for(var a in qs(n,i),o=null,i)if(i.hasOwnProperty(a)){var l=i[a];"children"===a?"string"==typeof l?r.textContent!==l&&(!0!==i.suppressHydrationWarning&&_p(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==i.suppressHydrationWarning&&_p(r.textContent,l,e),o=["children",""+l]):jl.hasOwnProperty(a)&&null!=l&&"onScroll"===a&&hp("scroll",r)}switch(n){case"input":Ss(r),Ls(r,i,!0);break;case"textarea":Ss(r),zs(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Tp)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{a=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=js(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Fp]=t,e[Hp]=r,ag(e,t,!1,!1),t.stateNode=e;e:{switch(a=Ks(n,r),n){case"dialog":hp("cancel",e),hp("close",e),o=r;break;case"iframe":case"object":case"embed":hp("load",e),o=r;break;case"video":case"audio":for(o=0;o<cp.length;o++)hp(cp[o],e);o=r;break;case"source":hp("error",e),o=r;break;case"img":case"image":case"link":hp("error",e),hp("load",e),o=r;break;case"details":hp("toggle",e),o=r;break;case"input":Rs(e,r),o=ks(e,r),hp("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=fs({},r,{value:void 0}),hp("invalid",e);break;case"textarea":Ms(e,r),o=Os(e,r),hp("invalid",e)}for(i in qs(n,o),l=o)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?Ws(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&Fs(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&Hs(e,s):"number"==typeof s&&Hs(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(jl.hasOwnProperty(i)?null!=s&&"onScroll"===i&&hp("scroll",e):null!=s&&Kl(e,i,s,a))}switch(n){case"input":Ss(e),Ls(e,r,!1);break;case"textarea":Ss(e),zs(e);break;case"option":null!=r.value&&e.setAttribute("value",""+xs(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?As(e,!!r.multiple,i,!1):null!=r.defaultValue&&As(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Tp)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Eg(t),null;case 6:if(e&&null!=t.stateNode)ug(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(Nl(166));if(n=Ch(wh.current),Ch(Eh.current),Ff(t)){if(r=t.stateNode,n=t.memoizedProps,r[Fp]=t,(i=r.nodeValue!==n)&&null!==(e=Af))switch(e.tag){case 3:_p(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&_p(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Fp]=t,t.stateNode=r}return Eg(t),null;case 13:if(ef(Lh),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(Mf&&null!==Of&&1&t.mode&&!(128&t.flags))Hf(),Uf(),t.flags|=98560,i=!1;else if(i=Ff(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(Nl(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(Nl(317));i[Fp]=t}else Uf(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Eg(t),i=!1}else null!==Nf&&(Nb(Nf),Nf=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&Lh.current?0===ub&&(ub=3):Vb())),null!==t.updateQueue&&(t.flags|=4),Eg(t),null);case 4:return Rh(),lg(e,t),null===e&&bp(t.stateNode.containerInfo),Eg(t),null;case 10:return rh(t.type._context),Eg(t),null;case 19:if(ef(Lh),null===(i=t.memoizedState))return Eg(t),null;if(r=!!(128&t.flags),null===(a=i.rendering))if(r)xg(i,!1);else{if(0!==ub||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=Ph(e))){for(t.flags|=128,xg(i,!1),null!==(r=a.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return tf(Lh,1&Lh.current|2),t.child}e=e.sibling}null!==i.tail&&_u()>bb&&(t.flags|=128,r=!0,xg(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Ph(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),xg(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Mf)return Eg(t),null}else 2*_u()-i.renderingStartTime>bb&&1073741824!==n&&(t.flags|=128,r=!0,xg(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=i.last)?n.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=_u(),t.sibling=null,n=Lh.current,tf(Lh,r?1&n|2:1&n),t):(Eg(t),null);case 22:case 23:return Bb(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&lb)&&(Eg(t),6&t.subtreeFlags&&(t.flags|=8192)):Eg(t),null;case 24:case 25:return null}throw Error(Nl(156,t.tag))}function wg(e,t){switch(If(t),t.tag){case 1:return sf(t.type)&&uf(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Rh(),ef(of),ef(rf),Ah(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Th(t),null;case 13:if(ef(Lh),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(Nl(340));Uf()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ef(Lh),null;case 4:return Rh(),null;case 10:return rh(t.type._context),null;case 22:case 23:return Bb(),null;default:return null}}ag=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},lg=function(){},sg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ch(Eh.current);var i,a=null;switch(n){case"input":o=ks(e,o),r=ks(e,r),a=[];break;case"select":o=fs({},o,{value:void 0}),r=fs({},r,{value:void 0}),a=[];break;case"textarea":o=Os(e,o),r=Os(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Tp)}for(u in qs(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(jl.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(jl.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&hp("scroll",e),a||l===s||(a=[])):(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},ug=function(e,t,n,r){n!==r&&(t.flags|=4)};var Cg=!1,kg=!1,Rg="function"==typeof WeakSet?WeakSet:Set,_g=null;function Tg(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Jb(e,t,n)}else n.current=null}function Lg(e,t,n){try{n()}catch(n){Jb(e,t,n)}}var Pg=!1;function Ig(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Lg(t,n,i)}o=o.next}while(o!==r)}}function Ag(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Og(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function Mg(e){var t=e.alternate;null!==t&&(e.alternate=null,Mg(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Fp],delete t[Hp],delete t[Vp],delete t[Gp],delete t[Wp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ng(e){return 5===e.tag||3===e.tag||4===e.tag}function zg(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ng(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function jg(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Tp));else if(4!==r&&null!==(e=e.child))for(jg(e,t,n),e=e.sibling;null!==e;)jg(e,t,n),e=e.sibling}function Dg(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Dg(e,t,n),e=e.sibling;null!==e;)Dg(e,t,n),e=e.sibling}var $g=null,Bg=!1;function Fg(e,t,n){for(n=n.child;null!==n;)Hg(e,t,n),n=n.sibling}function Hg(e,t,n){if(Nu&&"function"==typeof Nu.onCommitFiberUnmount)try{Nu.onCommitFiberUnmount(Mu,n)}catch(e){}switch(n.tag){case 5:kg||Tg(n,t);case 6:var r=$g,o=Bg;$g=null,Fg(e,t,n),Bg=o,null!==($g=r)&&(Bg?(e=$g,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):$g.removeChild(n.stateNode));break;case 18:null!==$g&&(Bg?(e=$g,n=n.stateNode,8===e.nodeType?jp(e.parentNode,n):1===e.nodeType&&jp(e,n),vc(e)):jp($g,n.stateNode));break;case 4:r=$g,o=Bg,$g=n.stateNode.containerInfo,Bg=!0,Fg(e,t,n),$g=r,Bg=o;break;case 0:case 11:case 14:case 15:if(!kg&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&Lg(n,t,a),o=o.next}while(o!==r)}Fg(e,t,n);break;case 1:if(!kg&&(Tg(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Jb(n,t,e)}Fg(e,t,n);break;case 21:Fg(e,t,n);break;case 22:1&n.mode?(kg=(r=kg)||null!==n.memoizedState,Fg(e,t,n),kg=r):Fg(e,t,n);break;default:Fg(e,t,n)}}function Ug(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Rg),t.forEach((function(t){var r=rv.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Vg(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 5:$g=l.stateNode,Bg=!1;break e;case 3:case 4:$g=l.stateNode.containerInfo,Bg=!0;break e}l=l.return}if(null===$g)throw Error(Nl(160));Hg(i,a,o),$g=null,Bg=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){Jb(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Gg(t,e),t=t.sibling}function Gg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Vg(t,e),Wg(e),4&r){try{Ig(3,e,e.return),Ag(3,e)}catch(t){Jb(e,e.return,t)}try{Ig(5,e,e.return)}catch(t){Jb(e,e.return,t)}}break;case 1:Vg(t,e),Wg(e),512&r&&null!==n&&Tg(n,n.return);break;case 5:if(Vg(t,e),Wg(e),512&r&&null!==n&&Tg(n,n.return),32&e.flags){var o=e.stateNode;try{Hs(o,"")}catch(t){Jb(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,a=null!==n?n.memoizedProps:i,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===i.type&&null!=i.name&&_s(o,i),Ks(l,a);var u=Ks(l,i);for(a=0;a<s.length;a+=2){var c=s[a],d=s[a+1];"style"===c?Ws(o,d):"dangerouslySetInnerHTML"===c?Fs(o,d):"children"===c?Hs(o,d):Kl(o,c,d,u)}switch(l){case"input":Ts(o,i);break;case"textarea":Ns(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;null!=f?As(o,!!i.multiple,f,!1):p!==!!i.multiple&&(null!=i.defaultValue?As(o,!!i.multiple,i.defaultValue,!0):As(o,!!i.multiple,i.multiple?[]:"",!1))}o[Hp]=i}catch(t){Jb(e,e.return,t)}}break;case 6:if(Vg(t,e),Wg(e),4&r){if(null===e.stateNode)throw Error(Nl(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){Jb(e,e.return,t)}}break;case 3:if(Vg(t,e),Wg(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{vc(t.containerInfo)}catch(t){Jb(e,e.return,t)}break;case 4:default:Vg(t,e),Wg(e);break;case 13:Vg(t,e),Wg(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(gb=_u())),4&r&&Ug(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(kg=(u=kg)||c,Vg(t,e),kg=u):Vg(t,e),Wg(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&1&e.mode)for(_g=e,c=e.child;null!==c;){for(d=_g=c;null!==_g;){switch(f=(p=_g).child,p.tag){case 0:case 11:case 14:case 15:Ig(4,p,p.return);break;case 1:Tg(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Jb(r,n,e)}}break;case 5:Tg(p,p.return);break;case 22:if(null!==p.memoizedState){Qg(d);continue}}null!==f?(f.return=p,_g=f):Qg(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{o=d.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=d.stateNode,a=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=Gs("display",a))}catch(t){Jb(e,e.return,t)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(t){Jb(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Vg(t,e),Wg(e),4&r&&Ug(e);case 21:}}function Wg(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Ng(n)){var r=n;break e}n=n.return}throw Error(Nl(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(Hs(o,""),r.flags&=-33),Dg(e,zg(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;jg(e,zg(e),i);break;default:throw Error(Nl(161))}}catch(t){Jb(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Yg(e,t,n){_g=e,qg(e)}function qg(e,t,n){for(var r=!!(1&e.mode);null!==_g;){var o=_g,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Cg;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||kg;l=Cg;var u=kg;if(Cg=a,(kg=s)&&!u)for(_g=o;null!==_g;)s=(a=_g).child,22===a.tag&&null!==a.memoizedState?Xg(o):null!==s?(s.return=a,_g=s):Xg(o);for(;null!==i;)_g=i,qg(i),i=i.sibling;_g=o,Cg=l,kg=u}Kg(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,_g=i):Kg(e)}}function Kg(e){for(;null!==_g;){var t=_g;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:kg||Ag(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!kg)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Im(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&yh(t,i,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}yh(t,a,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var d=c.dehydrated;null!==d&&vc(d)}}}break;default:throw Error(Nl(163))}kg||512&t.flags&&Og(t)}catch(e){Jb(t,t.return,e)}}if(t===e){_g=null;break}if(null!==(n=t.sibling)){n.return=t.return,_g=n;break}_g=t.return}}function Qg(e){for(;null!==_g;){var t=_g;if(t===e){_g=null;break}var n=t.sibling;if(null!==n){n.return=t.return,_g=n;break}_g=t.return}}function Xg(e){for(;null!==_g;){var t=_g;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ag(4,t)}catch(e){Jb(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Jb(t,o,e)}}var i=t.return;try{Og(t)}catch(e){Jb(t,i,e)}break;case 5:var a=t.return;try{Og(t)}catch(e){Jb(t,a,e)}}}catch(e){Jb(t,t.return,e)}if(t===e){_g=null;break}var l=t.sibling;if(null!==l){l.return=t.return,_g=l;break}_g=t.return}}var Zg,Jg=Math.ceil,eb=Ql.ReactCurrentDispatcher,tb=Ql.ReactCurrentOwner,nb=Ql.ReactCurrentBatchConfig,rb=0,ob=null,ib=null,ab=0,lb=0,sb=Jp(0),ub=0,cb=null,db=0,pb=0,fb=0,hb=null,mb=null,gb=0,bb=1/0,vb=null,yb=!1,xb=null,Eb=null,Sb=!1,wb=null,Cb=0,kb=0,Rb=null,_b=-1,Tb=0;function Lb(){return 6&rb?_u():-1!==_b?_b:_b=_u()}function Pb(e){return 1&e.mode?2&rb&&0!==ab?ab&-ab:null!==Gf.transition?(0===Tb&&(Tb=Gu()),Tb):0!==(e=Ku)?e:e=void 0===(e=window.event)?16:Rc(e.type):1}function Ib(e,t,n,r){if(50<kb)throw kb=0,Rb=null,Error(Nl(185));Yu(e,n,r),2&rb&&e===ob||(e===ob&&(!(2&rb)&&(pb|=n),4===ub&&zb(e,ab)),Ab(e,r),1===n&&0===rb&&!(1&t.mode)&&(bb=_u()+500,mf&&vf()))}function Ab(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-zu(i),l=1<<a,s=o[a];-1===s?l&n&&!(l&r)||(o[a]=Uu(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=Hu(e,e===ob?ab:0);if(0===r)null!==n&&Cu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Cu(n),1===t)0===e.tag?function(e){mf=!0,bf(e)}(jb.bind(null,e)):bf(jb.bind(null,e)),Np((function(){!(6&rb)&&vf()})),n=null;else{switch(Qu(r)){case 1:n=Lu;break;case 4:n=Pu;break;case 16:default:n=Iu;break;case 536870912:n=Ou}n=ov(n,Ob.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ob(e,t){if(_b=-1,Tb=0,6&rb)throw Error(Nl(327));var n=e.callbackNode;if(Xb()&&e.callbackNode!==n)return null;var r=Hu(e,e===ob?ab:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=Gb(e,r);else{t=r;var o=rb;rb|=2;var i=Ub();for(ob===e&&ab===t||(vb=null,bb=_u()+500,Fb(e,t));;)try{Yb();break}catch(t){Hb(e,t)}nh(),eb.current=i,rb=o,null!==ib?t=0:(ob=null,ab=0,t=ub)}if(0!==t){if(2===t&&(0!==(o=Vu(e))&&(r=o,t=Mb(e,o))),1===t)throw n=cb,Fb(e,0),zb(e,r),Ab(e,_u()),n;if(6===t)zb(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!zd(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=Gb(e,r),2===t&&(i=Vu(e),0!==i&&(r=i,t=Mb(e,i))),1!==t)))throw n=cb,Fb(e,0),zb(e,r),Ab(e,_u()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(Nl(345));case 2:case 5:Qb(e,mb,vb);break;case 3:if(zb(e,r),(130023424&r)===r&&10<(t=gb+500-_u())){if(0!==Hu(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Lb(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ap(Qb.bind(null,e,mb,vb),t);break}Qb(e,mb,vb);break;case 4:if(zb(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-zu(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=_u()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jg(r/1960))-r)){e.timeoutHandle=Ap(Qb.bind(null,e,mb,vb),r);break}Qb(e,mb,vb);break;default:throw Error(Nl(329))}}}return Ab(e,_u()),e.callbackNode===n?Ob.bind(null,e):null}function Mb(e,t){var n=hb;return e.current.memoizedState.isDehydrated&&(Fb(e,t).flags|=256),2!==(e=Gb(e,t))&&(t=mb,mb=n,null!==t&&Nb(t)),e}function Nb(e){null===mb?mb=e:mb.push.apply(mb,e)}function zb(e,t){for(t&=~fb,t&=~pb,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zu(t),r=1<<n;e[n]=-1,t&=~r}}function jb(e){if(6&rb)throw Error(Nl(327));Xb();var t=Hu(e,0);if(!(1&t))return Ab(e,_u()),null;var n=Gb(e,t);if(0!==e.tag&&2===n){var r=Vu(e);0!==r&&(t=r,n=Mb(e,r))}if(1===n)throw n=cb,Fb(e,0),zb(e,t),Ab(e,_u()),n;if(6===n)throw Error(Nl(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Qb(e,mb,vb),Ab(e,_u()),null}function Db(e,t){var n=rb;rb|=1;try{return e(t)}finally{0===(rb=n)&&(bb=_u()+500,mf&&vf())}}function $b(e){null!==wb&&0===wb.tag&&!(6&rb)&&Xb();var t=rb;rb|=1;var n=nb.transition,r=Ku;try{if(nb.transition=null,Ku=1,e)return e()}finally{Ku=r,nb.transition=n,!(6&(rb=t))&&vf()}}function Bb(){lb=sb.current,ef(sb)}function Fb(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Op(n)),null!==ib)for(n=ib.return;null!==n;){var r=n;switch(If(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&uf();break;case 3:Rh(),ef(of),ef(rf),Ah();break;case 5:Th(r);break;case 4:Rh();break;case 13:case 19:ef(Lh);break;case 10:rh(r.type._context);break;case 22:case 23:Bb()}n=n.return}if(ob=e,ib=e=sv(e.current,null),ab=lb=t,ub=0,cb=null,fb=pb=db=0,mb=hb=null,null!==lh){for(t=0;t<lh.length;t++)if(null!==(r=(n=lh[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}lh=null}return e}function Hb(e,t){for(;;){var n=ib;try{if(nh(),Oh.current=_m,$h){for(var r=zh.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}$h=!1}if(Nh=0,Dh=jh=zh=null,Bh=!1,Fh=0,tb.current=null,null===n||null===n.return){ub=1,cb=t,ib=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=ab,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,d=c.tag;if(!(1&c.mode||0!==d&&11!==d&&15!==d)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=Gm(a);if(null!==f){f.flags&=-257,Wm(f,a,l,0,t),1&f.mode&&Vm(i,u,t),s=u;var h=(t=f).updateQueue;if(null===h){var m=new Set;m.add(s),t.updateQueue=m}else h.add(s);break e}if(!(1&t)){Vm(i,u,t),Vb();break e}s=Error(Nl(426))}else if(Mf&&1&l.mode){var g=Gm(a);if(null!==g){!(65536&g.flags)&&(g.flags|=256),Wm(g,a,l,0,t),Vf(Dm(s,l));break e}}i=s=Dm(s,l),4!==ub&&(ub=2),null===hb?hb=[i]:hb.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,bh(i,Hm(0,s,t));break e;case 1:l=s;var b=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof b.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Eb&&Eb.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,bh(i,Um(i,l,t));break e}}i=i.return}while(null!==i)}Kb(n)}catch(e){t=e,ib===n&&null!==n&&(ib=n=n.return);continue}break}}function Ub(){var e=eb.current;return eb.current=_m,null===e?_m:e}function Vb(){0!==ub&&3!==ub&&2!==ub||(ub=4),null===ob||!(268435455&db)&&!(268435455&pb)||zb(ob,ab)}function Gb(e,t){var n=rb;rb|=2;var r=Ub();for(ob===e&&ab===t||(vb=null,Fb(e,t));;)try{Wb();break}catch(t){Hb(e,t)}if(nh(),rb=n,eb.current=r,null!==ib)throw Error(Nl(261));return ob=null,ab=0,ub}function Wb(){for(;null!==ib;)qb(ib)}function Yb(){for(;null!==ib&&!ku();)qb(ib)}function qb(e){var t=Zg(e.alternate,e,lb);e.memoizedProps=e.pendingProps,null===t?Kb(e):ib=t,tb.current=null}function Kb(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=wg(n,t)))return n.flags&=32767,void(ib=n);if(null===e)return ub=6,void(ib=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Sg(n,t,lb)))return void(ib=n);if(null!==(t=t.sibling))return void(ib=t);ib=t=e}while(null!==t);0===ub&&(ub=5)}function Qb(e,t,n){var r=Ku,o=nb.transition;try{nb.transition=null,Ku=1,function(e,t,n,r){do{Xb()}while(null!==wb);if(6&rb)throw Error(Nl(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Nl(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-zu(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===ob&&(ib=ob=null,ab=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Sb||(Sb=!0,ov(Iu,(function(){return Xb(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=nb.transition,nb.transition=null;var a=Ku;Ku=1;var l=rb;rb|=4,tb.current=null,function(e,t){if(Lp=xc,Hd(e=Fd())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==o&&3!==d.nodeType||(l=a+o),d!==i||0!==r&&3!==d.nodeType||(s=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++u===o&&(l=a),p===i&&++c===r&&(s=a),null!==(f=d.nextSibling))break;p=(d=p).parentNode}d=f}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pp={focusedElem:e,selectionRange:n},xc=!1,_g=t;null!==_g;)if(e=(t=_g).child,1028&t.subtreeFlags&&null!==e)e.return=t,_g=e;else for(;null!==_g;){t=_g;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,g=h.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:Im(t.type,m),g);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(Nl(163))}}catch(e){Jb(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,_g=e;break}_g=t.return}h=Pg,Pg=!1}(e,n),Gg(n,e),Ud(Pp),xc=!!Lp,Pp=Lp=null,e.current=n,Yg(n),Ru(),rb=l,Ku=a,nb.transition=i}else e.current=n;if(Sb&&(Sb=!1,wb=e,Cb=o),i=e.pendingLanes,0===i&&(Eb=null),function(e){if(Nu&&"function"==typeof Nu.onCommitFiberRoot)try{Nu.onCommitFiberRoot(Mu,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),Ab(e,_u()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(yb)throw yb=!1,e=xb,xb=null,e;!!(1&Cb)&&0!==e.tag&&Xb(),i=e.pendingLanes,1&i?e===Rb?kb++:(kb=0,Rb=e):kb=0,vf()}(e,t,n,r)}finally{nb.transition=o,Ku=r}return null}function Xb(){if(null!==wb){var e=Qu(Cb),t=nb.transition,n=Ku;try{if(nb.transition=null,Ku=16>e?16:e,null===wb)var r=!1;else{if(e=wb,wb=null,Cb=0,6&rb)throw Error(Nl(331));var o=rb;for(rb|=4,_g=e.current;null!==_g;){var i=_g,a=i.child;if(16&_g.flags){var l=i.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(_g=u;null!==_g;){var c=_g;switch(c.tag){case 0:case 11:case 15:Ig(8,c,i)}var d=c.child;if(null!==d)d.return=c,_g=d;else for(;null!==_g;){var p=(c=_g).sibling,f=c.return;if(Mg(c),c===u){_g=null;break}if(null!==p){p.return=f,_g=p;break}_g=f}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}_g=i}}if(2064&i.subtreeFlags&&null!==a)a.return=i,_g=a;else e:for(;null!==_g;){if(2048&(i=_g).flags)switch(i.tag){case 0:case 11:case 15:Ig(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,_g=b;break e}_g=i.return}}var v=e.current;for(_g=v;null!==_g;){var y=(a=_g).child;if(2064&a.subtreeFlags&&null!==y)y.return=a,_g=y;else e:for(a=v;null!==_g;){if(2048&(l=_g).flags)try{switch(l.tag){case 0:case 11:case 15:Ag(9,l)}}catch(e){Jb(l,l.return,e)}if(l===a){_g=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,_g=x;break e}_g=l.return}}if(rb=o,vf(),Nu&&"function"==typeof Nu.onPostCommitFiberRoot)try{Nu.onPostCommitFiberRoot(Mu,e)}catch(e){}r=!0}return r}finally{Ku=n,nb.transition=t}}return!1}function Zb(e,t,n){e=mh(e,t=Hm(0,t=Dm(n,t),1),1),t=Lb(),null!==e&&(Yu(e,1,t),Ab(e,t))}function Jb(e,t,n){if(3===e.tag)Zb(e,e,n);else for(;null!==t;){if(3===t.tag){Zb(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Eb||!Eb.has(r))){t=mh(t,e=Um(t,e=Dm(n,e),1),1),e=Lb(),null!==t&&(Yu(t,1,e),Ab(t,e));break}}t=t.return}}function ev(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Lb(),e.pingedLanes|=e.suspendedLanes&n,ob===e&&(ab&n)===n&&(4===ub||3===ub&&(130023424&ab)===ab&&500>_u()-gb?Fb(e,0):fb|=n),Ab(e,t)}function tv(e,t){0===t&&(1&e.mode?(t=Bu,!(130023424&(Bu<<=1))&&(Bu=4194304)):t=1);var n=Lb();null!==(e=ch(e,t))&&(Yu(e,t,n),Ab(e,n))}function nv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),tv(e,n)}function rv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Nl(314))}null!==r&&r.delete(t),tv(e,n)}function ov(e,t){return wu(e,t)}function iv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function av(e,t,n,r){return new iv(e,t,n,r)}function lv(e){return!(!(e=e.prototype)||!e.isReactComponent)}function sv(e,t){var n=e.alternate;return null===n?((n=av(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function uv(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)lv(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Jl:return cv(n.children,o,i,t);case es:a=8,o|=8;break;case ts:return(e=av(12,n,t,2|o)).elementType=ts,e.lanes=i,e;case is:return(e=av(13,n,t,o)).elementType=is,e.lanes=i,e;case as:return(e=av(19,n,t,o)).elementType=as,e.lanes=i,e;case us:return dv(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ns:a=10;break e;case rs:a=9;break e;case os:a=11;break e;case ls:a=14;break e;case ss:a=16,r=null;break e}throw Error(Nl(130,null==e?e:typeof e,""))}return(t=av(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function cv(e,t,n,r){return(e=av(7,e,r,t)).lanes=n,e}function dv(e,t,n,r){return(e=av(22,e,r,t)).elementType=us,e.lanes=n,e.stateNode={isHidden:!1},e}function pv(e,t,n){return(e=av(6,e,null,t)).lanes=n,e}function fv(e,t,n){return(t=av(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hv(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wu(0),this.expirationTimes=Wu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function mv(e,t,n,r,o,i,a,l,s){return e=new hv(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=av(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ph(i),e}function gv(e){if(!e)return nf;e:{if(vu(e=e._reactInternals)!==e||1!==e.tag)throw Error(Nl(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(sf(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(Nl(171))}if(1===e.tag){var n=e.type;if(sf(n))return df(e,n,t)}return t}function bv(e,t,n,r,o,i,a,l,s){return(e=mv(n,r,!0,e,0,i,0,l,s)).context=gv(null),n=e.current,(i=hh(r=Lb(),o=Pb(n))).callback=null!=t?t:null,mh(n,i,o),e.current.lanes=o,Yu(e,o,r),Ab(e,r),e}function vv(e,t,n,r){var o=t.current,i=Lb(),a=Pb(o);return n=gv(n),null===t.context?t.context=n:t.pendingContext=n,(t=hh(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=mh(o,t,a))&&(Ib(e,o,a,i),gh(e,o,a)),a}function yv(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function xv(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ev(e,t){xv(e,t),(e=e.alternate)&&xv(e,t)}Zg=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||of.current)qm=!0;else{if(!(e.lanes&n||128&t.flags))return qm=!1,function(e,t,n){switch(t.tag){case 3:og(t),Uf();break;case 5:_h(t);break;case 1:sf(t.type)&&pf(t);break;case 4:kh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;tf(Zf,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(tf(Lh,1&Lh.current),t.flags|=128,null):n&t.child.childLanes?pg(e,t,n):(tf(Lh,1&Lh.current),null!==(e=yg(e,t,n))?e.sibling:null);tf(Lh,1&Lh.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return bg(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),tf(Lh,Lh.current),r)break;return null;case 22:case 23:return t.lanes=0,Jm(e,t,n)}return yg(e,t,n)}(e,t,n);qm=!!(131072&e.flags)}else qm=!1,Mf&&1048576&t.flags&&Lf(t,Sf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;vg(e,t),e=t.pendingProps;var o=lf(t,rf.current);ih(t,n),o=Gh(null,t,r,e,o,n);var i=Wh();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,sf(r)?(i=!0,pf(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ph(t),o.updater=Om,t.stateNode=o,o._reactInternals=t,jm(t,r,e,n),t=rg(null,t,r,!0,i,n)):(t.tag=0,Mf&&i&&Pf(t),Km(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(vg(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return lv(e)?1:0;if(null!=e){if((e=e.$$typeof)===os)return 11;if(e===ls)return 14}return 2}(r),e=Im(r,e),o){case 0:t=tg(null,t,r,e,n);break e;case 1:t=ng(null,t,r,e,n);break e;case 11:t=Qm(null,t,r,e,n);break e;case 14:t=Xm(null,t,r,Im(r.type,e),n);break e}throw Error(Nl(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,tg(e,t,r,o=t.elementType===r?o:Im(r,o),n);case 1:return r=t.type,o=t.pendingProps,ng(e,t,r,o=t.elementType===r?o:Im(r,o),n);case 3:e:{if(og(t),null===e)throw Error(Nl(387));r=t.pendingProps,o=(i=t.memoizedState).element,fh(e,t),vh(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=ig(e,t,r,n,o=Dm(Error(Nl(423)),t));break e}if(r!==o){t=ig(e,t,r,n,o=Dm(Error(Nl(424)),t));break e}for(Of=Dp(t.stateNode.containerInfo.firstChild),Af=t,Mf=!0,Nf=null,n=Xf(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Uf(),r===o){t=yg(e,t,n);break e}Km(e,t,r,n)}t=t.child}return t;case 5:return _h(t),null===e&&$f(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Ip(r,o)?a=null:null!==i&&Ip(r,i)&&(t.flags|=32),eg(e,t),Km(e,t,a,n),t.child;case 6:return null===e&&$f(t),null;case 13:return pg(e,t,n);case 4:return kh(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qf(t,null,r,n):Km(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Qm(e,t,r,o=t.elementType===r?o:Im(r,o),n);case 7:return Km(e,t,t.pendingProps,n),t.child;case 8:case 12:return Km(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,tf(Zf,r._currentValue),r._currentValue=a,null!==i)if(zd(i.value,a)){if(i.children===o.children&&!of.current){t=yg(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){a=i.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=hh(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),oh(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===i.tag)a=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(a=i.return))throw Error(Nl(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),oh(a,n,t),a=i.sibling}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===t){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}Km(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ih(t,n),r=r(o=ah(o)),t.flags|=1,Km(e,t,r,n),t.child;case 14:return o=Im(r=t.type,t.pendingProps),Xm(e,t,r,o=Im(r.type,o),n);case 15:return Zm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Im(r,o),vg(e,t),t.tag=1,sf(r)?(e=!0,pf(t)):e=!1,ih(t,n),Nm(t,r,o),jm(t,r,o,n),rg(null,t,r,!0,e,n);case 19:return bg(e,t,n);case 22:return Jm(e,t,n)}throw Error(Nl(156,t.tag))};var Sv="function"==typeof reportError?reportError:function(e){console.error(e)};function wv(e){this._internalRoot=e}function Cv(e){this._internalRoot=e}function kv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Rv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function _v(){}function Tv(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=yv(a);l.call(e)}}vv(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=yv(a);i.call(e)}}var a=bv(t,r,e,0,null,!1,0,"",_v);return e._reactRootContainer=a,e[Up]=a.current,bp(8===e.nodeType?e.parentNode:e),$b(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=yv(s);l.call(e)}}var s=mv(e,0,!1,null,0,!1,0,"",_v);return e._reactRootContainer=s,e[Up]=s.current,bp(8===e.nodeType?e.parentNode:e),$b((function(){vv(t,s,n,r)})),s}(n,t,e,o,r);return yv(a)}Cv.prototype.render=wv.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(Nl(409));vv(e,t,null,null)},Cv.prototype.unmount=wv.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;$b((function(){vv(null,e,null,null)})),t[Up]=null}},Cv.prototype.unstable_scheduleHydration=function(e){if(e){var t=ec();e={blockedOn:null,target:e,priority:t};for(var n=0;n<uc.length&&0!==t&&t<uc[n].priority;n++);uc.splice(n,0,e),0===n&&fc(e)}},Xu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Fu(t.pendingLanes);0!==n&&(qu(t,1|n),Ab(t,_u()),!(6&rb)&&(bb=_u()+500,vf()))}break;case 13:$b((function(){var t=ch(e,1);if(null!==t){var n=Lb();Ib(t,e,1,n)}})),Ev(e,1)}},Zu=function(e){if(13===e.tag){var t=ch(e,134217728);if(null!==t)Ib(t,e,134217728,Lb());Ev(e,134217728)}},Ju=function(e){if(13===e.tag){var t=Pb(e),n=ch(e,t);if(null!==n)Ib(n,e,t,Lb());Ev(e,t)}},ec=function(){return Ku},tc=function(e,t){var n=Ku;try{return Ku=e,t()}finally{Ku=n}},Zs=function(e,t,n){switch(t){case"input":if(Ts(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Qp(r);if(!o)throw Error(Nl(90));ws(r),Ts(r,o)}}}break;case"textarea":Ns(e,n);break;case"select":null!=(t=n.value)&&As(e,!!n.multiple,t,!1)}},ou=Db,iu=$b;var Lv={usingClientEntryPoint:!1,Events:[qp,Kp,Qp,nu,ru,Db]},Pv={findFiberByHostInstance:Yp,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Iv={bundleType:Pv.bundleType,version:Pv.version,rendererPackageName:Pv.rendererPackageName,rendererConfig:Pv.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ql.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Eu(e))?null:e.stateNode},findFiberByHostInstance:Pv.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Av=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Av.isDisabled&&Av.supportsFiber)try{Mu=Av.inject(Iv),Nu=Av}catch(Bs){}}Ll.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lv,Ll.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!kv(t))throw Error(Nl(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Zl,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},Ll.createRoot=function(e,t){if(!kv(e))throw Error(Nl(299));var n=!1,r="",o=Sv;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=mv(e,1,!1,null,0,n,0,r,o),e[Up]=t.current,bp(8===e.nodeType?e.parentNode:e),new wv(t)},Ll.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(Nl(188));throw e=Object.keys(e).join(","),Error(Nl(268,e))}return e=null===(e=Eu(t))?null:e.stateNode},Ll.flushSync=function(e){return $b(e)},Ll.hydrate=function(e,t,n){if(!Rv(t))throw Error(Nl(200));return Tv(null,e,t,!0,n)},Ll.hydrateRoot=function(e,t,n){if(!kv(e))throw Error(Nl(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=Sv;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=bv(t,null,e,1,null!=n?n:null,o,0,i,a),e[Up]=t.current,bp(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Cv(t)},Ll.render=function(e,t,n){if(!Rv(t))throw Error(Nl(200));return Tv(null,e,t,!1,n)},Ll.unmountComponentAtNode=function(e){if(!Rv(e))throw Error(Nl(40));return!!e._reactRootContainer&&($b((function(){Tv(null,null,e,!1,(function(){e._reactRootContainer=null,e[Up]=null}))})),!0)},Ll.unstable_batchedUpdates=Db,Ll.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Rv(n))throw Error(Nl(200));if(null==e||void 0===e._reactInternals)throw Error(Nl(38));return Tv(e,t,n,!1,r)},Ll.version="18.3.1-next-f1338f8080-20240426",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),Tl.exports=Ll;var Ov=Tl.exports,Mv=u(Ov),Nv=!1,zv=q.createContext(null),jv="unmounted",Dv="exited",$v="entering",Bv="entered",Fv="exiting",Hv=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=Dv,r.appearStatus=$v):o=Bv:o=t.unmountOnExit||t.mountOnEnter?jv:Dv,r.state={status:o},r.nextCallback=null,r}_l(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===jv?{status:Dv}: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!==$v&&n!==Bv&&(t=$v):n!==$v&&n!==Bv||(t=Fv)}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===$v){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Mv.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Dv&&this.setState({status:jv})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Mv.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Nv?this.safeSetState({status:Bv},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:$v},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Bv},(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:Mv.findDOMNode(this);t&&!Nv?(this.props.onExit(r),this.safeSetState({status:Fv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Dv},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Dv},(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:Mv.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===jv)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=s(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return q.createElement(zv.Provider,{value:null},"function"==typeof n?n(e,r):q.cloneElement(q.Children.only(n),r))},t}(q.Component);function Uv(){}function Vv(e,t){var n=Object.create(null);return e&&Y.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Y.isValidElement(e)?t(e):e}(e)})),n}function Gv(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Wv(e,t,n){var r=Vv(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 l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(Y.isValidElement(a)){var l=i in t,s=i in r,u=t[i],c=Y.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&Y.isValidElement(u)&&(o[i]=Y.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:Gv(a,"exit",e),enter:Gv(a,"enter",e)})):o[i]=Y.cloneElement(a,{in:!1}):o[i]=Y.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Gv(a,"exit",e),enter:Gv(a,"enter",e)})}})),o}Hv.contextType=zv,Hv.propTypes={},Hv.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Uv,onEntering:Uv,onEntered:Uv,onExit:Uv,onExiting:Uv,onExited:Uv},Hv.UNMOUNTED=jv,Hv.EXITED=Dv,Hv.ENTERING=$v,Hv.ENTERED=Bv,Hv.EXITING=Fv;var Yv=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},qv=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}_l(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,Vv(n.children,(function(e){return Y.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Gv(e,"appear",n),enter:Gv(e,"enter",n),exit:Gv(e,"exit",n)})}))):Wv(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Vv(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=l({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=s(e,["component","childFactory"]),o=this.state.contextValue,i=Yv(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?q.createElement(zv.Provider,{value:o},i):q.createElement(zv.Provider,{value:o},q.createElement(t,r,i))},t}(q.Component);qv.propTypes={},qv.defaultProps={component:"div",childFactory:function(e){return e}};const Kv=e=>e.scrollTop;function Qv(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 Xv(e){return Wr("MuiPaper",e)}Yr("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 Zv=["className","component","elevation","square","variant"],Jv=gl("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 l({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&&l({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Ei("#fff",yl(t.elevation))}, ${Ei("#fff",yl(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),ey=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:u="elevation"}=n,c=s(n,Zv),d=l({},n,{component:o,elevation:i,square:a,variant:u}),p=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return qo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Xv,o)})(d);return yn.jsx(Jv,l({as:o,ownerState:d,className:Ur(p.root,r),ref:t},c))}));const ty=Yr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ny=["center","classes","className"];let ry,oy,iy,ay,ly=e=>e;const sy=tn(ry||(ry=ly`
33
+ */function Ss(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ws=new Set,Cs={};function ks(e,t){Rs(e,t),Rs(e+"Capture",t)}function Rs(e,t){for(Cs[e]=t,e=0;e<t.length;e++)ws.add(t[e])}var _s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ts=Object.prototype.hasOwnProperty,As=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Is={},Ls={};function Ps(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Os={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Os[e]=new Ps(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Os[t]=new Ps(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Os[e]=new Ps(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Os[e]=new Ps(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Os[e]=new Ps(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Os[e]=new Ps(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Os[e]=new Ps(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Os[e]=new Ps(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Os[e]=new Ps(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Ms=/[\-:]([a-z])/g;function Ns(e){return e[1].toUpperCase()}function js(e,t,n,r){var o=Os.hasOwnProperty(t)?Os[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Ts.call(Ls,e)||!Ts.call(Is,e)&&(As.test(e)?Ls[e]=!0:(Is[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Ms,Ns);Os[t]=new Ps(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Ms,Ns);Os[t]=new Ps(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Ms,Ns);Os[t]=new Ps(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Os[e]=new Ps(e,1,!1,e.toLowerCase(),null,!1,!1)})),Os.xlinkHref=new Ps("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Os[e]=new Ps(e,1,!1,e.toLowerCase(),null,!0,!0)}));var zs=xs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$s=Symbol.for("react.element"),Ds=Symbol.for("react.portal"),Bs=Symbol.for("react.fragment"),Fs=Symbol.for("react.strict_mode"),Ws=Symbol.for("react.profiler"),Gs=Symbol.for("react.provider"),Hs=Symbol.for("react.context"),Us=Symbol.for("react.forward_ref"),Vs=Symbol.for("react.suspense"),Ys=Symbol.for("react.suspense_list"),qs=Symbol.for("react.memo"),Ks=Symbol.for("react.lazy"),Xs=Symbol.for("react.offscreen"),Qs=Symbol.iterator;function Zs(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Qs&&e[Qs]||e["@@iterator"])?e:null}var Js,eu=Object.assign;function tu(e){if(void 0===Js)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Js=t&&t[1]||""}return"\n"+Js+e}var nu=!1;function ru(e,t){if(!e||nu)return"";nu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{nu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tu(e):""}function ou(e){switch(e.tag){case 5:return tu(e.type);case 16:return tu("Lazy");case 13:return tu("Suspense");case 19:return tu("SuspenseList");case 0:case 2:case 15:return e=ru(e.type,!1);case 11:return e=ru(e.type.render,!1);case 1:return e=ru(e.type,!0);default:return""}}function iu(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Bs:return"Fragment";case Ds:return"Portal";case Ws:return"Profiler";case Fs:return"StrictMode";case Vs:return"Suspense";case Ys:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Hs:return(e.displayName||"Context")+".Consumer";case Gs:return(e._context.displayName||"Context")+".Provider";case Us:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case qs:return null!==(t=e.displayName||null)?t:iu(e.type)||"Memo";case Ks:t=e._payload,e=e._init;try{return iu(e(t))}catch(e){}}return null}function au(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return iu(t);case 8:return t===Fs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function lu(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function su(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function uu(e){e._valueTracker||(e._valueTracker=function(e){var t=su(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function cu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=su(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function du(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function pu(e,t){var n=t.checked;return eu({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function fu(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=lu(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function hu(e,t){null!=(t=t.checked)&&js(e,"checked",t,!1)}function mu(e,t){hu(e,t);var n=lu(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?bu(e,t.type,n):t.hasOwnProperty("defaultValue")&&bu(e,t.type,lu(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function gu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function bu(e,t,n){"number"===t&&du(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var vu=Array.isArray;function yu(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+lu(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function xu(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(Ss(91));return eu({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Eu(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(Ss(92));if(vu(n)){if(1<n.length)throw Error(Ss(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:lu(n)}}function Su(e,t){var n=lu(t.value),r=lu(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function wu(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Cu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ku(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Cu(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ru,_u,Tu=(_u=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Ru=Ru||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ru.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return _u(e,t)}))}:_u);function Au(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Iu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Lu=["Webkit","ms","Moz","O"];function Pu(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Iu.hasOwnProperty(e)&&Iu[e]?(""+t).trim():t+"px"}function Ou(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Pu(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Iu).forEach((function(e){Lu.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Iu[t]=Iu[e]}))}));var Mu=eu({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Nu(e,t){if(t){if(Mu[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(Ss(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(Ss(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(Ss(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(Ss(62))}}function ju(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var zu=null;function $u(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Du=null,Bu=null,Fu=null;function Wu(e){if(e=jf(e)){if("function"!=typeof Du)throw Error(Ss(280));var t=e.stateNode;t&&(t=$f(t),Du(e.stateNode,e.type,t))}}function Gu(e){Bu?Fu?Fu.push(e):Fu=[e]:Bu=e}function Hu(){if(Bu){var e=Bu,t=Fu;if(Fu=Bu=null,Wu(e),t)for(e=0;e<t.length;e++)Wu(t[e])}}function Uu(e,t){return e(t)}function Vu(){}var Yu=!1;function qu(e,t,n){if(Yu)return e(t,n);Yu=!0;try{return Uu(e,t,n)}finally{Yu=!1,(null!==Bu||null!==Fu)&&(Vu(),Hu())}}function Ku(e,t){var n=e.stateNode;if(null===n)return null;var r=$f(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(Ss(231,t,typeof n));return n}var Xu=!1;if(_s)try{var Qu={};Object.defineProperty(Qu,"passive",{get:function(){Xu=!0}}),window.addEventListener("test",Qu,Qu),window.removeEventListener("test",Qu,Qu)}catch(_u){Xu=!1}function Zu(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Ju=!1,ec=null,tc=!1,nc=null,rc={onError:function(e){Ju=!0,ec=e}};function oc(e,t,n,r,o,i,a,l,s){Ju=!1,ec=null,Zu.apply(rc,arguments)}function ic(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ac(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function lc(e){if(ic(e)!==e)throw Error(Ss(188))}function sc(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=ic(e)))throw Error(Ss(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return lc(o),e;if(i===r)return lc(o),t;i=i.sibling}throw Error(Ss(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(Ss(189))}}if(n.alternate!==r)throw Error(Ss(190))}if(3!==n.tag)throw Error(Ss(188));return n.stateNode.current===n?e:t}(e),null!==e?uc(e):null}function uc(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=uc(e);if(null!==t)return t;e=e.sibling}return null}var cc=Es.unstable_scheduleCallback,dc=Es.unstable_cancelCallback,pc=Es.unstable_shouldYield,fc=Es.unstable_requestPaint,hc=Es.unstable_now,mc=Es.unstable_getCurrentPriorityLevel,gc=Es.unstable_ImmediatePriority,bc=Es.unstable_UserBlockingPriority,vc=Es.unstable_NormalPriority,yc=Es.unstable_LowPriority,xc=Es.unstable_IdlePriority,Ec=null,Sc=null;var wc=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Cc(e)/kc|0)|0},Cc=Math.log,kc=Math.LN2;var Rc=64,_c=4194304;function Tc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ac(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=Tc(l):0!==(i&=a)&&(r=Tc(i))}else 0!==(a=n&~o)?r=Tc(a):0!==i&&(r=Tc(i));if(0===r)return 0;if(0!==t&&t!==r&&!(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-wc(t)),r|=e[n],t&=~o;return r}function Ic(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Lc(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Pc(){var e=Rc;return!(4194240&(Rc<<=1))&&(Rc=64),e}function Oc(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Mc(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-wc(t)]=n}function Nc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-wc(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var jc=0;function zc(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var $c,Dc,Bc,Fc,Wc,Gc=!1,Hc=[],Uc=null,Vc=null,Yc=null,qc=new Map,Kc=new Map,Xc=[],Qc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Zc(e,t){switch(e){case"focusin":case"focusout":Uc=null;break;case"dragenter":case"dragleave":Vc=null;break;case"mouseover":case"mouseout":Yc=null;break;case"pointerover":case"pointerout":qc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kc.delete(t.pointerId)}}function Jc(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=jf(t))&&Dc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function ed(e){var t=Nf(e.target);if(null!==t){var n=ic(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ac(n)))return e.blockedOn=t,void Wc(e.priority,(function(){Bc(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function td(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=pd(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=jf(n))&&Dc(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);zu=r,n.target.dispatchEvent(r),zu=null,t.shift()}return!0}function nd(e,t,n){td(e)&&n.delete(t)}function rd(){Gc=!1,null!==Uc&&td(Uc)&&(Uc=null),null!==Vc&&td(Vc)&&(Vc=null),null!==Yc&&td(Yc)&&(Yc=null),qc.forEach(nd),Kc.forEach(nd)}function od(e,t){e.blockedOn===t&&(e.blockedOn=null,Gc||(Gc=!0,Es.unstable_scheduleCallback(Es.unstable_NormalPriority,rd)))}function id(e){function t(t){return od(t,e)}if(0<Hc.length){od(Hc[0],e);for(var n=1;n<Hc.length;n++){var r=Hc[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Uc&&od(Uc,e),null!==Vc&&od(Vc,e),null!==Yc&&od(Yc,e),qc.forEach(t),Kc.forEach(t),n=0;n<Xc.length;n++)(r=Xc[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Xc.length&&null===(n=Xc[0]).blockedOn;)ed(n),null===n.blockedOn&&Xc.shift()}var ad=zs.ReactCurrentBatchConfig,ld=!0;function sd(e,t,n,r){var o=jc,i=ad.transition;ad.transition=null;try{jc=1,cd(e,t,n,r)}finally{jc=o,ad.transition=i}}function ud(e,t,n,r){var o=jc,i=ad.transition;ad.transition=null;try{jc=4,cd(e,t,n,r)}finally{jc=o,ad.transition=i}}function cd(e,t,n,r){if(ld){var o=pd(e,t,n,r);if(null===o)lf(e,t,r,dd,n),Zc(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Uc=Jc(Uc,e,t,n,r,o),!0;case"dragenter":return Vc=Jc(Vc,e,t,n,r,o),!0;case"mouseover":return Yc=Jc(Yc,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return qc.set(i,Jc(qc.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Kc.set(i,Jc(Kc.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Zc(e,r),4&t&&-1<Qc.indexOf(e)){for(;null!==o;){var i=jf(o);if(null!==i&&$c(i),null===(i=pd(e,t,n,r))&&lf(e,t,r,dd,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else lf(e,t,r,null,n)}}var dd=null;function pd(e,t,n,r){if(dd=null,null!==(e=Nf(e=$u(r))))if(null===(t=ic(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ac(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return dd=e,null}function fd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(mc()){case gc:return 1;case bc:return 4;case vc:case yc:return 16;case xc:return 536870912;default:return 16}default:return 16}}var hd=null,md=null,gd=null;function bd(){if(gd)return gd;var e,t,n=md,r=n.length,o="value"in hd?hd.value:hd.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return gd=o.slice(e,1<t?1-t:void 0)}function vd(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function yd(){return!0}function xd(){return!1}function Ed(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?yd:xd,this.isPropagationStopped=xd,this}return eu(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=yd)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=yd)},persist:function(){},isPersistent:yd}),t}var Sd,wd,Cd,kd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rd=Ed(kd),_d=eu({},kd,{view:0,detail:0}),Td=Ed(_d),Ad=eu({},_d,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fd,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Cd&&(Cd&&"mousemove"===e.type?(Sd=e.screenX-Cd.screenX,wd=e.screenY-Cd.screenY):wd=Sd=0,Cd=e),Sd)},movementY:function(e){return"movementY"in e?e.movementY:wd}}),Id=Ed(Ad),Ld=Ed(eu({},Ad,{dataTransfer:0})),Pd=Ed(eu({},_d,{relatedTarget:0})),Od=Ed(eu({},kd,{animationName:0,elapsedTime:0,pseudoElement:0})),Md=eu({},kd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Nd=Ed(Md),jd=Ed(eu({},kd,{data:0})),zd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$d={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Dd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Bd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Dd[e])&&!!t[e]}function Fd(){return Bd}var Wd=eu({},_d,{key:function(e){if(e.key){var t=zd[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=vd(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?$d[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fd,charCode:function(e){return"keypress"===e.type?vd(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?vd(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Gd=Ed(Wd),Hd=Ed(eu({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ud=Ed(eu({},_d,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fd})),Vd=Ed(eu({},kd,{propertyName:0,elapsedTime:0,pseudoElement:0})),Yd=eu({},Ad,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qd=Ed(Yd),Kd=[9,13,27,32],Xd=_s&&"CompositionEvent"in window,Qd=null;_s&&"documentMode"in document&&(Qd=document.documentMode);var Zd=_s&&"TextEvent"in window&&!Qd,Jd=_s&&(!Xd||Qd&&8<Qd&&11>=Qd),ep=String.fromCharCode(32),tp=!1;function np(e,t){switch(e){case"keyup":return-1!==Kd.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rp(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var op=!1;var ip={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ap(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ip[e.type]:"textarea"===t}function lp(e,t,n,r){Gu(r),0<(t=uf(t,"onChange")).length&&(n=new Rd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var sp=null,up=null;function cp(e){ef(e,0)}function dp(e){if(cu(zf(e)))return e}function pp(e,t){if("change"===e)return t}var fp=!1;if(_s){var hp;if(_s){var mp="oninput"in document;if(!mp){var gp=document.createElement("div");gp.setAttribute("oninput","return;"),mp="function"==typeof gp.oninput}hp=mp}else hp=!1;fp=hp&&(!document.documentMode||9<document.documentMode)}function bp(){sp&&(sp.detachEvent("onpropertychange",vp),up=sp=null)}function vp(e){if("value"===e.propertyName&&dp(up)){var t=[];lp(t,up,e,$u(e)),qu(cp,t)}}function yp(e,t,n){"focusin"===e?(bp(),up=n,(sp=t).attachEvent("onpropertychange",vp)):"focusout"===e&&bp()}function xp(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return dp(up)}function Ep(e,t){if("click"===e)return dp(t)}function Sp(e,t){if("input"===e||"change"===e)return dp(t)}var wp="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Cp(e,t){if(wp(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Ts.call(t,o)||!wp(e[o],t[o]))return!1}return!0}function kp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rp(e,t){var n,r=kp(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=kp(r)}}function _p(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?_p(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Tp(){for(var e=window,t=du();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=du((e=t.contentWindow).document)}return t}function Ap(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Ip(e){var t=Tp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_p(n.ownerDocument.documentElement,n)){if(null!==r&&Ap(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Rp(n,i);var a=Rp(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Lp=_s&&"documentMode"in document&&11>=document.documentMode,Pp=null,Op=null,Mp=null,Np=!1;function jp(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Np||null==Pp||Pp!==du(r)||("selectionStart"in(r=Pp)&&Ap(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Mp&&Cp(Mp,r)||(Mp=r,0<(r=uf(Op,"onSelect")).length&&(t=new Rd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pp)))}function zp(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var $p={animationend:zp("Animation","AnimationEnd"),animationiteration:zp("Animation","AnimationIteration"),animationstart:zp("Animation","AnimationStart"),transitionend:zp("Transition","TransitionEnd")},Dp={},Bp={};function Fp(e){if(Dp[e])return Dp[e];if(!$p[e])return e;var t,n=$p[e];for(t in n)if(n.hasOwnProperty(t)&&t in Bp)return Dp[e]=n[t];return e}_s&&(Bp=document.createElement("div").style,"AnimationEvent"in window||(delete $p.animationend.animation,delete $p.animationiteration.animation,delete $p.animationstart.animation),"TransitionEvent"in window||delete $p.transitionend.transition);var Wp=Fp("animationend"),Gp=Fp("animationiteration"),Hp=Fp("animationstart"),Up=Fp("transitionend"),Vp=new Map,Yp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function qp(e,t){Vp.set(e,t),ks(t,[e])}for(var Kp=0;Kp<Yp.length;Kp++){var Xp=Yp[Kp];qp(Xp.toLowerCase(),"on"+(Xp[0].toUpperCase()+Xp.slice(1)))}qp(Wp,"onAnimationEnd"),qp(Gp,"onAnimationIteration"),qp(Hp,"onAnimationStart"),qp("dblclick","onDoubleClick"),qp("focusin","onFocus"),qp("focusout","onBlur"),qp(Up,"onTransitionEnd"),Rs("onMouseEnter",["mouseout","mouseover"]),Rs("onMouseLeave",["mouseout","mouseover"]),Rs("onPointerEnter",["pointerout","pointerover"]),Rs("onPointerLeave",["pointerout","pointerover"]),ks("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ks("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ks("onBeforeInput",["compositionend","keypress","textInput","paste"]),ks("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ks("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ks("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qp="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Zp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qp));function Jp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(oc.apply(this,arguments),Ju){if(!Ju)throw Error(Ss(198));var u=ec;Ju=!1,ec=null,tc||(tc=!0,nc=u)}}(r,t,void 0,e),e.currentTarget=null}function ef(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Jp(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Jp(o,l,u),i=s}}}if(tc)throw e=nc,tc=!1,nc=null,e}function tf(e,t){var n=t[Pf];void 0===n&&(n=t[Pf]=new Set);var r=e+"__bubble";n.has(r)||(af(t,e,2,!1),n.add(r))}function nf(e,t,n){var r=0;t&&(r|=4),af(n,e,r,t)}var rf="_reactListening"+Math.random().toString(36).slice(2);function of(e){if(!e[rf]){e[rf]=!0,ws.forEach((function(t){"selectionchange"!==t&&(Zp.has(t)||nf(t,!1,e),nf(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[rf]||(t[rf]=!0,nf("selectionchange",!1,t))}}function af(e,t,n,r){switch(fd(t)){case 1:var o=sd;break;case 4:o=ud;break;default:o=cd}n=o.bind(null,t,n,e),o=void 0,!Xu||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function lf(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=Nf(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}qu((function(){var r=i,o=$u(n),a=[];e:{var l=Vp.get(e);if(void 0!==l){var s=Rd,u=e;switch(e){case"keypress":if(0===vd(n))break e;case"keydown":case"keyup":s=Gd;break;case"focusin":u="focus",s=Pd;break;case"focusout":u="blur",s=Pd;break;case"beforeblur":case"afterblur":s=Pd;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Id;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Ld;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Ud;break;case Wp:case Gp:case Hp:s=Od;break;case Up:s=Vd;break;case"scroll":s=Td;break;case"wheel":s=qd;break;case"copy":case"cut":case"paste":s=Nd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Hd}var c=!!(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Ku(h,p))&&c.push(sf(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===zu||!(u=n.relatedTarget||n.fromElement)||!Nf(u)&&!u[Lf])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?Nf(u):null)&&(u!==(d=ic(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=Id,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Hd,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:zf(s),f=null==u?l:zf(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Nf(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=cf(f))h++;for(f=0,m=p;m;m=cf(m))f++;for(;0<h-f;)c=cf(c),h--;for(;0<f-h;)p=cf(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=cf(c),p=cf(p)}c=null}else c=null;null!==s&&df(a,l,s,c,!1),null!==u&&null!==d&&df(a,d,u,c,!0)}if("select"===(s=(l=r?zf(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=pp;else if(ap(l))if(fp)g=Sp;else{g=xp;var b=yp}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=Ep);switch(g&&(g=g(e,r))?lp(a,g,n,o):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&bu(l,"number",l.value)),b=r?zf(r):window,e){case"focusin":(ap(b)||"true"===b.contentEditable)&&(Pp=b,Op=r,Mp=null);break;case"focusout":Mp=Op=Pp=null;break;case"mousedown":Np=!0;break;case"contextmenu":case"mouseup":case"dragend":Np=!1,jp(a,n,o);break;case"selectionchange":if(Lp)break;case"keydown":case"keyup":jp(a,n,o)}var v;if(Xd)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else op?np(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Jd&&"ko"!==n.locale&&(op||"onCompositionStart"!==y?"onCompositionEnd"===y&&op&&(v=bd()):(md="value"in(hd=o)?hd.value:hd.textContent,op=!0)),0<(b=uf(r,y)).length&&(y=new jd(y,e,null,n,o),a.push({event:y,listeners:b}),v?y.data=v:null!==(v=rp(n))&&(y.data=v))),(v=Zd?function(e,t){switch(e){case"compositionend":return rp(t);case"keypress":return 32!==t.which?null:(tp=!0,ep);case"textInput":return(e=t.data)===ep&&tp?null:e;default:return null}}(e,n):function(e,t){if(op)return"compositionend"===e||!Xd&&np(e,t)?(e=bd(),gd=md=hd=null,op=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jd&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=uf(r,"onBeforeInput")).length&&(o=new jd("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v))}ef(a,t)}))}function sf(e,t,n){return{instance:e,listener:t,currentTarget:n}}function uf(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ku(e,n))&&r.unshift(sf(e,i,o)),null!=(i=Ku(e,t))&&r.push(sf(e,i,o))),e=e.return}return r}function cf(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function df(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Ku(n,i))&&a.unshift(sf(n,s,l)):o||null!=(s=Ku(n,i))&&a.push(sf(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var pf=/\r\n?/g,ff=/\u0000|\uFFFD/g;function hf(e){return("string"==typeof e?e:""+e).replace(pf,"\n").replace(ff,"")}function mf(e,t,n){if(t=hf(t),hf(e)!==t&&n)throw Error(Ss(425))}function gf(){}var bf=null,vf=null;function yf(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var xf="function"==typeof setTimeout?setTimeout:void 0,Ef="function"==typeof clearTimeout?clearTimeout:void 0,Sf="function"==typeof Promise?Promise:void 0,wf="function"==typeof queueMicrotask?queueMicrotask:void 0!==Sf?function(e){return Sf.resolve(null).then(e).catch(Cf)}:xf;function Cf(e){setTimeout((function(){throw e}))}function kf(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void id(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);id(t)}function Rf(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function _f(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Tf=Math.random().toString(36).slice(2),Af="__reactFiber$"+Tf,If="__reactProps$"+Tf,Lf="__reactContainer$"+Tf,Pf="__reactEvents$"+Tf,Of="__reactListeners$"+Tf,Mf="__reactHandles$"+Tf;function Nf(e){var t=e[Af];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Lf]||n[Af]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=_f(e);null!==e;){if(n=e[Af])return n;e=_f(e)}return t}n=(e=n).parentNode}return null}function jf(e){return!(e=e[Af]||e[Lf])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function zf(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(Ss(33))}function $f(e){return e[If]||null}var Df=[],Bf=-1;function Ff(e){return{current:e}}function Wf(e){0>Bf||(e.current=Df[Bf],Df[Bf]=null,Bf--)}function Gf(e,t){Bf++,Df[Bf]=e.current,e.current=t}var Hf={},Uf=Ff(Hf),Vf=Ff(!1),Yf=Hf;function qf(e,t){var n=e.type.contextTypes;if(!n)return Hf;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Kf(e){return null!=(e=e.childContextTypes)}function Xf(){Wf(Vf),Wf(Uf)}function Qf(e,t,n){if(Uf.current!==Hf)throw Error(Ss(168));Gf(Uf,t),Gf(Vf,n)}function Zf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(Ss(108,au(e)||"Unknown",o));return eu({},n,r)}function Jf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Hf,Yf=Uf.current,Gf(Uf,e),Gf(Vf,Vf.current),!0}function eh(e,t,n){var r=e.stateNode;if(!r)throw Error(Ss(169));n?(e=Zf(e,t,Yf),r.__reactInternalMemoizedMergedChildContext=e,Wf(Vf),Wf(Uf),Gf(Uf,e)):Wf(Vf),Gf(Vf,n)}var th=null,nh=!1,rh=!1;function oh(e){null===th?th=[e]:th.push(e)}function ih(){if(!rh&&null!==th){rh=!0;var e=0,t=jc;try{var n=th;for(jc=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}th=null,nh=!1}catch(t){throw null!==th&&(th=th.slice(e+1)),cc(gc,ih),t}finally{jc=t,rh=!1}}return null}var ah=[],lh=0,sh=null,uh=0,ch=[],dh=0,ph=null,fh=1,hh="";function mh(e,t){ah[lh++]=uh,ah[lh++]=sh,sh=e,uh=t}function gh(e,t,n){ch[dh++]=fh,ch[dh++]=hh,ch[dh++]=ph,ph=e;var r=fh;e=hh;var o=32-wc(r)-1;r&=~(1<<o),n+=1;var i=32-wc(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,fh=1<<32-wc(t)+o|n<<o|r,hh=i+e}else fh=1<<i|n<<o|r,hh=e}function bh(e){null!==e.return&&(mh(e,1),gh(e,1,0))}function vh(e){for(;e===sh;)sh=ah[--lh],ah[lh]=null,uh=ah[--lh],ah[lh]=null;for(;e===ph;)ph=ch[--dh],ch[dh]=null,hh=ch[--dh],ch[dh]=null,fh=ch[--dh],ch[dh]=null}var yh=null,xh=null,Eh=!1,Sh=null;function wh(e,t){var n=Yv(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function Ch(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,yh=e,xh=Rf(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,yh=e,xh=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ph?{id:fh,overflow:hh}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Yv(18,null,null,0)).stateNode=t,n.return=e,e.child=n,yh=e,xh=null,!0);default:return!1}}function kh(e){return!(!(1&e.mode)||128&e.flags)}function Rh(e){if(Eh){var t=xh;if(t){var n=t;if(!Ch(e,t)){if(kh(e))throw Error(Ss(418));t=Rf(n.nextSibling);var r=yh;t&&Ch(e,t)?wh(r,n):(e.flags=-4097&e.flags|2,Eh=!1,yh=e)}}else{if(kh(e))throw Error(Ss(418));e.flags=-4097&e.flags|2,Eh=!1,yh=e}}}function _h(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;yh=e}function Th(e){if(e!==yh)return!1;if(!Eh)return _h(e),Eh=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!yf(e.type,e.memoizedProps)),t&&(t=xh)){if(kh(e))throw Ah(),Error(Ss(418));for(;t;)wh(e,t),t=Rf(t.nextSibling)}if(_h(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(Ss(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){xh=Rf(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}xh=null}}else xh=yh?Rf(e.stateNode.nextSibling):null;return!0}function Ah(){for(var e=xh;e;)e=Rf(e.nextSibling)}function Ih(){xh=yh=null,Eh=!1}function Lh(e){null===Sh?Sh=[e]:Sh.push(e)}var Ph=zs.ReactCurrentBatchConfig;function Oh(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(Ss(309));var r=n.stateNode}if(!r)throw Error(Ss(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(Ss(284));if(!n._owner)throw Error(Ss(290,e))}return e}function Mh(e,t){throw e=Object.prototype.toString.call(t),Error(Ss(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Nh(e){return(0,e._init)(e._payload)}function jh(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Kv(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Jv(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===Bs?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===Ks&&Nh(i)===t.type)?((r=o(t,n.props)).ref=Oh(e,t,n),r.return=e,r):((r=Xv(n.type,n.key,n.props,null,e.mode,r)).ref=Oh(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ey(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=Qv(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Jv(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case $s:return(n=Xv(t.type,t.key,t.props,null,e.mode,n)).ref=Oh(e,null,t),n.return=e,n;case Ds:return(t=ey(t,e.mode,n)).return=e,t;case Ks:return d(e,(0,t._init)(t._payload),n)}if(vu(t)||Zs(t))return(t=Qv(t,e.mode,n,null)).return=e,t;Mh(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case $s:return n.key===o?s(e,t,n,r):null;case Ds:return n.key===o?u(e,t,n,r):null;case Ks:return p(e,t,(o=n._init)(n._payload),r)}if(vu(n)||Zs(n))return null!==o?null:c(e,t,n,r,null);Mh(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case $s:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Ds:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Ks:return f(e,t,n,(0,r._init)(r._payload),o)}if(vu(r)||Zs(r))return c(t,e=e.get(n)||null,r,o,null);Mh(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var b=p(o,h,l[m],s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(o,h),a=i(b,a,m),null===c?u=b:c.sibling=b,c=b,h=g}if(m===l.length)return n(o,h),Eh&&mh(o,m),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return Eh&&mh(o,m),u}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),Eh&&mh(o,m),u}function m(o,a,l,s){var u=Zs(l);if("function"!=typeof u)throw Error(Ss(150));if(null==(l=u.call(l)))throw Error(Ss(151));for(var c=u=null,h=a,m=a=0,g=null,b=l.next();null!==h&&!b.done;m++,b=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,b.value,s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,h=g}if(b.done)return n(o,h),Eh&&mh(o,m),u;if(null===h){for(;!b.done;m++,b=l.next())null!==(b=d(o,b.value,s))&&(a=i(b,a,m),null===c?u=b:c.sibling=b,c=b);return Eh&&mh(o,m),u}for(h=r(o,h);!b.done;m++,b=l.next())null!==(b=f(h,o,m,b.value,s))&&(e&&null!==b.alternate&&h.delete(null===b.key?m:b.key),a=i(b,a,m),null===c?u=b:c.sibling=b,c=b);return e&&h.forEach((function(e){return t(o,e)})),Eh&&mh(o,m),u}return function e(r,i,l,s){if("object"==typeof l&&null!==l&&l.type===Bs&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case $s:e:{for(var u=l.key,c=i;null!==c;){if(c.key===u){if((u=l.type)===Bs){if(7===c.tag){n(r,c.sibling),(i=o(c,l.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===Ks&&Nh(u)===c.type){n(r,c.sibling),(i=o(c,l.props)).ref=Oh(r,c,l),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===Bs?((i=Qv(l.props.children,r.mode,s,l.key)).return=r,r=i):((s=Xv(l.type,l.key,l.props,null,r.mode,s)).ref=Oh(r,i,l),s.return=r,r=s)}return a(r);case Ds:e:{for(c=l.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===l.containerInfo&&i.stateNode.implementation===l.implementation){n(r,i.sibling),(i=o(i,l.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=ey(l,r.mode,s)).return=r,r=i}return a(r);case Ks:return e(r,i,(c=l._init)(l._payload),s)}if(vu(l))return h(r,i,l,s);if(Zs(l))return m(r,i,l,s);Mh(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,l)).return=r,r=i):(n(r,i),(i=Jv(l,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var zh=jh(!0),$h=jh(!1),Dh=Ff(null),Bh=null,Fh=null,Wh=null;function Gh(){Wh=Fh=Bh=null}function Hh(e){var t=Dh.current;Wf(Dh),e._currentValue=t}function Uh(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Vh(e,t){Bh=e,Wh=Fh=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(Ng=!0),e.firstContext=null)}function Yh(e){var t=e._currentValue;if(Wh!==e)if(e={context:e,memoizedValue:t,next:null},null===Fh){if(null===Bh)throw Error(Ss(308));Fh=e,Bh.dependencies={lanes:0,firstContext:e}}else Fh=Fh.next=e;return t}var qh=null;function Kh(e){null===qh?qh=[e]:qh.push(e)}function Xh(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Kh(t)):(n.next=o.next,o.next=n),t.interleaved=n,Qh(e,r)}function Qh(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Zh=!1;function Jh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function em(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function tm(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function nm(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Hb){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Qh(e,n)}return null===(o=r.interleaved)?(t.next=t,Kh(r)):(t.next=o.next,o.next=t),r.interleaved=t,Qh(e,n)}function rm(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nc(e,n)}}function om(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function im(e,t,n,r){var o=e.updateQueue;Zh=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=eu({},d,p);break e;case 2:Zh=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=f,s=d):c=c.next=f,a|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Zb|=a,e.lanes=a,e.memoizedState=d}}function am(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(Ss(191,o));o.call(r)}}}var lm={},sm=Ff(lm),um=Ff(lm),cm=Ff(lm);function dm(e){if(e===lm)throw Error(Ss(174));return e}function pm(e,t){switch(Gf(cm,t),Gf(um,e),Gf(sm,lm),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ku(null,"");break;default:t=ku(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Wf(sm),Gf(sm,t)}function fm(){Wf(sm),Wf(um),Wf(cm)}function hm(e){dm(cm.current);var t=dm(sm.current),n=ku(t,e.type);t!==n&&(Gf(um,e),Gf(sm,n))}function mm(e){um.current===e&&(Wf(sm),Wf(um))}var gm=Ff(0);function bm(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vm=[];function ym(){for(var e=0;e<vm.length;e++)vm[e]._workInProgressVersionPrimary=null;vm.length=0}var xm=zs.ReactCurrentDispatcher,Em=zs.ReactCurrentBatchConfig,Sm=0,wm=null,Cm=null,km=null,Rm=!1,_m=!1,Tm=0,Am=0;function Im(){throw Error(Ss(321))}function Lm(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wp(e[n],t[n]))return!1;return!0}function Pm(e,t,n,r,o,i){if(Sm=i,wm=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,xm.current=null===e||null===e.memoizedState?mg:gg,e=n(r,o),_m){i=0;do{if(_m=!1,Tm=0,25<=i)throw Error(Ss(301));i+=1,km=Cm=null,t.updateQueue=null,xm.current=bg,e=n(r,o)}while(_m)}if(xm.current=hg,t=null!==Cm&&null!==Cm.next,Sm=0,km=Cm=wm=null,Rm=!1,t)throw Error(Ss(300));return e}function Om(){var e=0!==Tm;return Tm=0,e}function Mm(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===km?wm.memoizedState=km=e:km=km.next=e,km}function Nm(){if(null===Cm){var e=wm.alternate;e=null!==e?e.memoizedState:null}else e=Cm.next;var t=null===km?wm.memoizedState:km.next;if(null!==t)km=t,Cm=e;else{if(null===e)throw Error(Ss(310));e={memoizedState:(Cm=e).memoizedState,baseState:Cm.baseState,baseQueue:Cm.baseQueue,queue:Cm.queue,next:null},null===km?wm.memoizedState=km=e:km=km.next=e}return km}function jm(e,t){return"function"==typeof t?t(e):t}function zm(e){var t=Nm(),n=t.queue;if(null===n)throw Error(Ss(311));n.lastRenderedReducer=e;var r=Cm,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=a=null,s=null,u=i;do{var c=u.lane;if((Sm&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=d,a=r):s=s.next=d,wm.lanes|=c,Zb|=c}u=u.next}while(null!==u&&u!==i);null===s?a=r:s.next=l,wp(r,t.memoizedState)||(Ng=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,wm.lanes|=i,Zb|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function $m(e){var t=Nm(),n=t.queue;if(null===n)throw Error(Ss(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);wp(i,t.memoizedState)||(Ng=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Dm(){}function Bm(e,t){var n=wm,r=Nm(),o=t(),i=!wp(r.memoizedState,o);if(i&&(r.memoizedState=o,Ng=!0),r=r.queue,Zm(Gm.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==km&&1&km.memoizedState.tag){if(n.flags|=2048,Ym(9,Wm.bind(null,n,r,o,t),void 0,null),null===Ub)throw Error(Ss(349));30&Sm||Fm(n,t,o)}return o}function Fm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=wm.updateQueue)?(t={lastEffect:null,stores:null},wm.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Wm(e,t,n,r){t.value=n,t.getSnapshot=r,Hm(t)&&Um(e)}function Gm(e,t,n){return n((function(){Hm(t)&&Um(e)}))}function Hm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wp(e,n)}catch(e){return!0}}function Um(e){var t=Qh(e,1);null!==t&&vv(t,e,1,-1)}function Vm(e){var t=Mm();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:jm,lastRenderedState:e},t.queue=e,e=e.dispatch=cg.bind(null,wm,e),[t.memoizedState,e]}function Ym(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=wm.updateQueue)?(t={lastEffect:null,stores:null},wm.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function qm(){return Nm().memoizedState}function Km(e,t,n,r){var o=Mm();wm.flags|=e,o.memoizedState=Ym(1|t,n,void 0,void 0===r?null:r)}function Xm(e,t,n,r){var o=Nm();r=void 0===r?null:r;var i=void 0;if(null!==Cm){var a=Cm.memoizedState;if(i=a.destroy,null!==r&&Lm(r,a.deps))return void(o.memoizedState=Ym(t,n,i,r))}wm.flags|=e,o.memoizedState=Ym(1|t,n,i,r)}function Qm(e,t){return Km(8390656,8,e,t)}function Zm(e,t){return Xm(2048,8,e,t)}function Jm(e,t){return Xm(4,2,e,t)}function eg(e,t){return Xm(4,4,e,t)}function tg(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ng(e,t,n){return n=null!=n?n.concat([e]):null,Xm(4,4,tg.bind(null,t,e),n)}function rg(){}function og(e,t){var n=Nm();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Lm(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ig(e,t){var n=Nm();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Lm(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ag(e,t,n){return 21&Sm?(wp(n,t)||(n=Pc(),wm.lanes|=n,Zb|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ng=!0),e.memoizedState=n)}function lg(e,t){var n=jc;jc=0!==n&&4>n?n:4,e(!0);var r=Em.transition;Em.transition={};try{e(!1),t()}finally{jc=n,Em.transition=r}}function sg(){return Nm().memoizedState}function ug(e,t,n){var r=bv(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dg(e))pg(t,n);else if(null!==(n=Xh(e,t,n,r))){vv(n,e,r,gv()),fg(n,t,r)}}function cg(e,t,n){var r=bv(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dg(e))pg(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,wp(l,a)){var s=t.interleaved;return null===s?(o.next=o,Kh(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Xh(e,t,o,r))&&(vv(n,e,r,o=gv()),fg(n,t,r))}}function dg(e){var t=e.alternate;return e===wm||null!==t&&t===wm}function pg(e,t){_m=Rm=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fg(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nc(e,n)}}var hg={readContext:Yh,useCallback:Im,useContext:Im,useEffect:Im,useImperativeHandle:Im,useInsertionEffect:Im,useLayoutEffect:Im,useMemo:Im,useReducer:Im,useRef:Im,useState:Im,useDebugValue:Im,useDeferredValue:Im,useTransition:Im,useMutableSource:Im,useSyncExternalStore:Im,useId:Im,unstable_isNewReconciler:!1},mg={readContext:Yh,useCallback:function(e,t){return Mm().memoizedState=[e,void 0===t?null:t],e},useContext:Yh,useEffect:Qm,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Km(4194308,4,tg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Km(4194308,4,e,t)},useInsertionEffect:function(e,t){return Km(4,2,e,t)},useMemo:function(e,t){var n=Mm();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mm();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ug.bind(null,wm,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Mm().memoizedState=e},useState:Vm,useDebugValue:rg,useDeferredValue:function(e){return Mm().memoizedState=e},useTransition:function(){var e=Vm(!1),t=e[0];return e=lg.bind(null,e[1]),Mm().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=wm,o=Mm();if(Eh){if(void 0===n)throw Error(Ss(407));n=n()}else{if(n=t(),null===Ub)throw Error(Ss(349));30&Sm||Fm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Qm(Gm.bind(null,r,i,e),[e]),r.flags|=2048,Ym(9,Wm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Mm(),t=Ub.identifierPrefix;if(Eh){var n=hh;t=":"+t+"R"+(n=(fh&~(1<<32-wc(fh)-1)).toString(32)+n),0<(n=Tm++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Am++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},gg={readContext:Yh,useCallback:og,useContext:Yh,useEffect:Zm,useImperativeHandle:ng,useInsertionEffect:Jm,useLayoutEffect:eg,useMemo:ig,useReducer:zm,useRef:qm,useState:function(){return zm(jm)},useDebugValue:rg,useDeferredValue:function(e){return ag(Nm(),Cm.memoizedState,e)},useTransition:function(){return[zm(jm)[0],Nm().memoizedState]},useMutableSource:Dm,useSyncExternalStore:Bm,useId:sg,unstable_isNewReconciler:!1},bg={readContext:Yh,useCallback:og,useContext:Yh,useEffect:Zm,useImperativeHandle:ng,useInsertionEffect:Jm,useLayoutEffect:eg,useMemo:ig,useReducer:$m,useRef:qm,useState:function(){return $m(jm)},useDebugValue:rg,useDeferredValue:function(e){var t=Nm();return null===Cm?t.memoizedState=e:ag(t,Cm.memoizedState,e)},useTransition:function(){return[$m(jm)[0],Nm().memoizedState]},useMutableSource:Dm,useSyncExternalStore:Bm,useId:sg,unstable_isNewReconciler:!1};function vg(e,t){if(e&&e.defaultProps){for(var n in t=eu({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function yg(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:eu({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var xg={isMounted:function(e){return!!(e=e._reactInternals)&&ic(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gv(),o=bv(e),i=tm(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=nm(e,i,o))&&(vv(t,e,o,r),rm(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gv(),o=bv(e),i=tm(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=nm(e,i,o))&&(vv(t,e,o,r),rm(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gv(),r=bv(e),o=tm(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=nm(e,o,r))&&(vv(t,e,r,n),rm(t,e,r))}};function Eg(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Cp(n,r)||!Cp(o,i))}function Sg(e,t,n){var r=!1,o=Hf,i=t.contextType;return"object"==typeof i&&null!==i?i=Yh(i):(o=Kf(t)?Yf:Uf.current,i=(r=null!=(r=t.contextTypes))?qf(e,o):Hf),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=xg,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function wg(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&xg.enqueueReplaceState(t,t.state,null)}function Cg(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Jh(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Yh(i):(i=Kf(t)?Yf:Uf.current,o.context=qf(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(yg(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&xg.enqueueReplaceState(o,o.state,null),im(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function kg(e,t){try{var n="",r=t;do{n+=ou(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function Rg(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function _g(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Tg="function"==typeof WeakMap?WeakMap:Map;function Ag(e,t,n){(n=tm(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){av||(av=!0,lv=r),_g(0,t)},n}function Ig(e,t,n){(n=tm(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){_g(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){_g(0,t),"function"!=typeof r&&(null===sv?sv=new Set([this]):sv.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Lg(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Tg;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Fv.bind(null,e,t,n),t.then(e,e))}function Pg(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Og(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=tm(-1,1)).tag=2,nm(n,t,1))),n.lanes|=1),e)}var Mg=zs.ReactCurrentOwner,Ng=!1;function jg(e,t,n,r){t.child=null===e?$h(t,null,n,r):zh(t,e.child,n,r)}function zg(e,t,n,r,o){n=n.render;var i=t.ref;return Vh(t,o),r=Pm(e,t,n,r,i,o),n=Om(),null===e||Ng?(Eh&&n&&bh(t),t.flags|=1,jg(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ab(e,t,o))}function $g(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||qv(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Xv(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Dg(e,t,i,r,o))}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:Cp)(a,r)&&e.ref===t.ref)return ab(e,t,o)}return t.flags|=1,(e=Kv(i,r)).ref=t.ref,e.return=t,t.child=e}function Dg(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Cp(i,r)&&e.ref===t.ref){if(Ng=!1,t.pendingProps=r=i,!(e.lanes&o))return t.lanes=e.lanes,ab(e,t,o);131072&e.flags&&(Ng=!0)}}return Wg(e,t,n,r,o)}function Bg(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Gf(Kb,qb),qb|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Gf(Kb,qb),qb|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Gf(Kb,qb),qb|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Gf(Kb,qb),qb|=r;return jg(e,t,o,n),t.child}function Fg(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wg(e,t,n,r,o){var i=Kf(n)?Yf:Uf.current;return i=qf(t,i),Vh(t,o),n=Pm(e,t,n,r,i,o),r=Om(),null===e||Ng?(Eh&&r&&bh(t),t.flags|=1,jg(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ab(e,t,o))}function Gg(e,t,n,r,o){if(Kf(n)){var i=!0;Jf(t)}else i=!1;if(Vh(t,o),null===t.stateNode)ib(e,t),Sg(t,n,r),Cg(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=Yh(u):u=qf(t,u=Kf(n)?Yf:Uf.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&wg(t,a,r,u),Zh=!1;var p=t.memoizedState;a.state=p,im(t,r,a,o),s=t.memoizedState,l!==r||p!==s||Vf.current||Zh?("function"==typeof c&&(yg(t,n,c,r),s=t.memoizedState),(l=Zh||Eg(t,n,l,r,p,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,em(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:vg(t.type,l),a.props=u,d=t.pendingProps,p=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=Yh(s):s=qf(t,s=Kf(n)?Yf:Uf.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||p!==s)&&wg(t,a,r,s),Zh=!1,p=t.memoizedState,a.state=p,im(t,r,a,o);var h=t.memoizedState;l!==d||p!==h||Vf.current||Zh?("function"==typeof f&&(yg(t,n,f,r),h=t.memoizedState),(u=Zh||Eg(t,n,u,r,p,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Hg(e,t,n,r,i,o)}function Hg(e,t,n,r,o,i){Fg(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&eh(t,n,!1),ab(e,t,i);r=t.stateNode,Mg.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=zh(t,e.child,null,i),t.child=zh(t,null,l,i)):jg(e,t,l,i),t.memoizedState=r.state,o&&eh(t,n,!0),t.child}function Ug(e){var t=e.stateNode;t.pendingContext?Qf(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Qf(0,t.context,!1),pm(e,t.containerInfo)}function Vg(e,t,n,r,o){return Ih(),Lh(o),t.flags|=256,jg(e,t,n,r),t.child}var Yg,qg,Kg,Xg,Qg={dehydrated:null,treeContext:null,retryLane:0};function Zg(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jg(e,t,n){var r,o=t.pendingProps,i=gm.current,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Gf(gm,1&i),null===e)return Rh(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,a?(o=t.mode,a=t.child,l={mode:"hidden",children:l},1&o||null===a?a=Zv(l,o,0,null):(a.childLanes=0,a.pendingProps=l),e=Qv(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Zg(n),t.memoizedState=Qg,e):eb(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,tb(e,t,a,r=Rg(Error(Ss(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Zv({mode:"visible",children:r.children},o,0,null),(i=Qv(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&zh(t,e.child,null,a),t.child.memoizedState=Zg(a),t.memoizedState=Qg,i);if(!(1&t.mode))return tb(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,tb(e,t,a,r=Rg(i=Error(Ss(419)),r,void 0))}if(l=!!(a&e.childLanes),Ng||l){if(null!==(r=Ub)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|a)?0:o)&&o!==i.retryLane&&(i.retryLane=o,Qh(e,o),vv(r,e,o,-1))}return Lv(),tb(e,t,a,r=Rg(Error(Ss(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Gv.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,xh=Rf(o.nextSibling),yh=t,Eh=!0,Sh=null,null!==e&&(ch[dh++]=fh,ch[dh++]=hh,ch[dh++]=ph,fh=e.id,hh=e.overflow,ph=t),t=eb(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,i,n);if(a){a=o.fallback,l=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 1&l||t.child===i?(o=Kv(i,s)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null),null!==r?a=Kv(r,a):(a=Qv(a,l,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,l=null===(l=e.child.memoizedState)?Zg(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~n,t.memoizedState=Qg,o}return e=(a=e.child).sibling,o=Kv(a,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function eb(e,t){return(t=Zv({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function tb(e,t,n,r){return null!==r&&Lh(r),zh(t,e.child,null,n),(e=eb(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function nb(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Uh(e.return,t,n)}function rb(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function ob(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(jg(e,t,r.children,n),2&(r=gm.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nb(e,n,t);else if(19===e.tag)nb(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Gf(gm,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===bm(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rb(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===bm(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rb(t,!0,n,null,i);break;case"together":rb(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function ib(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ab(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Zb|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(Ss(153));if(null!==t.child){for(n=Kv(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Kv(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function lb(e,t){if(!Eh)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function sb(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ub(e,t,n){var r=t.pendingProps;switch(vh(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return sb(t),null;case 1:case 17:return Kf(t.type)&&Xf(),sb(t),null;case 3:return r=t.stateNode,fm(),Wf(Vf),Wf(Uf),ym(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Th(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==Sh&&(Sv(Sh),Sh=null))),qg(e,t),sb(t),null;case 5:mm(t);var o=dm(cm.current);if(n=t.type,null!==e&&null!=t.stateNode)Kg(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(Ss(166));return sb(t),null}if(e=dm(sm.current),Th(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Af]=t,r[If]=i,e=!!(1&t.mode),n){case"dialog":tf("cancel",r),tf("close",r);break;case"iframe":case"object":case"embed":tf("load",r);break;case"video":case"audio":for(o=0;o<Qp.length;o++)tf(Qp[o],r);break;case"source":tf("error",r);break;case"img":case"image":case"link":tf("error",r),tf("load",r);break;case"details":tf("toggle",r);break;case"input":fu(r,i),tf("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},tf("invalid",r);break;case"textarea":Eu(r,i),tf("invalid",r)}for(var a in Nu(n,i),o=null,i)if(i.hasOwnProperty(a)){var l=i[a];"children"===a?"string"==typeof l?r.textContent!==l&&(!0!==i.suppressHydrationWarning&&mf(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==i.suppressHydrationWarning&&mf(r.textContent,l,e),o=["children",""+l]):Cs.hasOwnProperty(a)&&null!=l&&"onScroll"===a&&tf("scroll",r)}switch(n){case"input":uu(r),gu(r,i,!0);break;case"textarea":uu(r),wu(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=gf)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{a=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=Cu(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Af]=t,e[If]=r,Yg(e,t,!1,!1),t.stateNode=e;e:{switch(a=ju(n,r),n){case"dialog":tf("cancel",e),tf("close",e),o=r;break;case"iframe":case"object":case"embed":tf("load",e),o=r;break;case"video":case"audio":for(o=0;o<Qp.length;o++)tf(Qp[o],e);o=r;break;case"source":tf("error",e),o=r;break;case"img":case"image":case"link":tf("error",e),tf("load",e),o=r;break;case"details":tf("toggle",e),o=r;break;case"input":fu(e,r),o=pu(e,r),tf("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=eu({},r,{value:void 0}),tf("invalid",e);break;case"textarea":Eu(e,r),o=xu(e,r),tf("invalid",e)}for(i in Nu(n,o),l=o)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?Ou(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&Tu(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&Au(e,s):"number"==typeof s&&Au(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Cs.hasOwnProperty(i)?null!=s&&"onScroll"===i&&tf("scroll",e):null!=s&&js(e,i,s,a))}switch(n){case"input":uu(e),gu(e,r,!1);break;case"textarea":uu(e),wu(e);break;case"option":null!=r.value&&e.setAttribute("value",""+lu(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?yu(e,!!r.multiple,i,!1):null!=r.defaultValue&&yu(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=gf)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return sb(t),null;case 6:if(e&&null!=t.stateNode)Xg(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(Ss(166));if(n=dm(cm.current),dm(sm.current),Th(t)){if(r=t.stateNode,n=t.memoizedProps,r[Af]=t,(i=r.nodeValue!==n)&&null!==(e=yh))switch(e.tag){case 3:mf(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&mf(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Af]=t,t.stateNode=r}return sb(t),null;case 13:if(Wf(gm),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(Eh&&null!==xh&&1&t.mode&&!(128&t.flags))Ah(),Ih(),t.flags|=98560,i=!1;else if(i=Th(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(Ss(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(Ss(317));i[Af]=t}else Ih(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;sb(t),i=!1}else null!==Sh&&(Sv(Sh),Sh=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&gm.current?0===Xb&&(Xb=3):Lv())),null!==t.updateQueue&&(t.flags|=4),sb(t),null);case 4:return fm(),qg(e,t),null===e&&of(t.stateNode.containerInfo),sb(t),null;case 10:return Hh(t.type._context),sb(t),null;case 19:if(Wf(gm),null===(i=t.memoizedState))return sb(t),null;if(r=!!(128&t.flags),null===(a=i.rendering))if(r)lb(i,!1);else{if(0!==Xb||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=bm(e))){for(t.flags|=128,lb(i,!1),null!==(r=a.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Gf(gm,1&gm.current|2),t.child}e=e.sibling}null!==i.tail&&hc()>ov&&(t.flags|=128,r=!0,lb(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=bm(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),lb(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Eh)return sb(t),null}else 2*hc()-i.renderingStartTime>ov&&1073741824!==n&&(t.flags|=128,r=!0,lb(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=i.last)?n.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=hc(),t.sibling=null,n=gm.current,Gf(gm,r?1&n|2:1&n),t):(sb(t),null);case 22:case 23:return _v(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&qb)&&(sb(t),6&t.subtreeFlags&&(t.flags|=8192)):sb(t),null;case 24:case 25:return null}throw Error(Ss(156,t.tag))}function cb(e,t){switch(vh(t),t.tag){case 1:return Kf(t.type)&&Xf(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return fm(),Wf(Vf),Wf(Uf),ym(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return mm(t),null;case 13:if(Wf(gm),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(Ss(340));Ih()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Wf(gm),null;case 4:return fm(),null;case 10:return Hh(t.type._context),null;case 22:case 23:return _v(),null;default:return null}}Yg=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qg=function(){},Kg=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,dm(sm.current);var i,a=null;switch(n){case"input":o=pu(e,o),r=pu(e,r),a=[];break;case"select":o=eu({},o,{value:void 0}),r=eu({},r,{value:void 0}),a=[];break;case"textarea":o=xu(e,o),r=xu(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=gf)}for(u in Nu(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(Cs.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(Cs.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&tf("scroll",e),a||l===s||(a=[])):(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Xg=function(e,t,n,r){n!==r&&(t.flags|=4)};var db=!1,pb=!1,fb="function"==typeof WeakSet?WeakSet:Set,hb=null;function mb(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Bv(e,t,n)}else n.current=null}function gb(e,t,n){try{n()}catch(n){Bv(e,t,n)}}var bb=!1;function vb(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&gb(t,n,i)}o=o.next}while(o!==r)}}function yb(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function xb(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function Eb(e){var t=e.alternate;null!==t&&(e.alternate=null,Eb(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Af],delete t[If],delete t[Pf],delete t[Of],delete t[Mf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Sb(e){return 5===e.tag||3===e.tag||4===e.tag}function wb(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Sb(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Cb(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=gf));else if(4!==r&&null!==(e=e.child))for(Cb(e,t,n),e=e.sibling;null!==e;)Cb(e,t,n),e=e.sibling}function kb(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(kb(e,t,n),e=e.sibling;null!==e;)kb(e,t,n),e=e.sibling}var Rb=null,_b=!1;function Tb(e,t,n){for(n=n.child;null!==n;)Ab(e,t,n),n=n.sibling}function Ab(e,t,n){if(Sc&&"function"==typeof Sc.onCommitFiberUnmount)try{Sc.onCommitFiberUnmount(Ec,n)}catch(e){}switch(n.tag){case 5:pb||mb(n,t);case 6:var r=Rb,o=_b;Rb=null,Tb(e,t,n),_b=o,null!==(Rb=r)&&(_b?(e=Rb,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):Rb.removeChild(n.stateNode));break;case 18:null!==Rb&&(_b?(e=Rb,n=n.stateNode,8===e.nodeType?kf(e.parentNode,n):1===e.nodeType&&kf(e,n),id(e)):kf(Rb,n.stateNode));break;case 4:r=Rb,o=_b,Rb=n.stateNode.containerInfo,_b=!0,Tb(e,t,n),Rb=r,_b=o;break;case 0:case 11:case 14:case 15:if(!pb&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&gb(n,t,a),o=o.next}while(o!==r)}Tb(e,t,n);break;case 1:if(!pb&&(mb(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Bv(n,t,e)}Tb(e,t,n);break;case 21:Tb(e,t,n);break;case 22:1&n.mode?(pb=(r=pb)||null!==n.memoizedState,Tb(e,t,n),pb=r):Tb(e,t,n);break;default:Tb(e,t,n)}}function Ib(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new fb),t.forEach((function(t){var r=Hv.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Lb(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 5:Rb=l.stateNode,_b=!1;break e;case 3:case 4:Rb=l.stateNode.containerInfo,_b=!0;break e}l=l.return}if(null===Rb)throw Error(Ss(160));Ab(i,a,o),Rb=null,_b=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){Bv(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Pb(t,e),t=t.sibling}function Pb(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Lb(t,e),Ob(e),4&r){try{vb(3,e,e.return),yb(3,e)}catch(t){Bv(e,e.return,t)}try{vb(5,e,e.return)}catch(t){Bv(e,e.return,t)}}break;case 1:Lb(t,e),Ob(e),512&r&&null!==n&&mb(n,n.return);break;case 5:if(Lb(t,e),Ob(e),512&r&&null!==n&&mb(n,n.return),32&e.flags){var o=e.stateNode;try{Au(o,"")}catch(t){Bv(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,a=null!==n?n.memoizedProps:i,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===i.type&&null!=i.name&&hu(o,i),ju(l,a);var u=ju(l,i);for(a=0;a<s.length;a+=2){var c=s[a],d=s[a+1];"style"===c?Ou(o,d):"dangerouslySetInnerHTML"===c?Tu(o,d):"children"===c?Au(o,d):js(o,c,d,u)}switch(l){case"input":mu(o,i);break;case"textarea":Su(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;null!=f?yu(o,!!i.multiple,f,!1):p!==!!i.multiple&&(null!=i.defaultValue?yu(o,!!i.multiple,i.defaultValue,!0):yu(o,!!i.multiple,i.multiple?[]:"",!1))}o[If]=i}catch(t){Bv(e,e.return,t)}}break;case 6:if(Lb(t,e),Ob(e),4&r){if(null===e.stateNode)throw Error(Ss(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){Bv(e,e.return,t)}}break;case 3:if(Lb(t,e),Ob(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{id(t.containerInfo)}catch(t){Bv(e,e.return,t)}break;case 4:default:Lb(t,e),Ob(e);break;case 13:Lb(t,e),Ob(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(rv=hc())),4&r&&Ib(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(pb=(u=pb)||c,Lb(t,e),pb=u):Lb(t,e),Ob(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&1&e.mode)for(hb=e,c=e.child;null!==c;){for(d=hb=c;null!==hb;){switch(f=(p=hb).child,p.tag){case 0:case 11:case 14:case 15:vb(4,p,p.return);break;case 1:mb(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Bv(r,n,e)}}break;case 5:mb(p,p.return);break;case 22:if(null!==p.memoizedState){zb(d);continue}}null!==f?(f.return=p,hb=f):zb(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{o=d.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=d.stateNode,a=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=Pu("display",a))}catch(t){Bv(e,e.return,t)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(t){Bv(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Lb(t,e),Ob(e),4&r&&Ib(e);case 21:}}function Ob(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Sb(n)){var r=n;break e}n=n.return}throw Error(Ss(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(Au(o,""),r.flags&=-33),kb(e,wb(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;Cb(e,wb(e),i);break;default:throw Error(Ss(161))}}catch(t){Bv(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Mb(e,t,n){hb=e,Nb(e)}function Nb(e,t,n){for(var r=!!(1&e.mode);null!==hb;){var o=hb,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||db;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||pb;l=db;var u=pb;if(db=a,(pb=s)&&!u)for(hb=o;null!==hb;)s=(a=hb).child,22===a.tag&&null!==a.memoizedState?$b(o):null!==s?(s.return=a,hb=s):$b(o);for(;null!==i;)hb=i,Nb(i),i=i.sibling;hb=o,db=l,pb=u}jb(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,hb=i):jb(e)}}function jb(e){for(;null!==hb;){var t=hb;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:pb||yb(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!pb)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:vg(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&am(t,i,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}am(t,a,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var d=c.dehydrated;null!==d&&id(d)}}}break;default:throw Error(Ss(163))}pb||512&t.flags&&xb(t)}catch(e){Bv(t,t.return,e)}}if(t===e){hb=null;break}if(null!==(n=t.sibling)){n.return=t.return,hb=n;break}hb=t.return}}function zb(e){for(;null!==hb;){var t=hb;if(t===e){hb=null;break}var n=t.sibling;if(null!==n){n.return=t.return,hb=n;break}hb=t.return}}function $b(e){for(;null!==hb;){var t=hb;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{yb(4,t)}catch(e){Bv(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Bv(t,o,e)}}var i=t.return;try{xb(t)}catch(e){Bv(t,i,e)}break;case 5:var a=t.return;try{xb(t)}catch(e){Bv(t,a,e)}}}catch(e){Bv(t,t.return,e)}if(t===e){hb=null;break}var l=t.sibling;if(null!==l){l.return=t.return,hb=l;break}hb=t.return}}var Db,Bb=Math.ceil,Fb=zs.ReactCurrentDispatcher,Wb=zs.ReactCurrentOwner,Gb=zs.ReactCurrentBatchConfig,Hb=0,Ub=null,Vb=null,Yb=0,qb=0,Kb=Ff(0),Xb=0,Qb=null,Zb=0,Jb=0,ev=0,tv=null,nv=null,rv=0,ov=1/0,iv=null,av=!1,lv=null,sv=null,uv=!1,cv=null,dv=0,pv=0,fv=null,hv=-1,mv=0;function gv(){return 6&Hb?hc():-1!==hv?hv:hv=hc()}function bv(e){return 1&e.mode?2&Hb&&0!==Yb?Yb&-Yb:null!==Ph.transition?(0===mv&&(mv=Pc()),mv):0!==(e=jc)?e:e=void 0===(e=window.event)?16:fd(e.type):1}function vv(e,t,n,r){if(50<pv)throw pv=0,fv=null,Error(Ss(185));Mc(e,n,r),2&Hb&&e===Ub||(e===Ub&&(!(2&Hb)&&(Jb|=n),4===Xb&&wv(e,Yb)),yv(e,r),1===n&&0===Hb&&!(1&t.mode)&&(ov=hc()+500,nh&&ih()))}function yv(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-wc(i),l=1<<a,s=o[a];-1===s?l&n&&!(l&r)||(o[a]=Ic(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=Ac(e,e===Ub?Yb:0);if(0===r)null!==n&&dc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&dc(n),1===t)0===e.tag?function(e){nh=!0,oh(e)}(Cv.bind(null,e)):oh(Cv.bind(null,e)),wf((function(){!(6&Hb)&&ih()})),n=null;else{switch(zc(r)){case 1:n=gc;break;case 4:n=bc;break;case 16:default:n=vc;break;case 536870912:n=xc}n=Uv(n,xv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function xv(e,t){if(hv=-1,mv=0,6&Hb)throw Error(Ss(327));var n=e.callbackNode;if($v()&&e.callbackNode!==n)return null;var r=Ac(e,e===Ub?Yb:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=Pv(e,r);else{t=r;var o=Hb;Hb|=2;var i=Iv();for(Ub===e&&Yb===t||(iv=null,ov=hc()+500,Tv(e,t));;)try{Mv();break}catch(t){Av(e,t)}Gh(),Fb.current=i,Hb=o,null!==Vb?t=0:(Ub=null,Yb=0,t=Xb)}if(0!==t){if(2===t&&(0!==(o=Lc(e))&&(r=o,t=Ev(e,o))),1===t)throw n=Qb,Tv(e,0),wv(e,r),yv(e,hc()),n;if(6===t)wv(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!wp(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=Pv(e,r),2===t&&(i=Lc(e),0!==i&&(r=i,t=Ev(e,i))),1!==t)))throw n=Qb,Tv(e,0),wv(e,r),yv(e,hc()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(Ss(345));case 2:case 5:zv(e,nv,iv);break;case 3:if(wv(e,r),(130023424&r)===r&&10<(t=rv+500-hc())){if(0!==Ac(e,0))break;if(((o=e.suspendedLanes)&r)!==r){gv(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=xf(zv.bind(null,e,nv,iv),t);break}zv(e,nv,iv);break;case 4:if(wv(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-wc(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=hc()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Bb(r/1960))-r)){e.timeoutHandle=xf(zv.bind(null,e,nv,iv),r);break}zv(e,nv,iv);break;default:throw Error(Ss(329))}}}return yv(e,hc()),e.callbackNode===n?xv.bind(null,e):null}function Ev(e,t){var n=tv;return e.current.memoizedState.isDehydrated&&(Tv(e,t).flags|=256),2!==(e=Pv(e,t))&&(t=nv,nv=n,null!==t&&Sv(t)),e}function Sv(e){null===nv?nv=e:nv.push.apply(nv,e)}function wv(e,t){for(t&=~ev,t&=~Jb,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-wc(t),r=1<<n;e[n]=-1,t&=~r}}function Cv(e){if(6&Hb)throw Error(Ss(327));$v();var t=Ac(e,0);if(!(1&t))return yv(e,hc()),null;var n=Pv(e,t);if(0!==e.tag&&2===n){var r=Lc(e);0!==r&&(t=r,n=Ev(e,r))}if(1===n)throw n=Qb,Tv(e,0),wv(e,t),yv(e,hc()),n;if(6===n)throw Error(Ss(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,zv(e,nv,iv),yv(e,hc()),null}function kv(e,t){var n=Hb;Hb|=1;try{return e(t)}finally{0===(Hb=n)&&(ov=hc()+500,nh&&ih())}}function Rv(e){null!==cv&&0===cv.tag&&!(6&Hb)&&$v();var t=Hb;Hb|=1;var n=Gb.transition,r=jc;try{if(Gb.transition=null,jc=1,e)return e()}finally{jc=r,Gb.transition=n,!(6&(Hb=t))&&ih()}}function _v(){qb=Kb.current,Wf(Kb)}function Tv(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ef(n)),null!==Vb)for(n=Vb.return;null!==n;){var r=n;switch(vh(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Xf();break;case 3:fm(),Wf(Vf),Wf(Uf),ym();break;case 5:mm(r);break;case 4:fm();break;case 13:case 19:Wf(gm);break;case 10:Hh(r.type._context);break;case 22:case 23:_v()}n=n.return}if(Ub=e,Vb=e=Kv(e.current,null),Yb=qb=t,Xb=0,Qb=null,ev=Jb=Zb=0,nv=tv=null,null!==qh){for(t=0;t<qh.length;t++)if(null!==(r=(n=qh[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}qh=null}return e}function Av(e,t){for(;;){var n=Vb;try{if(Gh(),xm.current=hg,Rm){for(var r=wm.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Rm=!1}if(Sm=0,km=Cm=wm=null,_m=!1,Tm=0,Wb.current=null,null===n||null===n.return){Xb=1,Qb=t,Vb=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Yb,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,d=c.tag;if(!(1&c.mode||0!==d&&11!==d&&15!==d)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=Pg(a);if(null!==f){f.flags&=-257,Og(f,a,l,0,t),1&f.mode&&Lg(i,u,t),s=u;var h=(t=f).updateQueue;if(null===h){var m=new Set;m.add(s),t.updateQueue=m}else h.add(s);break e}if(!(1&t)){Lg(i,u,t),Lv();break e}s=Error(Ss(426))}else if(Eh&&1&l.mode){var g=Pg(a);if(null!==g){!(65536&g.flags)&&(g.flags|=256),Og(g,a,l,0,t),Lh(kg(s,l));break e}}i=s=kg(s,l),4!==Xb&&(Xb=2),null===tv?tv=[i]:tv.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,om(i,Ag(0,s,t));break e;case 1:l=s;var b=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof b.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==sv&&sv.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,om(i,Ig(i,l,t));break e}}i=i.return}while(null!==i)}jv(n)}catch(e){t=e,Vb===n&&null!==n&&(Vb=n=n.return);continue}break}}function Iv(){var e=Fb.current;return Fb.current=hg,null===e?hg:e}function Lv(){0!==Xb&&3!==Xb&&2!==Xb||(Xb=4),null===Ub||!(268435455&Zb)&&!(268435455&Jb)||wv(Ub,Yb)}function Pv(e,t){var n=Hb;Hb|=2;var r=Iv();for(Ub===e&&Yb===t||(iv=null,Tv(e,t));;)try{Ov();break}catch(t){Av(e,t)}if(Gh(),Hb=n,Fb.current=r,null!==Vb)throw Error(Ss(261));return Ub=null,Yb=0,Xb}function Ov(){for(;null!==Vb;)Nv(Vb)}function Mv(){for(;null!==Vb&&!pc();)Nv(Vb)}function Nv(e){var t=Db(e.alternate,e,qb);e.memoizedProps=e.pendingProps,null===t?jv(e):Vb=t,Wb.current=null}function jv(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=cb(n,t)))return n.flags&=32767,void(Vb=n);if(null===e)return Xb=6,void(Vb=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=ub(n,t,qb)))return void(Vb=n);if(null!==(t=t.sibling))return void(Vb=t);Vb=t=e}while(null!==t);0===Xb&&(Xb=5)}function zv(e,t,n){var r=jc,o=Gb.transition;try{Gb.transition=null,jc=1,function(e,t,n,r){do{$v()}while(null!==cv);if(6&Hb)throw Error(Ss(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Ss(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-wc(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===Ub&&(Vb=Ub=null,Yb=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||uv||(uv=!0,Uv(vc,(function(){return $v(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=Gb.transition,Gb.transition=null;var a=jc;jc=1;var l=Hb;Hb|=4,Wb.current=null,function(e,t){if(bf=ld,Ap(e=Tp())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==o&&3!==d.nodeType||(l=a+o),d!==i||0!==r&&3!==d.nodeType||(s=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++u===o&&(l=a),p===i&&++c===r&&(s=a),null!==(f=d.nextSibling))break;p=(d=p).parentNode}d=f}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(vf={focusedElem:e,selectionRange:n},ld=!1,hb=t;null!==hb;)if(e=(t=hb).child,1028&t.subtreeFlags&&null!==e)e.return=t,hb=e;else for(;null!==hb;){t=hb;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,g=h.memoizedState,b=t.stateNode,v=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:vg(t.type,m),g);b.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(Ss(163))}}catch(e){Bv(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,hb=e;break}hb=t.return}h=bb,bb=!1}(e,n),Pb(n,e),Ip(vf),ld=!!bf,vf=bf=null,e.current=n,Mb(n),fc(),Hb=l,jc=a,Gb.transition=i}else e.current=n;if(uv&&(uv=!1,cv=e,dv=o),i=e.pendingLanes,0===i&&(sv=null),function(e){if(Sc&&"function"==typeof Sc.onCommitFiberRoot)try{Sc.onCommitFiberRoot(Ec,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),yv(e,hc()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(av)throw av=!1,e=lv,lv=null,e;!!(1&dv)&&0!==e.tag&&$v(),i=e.pendingLanes,1&i?e===fv?pv++:(pv=0,fv=e):pv=0,ih()}(e,t,n,r)}finally{Gb.transition=o,jc=r}return null}function $v(){if(null!==cv){var e=zc(dv),t=Gb.transition,n=jc;try{if(Gb.transition=null,jc=16>e?16:e,null===cv)var r=!1;else{if(e=cv,cv=null,dv=0,6&Hb)throw Error(Ss(331));var o=Hb;for(Hb|=4,hb=e.current;null!==hb;){var i=hb,a=i.child;if(16&hb.flags){var l=i.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(hb=u;null!==hb;){var c=hb;switch(c.tag){case 0:case 11:case 15:vb(8,c,i)}var d=c.child;if(null!==d)d.return=c,hb=d;else for(;null!==hb;){var p=(c=hb).sibling,f=c.return;if(Eb(c),c===u){hb=null;break}if(null!==p){p.return=f,hb=p;break}hb=f}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}hb=i}}if(2064&i.subtreeFlags&&null!==a)a.return=i,hb=a;else e:for(;null!==hb;){if(2048&(i=hb).flags)switch(i.tag){case 0:case 11:case 15:vb(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,hb=b;break e}hb=i.return}}var v=e.current;for(hb=v;null!==hb;){var y=(a=hb).child;if(2064&a.subtreeFlags&&null!==y)y.return=a,hb=y;else e:for(a=v;null!==hb;){if(2048&(l=hb).flags)try{switch(l.tag){case 0:case 11:case 15:yb(9,l)}}catch(e){Bv(l,l.return,e)}if(l===a){hb=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,hb=x;break e}hb=l.return}}if(Hb=o,ih(),Sc&&"function"==typeof Sc.onPostCommitFiberRoot)try{Sc.onPostCommitFiberRoot(Ec,e)}catch(e){}r=!0}return r}finally{jc=n,Gb.transition=t}}return!1}function Dv(e,t,n){e=nm(e,t=Ag(0,t=kg(n,t),1),1),t=gv(),null!==e&&(Mc(e,1,t),yv(e,t))}function Bv(e,t,n){if(3===e.tag)Dv(e,e,n);else for(;null!==t;){if(3===t.tag){Dv(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sv||!sv.has(r))){t=nm(t,e=Ig(t,e=kg(n,e),1),1),e=gv(),null!==t&&(Mc(t,1,e),yv(t,e));break}}t=t.return}}function Fv(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=gv(),e.pingedLanes|=e.suspendedLanes&n,Ub===e&&(Yb&n)===n&&(4===Xb||3===Xb&&(130023424&Yb)===Yb&&500>hc()-rv?Tv(e,0):ev|=n),yv(e,t)}function Wv(e,t){0===t&&(1&e.mode?(t=_c,!(130023424&(_c<<=1))&&(_c=4194304)):t=1);var n=gv();null!==(e=Qh(e,t))&&(Mc(e,t,n),yv(e,n))}function Gv(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Wv(e,n)}function Hv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Ss(314))}null!==r&&r.delete(t),Wv(e,n)}function Uv(e,t){return cc(e,t)}function Vv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yv(e,t,n,r){return new Vv(e,t,n,r)}function qv(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Kv(e,t){var n=e.alternate;return null===n?((n=Yv(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xv(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)qv(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Bs:return Qv(n.children,o,i,t);case Fs:a=8,o|=8;break;case Ws:return(e=Yv(12,n,t,2|o)).elementType=Ws,e.lanes=i,e;case Vs:return(e=Yv(13,n,t,o)).elementType=Vs,e.lanes=i,e;case Ys:return(e=Yv(19,n,t,o)).elementType=Ys,e.lanes=i,e;case Xs:return Zv(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Gs:a=10;break e;case Hs:a=9;break e;case Us:a=11;break e;case qs:a=14;break e;case Ks:a=16,r=null;break e}throw Error(Ss(130,null==e?e:typeof e,""))}return(t=Yv(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Qv(e,t,n,r){return(e=Yv(7,e,r,t)).lanes=n,e}function Zv(e,t,n,r){return(e=Yv(22,e,r,t)).elementType=Xs,e.lanes=n,e.stateNode={isHidden:!1},e}function Jv(e,t,n){return(e=Yv(6,e,null,t)).lanes=n,e}function ey(e,t,n){return(t=Yv(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ty(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Oc(0),this.expirationTimes=Oc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oc(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ny(e,t,n,r,o,i,a,l,s){return e=new ty(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Yv(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jh(i),e}function ry(e){if(!e)return Hf;e:{if(ic(e=e._reactInternals)!==e||1!==e.tag)throw Error(Ss(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Kf(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(Ss(171))}if(1===e.tag){var n=e.type;if(Kf(n))return Zf(e,n,t)}return t}function oy(e,t,n,r,o,i,a,l,s){return(e=ny(n,r,!0,e,0,i,0,l,s)).context=ry(null),n=e.current,(i=tm(r=gv(),o=bv(n))).callback=null!=t?t:null,nm(n,i,o),e.current.lanes=o,Mc(e,o,r),yv(e,r),e}function iy(e,t,n,r){var o=t.current,i=gv(),a=bv(o);return n=ry(n),null===t.context?t.context=n:t.pendingContext=n,(t=tm(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=nm(o,t,a))&&(vv(e,o,a,i),rm(e,o,a)),a}function ay(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ly(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function sy(e,t){ly(e,t),(e=e.alternate)&&ly(e,t)}Db=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Vf.current)Ng=!0;else{if(!(e.lanes&n||128&t.flags))return Ng=!1,function(e,t,n){switch(t.tag){case 3:Ug(t),Ih();break;case 5:hm(t);break;case 1:Kf(t.type)&&Jf(t);break;case 4:pm(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Gf(Dh,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Gf(gm,1&gm.current),t.flags|=128,null):n&t.child.childLanes?Jg(e,t,n):(Gf(gm,1&gm.current),null!==(e=ab(e,t,n))?e.sibling:null);Gf(gm,1&gm.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return ob(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Gf(gm,gm.current),r)break;return null;case 22:case 23:return t.lanes=0,Bg(e,t,n)}return ab(e,t,n)}(e,t,n);Ng=!!(131072&e.flags)}else Ng=!1,Eh&&1048576&t.flags&&gh(t,uh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ib(e,t),e=t.pendingProps;var o=qf(t,Uf.current);Vh(t,n),o=Pm(null,t,r,e,o,n);var i=Om();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Kf(r)?(i=!0,Jf(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Jh(t),o.updater=xg,t.stateNode=o,o._reactInternals=t,Cg(t,r,e,n),t=Hg(null,t,r,!0,i,n)):(t.tag=0,Eh&&i&&bh(t),jg(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ib(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return qv(e)?1:0;if(null!=e){if((e=e.$$typeof)===Us)return 11;if(e===qs)return 14}return 2}(r),e=vg(r,e),o){case 0:t=Wg(null,t,r,e,n);break e;case 1:t=Gg(null,t,r,e,n);break e;case 11:t=zg(null,t,r,e,n);break e;case 14:t=$g(null,t,r,vg(r.type,e),n);break e}throw Error(Ss(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Wg(e,t,r,o=t.elementType===r?o:vg(r,o),n);case 1:return r=t.type,o=t.pendingProps,Gg(e,t,r,o=t.elementType===r?o:vg(r,o),n);case 3:e:{if(Ug(t),null===e)throw Error(Ss(387));r=t.pendingProps,o=(i=t.memoizedState).element,em(e,t),im(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Vg(e,t,r,n,o=kg(Error(Ss(423)),t));break e}if(r!==o){t=Vg(e,t,r,n,o=kg(Error(Ss(424)),t));break e}for(xh=Rf(t.stateNode.containerInfo.firstChild),yh=t,Eh=!0,Sh=null,n=$h(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Ih(),r===o){t=ab(e,t,n);break e}jg(e,t,r,n)}t=t.child}return t;case 5:return hm(t),null===e&&Rh(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,yf(r,o)?a=null:null!==i&&yf(r,i)&&(t.flags|=32),Fg(e,t),jg(e,t,a,n),t.child;case 6:return null===e&&Rh(t),null;case 13:return Jg(e,t,n);case 4:return pm(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=zh(t,null,r,n):jg(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,zg(e,t,r,o=t.elementType===r?o:vg(r,o),n);case 7:return jg(e,t,t.pendingProps,n),t.child;case 8:case 12:return jg(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Gf(Dh,r._currentValue),r._currentValue=a,null!==i)if(wp(i.value,a)){if(i.children===o.children&&!Vf.current){t=ab(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){a=i.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=tm(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Uh(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===i.tag)a=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(a=i.return))throw Error(Ss(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Uh(a,n,t),a=i.sibling}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===t){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}jg(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Vh(t,n),r=r(o=Yh(o)),t.flags|=1,jg(e,t,r,n),t.child;case 14:return o=vg(r=t.type,t.pendingProps),$g(e,t,r,o=vg(r.type,o),n);case 15:return Dg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vg(r,o),ib(e,t),t.tag=1,Kf(r)?(e=!0,Jf(t)):e=!1,Vh(t,n),Sg(t,r,o),Cg(t,r,o,n),Hg(null,t,r,!0,e,n);case 19:return ob(e,t,n);case 22:return Bg(e,t,n)}throw Error(Ss(156,t.tag))};var uy="function"==typeof reportError?reportError:function(e){console.error(e)};function cy(e){this._internalRoot=e}function dy(e){this._internalRoot=e}function py(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function fy(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function hy(){}function my(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=ay(a);l.call(e)}}iy(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=ay(a);i.call(e)}}var a=oy(t,r,e,0,null,!1,0,"",hy);return e._reactRootContainer=a,e[Lf]=a.current,of(8===e.nodeType?e.parentNode:e),Rv(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=ay(s);l.call(e)}}var s=ny(e,0,!1,null,0,!1,0,"",hy);return e._reactRootContainer=s,e[Lf]=s.current,of(8===e.nodeType?e.parentNode:e),Rv((function(){iy(t,s,n,r)})),s}(n,t,e,o,r);return ay(a)}dy.prototype.render=cy.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(Ss(409));iy(e,t,null,null)},dy.prototype.unmount=cy.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Rv((function(){iy(null,e,null,null)})),t[Lf]=null}},dy.prototype.unstable_scheduleHydration=function(e){if(e){var t=Fc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Xc.length&&0!==t&&t<Xc[n].priority;n++);Xc.splice(n,0,e),0===n&&ed(e)}},$c=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Tc(t.pendingLanes);0!==n&&(Nc(t,1|n),yv(t,hc()),!(6&Hb)&&(ov=hc()+500,ih()))}break;case 13:Rv((function(){var t=Qh(e,1);if(null!==t){var n=gv();vv(t,e,1,n)}})),sy(e,1)}},Dc=function(e){if(13===e.tag){var t=Qh(e,134217728);if(null!==t)vv(t,e,134217728,gv());sy(e,134217728)}},Bc=function(e){if(13===e.tag){var t=bv(e),n=Qh(e,t);if(null!==n)vv(n,e,t,gv());sy(e,t)}},Fc=function(){return jc},Wc=function(e,t){var n=jc;try{return jc=e,t()}finally{jc=n}},Du=function(e,t,n){switch(t){case"input":if(mu(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=$f(r);if(!o)throw Error(Ss(90));cu(r),mu(r,o)}}}break;case"textarea":Su(e,n);break;case"select":null!=(t=n.value)&&yu(e,!!n.multiple,t,!1)}},Uu=kv,Vu=Rv;var gy={usingClientEntryPoint:!1,Events:[jf,zf,$f,Gu,Hu,kv]},by={findFiberByHostInstance:Nf,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},vy={bundleType:by.bundleType,version:by.version,rendererPackageName:by.rendererPackageName,rendererConfig:by.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:zs.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=sc(e))?null:e.stateNode},findFiberByHostInstance:by.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var yy=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yy.isDisabled&&yy.supportsFiber)try{Ec=yy.inject(vy),Sc=yy}catch(_u){}}gs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gy,gs.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!py(t))throw Error(Ss(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ds,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},gs.createRoot=function(e,t){if(!py(e))throw Error(Ss(299));var n=!1,r="",o=uy;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=ny(e,1,!1,null,0,n,0,r,o),e[Lf]=t.current,of(8===e.nodeType?e.parentNode:e),new cy(t)},gs.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(Ss(188));throw e=Object.keys(e).join(","),Error(Ss(268,e))}return e=null===(e=sc(t))?null:e.stateNode},gs.flushSync=function(e){return Rv(e)},gs.hydrate=function(e,t,n){if(!fy(t))throw Error(Ss(200));return my(null,e,t,!0,n)},gs.hydrateRoot=function(e,t,n){if(!py(e))throw Error(Ss(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=uy;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=oy(t,null,e,1,null!=n?n:null,o,0,i,a),e[Lf]=t.current,of(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new dy(t)},gs.render=function(e,t,n){if(!fy(t))throw Error(Ss(200));return my(null,e,t,!1,n)},gs.unmountComponentAtNode=function(e){if(!fy(e))throw Error(Ss(40));return!!e._reactRootContainer&&(Rv((function(){my(null,null,e,!1,(function(){e._reactRootContainer=null,e[Lf]=null}))})),!0)},gs.unstable_batchedUpdates=kv,gs.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!fy(n))throw Error(Ss(200));if(null==e||void 0===e._reactInternals)throw Error(Ss(38));return my(e,t,n,!1,r)},gs.version="18.3.1-next-f1338f8080-20240426",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),ms.exports=gs;var xy=ms.exports,Ey=u(xy),Sy=!1,wy=q.createContext(null),Cy=function(e){return e.scrollTop},ky="unmounted",Ry="exited",_y="entering",Ty="entered",Ay="exiting",Iy=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=Ry,r.appearStatus=_y):o=Ty:o=t.unmountOnExit||t.mountOnEnter?ky:Ry,r.state={status:o},r.nextCallback=null,r}fs(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===ky?{status:Ry}: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!==_y&&n!==Ty&&(t=_y):n!==_y&&n!==Ty||(t=Ay)}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===_y){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Ey.findDOMNode(this);n&&Cy(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ry&&this.setState({status:ky})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Ey.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Sy?this.safeSetState({status:Ty},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:_y},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Ty},(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:Ey.findDOMNode(this);t&&!Sy?(this.props.onExit(r),this.safeSetState({status:Ay},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Ry},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Ry},(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:Ey.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===ky)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=s(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return q.createElement(wy.Provider,{value:null},"function"==typeof n?n(e,r):q.cloneElement(q.Children.only(n),r))},t}(q.Component);function Ly(){}Iy.contextType=wy,Iy.propTypes={},Iy.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ly,onEntering:Ly,onEntered:Ly,onExit:Ly,onExiting:Ly,onExited:Ly},Iy.UNMOUNTED=ky,Iy.EXITED=Ry,Iy.ENTERING=_y,Iy.ENTERED=Ty,Iy.EXITING=Ay;var Py=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},Oy=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=hs(n.className,r):n.setAttribute("class",hs(n.className&&n.className.baseVal||"",r)));var n,r}))},My=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}fs(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&Cy(e),r&&(this.appliedClasses[t][n]=r,Py(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&Oy(e,r),o&&Oy(e,o),i&&Oy(e,i)},n.render=function(){var e=this.props;e.classNames;var t=s(e,["classNames"]);return q.createElement(Iy,l({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(q.Component);function Ny(e,t){var n=Object.create(null);return e&&Y.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Y.isValidElement(e)?t(e):e}(e)})),n}function jy(e,t,n){return null!=n[t]?n[t]:e.props[t]}function zy(e,t,n){var r=Ny(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 l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(Y.isValidElement(a)){var l=i in t,s=i in r,u=t[i],c=Y.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&Y.isValidElement(u)&&(o[i]=Y.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:jy(a,"exit",e),enter:jy(a,"enter",e)})):o[i]=Y.cloneElement(a,{in:!1}):o[i]=Y.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:jy(a,"exit",e),enter:jy(a,"enter",e)})}})),o}My.defaultProps={classNames:""},My.propTypes={};var $y=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Dy=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}fs(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,Ny(n.children,(function(e){return Y.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:jy(e,"appear",n),enter:jy(e,"enter",n),exit:jy(e,"exit",n)})}))):zy(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Ny(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=l({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=s(e,["component","childFactory"]),o=this.state.contextValue,i=$y(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?q.createElement(wy.Provider,{value:o},i):q.createElement(wy.Provider,{value:o},q.createElement(t,r,i))},t}(q.Component);Dy.propTypes={},Dy.defaultProps={component:"div",childFactory:function(e){return e}};var By,Fy,Wy=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}fs(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=q.Children.toArray(o)[t];if(i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]){var a=i.props.nodeRef?void 0:Ey.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=s(e,["children","in"]),o=q.Children.toArray(t),i=o[0],a=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,q.createElement(Dy,r,n?q.cloneElement(i,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):q.cloneElement(a,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(q.Component);Wy.propTypes={};var Gy="out-in",Hy="in-out",Uy=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},Vy=((By={})[Gy]=function(e){var t=e.current,n=e.changeState;return q.cloneElement(t,{in:!1,onExited:Uy(t,"onExited",(function(){n(_y,null)}))})},By[Hy]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,q.cloneElement(r,{in:!0,onEntered:Uy(r,"onEntered",(function(){n(_y)}))})]},By),Yy=((Fy={})[Gy]=function(e){var t=e.children,n=e.changeState;return q.cloneElement(t,{in:!0,onEntered:Uy(t,"onEntered",(function(){n(Ty,q.cloneElement(t,{in:!0}))}))})},Fy[Hy]=function(e){var t=e.current,n=e.children,r=e.changeState;return[q.cloneElement(t,{in:!1,onExited:Uy(t,"onExited",(function(){r(Ty,q.cloneElement(n,{in:!0}))}))}),q.cloneElement(n,{in:!0})]},Fy),qy=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:Ty,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}fs(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===_y&&e.mode===Hy?{status:_y}:!t.current||(n=t.current,r=e.children,n===r||q.isValidElement(n)&&q.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:q.cloneElement(e.children,{in:!0})}:{status:Ay};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,i=o.status,a=o.current,l={children:n,current:a,changeState:this.changeState,status:i};switch(i){case _y:e=Yy[r](l);break;case Ay:e=Vy[r](l);break;case Ty:e=a}return q.createElement(wy.Provider,{value:{isMounting:!this.appeared}},e)},t}(q.Component);qy.propTypes={},qy.defaultProps={mode:Gy};const Ky=e=>e.scrollTop;function Xy(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 Qy(e){return Or("MuiPaper",e)}Mr("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 Zy=["className","component","elevation","square","variant"],Jy=Ul("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 l({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&&l({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Zi("#fff",ql(t.elevation))}, ${Zi("#fff",ql(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),ex=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:u="elevation"}=n,c=s(n,Zy),d=l({},n,{component:o,elevation:i,square:a,variant:u}),p=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return qo({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Qy,o)})(d);return Ot.jsx(Jy,l({as:o,ownerState:d,className:Ar(p.root,r),ref:t},c))}));const tx=Mr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),nx=["center","classes","className"];let rx,ox,ix,ax,lx=e=>e;const sx=pt(rx||(rx=lx`
34
34
  0% {
35
35
  transform: scale(0);
36
36
  opacity: 0.1;
@@ -40,7 +40,7 @@
40
40
  transform: scale(1);
41
41
  opacity: 0.3;
42
42
  }
43
- `)),uy=tn(oy||(oy=ly`
43
+ `)),ux=pt(ox||(ox=lx`
44
44
  0% {
45
45
  opacity: 1;
46
46
  }
@@ -48,7 +48,7 @@
48
48
  100% {
49
49
  opacity: 0;
50
50
  }
51
- `)),cy=tn(iy||(iy=ly`
51
+ `)),cx=pt(ix||(ix=lx`
52
52
  0% {
53
53
  transform: scale(1);
54
54
  }
@@ -60,7 +60,7 @@
60
60
  100% {
61
61
  transform: scale(1);
62
62
  }
63
- `)),dy=gl("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),py=gl((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:u}=e,[c,d]=Y.useState(!1),p=Ur(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Ur(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),Y.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),yn.jsx("span",{className:p,style:f,children:yn.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(ay||(ay=ly`
63
+ `)),dx=Ul("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),px=Ul((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:u}=e,[c,d]=Y.useState(!1),p=Ar(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Ar(n.child,c&&n.childLeaving,r&&n.childPulsate);return l||c||d(!0),Y.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,u);return()=>{clearTimeout(e)}}}),[s,l,u]),Ot.jsx("span",{className:p,style:f,children:Ot.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(ax||(ax=lx`
64
64
  opacity: 0;
65
65
  position: absolute;
66
66
 
@@ -103,6 +103,6 @@
103
103
  animation-iteration-count: infinite;
104
104
  animation-delay: 200ms;
105
105
  }
106
- `),ty.rippleVisible,sy,550,(({theme:e})=>e.transitions.easing.easeInOut),ty.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),ty.child,ty.childLeaving,uy,550,(({theme:e})=>e.transitions.easing.easeInOut),ty.childPulsate,cy,(({theme:e})=>e.transitions.easing.easeInOut)),fy=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=s(n,ny),[u,c]=Y.useState([]),d=Y.useRef(0),p=Y.useRef(null);Y.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[u]);const f=Y.useRef(!1),h=Mo(),m=Y.useRef(null),g=Y.useRef(null),b=Y.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;c((e=>[...e,yn.jsx(py,{classes:{ripple:Ur(o.ripple,ty.ripple),rippleVisible:Ur(o.rippleVisible,ty.rippleVisible),ripplePulsate:Ur(o.ripplePulsate,ty.ripplePulsate),child:Ur(o.child,ty.child),childLeaving:Ur(o.childLeaving,ty.childLeaving),childPulsate:Ur(o.childPulsate,ty.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},d.current)])),d.current+=1,p.current=a}),[o]),v=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)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const l=a?null:g.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===m.current&&(m.current=()=>{b({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})},h.start(80,(()=>{m.current&&(m.current(),m.current=null)}))):b({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})}),[r,b,h]),y=Y.useCallback((()=>{v({},{pulsate:!0})}),[v]),x=Y.useCallback(((e,t)=>{if(h.clear(),"touchend"===(null==e?void 0:e.type)&&m.current)return m.current(),m.current=null,void h.start(0,(()=>{x(e,t)}));m.current=null,c((e=>e.length>0?e.slice(1):e)),p.current=t}),[h]);return Y.useImperativeHandle(t,(()=>({pulsate:y,start:v,stop:x})),[y,v,x]),yn.jsx(dy,l({className:Ur(ty.root,o.root,i),ref:g},a,{children:yn.jsx(qv,{component:null,exit:!0,children:u})}))}));function hy(e){return Wr("MuiButtonBase",e)}const my=Yr("MuiButtonBase",["root","disabled","focusVisible"]),gy=["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"],by=gl("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"},[`&.${my.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),vy=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:u="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:m,onClick:g,onContextMenu:b,onDragLeave:v,onFocus:y,onFocusVisible:x,onKeyDown:E,onKeyUp:S,onMouseDown:w,onMouseLeave:C,onMouseUp:k,onTouchEnd:R,onTouchMove:_,onTouchStart:T,tabIndex:L=0,TouchRippleProps:P,touchRippleRef:I,type:A}=n,O=s(n,gy),M=Y.useRef(null),N=Y.useRef(null),z=Po(N,I),{isFocusVisibleRef:j,onFocus:D,onBlur:$,ref:B}=Uo(),[F,H]=Y.useState(!1);c&&F&&H(!1),Y.useImperativeHandle(r,(()=>({focusVisible:()=>{H(!0),M.current.focus()}})),[]);const[U,V]=Y.useState(!1);Y.useEffect((()=>{V(!0)}),[]);const G=U&&!d&&!c;function W(e,t,n=p){return Lo((r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0}))}Y.useEffect((()=>{F&&f&&!d&&U&&N.current.pulsate()}),[d,f,F,U]);const q=W("start",w),K=W("stop",b),Q=W("stop",v),X=W("stop",k),Z=W("stop",(e=>{F&&e.preventDefault(),C&&C(e)})),J=W("start",T),ee=W("stop",R),te=W("stop",_),ne=W("stop",(e=>{$(e),!1===j.current&&H(!1),m&&m(e)}),!1),re=Lo((e=>{M.current||(M.current=e.currentTarget),D(e),!0===j.current&&(H(!0),x&&x(e)),y&&y(e)})),oe=()=>{const e=M.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ie=Y.useRef(!1),ae=Lo((e=>{f&&!ie.current&&F&&N.current&&" "===e.key&&(ie.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),E&&E(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!c&&(e.preventDefault(),g&&g(e))})),le=Lo((e=>{f&&" "===e.key&&N.current&&F&&!e.defaultPrevented&&(ie.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),S&&S(e),g&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&g(e)}));let se=u;"button"===se&&(O.href||O.to)&&(se=h);const ue={};"button"===se?(ue.type=void 0===A?"button":A,ue.disabled=c):(O.href||O.to||(ue.role="button"),c&&(ue["aria-disabled"]=c));const ce=Po(t,B,M),de=l({},n,{centerRipple:o,component:u,disabled:c,disableRipple:d,disableTouchRipple:p,focusRipple:f,tabIndex:L,focusVisible:F}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=qo({root:["root",t&&"disabled",n&&"focusVisible"]},hy,o);return n&&r&&(i.root+=` ${r}`),i})(de);return yn.jsxs(by,l({as:se,className:Ur(pe.root,a),ownerState:de,onBlur:ne,onClick:g,onContextMenu:K,onFocus:re,onKeyDown:ae,onKeyUp:le,onMouseDown:q,onMouseLeave:Z,onMouseUp:X,onDragLeave:Q,onTouchEnd:ee,onTouchMove:te,onTouchStart:J,ref:ce,tabIndex:c?-1:L,type:A},ue,O,{children:[i,G?yn.jsx(fy,l({ref:z,center:o},P)):null]}))}));function yy(e){return Wr("MuiTypography",e)}Yr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const xy=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ey=gl("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${Nn(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>l({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}))),Sy={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},wy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Cy=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiTypography"}),r=(e=>wy[e]||e)(n.color),o=Dr(l({},n,{color:r})),{align:i="inherit",className:a,component:u,gutterBottom:c=!1,noWrap:d=!1,paragraph:p=!1,variant:f="body1",variantMapping:h=Sy}=o,m=s(o,xy),g=l({},o,{align:i,color:r,className:a,component:u,gutterBottom:c,noWrap:d,paragraph:p,variant:f,variantMapping:h}),b=u||(p?"p":h[f]||Sy[f])||"span",v=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return qo({root:["root",i,"inherit"!==e.align&&`align${Nn(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},yy,a)})(g);return yn.jsx(Ey,l({as:b,ref:t,ownerState:g,className:Ur(v.root,a)},m))}));const ky=Y.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=Y.useState(null),l=Po(Y.isValidElement(n)?ei(n):null,t);if(yo((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),yo((()=>{if(i&&!o)return To(t,i),()=>{To(t,null)}}),[t,i,o]),o){if(Y.isValidElement(n)){const e={ref:l};return Y.cloneElement(n,e)}return yn.jsx(Y.Fragment,{children:n})}return yn.jsx(Y.Fragment,{children:i?Ov.createPortal(n,i):i})})),Ry=["onChange","maxRows","minRows","style","value"];function _y(e){return parseInt(e,10)||0}const Ty={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Ly(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Py=Y.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,u=s(e,Ry),{current:c}=Y.useRef(null!=a),d=Y.useRef(null),p=Po(t,d),f=Y.useRef(null),h=Y.useRef(null),m=Y.useCallback((()=>{const t=d.current,n=h.current;if(!t||!n)return;const i=_o(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,l=_y(i.paddingBottom)+_y(i.paddingTop),s=_y(i.borderBottomWidth)+_y(i.borderTopWidth),u=n.scrollHeight;n.value="x";const c=n.scrollHeight;let p=u;o&&(p=Math.max(Number(o)*c,p)),r&&(p=Math.min(Number(r)*c,p)),p=Math.max(p,c);return{outerHeightStyle:p+("border-box"===a?l+s:0),overflowing:Math.abs(p-u)<=1}}),[r,o,e.placeholder]),g=Lo((()=>{const e=d.current,t=m();if(!e||!t||Ly(t))return!1;const n=t.outerHeightStyle;return null!=f.current&&f.current!==n})),b=Y.useCallback((()=>{const e=d.current,t=m();if(!e||!t||Ly(t))return;const n=t.outerHeightStyle;f.current!==n&&(f.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""}),[m]),v=Y.useRef(-1);yo((()=>{const e=ko(b),t=null==d?void 0:d.current;if(!t)return;const n=_o(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver((()=>{g()&&(r.unobserve(t),cancelAnimationFrame(v.current),b(),v.current=requestAnimationFrame((()=>{r.observe(t)})))})),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(v.current),n.removeEventListener("resize",e),r&&r.disconnect()}}),[m,b,g]),yo((()=>{b()}));return yn.jsxs(Y.Fragment,{children:[yn.jsx("textarea",l({value:a,onChange:e=>{c||b(),n&&n(e)},ref:p,rows:o,style:i},u)),yn.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:l({},Ty,i,{paddingTop:0,paddingBottom:0})})]})}));const Iy=Y.createContext(void 0);function Ay(){return Y.useContext(Iy)}function Oy(e){return yn.jsx(zr,l({},e,{defaultTheme:Da,themeId:a}))}function My(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Ny(e){return Wr("MuiInputBase",e)}const zy=Yr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),jy=["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"],Dy=gl("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${Nn(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>l({},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",[`&.${zy.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&l({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),$y=gl("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=l({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 l({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] + .${zy.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},[`&.${zy.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"})})),By=yn.jsx(Oy,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Fy=Y.forwardRef((function(e,t){var n;const r=xl({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:u,className:c,components:d={},componentsProps:p={},defaultValue:f,disabled:h,disableInjectingGlobalStyles:m,endAdornment:g,fullWidth:b=!1,id:v,inputComponent:y="input",inputProps:x={},inputRef:E,maxRows:S,minRows:w,multiline:C=!1,name:k,onBlur:R,onChange:_,onClick:T,onFocus:L,onKeyDown:P,onKeyUp:I,placeholder:A,readOnly:O,renderSuffix:M,rows:N,slotProps:z={},slots:j={},startAdornment:D,type:$="text",value:B}=r,F=s(r,jy),H=null!=x.value?x.value:B,{current:U}=Y.useRef(null!=H),V=Y.useRef(),G=Y.useCallback((e=>{}),[]),W=Po(V,E,x.ref,G),[q,K]=Y.useState(!1),Q=Ay(),X=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:Q,states:["color","disabled","error","hiddenLabel","size","required","filled"]});X.focused=Q?Q.focused:q,Y.useEffect((()=>{!Q&&h&&q&&(K(!1),R&&R())}),[Q,h,q,R]);const Z=Q&&Q.onFilled,J=Q&&Q.onEmpty,ee=Y.useCallback((e=>{!function(e,t=!1){return e&&(My(e.value)&&""!==e.value||t&&My(e.defaultValue)&&""!==e.defaultValue)}(e)?J&&J():Z&&Z()}),[Z,J]);yo((()=>{U&&ee({value:H})}),[H,ee,U]);Y.useEffect((()=>{ee(V.current)}),[]);let te=y,ne=x;C&&"input"===te&&(ne=l(N?{type:void 0,minRows:N,maxRows:N}:{type:void 0,maxRows:S,minRows:w},ne),te=Py);Y.useEffect((()=>{Q&&Q.setAdornedStart(Boolean(D))}),[Q,D]);const re=l({},r,{color:X.color||"primary",disabled:X.disabled,endAdornment:g,error:X.error,focused:X.focused,formControl:Q,fullWidth:b,hiddenLabel:X.hiddenLabel,multiline:C,size:X.size,startAdornment:D,type:$}),oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return qo({root:["root",`color${Nn(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Nn(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},Ny,t)})(re),ie=j.root||d.Root||Dy,ae=z.root||p.root||{},le=j.input||d.Input||$y;return ne=l({},ne,null!=(n=z.input)?n:p.input),yn.jsxs(Y.Fragment,{children:[!m&&By,yn.jsxs(ie,l({},ae,!Ko(ie)&&{ownerState:l({},re,ae.ownerState)},{ref:t,onClick:e=>{V.current&&e.currentTarget===e.target&&V.current.focus(),T&&T(e)}},F,{className:Ur(oe.root,ae.className,c,O&&"MuiInputBase-readOnly"),children:[D,yn.jsx(Iy.Provider,{value:null,children:yn.jsx(le,l({ownerState:re,"aria-invalid":X.error,"aria-describedby":i,autoComplete:a,autoFocus:u,defaultValue:f,disabled:X.disabled,id:v,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?V.current:{value:"x"})},name:k,placeholder:A,readOnly:O,required:X.required,rows:N,value:H,onKeyDown:P,onKeyUp:I,type:$},ne,!Ko(le)&&{as:te,ownerState:l({},re,ne.ownerState)},{ref:W,className:Ur(oe.input,ne.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{R&&R(e),x.onBlur&&x.onBlur(e),Q&&Q.onBlur?Q.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!U){const t=e.target||V.current;if(null==t)throw new Error(o(1));ee({value:t.value})}x.onChange&&x.onChange(e,...t),_&&_(e,...t)},onFocus:e=>{X.disabled?e.stopPropagation():(L&&L(e),x.onFocus&&x.onFocus(e),Q&&Q.onFocus?Q.onFocus(e):K(!0))}}))}),g,M?M(l({},X,{startAdornment:D})):null]}))]})})),Hy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Uy={entering:{opacity:1},entered:{opacity:1}},Vy=Y.forwardRef((function(e,t){const n=$a(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:u,in:c,onEnter:d,onEntered:p,onEntering:f,onExit:h,onExited:m,onExiting:g,style:b,timeout:v=r,TransitionComponent:y=Hv}=e,x=s(e,Hy),E=Y.useRef(null),S=Po(E,ei(a),t),w=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},C=w(f),k=w(((e,t)=>{Kv(e);const r=Qv({style:b,timeout:v,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),d&&d(e,t)})),R=w(p),_=w(g),T=w((e=>{const t=Qv({style:b,timeout:v,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),h&&h(e)})),L=w(m);return yn.jsx(y,l({appear:i,in:c,nodeRef:E,onEnter:k,onEntered:R,onEntering:C,onExit:T,onExited:L,onExiting:_,addEndListener:e=>{o&&o(E.current,e)},timeout:v},x,{children:(e,t)=>Y.cloneElement(a,l({style:l({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},Uy[e],b,a.props.style),ref:S},t))}))}));function Gy(e){return Wr("MuiBackdrop",e)}Yr("MuiBackdrop",["root","invisible"]);const Wy=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Yy=gl("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>l({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"}))),qy=Y.forwardRef((function(e,t){var n,r,o;const i=xl({props:e,name:"MuiBackdrop"}),{children:a,className:u,component:c="div",components:d={},componentsProps:p={},invisible:f=!1,open:h,slotProps:m={},slots:g={},TransitionComponent:b=Vy,transitionDuration:v}=i,y=s(i,Wy),x=l({},i,{component:c,invisible:f}),E=(e=>{const{classes:t,invisible:n}=e;return qo({root:["root",n&&"invisible"]},Gy,t)})(x),S=null!=(n=m.root)?n:p.root;return yn.jsx(b,l({in:h,timeout:v},y,{children:yn.jsx(Yy,l({"aria-hidden":!0},S,{as:null!=(r=null!=(o=g.root)?o:d.Root)?r:c,className:Ur(E.root,u,null==S?void 0:S.className),ownerState:l({},x,null==S?void 0:S.ownerState),classes:E,ref:t,children:a}))}))})),Ky=Yr("MuiBox",["root"]),Qy=ja(),Xy=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})(Tr);return Y.forwardRef((function(e,a){const u=Nr(n),c=Dr(e),{className:d,component:p="div"}=c,f=s(c,Vr);return yn.jsx(i,l({as:p,ref:a,className:Ur(d,o?o(r):r),theme:t&&u[t]||u},f))}))}({themeId:a,defaultTheme:Qy,defaultClassName:Ky.root,generateClassName:Fr.generate});function Zy(e){return Wr("MuiButton",e)}const Jy=Yr("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"]),ex=Y.createContext({}),tx=Y.createContext(void 0),nx=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],rx=e=>l({},"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}}),ox=gl(vy,{shouldForwardProp:e=>ml(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Nn(n.color)}`],t[`size${Nn(n.size)}`],t[`${n.variant}Size${Nn(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 l({},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":l({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ei(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(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(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":l({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Jy.focusVisible}`]:l({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Jy.disabled}`]:l({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(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"},[`&.${Jy.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Jy.disabled}`]:{boxShadow:"none"}})),ix=gl("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Nn(n.size)}`]]}})((({ownerState:e})=>l({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},rx(e)))),ax=gl("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Nn(n.size)}`]]}})((({ownerState:e})=>l({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},rx(e)))),lx=Y.forwardRef((function(e,t){const n=Y.useContext(ex),r=Y.useContext(tx),o=xl({props:vo(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:u="button",className:c,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,size:b="medium",startIcon:v,type:y,variant:x="text"}=o,E=s(o,nx),S=l({},o,{color:a,component:u,disabled:d,disableElevation:p,disableFocusRipple:f,fullWidth:g,size:b,type:y,variant:x}),w=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return l({},a,qo({root:["root",i,`${i}${Nn(t)}`,`size${Nn(o)}`,`${i}Size${Nn(o)}`,`color${Nn(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Nn(o)}`],endIcon:["icon","endIcon",`iconSize${Nn(o)}`]},Zy,a))})(S),C=v&&yn.jsx(ix,{className:w.startIcon,ownerState:S,children:v}),k=h&&yn.jsx(ax,{className:w.endIcon,ownerState:S,children:h}),R=r||"";return yn.jsxs(ox,l({ownerState:S,className:Ur(n.className,w.root,c,R),component:u,disabled:d,focusRipple:!f,focusVisibleClassName:Ur(w.focusVisible,m),ref:t,type:y},E,{classes:w,children:[C,i,k]}))}));function sx(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ux(e){return parseInt(_o(e).getComputedStyle(e).paddingRight,10)||0}function cx(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&&sx(e,o)}))}function dx(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function px(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Ro(e);return t.body===e?_o(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Vo(Ro(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ux(r)+e}px`;const t=Ro(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${ux(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Ro(r).body;else{const t=r.parentElement,n=_o(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 fx=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function hx(e){const t=[],n=[];return Array.from(e.querySelectorAll(fx)).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 mx(){return!0}function gx(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=hx,isEnabled:a=mx,open:l}=e,s=Y.useRef(!1),u=Y.useRef(null),c=Y.useRef(null),d=Y.useRef(null),p=Y.useRef(null),f=Y.useRef(!1),h=Y.useRef(null),m=Po(ei(t),h),g=Y.useRef(null);Y.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),Y.useEffect((()=>{if(!l||!h.current)return;const e=Ro(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),Y.useEffect((()=>{if(!l||!h.current)return;const e=Ro(h.current),t=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==c.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(n=i(h.current)),n.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.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,l,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return yn.jsxs(Y.Fragment,{children:[yn.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),Y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),yn.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const bx=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&&sx(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);cx(t,e.mount,e.modalRef,r,!0);const o=dx(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=dx(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=px(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=dx(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&&sx(e.modalRef,t),cx(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&&sx(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function vx(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=bx,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:u,onClose:c,open:d,rootRef:p}=e,f=Y.useRef({}),h=Y.useRef(null),m=Y.useRef(null),g=Po(m,p),[b,v]=Y.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(u);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const E=()=>(f.current.modalRef=m.current,f.current.mount=h.current,f.current),S=()=>{o.mount(E(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},w=Lo((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Ro(h.current).body;o.add(E(),e),m.current&&S()})),C=Y.useCallback((()=>o.isTopModal(E())),[o]),k=Lo((e=>{h.current=e,e&&(d&&C()?S():m.current&&sx(m.current,x))})),R=Y.useCallback((()=>{o.remove(E(),x)}),[x,o]);Y.useEffect((()=>()=>{R()}),[R]),Y.useEffect((()=>{d?w():y&&i||R()}),[d,R,y,i,w]);const _=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&C()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},T=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=Qo(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=l({},n,t);return l({role:"presentation"},r,{onKeyDown:_(r),ref:g})},getBackdropProps:(e={})=>l({"aria-hidden":!0},e,{onClick:T(e),open:d}),getTransitionProps:()=>({onEnter:Co((()=>{v(!1),a&&a()}),null==u?void 0:u.props.onEnter),onExited:Co((()=>{v(!0),s&&s(),i&&R()}),null==u?void 0:u.props.onExited)}),rootRef:g,portalRef:k,isTopModal:C,exited:b,hasTransition:y}}function yx(e){return Wr("MuiModal",e)}Yr("MuiModal",["root","hidden","backdrop"]);const xx=["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"],Ex=gl("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})=>l({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),Sx=gl(qy,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),wx=Y.forwardRef((function(e,t){var n,r,o,i,a,u;const c=xl({name:"MuiModal",props:e}),{BackdropComponent:d=Sx,BackdropProps:p,className:f,closeAfterTransition:h=!1,children:m,container:g,component:b,components:v={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:E=!1,disableEscapeKeyDown:S=!1,disablePortal:w=!1,disableRestoreFocus:C=!1,disableScrollLock:k=!1,hideBackdrop:R=!1,keepMounted:_=!1,onBackdropClick:T,open:L,slotProps:P,slots:I}=c,A=s(c,xx),O=l({},c,{closeAfterTransition:h,disableAutoFocus:x,disableEnforceFocus:E,disableEscapeKeyDown:S,disablePortal:w,disableRestoreFocus:C,disableScrollLock:k,hideBackdrop:R,keepMounted:_}),{getRootProps:M,getBackdropProps:N,getTransitionProps:z,portalRef:j,isTopModal:D,exited:$,hasTransition:B}=vx(l({},O,{rootRef:t})),F=l({},O,{exited:$}),H=(e=>{const{open:t,exited:n,classes:r}=e;return qo({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},yx,r)})(F),U={};if(void 0===m.props.tabIndex&&(U.tabIndex="-1"),B){const{onEnter:e,onExited:t}=z();U.onEnter=e,U.onExited=t}const V=null!=(n=null!=(r=null==I?void 0:I.root)?r:v.Root)?n:Ex,G=null!=(o=null!=(i=null==I?void 0:I.backdrop)?i:v.Backdrop)?o:d,W=null!=(a=null==P?void 0:P.root)?a:y.root,q=null!=(u=null==P?void 0:P.backdrop)?u:y.backdrop,K=Jo({elementType:V,externalSlotProps:W,externalForwardedProps:A,getSlotProps:M,additionalProps:{ref:t,as:b},ownerState:F,className:Ur(f,null==W?void 0:W.className,null==H?void 0:H.root,!F.open&&F.exited&&(null==H?void 0:H.hidden))}),Q=Jo({elementType:G,externalSlotProps:q,additionalProps:p,getSlotProps:e=>N(l({},e,{onClick:t=>{T&&T(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Ur(null==q?void 0:q.className,null==p?void 0:p.className,null==H?void 0:H.backdrop),ownerState:F});return _||L||B&&!$?yn.jsx(ky,{ref:j,container:g,disablePortal:w,children:yn.jsxs(V,l({},K,{children:[!R&&d?yn.jsx(G,l({},Q)):null,yn.jsx(gx,{disableEnforceFocus:E,disableAutoFocus:x,disableRestoreFocus:C,isEnabled:D,open:L,children:Y.cloneElement(m,U)})]}))}):null}));function Cx(e){return Wr("MuiDivider",e)}const kx=Yr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Rx=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],_x=gl("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})=>l({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(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})=>l({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>l({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>l({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>l({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Tx=gl("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>l({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)`}))),Lx=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:u=!1,light:c=!1,orientation:d="horizontal",role:p=("hr"!==a?"separator":void 0),textAlign:f="center",variant:h="fullWidth"}=n,m=s(n,Rx),g=l({},n,{absolute:r,component:a,flexItem:u,light:c,orientation:d,role:p,textAlign:f,variant:h}),b=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return qo({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Cx,r)})(g);return yn.jsx(_x,l({as:a,className:Ur(b.root,i),role:p,ref:t,ownerState:g},m,{children:o?yn.jsx(Tx,{className:b.wrapper,ownerState:g,children:o}):null}))}));Lx.muiSkipListHighlight=!0;const Px=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ix(e){return`scale(${e}, ${e**2})`}const Ax={entering:{opacity:1,transform:Ix(1)},entered:{opacity:1,transform:"none"}},Ox="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Mx=Y.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g="auto",TransitionComponent:b=Hv}=e,v=s(e,Px),y=Mo(),x=Y.useRef(),E=$a(),S=Y.useRef(null),w=Po(S,ei(o),t),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},k=C(d),R=C(((e,t)=>{Kv(e);const{duration:n,delay:r,easing:o}=Qv({style:m,timeout:g,easing:i},{mode:"enter"});let a;"auto"===g?(a=E.transitions.getAutoHeightDuration(e.clientHeight),x.current=a):a=n,e.style.transition=[E.transitions.create("opacity",{duration:a,delay:r}),E.transitions.create("transform",{duration:Ox?a:.666*a,delay:r,easing:o})].join(","),u&&u(e,t)})),_=C(c),T=C(h),L=C((e=>{const{duration:t,delay:n,easing:r}=Qv({style:m,timeout:g,easing:i},{mode:"exit"});let o;"auto"===g?(o=E.transitions.getAutoHeightDuration(e.clientHeight),x.current=o):o=t,e.style.transition=[E.transitions.create("opacity",{duration:o,delay:n}),E.transitions.create("transform",{duration:Ox?o:.666*o,delay:Ox?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Ix(.75),p&&p(e)})),P=C(f);return yn.jsx(b,l({appear:r,in:a,nodeRef:S,onEnter:R,onEntered:_,onEntering:k,onExit:L,onExited:P,onExiting:T,addEndListener:e=>{"auto"===g&&y.start(x.current||0,e),n&&n(S.current,e)},timeout:"auto"===g?null:g},v,{children:(e,t)=>Y.cloneElement(o,l({style:l({opacity:0,transform:Ix(.75),visibility:"exited"!==e||a?void 0:"hidden"},Ax[e],m,o.props.style),ref:w},t))}))}));function Nx(e){return Wr("MuiInputAdornment",e)}Mx.muiSupportAuto=!0;const zx=Yr("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var jx;const Dx=["children","className","component","disablePointerEvents","disableTypography","position","variant"],$x=gl("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Nn(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>l({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${zx.positionStart}&:not(.${zx.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),Bx=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:u=!1,position:c,variant:d}=n,p=s(n,Dx),f=Ay()||{};let h=d;d&&f.variant,f&&!h&&(h=f.variant);const m=l({},n,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:a,position:c,variant:h}),g=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e;return qo({root:["root",n&&"disablePointerEvents",o&&`position${Nn(o)}`,a,r&&"hiddenLabel",i&&`size${Nn(i)}`]},Nx,t)})(m);return yn.jsx(Iy.Provider,{value:null,children:yn.jsx($x,l({as:i,ownerState:m,className:Ur(g.root,o),ref:t},p,{children:"string"!=typeof r||u?yn.jsxs(Y.Fragment,{children:["start"===c?jx||(jx=yn.jsx("span",{className:"notranslate",children:"​"})):null,r]}):yn.jsx(Cy,{color:"text.secondary",children:r})}))})})),Fx=Y.createContext({});function Hx(e){return Wr("MuiList",e)}Yr("MuiList",["root","padding","dense","subheader"]);const Ux=["children","className","component","dense","disablePadding","subheader"],Vx=gl("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})=>l({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Gx=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:u=!1,subheader:c}=n,d=s(n,Ux),p=Y.useMemo((()=>({dense:a})),[a]),f=l({},n,{component:i,dense:a,disablePadding:u}),h=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return qo({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Hx,t)})(f);return yn.jsx(Fx.Provider,{value:p,children:yn.jsxs(Vx,l({as:i,className:Ur(h.root,o),ref:t,ownerState:f},d,{children:[c,r]}))})}));function Wx(e){return Wr("MuiListItem",e)}const Yx=Yr("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function qx(e){return Wr("MuiListItemButton",e)}const Kx=Yr("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Qx=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Xx=gl(vy,{shouldForwardProp:e=>ml(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})=>l({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"}},[`&.${Kx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Kx.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Kx.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei(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(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Kx.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Kx.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}))),Zx=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:u=!1,disableGutters:c=!1,divider:d=!1,focusVisibleClassName:p,selected:f=!1,className:h}=n,m=s(n,Qx),g=Y.useContext(Fx),b=Y.useMemo((()=>({dense:u||g.dense||!1,alignItems:r,disableGutters:c})),[r,g.dense,u,c]),v=Y.useRef(null);yo((()=>{o&&v.current&&v.current.focus()}),[o]);const y=l({},n,{alignItems:r,dense:b.dense,disableGutters:c,divider:d,selected:f}),x=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:s}=e;return l({},n,qo({root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},qx,n))})(y),E=Po(v,t);return yn.jsx(Fx.Provider,{value:b,children:yn.jsx(Xx,l({ref:E,href:m.href||m.to,component:(m.href||m.to)&&"div"===i?"button":i,focusVisibleClassName:Ur(x.focusVisible,p),ownerState:y,className:Ur(x.root,h)},m,{classes:x,children:a}))})}));function Jx(e){return Wr("MuiListItemSecondaryAction",e)}Yr("MuiListItemSecondaryAction",["root","disableGutters"]);const eE=["className"],tE=gl("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>l({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),nE=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=s(n,eE),i=l({},n,{disableGutters:Y.useContext(Fx).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return qo({root:["root",t&&"disableGutters"]},Jx,n)})(i);return yn.jsx(tE,l({className:Ur(a.root,r),ownerState:i,ref:t},o))}));nE.muiName="ListItemSecondaryAction";const rE=["className"],oE=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],iE=gl("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})=>l({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&l({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Kx.root}`]:{paddingRight:48}},{[`&.${Yx.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yx.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Yx.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Yx.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"}},[`&.${Yx.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei(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(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),aE=gl("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),lE=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:i=!1,children:a,className:u,component:c,components:d={},componentsProps:p={},ContainerComponent:f="li",ContainerProps:{className:h}={},dense:m=!1,disabled:g=!1,disableGutters:b=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:x,secondaryAction:E,selected:S=!1,slotProps:w={},slots:C={}}=n,k=s(n.ContainerProps,rE),R=s(n,oE),_=Y.useContext(Fx),T=Y.useMemo((()=>({dense:m||_.dense||!1,alignItems:r,disableGutters:b})),[r,_.dense,m,b]),L=Y.useRef(null);yo((()=>{o&&L.current&&L.current.focus()}),[o]);const P=Y.Children.toArray(a),I=P.length&&(A=P[P.length-1],O=["ListItemSecondaryAction"],Y.isValidElement(A)&&-1!==O.indexOf(null!=(M=A.type.muiName)?M:null==(N=A.type)||null==(N=N._payload)||null==(N=N.value)?void 0:N.muiName));var A,O,M,N;const z=l({},n,{alignItems:r,autoFocus:o,button:i,dense:T.dense,disabled:g,disableGutters:b,disablePadding:v,divider:y,hasSecondaryAction:I,selected:S}),j=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:l,divider:s,hasSecondaryAction:u,selected:c}=e;return qo({root:["root",o&&"dense",!a&&"gutters",!l&&"padding",s&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},Wx,r)})(z),D=Po(L,t),$=C.root||d.Root||iE,B=w.root||p.root||{},F=l({className:Ur(j.root,B.className,u),disabled:g},R);let H=c||"li";return i&&(F.component=c||"div",F.focusVisibleClassName=Ur(Yx.focusVisible,x),H=vy),I?(H=F.component||c?H:"div","li"===f&&("li"===H?H="div":"li"===F.component&&(F.component="div")),yn.jsx(Fx.Provider,{value:T,children:yn.jsxs(aE,l({as:f,className:Ur(j.container,h),ref:D,ownerState:z},k,{children:[yn.jsx($,l({},B,!Ko($)&&{as:H,ownerState:l({},z,B.ownerState)},F,{children:P})),P.pop()]}))})):yn.jsx(Fx.Provider,{value:T,children:yn.jsxs($,l({},B,{as:H,ref:D},!Ko($)&&{ownerState:l({},z,B.ownerState)},F,{children:[P,E&&yn.jsx(nE,{children:E})]}))})}));function sE(e){return Wr("MuiListItemIcon",e)}const uE=Yr("MuiListItemIcon",["root","alignItemsFlexStart"]),cE=["className"],dE=gl("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})=>l({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),pE=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=s(n,cE),i=l({},n,{alignItems:Y.useContext(Fx).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return qo({root:["root","flex-start"===t&&"alignItemsFlexStart"]},sE,n)})(i);return yn.jsx(dE,l({className:Ur(a.root,r),ownerState:i,ref:t},o))})),fE=Yr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),hE=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function mE(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function gE(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function bE(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 vE(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&bE(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const yE=Y.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:u=!1,disableListWrap:c=!1,onKeyDown:d,variant:p="selectedMenu"}=e,f=s(e,hE),h=Y.useRef(null),m=Y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});yo((()=>{r&&h.current.focus()}),[r]),Y.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&n){const n=`${Vo(Ro(e))}px`;h.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,h.current.style.width=`calc(100% + ${n})`}return h.current}})),[]);const g=Po(h,t);let b=-1;Y.Children.forEach(i,((e,t)=>{Y.isValidElement(e)?(e.props.disabled||("selectedMenu"===p&&e.props.selected||-1===b)&&(b=t),b===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(b+=1,b>=i.length&&(b=-1))):b===t&&(b+=1,b>=i.length&&(b=-1))}));const v=Y.Children.map(i,((e,t)=>{if(t===b){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===p&&(t.tabIndex=0),Y.cloneElement(e,t)}return e}));return yn.jsx(Gx,l({role:"menu",ref:g,className:a,onKeyDown:e=>{const t=h.current,n=e.key,r=Ro(t).activeElement;if("ArrowDown"===n)e.preventDefault(),vE(t,r,c,u,mE);else if("ArrowUp"===n)e.preventDefault(),vE(t,r,c,u,gE);else if("Home"===n)e.preventDefault(),vE(t,null,c,u,mE);else if("End"===n)e.preventDefault(),vE(t,null,c,u,gE);else if(1===n.length){const o=m.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&&bE(r,o);o.previousKeyMatched&&(l||vE(t,r,!1,u,mE,o))?e.preventDefault():o.previousKeyMatched=!1}d&&d(e)},tabIndex:r?0:-1},f,{children:v}))}));function xE(e){return Wr("MuiPopover",e)}Yr("MuiPopover",["root","paper"]);const EE=["onEntering"],SE=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],wE=["slotProps"];function CE(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function kE(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function RE(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function _E(e){return"function"==typeof e?e():e}const TE=gl(wx,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),LE=gl(ey,{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}),PE=Y.forwardRef((function(e,t){var n,r,o;const i=xl({props:e,name:"MuiPopover"}),{action:a,anchorEl:u,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:p="anchorEl",children:f,className:h,container:m,elevation:g=8,marginThreshold:b=16,open:v,PaperProps:y={},slots:x,slotProps:E,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:w=Mx,transitionDuration:C="auto",TransitionProps:{onEntering:k}={},disableScrollLock:R=!1}=i,_=s(i.TransitionProps,EE),T=s(i,SE),L=null!=(n=null==E?void 0:E.paper)?n:y,P=Y.useRef(),I=Po(P,L.ref),A=l({},i,{anchorOrigin:c,anchorReference:p,elevation:g,marginThreshold:b,externalPaperSlotProps:L,transformOrigin:S,TransitionComponent:w,transitionDuration:C,TransitionProps:_}),O=(e=>{const{classes:t}=e;return qo({root:["root"],paper:["paper"]},xE,t)})(A),M=Y.useCallback((()=>{if("anchorPosition"===p)return d;const e=_E(u),t=(e&&1===e.nodeType?e:Ro(P.current).body).getBoundingClientRect();return{top:t.top+CE(t,c.vertical),left:t.left+kE(t,c.horizontal)}}),[u,c.horizontal,c.vertical,d,p]),N=Y.useCallback((e=>({vertical:CE(e,S.vertical),horizontal:kE(e,S.horizontal)})),[S.horizontal,S.vertical]),z=Y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=N(t);if("none"===p)return{top:null,left:null,transformOrigin:RE(n)};const r=M();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,l=i+t.width,s=_o(_E(u)),c=s.innerHeight-b,d=s.innerWidth-b;if(null!==b&&o<b){const e=o-b;o-=e,n.vertical+=e}else if(null!==b&&a>c){const e=a-c;o-=e,n.vertical+=e}if(null!==b&&i<b){const e=i-b;i-=e,n.horizontal+=e}else if(l>d){const e=l-d;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:RE(n)}}),[u,p,M,N,b]),[j,D]=Y.useState(v),$=Y.useCallback((()=>{const e=P.current;if(!e)return;const t=z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,D(!0)}),[z]);Y.useEffect((()=>(R&&window.addEventListener("scroll",$),()=>window.removeEventListener("scroll",$))),[u,R,$]);Y.useEffect((()=>{v&&$()})),Y.useImperativeHandle(a,(()=>v?{updatePosition:()=>{$()}}:null),[v,$]),Y.useEffect((()=>{if(!v)return;const e=ko((()=>{$()})),t=_o(u);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[u,v,$]);let B=C;"auto"!==C||w.muiSupportAuto||(B=void 0);const F=m||(u?Ro(_E(u)).body:void 0),H=null!=(r=null==x?void 0:x.root)?r:TE,U=null!=(o=null==x?void 0:x.paper)?o:LE,V=Jo({elementType:U,externalSlotProps:l({},L,{style:j?L.style:l({},L.style,{opacity:0})}),additionalProps:{elevation:g,ref:I},ownerState:A,className:Ur(O.paper,null==L?void 0:L.className)}),G=Jo({elementType:H,externalSlotProps:(null==E?void 0:E.root)||{},externalForwardedProps:T,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:F,open:v},ownerState:A,className:Ur(O.root,h)}),{slotProps:W}=G,q=s(G,wE);return yn.jsx(H,l({},q,!Ko(H)&&{slotProps:W,disableScrollLock:R},{children:yn.jsx(w,l({appear:!0,in:v,onEntering:(e,t)=>{k&&k(e,t),$()},onExited:()=>{D(!1)},timeout:B},_,{children:yn.jsx(U,l({},V,{children:f}))}))}))}));function IE(e){return Wr("MuiMenu",e)}Yr("MuiMenu",["root","paper","list"]);const AE=["onEntering"],OE=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],ME={vertical:"top",horizontal:"right"},NE={vertical:"top",horizontal:"left"},zE=gl(PE,{shouldForwardProp:e=>ml(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jE=gl(LE,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),DE=gl(yE,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),$E=Y.forwardRef((function(e,t){var n,r;const o=xl({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:u,disableAutoFocusItem:c=!1,MenuListProps:d={},onClose:p,open:f,PaperProps:h={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:b}={},variant:v="selectedMenu",slots:y={},slotProps:x={}}=o,E=s(o.TransitionProps,AE),S=s(o,OE),w=si(),C=l({},o,{autoFocus:i,disableAutoFocusItem:c,MenuListProps:d,onEntering:b,PaperProps:h,transitionDuration:g,TransitionProps:E,variant:v}),k=(e=>{const{classes:t}=e;return qo({root:["root"],paper:["paper"],list:["list"]},IE,t)})(C),R=i&&!c&&f,_=Y.useRef(null);let T=-1;Y.Children.map(a,((e,t)=>{Y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===T)&&(T=t))}));const L=null!=(n=y.paper)?n:jE,P=null!=(r=x.paper)?r:h,I=Jo({elementType:y.root,externalSlotProps:x.root,ownerState:C,className:[k.root,u]}),A=Jo({elementType:L,externalSlotProps:P,ownerState:C,className:k.paper});return yn.jsx(zE,l({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?ME:NE,slots:{paper:L,root:y.root},slotProps:{root:I,paper:A},open:f,ref:t,transitionDuration:g,TransitionProps:l({onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:w?"rtl":"ltr"}),b&&b(e,t)}},E),ownerState:C},S,{classes:m,children:yn.jsx(DE,l({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:_,autoFocus:i&&(-1===T||c),autoFocusItem:R,variant:v},d,{className:Ur(k.list,d.className),children:a}))}))}));function BE(e){return Wr("MuiMenuItem",e)}const FE=Yr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),HE=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],UE=gl(vy,{shouldForwardProp:e=>ml(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})=>l({},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"}},[`&.${FE.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ei(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${FE.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ei(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${FE.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ei(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(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${FE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${FE.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${kx.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${kx.inset}`]:{marginLeft:52},[`& .${fE.root}`]:{marginTop:0,marginBottom:0},[`& .${fE.inset}`]:{paddingLeft:36},[`& .${uE.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&l({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${uE.root} svg`]:{fontSize:"1.25rem"}})))),VE=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:u=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:p,className:f}=n,h=s(n,HE),m=Y.useContext(Fx),g=Y.useMemo((()=>({dense:i||m.dense||!1,disableGutters:u})),[m.dense,i,u]),b=Y.useRef(null);yo((()=>{r&&b.current&&b.current.focus()}),[r]);const v=l({},n,{dense:g.dense,divider:a,disableGutters:u}),y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return l({},a,qo({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},BE,a))})(n),x=Po(b,t);let E;return n.disabled||(E=void 0!==p?p:-1),yn.jsx(Fx.Provider,{value:g,children:yn.jsx(UE,l({ref:x,role:d,tabIndex:E,component:o,focusVisibleClassName:Ur(y.focusVisible,c),className:Ur(y.root,f)},h,{ownerState:v,classes:y}))})}));function GE(e){return Wr("MuiTab",e)}const WE=Yr("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),YE=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],qE=gl(vy,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Nn(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${WE.iconWrapper}`]:t.iconWrapper}]}})((({theme:e,ownerState:t})=>l({},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,[`& > .${WE.iconWrapper}`]:l({},"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,[`&.${WE.selected}`]:{opacity:1},[`&.${WE.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${WE.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${WE.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${WE.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${WE.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)}))),KE=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiTab"}),{className:r,disabled:o=!1,disableFocusRipple:i=!1,fullWidth:a,icon:u,iconPosition:c="top",indicator:d,label:p,onChange:f,onClick:h,onFocus:m,selected:g,selectionFollowsFocus:b,textColor:v="inherit",value:y,wrapped:x=!1}=n,E=s(n,YE),S=l({},n,{disabled:o,disableFocusRipple:i,selected:g,icon:!!u,iconPosition:c,label:!!p,fullWidth:a,textColor:v,wrapped:x}),w=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:l,disabled:s}=e;return qo({root:["root",i&&a&&"labelIcon",`textColor${Nn(n)}`,r&&"fullWidth",o&&"wrapped",l&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]},GE,t)})(S),C=u&&p&&Y.isValidElement(u)?Y.cloneElement(u,{className:Ur(w.iconWrapper,u.props.className)}):u;return yn.jsxs(qE,l({focusRipple:!i,className:Ur(w.root,r),ref:t,role:"tab","aria-selected":g,disabled:o,onClick:e=>{!g&&f&&f(e,y),h&&h(e)},onFocus:e=>{b&&!g&&f&&f(e,y),m&&m(e)},ownerState:S,tabIndex:g?0:-1},E,{children:["top"===c||"start"===c?yn.jsxs(Y.Fragment,{children:[C,p]}):yn.jsxs(Y.Fragment,{children:[p,C]}),d]}))}));var QE=kl(yn.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),XE=kl(yn.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function ZE(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const JE=["onChange"],eS={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function tS(e){return Wr("MuiTabScrollButton",e)}const nS=Yr("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),rS=["className","slots","slotProps","direction","orientation","disabled"],oS=gl(vy,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>l({width:40,flexShrink:0,opacity:.8,[`&.${nS.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),iS=Y.forwardRef((function(e,t){var n,r;const o=xl({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:u={},direction:c}=o,d=s(o,rS),p=l({isRtl:si()},o),f=(e=>{const{classes:t,orientation:n,disabled:r}=e;return qo({root:["root",n,r&&"disabled"]},tS,t)})(p),h=null!=(n=a.StartScrollButtonIcon)?n:QE,m=null!=(r=a.EndScrollButtonIcon)?r:XE,g=Jo({elementType:h,externalSlotProps:u.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),b=Jo({elementType:m,externalSlotProps:u.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return yn.jsx(oS,l({component:"div",className:Ur(f.root,i),ref:t,role:null,ownerState:p,tabIndex:null},d,{children:"left"===c?yn.jsx(h,l({},g)):yn.jsx(m,l({},b))}))}));function aS(e){return Wr("MuiTabs",e)}const lS=Yr("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),sS=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],uS=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,cS=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,dS=(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)}},pS=gl("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${lS.scrollButtons}`]:t.scrollButtons},{[`& .${lS.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>l({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${lS.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),fS=gl("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})=>l({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"}))),hS=gl("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})=>l({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),mS=gl("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>l({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}))),gS=gl((function(e){const{onChange:t}=e,n=s(e,JE),r=Y.useRef(),o=Y.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return yo((()=>{const e=ko((()=>{const e=r.current;i(),e!==r.current&&t(r.current)})),n=_o(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),Y.useEffect((()=>{i(),t(r.current)}),[t]),yn.jsx("div",l({style:eS},n,{ref:o}))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),bS={},vS=Y.forwardRef((function(e,t){const n=xl({props:e,name:"MuiTabs"}),r=$a(),o=si(),{"aria-label":i,"aria-labelledby":a,action:u,centered:c=!1,children:d,className:p,component:f="div",allowScrollButtonsMobile:h=!1,indicatorColor:m="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:v=iS,scrollButtons:y="auto",selectionFollowsFocus:x,slots:E={},slotProps:S={},TabIndicatorProps:w={},TabScrollButtonProps:C={},textColor:k="primary",value:R,variant:_="standard",visibleScrollbar:T=!1}=n,L=s(n,sS),P="scrollable"===_,I="vertical"===b,A=I?"scrollTop":"scrollLeft",O=I?"top":"left",M=I?"bottom":"right",N=I?"clientHeight":"clientWidth",z=I?"height":"width",j=l({},n,{component:f,allowScrollButtonsMobile:h,indicatorColor:m,orientation:b,vertical:I,scrollButtons:y,textColor:k,variant:_,visibleScrollbar:T,fixed:!P,hideScrollbar:P&&!T,scrollableX:P&&!I,scrollableY:P&&I,centered:c&&!P,scrollButtonsHideMobile:!h}),D=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:l,classes:s}=e;return qo({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},aS,s)})(j),$=Jo({elementType:E.StartScrollButtonIcon,externalSlotProps:S.startScrollButtonIcon,ownerState:j}),B=Jo({elementType:E.EndScrollButtonIcon,externalSlotProps:S.endScrollButtonIcon,ownerState:j}),[F,H]=Y.useState(!1),[U,V]=Y.useState(bS),[G,W]=Y.useState(!1),[q,K]=Y.useState(!1),[Q,X]=Y.useState(!1),[Z,J]=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:Yo(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=Lo((()=>{const{tabsMeta:e,tabMeta:t}=re();let n,r=0;if(I)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,[z]:t?t[z]:0};if(isNaN(U[n])||isNaN(U[z]))V(i);else{const e=Math.abs(U[n]-i[n]),t=Math.abs(U[z]-i[z]);(e>=1||t>=1)&&V(i)}})),ie=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=()=>{}){const{ease:i=ZE,duration:a=300}=r;let l=null;const s=t[e];let u=!1;const c=()=>{u=!0},d=r=>{if(u)return void o(new Error("Animation cancelled"));null===l&&(l=r);const c=Math.min(1,(r-l)/a);t[e]=i(c)*(n-s)+s,c>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};s===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(A,te.current,e,{duration:r.transitions.duration.standard}):te.current[A]=e},ae=e=>{let t=te.current[A];I?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===Wo()?-1:1),ie(t)},le=()=>{const e=te.current[N];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[N]>e){0===r&&(t=e);break}t+=o[N]}return t},se=()=>{ae(-1*le())},ue=()=>{ae(le())},ce=Y.useCallback((e=>{J({overflow:null,scrollbarWidth:e})}),[]),de=Lo((e=>{const{tabsMeta:t,tabMeta:n}=re();if(n&&t)if(n[O]<t[O]){const r=t[A]+(n[O]-t[O]);ie(r,{animation:e})}else if(n[M]>t[M]){const r=t[A]+(n[M]-t[M]);ie(r,{animation:e})}})),pe=Lo((()=>{P&&!1!==y&&X(!Q)}));Y.useEffect((()=>{const e=ko((()=>{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=_o(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&&P&&!1!==y){const n=e[0],r=e[t-1],o={root:te.current,threshold:.99},i=new IntersectionObserver((e=>{W(!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()}}}),[P,y,Q,null==d?void 0:d.length]),Y.useEffect((()=>{H(!0)}),[]),Y.useEffect((()=>{oe()})),Y.useEffect((()=>{de(bS!==U)}),[de,U]),Y.useImperativeHandle(u,(()=>({updateIndicator:oe,updateScrollButtons:pe})),[oe,pe]);const fe=yn.jsx(mS,l({},w,{className:Ur(D.indicator,w.className),ownerState:j,style:l({},U,w.style)}));let he=0;const me=Y.Children.map(d,(e=>{if(!Y.isValidElement(e))return null;const t=void 0===e.props.value?he:e.props.value;ee.set(t,he);const n=t===R;return he+=1,Y.cloneElement(e,l({fullWidth:"fullWidth"===_,indicator:n&&!F&&fe,selected:n,selectionFollowsFocus:x,onChange:g,textColor:k,value:t},1!==he||!1!==R||e.props.tabIndex?{}:{tabIndex:0}))})),ge=(()=>{const e={};e.scrollbarSizeListener=P?yn.jsx(gS,{onChange:ce,className:Ur(D.scrollableX,D.hideScrollbar)}):null;const t=P&&("auto"===y&&(G||q)||!0===y);return e.scrollButtonStart=t?yn.jsx(v,l({slots:{StartScrollButtonIcon:E.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:$},orientation:b,direction:o?"right":"left",onClick:se,disabled:!G},C,{className:Ur(D.scrollButtons,C.className)})):null,e.scrollButtonEnd=t?yn.jsx(v,l({slots:{EndScrollButtonIcon:E.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:B},orientation:b,direction:o?"left":"right",onClick:ue,disabled:!q},C,{className:Ur(D.scrollButtons,C.className)})):null,e})();return yn.jsxs(pS,l({className:Ur(D.root,p),ownerState:j,ref:t,as:f},L,{children:[ge.scrollButtonStart,ge.scrollbarSizeListener,yn.jsxs(fS,{className:D.scroller,ownerState:j,style:{overflow:Z.overflow,[I?"margin"+(o?"Left":"Right"):"marginBottom"]:T?void 0:-Z.scrollbarWidth},ref:te,children:[yn.jsx(hS,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===b?"vertical":null,className:D.flexContainer,ownerState:j,onKeyDown:e=>{const t=ne.current,n=Ro(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===b?"ArrowLeft":"ArrowUp",i="horizontal"===b?"ArrowRight":"ArrowDown";switch("horizontal"===b&&o&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),dS(t,n,cS);break;case i:e.preventDefault(),dS(t,n,uS);break;case"Home":e.preventDefault(),dS(t,null,uS);break;case"End":e.preventDefault(),dS(t,null,cS)}},ref:ne,role:"tablist",children:me}),F&&fe]}),ge.scrollButtonEnd]}))}));var yS;function xS(){return xS=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},xS.apply(null,arguments)}var ES,SS=function(e){return Y.createElement("svg",xS({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),yS||(yS=Y.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function wS(){return wS=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},wS.apply(null,arguments)}var CS=function(e){return Y.createElement("svg",wS({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),ES||(ES=Y.createElement("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.345z"})))};function kS({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return yn.jsx("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})}const RS={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)"},_S=12,TS=14,LS=16,PS=24,IS=3,AS=300,OS=400,MS=600,NS=700,zS={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function jS(e={}){return yn.jsx(kS,{...e,children:yn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:yn.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:yn.jsx("rect",{stroke:RS.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}function DS(e={}){return yn.jsx(kS,{...e,children:yn.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[yn.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),yn.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 $S(e={}){return yn.jsx(kS,{...e,children:yn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:yn.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[yn.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),yn.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function BS(e={}){return yn.jsx(kS,{fontSize:"medium",...e,children:yn.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:yn.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:yn.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function FS(e={}){return yn.jsx(kS,{fontSize:"medium",...e,children:yn.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[yn.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),yn.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 HS({className:e}){return yn.jsx(kS,{fontSize:"small",className:e,children:yn.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:yn.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:yn.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:yn.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[yn.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"}),yn.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"})]})})})})})}const US={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:IS,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},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:[]}};var VS=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:RS.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:RS.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:yn.jsx(SS,{"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 ${RS.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:RS.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${RS.MISC_FOCUS_BORDER}`,borderRadius:IS,backgroundColor:RS.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 ${RS.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:RS.WHITE,color:RS.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:IS},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${RS.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:RS.GREYSCALE_0_15,backgroundColor:RS.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:RS.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${RS.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:RS.GREEN_PALE},"&:active":{backgroundColor:RS.GREEN_DARK},"&.Mui-focusVisible":{borderColor:RS.GREEN_PALE,boxShadow:`0 0 0 3px ${wo(RS.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:RS.BLUE_PALE},"&:active":{backgroundColor:RS.BLUE_DARK},"&.Mui-focusVisible":{borderColor:RS.BLUE_PALE,boxShadow:`0 0 0 3px ${wo(RS.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:IS,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:RS.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${RS.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:RS.GREYSCALE_0_15,backgroundColor:RS.GREYSCALE_100_60,"&:active":{backgroundColor:RS.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:RS.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${RS.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:RS.PURPLE,"&.Mui-focusVisible":{borderColor:RS.PURPLE,boxShadow:`0 0 0 3px ${wo(RS.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:RS.GREEN,"&.Mui-focusVisible":{borderColor:RS.GREEN,boxShadow:`0 0 0 3px ${wo(RS.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:RS.BLUE,"&.Mui-focusVisible":{borderColor:RS.BLUE,boxShadow:`0 0 0 3px ${wo(RS.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:RS.ORANGE,"&.Mui-focusVisible":{borderColor:RS.ORANGE,boxShadow:`0 0 0 3px ${wo(RS.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:RS.RED,"&.Mui-focusVisible":{borderColor:RS.RED,boxShadow:`0 0 0 3px ${wo(RS.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:RS.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:RS.PURPLE_PALE},"&:active":{backgroundColor:RS.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:RS.PURPLE_PALE,boxShadow:`0 0 0 3px ${wo(RS.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:RS.GREEN_PALE},"&:active":{backgroundColor:RS.GREEN_DARK},"&.Mui-focusVisible":{borderColor:RS.GREEN_PALE,boxShadow:`0 0 0 3px ${wo(RS.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:RS.BLUE_PALE},"&:active":{backgroundColor:RS.BLUE_DARK},"&.Mui-focusVisible":{borderColor:RS.BLUE_PALE,boxShadow:`0 0 0 3px ${wo(RS.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:RS.ORANGE_PALE},"&:active":{backgroundColor:RS.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:RS.ORANGE_PALE,boxShadow:`0 0 0 3px ${wo(RS.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:RS.RED_PALE},"&:active":{backgroundColor:RS.RED_DARK},"&.Mui-focusVisible":{borderColor:RS.RED_PALE,boxShadow:`0 0 0 3px ${wo(RS.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:RS.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:RS.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:IS,boxShadow:`inset 0 0 0 2px ${RS.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:yn.jsx(CS,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:_S,borderRadius:IS,color:RS.TEXT_PRIMARY,backgroundColor:RS.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:RS.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${RS.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:RS.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:RS.GREYSCALE_0_05,color:RS.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:RS.GREEN,borderColor:RS.GREEN},"&.MuiChip-outlinedInfo":{color:RS.BLUE,borderColor:RS.BLUE},"&.MuiChip-outlinedWarning":{color:RS.ORANGE,borderColor:RS.ORANGE},"&.MuiChip-outlinedError":{color:RS.RED,borderColor:RS.RED}},outlined:{border:`solid 1px ${RS.GREYSCALE_0_15}`,backgroundColor:RS.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:IS,boxShadow:"none",backgroundColor:RS.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:RS.GREEN,borderColor:RS.GREEN},outlinedSecondary:{color:RS.BLUE,borderColor:RS.BLUE},label:{fontFamily:zS.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:yn.jsx(CS,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:yn.jsx(SS,{"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:IS},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:IS,fontSize:TS,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:RS.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${RS.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:RS.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:RS.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:RS.GREYSCALE_0_05}}},popupIndicator:{borderRadius:IS,border:`solid 1px ${RS.GREYSCALE_0_15}`,color:RS.GREYSCALE_0_60,marginRight:0,width:PS,height:PS},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${RS.GREYSCALE_0_15}`},clearIndicator:{borderRadius:IS,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:RS.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:TS}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:_S,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:RS.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:RS.GREYSCALE_25,fontSize:_S,fontFamily:zS.FONT_FAMILY,fontWeight:MS,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:RS.TEXT_PRIMARY},"&.Mui-error":{color:RS.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:RS.TEXT_SECONDARY,content:"'(optional)'",fontWeight:OS,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:RS.TEXT_SECONDARY,content:"'(required)'",fontWeight:OS,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:TS,lineHeight:"16px",backgroundColor:RS.WHITE,borderRadius:IS,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${RS.GREYSCALE_0_05}`,borderColor:RS.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${RS.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${RS.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${RS.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${RS.RED}`,boxShadow:`0px 0px 0px 1px ${RS.RED}, inset 0 2px 0 0 ${RS.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${RS.GREYSCALE_0_10}`,borderColor:RS.GREYSCALE_0_10,backgroundColor:RS.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:RS.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:RS.GREYSCALE_0_15,borderRadius:IS,boxShadow:`inset 0 2px 0 0 ${RS.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>yn.jsx(SS,{...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:RS.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:RS.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:RS.GREYSCALE_0_03},"&:active":{backgroundColor:RS.GREYSCALE_0_10},"&:focus":{backgroundColor:RS.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${RS.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${RS.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:RS.GREYSCALE_0_30,"&:hover":{backgroundColor:RS.GREYSCALE_0_0,borderColor:RS.GREYSCALE_0_15},"& ~svg":{color:RS.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${RS.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:IS}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:RS.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${RS.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:RS.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:TS,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:_S,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:_S,fontWeight:MS,color:RS.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:MS}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${RS.GREYSCALE_0_15}, 0px 0px 0px 1px ${RS.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:yn.jsx(BS,{}),checkedIcon:yn.jsx(FS,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:RS.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${RS.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:RS.GREEN_PALE,boxShadow:`0 0 0 3px ${wo(RS.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:RS.BLUE_PALE,boxShadow:`0 0 0 3px ${wo(RS.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:RS.GREYSCALE_0_20}},"&.Mui-disabled":{fill:RS.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:yn.jsx(jS,{}),checkedIcon:yn.jsx(DS,{}),indeterminateIcon:yn.jsx($S,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:IS,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:RS.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:RS.GREYSCALE_0_55,color:RS.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:RS.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:RS.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:RS.GREYSCALE_0_55,"&:hover":{color:RS.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:RS.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:RS.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:TS,color:RS.TEXT_PRIMARY,lineHeight:"16px",fontWeight:MS},secondary:{fontSize:_S,color:RS.GREYSCALE_45,fontWeight:OS,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:TS,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:TS,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:RS.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:_S,borderBottom:`solid 1px ${RS.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:TS,color:RS.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:RS.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:RS.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:RS.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:RS.RED}}},"&.Mui-focusVisible":{backgroundColor:RS.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:RS.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:RS.GREEN,height:"24px","&.Mui-disabled":{color:RS.GREYSCALE_0_15}},rail:{backgroundColor:RS.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${RS.GREYSCALE_0_05}`,borderRadius:IS,boxShadow:`inset 0px 0px 0px 1px ${RS.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${RS.GREYSCALE_0_05}`,borderRadius:IS},thumb:{height:"16px",width:"16px",borderRadius:IS,backgroundColor:RS.WHITE,boxShadow:`0px 1px 2px 0px ${RS.GREYSCALE_0_15}, 0px 0px 0px 1px ${RS.GREYSCALE_0_05}`,"&:hover":{borderRadius:IS,boxShadow:`0 2px 4px 0 ${RS.GREYSCALE_0_30}, 0 0 0 1px ${RS.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${RS.GREYSCALE_0_15}, 0 0 0 1px ${RS.GREYSCALE_0_06}, 0 0 0 2px ${RS.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${RS.GREYSCALE_0_15}, 0 0 0 1px ${RS.GREYSCALE_0_06}, 0 0 0 2px ${RS.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:RS.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:RS.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:RS.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:RS.GREYSCALE_0_15},markLabel:{color:RS.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:RS.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:RS.WHITE,color:RS.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:RS.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:RS.GREEN_PALE,boxShadow:`0 0 0 3px ${wo(RS.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:RS.BLUE_PALE,boxShadow:`0 0 0 3px ${wo(RS.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:RS.GREYSCALE_0_15,borderRadius:IS},thumb:{height:"16px",width:"16px",borderRadius:IS,backgroundColor:RS.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:TS,fontWeight:MS,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${RS.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${RS.MISC_FOCUS_BORDER}`,backgroundColor:RS.GREYSCALE_0_03,borderRadius:IS},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:RS.GREYSCALE_25,"&.Mui-selected":{color:RS.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:TS,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:IS,"&:hover":{backgroundColor:RS.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 ${RS.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${RS.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:IS,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:RS.GREYSCALE_0_05},"&:hover":{backgroundColor:RS.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${RS.GREYSCALE_85}`,borderRight:`1px solid ${RS.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:MS,backgroundColor:RS.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:RS.GREYSCALE_98,borderBottom:`1px solid ${RS.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${RS.GREYSCALE_85}`,borderTop:`1px solid ${RS.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:RS.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:RS.GREYSCALE_0_05,"&:hover":{backgroundColor:RS.GREYSCALE_0_03}},"&&:hover":{backgroundColor:RS.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>yn.jsx(HS,{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 ${RS.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:TS,borderRadius:IS,padding:"7px 16px",border:`1px solid ${RS.GREYSCALE_0_15}`,backgroundColor:RS.GREYSCALE_100_60,color:RS.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:RS.GREYSCALE_0_10,border:`1px solid ${RS.GREYSCALE_0_30}`},"&:hover":{backgroundColor:RS.GREYSCALE_0_03,border:`1px solid ${RS.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:RS.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${RS.MISC_FOCUS_BORDER}`,border:`1px solid ${RS.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:RS.GREYSCALE_25,backgroundColor:RS.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:RS.GREYSCALE_0_10,border:`1px solid ${RS.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:_S,height:24,width:24,padding:7},sizeLarge:{fontSize:LS,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:TS,borderRadius:IS}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:RS.GREYSCALE_20},tooltip:{backgroundColor:RS.GREYSCALE_20,fontSize:_S,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...US}:{}}))(t);const GS=e=>({mode:"light",primary:{ultraLight:RS.GREEN_ULTRA_LIGHT,light:RS.GREEN_PALE,main:RS.GREEN,dark:RS.GREEN_DARK,extraDark:RS.GREEN_EXTRA_DARK,contrastText:RS.WHITE},secondary:{ultraLight:RS.BLUE_ULTRA_LIGHT,light:RS.BLUE_PALE,main:RS.BLUE,dark:RS.BLUE_DARK,extraDark:RS.BLUE_EXTRA_DARK,contrastText:RS.WHITE},error:{ultraLight:RS.RED_ULTRA_LIGHT,light:RS.RED_PALE,main:RS.RED,dark:RS.RED_DARK,extraDark:RS.RED_EXTRA_DARK,contrastText:RS.WHITE},warning:{ultraLight:RS.ORANGE_ULTRA_LIGHT,light:RS.ORANGE_PALE,main:RS.ORANGE,dark:RS.ORANGE_DARK,extraDark:RS.ORANGE_EXTRA_DARK,contrastText:RS.WHITE},success:{ultraLight:RS.GREEN_ULTRA_LIGHT,light:RS.GREEN_PALE,main:RS.GREEN,dark:RS.GREEN_DARK,extraDark:RS.GREEN_EXTRA_DARK,contrastText:RS.WHITE},info:{ultraLight:RS.BLUE_ULTRA_LIGHT,light:RS.BLUE_PALE,main:RS.BLUE,dark:RS.BLUE_DARK,extraDark:RS.BLUE_EXTRA_DARK,contrastText:RS.WHITE},text:{primary:RS.TEXT_PRIMARY,secondary:RS.TEXT_SECONDARY,disabled:RS.GREYSCALE_0_30},action:{hover:RS.GREYSCALE_0_03,hoverOpacity:.03,selected:RS.GREYSCALE_0_05,selectedOpacity:.05,focus:RS.MISC_FOCUS_BORDER},amethyst:{ultraLight:RS.WHITE,main:RS.PURPLE,light:RS.PURPLE_PALE,dark:RS.PURPLE_DARK,extraDark:RS.GREYSCALE_0_0,contrastText:RS.WHITE},background:{paper:RS.WHITE,default:RS.GREYSCALE_95},divider:RS.GREYSCALE_0_15}),WS=(e,t=!1)=>({components:VS(0,t),palette:GS(),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:TS,fontWeightLight:AS,fontWeightRegular:OS,fontWeightMedium:MS,fontWeightBold:NS,htmlFontSize:TS,fontFamily:zS.FONT_FAMILY,button:{fontWeight:MS,fontSize:TS,textTransform:"none"},body1:{fontSize:LS,lineHeight:"24px"},body2:{fontSize:TS,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:PS,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:LS,fontWeight:MS,lineHeight:"16px"},h6:{fontSize:TS,fontWeight:MS,lineHeight:"16px"},caption:{color:RS.TEXT_SECONDARY},subtitle1:{fontSize:TS,color:RS.TEXT_SECONDARY},subtitle2:{fontSize:_S,color:RS.TEXT_SECONDARY}},shape:{borderRadius:IS}});function YS(e){return ja({...WS(),direction:e})}class qS{constructor({translator:e}){r(this,"translator",void 0),r(this,"muiTheme",void 0),r(this,"containers",{}),r(this,"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}})),r(this,"setMuiTheme",(e=>{this.muiTheme=YS(e)})),r(this,"destroy",(e=>{delete this.containers[e]})),this.translator=e}}const KS=["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 QS{constructor(e,t){r(this,"embed",void 0),r(this,"translator",void 0),r(this,"charts",{}),r(this,"getCharts",(()=>{var e;return this.charts=(null===(e=this.embed)||void 0===e?void 0:e.getRegisteredTypes()).reduce(((e,t)=>{var n,r;if(!(KS.includes(t.id)||!1===(null===(n=t.libraryInfo)||void 0===n?void 0:n.isLibraryItem)||null!==(r=t.libraryInfo)&&void 0!==r&&r.deprecated)){var o;const n=t;null!==(o=n.libraryInfo)&&void 0!==o&&o.translationKey&&(n.libraryInfo.translation=this.translator.get(n.libraryInfo.translationKey)),e[t.id||t.type]=n}return e}),{}),this.charts})),r(this,"getChart",(e=>(this.charts[e]||this.getCharts(),this.charts[e]))),this.embed=e,this.translator=t}}var XS,ZS=Ov;XS=ZS.createRoot,ZS.hydrateRoot;const JS=(e,t)=>yn.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:yn.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"})}),ew=Y.forwardRef(JS),tw="rgb(89, 89, 89)",nw=un(Xy)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),rw=un(Xy)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),ow=un(Gx,{shouldForwardProp:e=>"width"!==e})((({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}}))),iw=un(Cy)({color:tw,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),aw=un(pE)({"&.MuiListItemIcon-root":{minWidth:32,color:tw,marginRight:"0px"}}),lw=un(Lx)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),sw=un(lx)({"&.MuiButton-contained":{backgroundColor:tw,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:tw,color:tw,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${tw}`}}}),uw=un(Cl)({width:"1em",height:"1em",paddingBottom:"8px"}),cw=un(Cl)({width:"16px",height:"16px"}),dw=({name:e,items:t,onSelect:n})=>q.createElement(q.Fragment,null,q.createElement(lE,{key:e,dense:!0},q.createElement(iw,{noWrap:!0,fontWeight:"bold"},e)),q.createElement(lw,null),t.map((e=>{var t;return q.createElement(lE,{key:null!==(t=e.qExtendsId)&&void 0!==t?t:e.name,divider:!0,disablePadding:!0,disableGutters:!0},q.createElement(Zx,{sx:{minHeight:"32px",height:"auto"},onClick:()=>{n(e)},disableRipple:!0,dense:!0},e.iconPath&&q.createElement(aw,null,e.IconDefinition?q.createElement(e.IconDefinition,null):q.createElement(cw,{viewBox:"0 0 16 16"},q.createElement("path",{d:e.iconPath}))),q.createElement(iw,{noWrap:!0,title:e.translation||e.name},e.translation||e.name)))}))),pw=({categories:e,anchorEl:t,onClose:n,onSelect:r,width:o})=>{const[i,a]=Y.useState(""),l=!!t;return Y.useEffect((()=>{l&&a("")}),[l]),q.createElement(PE,{open:l,anchorEl:t,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"}},q.createElement(Fy,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:q.createElement(Bx,{position:"start"},q.createElement(ew,null))}),q.createElement(lw,null),q.createElement(ow,{width:o},e.map((e=>{const t=e.items.filter((e=>{const t=e.translation||e.name;return(null==t?void 0:t.toLocaleLowerCase().indexOf(i.toLocaleLowerCase()))>-1}));return t.length>0&&q.createElement(dw,{key:e.name,name:e.name,items:t,onSelect:r})}))))},fw=({anchorEl:e,onClose:t,dataHandler:n,translator:r,sharedContainerUtilities:o,width:i})=>{const[a,l]=Y.useState([]),[s,u]=Y.useState({});Y.useEffect((()=>{if(e&&n){(async()=>{const e=await n.getMasterVizList();l(e),u(n.getCharts())})().catch((()=>{}))}}),[e,n]);const c=[],d=[],p=[],f=[],h=[],m=Object.values(s);if(0===m.length&&0===a.length)return null;m.forEach((e=>{var t,n,r;!e.libraryInfo||!e.libraryInfo.isThirdParty&&e.libraryInfo.visible?c.push(e):e.libraryInfo.visible&&("qlik-dashboard-bundle"===(null===(t=e.libraryInfo.bundle)||void 0===t?void 0:t.id)?f.push(e):"qlik-visualization-bundle"===(null===(n=e.libraryInfo.bundle)||void 0===n?void 0:n.id)?p.push(e):"qlik-smart-bundle"===(null===(r=e.libraryInfo.bundle)||void 0===r?void 0:r.id)?h.push(e):!e.libraryInfo.bundle&&e.libraryInfo.isThirdParty&&d.push(e))}));const g=e=>e.map((e=>{var t,n,r,o;return{iconPath:null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath,IconDefinition:null===(n=e.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:e.id,translation:(null===(r=e.libraryInfo)||void 0===r?void 0:r.translation)||(null===(o=e.libraryInfo)||void 0===o?void 0:o.name)||e.id||"",type:e.id}})).sort(((e,t)=>(e.translation||e.name).localeCompare(t.translation||t.name))),b=[{name:r.get("LayoutContainer.Object.MasterItems"),items:a.map((e=>{var t,n;return{qExtendsId:e.qExtendsId,iconPath:s&&(null===(t=s[e.visualization])||void 0===t||null===(t=t.libraryInfo)||void 0===t?void 0:t.iconPath),IconDefinition:null===(n=s[e.visualization])||void 0===n||null===(n=n.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:e.name,type:e.visualization}})).sort(((e,t)=>e.name.localeCompare(t.name)))},{name:r.get("LayoutContainer.Object.Charts"),items:c.map((e=>{var t,n,r,o,i;return{iconPath:(null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath)||"",IconDefinition:null===(n=e.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:(null===(r=e.libraryInfo)||void 0===r?void 0:r.name)||e.id,type:(null===(o=e.libraryInfo)||void 0===o?void 0:o.template)||e.id,translation:(null===(i=e.libraryInfo)||void 0===i?void 0:i.translation)||e.id||""}})).sort(((e,t)=>e.translation.localeCompare(t.translation)))},{name:r.get("LayoutContainer.Object.CustomObjects"),items:g(d)},{name:r.get("LayoutContainer.Object.VisualizationBundle"),items:g(p)},{name:r.get("LayoutContainer.Object.DashboardBundle"),items:g(f)},{name:r.get("LayoutContainer.Object.SmartBundle"),items:g(h)}];return q.createElement(pw,{categories:b,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=>{null!=e&&e.id&&(null==o||o.setSelected([e.id]))})).catch((e=>{console.warn(e)})).finally((()=>{t()}))},onClose:t,width:i})},hw=e=>{var t,n;const r=gw(e);return null!==(t=null===(n=e.objects)||void 0===n?void 0:n.map((e=>{const{childRefId:t}=e;if(!t)return e;const n=r[t];return n?{...e,id:n}:e})))&&void 0!==t?t:[]},mw=(e,t)=>{var n;return null==e||null===(n=e.qChildList)||void 0===n||null===(n=n.qItems)||void 0===n?void 0:n.find((e=>{var n;return(null==e||null===(n=e.qData)||void 0===n?void 0:n.childRefId)===t}))},gw=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var n,r;return e[null==t||null===(n=t.qData)||void 0===n?void 0:n.childRefId]=null==t||null===(r=t.qInfo)||void 0===r?void 0:r.qId,e}),{})};var bw=mw,vw=e=>{const t={...e};return t.objects=hw(t),t},yw=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var n,r;return e[null==t||null===(n=t.qInfo)||void 0===n?void 0:n.qId]=null===(r=t.qData)||void 0===r?void 0:r.childRefId,e}),{})},xw=e=>e.objects.reduce(((e,t)=>(e[t.childRefId]=t,e)),{}),Ew=(e,t)=>{var n;if(!e)return t;const r=mw(e,t);return null==r||null===(n=r.qInfo)||void 0===n?void 0:n.qId};class Sw{constructor({app:e,data:t}){r(this,"layout",void 0),r(this,"app",void 0),r(this,"activeId",""),r(this,"data",void 0),r(this,"properties",void 0),r(this,"setSelectedChild",(e=>{var t;null===(t=this.activeContainer)||void 0===t||null===(t=t.sharedContainerUtilities)||void 0===t||t.setSelected(e)})),r(this,"addChild",(({initProps:e,objectInitProps:t,children:n})=>{if(!this.activeContainer)return;const{dataHandler:r}=this.activeContainer;if(null!=e&&e.qExtendsId){const{qExtendsId:o,qInfo:i}=e;return null==r?void 0:r.addMasterObjectAsChild({initProps:{qExtendsId:o,qInfo:i},objectInitProps:t,children:n})}return null==r?void 0:r.addVizAsChild({type:null==e?void 0:e.visualization,initProps:e,objectInitProps:t,children:n})})),r(this,"deleteChild",(async e=>{if(!this.activeContainer)return;const{dataHandler:t}=this.activeContainer;await(null==t?void 0:t.deleteChildren([e]))})),r(this,"duplicateChild",(async e=>{var t;const{childRefId:n,...r}=e,o=this.getEngineId(n);if(!o)return;const i=await(null===(t=this.app)||void 0===t?void 0:t.getObject(o));if(i&&this.activeContainer){const{sharedContainerUtilities:e}=this.activeContainer,t=await i.getFullPropertyTree(),n=t.qProperty,o=t.qChildren,a=await this.addChild({initProps:n,children:o,objectInitProps:r});a&&(null==e||e.setSelected([a.id]))}})),r(this,"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],XS(r)})(this.activeContainer.element,"add-child-popover"),n=()=>{t.unmount()};null==t||t.render(q.createElement(vl,{theme:this.data.muiTheme},q.createElement(fw,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:n,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})))}})),r(this,"setModel",(e=>{this.activeId=e.id})),r(this,"setLayout",(e=>{this.layout=e})),r(this,"getLayout",(()=>this.layout)),r(this,"getEngineId",(e=>Ew(this.layout,e))),r(this,"setProperties",(e=>{this.properties=e})),r(this,"canAddDimension",(()=>!1)),r(this,"canAddMeasure",(()=>!1)),r(this,"canColorBy",(()=>!1)),r(this,"getDimensions",(()=>[])),r(this,"getMeasures",(()=>[])),r(this,"minDimensions",(()=>0)),r(this,"minMeasures",(()=>0)),r(this,"maxDimensions",(()=>0)),r(this,"maxMeasures",(()=>0)),this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}getObject(e){const t=this.getEngineId(e);var n;if(t)return null===(n=this.activeContainer)||void 0===n?void 0:n.renderHelper.objectMap.get(t)}}function ww(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 Cw(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,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||Rw(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 kw(e){return function(e){if(Array.isArray(e))return ww(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rw(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 Rw(e,t){if(e){if("string"==typeof e)return ww(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)?ww(e,t):void 0}}var _w=["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"],Tw=["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 Lw=function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1),groupHeader:!1,disabled:!1,styles:{fontFamily:e}}};function Pw(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,kw(new Set([r].concat(kw(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(kw(i.map((function(e){return Lw(e)}))),[{value:"DefaultHeader",label:n.get("properties.allFonts"),metaText:n.get("properties.default"),groupHeader:!0}],kw(function(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?Tw:_w}(o).map((function(e){return Lw(e)}))))}function Iw(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 Pw({theme:t,translator:n,defaultValue:a(),flags:i})}}}var Aw,Ow,Mw=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],Nw=function(e){return{value:e,label:e,groupHeader:!1,disabled:!1}};function zw(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,kw(new Set([n].concat(kw(o))))):r.push(n),[{value:"ThemeHeader",label:t.get("properties.themeFontSizes"),metaText:t.get("properties.theme"),groupHeader:!0}].concat(kw(r.map((function(e){return Nw(e)}))),[{value:"DefaultHeader",label:t.get("properties.allFontSizes"),metaText:t.get("properties.default"),groupHeader:!0}],kw(Mw.map((function(e){return Nw(e)}))))}({theme:t,translator:n,defaultValue:i()})}}}function jw(e){var t=e.theme,n=e.translator,r=e.id,o=e.path;return{fontFamily:Iw({theme:t,translator:n,id:r,path:o,flags:e.flags}),fontSize:zw({theme:t,translator:n,id:r,path:o})}}var Dw=function(){if(Ow)return Aw;Ow=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},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return Aw=function e(){var t,n,r,s,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(i(s)||(u=o(s)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&i(r)?r:{},a(d,{name:n,newValue:e(h,c,s)})):void 0!==s&&a(d,{name:n,newValue:s}));return d},Aw}();function $w(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Bw(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Fw(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(Dw);var Hw=1/.7,Uw="\\s*([+-]?\\d+)\\s*",Vw="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Gw="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ww=/^#([0-9a-f]{3,8})$/,Yw=new RegExp(`^rgb\\(${Uw},${Uw},${Uw}\\)$`),qw=new RegExp(`^rgb\\(${Gw},${Gw},${Gw}\\)$`),Kw=new RegExp(`^rgba\\(${Uw},${Uw},${Uw},${Vw}\\)$`),Qw=new RegExp(`^rgba\\(${Gw},${Gw},${Gw},${Vw}\\)$`),Xw=new RegExp(`^hsl\\(${Vw},${Gw},${Gw}\\)$`),Zw=new RegExp(`^hsla\\(${Vw},${Gw},${Gw},${Vw}\\)$`),Jw={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 eC(){return this.rgb().formatHex()}function tC(){return this.rgb().formatRgb()}function nC(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Ww.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?rC(t):3===n?new lC(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?oC(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?oC(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=Yw.exec(e))?new lC(t[1],t[2],t[3],1):(t=qw.exec(e))?new lC(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Kw.exec(e))?oC(t[1],t[2],t[3],t[4]):(t=Qw.exec(e))?oC(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Xw.exec(e))?fC(t[1],t[2]/100,t[3]/100,1):(t=Zw.exec(e))?fC(t[1],t[2]/100,t[3]/100,t[4]):Jw.hasOwnProperty(e)?rC(Jw[e]):"transparent"===e?new lC(NaN,NaN,NaN,0):null}function rC(e){return new lC(e>>16&255,e>>8&255,255&e,1)}function oC(e,t,n,r){return r<=0&&(e=t=n=NaN),new lC(e,t,n,r)}function iC(e){return e instanceof Fw||(e=nC(e)),e?new lC((e=e.rgb()).r,e.g,e.b,e.opacity):new lC}function aC(e,t,n,r){return 1===arguments.length?iC(e):new lC(e,t,n,null==r?1:r)}function lC(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function sC(){return`#${pC(this.r)}${pC(this.g)}${pC(this.b)}`}function uC(){const e=cC(this.opacity);return`${1===e?"rgb(":"rgba("}${dC(this.r)}, ${dC(this.g)}, ${dC(this.b)}${1===e?")":`, ${e})`}`}function cC(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function dC(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function pC(e){return((e=dC(e))<16?"0":"")+e.toString(16)}function fC(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new mC(e,t,n,r)}function hC(e){if(e instanceof mC)return new mC(e.h,e.s,e.l,e.opacity);if(e instanceof Fw||(e=nC(e)),!e)return new mC;if(e instanceof mC)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,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new mC(a,l,s,e.opacity)}function mC(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function gC(e){return(e=(e||0)%360)<0?e+360:e}function bC(e){return Math.max(0,Math.min(1,e||0))}function vC(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}$w(Fw,nC,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:eC,formatHex:eC,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return hC(this).formatHsl()},formatRgb:tC,toString:tC}),$w(lC,aC,Bw(Fw,{brighter(e){return e=null==e?Hw:Math.pow(Hw,e),new lC(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new lC(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new lC(dC(this.r),dC(this.g),dC(this.b),cC(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:sC,formatHex:sC,formatHex8:function(){return`#${pC(this.r)}${pC(this.g)}${pC(this.b)}${pC(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:uC,toString:uC})),$w(mC,(function(e,t,n,r){return 1===arguments.length?hC(e):new mC(e,t,n,null==r?1:r)}),Bw(Fw,{brighter(e){return e=null==e?Hw:Math.pow(Hw,e),new mC(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new mC(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 lC(vC(e>=240?e-240:e+120,o,r),vC(e,o,r),vC(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new mC(gC(this.h),bC(this.s),bC(this.l),cC(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=cC(this.opacity);return`${1===e?"hsl(":"hsla("}${gC(this.h)}, ${100*bC(this.s)}%, ${100*bC(this.l)}%${1===e?")":`, ${e})`}`}}));const yC=Math.PI/180,xC=180/Math.PI,EC=4/29,SC=6/29,wC=3*SC*SC;function CC(e){if(e instanceof kC)return new kC(e.l,e.a,e.b,e.opacity);if(e instanceof PC)return IC(e);e instanceof lC||(e=iC(e));var t,n,r=LC(e.r),o=LC(e.g),i=LC(e.b),a=RC((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=RC((.4360747*r+.3850649*o+.1430804*i)/.96422),n=RC((.0139322*r+.0971045*o+.7141733*i)/.82521)),new kC(116*a-16,500*(t-a),200*(a-n),e.opacity)}function kC(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function RC(e){return e>.008856451679035631?Math.pow(e,1/3):e/wC+EC}function _C(e){return e>SC?e*e*e:wC*(e-EC)}function TC(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function LC(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function PC(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function IC(e){if(isNaN(e.h))return new kC(e.l,0,0,e.opacity);var t=e.h*yC;return new kC(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}$w(kC,(function(e,t,n,r){return 1===arguments.length?CC(e):new kC(e,t,n,null==r?1:r)}),Bw(Fw,{brighter(e){return new kC(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new kC(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 lC(TC(3.1338561*(t=.96422*_C(t))-1.6168667*(e=1*_C(e))-.4906146*(n=.82521*_C(n))),TC(-.9787684*t+1.9161415*e+.033454*n),TC(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),$w(PC,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof PC)return new PC(e.h,e.c,e.l,e.opacity);if(e instanceof kC||(e=CC(e)),0===e.a&&0===e.b)return new PC(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*xC;return new PC(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new PC(e,t,n,null==r?1:r)}),Bw(Fw,{brighter(e){return new PC(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new PC(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return IC(this).rgb()}}));var AC=e=>()=>e;function OC(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):AC(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1==(e=+e)?OC: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):AC(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=aC(e)).r,(t=aC(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=OC(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 MC="center",NC="bottom";function zC(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:MC,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:MC,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:MC,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:MC},{key:"DataRangeIncludingZero",alignment:NC},{key:"LimitedData",alignment:NC},{key:"NegativeOrZeroValues",alignment:NC}].reduce((function(e,t){return e[t.key]=t,e}),{});var jC,DC=["__proto__","constructor"];function $C(e,t,n){if(void 0!==e&&void 0!==t){var r=t.split("."),o=r[r.length-1];if(!DC.some((function(e){return r.includes(e)}))){for(var i=e,a=0;a<r.length-1;++a){var l=r[a];void 0===i[l]&&(i[l]=Number.isNaN(+r[a+1])?{}:[]),i=i[l]}void 0!==n?i[o]=n:delete i[o]}}}function BC(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 FC(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=UC)):void 0===t&&(t=HC);for(var n,r,o,i,a,l=new WC(e),s=[l];n=s.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)s.push(r=o[i]=new WC(o[i])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(GC)}function HC(e){return e.children}function UC(e){return Array.isArray(e)?e[1]:null}function VC(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function GC(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function WC(e){this.data=e,this.depth=this.height=0,this.parent=null}WC.prototype=FC.prototype={constructor:WC,count:function(){return this.eachAfter(BC)},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],l=[],s=-1;i=a.pop();)if(l.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=l.pop();)e.call(t,i,++s,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 FC(this).eachBefore(VC)},[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)}},jC=function(e){
106
+ `),tx.rippleVisible,sx,550,(({theme:e})=>e.transitions.easing.easeInOut),tx.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),tx.child,tx.childLeaving,ux,550,(({theme:e})=>e.transitions.easing.easeInOut),tx.childPulsate,cx,(({theme:e})=>e.transitions.easing.easeInOut)),fx=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=s(n,nx),[u,c]=Y.useState([]),d=Y.useRef(0),p=Y.useRef(null);Y.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[u]);const f=Y.useRef(!1),h=Oo(),m=Y.useRef(null),g=Y.useRef(null),b=Y.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;c((e=>[...e,Ot.jsx(px,{classes:{ripple:Ar(o.ripple,tx.ripple),rippleVisible:Ar(o.rippleVisible,tx.rippleVisible),ripplePulsate:Ar(o.ripplePulsate,tx.ripplePulsate),child:Ar(o.child,tx.child),childLeaving:Ar(o.childLeaving,tx.childLeaving),childPulsate:Ar(o.childPulsate,tx.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},d.current)])),d.current+=1,p.current=a}),[o]),v=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)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const l=a?null:g.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===m.current&&(m.current=()=>{b({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})},h.start(80,(()=>{m.current&&(m.current(),m.current=null)}))):b({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})}),[r,b,h]),y=Y.useCallback((()=>{v({},{pulsate:!0})}),[v]),x=Y.useCallback(((e,t)=>{if(h.clear(),"touchend"===(null==e?void 0:e.type)&&m.current)return m.current(),m.current=null,void h.start(0,(()=>{x(e,t)}));m.current=null,c((e=>e.length>0?e.slice(1):e)),p.current=t}),[h]);return Y.useImperativeHandle(t,(()=>({pulsate:y,start:v,stop:x})),[y,v,x]),Ot.jsx(dx,l({className:Ar(tx.root,o.root,i),ref:g},a,{children:Ot.jsx(Dy,{component:null,exit:!0,children:u})}))}));function hx(e){return Or("MuiButtonBase",e)}const mx=Mr("MuiButtonBase",["root","disabled","focusVisible"]),gx=["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"],bx=Ul("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"},[`&.${mx.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),vx=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:u="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:m,onClick:g,onContextMenu:b,onDragLeave:v,onFocus:y,onFocusVisible:x,onKeyDown:E,onKeyUp:S,onMouseDown:w,onMouseLeave:C,onMouseUp:k,onTouchEnd:R,onTouchMove:_,onTouchStart:T,tabIndex:A=0,TouchRippleProps:I,touchRippleRef:L,type:P}=n,O=s(n,gx),M=Y.useRef(null),N=Y.useRef(null),j=Ao(N,L),{isFocusVisibleRef:z,onFocus:$,onBlur:D,ref:B}=Wo(),[F,W]=Y.useState(!1);c&&F&&W(!1),Y.useImperativeHandle(r,(()=>({focusVisible:()=>{W(!0),M.current.focus()}})),[]);const[G,H]=Y.useState(!1);Y.useEffect((()=>{H(!0)}),[]);const U=G&&!d&&!c;function V(e,t,n=p){return To((r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0}))}Y.useEffect((()=>{F&&f&&!d&&G&&N.current.pulsate()}),[d,f,F,G]);const q=V("start",w),K=V("stop",b),X=V("stop",v),Q=V("stop",k),Z=V("stop",(e=>{F&&e.preventDefault(),C&&C(e)})),J=V("start",T),ee=V("stop",R),te=V("stop",_),ne=V("stop",(e=>{D(e),!1===z.current&&W(!1),m&&m(e)}),!1),re=To((e=>{M.current||(M.current=e.currentTarget),$(e),!0===z.current&&(W(!0),x&&x(e)),y&&y(e)})),oe=()=>{const e=M.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ie=Y.useRef(!1),ae=To((e=>{f&&!ie.current&&F&&N.current&&" "===e.key&&(ie.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),E&&E(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!c&&(e.preventDefault(),g&&g(e))})),le=To((e=>{f&&" "===e.key&&N.current&&F&&!e.defaultPrevented&&(ie.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),S&&S(e),g&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&g(e)}));let se=u;"button"===se&&(O.href||O.to)&&(se=h);const ue={};"button"===se?(ue.type=void 0===P?"button":P,ue.disabled=c):(O.href||O.to||(ue.role="button"),c&&(ue["aria-disabled"]=c));const ce=Ao(t,B,M),de=l({},n,{centerRipple:o,component:u,disabled:c,disableRipple:d,disableTouchRipple:p,focusRipple:f,tabIndex:A,focusVisible:F}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=qo({root:["root",t&&"disabled",n&&"focusVisible"]},hx,o);return n&&r&&(i.root+=` ${r}`),i})(de);return Ot.jsxs(bx,l({as:se,className:Ar(pe.root,a),ownerState:de,onBlur:ne,onClick:g,onContextMenu:K,onFocus:re,onKeyDown:ae,onKeyUp:le,onMouseDown:q,onMouseLeave:Z,onMouseUp:Q,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:J,ref:ce,tabIndex:c?-1:A,type:P},ue,O,{children:[i,U?Ot.jsx(fx,l({ref:j,center:o},I)):null]}))}));function yx(e){return Or("MuiTypography",e)}Mr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const xx=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ex=Ul("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${Jt(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>l({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}))),Sx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},wx={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Cx=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiTypography"}),r=(e=>wx[e]||e)(n.color),o=Sr(l({},n,{color:r})),{align:i="inherit",className:a,component:u,gutterBottom:c=!1,noWrap:d=!1,paragraph:p=!1,variant:f="body1",variantMapping:h=Sx}=o,m=s(o,xx),g=l({},o,{align:i,color:r,className:a,component:u,gutterBottom:c,noWrap:d,paragraph:p,variant:f,variantMapping:h}),b=u||(p?"p":h[f]||Sx[f])||"span",v=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return qo({root:["root",i,"inherit"!==e.align&&`align${Jt(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},yx,a)})(g);return Ot.jsx(Ex,l({as:b,ref:t,ownerState:g,className:Ar(v.root,a)},m))}));const kx=Y.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=Y.useState(null),l=Ao(Y.isValidElement(n)?ei(n):null,t);if(bo((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),bo((()=>{if(i&&!o)return _o(t,i),()=>{_o(t,null)}}),[t,i,o]),o){if(Y.isValidElement(n)){const e={ref:l};return Y.cloneElement(n,e)}return Ot.jsx(Y.Fragment,{children:n})}return Ot.jsx(Y.Fragment,{children:i?xy.createPortal(n,i):i})})),Rx=["onChange","maxRows","minRows","style","value"];function _x(e){return parseInt(e,10)||0}const Tx={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Ax(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const Ix=Y.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,u=s(e,Rx),{current:c}=Y.useRef(null!=a),d=Y.useRef(null),p=Ao(t,d),f=Y.useRef(null),h=Y.useRef(null),m=Y.useCallback((()=>{const t=d.current,n=h.current;if(!t||!n)return;const i=Ro(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,l=_x(i.paddingBottom)+_x(i.paddingTop),s=_x(i.borderBottomWidth)+_x(i.borderTopWidth),u=n.scrollHeight;n.value="x";const c=n.scrollHeight;let p=u;o&&(p=Math.max(Number(o)*c,p)),r&&(p=Math.min(Number(r)*c,p)),p=Math.max(p,c);return{outerHeightStyle:p+("border-box"===a?l+s:0),overflowing:Math.abs(p-u)<=1}}),[r,o,e.placeholder]),g=To((()=>{const e=d.current,t=m();if(!e||!t||Ax(t))return!1;const n=t.outerHeightStyle;return null!=f.current&&f.current!==n})),b=Y.useCallback((()=>{const e=d.current,t=m();if(!e||!t||Ax(t))return;const n=t.outerHeightStyle;f.current!==n&&(f.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""}),[m]),v=Y.useRef(-1);bo((()=>{const e=wo(b),t=null==d?void 0:d.current;if(!t)return;const n=Ro(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver((()=>{g()&&(r.unobserve(t),cancelAnimationFrame(v.current),b(),v.current=requestAnimationFrame((()=>{r.observe(t)})))})),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(v.current),n.removeEventListener("resize",e),r&&r.disconnect()}}),[m,b,g]),bo((()=>{b()}));return Ot.jsxs(Y.Fragment,{children:[Ot.jsx("textarea",l({value:a,onChange:e=>{c||b(),n&&n(e)},ref:p,rows:o,style:i},u)),Ot.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:l({},Tx,i,{paddingTop:0,paddingBottom:0})})]})}));const Lx=Y.createContext(void 0);function Px(){return Y.useContext(Lx)}function Ox(e){return Ot.jsx(lr,l({},e,{defaultTheme:ml,themeId:a}))}function Mx(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Nx(e){return Or("MuiInputBase",e)}const jx=Mr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),zx=["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"],$x=Ul("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${Jt(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>l({},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",[`&.${jx.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&l({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Dx=Ul("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=l({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 l({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] + .${jx.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},[`&.${jx.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"})})),Bx=Ot.jsx(Ox,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Fx=Y.forwardRef((function(e,t){var n;const r=as({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:u,className:c,components:d={},componentsProps:p={},defaultValue:f,disabled:h,disableInjectingGlobalStyles:m,endAdornment:g,fullWidth:b=!1,id:v,inputComponent:y="input",inputProps:x={},inputRef:E,maxRows:S,minRows:w,multiline:C=!1,name:k,onBlur:R,onChange:_,onClick:T,onFocus:A,onKeyDown:I,onKeyUp:L,placeholder:P,readOnly:O,renderSuffix:M,rows:N,slotProps:j={},slots:z={},startAdornment:$,type:D="text",value:B}=r,F=s(r,zx),W=null!=x.value?x.value:B,{current:G}=Y.useRef(null!=W),H=Y.useRef(),U=Y.useCallback((e=>{}),[]),V=Ao(H,E,x.ref,U),[q,K]=Y.useState(!1),X=Px(),Q=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"]});Q.focused=X?X.focused:q,Y.useEffect((()=>{!X&&h&&q&&(K(!1),R&&R())}),[X,h,q,R]);const Z=X&&X.onFilled,J=X&&X.onEmpty,ee=Y.useCallback((e=>{!function(e,t=!1){return e&&(Mx(e.value)&&""!==e.value||t&&Mx(e.defaultValue)&&""!==e.defaultValue)}(e)?J&&J():Z&&Z()}),[Z,J]);bo((()=>{G&&ee({value:W})}),[W,ee,G]);Y.useEffect((()=>{ee(H.current)}),[]);let te=y,ne=x;C&&"input"===te&&(ne=l(N?{type:void 0,minRows:N,maxRows:N}:{type:void 0,maxRows:S,minRows:w},ne),te=Ix);Y.useEffect((()=>{X&&X.setAdornedStart(Boolean($))}),[X,$]);const re=l({},r,{color:Q.color||"primary",disabled:Q.disabled,endAdornment:g,error:Q.error,focused:Q.focused,formControl:X,fullWidth:b,hiddenLabel:Q.hiddenLabel,multiline:C,size:Q.size,startAdornment:$,type:D}),oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return qo({root:["root",`color${Jt(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Jt(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},Nx,t)})(re),ie=z.root||d.Root||$x,ae=j.root||p.root||{},le=z.input||d.Input||Dx;return ne=l({},ne,null!=(n=j.input)?n:p.input),Ot.jsxs(Y.Fragment,{children:[!m&&Bx,Ot.jsxs(ie,l({},ae,!Ko(ie)&&{ownerState:l({},re,ae.ownerState)},{ref:t,onClick:e=>{H.current&&e.currentTarget===e.target&&H.current.focus(),T&&T(e)}},F,{className:Ar(oe.root,ae.className,c,O&&"MuiInputBase-readOnly"),children:[$,Ot.jsx(Lx.Provider,{value:null,children:Ot.jsx(le,l({ownerState:re,"aria-invalid":Q.error,"aria-describedby":i,autoComplete:a,autoFocus:u,defaultValue:f,disabled:Q.disabled,id:v,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:k,placeholder:P,readOnly:O,required:Q.required,rows:N,value:W,onKeyDown:I,onKeyUp:L,type:D},ne,!Ko(le)&&{as:te,ownerState:l({},re,ne.ownerState)},{ref:V,className:Ar(oe.input,ne.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{R&&R(e),x.onBlur&&x.onBlur(e),X&&X.onBlur?X.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!G){const t=e.target||H.current;if(null==t)throw new Error(o(1));ee({value:t.value})}x.onChange&&x.onChange(e,...t),_&&_(e,...t)},onFocus:e=>{Q.disabled?e.stopPropagation():(A&&A(e),x.onFocus&&x.onFocus(e),X&&X.onFocus?X.onFocus(e):K(!0))}}))}),g,M?M(l({},Q,{startAdornment:$})):null]}))]})})),Wx=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Gx={entering:{opacity:1},entered:{opacity:1}},Hx=Y.forwardRef((function(e,t){const n=gl(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:u,in:c,onEnter:d,onEntered:p,onEntering:f,onExit:h,onExited:m,onExiting:g,style:b,timeout:v=r,TransitionComponent:y=Iy}=e,x=s(e,Wx),E=Y.useRef(null),S=Ao(E,ei(a),t),w=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},C=w(f),k=w(((e,t)=>{Ky(e);const r=Xy({style:b,timeout:v,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),d&&d(e,t)})),R=w(p),_=w(g),T=w((e=>{const t=Xy({style:b,timeout:v,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),h&&h(e)})),A=w(m);return Ot.jsx(y,l({appear:i,in:c,nodeRef:E,onEnter:k,onEntered:R,onEntering:C,onExit:T,onExited:A,onExiting:_,addEndListener:e=>{o&&o(E.current,e)},timeout:v},x,{children:(e,t)=>Y.cloneElement(a,l({style:l({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},Gx[e],b,a.props.style),ref:S},t))}))}));function Ux(e){return Or("MuiBackdrop",e)}Mr("MuiBackdrop",["root","invisible"]);const Vx=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Yx=Ul("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>l({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"}))),qx=Y.forwardRef((function(e,t){var n,r,o;const i=as({props:e,name:"MuiBackdrop"}),{children:a,className:u,component:c="div",components:d={},componentsProps:p={},invisible:f=!1,open:h,slotProps:m={},slots:g={},TransitionComponent:b=Hx,transitionDuration:v}=i,y=s(i,Vx),x=l({},i,{component:c,invisible:f}),E=(e=>{const{classes:t,invisible:n}=e;return qo({root:["root",n&&"invisible"]},Ux,t)})(x),S=null!=(n=m.root)?n:p.root;return Ot.jsx(b,l({in:h,timeout:v},y,{children:Ot.jsx(Yx,l({"aria-hidden":!0},S,{as:null!=(r=null!=(o=g.root)?o:d.Root)?r:c,className:Ar(E.root,u,null==S?void 0:S.className),ownerState:l({},x,null==S?void 0:S.ownerState),classes:E,ref:t,children:a}))}))})),Kx=Mr("MuiBox",["root"]),Xx=hl(),Qx=Lr({themeId:a,defaultTheme:Xx,defaultClassName:Kx.root,generateClassName:_r.generate});function Zx(e){return Or("MuiButton",e)}const Jx=Mr("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"]),eE=Y.createContext({}),tE=Y.createContext(void 0),nE=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],rE=e=>l({},"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}}),oE=Ul(vx,{shouldForwardProp:e=>Hl(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Jt(n.color)}`],t[`size${Jt(n.size)}`],t[`${n.variant}Size${Jt(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 l({},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":l({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Zi(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})`:Zi(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})`:Zi(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":l({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Jx.focusVisible}`]:l({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Jx.disabled}`]:l({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 ${Zi(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"},[`&.${Jx.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Jx.disabled}`]:{boxShadow:"none"}})),iE=Ul("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Jt(n.size)}`]]}})((({ownerState:e})=>l({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},rE(e)))),aE=Ul("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Jt(n.size)}`]]}})((({ownerState:e})=>l({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},rE(e)))),lE=Y.forwardRef((function(e,t){const n=Y.useContext(eE),r=Y.useContext(tE),o=as({props:mo(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:u="button",className:c,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,size:b="medium",startIcon:v,type:y,variant:x="text"}=o,E=s(o,nE),S=l({},o,{color:a,component:u,disabled:d,disableElevation:p,disableFocusRipple:f,fullWidth:g,size:b,type:y,variant:x}),w=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return l({},a,qo({root:["root",i,`${i}${Jt(t)}`,`size${Jt(o)}`,`${i}Size${Jt(o)}`,`color${Jt(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Jt(o)}`],endIcon:["icon","endIcon",`iconSize${Jt(o)}`]},Zx,a))})(S),C=v&&Ot.jsx(iE,{className:w.startIcon,ownerState:S,children:v}),k=h&&Ot.jsx(aE,{className:w.endIcon,ownerState:S,children:h}),R=r||"";return Ot.jsxs(oE,l({ownerState:S,className:Ar(n.className,w.root,c,R),component:u,disabled:d,focusRipple:!f,focusVisibleClassName:Ar(w.focusVisible,m),ref:t,type:y},E,{classes:w,children:[C,i,k]}))}));function sE(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function uE(e){return parseInt(Ro(e).getComputedStyle(e).paddingRight,10)||0}function cE(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&&sE(e,o)}))}function dE(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function pE(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=ko(e);return t.body===e?Ro(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Go(ko(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${uE(r)+e}px`;const t=ko(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${uE(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=ko(r).body;else{const t=r.parentElement,n=Ro(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 fE=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function hE(e){const t=[],n=[];return Array.from(e.querySelectorAll(fE)).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 mE(){return!0}function gE(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=hE,isEnabled:a=mE,open:l}=e,s=Y.useRef(!1),u=Y.useRef(null),c=Y.useRef(null),d=Y.useRef(null),p=Y.useRef(null),f=Y.useRef(!1),h=Y.useRef(null),m=Ao(ei(t),h),g=Y.useRef(null);Y.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),Y.useEffect((()=>{if(!l||!h.current)return;const e=ko(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),Y.useEffect((()=>{if(!l||!h.current)return;const e=ko(h.current),t=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==c.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(n=i(h.current)),n.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.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,l,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Ot.jsxs(Y.Fragment,{children:[Ot.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),Y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Ot.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const bE=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&&sE(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);cE(t,e.mount,e.modalRef,r,!0);const o=dE(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=dE(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=pE(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=dE(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&&sE(e.modalRef,t),cE(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&&sE(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function vE(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=bE,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:u,onClose:c,open:d,rootRef:p}=e,f=Y.useRef({}),h=Y.useRef(null),m=Y.useRef(null),g=Ao(m,p),[b,v]=Y.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(u);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const E=()=>(f.current.modalRef=m.current,f.current.mount=h.current,f.current),S=()=>{o.mount(E(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},w=To((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||ko(h.current).body;o.add(E(),e),m.current&&S()})),C=Y.useCallback((()=>o.isTopModal(E())),[o]),k=To((e=>{h.current=e,e&&(d&&C()?S():m.current&&sE(m.current,x))})),R=Y.useCallback((()=>{o.remove(E(),x)}),[x,o]);Y.useEffect((()=>()=>{R()}),[R]),Y.useEffect((()=>{d?w():y&&i||R()}),[d,R,y,i,w]);const _=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&C()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},T=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=Xo(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=l({},n,t);return l({role:"presentation"},r,{onKeyDown:_(r),ref:g})},getBackdropProps:(e={})=>l({"aria-hidden":!0},e,{onClick:T(e),open:d}),getTransitionProps:()=>({onEnter:So((()=>{v(!1),a&&a()}),null==u?void 0:u.props.onEnter),onExited:So((()=>{v(!0),s&&s(),i&&R()}),null==u?void 0:u.props.onExited)}),rootRef:g,portalRef:k,isTopModal:C,exited:b,hasTransition:y}}function yE(e){return Or("MuiModal",e)}Mr("MuiModal",["root","hidden","backdrop"]);const xE=["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"],EE=Ul("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})=>l({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),SE=Ul(qx,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),wE=Y.forwardRef((function(e,t){var n,r,o,i,a,u;const c=as({name:"MuiModal",props:e}),{BackdropComponent:d=SE,BackdropProps:p,className:f,closeAfterTransition:h=!1,children:m,container:g,component:b,components:v={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:E=!1,disableEscapeKeyDown:S=!1,disablePortal:w=!1,disableRestoreFocus:C=!1,disableScrollLock:k=!1,hideBackdrop:R=!1,keepMounted:_=!1,onBackdropClick:T,open:A,slotProps:I,slots:L}=c,P=s(c,xE),O=l({},c,{closeAfterTransition:h,disableAutoFocus:x,disableEnforceFocus:E,disableEscapeKeyDown:S,disablePortal:w,disableRestoreFocus:C,disableScrollLock:k,hideBackdrop:R,keepMounted:_}),{getRootProps:M,getBackdropProps:N,getTransitionProps:j,portalRef:z,isTopModal:$,exited:D,hasTransition:B}=vE(l({},O,{rootRef:t})),F=l({},O,{exited:D}),W=(e=>{const{open:t,exited:n,classes:r}=e;return qo({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},yE,r)})(F),G={};if(void 0===m.props.tabIndex&&(G.tabIndex="-1"),B){const{onEnter:e,onExited:t}=j();G.onEnter=e,G.onExited=t}const H=null!=(n=null!=(r=null==L?void 0:L.root)?r:v.Root)?n:EE,U=null!=(o=null!=(i=null==L?void 0:L.backdrop)?i:v.Backdrop)?o:d,V=null!=(a=null==I?void 0:I.root)?a:y.root,q=null!=(u=null==I?void 0:I.backdrop)?u:y.backdrop,K=Jo({elementType:H,externalSlotProps:V,externalForwardedProps:P,getSlotProps:M,additionalProps:{ref:t,as:b},ownerState:F,className:Ar(f,null==V?void 0:V.className,null==W?void 0:W.root,!F.open&&F.exited&&(null==W?void 0:W.hidden))}),X=Jo({elementType:U,externalSlotProps:q,additionalProps:p,getSlotProps:e=>N(l({},e,{onClick:t=>{T&&T(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Ar(null==q?void 0:q.className,null==p?void 0:p.className,null==W?void 0:W.backdrop),ownerState:F});return _||A||B&&!D?Ot.jsx(kx,{ref:z,container:g,disablePortal:w,children:Ot.jsxs(H,l({},K,{children:[!R&&d?Ot.jsx(U,l({},X)):null,Ot.jsx(gE,{disableEnforceFocus:E,disableAutoFocus:x,disableRestoreFocus:C,isEnabled:$,open:A,children:Y.cloneElement(m,G)})]}))}):null}));function CE(e){return Or("MuiDivider",e)}const kE=Mr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),RE=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],_E=Ul("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})=>l({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)`:Zi(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})=>l({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>l({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>l({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>l({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),TE=Ul("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>l({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)`}))),AE=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:u=!1,light:c=!1,orientation:d="horizontal",role:p=("hr"!==a?"separator":void 0),textAlign:f="center",variant:h="fullWidth"}=n,m=s(n,RE),g=l({},n,{absolute:r,component:a,flexItem:u,light:c,orientation:d,role:p,textAlign:f,variant:h}),b=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return qo({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},CE,r)})(g);return Ot.jsx(_E,l({as:a,className:Ar(b.root,i),role:p,ref:t,ownerState:g},m,{children:o?Ot.jsx(TE,{className:b.wrapper,ownerState:g,children:o}):null}))}));AE.muiSkipListHighlight=!0;const IE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function LE(e){return`scale(${e}, ${e**2})`}const PE={entering:{opacity:1,transform:LE(1)},entered:{opacity:1,transform:"none"}},OE="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ME=Y.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:u,onEntered:c,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g="auto",TransitionComponent:b=Iy}=e,v=s(e,IE),y=Oo(),x=Y.useRef(),E=gl(),S=Y.useRef(null),w=Ao(S,ei(o),t),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},k=C(d),R=C(((e,t)=>{Ky(e);const{duration:n,delay:r,easing:o}=Xy({style:m,timeout:g,easing:i},{mode:"enter"});let a;"auto"===g?(a=E.transitions.getAutoHeightDuration(e.clientHeight),x.current=a):a=n,e.style.transition=[E.transitions.create("opacity",{duration:a,delay:r}),E.transitions.create("transform",{duration:OE?a:.666*a,delay:r,easing:o})].join(","),u&&u(e,t)})),_=C(c),T=C(h),A=C((e=>{const{duration:t,delay:n,easing:r}=Xy({style:m,timeout:g,easing:i},{mode:"exit"});let o;"auto"===g?(o=E.transitions.getAutoHeightDuration(e.clientHeight),x.current=o):o=t,e.style.transition=[E.transitions.create("opacity",{duration:o,delay:n}),E.transitions.create("transform",{duration:OE?o:.666*o,delay:OE?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=LE(.75),p&&p(e)})),I=C(f);return Ot.jsx(b,l({appear:r,in:a,nodeRef:S,onEnter:R,onEntered:_,onEntering:k,onExit:A,onExited:I,onExiting:T,addEndListener:e=>{"auto"===g&&y.start(x.current||0,e),n&&n(S.current,e)},timeout:"auto"===g?null:g},v,{children:(e,t)=>Y.cloneElement(o,l({style:l({opacity:0,transform:LE(.75),visibility:"exited"!==e||a?void 0:"hidden"},PE[e],m,o.props.style),ref:w},t))}))}));function NE(e){return Or("MuiInputAdornment",e)}ME.muiSupportAuto=!0;const jE=Mr("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var zE;const $E=["children","className","component","disablePointerEvents","disableTypography","position","variant"],DE=Ul("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Jt(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>l({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${jE.positionStart}&:not(.${jE.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),BE=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:u=!1,position:c,variant:d}=n,p=s(n,$E),f=Px()||{};let h=d;d&&f.variant,f&&!h&&(h=f.variant);const m=l({},n,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:a,position:c,variant:h}),g=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e;return qo({root:["root",n&&"disablePointerEvents",o&&`position${Jt(o)}`,a,r&&"hiddenLabel",i&&`size${Jt(i)}`]},NE,t)})(m);return Ot.jsx(Lx.Provider,{value:null,children:Ot.jsx(DE,l({as:i,ownerState:m,className:Ar(g.root,o),ref:t},p,{children:"string"!=typeof r||u?Ot.jsxs(Y.Fragment,{children:["start"===c?zE||(zE=Ot.jsx("span",{className:"notranslate",children:"​"})):null,r]}):Ot.jsx(Cx,{color:"text.secondary",children:r})}))})})),FE=Y.createContext({});function WE(e){return Or("MuiList",e)}Mr("MuiList",["root","padding","dense","subheader"]);const GE=["children","className","component","dense","disablePadding","subheader"],HE=Ul("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})=>l({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),UE=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:u=!1,subheader:c}=n,d=s(n,GE),p=Y.useMemo((()=>({dense:a})),[a]),f=l({},n,{component:i,dense:a,disablePadding:u}),h=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return qo({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},WE,t)})(f);return Ot.jsx(FE.Provider,{value:p,children:Ot.jsxs(HE,l({as:i,className:Ar(h.root,o),ref:t,ownerState:f},d,{children:[c,r]}))})}));function VE(e){return Or("MuiListItem",e)}const YE=Mr("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function qE(e){return Or("MuiListItemButton",e)}const KE=Mr("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),XE=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],QE=Ul(vx,{shouldForwardProp:e=>Hl(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})=>l({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"}},[`&.${KE.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${KE.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${KE.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Zi(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})`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${KE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${KE.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}))),ZE=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:u=!1,disableGutters:c=!1,divider:d=!1,focusVisibleClassName:p,selected:f=!1,className:h}=n,m=s(n,XE),g=Y.useContext(FE),b=Y.useMemo((()=>({dense:u||g.dense||!1,alignItems:r,disableGutters:c})),[r,g.dense,u,c]),v=Y.useRef(null);bo((()=>{o&&v.current&&v.current.focus()}),[o]);const y=l({},n,{alignItems:r,dense:b.dense,disableGutters:c,divider:d,selected:f}),x=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:s}=e;return l({},n,qo({root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},qE,n))})(y),E=Ao(v,t);return Ot.jsx(FE.Provider,{value:b,children:Ot.jsx(QE,l({ref:E,href:m.href||m.to,component:(m.href||m.to)&&"div"===i?"button":i,focusVisibleClassName:Ar(x.focusVisible,p),ownerState:y,className:Ar(x.root,h)},m,{classes:x,children:a}))})}));function JE(e){return Or("MuiListItemSecondaryAction",e)}Mr("MuiListItemSecondaryAction",["root","disableGutters"]);const eS=["className"],tS=Ul("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>l({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),nS=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=s(n,eS),i=l({},n,{disableGutters:Y.useContext(FE).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return qo({root:["root",t&&"disableGutters"]},JE,n)})(i);return Ot.jsx(tS,l({className:Ar(a.root,r),ownerState:i,ref:t},o))}));nS.muiName="ListItemSecondaryAction";const rS=["className"],oS=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],iS=Ul("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})=>l({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&l({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${KE.root}`]:{paddingRight:48}},{[`&.${YE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${YE.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${YE.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${YE.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"}},[`&.${YE.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Zi(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})`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),aS=Ul("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),lS=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:i=!1,children:a,className:u,component:c,components:d={},componentsProps:p={},ContainerComponent:f="li",ContainerProps:{className:h}={},dense:m=!1,disabled:g=!1,disableGutters:b=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:x,secondaryAction:E,selected:S=!1,slotProps:w={},slots:C={}}=n,k=s(n.ContainerProps,rS),R=s(n,oS),_=Y.useContext(FE),T=Y.useMemo((()=>({dense:m||_.dense||!1,alignItems:r,disableGutters:b})),[r,_.dense,m,b]),A=Y.useRef(null);bo((()=>{o&&A.current&&A.current.focus()}),[o]);const I=Y.Children.toArray(a),L=I.length&&Co(I[I.length-1],["ListItemSecondaryAction"]),P=l({},n,{alignItems:r,autoFocus:o,button:i,dense:T.dense,disabled:g,disableGutters:b,disablePadding:v,divider:y,hasSecondaryAction:L,selected:S}),O=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:l,divider:s,hasSecondaryAction:u,selected:c}=e;return qo({root:["root",o&&"dense",!a&&"gutters",!l&&"padding",s&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},VE,r)})(P),M=Ao(A,t),N=C.root||d.Root||iS,j=w.root||p.root||{},z=l({className:Ar(O.root,j.className,u),disabled:g},R);let $=c||"li";return i&&(z.component=c||"div",z.focusVisibleClassName=Ar(YE.focusVisible,x),$=vx),L?($=z.component||c?$:"div","li"===f&&("li"===$?$="div":"li"===z.component&&(z.component="div")),Ot.jsx(FE.Provider,{value:T,children:Ot.jsxs(aS,l({as:f,className:Ar(O.container,h),ref:M,ownerState:P},k,{children:[Ot.jsx(N,l({},j,!Ko(N)&&{as:$,ownerState:l({},P,j.ownerState)},z,{children:I})),I.pop()]}))})):Ot.jsx(FE.Provider,{value:T,children:Ot.jsxs(N,l({},j,{as:$,ref:M},!Ko(N)&&{ownerState:l({},P,j.ownerState)},z,{children:[I,E&&Ot.jsx(nS,{children:E})]}))})}));function sS(e){return Or("MuiListItemIcon",e)}const uS=Mr("MuiListItemIcon",["root","alignItemsFlexStart"]),cS=["className"],dS=Ul("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})=>l({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),pS=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=s(n,cS),i=l({},n,{alignItems:Y.useContext(FE).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return qo({root:["root","flex-start"===t&&"alignItemsFlexStart"]},sS,n)})(i);return Ot.jsx(dS,l({className:Ar(a.root,r),ownerState:i,ref:t},o))})),fS=Mr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),hS=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function mS(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function gS(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function bS(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 vS(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&bS(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const yS=Y.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:u=!1,disableListWrap:c=!1,onKeyDown:d,variant:p="selectedMenu"}=e,f=s(e,hS),h=Y.useRef(null),m=Y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bo((()=>{r&&h.current.focus()}),[r]),Y.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&n){const n=`${Go(ko(e))}px`;h.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,h.current.style.width=`calc(100% + ${n})`}return h.current}})),[]);const g=Ao(h,t);let b=-1;Y.Children.forEach(i,((e,t)=>{Y.isValidElement(e)?(e.props.disabled||("selectedMenu"===p&&e.props.selected||-1===b)&&(b=t),b===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(b+=1,b>=i.length&&(b=-1))):b===t&&(b+=1,b>=i.length&&(b=-1))}));const v=Y.Children.map(i,((e,t)=>{if(t===b){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===p&&(t.tabIndex=0),Y.cloneElement(e,t)}return e}));return Ot.jsx(UE,l({role:"menu",ref:g,className:a,onKeyDown:e=>{const t=h.current,n=e.key,r=ko(t).activeElement;if("ArrowDown"===n)e.preventDefault(),vS(t,r,c,u,mS);else if("ArrowUp"===n)e.preventDefault(),vS(t,r,c,u,gS);else if("Home"===n)e.preventDefault(),vS(t,null,c,u,mS);else if("End"===n)e.preventDefault(),vS(t,null,c,u,gS);else if(1===n.length){const o=m.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&&bS(r,o);o.previousKeyMatched&&(l||vS(t,r,!1,u,mS,o))?e.preventDefault():o.previousKeyMatched=!1}d&&d(e)},tabIndex:r?0:-1},f,{children:v}))}));function xS(e){return Or("MuiPopover",e)}Mr("MuiPopover",["root","paper"]);const ES=["onEntering"],SS=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],wS=["slotProps"];function CS(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function kS(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function RS(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function _S(e){return"function"==typeof e?e():e}const TS=Ul(wE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),AS=Ul(ex,{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}),IS=Y.forwardRef((function(e,t){var n,r,o;const i=as({props:e,name:"MuiPopover"}),{action:a,anchorEl:u,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:p="anchorEl",children:f,className:h,container:m,elevation:g=8,marginThreshold:b=16,open:v,PaperProps:y={},slots:x,slotProps:E,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:w=ME,transitionDuration:C="auto",TransitionProps:{onEntering:k}={},disableScrollLock:R=!1}=i,_=s(i.TransitionProps,ES),T=s(i,SS),A=null!=(n=null==E?void 0:E.paper)?n:y,I=Y.useRef(),L=Ao(I,A.ref),P=l({},i,{anchorOrigin:c,anchorReference:p,elevation:g,marginThreshold:b,externalPaperSlotProps:A,transformOrigin:S,TransitionComponent:w,transitionDuration:C,TransitionProps:_}),O=(e=>{const{classes:t}=e;return qo({root:["root"],paper:["paper"]},xS,t)})(P),M=Y.useCallback((()=>{if("anchorPosition"===p)return d;const e=_S(u),t=(e&&1===e.nodeType?e:ko(I.current).body).getBoundingClientRect();return{top:t.top+CS(t,c.vertical),left:t.left+kS(t,c.horizontal)}}),[u,c.horizontal,c.vertical,d,p]),N=Y.useCallback((e=>({vertical:CS(e,S.vertical),horizontal:kS(e,S.horizontal)})),[S.horizontal,S.vertical]),j=Y.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=N(t);if("none"===p)return{top:null,left:null,transformOrigin:RS(n)};const r=M();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,l=i+t.width,s=Ro(_S(u)),c=s.innerHeight-b,d=s.innerWidth-b;if(null!==b&&o<b){const e=o-b;o-=e,n.vertical+=e}else if(null!==b&&a>c){const e=a-c;o-=e,n.vertical+=e}if(null!==b&&i<b){const e=i-b;i-=e,n.horizontal+=e}else if(l>d){const e=l-d;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:RS(n)}}),[u,p,M,N,b]),[z,$]=Y.useState(v),D=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",D),()=>window.removeEventListener("scroll",D))),[u,R,D]);Y.useEffect((()=>{v&&D()})),Y.useImperativeHandle(a,(()=>v?{updatePosition:()=>{D()}}:null),[v,D]),Y.useEffect((()=>{if(!v)return;const e=wo((()=>{D()})),t=Ro(u);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[u,v,D]);let B=C;"auto"!==C||w.muiSupportAuto||(B=void 0);const F=m||(u?ko(_S(u)).body:void 0),W=null!=(r=null==x?void 0:x.root)?r:TS,G=null!=(o=null==x?void 0:x.paper)?o:AS,H=Jo({elementType:G,externalSlotProps:l({},A,{style:z?A.style:l({},A.style,{opacity:0})}),additionalProps:{elevation:g,ref:L},ownerState:P,className:Ar(O.paper,null==A?void 0:A.className)}),U=Jo({elementType:W,externalSlotProps:(null==E?void 0:E.root)||{},externalForwardedProps:T,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:F,open:v},ownerState:P,className:Ar(O.root,h)}),{slotProps:V}=U,q=s(U,wS);return Ot.jsx(W,l({},q,!Ko(W)&&{slotProps:V,disableScrollLock:R},{children:Ot.jsx(w,l({appear:!0,in:v,onEntering:(e,t)=>{k&&k(e,t),D()},onExited:()=>{$(!1)},timeout:B},_,{children:Ot.jsx(G,l({},H,{children:f}))}))}))}));function LS(e){return Or("MuiMenu",e)}Mr("MuiMenu",["root","paper","list"]);const PS=["onEntering"],OS=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],MS={vertical:"top",horizontal:"right"},NS={vertical:"top",horizontal:"left"},jS=Ul(IS,{shouldForwardProp:e=>Hl(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zS=Ul(AS,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),$S=Ul(yS,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),DS=Y.forwardRef((function(e,t){var n,r;const o=as({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:u,disableAutoFocusItem:c=!1,MenuListProps:d={},onClose:p,open:f,PaperProps:h={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:b}={},variant:v="selectedMenu",slots:y={},slotProps:x={}}=o,E=s(o.TransitionProps,PS),S=s(o,OS),w=si(),C=l({},o,{autoFocus:i,disableAutoFocusItem:c,MenuListProps:d,onEntering:b,PaperProps:h,transitionDuration:g,TransitionProps:E,variant:v}),k=(e=>{const{classes:t}=e;return qo({root:["root"],paper:["paper"],list:["list"]},LS,t)})(C),R=i&&!c&&f,_=Y.useRef(null);let T=-1;Y.Children.map(a,((e,t)=>{Y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===T)&&(T=t))}));const A=null!=(n=y.paper)?n:zS,I=null!=(r=x.paper)?r:h,L=Jo({elementType:y.root,externalSlotProps:x.root,ownerState:C,className:[k.root,u]}),P=Jo({elementType:A,externalSlotProps:I,ownerState:C,className:k.paper});return Ot.jsx(jS,l({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:w?"right":"left"},transformOrigin:w?MS:NS,slots:{paper:A,root:y.root},slotProps:{root:L,paper:P},open:f,ref:t,transitionDuration:g,TransitionProps:l({onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:w?"rtl":"ltr"}),b&&b(e,t)}},E),ownerState:C},S,{classes:m,children:Ot.jsx($S,l({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:_,autoFocus:i&&(-1===T||c),autoFocusItem:R,variant:v},d,{className:Ar(k.list,d.className),children:a}))}))}));function BS(e){return Or("MuiMenuItem",e)}const FS=Mr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),WS=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],GS=Ul(vx,{shouldForwardProp:e=>Hl(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})=>l({},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"}},[`&.${FS.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${FS.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${FS.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Zi(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})`:Zi(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${FS.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${FS.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${kE.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${kE.inset}`]:{marginLeft:52},[`& .${fS.root}`]:{marginTop:0,marginBottom:0},[`& .${fS.inset}`]:{paddingLeft:36},[`& .${uS.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&l({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${uS.root} svg`]:{fontSize:"1.25rem"}})))),HS=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:u=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:p,className:f}=n,h=s(n,WS),m=Y.useContext(FE),g=Y.useMemo((()=>({dense:i||m.dense||!1,disableGutters:u})),[m.dense,i,u]),b=Y.useRef(null);bo((()=>{r&&b.current&&b.current.focus()}),[r]);const v=l({},n,{dense:g.dense,divider:a,disableGutters:u}),y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return l({},a,qo({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},BS,a))})(n),x=Ao(b,t);let E;return n.disabled||(E=void 0!==p?p:-1),Ot.jsx(FE.Provider,{value:g,children:Ot.jsx(GS,l({ref:x,role:d,tabIndex:E,component:o,focusVisibleClassName:Ar(y.focusVisible,c),className:Ar(y.root,f)},h,{ownerState:v,classes:y}))})}));function US(e){return Or("MuiTab",e)}const VS=Mr("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),YS=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],qS=Ul(vx,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Jt(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${VS.iconWrapper}`]:t.iconWrapper}]}})((({theme:e,ownerState:t})=>l({},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,[`& > .${VS.iconWrapper}`]:l({},"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,[`&.${VS.selected}`]:{opacity:1},[`&.${VS.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${VS.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${VS.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${VS.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${VS.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)}))),KS=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiTab"}),{className:r,disabled:o=!1,disableFocusRipple:i=!1,fullWidth:a,icon:u,iconPosition:c="top",indicator:d,label:p,onChange:f,onClick:h,onFocus:m,selected:g,selectionFollowsFocus:b,textColor:v="inherit",value:y,wrapped:x=!1}=n,E=s(n,YS),S=l({},n,{disabled:o,disableFocusRipple:i,selected:g,icon:!!u,iconPosition:c,label:!!p,fullWidth:a,textColor:v,wrapped:x}),w=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:l,disabled:s}=e;return qo({root:["root",i&&a&&"labelIcon",`textColor${Jt(n)}`,r&&"fullWidth",o&&"wrapped",l&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]},US,t)})(S),C=u&&p&&Y.isValidElement(u)?Y.cloneElement(u,{className:Ar(w.iconWrapper,u.props.className)}):u;return Ot.jsxs(qS,l({focusRipple:!i,className:Ar(w.root,r),ref:t,role:"tab","aria-selected":g,disabled:o,onClick:e=>{!g&&f&&f(e,y),h&&h(e)},onFocus:e=>{b&&!g&&f&&f(e,y),m&&m(e)},ownerState:S,tabIndex:g?0:-1},E,{children:["top"===c||"start"===c?Ot.jsxs(Y.Fragment,{children:[C,p]}):Ot.jsxs(Y.Fragment,{children:[p,C]}),d]}))}));var XS=ds(Ot.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),QS=ds(Ot.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function ZS(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const JS=["onChange"],ew={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function tw(e){return Or("MuiTabScrollButton",e)}const nw=Mr("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),rw=["className","slots","slotProps","direction","orientation","disabled"],ow=Ul(vx,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>l({width:40,flexShrink:0,opacity:.8,[`&.${nw.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),iw=Y.forwardRef((function(e,t){var n,r;const o=as({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:u={},direction:c}=o,d=s(o,rw),p=l({isRtl:si()},o),f=(e=>{const{classes:t,orientation:n,disabled:r}=e;return qo({root:["root",n,r&&"disabled"]},tw,t)})(p),h=null!=(n=a.StartScrollButtonIcon)?n:XS,m=null!=(r=a.EndScrollButtonIcon)?r:QS,g=Jo({elementType:h,externalSlotProps:u.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),b=Jo({elementType:m,externalSlotProps:u.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return Ot.jsx(ow,l({component:"div",className:Ar(f.root,i),ref:t,role:null,ownerState:p,tabIndex:null},d,{children:"left"===c?Ot.jsx(h,l({},g)):Ot.jsx(m,l({},b))}))}));function aw(e){return Or("MuiTabs",e)}const lw=Mr("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),sw=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],uw=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,cw=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,dw=(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)}},pw=Ul("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${lw.scrollButtons}`]:t.scrollButtons},{[`& .${lw.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>l({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${lw.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),fw=Ul("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})=>l({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"}))),hw=Ul("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})=>l({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),mw=Ul("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>l({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}))),gw=Ul((function(e){const{onChange:t}=e,n=s(e,JS),r=Y.useRef(),o=Y.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return bo((()=>{const e=wo((()=>{const e=r.current;i(),e!==r.current&&t(r.current)})),n=Ro(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),Y.useEffect((()=>{i(),t(r.current)}),[t]),Ot.jsx("div",l({style:ew},n,{ref:o}))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),bw={},vw=Y.forwardRef((function(e,t){const n=as({props:e,name:"MuiTabs"}),r=gl(),o=si(),{"aria-label":i,"aria-labelledby":a,action:u,centered:c=!1,children:d,className:p,component:f="div",allowScrollButtonsMobile:h=!1,indicatorColor:m="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:v=iw,scrollButtons:y="auto",selectionFollowsFocus:x,slots:E={},slotProps:S={},TabIndicatorProps:w={},TabScrollButtonProps:C={},textColor:k="primary",value:R,variant:_="standard",visibleScrollbar:T=!1}=n,A=s(n,sw),I="scrollable"===_,L="vertical"===b,P=L?"scrollTop":"scrollLeft",O=L?"top":"left",M=L?"bottom":"right",N=L?"clientHeight":"clientWidth",j=L?"height":"width",z=l({},n,{component:f,allowScrollButtonsMobile:h,indicatorColor:m,orientation:b,vertical:L,scrollButtons:y,textColor:k,variant:_,visibleScrollbar:T,fixed:!I,hideScrollbar:I&&!T,scrollableX:I&&!L,scrollableY:I&&L,centered:c&&!I,scrollButtonsHideMobile:!h}),$=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:l,classes:s}=e;return qo({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},aw,s)})(z),D=Jo({elementType:E.StartScrollButtonIcon,externalSlotProps:S.startScrollButtonIcon,ownerState:z}),B=Jo({elementType:E.EndScrollButtonIcon,externalSlotProps:S.endScrollButtonIcon,ownerState:z}),[F,W]=Y.useState(!1),[G,H]=Y.useState(bw),[U,V]=Y.useState(!1),[q,K]=Y.useState(!1),[X,Q]=Y.useState(!1),[Z,J]=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:Vo(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=To((()=>{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(G[n])||isNaN(G[j]))H(i);else{const e=Math.abs(G[n]-i[n]),t=Math.abs(G[j]-i[j]);(e>=1||t>=1)&&H(i)}})),ie=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=()=>{}){const{ease:i=ZS,duration:a=300}=r;let l=null;const s=t[e];let u=!1;const c=()=>{u=!0},d=r=>{if(u)return void o(new Error("Animation cancelled"));null===l&&(l=r);const c=Math.min(1,(r-l)/a);t[e]=i(c)*(n-s)+s,c>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};s===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(P,te.current,e,{duration:r.transitions.duration.standard}):te.current[P]=e},ae=e=>{let t=te.current[P];L?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===Uo()?-1:1),ie(t)},le=()=>{const e=te.current[N];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[N]>e){0===r&&(t=e);break}t+=o[N]}return t},se=()=>{ae(-1*le())},ue=()=>{ae(le())},ce=Y.useCallback((e=>{J({overflow:null,scrollbarWidth:e})}),[]),de=To((e=>{const{tabsMeta:t,tabMeta:n}=re();if(n&&t)if(n[O]<t[O]){const r=t[P]+(n[O]-t[O]);ie(r,{animation:e})}else if(n[M]>t[M]){const r=t[P]+(n[M]-t[M]);ie(r,{animation:e})}})),pe=To((()=>{I&&!1!==y&&Q(!X)}));Y.useEffect((()=>{const e=wo((()=>{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=Ro(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!==y){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,y,X,null==d?void 0:d.length]),Y.useEffect((()=>{W(!0)}),[]),Y.useEffect((()=>{oe()})),Y.useEffect((()=>{de(bw!==G)}),[de,G]),Y.useImperativeHandle(u,(()=>({updateIndicator:oe,updateScrollButtons:pe})),[oe,pe]);const fe=Ot.jsx(mw,l({},w,{className:Ar($.indicator,w.className),ownerState:z,style:l({},G,w.style)}));let he=0;const me=Y.Children.map(d,(e=>{if(!Y.isValidElement(e))return null;const t=void 0===e.props.value?he:e.props.value;ee.set(t,he);const n=t===R;return he+=1,Y.cloneElement(e,l({fullWidth:"fullWidth"===_,indicator:n&&!F&&fe,selected:n,selectionFollowsFocus:x,onChange:g,textColor:k,value:t},1!==he||!1!==R||e.props.tabIndex?{}:{tabIndex:0}))})),ge=(()=>{const e={};e.scrollbarSizeListener=I?Ot.jsx(gw,{onChange:ce,className:Ar($.scrollableX,$.hideScrollbar)}):null;const t=I&&("auto"===y&&(U||q)||!0===y);return e.scrollButtonStart=t?Ot.jsx(v,l({slots:{StartScrollButtonIcon:E.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:D},orientation:b,direction:o?"right":"left",onClick:se,disabled:!U},C,{className:Ar($.scrollButtons,C.className)})):null,e.scrollButtonEnd=t?Ot.jsx(v,l({slots:{EndScrollButtonIcon:E.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:B},orientation:b,direction:o?"left":"right",onClick:ue,disabled:!q},C,{className:Ar($.scrollButtons,C.className)})):null,e})();return Ot.jsxs(pw,l({className:Ar($.root,p),ownerState:z,ref:t,as:f},A,{children:[ge.scrollButtonStart,ge.scrollbarSizeListener,Ot.jsxs(fw,{className:$.scroller,ownerState:z,style:{overflow:Z.overflow,[L?"margin"+(o?"Left":"Right"):"marginBottom"]:T?void 0:-Z.scrollbarWidth},ref:te,children:[Ot.jsx(hw,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===b?"vertical":null,className:$.flexContainer,ownerState:z,onKeyDown:e=>{const t=ne.current,n=ko(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===b?"ArrowLeft":"ArrowUp",i="horizontal"===b?"ArrowRight":"ArrowDown";switch("horizontal"===b&&o&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),dw(t,n,cw);break;case i:e.preventDefault(),dw(t,n,uw);break;case"Home":e.preventDefault(),dw(t,null,uw);break;case"End":e.preventDefault(),dw(t,null,cw)}},ref:ne,role:"tablist",children:me}),F&&fe]}),ge.scrollButtonEnd]}))}));function yw(e){return Ot.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Ot.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}var xw=function({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Ot.jsx("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})};function Ew(e={}){return Ot.jsx(xw,{...e,children:Ot.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Ot.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Ot.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 Sw(e={}){return Ot.jsx(xw,{fontSize:"medium",...e,children:Ot.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Ot.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Ot.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 ww(e){return Ot.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:Ot.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 Cw(e={}){return Ot.jsx(xw,{...e,children:Ot.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Ot.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Ot.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Ot.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function kw(e={}){return Ot.jsx(xw,{fontSize:"medium",...e,children:Ot.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Ot.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Ot.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Rw({className:e}){return Ot.jsx(xw,{fontSize:"small",className:e,children:Ot.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Ot.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Ot.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Ot.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Ot.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"}),Ot.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 _w(e={}){return Ot.jsx(xw,{...e,children:Ot.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Ot.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Ot.jsx("rect",{stroke:Kl.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}const Tw={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:es,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},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:[]}};var Aw=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:Kl.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Kl.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Ot.jsx(yw,{"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 ${Kl.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Kl.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`,borderRadius:es,backgroundColor:Kl.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 ${Kl.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Kl.WHITE,color:Kl.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:es},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Kl.GREYSCALE_0_15,backgroundColor:Kl.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Kl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Kl.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Kl.GREEN_PALE},"&:active":{backgroundColor:Kl.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Kl.GREEN_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Kl.BLUE_PALE},"&:active":{backgroundColor:Kl.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Kl.BLUE_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.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:es,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Kl.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Kl.GREYSCALE_0_15,backgroundColor:Kl.GREYSCALE_100_60,"&:active":{backgroundColor:Kl.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Kl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Kl.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Kl.PURPLE,"&.Mui-focusVisible":{borderColor:Kl.PURPLE,boxShadow:`0 0 0 3px ${Eo(Kl.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Kl.GREEN,"&.Mui-focusVisible":{borderColor:Kl.GREEN,boxShadow:`0 0 0 3px ${Eo(Kl.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Kl.BLUE,"&.Mui-focusVisible":{borderColor:Kl.BLUE,boxShadow:`0 0 0 3px ${Eo(Kl.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Kl.ORANGE,"&.Mui-focusVisible":{borderColor:Kl.ORANGE,boxShadow:`0 0 0 3px ${Eo(Kl.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Kl.RED,"&.Mui-focusVisible":{borderColor:Kl.RED,boxShadow:`0 0 0 3px ${Eo(Kl.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Kl.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Kl.PURPLE_PALE},"&:active":{backgroundColor:Kl.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Kl.PURPLE_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Kl.GREEN_PALE},"&:active":{backgroundColor:Kl.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Kl.GREEN_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Kl.BLUE_PALE},"&:active":{backgroundColor:Kl.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Kl.BLUE_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Kl.ORANGE_PALE},"&:active":{backgroundColor:Kl.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Kl.ORANGE_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Kl.RED_PALE},"&:active":{backgroundColor:Kl.RED_DARK},"&.Mui-focusVisible":{borderColor:Kl.RED_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.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:Kl.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Kl.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:es,boxShadow:`inset 0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Ot.jsx(ww,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Xl,borderRadius:es,color:Kl.TEXT_PRIMARY,backgroundColor:Kl.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Kl.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Kl.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Kl.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Kl.GREYSCALE_0_05,color:Kl.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Kl.GREEN,borderColor:Kl.GREEN},"&.MuiChip-outlinedInfo":{color:Kl.BLUE,borderColor:Kl.BLUE},"&.MuiChip-outlinedWarning":{color:Kl.ORANGE,borderColor:Kl.ORANGE},"&.MuiChip-outlinedError":{color:Kl.RED,borderColor:Kl.RED}},outlined:{border:`solid 1px ${Kl.GREYSCALE_0_15}`,backgroundColor:Kl.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:es,boxShadow:"none",backgroundColor:Kl.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Kl.GREEN,borderColor:Kl.GREEN},outlinedSecondary:{color:Kl.BLUE,borderColor:Kl.BLUE},label:{fontFamily:is.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Ot.jsx(ww,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Ot.jsx(yw,{"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:es},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:es,fontSize:Ql,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Kl.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Kl.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Kl.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Kl.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Kl.GREYSCALE_0_05}}},popupIndicator:{borderRadius:es,border:`solid 1px ${Kl.GREYSCALE_0_15}`,color:Kl.GREYSCALE_0_60,marginRight:0,width:Jl,height:Jl},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Kl.GREYSCALE_0_15}`},clearIndicator:{borderRadius:es,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Kl.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Ql}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Xl,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Kl.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Kl.GREYSCALE_25,fontSize:Xl,fontFamily:is.FONT_FAMILY,fontWeight:rs,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Kl.TEXT_PRIMARY},"&.Mui-error":{color:Kl.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Kl.TEXT_SECONDARY,content:"'(optional)'",fontWeight:ns,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Kl.TEXT_SECONDARY,content:"'(required)'",fontWeight:ns,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Ql,lineHeight:"16px",backgroundColor:Kl.WHITE,borderRadius:es,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Kl.GREYSCALE_0_05}`,borderColor:Kl.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Kl.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Kl.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Kl.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Kl.RED}`,boxShadow:`0px 0px 0px 1px ${Kl.RED}, inset 0 2px 0 0 ${Kl.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Kl.GREYSCALE_0_10}`,borderColor:Kl.GREYSCALE_0_10,backgroundColor:Kl.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Kl.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Kl.GREYSCALE_0_15,borderRadius:es,boxShadow:`inset 0 2px 0 0 ${Kl.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Ot.jsx(yw,{...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:Kl.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Kl.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Kl.GREYSCALE_0_03},"&:active":{backgroundColor:Kl.GREYSCALE_0_10},"&:focus":{backgroundColor:Kl.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Kl.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Kl.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Kl.GREYSCALE_0_30,"&:hover":{backgroundColor:Kl.GREYSCALE_0_0,borderColor:Kl.GREYSCALE_0_15},"& ~svg":{color:Kl.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Kl.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:es}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Kl.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Kl.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Ql,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Xl,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Xl,fontWeight:rs,color:Kl.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:rs}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Kl.GREYSCALE_0_15}, 0px 0px 0px 1px ${Kl.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Ot.jsx(kw,{}),checkedIcon:Ot.jsx(Sw,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Kl.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Kl.GREEN_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Kl.BLUE_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Kl.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Kl.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Ot.jsx(_w,{}),checkedIcon:Ot.jsx(Ew,{}),indeterminateIcon:Ot.jsx(Cw,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:es,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Kl.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Kl.GREYSCALE_0_55,color:Kl.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:Kl.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Kl.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Kl.GREYSCALE_0_55,"&:hover":{color:Kl.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:Kl.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Kl.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Ql,color:Kl.TEXT_PRIMARY,lineHeight:"16px",fontWeight:rs},secondary:{fontSize:Xl,color:Kl.GREYSCALE_45,fontWeight:ns,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Ql,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Ql,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Kl.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Xl,borderBottom:`solid 1px ${Kl.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Ql,color:Kl.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Kl.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Kl.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Kl.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:Kl.RED}}},"&.Mui-focusVisible":{backgroundColor:Kl.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:Kl.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:Kl.GREEN,height:"24px","&.Mui-disabled":{color:Kl.GREYSCALE_0_15}},rail:{backgroundColor:Kl.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Kl.GREYSCALE_0_05}`,borderRadius:es,boxShadow:`inset 0px 0px 0px 1px ${Kl.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Kl.GREYSCALE_0_05}`,borderRadius:es},thumb:{height:"16px",width:"16px",borderRadius:es,backgroundColor:Kl.WHITE,boxShadow:`0px 1px 2px 0px ${Kl.GREYSCALE_0_15}, 0px 0px 0px 1px ${Kl.GREYSCALE_0_05}`,"&:hover":{borderRadius:es,boxShadow:`0 2px 4px 0 ${Kl.GREYSCALE_0_30}, 0 0 0 1px ${Kl.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Kl.GREYSCALE_0_15}, 0 0 0 1px ${Kl.GREYSCALE_0_06}, 0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Kl.GREYSCALE_0_15}, 0 0 0 1px ${Kl.GREYSCALE_0_06}, 0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Kl.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Kl.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Kl.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Kl.GREYSCALE_0_15},markLabel:{color:Kl.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Kl.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Kl.WHITE,color:Kl.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:Kl.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:Kl.GREEN_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Kl.BLUE_PALE,boxShadow:`0 0 0 3px ${Eo(Kl.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Kl.GREYSCALE_0_15,borderRadius:es},thumb:{height:"16px",width:"16px",borderRadius:es,backgroundColor:Kl.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:Ql,fontWeight:rs,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Kl.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Kl.MISC_FOCUS_BORDER}`,backgroundColor:Kl.GREYSCALE_0_03,borderRadius:es},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Kl.GREYSCALE_25,"&.Mui-selected":{color:Kl.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Ql,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:es,"&:hover":{backgroundColor:Kl.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 ${Kl.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Kl.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:es,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Kl.GREYSCALE_0_05},"&:hover":{backgroundColor:Kl.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Kl.GREYSCALE_85}`,borderRight:`1px solid ${Kl.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:rs,backgroundColor:Kl.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:Kl.GREYSCALE_98,borderBottom:`1px solid ${Kl.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Kl.GREYSCALE_85}`,borderTop:`1px solid ${Kl.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Kl.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Kl.GREYSCALE_0_05,"&:hover":{backgroundColor:Kl.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Kl.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>Ot.jsx(Rw,{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 ${Kl.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Ql,borderRadius:es,padding:"7px 16px",border:`1px solid ${Kl.GREYSCALE_0_15}`,backgroundColor:Kl.GREYSCALE_100_60,color:Kl.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Kl.GREYSCALE_0_10,border:`1px solid ${Kl.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Kl.GREYSCALE_0_03,border:`1px solid ${Kl.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Kl.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Kl.MISC_FOCUS_BORDER}`,border:`1px solid ${Kl.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Kl.GREYSCALE_25,backgroundColor:Kl.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Kl.GREYSCALE_0_10,border:`1px solid ${Kl.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Xl,height:24,width:24,padding:7},sizeLarge:{fontSize:Zl,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Ql,borderRadius:es}}},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:Kl.GREYSCALE_20},tooltip:{backgroundColor:Kl.GREYSCALE_20,fontSize:Xl,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Tw}:{}});var Iw=()=>({mode:"light",primary:{ultraLight:Kl.GREEN_ULTRA_LIGHT,light:Kl.GREEN_PALE,main:Kl.GREEN,dark:Kl.GREEN_DARK,extraDark:Kl.GREEN_EXTRA_DARK,contrastText:Kl.WHITE},secondary:{ultraLight:Kl.BLUE_ULTRA_LIGHT,light:Kl.BLUE_PALE,main:Kl.BLUE,dark:Kl.BLUE_DARK,extraDark:Kl.BLUE_EXTRA_DARK,contrastText:Kl.WHITE},error:{ultraLight:Kl.RED_ULTRA_LIGHT,light:Kl.RED_PALE,main:Kl.RED,dark:Kl.RED_DARK,extraDark:Kl.RED_EXTRA_DARK,contrastText:Kl.WHITE},warning:{ultraLight:Kl.ORANGE_ULTRA_LIGHT,light:Kl.ORANGE_PALE,main:Kl.ORANGE,dark:Kl.ORANGE_DARK,extraDark:Kl.ORANGE_EXTRA_DARK,contrastText:Kl.WHITE},success:{ultraLight:Kl.GREEN_ULTRA_LIGHT,light:Kl.GREEN_PALE,main:Kl.GREEN,dark:Kl.GREEN_DARK,extraDark:Kl.GREEN_EXTRA_DARK,contrastText:Kl.WHITE},info:{ultraLight:Kl.BLUE_ULTRA_LIGHT,light:Kl.BLUE_PALE,main:Kl.BLUE,dark:Kl.BLUE_DARK,extraDark:Kl.BLUE_EXTRA_DARK,contrastText:Kl.WHITE},text:{primary:Kl.TEXT_PRIMARY,secondary:Kl.TEXT_SECONDARY,disabled:Kl.GREYSCALE_0_30},action:{hover:Kl.GREYSCALE_0_03,hoverOpacity:.03,selected:Kl.GREYSCALE_0_05,selectedOpacity:.05,focus:Kl.MISC_FOCUS_BORDER},amethyst:{ultraLight:Kl.WHITE,main:Kl.PURPLE,light:Kl.PURPLE_PALE,dark:Kl.PURPLE_DARK,extraDark:Kl.GREYSCALE_0_0,contrastText:Kl.WHITE},background:{paper:Kl.WHITE,default:Kl.GREYSCALE_95},divider:Kl.GREYSCALE_0_15});var Lw=e=>Iw();var Pw=(e,t=!1)=>{const n=((e,t)=>Aw(t))(0,t);return{components:n,palette:Lw(e),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:Ql,fontWeightLight:ts,fontWeightRegular:ns,fontWeightMedium:rs,fontWeightBold:os,htmlFontSize:Ql,fontFamily:is.FONT_FAMILY,button:{fontWeight:rs,fontSize:Ql,textTransform:"none"},body1:{fontSize:Zl,lineHeight:"24px"},body2:{fontSize:Ql,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:Jl,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Zl,fontWeight:rs,lineHeight:"16px"},h6:{fontSize:Ql,fontWeight:rs,lineHeight:"16px"},caption:{color:Kl.TEXT_SECONDARY},subtitle1:{fontSize:Ql,color:Kl.TEXT_SECONDARY},subtitle2:{fontSize:Xl,color:Kl.TEXT_SECONDARY}},shape:{borderRadius:es}}};function Ow(e){return hl({...Pw("light"),direction:e})}class Mw{constructor({translator:e}){r(this,"translator",void 0),r(this,"muiTheme",void 0),r(this,"containers",{}),r(this,"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}})),r(this,"setMuiTheme",(e=>{this.muiTheme=Ow(e)})),r(this,"destroy",(e=>{delete this.containers[e]})),this.translator=e}}const Nw=["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 jw{constructor(e,t){r(this,"embed",void 0),r(this,"translator",void 0),r(this,"charts",{}),r(this,"getCharts",(()=>{var e;return this.charts=(null===(e=this.embed)||void 0===e?void 0:e.getRegisteredTypes()).reduce(((e,t)=>{var n,r;if(!(Nw.includes(t.id)||!1===(null===(n=t.libraryInfo)||void 0===n?void 0:n.isLibraryItem)||null!==(r=t.libraryInfo)&&void 0!==r&&r.deprecated)){var o;const n=t;null!==(o=n.libraryInfo)&&void 0!==o&&o.translationKey&&(n.libraryInfo.translation=this.translator.get(n.libraryInfo.translationKey)),e[t.id||t.type]=n}return e}),{}),this.charts})),r(this,"getChart",(e=>(this.charts[e]||this.getCharts(),this.charts[e]))),this.embed=e,this.translator=t}}var zw,$w=xy;zw=$w.createRoot,$w.hydrateRoot;const Dw=(e,t)=>Ot.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:Ot.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"})}),Bw=Y.forwardRef(Dw),Fw="rgb(89, 89, 89)",Ww=yt(Qx)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),Gw=yt(Qx)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),Hw=yt(UE,{shouldForwardProp:e=>"width"!==e})((({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}}))),Uw=yt(Cx)({color:Fw,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),Vw=yt(pS)({"&.MuiListItemIcon-root":{minWidth:32,color:Fw,marginRight:"0px"}}),Yw=yt(AE)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),qw=yt(lE)({"&.MuiButton-contained":{backgroundColor:Fw,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:Fw,color:Fw,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${Fw}`}}}),Kw=yt(cs)({width:"1em",height:"1em",paddingBottom:"8px"}),Xw=yt(cs)({width:"16px",height:"16px"}),Qw=({name:e,items:t,onSelect:n})=>q.createElement(q.Fragment,null,q.createElement(lS,{key:e,dense:!0},q.createElement(Uw,{noWrap:!0,fontWeight:"bold"},e)),q.createElement(Yw,null),t.map((e=>{var t;return q.createElement(lS,{key:null!==(t=e.qExtendsId)&&void 0!==t?t:e.name,divider:!0,disablePadding:!0,disableGutters:!0},q.createElement(ZE,{sx:{minHeight:"32px",height:"auto"},onClick:()=>{n(e)},disableRipple:!0,dense:!0},e.iconPath&&q.createElement(Vw,null,e.IconDefinition?q.createElement(e.IconDefinition,null):q.createElement(Xw,{viewBox:"0 0 16 16"},q.createElement("path",{d:e.iconPath}))),q.createElement(Uw,{noWrap:!0,title:e.translation||e.name},e.translation||e.name)))}))),Zw=({categories:e,anchorEl:t,onClose:n,onSelect:r,width:o})=>{const[i,a]=Y.useState(""),l=!!t;return Y.useEffect((()=>{l&&a("")}),[l]),q.createElement(IS,{open:l,anchorEl:t,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"}},q.createElement(Fx,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:q.createElement(BE,{position:"start"},q.createElement(Bw,null))}),q.createElement(Yw,null),q.createElement(Hw,{width:o},e.map((e=>{const t=e.items.filter((e=>{const t=e.translation||e.name;return(null==t?void 0:t.toLocaleLowerCase().indexOf(i.toLocaleLowerCase()))>-1}));return t.length>0&&q.createElement(Qw,{key:e.name,name:e.name,items:t,onSelect:r})}))))},Jw=({anchorEl:e,onClose:t,dataHandler:n,translator:r,sharedContainerUtilities:o,width:i})=>{const[a,l]=Y.useState([]),[s,u]=Y.useState({});Y.useEffect((()=>{if(e&&n){(async()=>{const e=await n.getMasterVizList();l(e),u(n.getCharts())})().catch((()=>{}))}}),[e,n]);const c=[],d=[],p=new Map,f=Object.values(s);if(0===f.length&&0===a.length)return null;f.forEach((e=>{var t;if(!e.libraryInfo||!e.libraryInfo.isThirdParty&&e.libraryInfo.visible)c.push(e);else if(e.libraryInfo.visible)if(null!==(t=e.libraryInfo.bundle)&&void 0!==t&&t.name){const t=e.libraryInfo.bundle.name,n=p.get(t);n?n.push(e):p.set(t,[e])}else d.push(e)}));const h=e=>e.map((e=>{var t,n,r,o;return{iconPath:null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath,IconDefinition:null===(n=e.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:e.id,translation:(null===(r=e.libraryInfo)||void 0===r?void 0:r.translation)||(null===(o=e.libraryInfo)||void 0===o?void 0:o.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=>{var t,n;return{qExtendsId:e.qExtendsId,iconPath:null===(t=s[e.visualization])||void 0===t||null===(t=t.libraryInfo)||void 0===t?void 0:t.iconPath,IconDefinition:null===(n=s[e.visualization])||void 0===n||null===(n=n.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:e.name,type:e.visualization}})).sort(((e,t)=>e.name.localeCompare(t.name)))},{name:r.get("LayoutContainer.Object.Charts"),items:c.map((e=>{var t,n,r,o,i;return{iconPath:(null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath)||"",IconDefinition:null===(n=e.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:(null===(r=e.libraryInfo)||void 0===r?void 0:r.name)||e.id,type:(null===(o=e.libraryInfo)||void 0===o?void 0:o.template)||e.id,translation:(null===(i=e.libraryInfo)||void 0===i?void 0:i.translation)||e.id||""}})).sort(((e,t)=>e.translation.localeCompare(t.translation)))},{name:r.get("LayoutContainer.Object.CustomObjects"),items:h(d)}];for(const[e,t]of p)m.push({name:e,items:h(t)});return q.createElement(Zw,{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=>{null!=e&&e.id&&(null==o||o.setSelected([e.id]))})).catch((e=>{console.warn(e)})).finally((()=>{t()}))},onClose:t,width:i})},eC=e=>{var t,n;const r=nC(e);return null!==(t=null===(n=e.objects)||void 0===n?void 0:n.map((e=>{const{childRefId:t}=e;if(!t)return e;const n=r[t];return n?{...e,id:n}:e})))&&void 0!==t?t:[]},tC=(e,t)=>{var n;return null==e||null===(n=e.qChildList)||void 0===n||null===(n=n.qItems)||void 0===n?void 0:n.find((e=>{var n;return(null==e||null===(n=e.qData)||void 0===n?void 0:n.childRefId)===t}))},nC=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var n,r;return e[null==t||null===(n=t.qData)||void 0===n?void 0:n.childRefId]=null==t||null===(r=t.qInfo)||void 0===r?void 0:r.qId,e}),{})};var rC=tC,oC=e=>{const t={...e};return t.objects=eC(t),t},iC=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var n,r;return e[null==t||null===(n=t.qInfo)||void 0===n?void 0:n.qId]=null===(r=t.qData)||void 0===r?void 0:r.childRefId,e}),{})},aC=e=>e.objects.reduce(((e,t)=>(e[t.childRefId]=t,e)),{}),lC=(e,t)=>{var n;if(!e)return t;const r=tC(e,t);return null==r||null===(n=r.qInfo)||void 0===n?void 0:n.qId};class sC{constructor({app:e,data:t}){r(this,"layout",void 0),r(this,"app",void 0),r(this,"activeId",""),r(this,"data",void 0),r(this,"properties",void 0),r(this,"setSelectedChild",(e=>{var t;null===(t=this.activeContainer)||void 0===t||null===(t=t.sharedContainerUtilities)||void 0===t||t.setSelected(e)})),r(this,"addChild",(({initProps:e,objectInitProps:t,children:n})=>{if(!this.activeContainer)return;const{dataHandler:r}=this.activeContainer;if(null!=e&&e.qExtendsId){const{qExtendsId:o,qInfo:i}=e;return null==r?void 0:r.addMasterObjectAsChild({initProps:{qExtendsId:o,qInfo:i},objectInitProps:t,children:n})}return null==r?void 0:r.addVizAsChild({type:null==e?void 0:e.visualization,initProps:e,objectInitProps:t,children:n})})),r(this,"deleteChild",(async e=>{if(!this.activeContainer)return;const{dataHandler:t}=this.activeContainer;await(null==t?void 0:t.deleteChildren([e]))})),r(this,"duplicateChild",(async e=>{var t;const{childRefId:n,...r}=e,o=this.getEngineId(n);if(!o)return;const i=await(null===(t=this.app)||void 0===t?void 0:t.getObject(o));if(i&&this.activeContainer){const{sharedContainerUtilities:e}=this.activeContainer,t=await i.getFullPropertyTree(),n=t.qProperty,o=t.qChildren,a=await this.addChild({initProps:n,children:o,objectInitProps:r});a&&(null==e||e.setSelected([a.id]))}})),r(this,"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],zw(r)})(this.activeContainer.element,"add-child-popover"),n=()=>{t.unmount()};null==t||t.render(q.createElement(Yl,{theme:this.data.muiTheme},q.createElement(Jw,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:n,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})))}})),r(this,"setModel",(e=>{this.activeId=e.id})),r(this,"setLayout",(e=>{this.layout=e})),r(this,"getLayout",(()=>this.layout)),r(this,"getEngineId",(e=>lC(this.layout,e))),r(this,"setProperties",(e=>{this.properties=e})),r(this,"canAddDimension",(()=>!1)),r(this,"canAddMeasure",(()=>!1)),r(this,"canColorBy",(()=>!1)),r(this,"getDimensions",(()=>[])),r(this,"getMeasures",(()=>[])),r(this,"minDimensions",(()=>0)),r(this,"minMeasures",(()=>0)),r(this,"maxDimensions",(()=>0)),r(this,"maxMeasures",(()=>0)),this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}getObject(e){const t=this.getEngineId(e);var n;if(t)return null===(n=this.activeContainer)||void 0===n?void 0:n.renderHelper.objectMap.get(t)}}function uC(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 cC(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,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||pC(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 dC(e){return function(e){if(Array.isArray(e))return uC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pC(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 pC(e,t){if(e){if("string"==typeof e)return uC(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)?uC(e,t):void 0}}var fC=["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"],hC=["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 mC=function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1),groupHeader:!1,disabled:!1,styles:{fontFamily:e}}};function gC(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,dC(new Set([r].concat(dC(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(dC(i.map((function(e){return mC(e)}))),[{value:"DefaultHeader",label:n.get("properties.allFonts"),metaText:n.get("properties.default"),groupHeader:!0}],dC(function(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?hC:fC}(o).map((function(e){return mC(e)}))))}function bC(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 gC({theme:t,translator:n,defaultValue:a(),flags:i})}}}var vC,yC,xC=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],EC=function(e){return{value:e,label:e,groupHeader:!1,disabled:!1}};function SC(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,dC(new Set([n].concat(dC(o))))):r.push(n),[{value:"ThemeHeader",label:t.get("properties.themeFontSizes"),metaText:t.get("properties.theme"),groupHeader:!0}].concat(dC(r.map((function(e){return EC(e)}))),[{value:"DefaultHeader",label:t.get("properties.allFontSizes"),metaText:t.get("properties.default"),groupHeader:!0}],dC(xC.map((function(e){return EC(e)}))))}({theme:t,translator:n,defaultValue:i()})}}}function wC(e){var t=e.theme,n=e.translator,r=e.id,o=e.path;return{fontFamily:bC({theme:t,translator:n,id:r,path:o,flags:e.flags}),fontSize:SC({theme:t,translator:n,id:r,path:o})}}var CC=function(){if(yC)return vC;yC=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},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return vC=function e(){var t,n,r,s,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(i(s)||(u=o(s)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&i(r)?r:{},a(d,{name:n,newValue:e(h,c,s)})):void 0!==s&&a(d,{name:n,newValue:s}));return d},vC}();function kC(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function RC(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function _C(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}(CC);var TC=1/.7,AC="\\s*([+-]?\\d+)\\s*",IC="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",LC="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",PC=/^#([0-9a-f]{3,8})$/,OC=new RegExp(`^rgb\\(${AC},${AC},${AC}\\)$`),MC=new RegExp(`^rgb\\(${LC},${LC},${LC}\\)$`),NC=new RegExp(`^rgba\\(${AC},${AC},${AC},${IC}\\)$`),jC=new RegExp(`^rgba\\(${LC},${LC},${LC},${IC}\\)$`),zC=new RegExp(`^hsl\\(${IC},${LC},${LC}\\)$`),$C=new RegExp(`^hsla\\(${IC},${LC},${LC},${IC}\\)$`),DC={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 BC(){return this.rgb().formatHex()}function FC(){return this.rgb().formatRgb()}function WC(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=PC.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?GC(t):3===n?new YC(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?HC(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?HC(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=OC.exec(e))?new YC(t[1],t[2],t[3],1):(t=MC.exec(e))?new YC(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=NC.exec(e))?HC(t[1],t[2],t[3],t[4]):(t=jC.exec(e))?HC(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=zC.exec(e))?JC(t[1],t[2]/100,t[3]/100,1):(t=$C.exec(e))?JC(t[1],t[2]/100,t[3]/100,t[4]):DC.hasOwnProperty(e)?GC(DC[e]):"transparent"===e?new YC(NaN,NaN,NaN,0):null}function GC(e){return new YC(e>>16&255,e>>8&255,255&e,1)}function HC(e,t,n,r){return r<=0&&(e=t=n=NaN),new YC(e,t,n,r)}function UC(e){return e instanceof _C||(e=WC(e)),e?new YC((e=e.rgb()).r,e.g,e.b,e.opacity):new YC}function VC(e,t,n,r){return 1===arguments.length?UC(e):new YC(e,t,n,null==r?1:r)}function YC(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function qC(){return`#${ZC(this.r)}${ZC(this.g)}${ZC(this.b)}`}function KC(){const e=XC(this.opacity);return`${1===e?"rgb(":"rgba("}${QC(this.r)}, ${QC(this.g)}, ${QC(this.b)}${1===e?")":`, ${e})`}`}function XC(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function QC(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ZC(e){return((e=QC(e))<16?"0":"")+e.toString(16)}function JC(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new tk(e,t,n,r)}function ek(e){if(e instanceof tk)return new tk(e.h,e.s,e.l,e.opacity);if(e instanceof _C||(e=WC(e)),!e)return new tk;if(e instanceof tk)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,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new tk(a,l,s,e.opacity)}function tk(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function nk(e){return(e=(e||0)%360)<0?e+360:e}function rk(e){return Math.max(0,Math.min(1,e||0))}function ok(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}kC(_C,WC,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:BC,formatHex:BC,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ek(this).formatHsl()},formatRgb:FC,toString:FC}),kC(YC,VC,RC(_C,{brighter(e){return e=null==e?TC:Math.pow(TC,e),new YC(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new YC(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new YC(QC(this.r),QC(this.g),QC(this.b),XC(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:qC,formatHex:qC,formatHex8:function(){return`#${ZC(this.r)}${ZC(this.g)}${ZC(this.b)}${ZC(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:KC,toString:KC})),kC(tk,(function(e,t,n,r){return 1===arguments.length?ek(e):new tk(e,t,n,null==r?1:r)}),RC(_C,{brighter(e){return e=null==e?TC:Math.pow(TC,e),new tk(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new tk(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 YC(ok(e>=240?e-240:e+120,o,r),ok(e,o,r),ok(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new tk(nk(this.h),rk(this.s),rk(this.l),XC(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=XC(this.opacity);return`${1===e?"hsl(":"hsla("}${nk(this.h)}, ${100*rk(this.s)}%, ${100*rk(this.l)}%${1===e?")":`, ${e})`}`}}));const ik=Math.PI/180,ak=180/Math.PI,lk=4/29,sk=6/29,uk=3*sk*sk;function ck(e){if(e instanceof dk)return new dk(e.l,e.a,e.b,e.opacity);if(e instanceof gk)return bk(e);e instanceof YC||(e=UC(e));var t,n,r=mk(e.r),o=mk(e.g),i=mk(e.b),a=pk((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=pk((.4360747*r+.3850649*o+.1430804*i)/.96422),n=pk((.0139322*r+.0971045*o+.7141733*i)/.82521)),new dk(116*a-16,500*(t-a),200*(a-n),e.opacity)}function dk(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function pk(e){return e>.008856451679035631?Math.pow(e,1/3):e/uk+lk}function fk(e){return e>sk?e*e*e:uk*(e-lk)}function hk(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function mk(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function gk(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function bk(e){if(isNaN(e.h))return new dk(e.l,0,0,e.opacity);var t=e.h*ik;return new dk(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}kC(dk,(function(e,t,n,r){return 1===arguments.length?ck(e):new dk(e,t,n,null==r?1:r)}),RC(_C,{brighter(e){return new dk(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new dk(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 YC(hk(3.1338561*(t=.96422*fk(t))-1.6168667*(e=1*fk(e))-.4906146*(n=.82521*fk(n))),hk(-.9787684*t+1.9161415*e+.033454*n),hk(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),kC(gk,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof gk)return new gk(e.h,e.c,e.l,e.opacity);if(e instanceof dk||(e=ck(e)),0===e.a&&0===e.b)return new gk(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ak;return new gk(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new gk(e,t,n,null==r?1:r)}),RC(_C,{brighter(e){return new gk(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new gk(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return bk(this).rgb()}}));var vk=e=>()=>e;function yk(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):vk(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1==(e=+e)?yk: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):vk(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=VC(e)).r,(t=VC(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=yk(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 xk="center",Ek="bottom";function Sk(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:xk,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:xk,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:xk,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:xk},{key:"DataRangeIncludingZero",alignment:Ek},{key:"LimitedData",alignment:Ek},{key:"NegativeOrZeroValues",alignment:Ek}].reduce((function(e,t){return e[t.key]=t,e}),{});var wk,Ck=["__proto__","constructor"];function kk(e,t,n){if(void 0!==e&&void 0!==t){var r=t.split("."),o=r[r.length-1];if(!Ck.some((function(e){return r.includes(e)}))){for(var i=e,a=0;a<r.length-1;++a){var l=r[a];void 0===i[l]&&(i[l]=Number.isNaN(+r[a+1])?{}:[]),i=i[l]}void 0!==n?i[o]=n:delete i[o]}}}function Rk(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 _k(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Ak)):void 0===t&&(t=Tk);for(var n,r,o,i,a,l=new Pk(e),s=[l];n=s.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)s.push(r=o[i]=new Pk(o[i])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(Lk)}function Tk(e){return e.children}function Ak(e){return Array.isArray(e)?e[1]:null}function Ik(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function Lk(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Pk(e){this.data=e,this.depth=this.height=0,this.parent=null}Pk.prototype=_k.prototype={constructor:Pk,count:function(){return this.eachAfter(Rk)},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],l=[],s=-1;i=a.pop();)if(l.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=l.pop();)e.call(t,i,++s,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 _k(this).eachBefore(Ik)},[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)}},wk=function(e){
107
107
  /*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
108
- e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,l,s,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(n=(t="-"===(e=e.substring(f,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))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],s=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%s,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},jC({exports:{}});var YC="'Source Sans Pro', 'Arial', 'sans-serif'",qC="#333333",KC="#595959",QC="#737373",XC="#cccccc",ZC="#e6e6e6";function JC(e){var t={};return[].concat(kw(e),kw([["","","color"],["object","","fontFamily"],["object","axis.label.name","color",KC],["object","axis.label.name","fontFamily",YC],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",XC],["object","axis.line.minor","color",ZC],["object","axis.title","color"],["object","axis.title","fontFamily",YC],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",ZC],["object","grid.line.major","color",XC],["object","grid.line.minor","color",ZC],["object","label.value","color",KC],["object","label.value","fontFamily",YC],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",KC],[!1,"label.value","lightColor",ZC],["object","outOfRange","color","#999"],["object","legend.title","color",qC],["object","legend.title","fontFamily",YC],["object","legend.title","fontSize","15px"],["object","legend.label","color",KC],["object","legend.label","fontFamily",YC],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",qC],["object","referenceLine.label.name","fontFamily",YC],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",ZC],["object","referenceLine.outOfBounds","fontFamily",YC],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",QC,function(e){return"transparent"===e?QC: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 ek=function(e){return e};function tk(e){var t=e.theme,n=e.id,r=e.transform,o=e.extend,i=e.matrix,a={},l=r.reduce((function(e,t){var n=Cw(t,2),r=n[0],o=n[1];return e[r]=o,e}),{});return i.forEach((function(e){var r=Cw(e,5),o=r[0],i=r[1],s=r[2],u=r[3],c=r[4],d=void 0===c?function(e){return e}:c,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 l=t.getStyle(n,r,o);return void 0===l?a:l}({theme:t,base:"object"===o&&n?"".concat("object",".").concat(n):o,path:i,attribute:s,defaultValue:u}),f=(l["".concat(i,".").concat(s)]||ek)(d(p));$C(a,[i,s].filter(Boolean).join("."),f)})),o.forEach((function(e){var t=Cw(e,2),n=t[0],r=t[1];$C(a,n,r)})),a}const nk={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function rk(e){if(!e.objects)return{};const t=xw(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map((n=>{var r;return{chart_type:n.qData.visualization,chart_id:n.qInfo.qId,chart_isMaster:!!n.qData.qExtendsId,tab_isVisible:0!==(null===(r=t[n.qData.childRefId])||void 0===r?void 0:r.condition),tab_isActive:n.qData.childRefId===e.cachedTabId}}))}}const ok=({ref:e,theme:t,change:n})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9.5,component:"dropdown",change(t){(zC(t,`${e}.color`)||zC(t,`${e}.colorExpression`))&&($C(t,`${e}.color`,void 0),$C(t,`${e}.colorExpression`,void 0)),null==n||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:1,show:t=>!zC(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>{var n;return{color:null!==(n=null==t?void 0:t.getStyle("object.tabbedContainer",e,"color"))&&void 0!==n?n:"none"}},showAlpha:!0,change:e=>{null==n||n(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>zC(t,`${e}.useColorExpression`)}}}),ik=({theme:e})=>({bgColorAllWrapper:ok({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:ok({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:ok({ref:"background.hover",theme:e,change:e=>{$C(e,"indicator.hover.color",zC(e,"background.hover.color")),$C(e,"indicator.hover.useColorExpression",zC(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),ak=({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=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.show)}},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.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}}},lk=({theme:e})=>({colorWrapper:ok({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:ok({ref:"indicator.hover",theme:e,change:e=>{$C(e,"background.hover.color",zC(e,"indicator.hover.color")),$C(e,"background.hover.useColorExpression",zC(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),sk=({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)=>{var r;const o=null===(r=e.label)||void 0===r?void 0:r.fontFamily,i=(e=>{const t=[];return e.objects.forEach((e=>{var n,r;const o=null===(n=e.components)||void 0===n?void 0:n.find((e=>"tab"===e.key)),i=null==o||null===(r=o.label)||void 0===r?void 0:r.fontFamily;i&&-1===t.indexOf(i)&&t.push(i)})),t})(n);o&&-1===i.indexOf(o)&&i.push(o),n.fontsUsed=i}},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}}},uk=({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:sk({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:r})}}}),ck=({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=>{var t,n;if(void 0!==(null===(t=e.width)||void 0===t?void 0:t.value)&&"%"===(null===(n=e.width)||void 0===n?void 0:n.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=>{var t;return"px"===(null===(t=e.width)||void 0===t?void 0:t.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=>{var t,n;return!(null!==(t=e.width)&&void 0!==t&&t.unit)||"px"!==(null===(n=e.width)||void 0===n?void 0:n.unit)},defaultValue:[5,20]}}}}}),dk=({theme:e,ref:t,key:n})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:n,items:lk({theme:e})}}}),pk=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:ak({paths:{ref:"icon",theme:"icon.value"},fontResolver:n,theme:r})}},show:(e,{layout:t})=>!0===t.showIcons}),fk=({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:ok({ref:"background"})}:ik({theme:e})}}}),hk=({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:uk({ref:n,key:r,fontResolver:e,theme:t}),width:{...ck({ref:n,key:r}),show:(e,{layout:t})=>"left"!==t.orientation},icon:pk({ref:n,key:r,fontResolver:e,theme:t}),background:fk({ref:n,key:r,theme:t})}}},mk={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},gk={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},bk=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{var n,r,o;const i=t.getLayout(),a=null===(n=bw(i,e.childRefId))||void 0===n?void 0:n.qMeta;return!(null!=a&&null!==(r=a.privileges)&&void 0!==r&&r.includes("update")&&null!==(o=i.permissions)&&void 0!==o&&o.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:t.label}),n.setSelectedChild([i]))}}),vk=e=>{const{sense:t}=e.env.anything;return{label:mk,condition:gk,styling:hk({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),editProperties:bk(e)}},yk={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},xk={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},Ek=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:vk(e)}),Sk=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:yk,chartsLabel:xk,chartList:Ek(e)}}),wk={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},Ck={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},kk={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},Rk={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},_k={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=Ew(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},Tk={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},Lk=({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:uk({ref:n,key:r,fontResolver:e,theme:t}),width:ck({ref:n,key:r}),indicator:dk({ref:n,key:r,theme:t}),icon:pk({ref:n,key:r,fontResolver:e,theme:t}),background:fk({ref:n,key:r,theme:t})}}},Pk={items:{details:{show:e=>!0===e.showDetails}}},Ik=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:Lk({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),container:{type:"items",items:{showTabs:wk,useDropdown:Ck,useScrollButton:kk,showIcons:Rk,orientation:Tk,defaultTabId:_k}}}}},Ak=e=>({uses:"settings",items:{general:Pk,presentation:Ik(e)}}),Ok=e=>({type:"items",component:"accordion",items:{content:Sk(e),settings:Ak(e)}}),Mk=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?"object":"".concat("object",".").concat(r),paths:Array.isArray(o)?o:[]}}({config:o}),l=a.id,s=a.paths,u={};s.forEach((function(e){for(var r=e.split("."),o=u,a=0;a<r.length;a++){var s=r[a];a===r.length-1?o[s]=jw({theme:t,translator:n,id:l,path:e,flags:i}):void 0===o[s]&&(o[s]={}),o=o[s]}}));var c=function(e){for(var t=e.split("."),n=u,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 u.getDefaultValue=function(e){return c(e).getDefaultValue()},u.getOptions=function(e){return c(e).getOptions()},u}({theme:null==t?void 0: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){var i;const r=await e.model.getProperties();return o.setProperties(r),o.setLayout(null===(i=e.model)||void 0===i?void 0:i.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(){var e;null===(e=o.addChild({initProps:{qExtendsId:r.id,qInfo:{qType:"undefined"}}}))||void 0===e||e.then((e=>{e&&o.setSelectedChild([e.id])}))}}),void n();const a=await t.item.getDropOption(t.item);"newObject"===(null==a?void 0:a.id)&&t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"createvisualization",select(){var e,t;null===(e=o.addChild({initProps:{...a.args.init,visualization:a.args.template},children:null===(t=a.args.children)||void 0===t?void 0:t.map((e=>({qProperty:e})))}))||void 0===e||e.then((e=>{e&&o.setSelectedChild([e.id])}))}}),n()},async addChild(t,n){const{model:r}=this,o=new Sw({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&&KS.includes(t.template))return!1;if("visualization"===t.type&&KS.includes(t.visualization))return!1}return"gridcell"!==e.type||!KS.includes(e.cell.model.layout.visualization)}}}(e);return{definition:Ok({...e,fontResolver:n}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new Sw({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(),l=await t.getFullPropertyTree();if(!l.qProperty.objects&&n){const s=[];l.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}}};s.push(r(n.qInfo.qId))}}));const u=await Promise.all(s),c={...e,objects:n,defaultTabId:null!=r?r:"",components:o,qChildListDef:nk,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...l,qProperty:c,qChildren:u})}}})(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:rk}},Nk=e=>e.reduce(((e,{id:t,data:n})=>(n&&(e[t]=n),e)),{}),zk=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:Nk(n)}},jk=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 Nk(n)},Dk=(t,n)=>(e.onTakeSnapshot((async e=>{const r=e,{snapshotData:o}=r;if(o){const e=vw(r),i=n(t.objectMap,e),[a,l]=await Promise.all([jk(i.objectMap),zk(i.objectMap)]);o.objectsData={layouts:a},r.objects=i.objects,o.viewState=l}return e})),{getViewState:()=>zk(t.objectMap)});let $k=function(e){return e.COPY="ctrl+c",e.CUT="ctrl+x",e.PASTE="ctrl+v",e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e.SHIFT="Shift",e}({}),Bk=function(e){return e.KEY_DOWN="keydown",e.KEY_UP="keyup",e.FOCUS_OUT="focusout",e}({});var Fk,Hk;!function(e){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"}(Fk||(Fk={})),function(e){e.TABS="& .tab-button.MuiTab-root, .tab-button.active-tab-button",e.TABS_HOVER="& .tab-button.MuiTab-root:hover",e.TABS_LABEL="& .tab-label",e.TABS_ICON="& .tab-icon svg",e.TABS_WRAPPER="& .tab-wrapper",e.TAB_INDICATOR="& .MuiTabs-indicator"}(Hk||(Hk={}));const Uk=e=>{var t;return null===(t=e.getElementsByClassName(Fk.ACTIVE_TAB))||void 0===t?void 0:t[0]},Vk=e=>{var t;return null===(t=e.getElementsByClassName(Fk.ACTIVE_TAB_PANEL))||void 0===t?void 0:t[0]},Gk=({element:t,setAccessibility:n,accessibility:r,renderHelper:o,interactions:i})=>{const a=e.useKeyboard(),l=e.useMemo((()=>()=>{var e;(n(!1),a.enabled)&&(null===(e=a.blur)||void 0===e||e.call(a,!0))}),[a,n]),s=e.useMemo((()=>e=>{switch(e.shiftKey?`shift+${e.key}`:e.key){case $k.ESCAPE:var n;e.stopPropagation(),null===(n=a.blur)||void 0===n||n.call(a,!0);break;case $k.ENTER:case $k.SPACE:{e.stopPropagation();const n=e.target;var r;if(null!=n&&n.classList.contains(Fk.ACTIVE_TAB))null===(r=Vk(t))||void 0===r||r.focus();break}}}),[t,a]),u=e.useMemo((()=>(e,n)=>{switch(e.shiftKey?`shift+${e.key}`:e.key){case $k.ESCAPE:var r;e.stopPropagation();var o,i;if((null==n?void 0:n.viewDataToggled)&&(null===(r=n.supportViewData)||void 0===r?void 0:r.call(n)))null===(o=n.toggleDataView)||void 0===o||o.call(n);else null===(i=Uk(t))||void 0===i||i.focus();break;case $k.ENTER:case $k.SPACE:var a,s,u;if(!n)break;e.stopPropagation(),null===(a=n.setOnBlurHandler)||void 0===a||a.call(n,(()=>{var e;null===(e=Vk(t))||void 0===e||e.focus(),n.setOnBlurHandler(void 0)}));var c;if(!n.viewDataToggled&&(null===(s=n.supportViewData)||void 0===s?void 0:s.call(n)))null===(c=n.toggleDataView)||void 0===c||c.call(n);else n.viewDataToggled&&"function"==typeof(null===(u=n.dataViewObject)||void 0===u?void 0:u.focus)?n.dataViewObject.focus():"function"==typeof n.focus&&n.focus();break;case $k.OPEN_CONTEXT_MENU:e.stopPropagation(),null!=n&&n.viewDataToggled||t!==document.activeElement&&(l(),t.focus())}}),[t,l]),c=e.useMemo((()=>e=>{const t=e.target;if(null!=t&&t.classList.contains(Fk.ACTIVE_TAB_PANEL)){const t=Array.from(o.objectMap.values())[0];u(e,t)}else s(e)}),[s,u,o]);e.useEffect((()=>(r&&t.addEventListener(Bk.KEY_DOWN,c),()=>{t.removeEventListener(Bk.KEY_DOWN,c)})),[t,r,c]);const[d,p]=e.useState(!1);e.useEffect((()=>{d&&(p(!1),window.setTimeout((()=>{var e,n;return null===(e=null!==(n=(e=>{var t;return null===(t=e.getElementsByClassName(Fk.TAB_MENU))||void 0===t?void 0:t[0]})(t))&&void 0!==n?n:Uk(t))||void 0===e?void 0:e.focus()}),0))}),[t,d]),e.useEffect((()=>{n(!1)}),[i.edit,n]),e.useEffect((()=>{const e=e=>{const n=e.relatedTarget;null!=t&&t.contains(n)||null!=n&&n.classList.contains(Fk.TAB_MENU_ITEM)||null==l||l()};return a.enabled&&a.active&&!i.edit&&(n(!0),p(!0),t.addEventListener(Bk.FOCUS_OUT,e)),()=>{t.removeEventListener(Bk.FOCUS_OUT,e)}}),[a])},Wk=t=>{const[n]=e.useState(t);return[n,function(e){Object.assign(n,e)}]},Yk={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 qk={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Kk{constructor(e){r(this,"sessionObject",void 0),r(this,"getOrCreateSessionObject",(async e=>{const t=qk.qInfo.qId;this.sessionObject=await e.getObject(t).catch((()=>e.createSessionObject(qk)))})),r(this,"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=>!KS.includes(e.visualization)))}catch(e){return[]}})),this.getOrCreateSessionObject(e).catch((()=>{}))}}let Qk=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 Xk{constructor({embed:e,model:t,app:n,translator:o,mutex:i}){r(this,"model",void 0),r(this,"embed",void 0),r(this,"app",void 0),r(this,"undoRedoModel",void 0),r(this,"chartList",void 0),r(this,"masterVizList",void 0),r(this,"mutex",void 0),r(this,"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})),r(this,"generateProperties",(async(e,t)=>await this.embed.generateProperties({type:e,properties:t}))),r(this,"addVizAsChild",(async({type:e,initProps:t,objectInitProps:n,children:r})=>{try{const o=await this.generateProperties(e,t);let i=(null==n?void 0:n.label)||(null==t?void 0:t.title);if(!i){const n=this.getChart(null==t?void 0:t.visualization),r=null==n?void 0:n.libraryInfo;i=(null==r?void 0:r.translation)||(null==r?void 0:r.name)||e}const a={...n,label:i};return await this.addChild(o,r,a)}catch(e){return}})),r(this,"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=(null==t?void 0:t.label)||o.title||o.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},l={...t,label:i};return await this.addChild(a,n,l)}catch(e){return}})),r(this,"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(e){return!1}finally{this.mutex.unlock()}})),r(this,"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 Qk.TOP:{if(0===o)break;const e=r.splice(o,1)[0];r.unshift(e),i=!0;break}case Qk.BOTTOM:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.push(e),i=!0;break}case Qk.UP:{if(0===o)break;const e=r.splice(o,1)[0];r.splice(o-1,0,e),i=!0;break}case Qk.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()}})),r(this,"getCharts",(()=>{var e;return(null===(e=this.chartList)||void 0===e?void 0:e.getCharts())||{}})),r(this,"getMasterVizList",(()=>{var e;return(null===(e=this.masterVizList)||void 0===e?void 0:e.getMasterVisualizations())||Promise.resolve([])})),r(this,"getChart",(e=>{var t;return null===(t=this.chartList)||void 0===t?void 0:t.getChart(e)})),r(this,"getChartLabelById",((e,t)=>{var n,r;const o=null==e||null===(n=e.qChildList)||void 0===n?void 0:n.qItems.find((e=>e.qInfo.qId===t));if(!o)return"";const{visualization:i,title:a}=o.qData;if(a)return a;const l=this.getChart(i);return(null==l||null===(r=l.libraryInfo)||void 0===r?void 0:r.translation)||i})),this.model=t,this.embed=e,this.app=n;const a=n;a&&a.getUndoInfoObject&&a.getUndoInfoObject().then((e=>{this.undoRedoModel=e})).catch((()=>{})),n&&(this.masterVizList=new Kk(n)),e&&o&&(this.chartList=new QS(e,o)),this.mutex=i}async addChild(e,t,n){if(this.model&&!KS.includes(e.visualization))try{await this.mutex.lock();const{model:r}=this,o=async()=>{e.childRefId=Yk.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(e){return}finally{this.mutex.unlock()}}}class Zk{constructor(e){r(this,"locked",!1),r(this,"tasks",[]),r(this,"id",void 0),r(this,"lock",(async()=>this.locked?new Promise((e=>{this.tasks.push(e)})):(this.locked=!0,!0))),r(this,"unlock",(()=>{if(this.tasks.length>0){const e=this.tasks.shift();null==e||e(!0)}else this.locked=!1})),this.id=e}}const Jk={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}},eR={index:-1,color:"none",alpha:1},tR=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}},nR=(e,t,n,r,o=1)=>{let i,a,l,s=[];switch(n=Math.floor(n)){case 0:s=[e,t,0];break;case 1:s=[t,e,0];break;case 2:s=[0,e,t];break;case 3:s=[0,t,e];break;case 4:s=[t,0,e];break;case 5:s=[e,0,t];break;default:s=[0,0,0]}return i=s[0]+r,a=s[1]+r,l=s[2]+r,i=Math.round(255*i),a=Math.round(255*a),l=Math.round(255*l),`rgba(${i},${a},${l},${o})`},rR=e=>{const{h:t,s:n,l:r}=tR(e),o=e.length>7?parseFloat(e[7]):1,i=r<=.5?2*r*n:(2-2*r)*n,a=t/60,l=i*(1-Math.abs(a%2-1));return nR(i,l,a,r-.5*i,o)},oR={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 rR(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 rR(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}=tR(e),o=r*n,i=t/60,a=o*(1-Math.abs(i%2-1));return nR(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&&Jk[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=(null==e?void 0:e.color)||eR;let o;return o=null!=e&&e.useColorExpression?oR.resolveExpression(e):"string"==typeof r?r:(null==n?void 0:n.getColorPickerColor(r))||"",o&&"none"!==o?o:t}};class iR{constructor({modifiedLayout:e,themeService:t}){var n;r(this,"modifiedLayout",void 0),r(this,"themeStyle",void 0),r(this,"style",void 0),r(this,"objectMap",void 0),r(this,"activeTabId",void 0),r(this,"theme",void 0),r(this,"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}`}})),r(this,"getTabWidth",(e=>{var t;const n=null==e?void 0:e.value,r=null!==(t=null==e?void 0:e.unit)&&void 0!==t?t:"%";if(void 0===n||2!==n.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${n[0]}${r}`,maxWidth:`${n[1]}${r}`}})),r(this,"getColorStyle",((e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t}),r=oR.getColor({style:n,theme:this.theme});return null!=r?r:n})),r(this,"getTabBackgroundStyle",((e,t)=>{let n;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});n=oR.getColor({style:e,theme:this.theme})}return null!=n?n:oR.getColor({style:t,theme:this.theme})})),r(this,"createTabClasses",(()=>{var e;return null===(e=this.modifiedLayout.objects)||void 0===e?void 0:e.reduce(((e,t)=>{var n;const r=null==t?void 0:t.childRefId,o=null==t||null===(n=t.components)||void 0===n?void 0:n.find((e=>"tab"===e.key));return e[`#tab-${this.modifiedLayout.qInfo.qId}-${r}`]={textAlign:zC(o,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(r,null==o?void 0:o.background),...this.getTabWidth(null==o?void 0:o.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${r}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${r}`]={fontSize:zC(o,"label.fontSize"),fontFamily:zC(o,"label.fontFamily"),color:oR.getColor({style:zC(o,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${r} svg`]={height:zC(o,"icon.size"),color:oR.getColor({style:zC(o,"icon.color"),theme:this.theme})},e}),{})})),r(this,"createTabsClasses",(()=>({[Hk.TABS_LABEL]:{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"})},[Hk.TABS_ICON]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[Hk.TABS]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[Hk.TABS_HOVER]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[Hk.TABS_WRAPPER]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[Hk.TAB_INDICATOR]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}}))),r(this,"createStyleClasses",(()=>({...this.createTabsClasses(),...this.createTabClasses()}))),r(this,"resolveComponentStyle",(({key:e="tabs",compPath:t,themePath:n=t,defaultValue:r})=>{var o,i,a;const l=null===(o=this.modifiedLayout.components)||void 0===o?void 0:o.find((t=>t.key===e));return null!==(i=null!==(a=zC(l,t))&&void 0!==a?a:zC(this.themeStyle,n))&&void 0!==i?i:r})),this.modifiedLayout=e;const{cachedTabId:o,defaultTabId:i,objects:a}=this.modifiedLayout;this.activeTabId=o||i||(null===(n=a[0])||void 0===n?void 0:n.childRefId)||"",this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=xw(this.modifiedLayout),this.style=this.createStyleClasses()}getStyleClasses(){return this.style}getTabStyle(e){var t;return null===(t=this.objectMap[e].components)||void 0===t?void 0:t.find((e=>"tab"===e.key))}}const aR=()=>{const t=e.useElement(),n=e.useApp(),r=e.useStaleLayout(),o=e.useEmbed(),i=e.useModel(),a=e.useTranslator(),l=e.useOptions(),s=e.useEmitter(),u=e.useInteractionState(),c=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,l=r.transform,s=void 0===l?[]:l,u=r.extend,c=void 0===u?[]:u,d={theme:t,matrix:JC(a),styles:void 0};return d.styles=tk({theme:t,id:o,transform:s,extend:c,matrix:d.matrix}),{getStyles:function(){return d.styles},getTheme:function(){return d.theme},setTheme:function(e){d.theme=e,d.styles=tk({theme:e,id:o,transform:s,extend:c,matrix:d.matrix})}}}({theme:e.useTheme(),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"]]}}),d=e.useMemo((()=>new QS(o,a)),[o,a]),[p]=e.useState((()=>new Zk(i.id))),[f,h]=e.useState(!1),m=e.useMemo((()=>o&&i&&n?new Xk({embed:o,model:i,app:n,translator:a,mutex:p}):void 0),[o,i,n,a,p]),g=e.useMemo((()=>vw(r)),[r]),b=e.useMemo((()=>new iR({modifiedLayout:g,themeService:c})),[g,c]);return e.useMemo((()=>({app:n,modifiedLayout:g,embed:o,model:i,emitter:s,interactions:u,dataHandler:m,chartList:d,styleModel:b,mutex:p,options:l,accessibility:f,setAccessibility:h,translator:a,element:t})),[g,o,i,n,s,u,m,d,b,p,l,f,a,t])},lR=({dataHandler:e,modifiedLayout:t,translator:n,sharedContainerUtilities:r,Icon:o})=>{const[i,a]=Y.useState(void 0);if(!e||!t)return null;const l=!t.qExtendsId;return q.createElement(rw,null,q.createElement(nw,null,q.createElement(o,null),l?q.createElement(q.Fragment,null,q.createElement(sw,{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},n.get("LayoutContainer.EmptyList.AddContent")),q.createElement(fw,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:r})):q.createElement(Cy,{variant:"inherit"},n.get("LayoutContainer.EmptyList.EmptyHint"))))};class sR{constructor(e){r(this,"_rendered",new Set),r(this,"_objectMap",new Map),r(this,"_objectApis",new Map),r(this,"_resolver",void 0),r(this,"_dependencyData",void 0),r(this,"_recreateMap",new Map),r(this,"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})),r(this,"doResolve",(()=>{var e,t,n;this.resolver&&(clearTimeout(null===(e=this.resolver)||void 0===e?void 0:e.timer),null===(t=(n=this.resolver).resolve)||void 0===t||t.call(n,!0),this._resolver=void 0)})),r(this,"tryToResolve",(()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){(0===e.length||e.every((e=>this.rendered.has(e.id))))&&this.doResolve()}})),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}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=>{var t;const n=this.objectMap.get(e);var r;n&&(this.confirmPotentialSelections(n),null===(r=n.destroy)||void 0===r||r.call(n),this.objectMap.delete(e));null===(t=this.objectApis.get(e))||void 0===t||t.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){var t,n;const{viewState:r,modifiedLayout:o,options:i}=this._dependencyData,{chartAnimations:a,direction:l,progressiveRendering:s,freeResize:u,navigation:c}=i;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!(null==o||!o.qExtendsId),isSnapshot:!!o.snapshotData,...!(null==r||null===(t=r.viewStates)||void 0===t||!t[e])&&{viewState:null==r?void 0:r.viewStates[e]},...!(null==r||null===(n=r.layouts)||void 0===n||!n[e])&&{layout:r.layouts[e]},direction:l,chartAnimations:a,progressiveRendering:s,freeResize:u,navigation:c,disableThemeBorder:!1}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const uR=()=>q.createElement(uw,{viewBox:"0 0 16 16"},q.createElement("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"})),cR=({libraryInfo:e,style:t,id:n})=>q.createElement("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:Fk.TABS_ICON},q.createElement(e.IconDefinition,null)),dR=({style:e,id:t})=>q.createElement("div",{style:e,"data-testid":"tab-hidden-icon",id:t},q.createElement(cw,{viewBox:"0 0 16 16"},q.createElement("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"}))),pR=()=>q.createElement(cw,{viewBox:"0 0 16 16"},q.createElement("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"})),fR=gl(iS)({width:28,overflow:"hidden"}),hR=gl(iS)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),mR=({chartObject:e,embed:t,renderHelper:n,direction:r,accessibility:o,interactions:i,env:a})=>{const l=Y.useRef(),{id:s}=e;Y.useEffect((()=>{if(s&&l.current){const e=n.getObjectOptions(s)||{};e.disableThemeBorder=!0,t.render({id:s,element:l.current,options:e}).then((e=>{n.saveObjectApi(s,e)})).catch((e=>{var t;const r=null===(t=n.getChildLayout(s))||void 0===t||null===(t=t.qInfo)||void 0===t?void 0:t.qType;console.error("Could not render chart with id",s,r,e)}))}}),[s,t,n,r]);const u=Y.useMemo((()=>()=>{if(null!=e&&e.id&&a.anything){const t=null==e?void 0:e.label,{sense:r}=a.anything,o="current",i=n.objectMap.get(e.id);i&&r.propertyPanel.show({model:i.model,parent:o,headerLabel:t,keepCurrentActiveCell:!0})}}),[a,e,n]);return Y.useEffect((()=>{const e=null==l?void 0:l.current;return e&&null!=i&&i.edit&&e.addEventListener("dblclick",u),()=>{null==e||e.removeEventListener("dblclick",u)}}),[l,u,i]),q.createElement(Xy,{className:Fk.ACTIVE_TAB_PANEL,"aria-label":e.label,tabIndex:o?0:-1,height:"100%",width:"100%",sx:{direction:"ltr",padding:"2px",boxSizing:"border-box","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200},flex:"1 0 0"}},q.createElement(Xy,{ref:l,sx:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`}))};var gR;!function(e){e.TABS_HEIGHT="36px"}(gR||(gR={}));const bR=(e,t)=>e.find((e=>e.childRefId===t)),vR=(e,t)=>!t.edit&&0===e.condition,yR=({charts:e,handleChangeTab:t,activeTabId:n,element:r,translator:o,accessibility:i,disabled:a})=>{const[l,s]=q.useState(null),u=Boolean(l),c=()=>{s(null)},d=Y.useCallback((e=>{null==e||e.focus()}),[]);return q.createElement(q.Fragment,null,q.createElement(lx,{onClick:e=>{s(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":o.get("Container.Label.Visualizations"),className:Fk.TAB_MENU,sx:{m:"2px"}},q.createElement(pR,null)),q.createElement($E,{anchorEl:l,open:u,onClose:c,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}}},e.map((e=>q.createElement(VE,{className:Fk.TAB_MENU_ITEM,ref:n===e.childRefId&&u?d:null,key:`chartTabMenu-${e.childRefId}`,onClick:()=>{(e=>{t(e.childRefId),c(),window.setTimeout((()=>{var e;null===(e=r.getElementsByClassName(Fk.ACTIVE_TAB_PANEL))||void 0===e||null===(e=e[0])||void 0===e||e.focus()}),0)})(e)},sx:{...n===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{}},"aria-label":e.label,title:e.label},q.createElement(Cy,{variant:"inherit",noWrap:!0},e.label))))))},xR=({label:e,id:t})=>q.createElement(Xy,{className:Fk.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"}},q.createElement("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"}},e)),ER=({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?q.createElement(dR,{id:`${Fk.TABS_ICON}-${r}`,style:o}):e?q.createElement(cR,{id:`${Fk.TABS_ICON}-${r}`,libraryInfo:e,style:o}):null},SR=({models:e,activeTabId:t,handleChangeTab:n})=>{const{modifiedLayout:r,chartList:o,interactions:i,accessibility:a}=e,l=null==o?void 0:o.getCharts(),s=r.objects.filter((e=>!vR(e,i))),{orientation:u,tabContainerStyle:c,ScrollButtonComponent:d}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:hR}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:fR})(r),p=!1===i.active&&!i.edit,[f,h]=Y.useState(!1),m=Y.useCallback((e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void h("vertical"===u?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}h(!1)}),[u]);return q.createElement(Xy,{className:Fk.TAB_WRAPPER,sx:c,ref:e=>{m(e)}},r.useDropdown&&f&&q.createElement(yR,{charts:s,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}),q.createElement(vS,{value:t,onChange:(e,t)=>{n(t)},ScrollButtonComponent:d,variant:"scrollable",orientation:u,scrollButtons:!!r.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:gR.TABS_HEIGHT}},s.map((n=>{var o,i,s,c,d;const f=null===(o=bw(r,n.childRefId))||void 0===o||null===(o=o.qData)||void 0===o?void 0:o.visualization,h=f&&(null==l||null===(i=l[f])||void 0===i?void 0:i.libraryInfo),m=e.styleModel.getTabStyle(n.childRefId),g=0===n.condition||r.showIcons&&h&&!1!==(null==m||null===(s=m.icon)||void 0===s?void 0:s.show),b="vertical"===u?"top":"start",v=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:b}),y=e.styleModel.resolveComponentStyle({compPath:"label.show"}),x=n.label&&(null!==(c=null==m||null===(d=m.label)||void 0===d?void 0:d.show)&&void 0!==c?c:!1!==y),E=`${r.qInfo.qId}-${n.childRefId}`;return q.createElement(KE,{className:`${Fk.TAB} ${t===n.childRefId?Fk.ACTIVE_TAB:""}`,disabled:p,id:`tab-${E}`,value:n.childRefId,title:n.label,label:x?q.createElement(xR,{label:n.label,id:E}):void 0,icon:g?q.createElement(ER,{libraryInfo:h,chart:n,iconPosition:v,id:E}):"",iconPosition:v,key:n.childRefId,"data-testid":`container-tab-${n.childRefId}`,sx:{textAlign:"vertical"!==u||r.showIcons?"center":"start",minWidth:"vertical"===u?"100%":void 0,minHeight:gR.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${E}`,tabIndex:a&&t===n.childRefId?0:-1})}))))},wR=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:r,env:o})=>{const{modifiedLayout:i,embed:a,interactions:l,options:s,styleModel:u,accessibility:c}=e,d=i.objects,p=l.edit||!!d.find((e=>0!==e.condition)),f=i.showTabs&&p,h="left"===i.orientation?"row":"column",m=u.getStyleClasses();return q.createElement(Xy,{sx:{display:"flex",flexDirection:h,height:"100%",width:"100%",direction:s.direction,...m}},f&&q.createElement(SR,{models:e,activeTabId:n,handleChangeTab:r}),d.map((e=>{const r=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,u=n===e.childRefId&&!vR(e,l);return q.createElement("div",{role:"tabpanel",id:r,key:r,hidden:!u,style:{height:"100%",width:"100%"}},u&&q.createElement(mR,{chartObject:e,renderHelper:t,direction:s.direction,embed:a,accessibility:c,interactions:l,env:o}))})))};let CR=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),kR=function(e){return e.COPY="copy",e.PASTE="paste-and-replace",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.TAKE_SNAP_SHOT="take-snapshot",e.SNAP_SHOT_GROUP="snapshotGroup",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="explainKeyDrivers",e.SUBSCRIBE="subscribe",e.NOTES_GROUP="notesGroup",e.DOWNLOAD="download",e.SHARE_IMAGE="share",e}({});const RR=[kR.PASTE,kR.ZOOM_IN,kR.VISUAL_EXPLORATION],_R=[kR.VISUAL_EXPLORATION,kR.ALERT_GROUP,kR.SHOW_DETAILS,kR.EXPLAIN_KEY_DRIVERS],TR=[kR.DELETE,kR.CUT,kR.ADD_TO_MASTER_ITEMS,kR.UNLINK_VISUALIZATION],LR=[kR.PASTE],PR=(e,t)=>{const{childRefId:n}=e.model.layout,r=t.objects.find((e=>e.childRefId===n));return{...e,additionalData:{label:null==r?void 0:r.label}}},IR=(e,t,n,r,o)=>{const i=t.getSupportFunction(kR.COPY);if(!i)return void e.deleteItem(kR.COPY);const a=()=>{i(PR(n,r)).catch((()=>{}))},l=e.items.find((e=>e.id===kR.COPY));if(l)l.updateItem({select:a});else if(o){const t=e.items.findIndex((e=>e.id===kR.CUT)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:kR.COPY,id:kR.COPY,icon:"copy",select:a,items:[]},n)}},AR=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,OR=async(e,t,n,r)=>{const o=t.getBuilder("default");if(!o)return;const i=await o();i.addItem({translation:"contextMenu.containerOptionsHeader",tid:kR.CONTAINER_HEADER,id:kR.CONTAINER_HEADER,bold:!0,items:[]},0);const a=AR(n);i.items.forEach((e=>{(_R.includes(e.id)||!a&&LR.includes(e.id))&&i.deleteItem(e.id)})),a&&await(async(e,t,n)=>{var r;const o=t.getSupportFunction(CR.PASTE),i=await(null==o||null===(r=o())||void 0===r?void 0:r.catch((()=>{})));if(!i||KS.includes(i.template))return void e.deleteItem(kR.PASTE);const a=()=>{n()},l=e.items.find((e=>e.id===kR.PASTE));if(l)l.updateItem({translation:"contextMenu.paste",select:a});else{const t=e.items.findLastIndex((e=>e.id===kR.COPY||e.id===kR.DEVELOPER||e.id===kR.CONTAINER_HEADER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:kR.PASTE,id:kR.PASTE,icon:"paste",select:a,items:[]},n)}})(i,t,r),e.updateItem({items:i.items}),1===e.items.length&&e.deleteItem(kR.CONTAINER_HEADER)},MR=e=>{const t={[kR.MONITOR_IN_HUB]:!0,[kR.SUBSCRIBE]:!0,[kR.NOTES_GROUP]:!0,[kR.DOWNLOAD]:!0,[kR.SHARE_IMAGE]:!0};e.items.forEach((n=>{t[n.id]?e.deleteItem(n.id):n.items&&MR(n)}))},NR=(e,t,n,r,o,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=r;if(AR(r)){n.isInvalid||(((e,t,n,r)=>{const{model:o,modifiedLayout:i}=n,a=e.items.findLastIndex((e=>e.id===kR.CHART_HEADER||e.id===kR.REORDER_LAYERS_GROUP)),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:kR.EDIT_PROPERTIES,id:kR.EDIT_PROPERTIES,icon:kR.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,n=i.objects.find((t=>t.childRefId===e)),a=null==n?void 0:n.label,{sense:l}=r.anything,s=o;l.propertyPanel.show({model:t.model,parent:s,headerLabel:a})}},l)})(a,n,r,o),((e,t,n,r,o,i)=>{const a=r.getSupportFunction(kR.COPY);if(!a)return void e.deleteItem(kR.CUT);const l=()=>{o&&a(PR(n,i)).then((async()=>{await(null==o?void 0:o.deleteChildren([t]))})).catch((()=>{}))},s=e.items.find((e=>e.id===kR.CUT));if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex((e=>e.id===kR.ADD_TO_MASTER_ITEMS||e.id===kR.UNLINK_VISUALIZATION||e.id===kR.EDIT_PROPERTIES||e.id===kR.REORDER_LAYERS_GROUP||e.id===kR.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:kR.CUT,id:kR.CUT,icon:"cut",select:l,items:[]},n)}})(a,t,n,e,l,s),IR(a,e,n,s,!0),((e,t,n,r,o)=>{const i=t.getSupportFunction(CR.COPY),a=t.getSupportFunction(CR.PASTE);if(!i||!a)return void e.deleteItem(kR.DUPLICATE);const l=()=>{i(PR(n,r)).then((()=>{o()})).catch((()=>{}))},s=e.items.find((e=>e.id===kR.DUPLICATE));if(s)s.updateItem({select:l});else{const t=e.items.findIndex((e=>e.id===kR.COPY)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:kR.DUPLICATE,id:kR.DUPLICATE,icon:kR.DUPLICATE,items:[],select:l},n)}})(a,e,n,s,i)),((e,t,n)=>{const r=()=>{n&&n.deleteChildren([t]).catch((()=>{}))},o=e.items.find((e=>e.id===kR.DELETE));if(o)o.updateItem({select:r});else{const t=e.items.findLastIndex((e=>e.id===kR.DUPLICATE||e.id===kR.ADD_TO_MASTER_ITEMS||e.id===kR.UNLINK_VISUALIZATION||e.id===kR.REORDER_LAYERS_GROUP||e.id===kR.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:kR.DELETE,id:kR.DELETE,icon:"bin",items:[],select:r},n)}})(a,t,l)}else IR(a,e,n,s,!1)},zR=(t,n,r,o)=>{e.onContextMenu((async(e,i,a)=>{var l;if(!a)return!1;const s=((e,t)=>()=>{if(!e)return;const n=t.getSupportFunction(CR.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(CR.RESET_COPY_BUFFER)}))})(r.dataHandler,a);if(await OR(e,a,r,s),MR(e),!(e=>{var t;let n;n="qv-radial-contextmenu"===e.type?null===(t=e.touches[0])||void 0===t?void 0:t.target:e.target;return n&&((e,t)=>{let n=e;for(;n;){var r;if(null!==(r=n.classList)&&void 0!==r&&r.contains(t))return n;n=n.parentNode}return null})(n,Fk.ACTIVE_TAB_PANEL)})(i))return!0;const u=null===(l=r.modifiedLayout.objects.find((e=>e.childRefId===t)))||void 0===l?void 0:l.id;if(!u)return!0;const c=n.objectMap.get(u);if(!c)return!0;const d=NR(a,t,c,r,o,s),p=await(async(e,t,n,r)=>{const o=AR(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:kR.CHART_HEADER,id:kR.CHART_HEADER,bold:!0,items:[]},0),r(a),a.items.forEach((e=>{(RR.includes(e.id)||!o&&TR.includes(e.id))&&a.deleteItem(e.id)})),1===a.items.length&&a.deleteItem(kR.CHART_HEADER),a})(a,c,r,d);return!p||(e.items.length>0&&p.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...e.items]},p.items.length),e.updateItem({items:p.items}),!0)}))},jR=({element:t,models:n,env:r})=>{var o;const i=((t,n)=>{const[r,o]=e.useState(void 0);return e.useEffect((()=>{if(0===t.getElementsByClassName(n).length){const e=document.createElement("div");e.className=n,t.appendChild(e);const r=XS(e);o(r)}return()=>{null==r||r.unmount()}}),[t,n,r]),r})(t,"init-component"),{options:a,modifiedLayout:l,interactions:s,model:u}=n,{cachedTabId:c,defaultTabId:d,objects:p,qChildList:f}=l,h=YS(a.direction),m=(t=>{const{viewState:n}=e.useOptions(),{snapshotData:r}=t;if(r){var o;const{layouts:e}=r.objectsData;return{layouts:e,viewStates:null===(o=r.viewState)||void 0===o?void 0:o.viewStates}}if(n){const{viewStates:e}=n;return{viewStates:e}}})(l),g=c||d||(null===(o=p[0])||void 0===o?void 0:o.childRefId)||"",b={modifiedLayout:l,activeTabId:g,env:r},[v,y]=Wk(b);y(b);const x=e.useMemo((()=>l.objects.filter((e=>g===e.childRefId))),[g,l.objects]),{renderHelper:E}=(t=>{const{visibleLayoutObjects:n,options:r}=t,[o]=e.useState((()=>new sR(t))),[,i]=e.useState(r);return o.dependencyData=t,e.usePromise((async()=>{var e,t;return i((e=>(e!==r&&n.forEach((e=>o.recreateMap.set(e.id,!0))),r))),o.syncObjects(n)?null===(t=o.createTimerForRendering())||void 0===t?void 0:t.promise:null===(e=o.resolver)||void 0===e?void 0:e.promise}),[n,r]),e.useEffect((()=>()=>{o.destroy()}),[o]),{renderHelper:o}})({modifiedLayout:l,visibleLayoutObjects:x,viewState:m,options:a});zR(g,E,n,r);const[S]=e.useState({current:void 0}),w=e.useMemo((()=>e=>{(async({model:e,patchList:t})=>{if(null!=e&&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:t&&JSON.stringify(t)}):"Replace"===i&&r.push({qPath:`/${o}`,qOp:"Remove"})})),r.length>0&&await e.applyPatches(r,!0)}})({model:u,patchList:[{newValue:e,propertyName:"cachedTabId"}]})}),[u]),C=e.useMemo((()=>({setSelected:e=>{var t;const n=null===(t=v.modifiedLayout.objects.find((t=>t.id===e[0])))||void 0===t?void 0:t.childRefId;n?w(n):S.current=e[0]}})),[w,v,S]);e.useEffect((()=>{const e=(({chartObjects:e,activeTabId:t})=>{var n;return!bR(e,t)&&e.length>0?null===(n=e[0])||void 0===n?void 0:n.childRefId:t})({chartObjects:v.modifiedLayout.objects,activeTabId:v.activeTabId});if(e!==v.activeTabId)w(e);else if(S.current){var t;const e=null===(t=v.modifiedLayout.objects.find((e=>e.id===S.current)))||void 0===t?void 0:t.childRefId;e&&w(e)}S.current=void 0}),[null==l?void 0:l.objects.length,v,S,w]),e.useEffect((()=>{const e=(({chartObjects:e,activeTabId:t,interactions:n})=>{const r=bR(e,t);if(!r||vR(r,n)){const n=e.find((e=>0!==e.condition));return(null==n?void 0:n.childRefId)||t}return t})({chartObjects:v.modifiedLayout.objects,activeTabId:v.activeTabId,interactions:s});e!==v.activeTabId&&w(e)}),[s,null==l?void 0:l.objects,v,w]);const k=0===f.qItems.length&&s.edit;return e.useEffect((()=>{null==i||i.render(q.createElement(vl,{theme:h},k&&q.createElement(lR,{Icon:uR,dataHandler:n.dataHandler,modifiedLayout:n.modifiedLayout,translator:n.translator,sharedContainerUtilities:C}),!k&&q.createElement(wR,{models:n,renderHelper:E,activeTabId:g,handleChangeTab:w,env:r})))}),[i,n,h,k,E,g,C,w,r]),{renderHelper:E,sharedContainerUtilities:C,activeTabId:g}};var DR={targets:[]};const $R={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 BR=(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};return function(t){const r=new qS({translator:t.translator});return{qae:{properties:$R,data:DR},ext:Mk({env:t,propertyHandlerData:r}),component(){const o=aR(),i=e.useTranslator();e.useMemo((()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(n).forEach((t=>{e.add(n[t])}))}}(i)}),[i]);const{dataHandler:a,model:l,accessibility:s,setAccessibility:u,interactions:c,element:d,modifiedLayout:p}=o,{renderHelper:f,sharedContainerUtilities:h,activeTabId:m}=jR({element:d,models:o,env:t});(({propertyHandlerData:t,element:n,sharedContainerUtilities:r,translator:o,containerId:i,dataHandler:a,renderHelper:l})=>{const s=e.useOptions();i&&t.sync({containerId:i,element:n,sharedContainerUtilities:r,translator:o,dataHandler:a,renderHelper:l}),e.useEffect((()=>{t.setMuiTheme(s.direction)}),[s.direction,t]),e.useEffect((()=>()=>{i&&t.destroy(i)}),[i,t,s.direction])})({containerId:(null==l?void 0:l.id)||"",element:d,sharedContainerUtilities:h,translator:i,dataHandler:a,propertyHandlerData:r,renderHelper:f});const[g,b]=e.useState(!0);(({isContainerActive:t,activeTabId:n,modifiedLayout:r,renderHelper:o})=>{const i={modifiedLayout:r,activeTabId:n,renderHelper:o,isContainerActive:t},[a,l]=Wk(i);l(i);const s=e.useMemo((()=>()=>{const e=yw(a.modifiedLayout);for(const[t,n]of a.renderHelper.objectMap.entries()){const r=a.isContainerActive&&a.activeTabId===e[t];"setIsActive"in n&&n.setIsActive(r)}}),[a]);e.useEffect((()=>{a.isContainerActive&&s()}),[o.objectMap,s,a]),e.useEffect((()=>{s()}),[t,s])})({isContainerActive:g,activeTabId:m,renderHelper:f,modifiedLayout:p}),Gk({element:d,accessibility:s,setAccessibility:u,renderHelper:f,interactions:c});const{getViewState:v}=Dk(f,BR);e.useImperativeHandle((()=>({getViewState:v,getChildrenObjects:()=>(e=>e.map((e=>{if(e.canReceive){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})))(f.getChildrenObjects()),updateActiveState(e){b(e)}})),[])}}}}));
108
+ e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,l,s,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(n=(t="-"===(e=e.substring(f,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))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],s=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%s,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},wk({exports:{}});var Ok="'Source Sans Pro', 'Arial', 'sans-serif'",Mk="#333333",Nk="#595959",jk="#737373",zk="#cccccc",$k="#e6e6e6";function Dk(e){var t={};return[].concat(dC(e),dC([["","","color"],["object","","fontFamily"],["object","axis.label.name","color",Nk],["object","axis.label.name","fontFamily",Ok],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",zk],["object","axis.line.minor","color",$k],["object","axis.title","color"],["object","axis.title","fontFamily",Ok],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",$k],["object","grid.line.major","color",zk],["object","grid.line.minor","color",$k],["object","label.value","color",Nk],["object","label.value","fontFamily",Ok],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",Nk],[!1,"label.value","lightColor",$k],["object","outOfRange","color","#999"],["object","legend.title","color",Mk],["object","legend.title","fontFamily",Ok],["object","legend.title","fontSize","15px"],["object","legend.label","color",Nk],["object","legend.label","fontFamily",Ok],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",Mk],["object","referenceLine.label.name","fontFamily",Ok],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",$k],["object","referenceLine.outOfBounds","fontFamily",Ok],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",jk,function(e){return"transparent"===e?jk: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 Bk=function(e){return e};function Fk(e){var t=e.theme,n=e.id,r=e.transform,o=e.extend,i=e.matrix,a={},l=r.reduce((function(e,t){var n=cC(t,2),r=n[0],o=n[1];return e[r]=o,e}),{});return i.forEach((function(e){var r=cC(e,5),o=r[0],i=r[1],s=r[2],u=r[3],c=r[4],d=void 0===c?function(e){return e}:c,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 l=t.getStyle(n,r,o);return void 0===l?a:l}({theme:t,base:"object"===o&&n?"".concat("object",".").concat(n):o,path:i,attribute:s,defaultValue:u}),f=(l["".concat(i,".").concat(s)]||Bk)(d(p));kk(a,[i,s].filter(Boolean).join("."),f)})),o.forEach((function(e){var t=cC(e,2),n=t[0],r=t[1];kk(a,n,r)})),a}const Wk={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function Gk(e){if(!e.objects)return{};const t=aC(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map((n=>{var r;return{chart_type:n.qData.visualization,chart_id:n.qInfo.qId,chart_isMaster:!!n.qData.qExtendsId,tab_isVisible:0!==(null===(r=t[n.qData.childRefId])||void 0===r?void 0:r.condition),tab_isActive:n.qData.childRefId===e.cachedTabId}}))}}const Hk=({ref:e,theme:t,change:n})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9.5,component:"dropdown",change(t){(Sk(t,`${e}.color`)||Sk(t,`${e}.colorExpression`))&&(kk(t,`${e}.color`,void 0),kk(t,`${e}.colorExpression`,void 0)),null==n||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:1,show:t=>!Sk(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>{var n;return{color:null!==(n=null==t?void 0:t.getStyle("object.tabbedContainer",e,"color"))&&void 0!==n?n:"none"}},showAlpha:!0,change:e=>{null==n||n(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>Sk(t,`${e}.useColorExpression`)}}}),Uk=({theme:e})=>({bgColorAllWrapper:Hk({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:Hk({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Hk({ref:"background.hover",theme:e,change:e=>{kk(e,"indicator.hover.color",Sk(e,"background.hover.color")),kk(e,"indicator.hover.useColorExpression",Sk(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),Vk=({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=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.show)}},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.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}}},Yk=({theme:e})=>({colorWrapper:Hk({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Hk({ref:"indicator.hover",theme:e,change:e=>{kk(e,"background.hover.color",Sk(e,"indicator.hover.color")),kk(e,"background.hover.useColorExpression",Sk(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),qk=({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)=>{var r;const o=null===(r=e.label)||void 0===r?void 0:r.fontFamily,i=(e=>{const t=[];return e.objects.forEach((e=>{var n,r;const o=null===(n=e.components)||void 0===n?void 0:n.find((e=>"tab"===e.key)),i=null==o||null===(r=o.label)||void 0===r?void 0:r.fontFamily;i&&-1===t.indexOf(i)&&t.push(i)})),t})(n);o&&-1===i.indexOf(o)&&i.push(o),n.fontsUsed=i}},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}}},Kk=({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:qk({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:r})}}}),Xk=({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=>{var t,n;if(void 0!==(null===(t=e.width)||void 0===t?void 0:t.value)&&"%"===(null===(n=e.width)||void 0===n?void 0:n.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=>{var t;return"px"===(null===(t=e.width)||void 0===t?void 0:t.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=>{var t,n;return!(null!==(t=e.width)&&void 0!==t&&t.unit)||"px"!==(null===(n=e.width)||void 0===n?void 0:n.unit)},defaultValue:[5,20]}}}}}),Qk=({theme:e,ref:t,key:n})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:n,items:Yk({theme:e})}}}),Zk=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:Vk({paths:{ref:"icon",theme:"icon.value"},fontResolver:n,theme:r})}},show:(e,{layout:t})=>!0===t.showIcons}),Jk=({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:Hk({ref:"background"})}:Uk({theme:e})}}}),eR=({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:Kk({ref:n,key:r,fontResolver:e,theme:t}),width:{...Xk({ref:n,key:r}),show:(e,{layout:t})=>"left"!==t.orientation},icon:Zk({ref:n,key:r,fontResolver:e,theme:t}),background:Jk({ref:n,key:r,theme:t})}}},tR={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},nR={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},rR=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{var n,r,o;const i=t.getLayout(),a=null===(n=rC(i,e.childRefId))||void 0===n?void 0:n.qMeta;return!(null!=a&&null!==(r=a.privileges)&&void 0!==r&&r.includes("update")&&null!==(o=i.permissions)&&void 0!==o&&o.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:t.label}),n.setSelectedChild([i]))}}),oR=e=>{const{sense:t}=e.env.anything;return{label:tR,condition:nR,styling:eR({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),editProperties:rR(e)}},iR={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},aR={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},lR=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:oR(e)}),sR=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:iR,chartsLabel:aR,chartList:lR(e)}}),uR={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},cR={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},dR={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},pR={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},fR={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=lC(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},hR={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},mR=({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:Kk({ref:n,key:r,fontResolver:e,theme:t}),width:Xk({ref:n,key:r}),indicator:Qk({ref:n,key:r,theme:t}),icon:Zk({ref:n,key:r,fontResolver:e,theme:t}),background:Jk({ref:n,key:r,theme:t})}}},gR={items:{details:{show:e=>!0===e.showDetails}}},bR=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:mR({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),container:{type:"items",items:{showTabs:uR,useDropdown:cR,useScrollButton:dR,showIcons:pR,orientation:hR,defaultTabId:fR}}}}},vR=e=>({uses:"settings",items:{general:gR,presentation:bR(e)}}),yR=e=>({type:"items",component:"accordion",items:{content:sR(e),settings:vR(e)}}),xR=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?"object":"".concat("object",".").concat(r),paths:Array.isArray(o)?o:[]}}({config:o}),l=a.id,s=a.paths,u={};s.forEach((function(e){for(var r=e.split("."),o=u,a=0;a<r.length;a++){var s=r[a];a===r.length-1?o[s]=wC({theme:t,translator:n,id:l,path:e,flags:i}):void 0===o[s]&&(o[s]={}),o=o[s]}}));var c=function(e){for(var t=e.split("."),n=u,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 u.getDefaultValue=function(e){return c(e).getDefaultValue()},u.getOptions=function(e){return c(e).getOptions()},u}({theme:null==t?void 0: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){var i;const r=await e.model.getProperties();return o.setProperties(r),o.setLayout(null===(i=e.model)||void 0===i?void 0:i.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(){var e;null===(e=o.addChild({initProps:{qExtendsId:r.id,qInfo:{qType:"undefined"}}}))||void 0===e||e.then((e=>{e&&o.setSelectedChild([e.id])}))}}),void n();const a=await t.item.getDropOption(t.item);"newObject"===(null==a?void 0:a.id)&&t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"createvisualization",select(){var e,t;null===(e=o.addChild({initProps:{...a.args.init,visualization:a.args.template},children:null===(t=a.args.children)||void 0===t?void 0:t.map((e=>({qProperty:e})))}))||void 0===e||e.then((e=>{e&&o.setSelectedChild([e.id])}))}}),n()},async addChild(t,n){const{model:r}=this,o=new sC({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&&Nw.includes(t.template))return!1;if("visualization"===t.type&&Nw.includes(t.visualization))return!1}return"gridcell"!==e.type||!Nw.includes(e.cell.model.layout.visualization)}}}(e);return{definition:yR({...e,fontResolver:n}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new sC({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(),l=await t.getFullPropertyTree();if(!l.qProperty.objects&&n){const s=[];l.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}}};s.push(r(n.qInfo.qId))}}));const u=await Promise.all(s),c={...e,objects:n,defaultTabId:null!=r?r:"",components:o,qChildListDef:Wk,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...l,qProperty:c,qChildren:u})}}})(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:Gk}},ER=e=>e.reduce(((e,{id:t,data:n})=>(n&&(e[t]=n),e)),{}),SR=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:ER(n)}},wR=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 ER(n)},CR=(t,n)=>(e.onTakeSnapshot((async e=>{const r=e,{snapshotData:o}=r;if(o){const e=oC(r),i=n(t.objectMap,e),[a,l]=await Promise.all([wR(i.objectMap),SR(i.objectMap)]);o.objectsData={layouts:a},r.objects=i.objects,o.viewState=l}return e})),{getViewState:()=>SR(t.objectMap)});let kR=function(e){return e.COPY="ctrl+c",e.CUT="ctrl+x",e.PASTE="ctrl+v",e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e.SHIFT="Shift",e}({}),RR=function(e){return e.KEY_DOWN="keydown",e.KEY_UP="keyup",e.FOCUS_OUT="focusout",e}({});var _R,TR;!function(e){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"}(_R||(_R={})),function(e){e.TABS="& .tab-button.MuiTab-root, .tab-button.active-tab-button",e.TABS_HOVER="& .tab-button.MuiTab-root:hover",e.TABS_LABEL="& .tab-label",e.TABS_ICON="& .tab-icon svg",e.TABS_WRAPPER="& .tab-wrapper",e.TAB_INDICATOR="& .MuiTabs-indicator"}(TR||(TR={}));const AR=e=>{var t;return null===(t=e.getElementsByClassName(_R.ACTIVE_TAB))||void 0===t?void 0:t[0]},IR=e=>{var t;return null===(t=e.getElementsByClassName(_R.ACTIVE_TAB_PANEL))||void 0===t?void 0:t[0]},LR=({element:t,setAccessibility:n,accessibility:r,renderHelper:o,interactions:i,env:a,models:l})=>{const{modifiedLayout:{showTabs:s,objects:u,orientation:c},translator:d}=l;e.useEffect((()=>{(()=>{const e="top"===c?d.get("TabContainer.Navigation.Horizontal"):d.get("TabContainer.Navigation.Vertical"),n=((e,t)=>e.map((e=>e.label||t.get("TabContainer.Object.Untitled"))).join(", "))(u,d);t.setAttribute("aria-label",d.get("TabContainer.Object.Description",[n,s?e:""]))})()}),[t,s,u,d,c]);const p=a.flags.isEnabled("VIZ-7_NEW_SHEET"),f=e.useKeyboard(),h=e.useMemo((()=>()=>{var e;(n(!1),f.enabled)&&(null===(e=f.blur)||void 0===e||e.call(f,!0))}),[f,n]),m=e.useMemo((()=>e=>{switch(e.shiftKey?`shift+${e.key}`:e.key){case kR.ESCAPE:var n;e.stopPropagation(),null===(n=f.blur)||void 0===n||n.call(f,!0);break;case kR.ENTER:case kR.SPACE:{e.stopPropagation();const n=e.target;var r;if(null!=n&&n.classList.contains(_R.ACTIVE_TAB))null===(r=IR(t))||void 0===r||r.focus();break}}}),[t,f]),g=e.useMemo((()=>e=>{const n=e.shiftKey?`shift+${e.key}`:e.key,r=o.objectMap.values().next().value,i=o.objectApis.values().next().value;switch(n){case kR.ESCAPE:{const n=AR(t);p?(({event:e,objectApi:t,activeTab:n})=>{var r;e.stopPropagation(),(null==t?void 0:t.viewDataToggled)&&(null===(r=t.support)||void 0===r?void 0:r.call(t,"viewData"))?t.toggleDataView():null==n||n.focus()})({event:e,objectApi:i,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{var r,o;e.stopPropagation(),(null==t?void 0:t.viewDataToggled)&&(null===(r=t.supportViewData)||void 0===r?void 0:r.call(t))?null===(o=t.toggleDataView)||void 0===o||o.call(t):null==n||n.focus()})({event:e,objectApi:r,activeTab:n});break}case kR.ENTER:case kR.SPACE:{const n=IR(t);p?(({event:e,objectApi:t,activeTab:n})=>{var r,o,i;if(!t)return;e.stopPropagation(),null===(r=t.setOnBlurHandler)||void 0===r||r.call(t,(()=>{var e;null==n||n.focus(),null===(e=t.setOnBlurHandler)||void 0===e||e.call(t,void 0)})),!t.viewDataToggled&&(null===(o=t.support)||void 0===o?void 0:o.call(t,"viewData"))?t.toggleDataView():null===(i=t.toggleFocus)||void 0===i||i.call(t,!0)})({event:e,objectApi:i,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{var r,o,i,a;if(!t)return;e.stopPropagation(),null===(r=t.setOnBlurHandler)||void 0===r||r.call(t,(()=>{var e;null==n||n.focus(),null===(e=t.setOnBlurHandler)||void 0===e||e.call(t,void 0)})),!t.viewDataToggled&&(null===(o=t.supportViewData)||void 0===o?void 0:o.call(t))?null===(a=t.toggleDataView)||void 0===a||a.call(t):t.viewDataToggled&&"function"==typeof(null===(i=t.dataViewObject)||void 0===i?void 0:i.focus)?t.dataViewObject.focus():"function"==typeof t.focus&&t.focus()})({event:e,objectApi:r,activeTab:n});break}case kR.OPEN_CONTEXT_MENU:e.stopPropagation(),null!=r&&r.viewDataToggled||t!==document.activeElement&&(h(),t.focus())}}),[t,h,p,o]),b=e.useMemo((()=>e=>{const t=e.target;null!=t&&t.classList.contains(_R.ACTIVE_TAB_PANEL)?g(e):m(e)}),[m,g]);e.useEffect((()=>(r&&t.addEventListener(RR.KEY_DOWN,b),()=>{t.removeEventListener(RR.KEY_DOWN,b)})),[t,r,b]);const[v,y]=e.useState(!1);e.useEffect((()=>{v&&(y(!1),window.setTimeout((()=>{var e,n;return null===(e=null!==(n=(e=>{var t;return null===(t=e.getElementsByClassName(_R.TAB_MENU))||void 0===t?void 0:t[0]})(t))&&void 0!==n?n:AR(t))||void 0===e?void 0:e.focus()}),0))}),[t,v]),e.useEffect((()=>{n(!1)}),[i.edit,n]),e.useEffect((()=>{const e=e=>{const n=e.relatedTarget;null!=t&&t.contains(n)||null!=n&&n.classList.contains(_R.TAB_MENU_ITEM)||null==h||h()};return f.enabled&&f.active&&!i.edit&&(n(!0),y(!0),t.addEventListener(RR.FOCUS_OUT,e)),()=>{t.removeEventListener(RR.FOCUS_OUT,e)}}),[f])},PR=t=>{const[n]=e.useState(t);return[n,function(e){Object.assign(n,e)}]},OR={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 MR={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class NR{constructor(e){r(this,"sessionObject",void 0),r(this,"getOrCreateSessionObject",(async e=>{const t=MR.qInfo.qId;this.sessionObject=await e.getObject(t).catch((()=>e.createSessionObject(MR)))})),r(this,"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=>!Nw.includes(e.visualization)))}catch(e){return[]}})),this.getOrCreateSessionObject(e).catch((()=>{}))}}let jR=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 zR{constructor({embed:e,model:t,app:n,translator:o,mutex:i}){r(this,"model",void 0),r(this,"embed",void 0),r(this,"app",void 0),r(this,"undoRedoModel",void 0),r(this,"chartList",void 0),r(this,"masterVizList",void 0),r(this,"mutex",void 0),r(this,"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})),r(this,"generateProperties",(async(e,t)=>await this.embed.generateProperties({type:e,properties:t}))),r(this,"addVizAsChild",(async({type:e,initProps:t,objectInitProps:n,children:r})=>{try{const o=await this.generateProperties(e,t);let i=(null==n?void 0:n.label)||(null==t?void 0:t.title);if(!i){const n=this.getChart(null==t?void 0:t.visualization),r=null==n?void 0:n.libraryInfo;i=(null==r?void 0:r.translation)||(null==r?void 0:r.name)||e}const a={...n,label:i};return await this.addChild(o,r,a)}catch(e){return}})),r(this,"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=(null==t?void 0:t.label)||o.title||o.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},l={...t,label:i};return await this.addChild(a,n,l)}catch(e){return}})),r(this,"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(e){return!1}finally{this.mutex.unlock()}})),r(this,"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 jR.TOP:{if(0===o)break;const e=r.splice(o,1)[0];r.unshift(e),i=!0;break}case jR.BOTTOM:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.push(e),i=!0;break}case jR.UP:{if(0===o)break;const e=r.splice(o,1)[0];r.splice(o-1,0,e),i=!0;break}case jR.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()}})),r(this,"getCharts",(()=>{var e;return(null===(e=this.chartList)||void 0===e?void 0:e.getCharts())||{}})),r(this,"getMasterVizList",(()=>{var e;return(null===(e=this.masterVizList)||void 0===e?void 0:e.getMasterVisualizations())||Promise.resolve([])})),r(this,"getChart",(e=>{var t;return null===(t=this.chartList)||void 0===t?void 0:t.getChart(e)})),r(this,"getChartLabelById",((e,t)=>{var n,r;const o=null==e||null===(n=e.qChildList)||void 0===n?void 0:n.qItems.find((e=>e.qInfo.qId===t));if(!o)return"";const{visualization:i,title:a}=o.qData;if(a)return a;const l=this.getChart(i);return(null==l||null===(r=l.libraryInfo)||void 0===r?void 0:r.translation)||i})),this.model=t,this.embed=e,this.app=n;const a=n;a&&a.getUndoInfoObject&&a.getUndoInfoObject().then((e=>{this.undoRedoModel=e})).catch((()=>{})),n&&(this.masterVizList=new NR(n)),e&&o&&(this.chartList=new jw(e,o)),this.mutex=i}async addChild(e,t,n){if(this.model&&!Nw.includes(e.visualization))try{await this.mutex.lock();const{model:r}=this,o=async()=>{e.childRefId=OR.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(e){return}finally{this.mutex.unlock()}}}class $R{constructor(e){r(this,"locked",!1),r(this,"tasks",[]),r(this,"id",void 0),r(this,"lock",(async()=>this.locked?new Promise((e=>{this.tasks.push(e)})):(this.locked=!0,!0))),r(this,"unlock",(()=>{if(this.tasks.length>0){const e=this.tasks.shift();null==e||e(!0)}else this.locked=!1})),this.id=e}}const DR={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}},BR={index:-1,color:"none",alpha:1},FR=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}},WR=(e,t,n,r,o=1)=>{let i,a,l,s=[];switch(n=Math.floor(n)){case 0:s=[e,t,0];break;case 1:s=[t,e,0];break;case 2:s=[0,e,t];break;case 3:s=[0,t,e];break;case 4:s=[t,0,e];break;case 5:s=[e,0,t];break;default:s=[0,0,0]}return i=s[0]+r,a=s[1]+r,l=s[2]+r,i=Math.round(255*i),a=Math.round(255*a),l=Math.round(255*l),`rgba(${i},${a},${l},${o})`},GR=e=>{const{h:t,s:n,l:r}=FR(e),o=e.length>7?parseFloat(e[7]):1,i=r<=.5?2*r*n:(2-2*r)*n,a=t/60,l=i*(1-Math.abs(a%2-1));return WR(i,l,a,r-.5*i,o)},HR={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 GR(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 GR(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}=FR(e),o=r*n,i=t/60,a=o*(1-Math.abs(i%2-1));return WR(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&&DR[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=(null==e?void 0:e.color)||BR;let o;return o=null!=e&&e.useColorExpression?HR.resolveExpression(e):"string"==typeof r?r:(null==n?void 0:n.getColorPickerColor(r))||"",o&&"none"!==o?o:t}};class UR{constructor({modifiedLayout:e,themeService:t}){var n;r(this,"modifiedLayout",void 0),r(this,"themeStyle",void 0),r(this,"style",void 0),r(this,"objectMap",void 0),r(this,"activeTabId",void 0),r(this,"theme",void 0),r(this,"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}`}})),r(this,"getTabWidth",(e=>{var t;const n=null==e?void 0:e.value,r=null!==(t=null==e?void 0:e.unit)&&void 0!==t?t:"%";if(void 0===n||2!==n.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${n[0]}${r}`,maxWidth:`${n[1]}${r}`}})),r(this,"getColorStyle",((e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t}),r=HR.getColor({style:n,theme:this.theme});return null!=r?r:n})),r(this,"getTabBackgroundStyle",((e,t)=>{let n;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});n=HR.getColor({style:e,theme:this.theme})}return null!=n?n:HR.getColor({style:t,theme:this.theme})})),r(this,"createTabClasses",(()=>{var e;return null===(e=this.modifiedLayout.objects)||void 0===e?void 0:e.reduce(((e,t)=>{var n;const r=null==t?void 0:t.childRefId,o=null==t||null===(n=t.components)||void 0===n?void 0:n.find((e=>"tab"===e.key));return e[`#tab-${this.modifiedLayout.qInfo.qId}-${r}`]={textAlign:Sk(o,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(r,null==o?void 0:o.background),...this.getTabWidth(null==o?void 0:o.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${r}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${r}`]={fontSize:Sk(o,"label.fontSize"),fontFamily:Sk(o,"label.fontFamily"),color:HR.getColor({style:Sk(o,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${r} svg`]={height:Sk(o,"icon.size"),color:HR.getColor({style:Sk(o,"icon.color"),theme:this.theme})},e}),{})})),r(this,"createTabsClasses",(()=>({[TR.TABS_LABEL]:{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"})},[TR.TABS_ICON]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[TR.TABS]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[TR.TABS_HOVER]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[TR.TABS_WRAPPER]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[TR.TAB_INDICATOR]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}}))),r(this,"createStyleClasses",(()=>({...this.createTabsClasses(),...this.createTabClasses()}))),r(this,"resolveComponentStyle",(({key:e="tabs",compPath:t,themePath:n=t,defaultValue:r})=>{var o,i,a;const l=null===(o=this.modifiedLayout.components)||void 0===o?void 0:o.find((t=>t.key===e));return null!==(i=null!==(a=Sk(l,t))&&void 0!==a?a:Sk(this.themeStyle,n))&&void 0!==i?i:r})),this.modifiedLayout=e;const{cachedTabId:o,defaultTabId:i,objects:a}=this.modifiedLayout;this.activeTabId=o||i||(null===(n=a[0])||void 0===n?void 0:n.childRefId)||"",this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=aC(this.modifiedLayout),this.style=this.createStyleClasses()}getStyleClasses(){return this.style}getTabStyle(e){var t;return null===(t=this.objectMap[e].components)||void 0===t?void 0:t.find((e=>"tab"===e.key))}}const VR=()=>{const t=e.useElement(),n=e.useApp(),r=e.useStaleLayout(),o=e.useEmbed(),i=e.useModel(),a=e.useTranslator(),l=e.useOptions(),s=e.useEmitter(),u=e.useInteractionState(),c=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,l=r.transform,s=void 0===l?[]:l,u=r.extend,c=void 0===u?[]:u,d={theme:t,matrix:Dk(a),styles:void 0};return d.styles=Fk({theme:t,id:o,transform:s,extend:c,matrix:d.matrix}),{getStyles:function(){return d.styles},getTheme:function(){return d.theme},setTheme:function(e){d.theme=e,d.styles=Fk({theme:e,id:o,transform:s,extend:c,matrix:d.matrix})}}}({theme:e.useTheme(),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"]]}}),d=e.useMemo((()=>new jw(o,a)),[o,a]),[p]=e.useState((()=>new $R(i.id))),[f,h]=e.useState(!1),m=e.useMemo((()=>o&&i&&n?new zR({embed:o,model:i,app:n,translator:a,mutex:p}):void 0),[o,i,n,a,p]),g=e.useMemo((()=>oC(r)),[r]),b=e.useMemo((()=>new UR({modifiedLayout:g,themeService:c})),[g,c]);return e.useMemo((()=>({app:n,modifiedLayout:g,embed:o,model:i,emitter:s,interactions:u,dataHandler:m,chartList:d,styleModel:b,mutex:p,options:l,accessibility:f,setAccessibility:h,translator:a,element:t})),[g,o,i,n,s,u,m,d,b,p,l,f,a,t])},YR=({dataHandler:e,modifiedLayout:t,translator:n,sharedContainerUtilities:r,Icon:o})=>{const[i,a]=Y.useState(void 0);if(!e||!t)return null;const l=!t.qExtendsId;return q.createElement(Gw,null,q.createElement(Ww,null,q.createElement(o,null),l?q.createElement(q.Fragment,null,q.createElement(qw,{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},n.get("LayoutContainer.EmptyList.AddContent")),q.createElement(Jw,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:r})):q.createElement(Cx,{variant:"inherit"},n.get("LayoutContainer.EmptyList.EmptyHint"))))};class qR{constructor(e){r(this,"_rendered",new Set),r(this,"_objectMap",new Map),r(this,"_objectApis",new Map),r(this,"_resolver",void 0),r(this,"_dependencyData",void 0),r(this,"_recreateMap",new Map),r(this,"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})),r(this,"doResolve",(()=>{var e,t,n;this.resolver&&(clearTimeout(null===(e=this.resolver)||void 0===e?void 0:e.timer),null===(t=(n=this.resolver).resolve)||void 0===t||t.call(n,!0),this._resolver=void 0)})),r(this,"tryToResolve",(()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){(0===e.length||e.every((e=>this.rendered.has(e.id))))&&this.doResolve()}})),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}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=>{var t;const n=this.objectMap.get(e);var r;n&&(this.confirmPotentialSelections(n),null===(r=n.destroy)||void 0===r||r.call(n),this.objectMap.delete(e));null===(t=this.objectApis.get(e))||void 0===t||t.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){var t,n;const{viewState:r,modifiedLayout:o,options:i}=this._dependencyData,{chartAnimations:a,direction:l,progressiveRendering:s,freeResize:u,navigation:c}=i;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!(null==o||!o.qExtendsId),isSnapshot:!!o.snapshotData,...!(null==r||null===(t=r.viewStates)||void 0===t||!t[e])&&{viewState:null==r?void 0:r.viewStates[e]},...!(null==r||null===(n=r.layouts)||void 0===n||!n[e])&&{layout:r.layouts[e]},direction:l,chartAnimations:a,progressiveRendering:s,freeResize:u,navigation:c,disableThemeBorder:!1}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const KR=()=>q.createElement(Kw,{viewBox:"0 0 16 16"},q.createElement("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"})),XR=({libraryInfo:e,style:t,id:n})=>q.createElement("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:_R.TABS_ICON},q.createElement(e.IconDefinition,null)),QR=({style:e,id:t})=>q.createElement("div",{style:e,"data-testid":"tab-hidden-icon",id:t},q.createElement(Xw,{viewBox:"0 0 16 16"},q.createElement("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"}))),ZR=()=>q.createElement(Xw,{viewBox:"0 0 16 16"},q.createElement("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"})),JR=Ul(iw)({width:28,overflow:"hidden"}),e_=Ul(iw)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),t_=({chartObject:e,embed:t,renderHelper:n,direction:r,accessibility:o,interactions:i,env:a})=>{const l=Y.useRef(),{id:s}=e;Y.useEffect((()=>{if(s&&l.current){const e=n.getObjectOptions(s)||{};e.disableThemeBorder=!0,t.render({id:s,element:l.current,options:e}).then((e=>{n.saveObjectApi(s,e)})).catch((e=>{var t;const r=null===(t=n.getChildLayout(s))||void 0===t||null===(t=t.qInfo)||void 0===t?void 0:t.qType;console.error("Could not render chart with id",s,r,e)}))}}),[s,t,n,r]);const u=Y.useMemo((()=>()=>{if(null!=e&&e.id&&a.anything){const t=null==e?void 0:e.label,{sense:r}=a.anything,o="current",i=n.objectMap.get(e.id);i&&r.propertyPanel.show({model:i.model,parent:o,headerLabel:t,keepCurrentActiveCell:!0})}}),[a,e,n]);return Y.useEffect((()=>{const e=null==l?void 0:l.current;return e&&null!=i&&i.edit&&e.addEventListener("dblclick",u),()=>{null==e||e.removeEventListener("dblclick",u)}}),[l,u,i]),q.createElement(Qx,{className:_R.ACTIVE_TAB_PANEL,"aria-label":e.label,tabIndex:o?0:-1,height:"100%",width:"100%",sx:{direction:"ltr",padding:"2px",boxSizing:"border-box","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200},flex:"1 0 0"}},q.createElement(Qx,{ref:l,sx:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`}))};var n_;!function(e){e.TABS_HEIGHT="36px"}(n_||(n_={}));const r_=(e,t)=>e.find((e=>e.childRefId===t)),o_=(e,t)=>!t.edit&&0===e.condition,i_=({charts:e,handleChangeTab:t,activeTabId:n,element:r,translator:o,accessibility:i,disabled:a})=>{const[l,s]=q.useState(null),u=Boolean(l),c=()=>{s(null)},d=Y.useCallback((e=>{null==e||e.focus()}),[]);return q.createElement(q.Fragment,null,q.createElement(lE,{onClick:e=>{s(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":o.get("Container.Label.Visualizations"),className:_R.TAB_MENU,sx:{m:"2px"}},q.createElement(ZR,null)),q.createElement(DS,{anchorEl:l,open:u,onClose:c,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}}},e.map((e=>q.createElement(HS,{className:_R.TAB_MENU_ITEM,ref:n===e.childRefId&&u?d:null,key:`chartTabMenu-${e.childRefId}`,onClick:()=>{(e=>{t(e.childRefId),c(),window.setTimeout((()=>{var e;null===(e=r.getElementsByClassName(_R.ACTIVE_TAB_PANEL))||void 0===e||null===(e=e[0])||void 0===e||e.focus()}),0)})(e)},sx:{...n===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{}},"aria-label":e.label,title:e.label},q.createElement(Cx,{variant:"inherit",noWrap:!0},e.label))))))},a_=({label:e,id:t})=>q.createElement(Qx,{className:_R.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"}},q.createElement("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"}},e)),l_=({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?q.createElement(QR,{id:`${_R.TABS_ICON}-${r}`,style:o}):e?q.createElement(XR,{id:`${_R.TABS_ICON}-${r}`,libraryInfo:e,style:o}):null},s_=({models:e,activeTabId:t,handleChangeTab:n})=>{const{modifiedLayout:r,chartList:o,interactions:i,accessibility:a}=e,l=null==o?void 0:o.getCharts(),s=r.objects.filter((e=>!o_(e,i))),{orientation:u,tabContainerStyle:c,ScrollButtonComponent:d}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:e_}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:JR})(r),p=!1===i.active&&!i.edit,[f,h]=Y.useState(!1),m=Y.useCallback((e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void h("vertical"===u?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}h(!1)}),[u]);return q.createElement(Qx,{className:_R.TAB_WRAPPER,sx:c,ref:e=>{m(e)}},r.useDropdown&&f&&q.createElement(i_,{charts:s,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}),q.createElement(vw,{value:t,onChange:(e,t)=>{n(t)},ScrollButtonComponent:d,variant:"scrollable",orientation:u,scrollButtons:!!r.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:n_.TABS_HEIGHT}},s.map((n=>{var o,i,s,c,d;const f=null===(o=rC(r,n.childRefId))||void 0===o||null===(o=o.qData)||void 0===o?void 0:o.visualization,h=f&&(null==l||null===(i=l[f])||void 0===i?void 0:i.libraryInfo),m=e.styleModel.getTabStyle(n.childRefId),g=0===n.condition||r.showIcons&&h&&!1!==(null==m||null===(s=m.icon)||void 0===s?void 0:s.show),b="vertical"===u?"top":"start",v=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:b}),y=e.styleModel.resolveComponentStyle({compPath:"label.show"}),x=n.label&&(null!==(c=null==m||null===(d=m.label)||void 0===d?void 0:d.show)&&void 0!==c?c:!1!==y),E=`${r.qInfo.qId}-${n.childRefId}`;return q.createElement(KS,{className:`${_R.TAB} ${t===n.childRefId?_R.ACTIVE_TAB:""}`,disabled:p,id:`tab-${E}`,value:n.childRefId,title:n.label,label:x?q.createElement(a_,{label:n.label,id:E}):void 0,icon:g?q.createElement(l_,{libraryInfo:h,chart:n,iconPosition:v,id:E}):"",iconPosition:v,key:n.childRefId,"data-testid":`container-tab-${n.childRefId}`,sx:{textAlign:"vertical"!==u||r.showIcons?"center":"start",minWidth:"vertical"===u?"100%":void 0,minHeight:n_.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${E}`,tabIndex:a&&t===n.childRefId?0:-1})}))))},u_=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:r,env:o})=>{const{modifiedLayout:i,embed:a,interactions:l,options:s,styleModel:u,accessibility:c}=e,d=i.objects,p=l.edit||!!d.find((e=>0!==e.condition)),f=i.showTabs&&p,h="left"===i.orientation?"row":"column",m=u.getStyleClasses();return q.createElement(Qx,{sx:{display:"flex",flexDirection:h,height:"100%",width:"100%",direction:s.direction,...m}},f&&q.createElement(s_,{models:e,activeTabId:n,handleChangeTab:r}),d.map((e=>{const r=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,u=n===e.childRefId&&!o_(e,l);return q.createElement("div",{role:"tabpanel",id:r,key:r,hidden:!u,style:{height:"100%",width:"100%"}},u&&q.createElement(t_,{chartObject:e,renderHelper:t,direction:s.direction,embed:a,accessibility:c,interactions:l,env:o}))})))};let c_=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),d_=function(e){return e.COPY="copy",e.PASTE="paste-and-replace",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.TAKE_SNAP_SHOT="take-snapshot",e.SNAP_SHOT_GROUP="snapshotGroup",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 p_=[d_.PASTE,d_.ZOOM_IN,d_.VISUAL_EXPLORATION],f_=[d_.VISUAL_EXPLORATION,d_.ALERT_GROUP,d_.SHOW_DETAILS,d_.EXPLAIN_KEY_DRIVERS,d_.EXPLAIN_KEY_DRIVERS_OLD_ID],h_=[d_.DELETE,d_.CUT,d_.ADD_TO_MASTER_ITEMS,d_.UNLINK_VISUALIZATION],m_=[d_.PASTE],g_=(e,t)=>{const{childRefId:n}=e.model.layout,r=t.objects.find((e=>e.childRefId===n));return{...e,additionalData:{label:null==r?void 0:r.label}}},b_=(e,t,n,r,o)=>{const i=t.getSupportFunction(d_.COPY);if(!i)return void e.deleteItem(d_.COPY);const a=()=>{i(g_(n,r)).catch((()=>{}))},l=e.items.find((e=>e.id===d_.COPY));if(l)l.updateItem({select:a});else if(o){const t=e.items.findIndex((e=>e.id===d_.CUT)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:d_.COPY,id:d_.COPY,icon:"copy",select:a,items:[]},n)}},v_=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,y_=async(e,t,n,r)=>{const o=t.getBuilder("default");if(!o)return;const i=await o();i.addItem({translation:"contextMenu.containerOptionsHeader",tid:d_.CONTAINER_HEADER,id:d_.CONTAINER_HEADER,bold:!0,items:[]},0);const a=v_(n);i.items.forEach((e=>{(f_.includes(e.id)||!a&&m_.includes(e.id))&&i.deleteItem(e.id)})),a&&await(async(e,t,n)=>{var r;const o=t.getSupportFunction(c_.PASTE),i=await(null==o||null===(r=o())||void 0===r?void 0:r.catch((()=>{})));if(!i||Nw.includes(i.template))return void e.deleteItem(d_.PASTE);const a=()=>{n()},l=e.items.find((e=>e.id===d_.PASTE));if(l)l.updateItem({translation:"contextMenu.paste",select:a});else{const t=e.items.findLastIndex((e=>e.id===d_.COPY||e.id===d_.DEVELOPER||e.id===d_.CONTAINER_HEADER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:d_.PASTE,id:d_.PASTE,icon:"paste",select:a,items:[]},n)}})(i,t,r),e.updateItem({items:i.items}),1===e.items.length&&e.deleteItem(d_.CONTAINER_HEADER)},x_=e=>{const t={[d_.MONITOR_IN_HUB]:!0,[d_.SUBSCRIBE]:!0,[d_.NOTES_GROUP]:!0,[d_.DOWNLOAD]:!0,[d_.SHARE_IMAGE]:!0};e.items.forEach((n=>{t[n.id]?e.deleteItem(n.id):n.items&&x_(n)}))},E_=(e,t,n,r,o,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=r;if(v_(r)){n.isInvalid||(((e,t,n,r)=>{const{model:o,modifiedLayout:i}=n,a=e.items.findLastIndex((e=>e.id===d_.CHART_HEADER||e.id===d_.REORDER_LAYERS_GROUP)),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:d_.EDIT_PROPERTIES,id:d_.EDIT_PROPERTIES,icon:d_.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,n=i.objects.find((t=>t.childRefId===e)),a=null==n?void 0:n.label,{sense:l}=r.anything,s=o;l.propertyPanel.show({model:t.model,parent:s,headerLabel:a})}},l)})(a,n,r,o),((e,t,n,r,o,i)=>{const a=r.getSupportFunction(d_.COPY);if(!a)return void e.deleteItem(d_.CUT);const l=()=>{o&&a(g_(n,i)).then((async()=>{await(null==o?void 0:o.deleteChildren([t]))})).catch((()=>{}))},s=e.items.find((e=>e.id===d_.CUT));if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex((e=>e.id===d_.ADD_TO_MASTER_ITEMS||e.id===d_.UNLINK_VISUALIZATION||e.id===d_.EDIT_PROPERTIES||e.id===d_.REORDER_LAYERS_GROUP||e.id===d_.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:d_.CUT,id:d_.CUT,icon:"cut",select:l,items:[]},n)}})(a,t,n,e,l,s),b_(a,e,n,s,!0),((e,t,n,r,o)=>{const i=t.getSupportFunction(c_.COPY),a=t.getSupportFunction(c_.PASTE);if(!i||!a)return void e.deleteItem(d_.DUPLICATE);const l=()=>{i(g_(n,r)).then((()=>{o()})).catch((()=>{}))},s=e.items.find((e=>e.id===d_.DUPLICATE));if(s)s.updateItem({select:l});else{const t=e.items.findIndex((e=>e.id===d_.COPY)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:d_.DUPLICATE,id:d_.DUPLICATE,icon:d_.DUPLICATE,items:[],select:l},n)}})(a,e,n,s,i)),((e,t,n)=>{const r=()=>{n&&n.deleteChildren([t]).catch((()=>{}))},o=e.items.find((e=>e.id===d_.DELETE));if(o)o.updateItem({select:r});else{const t=e.items.findLastIndex((e=>e.id===d_.DUPLICATE||e.id===d_.ADD_TO_MASTER_ITEMS||e.id===d_.UNLINK_VISUALIZATION||e.id===d_.REORDER_LAYERS_GROUP||e.id===d_.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:d_.DELETE,id:d_.DELETE,icon:"bin",items:[],select:r},n)}})(a,t,l)}else b_(a,e,n,s,!1)},S_=(t,n,r,o)=>{e.onContextMenu((async(e,i,a)=>{var l;if(!a)return!1;const s=((e,t)=>()=>{if(!e)return;const n=t.getSupportFunction(c_.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(c_.RESET_COPY_BUFFER)}))})(r.dataHandler,a);if(await y_(e,a,r,s),x_(e),!(e=>{var t;let n;n="qv-radial-contextmenu"===e.type?null===(t=e.touches[0])||void 0===t?void 0:t.target:e.target;return n&&((e,t)=>{let n=e;for(;n;){var r;if(null!==(r=n.classList)&&void 0!==r&&r.contains(t))return n;n=n.parentNode}return null})(n,_R.ACTIVE_TAB_PANEL)})(i))return!0;const u=null===(l=r.modifiedLayout.objects.find((e=>e.childRefId===t)))||void 0===l?void 0:l.id;if(!u)return!0;const c=n.objectMap.get(u);if(!c)return!0;const d=E_(a,t,c,r,o,s),p=await(async(e,t,n,r)=>{const o=v_(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:d_.CHART_HEADER,id:d_.CHART_HEADER,bold:!0,items:[]},0),r(a),a.items.forEach((e=>{(p_.includes(e.id)||!o&&h_.includes(e.id))&&a.deleteItem(e.id)})),1===a.items.length&&a.deleteItem(d_.CHART_HEADER),a})(a,c,r,d);return!p||(e.items.length>0&&p.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...e.items]},p.items.length),e.updateItem({items:p.items}),!0)}))},w_=({element:t,models:n,env:r})=>{var o;const i=((t,n)=>{const[r,o]=e.useState(void 0);return e.useEffect((()=>{if(0===t.getElementsByClassName(n).length){const e=document.createElement("div");e.className=n,t.appendChild(e);const r=zw(e);o(r)}return()=>{null==r||r.unmount()}}),[t,n,r]),r})(t,"init-component"),{options:a,modifiedLayout:l,interactions:s,model:u}=n,{cachedTabId:c,defaultTabId:d,objects:p,qChildList:f}=l,h=Ow(a.direction),m=(t=>{const{viewState:n}=e.useOptions(),{snapshotData:r}=t;if(r){var o;const{layouts:e}=r.objectsData;return{layouts:e,viewStates:null===(o=r.viewState)||void 0===o?void 0:o.viewStates}}if(n){const{viewStates:e}=n;return{viewStates:e}}})(l),g=c||d||(null===(o=p[0])||void 0===o?void 0:o.childRefId)||"",b={modifiedLayout:l,activeTabId:g,env:r},[v,y]=PR(b);y(b);const x=e.useMemo((()=>l.objects.filter((e=>g===e.childRefId))),[g,l.objects]),{renderHelper:E}=(t=>{const{visibleLayoutObjects:n,options:r}=t,[o]=e.useState((()=>new qR(t))),[,i]=e.useState(r);return o.dependencyData=t,e.usePromise((async()=>{var e,t;return i((e=>(e!==r&&n.forEach((e=>o.recreateMap.set(e.id,!0))),r))),o.syncObjects(n)?null===(t=o.createTimerForRendering())||void 0===t?void 0:t.promise:null===(e=o.resolver)||void 0===e?void 0:e.promise}),[n,r]),e.useEffect((()=>()=>{o.destroy()}),[o]),{renderHelper:o}})({modifiedLayout:l,visibleLayoutObjects:x,viewState:m,options:a});S_(g,E,n,r);const[S]=e.useState({current:void 0}),w=e.useMemo((()=>e=>{(async({model:e,patchList:t})=>{if(null!=e&&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:t&&JSON.stringify(t)}):"Replace"===i&&r.push({qPath:`/${o}`,qOp:"Remove"})})),r.length>0&&await e.applyPatches(r,!0)}})({model:u,patchList:[{newValue:e,propertyName:"cachedTabId"}]})}),[u]),C=e.useMemo((()=>({setSelected:e=>{var t;const n=null===(t=v.modifiedLayout.objects.find((t=>t.id===e[0])))||void 0===t?void 0:t.childRefId;n?w(n):S.current=e[0]}})),[w,v,S]);e.useEffect((()=>{const e=(({chartObjects:e,activeTabId:t})=>{var n;return!r_(e,t)&&e.length>0?null===(n=e[0])||void 0===n?void 0:n.childRefId:t})({chartObjects:v.modifiedLayout.objects,activeTabId:v.activeTabId});if(e!==v.activeTabId)w(e);else if(S.current){var t;const e=null===(t=v.modifiedLayout.objects.find((e=>e.id===S.current)))||void 0===t?void 0:t.childRefId;e&&w(e)}S.current=void 0}),[null==l?void 0:l.objects.length,v,S,w]),e.useEffect((()=>{const e=(({chartObjects:e,activeTabId:t,interactions:n})=>{const r=r_(e,t);if(!r||o_(r,n)){const n=e.find((e=>0!==e.condition));return(null==n?void 0:n.childRefId)||t}return t})({chartObjects:v.modifiedLayout.objects,activeTabId:v.activeTabId,interactions:s});e!==v.activeTabId&&w(e)}),[s,null==l?void 0:l.objects,v,w]);const k=0===f.qItems.length&&s.edit;return e.useEffect((()=>{null==i||i.render(q.createElement(Yl,{theme:h},k?q.createElement(YR,{Icon:KR,dataHandler:n.dataHandler,modifiedLayout:n.modifiedLayout,translator:n.translator,sharedContainerUtilities:C}):null,!k&&q.createElement(u_,{models:n,renderHelper:E,activeTabId:g,handleChangeTab:w,env:r})))}),[i,n,h,k,E,g,C,w,r]),{renderHelper:E,sharedContainerUtilities:C,activeTabId:g}};var C_={targets:[]};const k_={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 R_=(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};return function(t){const r=new Mw({translator:t.translator});return{qae:{properties:k_,data:C_},ext:xR({env:t,propertyHandlerData:r}),component(){const o=VR(),i=e.useTranslator();e.useMemo((()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(n).forEach((t=>{e.add(n[t])}))}}(i)}),[i]);const{dataHandler:a,model:l,accessibility:s,setAccessibility:u,interactions:c,element:d,modifiedLayout:p}=o,{renderHelper:f,sharedContainerUtilities:h,activeTabId:m}=w_({element:d,models:o,env:t});(({propertyHandlerData:t,element:n,sharedContainerUtilities:r,translator:o,containerId:i,dataHandler:a,renderHelper:l})=>{const s=e.useOptions();i&&t.sync({containerId:i,element:n,sharedContainerUtilities:r,translator:o,dataHandler:a,renderHelper:l}),e.useEffect((()=>{t.setMuiTheme(s.direction)}),[s.direction,t]),e.useEffect((()=>()=>{i&&t.destroy(i)}),[i,t,s.direction])})({containerId:(null==l?void 0:l.id)||"",element:d,sharedContainerUtilities:h,translator:i,dataHandler:a,propertyHandlerData:r,renderHelper:f});const[g,b]=e.useState(!0);(({isContainerActive:t,activeTabId:n,modifiedLayout:r,renderHelper:o})=>{const i={modifiedLayout:r,activeTabId:n,renderHelper:o,isContainerActive:t},[a,l]=PR(i);l(i);const s=e.useMemo((()=>()=>{const e=iC(a.modifiedLayout);for(const[t,n]of a.renderHelper.objectMap.entries()){const r=a.isContainerActive&&a.activeTabId===e[t];"setIsActive"in n&&n.setIsActive(r)}}),[a]);e.useEffect((()=>{a.isContainerActive&&s()}),[o.objectMap,s,a]),e.useEffect((()=>{s()}),[t,s])})({isContainerActive:g,activeTabId:m,renderHelper:f,modifiedLayout:p}),LR({element:d,accessibility:s,setAccessibility:u,renderHelper:f,interactions:c,env:t,models:o});const{getViewState:v}=CR(f,R_);e.useImperativeHandle((()=>({getViewState:v,getChildrenObjects:()=>(e=>e.map((e=>{if(e.canReceive){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})))(f.getChildrenObjects()),updateActiveState(e){b(e)}})),[])}}}}));