@nebula.js/stardust 3.1.0 → 3.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.
- package/core/esm/dev.js +1055 -138
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +3 -3
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +3448 -420
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +13 -13
- package/dist/stardust.js.map +1 -1
- package/package.json +9 -9
- package/types/index.d.ts +1 -0
package/dist/stardust.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v3.1.
|
|
2
|
+
* @nebula.js/stardust v3.1.2
|
|
3
3
|
* Copyright (c) 2023 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).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)}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r={},o={get exports(){return r},set exports(e){r=e}};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");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:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),l=new I(r||[]);return o(i,"_invoke",{value:k(e,n,l)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",f="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};c(b,i,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(_([])));S&&S!==n&&r.call(S,i)&&(b=S);var w=y.prototype=g.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,a,i,l){var s=d(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function k(e,t,n){var r=p;return function(o,a){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return T()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=L(i,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=d(e,t,n);if("normal"===s.type){if(r=n.done?h:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}function L(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var a=d(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function _(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return v.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},E(C.prototype),c(C.prototype,l,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new C(u(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(w),c(w,s,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=_,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:_(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}(o);const u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n="string"==typeof t||"number"==typeof t?[t]:t;return e.replace(/\{(\d+)\}/g,((e,t)=>void 0!==n[t]?n[t]:e))};function d(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={};let r=e;const o={language:e=>(e&&(r=e),r),add:e=>{const{id:t,locale:r}=e;Object.keys(r).forEach((e=>{n[e]||(n[e]={}),n[e][t]=r[e]}))},get(e,o){let a;return a=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==o?u(a,o):a}};return o}const p=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=d({initial:e,fallback:t});return{translator:n}};var f={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"キャンセル","ko-KR":"취소","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"Отмена","sv-SE":"Avbryt","tr-TR":"İptal","zh-CN":"取消","zh-TW":"取消"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"すべて","ko-KR":"모두","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"ВСЕ","sv-SE":"ALLA","tr-TR":"TÜMÜ","zh-CN":"全部","zh-TW":"全部"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Lock:{id:"Listbox.Lock",locale:{"de-DE":"Auswahlen sperren","en-US":"Lock selections","es-ES":"Bloquear selecciones","fr-FR":"Verrouiller les sélections","it-IT":"Blocca selezioni","ja-JP":"選択をロック","ko-KR":"선택 내용 잠금","nl-NL":"Selecties vergrendelen","pl-PL":"Zablokuj wybory","pt-BR":"Bloquear seleções","ru-RU":"Заблокировать выборки","sv-SE":"Lås urval","tr-TR":"Seçimleri kilitle","zh-CN":"锁定选择项","zh-TW":"鎖定選項"}},Listbox_ResultFilterLabel:{id:"Listbox.ResultFilterLabel",locale:{"de-DE":"Suchergebnisfilter","en-US":"Search Results Filter","es-ES":"Filtro de resultados de búsqueda","fr-FR":"Filtre de résultats de recherche","it-IT":"Filtro risultati Ricerca","ja-JP":"検索結果フィルター","ko-KR":"검색 결과 필터","nl-NL":"Filter voor zoekresultaten","pl-PL":"Filtr wyników wyszukiwania","pt-BR":"Filtro de resultados da pesquisa","ru-RU":"Фильтр результатов поиска","sv-SE":"Filter för sökresultat","tr-TR":"Arama Sonuçları Filtresi","zh-CN":"搜索结果筛选器","zh-TW":"搜尋結果篩選"}},Listbox_NoMatchesForYourTerms:{id:"Listbox.NoMatchesForYourTerms",locale:{"de-DE":"Für Ihre Suche wurden keine Übereinstimmungen gefunden.","en-US":"There are no matches for your search.","es-ES":"No hay resultados para su búsqueda.","fr-FR":"Aucun résultat ne correspond à votre recherche.","it-IT":"Non esistono corrispondenze per la ricerca.","ja-JP":"検索に一致するものがありません。","ko-KR":"검색에 대해 일치하는 항목이 없습니다.","nl-NL":"Er zijn geen overeenkomsten voor uw zoekopdracht.","pl-PL":"Brak dopasowań dla tego wyszukiwania.","pt-BR":"Não há correspondências para sua pesquisa.","ru-RU":"Нет совпадений для искомого текста.","sv-SE":"Det finns inga matchningar för din sökning.","tr-TR":"Aramanızla eşleşen sonuç yok.","zh-CN":"您的搜索条件没有任何匹配结果。","zh-TW":"沒有與您搜尋相符的項目。"}},Listbox_ScreenReaderInstructions:{id:"Listbox.ScreenReaderInstructions",locale:{"de-DE":"Bei Aktivierung der Elemente unten wird der Seiteninhalt aktualisiert","en-US":"Activating the elements below will cause content on the page to be updated","es-ES":"La activación de los elementos siguientes hará que se actualice el contenido en la página","fr-FR":"L'activation des éléments ci-dessous actualisera le contenu de la page.","it-IT":"L'attivazione degli elementi sottostanti causerà l'aggiornamento del contenuto della pagina","ja-JP":"下記の要素をアクティブ化すると、ページのコンテンツが更新されます","ko-KR":"아래 요소를 활성화하면 페이지의 콘텐츠가 업데이트됩니다.","nl-NL":"Door de onderstaande elementen te activeren wordt de inhoud op de pagina bijgewerkt","pl-PL":"Aktywacja poniższych elementów spowoduje aktualizację zawartości na stronie","pt-BR":"A ativação dos elementos abaixo fará com que o conteúdo da página seja atualizado","ru-RU":"Активация приведенных ниже элементов приведет к обновлению содержимого страницы","sv-SE":"Om du aktiverar elementen nedan kommer innehåll på sidan att uppdateras","tr-TR":"Aşağıdaki öğeleri etkinleştirmek sayfadaki içeriğin güncellenmesine neden olur","zh-CN":"激活下面的元素将导致页面上的内容更新","zh-TW":"啟用以下元素將會造成更新頁面上的內容"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de sélection","it-IT":"Cerca nella casella di elenco","ja-JP":"リストボックス内を検索","ko-KR":"목록 상자에서 검색","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w liście wartości","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"Поиск в списке","sv-SE":"Sök i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"在列表框中搜索","zh-TW":"在清單方塊中搜尋"}},Listbox_Search_ScreenReaderInstructions:{id:"Listbox.Search.ScreenReaderInstructions",locale:{"de-DE":"Über das folgende Suchfeld werden Ergebnisse während der Eingabe gefiltert","en-US":"The following search field filters results below as you type","es-ES":"El siguiente campo de búsqueda filtra los resultados siguientes a medida que escribe","fr-FR":"Le champ de recherche suivant filtrer les résultats ci-dessous à mesure de votre saisie.","it-IT":"Il seguente campo di ricerca filtra i risultati man mano che vengono digitati","ja-JP":"次の検索フィールドは、入力と同時に下記の結果をフィルターします","ko-KR":"다음 검색 필드는 입력할 때 아래의 결과를 필터링합니다.","nl-NL":"Het volgende zoekveld filtert resultaten terwijl u typt","pl-PL":"Następujące pole wyszukiwania filtruje wyniki poniżej w miarę pisania","pt-BR":"O campo de pesquisa a seguir filtra os resultados abaixo conforme você digita","ru-RU":"Следующее поле поиска фильтрует результаты ниже по мере ввода текста","sv-SE":"Följande sökfält filtrerar resultaten nedan medan du skriver","tr-TR":"Aşağıdaki arama alanı siz yazarken aşağıdaki sonuçları filtreler","zh-CN":"键入时,以下搜索字段筛选结果如下","zh-TW":"下列搜尋欄位在您輸入時篩選以下結果"}},Listbox_Unlock:{id:"Listbox.Unlock",locale:{"de-DE":"Auswahlen entsperren","en-US":"Unlock selections","es-ES":"Desbloquear selecciones","fr-FR":"Déverrouiller les sélections","it-IT":"Sblocca selezioni","ja-JP":"選択をロック解除","ko-KR":"선택 내용 잠금 해제","nl-NL":"Selecties ontgrendelen","pl-PL":"Odblokuj wybory","pt-BR":"Desbloquear seleções","ru-RU":"Разблокировать выборки","sv-SE":"Lås upp urval","tr-TR":"Seçimlerin kilidini aç","zh-CN":"将选择项解锁","zh-TW":"解鎖選項"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"Más","fr-FR":"Plus","it-IT":"Altro","ja-JP":"詳細","ko-KR":"자세히","nl-NL":"Meer","pl-PL":"Więcej","pt-BR":"Mais","ru-RU":"Дополнительно","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"更多","zh-TW":"更多"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zurück","en-US":"Step back","es-ES":"Atrás","fr-FR":"Retour en arrière","it-IT":"Torna indietro","ja-JP":"1 段階戻る","ko-KR":"이전 단계","nl-NL":"Stap terug","pl-PL":"Krok do tyłu","pt-BR":"Voltar uma etapa","ru-RU":"Шаг назад","sv-SE":"Gå bakåt","tr-TR":"Bir adım geri","zh-CN":"后退","zh-TW":"倒退"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"Étape suivante","it-IT":"Vai avanti","ja-JP":"1段階進む","ko-KR":"다음 단계","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avançar uma etapa","ru-RU":"Шаг вперед","sv-SE":"Gå framåt","tr-TR":"Bir adım ileri","zh-CN":"前进","zh-TW":"前進"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"확인","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"ОК","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"确定","zh-TW":"確定"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de données en cours","it-IT":"Caricamento dati in corso","ja-JP":"データのロード中","ko-KR":"데이터 로드 중","nl-NL":"Gegevens worden geladen","pl-PL":"Ładowanie danych","pt-BR":"Carregando dados","ru-RU":"Загрузка данных","sv-SE":"Laddar data","tr-TR":"Veriler yükleniyor","zh-CN":"加载数据","zh-TW":"正在載入資料"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualización de datos","fr-FR":"Mise à jour des données annulée","it-IT":"Aggiornamento dati annullato","ja-JP":"データの更新がキャンセルされました","ko-KR":"데이터 업데이트가 취소되었습니다.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych została anulowana","pt-BR":"A atualização de dados foi cancelada","ru-RU":"Обновление данных отменено","sv-SE":"Datauppdateringen avbröts.","tr-TR":"Veri güncelleştirme iptal edildi","zh-CN":"数据更新已取消","zh-TW":"資料更新已取消"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"Réessayer","it-IT":"Riprova","ja-JP":"再試行","ko-KR":"다시 시도","nl-NL":"Opnieuw","pl-PL":"Ponów próbę","pt-BR":"Tentar novamente","ru-RU":"Повторить попытку","sv-SE":"Försök igen","tr-TR":"Yeniden dene","zh-CN":"重试","zh-TW":"重試"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selección","fr-FR":"Annuler la sélection","it-IT":"Annulla selezione","ja-JP":"選択のキャンセル","ko-KR":"선택 취소","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcję","pt-BR":"Cancelar seleção","ru-RU":"Отменить выборку","sv-SE":"Avbryt urval","tr-TR":"Seçimi iptal et","zh-CN":"取消选择","zh-TW":"取消選取"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selection","es-ES":"Borrar selección","fr-FR":"Effacer la sélection","it-IT":"Cancella selezione","ja-JP":"選択をクリア","ko-KR":"선택 해제","nl-NL":"Selectie wissen","pl-PL":"Wyczyść selekcję","pt-BR":"Limpar seleção","ru-RU":"Очистить выбор","sv-SE":"Rensa urval","tr-TR":"Seçimi temizle","zh-CN":"清除选择","zh-TW":"清除選項"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen löschen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les sélections","it-IT":"Cancella tutte le selezioni","ja-JP":"選択をすべてクリアする","ko-KR":"모든 선택 해제","nl-NL":"Alle selecties wissen","pl-PL":"Wyczyść wszystkie selekcje","pt-BR":"Limpar todas as seleções","ru-RU":"Очистить от всех выборок","sv-SE":"Radera alla urval","tr-TR":"Tüm seçimleri temizle","zh-CN":"清除所有选择项","zh-TW":"清除所有選項"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status löschen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les états","it-IT":"Cancella tutti gli stati","ja-JP":"全ステートをクリア","ko-KR":"모든 상태 지우기","nl-NL":"Alle states wissen","pl-PL":"Wyczyść wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"Очистить все состояния","sv-SE":"Rensa alla tillstånd","tr-TR":"Tüm durumları temizle","zh-CN":"清除所有状态","zh-TW":"清除所有狀態"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl bestätigen","en-US":"Confirm selection","es-ES":"Confirmar selección","fr-FR":"Confirmer la sélection","it-IT":"Conferma selezione","ja-JP":"選択の確認","ko-KR":"선택 확인","nl-NL":"Selectie bevestigen","pl-PL":"Potwierdź selekcję","pt-BR":"Confirmar seleção","ru-RU":"Подтвердить выборку","sv-SE":"Bekräfta urval","tr-TR":"Seçimi onayla","zh-CN":"确认选择","zh-TW":"確認選取"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmenü","en-US":"Selection menu","es-ES":"Menú de selección","fr-FR":"Menu Sélection","it-IT":"Menu Selezione","ja-JP":"選択メニュー","ko-KR":"선택 메뉴","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de seleção","ru-RU":'Меню "Выборка"',"sv-SE":"Urvalsmeny","tr-TR":"Seçim menüsü","zh-CN":"选择菜单","zh-TW":"選項功能表"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutto","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替値を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外値を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluído","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込値を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possível","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olasıyı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollständige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualización incompleta","fr-FR":"Visualisation incomplète","it-IT":"Visualizzazione incompleta","ja-JP":"未完了のビジュアライゼーション","ko-KR":"완료되지 않은 시각화","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualização incompleta","ru-RU":"Незавершенная визуализация","sv-SE":"Ofullständig visualisering","tr-TR":"Tamamlanmamış görselleştirme","zh-CN":"不完整的可视化","zh-TW":"視覺化未完成"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} 軸","ko-KR":"{1} 차원의 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiarów","pt-BR":"{0} de {1} dimensões","ru-RU":"Измерения: {0} из {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} 个维度","zh-TW":"{1} 個維度中的 {0} 個"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} メジャー","ko-KR":"{1} 측정값의 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"Меры: {0} из {1}","sv-SE":"{0} av {1} mått","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} 个度量","zh-TW":"{1} 個量值中的 {0} 個"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ungültige Dimension","en-US":"Invalid dimension","es-ES":"Dimensión no válida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"無効な軸です","ko-KR":"잘못된 차원","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawidłowy wymiar","pt-BR":"Dimensão inválida","ru-RU":"Недопустимое измерение","sv-SE":"Ogiltig dimension","tr-TR":"Geçersiz boyut","zh-CN":"无效维度","zh-TW":"維度無效"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ungültige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no válida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"無効なメジャーです","ko-KR":"잘못된 측정값","nl-NL":"Ongeldige meting","pl-PL":"Nieprawidłowa miara","pt-BR":"Medida inválida","ru-RU":"Недопустимая мера","sv-SE":"Ogiltigt mått","tr-TR":"Geçersiz hesaplama","zh-CN":"无效度量项","zh-TW":"量值無效"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"エラー","ko-KR":"오류","nl-NL":"Fout","pl-PL":"Błąd","pt-BR":"Erro","ru-RU":"Ошибка","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"错误","zh-TW":"錯誤"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erfüllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condición de cálculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non è soddisfatta","ja-JP":"演算実行条件が満たされていません","ko-KR":"계산 조건이 충족되지 않았습니다.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spełniony","pt-BR":"A condição de cálculo não foi atendida","ru-RU":"Условие вычисления не выполнено","sv-SE":"Beräkningsvillkoret uppfylls inte","tr-TR":"Hesaplama koşulu yerine getirilmedi","zh-CN":"不满足计算条件","zh-TW":"不符計算條件"}}};function h(e){const t=p({initial:e});return Object.keys(f).forEach((e=>{t.translator.add(f[e])})),{translator:t.translator}}var m={};function g(){g.init.call(this)}m.isObject=function(e){return"object"==typeof e&&null!==e},m.isNumber=function(e){return"number"==typeof e},m.isUndefined=function(e){return void 0===e},m.isFunction=function(e){return"function"==typeof e};var v=g;function y(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function b(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function x(){}g.EventEmitter=g,g.prototype._events=void 0,g.prototype._maxListeners=void 0,g.defaultMaxListeners=10,g.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},g.prototype.setMaxListeners=function(e){if(!m.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},g.prototype.emit=function(e){var t,n,r,o,a,i;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],m.isUndefined(n))return!1;if(m.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),a=1;a<r;a++)o[a-1]=arguments[a];n.apply(this,o)}else if(m.isObject(n)){for(r=arguments.length,o=new Array(r-1),a=1;a<r;a++)o[a-1]=arguments[a];for(r=(i=n.slice()).length,a=0;a<r;a++)i[a].apply(this,o)}return!0},g.prototype.addListener=function(e,t){var n;if(!m.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,m.isFunction(t.listener)?t.listener:t),this._events[e]?m.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,m.isObject(this._events[e])&&!this._events[e].warned)&&((n=m.isUndefined(this._maxListeners)?g.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,m.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),m.isFunction(console.trace)&&console.trace()));return this},g.prototype.on=g.prototype.addListener,g.prototype.once=function(e,t){if(!m.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},g.prototype.removeListener=function(e,t){var n,r,o,a;if(!m.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||m.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(m.isObject(n)){for(a=o;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},g.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],m.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},g.prototype.listeners=function(e){return this._events&&this._events[e]?m.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},g.listenerCount=function(e,t){return e._events&&e._events[t]?m.isFunction(e._events[t])?1:e._events[t].length:0};var S=.7,w=1/S,E="\\s*([+-]?\\d+)\\s*",C="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",k="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",L=/^#([0-9a-f]{3,8})$/,R=new RegExp(`^rgb\\(${E},${E},${E}\\)$`),O=new RegExp(`^rgb\\(${k},${k},${k}\\)$`),I=new RegExp(`^rgba\\(${E},${E},${E},${C}\\)$`),_=new RegExp(`^rgba\\(${k},${k},${k},${C}\\)$`),T=new RegExp(`^hsl\\(${C},${k},${k}\\)$`),P=new RegExp(`^hsla\\(${C},${k},${k},${C}\\)$`),N={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 M(){return this.rgb().formatHex()}function z(){return this.rgb().formatRgb()}function A(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=L.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?q(t):3===n?new $(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?D(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?D(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=R.exec(e))?new $(t[1],t[2],t[3],1):(t=O.exec(e))?new $(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=I.exec(e))?D(t[1],t[2],t[3],t[4]):(t=_.exec(e))?D(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=T.exec(e))?G(t[1],t[2]/100,t[3]/100,1):(t=P.exec(e))?G(t[1],t[2]/100,t[3]/100,t[4]):N.hasOwnProperty(e)?q(N[e]):"transparent"===e?new $(NaN,NaN,NaN,0):null}function q(e){return new $(e>>16&255,e>>8&255,255&e,1)}function D(e,t,n,r){return r<=0&&(e=t=n=NaN),new $(e,t,n,r)}function j(e){return e instanceof x||(e=A(e)),e?new $((e=e.rgb()).r,e.g,e.b,e.opacity):new $}function F(e,t,n,r){return 1===arguments.length?j(e):new $(e,t,n,null==r?1:r)}function $(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function B(){return`#${V(this.r)}${V(this.g)}${V(this.b)}`}function W(){const e=U(this.opacity);return`${1===e?"rgb(":"rgba("}${H(this.r)}, ${H(this.g)}, ${H(this.b)}${1===e?")":`, ${e})`}`}function U(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function H(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function V(e){return((e=H(e))<16?"0":"")+e.toString(16)}function G(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Z(e,t,n,r)}function K(e){if(e instanceof Z)return new Z(e.h,e.s,e.l,e.opacity);if(e instanceof x||(e=A(e)),!e)return new Z;if(e instanceof Z)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=NaN,l=a-o,s=(a+o)/2;return l?(i=t===a?(n-r)/l+6*(n<r):n===a?(r-t)/l+2:(t-n)/l+4,l/=s<.5?a+o:2-a-o,i*=60):l=s>0&&s<1?0:i,new Z(i,l,s,e.opacity)}function Z(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function X(e){return(e=(e||0)%360)<0?e+360:e}function Q(e){return Math.max(0,Math.min(1,e||0))}function Y(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}y(x,A,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:M,formatHex:M,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return K(this).formatHsl()},formatRgb:z,toString:z}),y($,F,b(x,{brighter(e){return e=null==e?w:Math.pow(w,e),new $(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?S:Math.pow(S,e),new $(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new $(H(this.r),H(this.g),H(this.b),U(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:B,formatHex:B,formatHex8:function(){return`#${V(this.r)}${V(this.g)}${V(this.b)}${V(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:W,toString:W})),y(Z,(function(e,t,n,r){return 1===arguments.length?K(e):new Z(e,t,n,null==r?1:r)}),b(x,{brighter(e){return e=null==e?w:Math.pow(w,e),new Z(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?S:Math.pow(S,e),new Z(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 $(Y(e>=240?e-240:e+120,o,r),Y(e,o,r),Y(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Z(X(this.h),Q(this.s),Q(this.l),U(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=U(this.opacity);return`${1===e?"hsl(":"hsla("}${X(this.h)}, ${100*Q(this.s)}%, ${100*Q(this.l)}%${1===e?")":`, ${e})`}`}}));var J=Object.prototype.hasOwnProperty,ee=Object.prototype.toString,te=Object.defineProperty,ne=Object.getOwnPropertyDescriptor,re=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===ee.call(e)},oe=function(e){if(!e||"[object Object]"!==ee.call(e))return!1;var t,n=J.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&J.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||J.call(e,t)},ae=function(e,t){te&&"__proto__"===t.name?te(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},ie=function(e,t){if("__proto__"===t){if(!J.call(e,t))return;if(ne)return ne(e,t).value}return e[t]},le=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=ie(l,n),l!==(o=ie(t,n))&&(u&&o&&(oe(o)||(a=re(o)))?(a?(a=!1,i=r&&re(r)?r:[]):i=r&&oe(r)?r:{},ae(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&ae(l,{name:n,newValue:o}));return l},se={fontSize:"13px",fontFamily:"'Source Sans Pro', 'Arial', 'sans-serif'",backgroundColor:"transparent",dataColors:{primaryColor:"#26a0a7",othersColor:"#a5a5a5",errorColor:"#ff4444",nullColor:"#d2d2d2"},scales:[{name:"Sequential Gradient",translation:"properties.colorScheme.sequential",type:"gradient",propertyValue:"sg",scale:["#26a0a7","#c7ea8b"]},{name:"Sequential Classes",translation:"properties.colorScheme.sequentialC",propertyValue:"sc",type:"class",scale:["#26a0a7","#c7ea8b"]},{name:"Diverging gradient",translation:"properties.colorScheme.diverging",propertyValue:"dg",type:"gradient",scale:["#26a0a7","#c3ea8c","#ec983d"]},{name:"Diverging Classes",translation:"properties.colorScheme.divergingC",propertyValue:"dc",type:"class",scale:["#26a0a7","#c3ea8c","#ec983d"]}],palettes:{data:[{name:"12 Colors",translation:"properties.colorNumberOfColors.12",propertyValue:"12",type:"pyramid",scale:[["#26A0A7"],["#26A0A7","#EC983D"],["#26A0A7","#CBE989","#EC983D"],["#26A0A7","#79D69F","#F9EC86","#EC983D"],["#26A0A7","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D","#D76C6C"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"],["#138185","#26A0A7","#65D3DA","#79D69F","#70BA6E","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"]]}],ui:[{name:"Palette",colors:["#b0afae","#7b7a78","#a54343","#d76c6c","#ec983d","#ecc43d","#f9ec86","#cbe989","#70ba6e","#578b60","#79d69f","#26a0a7","#138185","#65d3da","#ffffff","#000000"]}]}},ce={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},ue={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};class de{constructor(e){this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=A(e)}addColorPart(e,t,n){n=n||0,this.startLevel=Math.max(n,this.startLevel),this.colorParts[n]||(this.colorParts[n]=[]),this.colorParts[n].push([A(e),A(t)])}getColor(e,t){const n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);const r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length);let o=Math.floor(r);o=o===r?o-1:o;const a=this.colorParts[t][o],i=a[0],l=a[1];if(e===this.min)return l;if(e===this.max)return i;const s=function(e,t,n){return F(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(i,l,r-o);return s}}function pe(e,t,n){const r=.25+(t+1)/n*.25,o=.5-r;return o+e/1*(.5+r-o)}function fe(e,t,n){const r=[],o=new de(t);r.push(e[0]),n||r.push(e[0]);let a=1;for(;a<e.length-1;a++)r.push(e[a]),r.push(e[a]);r.push(e[a]),n||r.push(e[a]);for(let e=0;e<r.length;e+=2)o.addColorPart(r[e],r[e+1]);return o}function he(e,t,n){const r=[];for(let o=0;o<t+1;o++){let a;switch(t){case 0:a=e.getColor(.5);break;default:{const r=pe(1/t*o,t,n);a=e.getColor(r);break}}r.push(A(a).formatHex())}return r}function me(e,t,n){const r=fe(e,n,!0),o=fe(he(r,t-1,t),n,!1),a=[null];for(let e=0;e<t;e++)a.push(he(o,e,t));return a}function ge(e,t){const n=[];let r,o;if(e){let a=e.length;for(;a>=0;){for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat(e)),r.pop(),o--;e.pop(),a--}}else for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat()),r.pop(),o--;return n}function ve(e,t){let n=e;for(let e=0;e<t.length;e++){if(!n[t[e]])return;n=n[t[e]]}return n}function ye(e,t,n,r){let o;if(""===e)o=ge(null,n);else{o=ge(e.split("."),n)}return function(e,t,n){const r=t.split(".");for(let t=0;t<e.length;t++){const o=ve(n,[...e[t],...r]);if(void 0!==o)return o}}(o,t,r)}function be(e,t){const n=e.split(".");return{getStyle:(e,r)=>ye(e,r,n.concat(),t)}}function xe(e,t){Object.keys(e).forEach((n=>{"object"==typeof e[n]&&null!==e[n]?xe(e[n],t):"string"==typeof e[n]&&"@"===e[n].charAt(0)&&(e[n]=t[e[n]])}))}function Se(e){const t=A(e).rgb(),{r:n,g:r,b:o}=t,[a,i,l]=[n,r,o].map((e=>e/255)),[s,c,u]=[a,i,l].map((e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4));return+(.2126*s+.7152*c+.0722*u).toFixed(5)}function we(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}be.resolveRawTheme=e=>{const t=le(!0,{},e);return xe(t,t._variables),t.scales&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach((e=>{if("class"===e.type){const n=me(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}}))}(t.scales,t.dataColors&&t.dataColors.nullColor),t};function Ee(){let e,t,n,r={};const o={getDataColorScales:()=>t.dataScales(),getDataColorPalettes:()=>t.dataPalettes(),getDataColorPickerPalettes:()=>t.uiPalettes(),getDataColorSpecials:()=>t.dataColors(),getColorPickerColor(){return t.uiColor(...arguments)},getContrastingColorTo:e=>n.getBestContrastColor(e),getStyle:(t,n,o)=>(r[t]||(r[t]=be(t,e)),r[t].getStyle(n,o)),validateColor(){const e=arguments.length<=0?void 0:arguments[0];let t;if("string"==typeof e&&(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))){const e=parseInt(t[1],10)/255,n=parseInt(t[2],10),r=parseInt(t[3],10),o=parseInt(t[4],10);return"rgba(".concat(n,",").concat(r,",").concat(o,",").concat(e,")")}const n=A(...arguments);return n?n.toString():void 0}},a={setTheme(a,i){e=function(e,t){const n="dark"===e.type?ue:ce,r=le(!0,{},se,n),o=le(!0,{},r,{scales:null,palettes:{data:null,ui:null}},e);return o.palettes.data&&o.palettes.data.length||(o.palettes.data=r.palettes.data),o.palettes.ui&&o.palettes.ui.length||(o.palettes.ui=r.palettes.ui),o.scales&&o.scales.length||(o.scales=r.scales),t(o)}(a,be.resolveRawTheme),r={},t=function(e){let t;return{dataScales(){const t=[];return e.scales.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,scheme:!0,type:e.type,colors:e.scale})})),t},dataPalettes(){const t=[];return e.palettes.data.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,type:e.type,colors:e.scale})})),t},uiPalettes(){const t=[];return e.palettes.ui.forEach((e=>{t.push({key:"ui",name:e.name,translation:e.translation,type:"row",colors:e.colors})})),t},dataColors:()=>({primary:e.dataColors.primaryColor,nil:e.dataColors.nullColor,others:e.dataColors.othersColor}),uiColor(e,n){return n=!!n,e.index<0||void 0===e.index?e.color:(void 0===t&&(t=this.uiPalettes()[0]||!1),t?void 0===t.colors[e.index-n]?e.color:t.colors[e.index-n]:e.color)}}}(e);const l=o.getStyle("","","color"),s=Se(l);n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(Se);return{getBestContrastColor(o){if(!t[o]){n>1e3&&(t={},n=0);const a=Se(o),i=r.map((e=>we(a,e))),l=e[i.indexOf(Math.max(...i))];t[o]=l,n++}return t[o]}}}([l,s<.2?"#ffffff":"#333333"]),o.emit("changed"),o.name=()=>i}};return Object.keys(v.prototype).forEach((e=>{o[e]=v.prototype[e]})),v.init(o),a.setTheme({},"light"),{externalAPI:o,internalAPI:a}}const Ce=(e,t)=>new Promise((n=>{setTimeout((()=>n(t)),e)}));function ke(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=Ee(),r=async r=>{const o=e.filter((e=>e.id===r))[0];let a="dark"===r?"dark":"light";if(o&&o.load)try{const e=await Promise.race([o.load(),Ce(5e3,{__timedOut:!0})]);e.__timedOut||(a="dark"===e.type?"dark":"light",n.internalAPI.setTheme(e,r),t.setMuiThemeName(a))}catch(e){}else n.internalAPI.setTheme({type:a},r),t.setMuiThemeName(a)};return{setTheme:r,externalAPI:n.externalAPI}}function Le(e){return"auto"!==e?e:function(){let e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),e}()?"touch":"desktop"}var Re={},Oe={get exports(){return Re},set exports(e){Re=e}},Ie={},_e=Symbol.for("react.element"),Te=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),Ae=Symbol.for("react.context"),qe=Symbol.for("react.forward_ref"),De=Symbol.for("react.suspense"),je=Symbol.for("react.memo"),Fe=Symbol.for("react.lazy"),$e=Symbol.iterator;var Be={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},We=Object.assign,Ue={};function He(e,t,n){this.props=e,this.context=t,this.refs=Ue,this.updater=n||Be}function Ve(){}function Ge(e,t,n){this.props=e,this.context=t,this.refs=Ue,this.updater=n||Be}He.prototype.isReactComponent={},He.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")},He.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Ve.prototype=He.prototype;var Ke=Ge.prototype=new Ve;Ke.constructor=Ge,We(Ke,He.prototype),Ke.isPureReactComponent=!0;var Ze=Array.isArray,Xe=Object.prototype.hasOwnProperty,Qe={current:null},Ye={key:!0,ref:!0,__self:!0,__source:!0};function Je(e,t,n){var r,o={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)Xe.call(t,r)&&!Ye.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),c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:_e,type:e,key:a,ref:i,props:o,_owner:Qe.current}}function et(e){return"object"==typeof e&&null!==e&&e.$$typeof===_e}var tt=/\/+/g;function nt(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 rt(e,t,n,r,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case _e:case Te:i=!0}}if(i)return o=o(i=e),e=""===r?"."+nt(i,0):r,Ze(o)?(n="",null!=e&&(n=e.replace(tt,"$&/")+"/"),rt(o,t,n,"",(function(e){return e}))):null!=o&&(et(o)&&(o=function(e,t){return{$$typeof:_e,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(tt,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=""===r?".":r+":",Ze(e))for(var l=0;l<e.length;l++){var s=r+nt(a=e[l],l);i+=rt(a,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$e&&e[$e]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(a=e.next()).done;)i+=rt(a=a.value,t,n,s=r+nt(a,l++),o);else if("object"===a)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 i}function ot(e,t,n){if(null==e)return e;var r=[],o=0;return rt(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function at(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 it={current:null},lt={transition:null},st={ReactCurrentDispatcher:it,ReactCurrentBatchConfig:lt,ReactCurrentOwner:Qe};Ie.Children={map:ot,forEach:function(e,t,n){ot(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return ot(e,(function(){t++})),t},toArray:function(e){return ot(e,(function(e){return e}))||[]},only:function(e){if(!et(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Ie.Component=He,Ie.Fragment=Pe,Ie.Profiler=Me,Ie.PureComponent=Ge,Ie.StrictMode=Ne,Ie.Suspense=De,Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=st,Ie.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=We({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=Qe.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)Xe.call(t,s)&&!Ye.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 c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:_e,type:e.type,key:o,ref:a,props:r,_owner:i}},Ie.createContext=function(e){return(e={$$typeof:Ae,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:ze,_context:e},e.Consumer=e},Ie.createElement=Je,Ie.createFactory=function(e){var t=Je.bind(null,e);return t.type=e,t},Ie.createRef=function(){return{current:null}},Ie.forwardRef=function(e){return{$$typeof:qe,render:e}},Ie.isValidElement=et,Ie.lazy=function(e){return{$$typeof:Fe,_payload:{_status:-1,_result:e},_init:at}},Ie.memo=function(e,t){return{$$typeof:je,type:e,compare:void 0===t?null:t}},Ie.startTransition=function(e){var t=lt.transition;lt.transition={};try{e()}finally{lt.transition=t}},Ie.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Ie.useCallback=function(e,t){return it.current.useCallback(e,t)},Ie.useContext=function(e){return it.current.useContext(e)},Ie.useDebugValue=function(){},Ie.useDeferredValue=function(e){return it.current.useDeferredValue(e)},Ie.useEffect=function(e,t){return it.current.useEffect(e,t)},Ie.useId=function(){return it.current.useId()},Ie.useImperativeHandle=function(e,t,n){return it.current.useImperativeHandle(e,t,n)},Ie.useInsertionEffect=function(e,t){return it.current.useInsertionEffect(e,t)},Ie.useLayoutEffect=function(e,t){return it.current.useLayoutEffect(e,t)},Ie.useMemo=function(e,t){return it.current.useMemo(e,t)},Ie.useReducer=function(e,t,n){return it.current.useReducer(e,t,n)},Ie.useRef=function(e){return it.current.useRef(e)},Ie.useState=function(e){return it.current.useState(e)},Ie.useSyncExternalStore=function(e,t,n){return it.current.useSyncExternalStore(e,t,n)},Ie.useTransition=function(){return it.current.useTransition()},Ie.version="18.2.0",function(e){e.exports=Ie}(Oe);var ct=n(Re),ut=t({__proto__:null,default:ct},[Re]),dt={},pt={get exports(){return dt},set exports(e){dt=e}},ft={},ht={},mt={get exports(){return ht},set exports(e){ht=e}},gt={};
|
|
7
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).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)}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];n.push.apply(n,arguments);var r=Function.bind.apply(t,n);return new r}return 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 o={},a={get exports(){return o},set exports(e){o=e}};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");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:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),l=new I(r||[]);return o(i,"_invoke",{value:k(e,n,l)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",f="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};c(b,i,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(_([])));S&&S!==n&&r.call(S,i)&&(b=S);var w=y.prototype=g.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(o,a,i,l){var s=d(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function k(e,t,n){var r=p;return function(o,a){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw a;return T()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=L(i,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=d(e,t,n);if("normal"===s.type){if(r=n.done?h:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}function L(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var a=d(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function _(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return v.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},E(C.prototype),c(C.prototype,l,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new C(u(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(w),c(w,s,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=_,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:_(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}(a);var d={},p={get exports(){return d},set exports(e){d=e}},f={},h=Symbol.for("react.element"),m=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),x=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),k=Symbol.iterator;var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,O={};function I(e,t,n){this.props=e,this.context=t,this.refs=O,this.updater=n||L}function _(){}function T(e,t,n){this.props=e,this.context=t,this.refs=O,this.updater=n||L}I.prototype.isReactComponent={},I.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")},I.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=I.prototype;var P=T.prototype=new _;P.constructor=T,R(P,I.prototype),P.isPureReactComponent=!0;var N=Array.isArray,M=Object.prototype.hasOwnProperty,z={current:null},A={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,n){var r,o={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)M.call(t,r)&&!A.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),c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:h,type:e,key:a,ref:i,props:o,_owner:z.current}}function q(e){return"object"==typeof e&&null!==e&&e.$$typeof===h}var j=/\/+/g;function F(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 $(e,t,n,r,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case h:case m:i=!0}}if(i)return o=o(i=e),e=""===r?"."+F(i,0):r,N(o)?(n="",null!=e&&(n=e.replace(j,"$&/")+"/"),$(o,t,n,"",(function(e){return e}))):null!=o&&(q(o)&&(o=function(e,t){return{$$typeof:h,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(j,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=""===r?".":r+":",N(e))for(var l=0;l<e.length;l++){var s=r+F(a=e[l],l);i+=$(a,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=k&&e[k]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(a=e.next()).done;)i+=$(a=a.value,t,n,s=r+F(a,l++),o);else if("object"===a)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 i}function B(e,t,n){if(null==e)return e;var r=[],o=0;return $(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 H={current:null},U={transition:null},V={ReactCurrentDispatcher:H,ReactCurrentBatchConfig:U,ReactCurrentOwner:z};f.Children={map:B,forEach:function(e,t,n){B(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!q(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},f.Component=I,f.Fragment=g,f.Profiler=y,f.PureComponent=T,f.StrictMode=v,f.Suspense=w,f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,f.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,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=z.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)M.call(t,s)&&!A.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 c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:h,type:e.type,key:o,ref:a,props:r,_owner:i}},f.createContext=function(e){return(e={$$typeof:x,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:b,_context:e},e.Consumer=e},f.createElement=D,f.createFactory=function(e){var t=D.bind(null,e);return t.type=e,t},f.createRef=function(){return{current:null}},f.forwardRef=function(e){return{$$typeof:S,render:e}},f.isValidElement=q,f.lazy=function(e){return{$$typeof:C,_payload:{_status:-1,_result:e},_init:W}},f.memo=function(e,t){return{$$typeof:E,type:e,compare:void 0===t?null:t}},f.startTransition=function(e){var t=U.transition;U.transition={};try{e()}finally{U.transition=t}},f.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},f.useCallback=function(e,t){return H.current.useCallback(e,t)},f.useContext=function(e){return H.current.useContext(e)},f.useDebugValue=function(){},f.useDeferredValue=function(e){return H.current.useDeferredValue(e)},f.useEffect=function(e,t){return H.current.useEffect(e,t)},f.useId=function(){return H.current.useId()},f.useImperativeHandle=function(e,t,n){return H.current.useImperativeHandle(e,t,n)},f.useInsertionEffect=function(e,t){return H.current.useInsertionEffect(e,t)},f.useLayoutEffect=function(e,t){return H.current.useLayoutEffect(e,t)},f.useMemo=function(e,t){return H.current.useMemo(e,t)},f.useReducer=function(e,t,n){return H.current.useReducer(e,t,n)},f.useRef=function(e){return H.current.useRef(e)},f.useState=function(e){return H.current.useState(e)},f.useSyncExternalStore=function(e,t,n){return H.current.useSyncExternalStore(e,t,n)},f.useTransition=function(){return H.current.useTransition()},f.version="18.2.0",function(e){e.exports=f}(p);var G=n(d),K=t({__proto__:null,default:G},[d]);const Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n="string"==typeof t||"number"==typeof t?[t]:t;return e.replace(/\{(\d+)\}/g,((e,t)=>void 0!==n[t]?n[t]:e))};function X(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={};let r=e;const o={language:e=>(e&&(r=e),r),add:e=>{const{id:t,locale:r}=e;Object.keys(r).forEach((e=>{n[e]||(n[e]={}),n[e][t]=r[e]}))},get(e,o){let a;return a=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==o?Z(a,o):a}};return o}const Q=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=X({initial:e,fallback:t});return{translator:n}};var Y={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"キャンセル","ko-KR":"취소","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"Отмена","sv-SE":"Avbryt","tr-TR":"İptal","zh-CN":"取消","zh-TW":"取消"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"すべて","ko-KR":"모두","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"ВСЕ","sv-SE":"ALLA","tr-TR":"TÜMÜ","zh-CN":"全部","zh-TW":"全部"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Lock:{id:"Listbox.Lock",locale:{"de-DE":"Auswahlen sperren","en-US":"Lock selections","es-ES":"Bloquear selecciones","fr-FR":"Verrouiller les sélections","it-IT":"Blocca selezioni","ja-JP":"選択をロック","ko-KR":"선택 내용 잠금","nl-NL":"Selecties vergrendelen","pl-PL":"Zablokuj wybory","pt-BR":"Bloquear seleções","ru-RU":"Заблокировать выборки","sv-SE":"Lås urval","tr-TR":"Seçimleri kilitle","zh-CN":"锁定选择项","zh-TW":"鎖定選項"}},Listbox_ResultFilterLabel:{id:"Listbox.ResultFilterLabel",locale:{"de-DE":"Suchergebnisfilter","en-US":"Search Results Filter","es-ES":"Filtro de resultados de búsqueda","fr-FR":"Filtre de résultats de recherche","it-IT":"Filtro risultati Ricerca","ja-JP":"検索結果フィルター","ko-KR":"검색 결과 필터","nl-NL":"Filter voor zoekresultaten","pl-PL":"Filtr wyników wyszukiwania","pt-BR":"Filtro de resultados da pesquisa","ru-RU":"Фильтр результатов поиска","sv-SE":"Filter för sökresultat","tr-TR":"Arama Sonuçları Filtresi","zh-CN":"搜索结果筛选器","zh-TW":"搜尋結果篩選"}},Listbox_NoMatchesForYourTerms:{id:"Listbox.NoMatchesForYourTerms",locale:{"de-DE":"Für Ihre Suche wurden keine Übereinstimmungen gefunden.","en-US":"There are no matches for your search.","es-ES":"No hay resultados para su búsqueda.","fr-FR":"Aucun résultat ne correspond à votre recherche.","it-IT":"Non esistono corrispondenze per la ricerca.","ja-JP":"検索に一致するものがありません。","ko-KR":"검색에 대해 일치하는 항목이 없습니다.","nl-NL":"Er zijn geen overeenkomsten voor uw zoekopdracht.","pl-PL":"Brak dopasowań dla tego wyszukiwania.","pt-BR":"Não há correspondências para sua pesquisa.","ru-RU":"Нет совпадений для искомого текста.","sv-SE":"Det finns inga matchningar för din sökning.","tr-TR":"Aramanızla eşleşen sonuç yok.","zh-CN":"您的搜索条件没有任何匹配结果。","zh-TW":"沒有與您搜尋相符的項目。"}},Listbox_ScreenReaderInstructions:{id:"Listbox.ScreenReaderInstructions",locale:{"de-DE":"Bei Aktivierung der Elemente unten wird der Seiteninhalt aktualisiert","en-US":"Activating the elements below will cause content on the page to be updated","es-ES":"La activación de los elementos siguientes hará que se actualice el contenido en la página","fr-FR":"L'activation des éléments ci-dessous actualisera le contenu de la page.","it-IT":"L'attivazione degli elementi sottostanti causerà l'aggiornamento del contenuto della pagina","ja-JP":"下記の要素をアクティブ化すると、ページのコンテンツが更新されます","ko-KR":"아래 요소를 활성화하면 페이지의 콘텐츠가 업데이트됩니다.","nl-NL":"Door de onderstaande elementen te activeren wordt de inhoud op de pagina bijgewerkt","pl-PL":"Aktywacja poniższych elementów spowoduje aktualizację zawartości na stronie","pt-BR":"A ativação dos elementos abaixo fará com que o conteúdo da página seja atualizado","ru-RU":"Активация приведенных ниже элементов приведет к обновлению содержимого страницы","sv-SE":"Om du aktiverar elementen nedan kommer innehåll på sidan att uppdateras","tr-TR":"Aşağıdaki öğeleri etkinleştirmek sayfadaki içeriğin güncellenmesine neden olur","zh-CN":"激活下面的元素将导致页面上的内容更新","zh-TW":"啟用以下元素將會造成更新頁面上的內容"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de sélection","it-IT":"Cerca nella casella di elenco","ja-JP":"リストボックス内を検索","ko-KR":"목록 상자에서 검색","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w liście wartości","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"Поиск в списке","sv-SE":"Sök i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"在列表框中搜索","zh-TW":"在清單方塊中搜尋"}},Listbox_Search_ScreenReaderInstructions:{id:"Listbox.Search.ScreenReaderInstructions",locale:{"de-DE":"Über das folgende Suchfeld werden Ergebnisse während der Eingabe gefiltert","en-US":"The following search field filters results below as you type","es-ES":"El siguiente campo de búsqueda filtra los resultados siguientes a medida que escribe","fr-FR":"Le champ de recherche suivant filtrer les résultats ci-dessous à mesure de votre saisie.","it-IT":"Il seguente campo di ricerca filtra i risultati man mano che vengono digitati","ja-JP":"次の検索フィールドは、入力と同時に下記の結果をフィルターします","ko-KR":"다음 검색 필드는 입력할 때 아래의 결과를 필터링합니다.","nl-NL":"Het volgende zoekveld filtert resultaten terwijl u typt","pl-PL":"Następujące pole wyszukiwania filtruje wyniki poniżej w miarę pisania","pt-BR":"O campo de pesquisa a seguir filtra os resultados abaixo conforme você digita","ru-RU":"Следующее поле поиска фильтрует результаты ниже по мере ввода текста","sv-SE":"Följande sökfält filtrerar resultaten nedan medan du skriver","tr-TR":"Aşağıdaki arama alanı siz yazarken aşağıdaki sonuçları filtreler","zh-CN":"键入时,以下搜索字段筛选结果如下","zh-TW":"下列搜尋欄位在您輸入時篩選以下結果"}},Listbox_Unlock:{id:"Listbox.Unlock",locale:{"de-DE":"Auswahlen entsperren","en-US":"Unlock selections","es-ES":"Desbloquear selecciones","fr-FR":"Déverrouiller les sélections","it-IT":"Sblocca selezioni","ja-JP":"選択をロック解除","ko-KR":"선택 내용 잠금 해제","nl-NL":"Selecties ontgrendelen","pl-PL":"Odblokuj wybory","pt-BR":"Desbloquear seleções","ru-RU":"Разблокировать выборки","sv-SE":"Lås upp urval","tr-TR":"Seçimlerin kilidini aç","zh-CN":"将选择项解锁","zh-TW":"解鎖選項"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"Más","fr-FR":"Plus","it-IT":"Altro","ja-JP":"詳細","ko-KR":"자세히","nl-NL":"Meer","pl-PL":"Więcej","pt-BR":"Mais","ru-RU":"Дополнительно","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"更多","zh-TW":"更多"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zurück","en-US":"Step back","es-ES":"Atrás","fr-FR":"Retour en arrière","it-IT":"Torna indietro","ja-JP":"1 段階戻る","ko-KR":"이전 단계","nl-NL":"Stap terug","pl-PL":"Krok do tyłu","pt-BR":"Voltar uma etapa","ru-RU":"Шаг назад","sv-SE":"Gå bakåt","tr-TR":"Bir adım geri","zh-CN":"后退","zh-TW":"倒退"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"Étape suivante","it-IT":"Vai avanti","ja-JP":"1段階進む","ko-KR":"다음 단계","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avançar uma etapa","ru-RU":"Шаг вперед","sv-SE":"Gå framåt","tr-TR":"Bir adım ileri","zh-CN":"前进","zh-TW":"前進"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"확인","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"ОК","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"确定","zh-TW":"確定"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de données en cours","it-IT":"Caricamento dati in corso","ja-JP":"データのロード中","ko-KR":"데이터 로드 중","nl-NL":"Gegevens worden geladen","pl-PL":"Ładowanie danych","pt-BR":"Carregando dados","ru-RU":"Загрузка данных","sv-SE":"Laddar data","tr-TR":"Veriler yükleniyor","zh-CN":"加载数据","zh-TW":"正在載入資料"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualización de datos","fr-FR":"Mise à jour des données annulée","it-IT":"Aggiornamento dati annullato","ja-JP":"データの更新がキャンセルされました","ko-KR":"데이터 업데이트가 취소되었습니다.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych została anulowana","pt-BR":"A atualização de dados foi cancelada","ru-RU":"Обновление данных отменено","sv-SE":"Datauppdateringen avbröts.","tr-TR":"Veri güncelleştirme iptal edildi","zh-CN":"数据更新已取消","zh-TW":"資料更新已取消"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"Réessayer","it-IT":"Riprova","ja-JP":"再試行","ko-KR":"다시 시도","nl-NL":"Opnieuw","pl-PL":"Ponów próbę","pt-BR":"Tentar novamente","ru-RU":"Повторить попытку","sv-SE":"Försök igen","tr-TR":"Yeniden dene","zh-CN":"重试","zh-TW":"重試"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selección","fr-FR":"Annuler la sélection","it-IT":"Annulla selezione","ja-JP":"選択のキャンセル","ko-KR":"선택 취소","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcję","pt-BR":"Cancelar seleção","ru-RU":"Отменить выборку","sv-SE":"Avbryt urval","tr-TR":"Seçimi iptal et","zh-CN":"取消选择","zh-TW":"取消選取"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selection","es-ES":"Borrar selección","fr-FR":"Effacer la sélection","it-IT":"Cancella selezione","ja-JP":"選択をクリア","ko-KR":"선택 해제","nl-NL":"Selectie wissen","pl-PL":"Wyczyść selekcję","pt-BR":"Limpar seleção","ru-RU":"Очистить выбор","sv-SE":"Rensa urval","tr-TR":"Seçimi temizle","zh-CN":"清除选择","zh-TW":"清除選項"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen löschen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les sélections","it-IT":"Cancella tutte le selezioni","ja-JP":"選択をすべてクリアする","ko-KR":"모든 선택 해제","nl-NL":"Alle selecties wissen","pl-PL":"Wyczyść wszystkie selekcje","pt-BR":"Limpar todas as seleções","ru-RU":"Очистить от всех выборок","sv-SE":"Radera alla urval","tr-TR":"Tüm seçimleri temizle","zh-CN":"清除所有选择项","zh-TW":"清除所有選項"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status löschen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les états","it-IT":"Cancella tutti gli stati","ja-JP":"全ステートをクリア","ko-KR":"모든 상태 지우기","nl-NL":"Alle states wissen","pl-PL":"Wyczyść wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"Очистить все состояния","sv-SE":"Rensa alla tillstånd","tr-TR":"Tüm durumları temizle","zh-CN":"清除所有状态","zh-TW":"清除所有狀態"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl bestätigen","en-US":"Confirm selection","es-ES":"Confirmar selección","fr-FR":"Confirmer la sélection","it-IT":"Conferma selezione","ja-JP":"選択の確認","ko-KR":"선택 확인","nl-NL":"Selectie bevestigen","pl-PL":"Potwierdź selekcję","pt-BR":"Confirmar seleção","ru-RU":"Подтвердить выборку","sv-SE":"Bekräfta urval","tr-TR":"Seçimi onayla","zh-CN":"确认选择","zh-TW":"確認選取"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmenü","en-US":"Selection menu","es-ES":"Menú de selección","fr-FR":"Menu Sélection","it-IT":"Menu Selezione","ja-JP":"選択メニュー","ko-KR":"선택 메뉴","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de seleção","ru-RU":'Меню "Выборка"',"sv-SE":"Urvalsmeny","tr-TR":"Seçim menüsü","zh-CN":"选择菜单","zh-TW":"選項功能表"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutto","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替値を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外値を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluído","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込値を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possível","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olasıyı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollständige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualización incompleta","fr-FR":"Visualisation incomplète","it-IT":"Visualizzazione incompleta","ja-JP":"未完了のビジュアライゼーション","ko-KR":"완료되지 않은 시각화","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualização incompleta","ru-RU":"Незавершенная визуализация","sv-SE":"Ofullständig visualisering","tr-TR":"Tamamlanmamış görselleştirme","zh-CN":"不完整的可视化","zh-TW":"視覺化未完成"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} 軸","ko-KR":"{1} 차원의 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiarów","pt-BR":"{0} de {1} dimensões","ru-RU":"Измерения: {0} из {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} 个维度","zh-TW":"{1} 個維度中的 {0} 個"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} メジャー","ko-KR":"{1} 측정값의 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"Меры: {0} из {1}","sv-SE":"{0} av {1} mått","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} 个度量","zh-TW":"{1} 個量值中的 {0} 個"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ungültige Dimension","en-US":"Invalid dimension","es-ES":"Dimensión no válida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"無効な軸です","ko-KR":"잘못된 차원","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawidłowy wymiar","pt-BR":"Dimensão inválida","ru-RU":"Недопустимое измерение","sv-SE":"Ogiltig dimension","tr-TR":"Geçersiz boyut","zh-CN":"无效维度","zh-TW":"維度無效"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ungültige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no válida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"無効なメジャーです","ko-KR":"잘못된 측정값","nl-NL":"Ongeldige meting","pl-PL":"Nieprawidłowa miara","pt-BR":"Medida inválida","ru-RU":"Недопустимая мера","sv-SE":"Ogiltigt mått","tr-TR":"Geçersiz hesaplama","zh-CN":"无效度量项","zh-TW":"量值無效"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"エラー","ko-KR":"오류","nl-NL":"Fout","pl-PL":"Błąd","pt-BR":"Erro","ru-RU":"Ошибка","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"错误","zh-TW":"錯誤"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erfüllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condición de cálculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non è soddisfatta","ja-JP":"演算実行条件が満たされていません","ko-KR":"계산 조건이 충족되지 않았습니다.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spełniony","pt-BR":"A condição de cálculo não foi atendida","ru-RU":"Условие вычисления не выполнено","sv-SE":"Beräkningsvillkoret uppfylls inte","tr-TR":"Hesaplama koşulu yerine getirilmedi","zh-CN":"不满足计算条件","zh-TW":"不符計算條件"}},Listbox_ItemsOverflow:{id:"Listbox.ItemsOverflow",locale:{"en-US":"Currently showing a limited data set, use search to reduce the size"}},Listbox_Dismiss:{id:"Listbox.Dismiss",locale:{"en-US":"Dismiss"}}};function J(e){const t=Q({initial:e});return Object.keys(Y).forEach((e=>{t.translator.add(Y[e])})),{translator:t.translator}}var ee={};function te(){te.init.call(this)}ee.isObject=function(e){return"object"==typeof e&&null!==e},ee.isNumber=function(e){return"number"==typeof e},ee.isUndefined=function(e){return void 0===e},ee.isFunction=function(e){return"function"==typeof e};var ne=te;function re(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function oe(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ae(){}te.EventEmitter=te,te.prototype._events=void 0,te.prototype._maxListeners=void 0,te.defaultMaxListeners=10,te.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},te.prototype.setMaxListeners=function(e){if(!ee.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},te.prototype.emit=function(e){var t,n,r,o,a,i;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],ee.isUndefined(n))return!1;if(ee.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),a=1;a<r;a++)o[a-1]=arguments[a];n.apply(this,o)}else if(ee.isObject(n)){for(r=arguments.length,o=new Array(r-1),a=1;a<r;a++)o[a-1]=arguments[a];for(r=(i=n.slice()).length,a=0;a<r;a++)i[a].apply(this,o)}return!0},te.prototype.addListener=function(e,t){var n;if(!ee.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,ee.isFunction(t.listener)?t.listener:t),this._events[e]?ee.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,ee.isObject(this._events[e])&&!this._events[e].warned)&&((n=ee.isUndefined(this._maxListeners)?te.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,ee.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),ee.isFunction(console.trace)&&console.trace()));return this},te.prototype.on=te.prototype.addListener,te.prototype.once=function(e,t){if(!ee.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},te.prototype.removeListener=function(e,t){var n,r,o,a;if(!ee.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||ee.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(ee.isObject(n)){for(a=o;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},te.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],ee.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},te.prototype.listeners=function(e){return this._events&&this._events[e]?ee.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},te.listenerCount=function(e,t){return e._events&&e._events[t]?ee.isFunction(e._events[t])?1:e._events[t].length:0};var ie=.7,le=1/ie,se="\\s*([+-]?\\d+)\\s*",ce="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ue="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",de=/^#([0-9a-f]{3,8})$/,pe=new RegExp(`^rgb\\(${se},${se},${se}\\)$`),fe=new RegExp(`^rgb\\(${ue},${ue},${ue}\\)$`),he=new RegExp(`^rgba\\(${se},${se},${se},${ce}\\)$`),me=new RegExp(`^rgba\\(${ue},${ue},${ue},${ce}\\)$`),ge=new RegExp(`^hsl\\(${ce},${ue},${ue}\\)$`),ve=new RegExp(`^hsla\\(${ce},${ue},${ue},${ce}\\)$`),ye={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 be(){return this.rgb().formatHex()}function xe(){return this.rgb().formatRgb()}function Se(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=de.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?we(t):3===n?new Le(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ee(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ee(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=pe.exec(e))?new Le(t[1],t[2],t[3],1):(t=fe.exec(e))?new Le(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=he.exec(e))?Ee(t[1],t[2],t[3],t[4]):(t=me.exec(e))?Ee(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ge.exec(e))?Pe(t[1],t[2]/100,t[3]/100,1):(t=ve.exec(e))?Pe(t[1],t[2]/100,t[3]/100,t[4]):ye.hasOwnProperty(e)?we(ye[e]):"transparent"===e?new Le(NaN,NaN,NaN,0):null}function we(e){return new Le(e>>16&255,e>>8&255,255&e,1)}function Ee(e,t,n,r){return r<=0&&(e=t=n=NaN),new Le(e,t,n,r)}function Ce(e){return e instanceof ae||(e=Se(e)),e?new Le((e=e.rgb()).r,e.g,e.b,e.opacity):new Le}function ke(e,t,n,r){return 1===arguments.length?Ce(e):new Le(e,t,n,null==r?1:r)}function Le(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Re(){return`#${Te(this.r)}${Te(this.g)}${Te(this.b)}`}function Oe(){const e=Ie(this.opacity);return`${1===e?"rgb(":"rgba("}${_e(this.r)}, ${_e(this.g)}, ${_e(this.b)}${1===e?")":`, ${e})`}`}function Ie(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function _e(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Te(e){return((e=_e(e))<16?"0":"")+e.toString(16)}function Pe(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Me(e,t,n,r)}function Ne(e){if(e instanceof Me)return new Me(e.h,e.s,e.l,e.opacity);if(e instanceof ae||(e=Se(e)),!e)return new Me;if(e instanceof Me)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=NaN,l=a-o,s=(a+o)/2;return l?(i=t===a?(n-r)/l+6*(n<r):n===a?(r-t)/l+2:(t-n)/l+4,l/=s<.5?a+o:2-a-o,i*=60):l=s>0&&s<1?0:i,new Me(i,l,s,e.opacity)}function Me(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ze(e){return(e=(e||0)%360)<0?e+360:e}function Ae(e){return Math.max(0,Math.min(1,e||0))}function De(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}re(ae,Se,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:be,formatHex:be,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ne(this).formatHsl()},formatRgb:xe,toString:xe}),re(Le,ke,oe(ae,{brighter(e){return e=null==e?le:Math.pow(le,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?ie:Math.pow(ie,e),new Le(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Le(_e(this.r),_e(this.g),_e(this.b),Ie(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:Re,formatHex:Re,formatHex8:function(){return`#${Te(this.r)}${Te(this.g)}${Te(this.b)}${Te(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Oe,toString:Oe})),re(Me,(function(e,t,n,r){return 1===arguments.length?Ne(e):new Me(e,t,n,null==r?1:r)}),oe(ae,{brighter(e){return e=null==e?le:Math.pow(le,e),new Me(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?ie:Math.pow(ie,e),new Me(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 Le(De(e>=240?e-240:e+120,o,r),De(e,o,r),De(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Me(ze(this.h),Ae(this.s),Ae(this.l),Ie(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=Ie(this.opacity);return`${1===e?"hsl(":"hsla("}${ze(this.h)}, ${100*Ae(this.s)}%, ${100*Ae(this.l)}%${1===e?")":`, ${e})`}`}}));var qe=Object.prototype.hasOwnProperty,je=Object.prototype.toString,Fe=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Be=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===je.call(e)},We=function(e){if(!e||"[object Object]"!==je.call(e))return!1;var t,n=qe.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&qe.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||qe.call(e,t)},He=function(e,t){Fe&&"__proto__"===t.name?Fe(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Ue=function(e,t){if("__proto__"===t){if(!qe.call(e,t))return;if($e)return $e(e,t).value}return e[t]},Ve=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=Ue(l,n),l!==(o=Ue(t,n))&&(u&&o&&(We(o)||(a=Be(o)))?(a?(a=!1,i=r&&Be(r)?r:[]):i=r&&We(r)?r:{},He(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&He(l,{name:n,newValue:o}));return l},Ge={fontSize:"13px",fontFamily:"'Source Sans Pro', 'Arial', 'sans-serif'",backgroundColor:"transparent",dataColors:{primaryColor:"#26a0a7",othersColor:"#a5a5a5",errorColor:"#ff4444",nullColor:"#d2d2d2"},scales:[{name:"Sequential Gradient",translation:"properties.colorScheme.sequential",type:"gradient",propertyValue:"sg",scale:["#26a0a7","#c7ea8b"]},{name:"Sequential Classes",translation:"properties.colorScheme.sequentialC",propertyValue:"sc",type:"class",scale:["#26a0a7","#c7ea8b"]},{name:"Diverging gradient",translation:"properties.colorScheme.diverging",propertyValue:"dg",type:"gradient",scale:["#26a0a7","#c3ea8c","#ec983d"]},{name:"Diverging Classes",translation:"properties.colorScheme.divergingC",propertyValue:"dc",type:"class",scale:["#26a0a7","#c3ea8c","#ec983d"]}],palettes:{data:[{name:"12 Colors",translation:"properties.colorNumberOfColors.12",propertyValue:"12",type:"pyramid",scale:[["#26A0A7"],["#26A0A7","#EC983D"],["#26A0A7","#CBE989","#EC983D"],["#26A0A7","#79D69F","#F9EC86","#EC983D"],["#26A0A7","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D","#D76C6C"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"],["#138185","#26A0A7","#65D3DA","#79D69F","#70BA6E","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"]]}],ui:[{name:"Palette",colors:["#b0afae","#7b7a78","#a54343","#d76c6c","#ec983d","#ecc43d","#f9ec86","#cbe989","#70ba6e","#578b60","#79d69f","#26a0a7","#138185","#65d3da","#ffffff","#000000"]}]}},Ke={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},Ze={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};class Xe{constructor(e){this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=Se(e)}addColorPart(e,t,n){n=n||0,this.startLevel=Math.max(n,this.startLevel),this.colorParts[n]||(this.colorParts[n]=[]),this.colorParts[n].push([Se(e),Se(t)])}getColor(e,t){const n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);const r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length);let o=Math.floor(r);o=o===r?o-1:o;const a=this.colorParts[t][o],i=a[0],l=a[1];if(e===this.min)return l;if(e===this.max)return i;const s=function(e,t,n){return ke(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(i,l,r-o);return s}}function Qe(e,t,n){const r=.25+(t+1)/n*.25,o=.5-r;return o+e/1*(.5+r-o)}function Ye(e,t,n){const r=[],o=new Xe(t);r.push(e[0]),n||r.push(e[0]);let a=1;for(;a<e.length-1;a++)r.push(e[a]),r.push(e[a]);r.push(e[a]),n||r.push(e[a]);for(let e=0;e<r.length;e+=2)o.addColorPart(r[e],r[e+1]);return o}function Je(e,t,n){const r=[];for(let o=0;o<t+1;o++){let a;switch(t){case 0:a=e.getColor(.5);break;default:{const r=Qe(1/t*o,t,n);a=e.getColor(r);break}}r.push(Se(a).formatHex())}return r}function et(e,t,n){const r=Ye(e,n,!0),o=Ye(Je(r,t-1,t),n,!1),a=[null];for(let e=0;e<t;e++)a.push(Je(o,e,t));return a}function tt(e,t){const n=[];let r,o;if(e){let a=e.length;for(;a>=0;){for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat(e)),r.pop(),o--;e.pop(),a--}}else for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat()),r.pop(),o--;return n}function nt(e,t){let n=e;for(let e=0;e<t.length;e++){if(!n[t[e]])return;n=n[t[e]]}return n}function rt(e,t,n,r){let o;if(""===e)o=tt(null,n);else{o=tt(e.split("."),n)}return function(e,t,n){const r=t.split(".");for(let t=0;t<e.length;t++){const o=nt(n,[...e[t],...r]);if(void 0!==o)return o}}(o,t,r)}function ot(e,t){const n=e.split(".");return{getStyle:(e,r)=>rt(e,r,n.concat(),t)}}function at(e,t){Object.keys(e).forEach((n=>{"object"==typeof e[n]&&null!==e[n]?at(e[n],t):"string"==typeof e[n]&&"@"===e[n].charAt(0)&&(e[n]=t[e[n]])}))}function it(e){const t=Se(e).rgb(),{r:n,g:r,b:o}=t,[a,i,l]=[n,r,o].map((e=>e/255)),[s,c,u]=[a,i,l].map((e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4));return+(.2126*s+.7152*c+.0722*u).toFixed(5)}function lt(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}ot.resolveRawTheme=e=>{const t=Ve(!0,{},e);return at(t,t._variables),t.scales&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach((e=>{if("class"===e.type){const n=et(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}}))}(t.scales,t.dataColors&&t.dataColors.nullColor),t};function st(){let e,t,n,r={};const o={getDataColorScales:()=>t.dataScales(),getDataColorPalettes:()=>t.dataPalettes(),getDataColorPickerPalettes:()=>t.uiPalettes(),getDataColorSpecials:()=>t.dataColors(),getColorPickerColor(){return t.uiColor(...arguments)},getContrastingColorTo:e=>n.getBestContrastColor(e),getStyle:(t,n,o)=>(r[t]||(r[t]=ot(t,e)),r[t].getStyle(n,o)),validateColor(){const e=arguments.length<=0?void 0:arguments[0];let t;if("string"==typeof e&&(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))){const e=parseInt(t[1],10)/255,n=parseInt(t[2],10),r=parseInt(t[3],10),o=parseInt(t[4],10);return"rgba(".concat(n,",").concat(r,",").concat(o,",").concat(e,")")}const n=Se(...arguments);return n?n.toString():void 0}},a={setTheme(a,i){e=function(e,t){const n="dark"===e.type?Ze:Ke,r=Ve(!0,{},Ge,n),o=Ve(!0,{},r,{scales:null,palettes:{data:null,ui:null}},e);return o.palettes.data&&o.palettes.data.length||(o.palettes.data=r.palettes.data),o.palettes.ui&&o.palettes.ui.length||(o.palettes.ui=r.palettes.ui),o.scales&&o.scales.length||(o.scales=r.scales),t(o)}(a,ot.resolveRawTheme),r={},t=function(e){let t;return{dataScales(){const t=[];return e.scales.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,scheme:!0,type:e.type,colors:e.scale})})),t},dataPalettes(){const t=[];return e.palettes.data.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,type:e.type,colors:e.scale})})),t},uiPalettes(){const t=[];return e.palettes.ui.forEach((e=>{t.push({key:"ui",name:e.name,translation:e.translation,type:"row",colors:e.colors})})),t},dataColors:()=>({primary:e.dataColors.primaryColor,nil:e.dataColors.nullColor,others:e.dataColors.othersColor}),uiColor(e,n){return n=!!n,e.index<0||void 0===e.index?e.color:(void 0===t&&(t=this.uiPalettes()[0]||!1),t?void 0===t.colors[e.index-n]?e.color:t.colors[e.index-n]:e.color)}}}(e);const l=o.getStyle("","","color"),s=it(l);n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(it);return{getBestContrastColor(o){if(!t[o]){n>1e3&&(t={},n=0);const a=it(o),i=r.map((e=>lt(a,e))),l=e[i.indexOf(Math.max(...i))];t[o]=l,n++}return t[o]}}}([l,s<.2?"#ffffff":"#333333"]),o.emit("changed"),o.name=()=>i}};return Object.keys(ne.prototype).forEach((e=>{o[e]=ne.prototype[e]})),ne.init(o),a.setTheme({},"light"),{externalAPI:o,internalAPI:a}}const ct=(e,t)=>new Promise((n=>{setTimeout((()=>n(t)),e)}));function ut(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=st(),r=async r=>{const o=e.filter((e=>e.id===r))[0];let a="dark"===r?"dark":"light";if(o&&o.load)try{const e=await Promise.race([o.load(),ct(5e3,{__timedOut:!0})]);e.__timedOut||(a="dark"===e.type?"dark":"light",n.internalAPI.setTheme(e,r),t.setMuiThemeName(a))}catch(e){}else n.internalAPI.setTheme({type:a},r),t.setMuiThemeName(a)};return{setTheme:r,externalAPI:n.externalAPI}}function dt(e){return"auto"!==e?e:function(){let e=!1;return window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(e=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(e=!0),e}()?"touch":"desktop"}var pt={},ft={get exports(){return pt},set exports(e){pt=e}},ht={},mt={},gt={get exports(){return mt},set exports(e){mt=e}},vt={};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* scheduler.production.min.js
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
!function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,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,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>o(s,n))c<a&&0>o(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}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 a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],c=[],u=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(c);null!==o;){if(null===o.callback)r(c);else{if(!(o.startTime<=e))break;r(c),o.sortIndex=o.expirationTime,t(s,o)}o=n(c)}}function x(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,P(S);else{var t=n(c);null!==t&&N(x,t.startTime-e)}}function S(t,o){h=!1,m&&(m=!1,v(k),k=-1),f=!0;var a=p;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!O());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var u=!0;else{var g=n(c);null!==g&&N(x,g.startTime-o),u=!1}return u}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,E=!1,C=null,k=-1,L=5,R=-1;function O(){return!(e.unstable_now()-R<L)}function I(){if(null!==C){var t=e.unstable_now();R=t;var n=!0;try{n=C(!0,t)}finally{n?w():(E=!1,C=null)}}else E=!1}if("function"==typeof y)w=function(){y(I)};else if("undefined"!=typeof MessageChannel){var _=new MessageChannel,T=_.port2;_.port1.onmessage=I,w=function(){T.postMessage(null)}}else w=function(){g(I,0)};function P(e){C=e,E||(E=!0,w())}function N(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(S))},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"):L=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,a){var i=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,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:u++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(c,r),null===n(s)&&r===n(c)&&(m?(v(k),k=-1):m=!0,N(x,a-i))):(r.sortIndex=l,t(s,r),h||f||(h=!0,P(S))),r},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(
|
|
17
|
+
!function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,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,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>o(s,n))c<a&&0>o(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}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 a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],c=[],u=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(c);null!==o;){if(null===o.callback)r(c);else{if(!(o.startTime<=e))break;r(c),o.sortIndex=o.expirationTime,t(s,o)}o=n(c)}}function x(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,P(S);else{var t=n(c);null!==t&&N(x,t.startTime-e)}}function S(t,o){h=!1,m&&(m=!1,v(k),k=-1),f=!0;var a=p;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!O());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var u=!0;else{var g=n(c);null!==g&&N(x,g.startTime-o),u=!1}return u}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,E=!1,C=null,k=-1,L=5,R=-1;function O(){return!(e.unstable_now()-R<L)}function I(){if(null!==C){var t=e.unstable_now();R=t;var n=!0;try{n=C(!0,t)}finally{n?w():(E=!1,C=null)}}else E=!1}if("function"==typeof y)w=function(){y(I)};else if("undefined"!=typeof MessageChannel){var _=new MessageChannel,T=_.port2;_.port1.onmessage=I,w=function(){T.postMessage(null)}}else w=function(){g(I,0)};function P(e){C=e,E||(E=!0,w())}function N(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(S))},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"):L=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,a){var i=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,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:u++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(c,r),null===n(s)&&r===n(c)&&(m?(v(k),k=-1):m=!0,N(x,a-i))):(r.sortIndex=l,t(s,r),h||f||(h=!0,P(S))),r},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(vt),function(e){e.exports=vt}(gt);
|
|
18
18
|
/**
|
|
19
19
|
* @license React
|
|
20
20
|
* react-dom.production.min.js
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
* This source code is licensed under the MIT license found in the
|
|
25
25
|
* LICENSE file in the root directory of this source tree.
|
|
26
26
|
*/
|
|
27
|
-
var vt=Re,yt=ht;function bt(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 xt=new Set,St={};function wt(e,t){Et(e,t),Et(e+"Capture",t)}function Et(e,t){for(St[e]=t,e=0;e<t.length;e++)xt.add(t[e])}var Ct=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),kt=Object.prototype.hasOwnProperty,Lt=/^[: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]*$/,Rt={},Ot={};function It(e,t,n,r,o,a,i){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=a,this.removeEmptyString=i}var _t={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){_t[e]=new It(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];_t[t]=new It(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){_t[e]=new It(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){_t[e]=new It(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){_t[e]=new It(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){_t[e]=new It(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){_t[e]=new It(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){_t[e]=new It(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){_t[e]=new It(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Tt=/[\-:]([a-z])/g;function Pt(e){return e[1].toUpperCase()}function Nt(e,t,n,r){var o=_t.hasOwnProperty(t)?_t[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!!kt.call(Ot,e)||!kt.call(Rt,e)&&(Lt.test(e)?Ot[e]=!0:(Rt[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(Tt,Pt);_t[t]=new It(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(Tt,Pt);_t[t]=new It(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(Tt,Pt);_t[t]=new It(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){_t[e]=new It(e,1,!1,e.toLowerCase(),null,!1,!1)})),_t.xlinkHref=new It("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){_t[e]=new It(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Mt=vt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,zt=Symbol.for("react.element"),At=Symbol.for("react.portal"),qt=Symbol.for("react.fragment"),Dt=Symbol.for("react.strict_mode"),jt=Symbol.for("react.profiler"),Ft=Symbol.for("react.provider"),$t=Symbol.for("react.context"),Bt=Symbol.for("react.forward_ref"),Wt=Symbol.for("react.suspense"),Ut=Symbol.for("react.suspense_list"),Ht=Symbol.for("react.memo"),Vt=Symbol.for("react.lazy"),Gt=Symbol.for("react.offscreen"),Kt=Symbol.iterator;function Zt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Kt&&e[Kt]||e["@@iterator"])?e:null}var Xt,Qt=Object.assign;function Yt(e){if(void 0===Xt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Xt=t&&t[1]||""}return"\n"+Xt+e}var Jt=!1;function en(e,t){if(!e||Jt)return"";Jt=!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"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{Jt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Yt(e):""}function tn(e){switch(e.tag){case 5:return Yt(e.type);case 16:return Yt("Lazy");case 13:return Yt("Suspense");case 19:return Yt("SuspenseList");case 0:case 2:case 15:return e=en(e.type,!1);case 11:return e=en(e.type.render,!1);case 1:return e=en(e.type,!0);default:return""}}function nn(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 qt:return"Fragment";case At:return"Portal";case jt:return"Profiler";case Dt:return"StrictMode";case Wt:return"Suspense";case Ut:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case $t:return(e.displayName||"Context")+".Consumer";case Ft:return(e._context.displayName||"Context")+".Provider";case Bt:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ht:return null!==(t=e.displayName||null)?t:nn(e.type)||"Memo";case Vt:t=e._payload,e=e._init;try{return nn(e(t))}catch(e){}}return null}function rn(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 nn(t);case 8:return t===Dt?"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 on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function an(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ln(e){e._valueTracker||(e._valueTracker=function(e){var t=an(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 sn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=an(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function cn(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 un(e,t){var n=t.checked;return Qt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function dn(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=on(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 pn(e,t){null!=(t=t.checked)&&Nt(e,"checked",t,!1)}function fn(e,t){pn(e,t);var n=on(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")?mn(e,t.type,n):t.hasOwnProperty("defaultValue")&&mn(e,t.type,on(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function hn(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 mn(e,t,n){"number"===t&&cn(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gn=Array.isArray;function vn(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=""+on(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 yn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(bt(91));return Qt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function bn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(bt(92));if(gn(n)){if(1<n.length)throw Error(bt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:on(n)}}function xn(e,t){var n=on(t.value),r=on(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 Sn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function wn(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 En(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?wn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Cn,kn,Ln=(kn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Cn=Cn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Cn.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 kn(e,t)}))}:kn);function Rn(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 On={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},In=["Webkit","ms","Moz","O"];function _n(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function Tn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=_n(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(On).forEach((function(e){In.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]}))}));var Pn=Qt({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 Nn(e,t){if(t){if(Pn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(bt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(bt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(bt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(bt(62))}}function Mn(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 zn=null;function An(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var qn=null,Dn=null,jn=null;function Fn(e){if(e=Mi(e)){if("function"!=typeof qn)throw Error(bt(280));var t=e.stateNode;t&&(t=Ai(t),qn(e.stateNode,e.type,t))}}function $n(e){Dn?jn?jn.push(e):jn=[e]:Dn=e}function Bn(){if(Dn){var e=Dn,t=jn;if(jn=Dn=null,Fn(e),t)for(e=0;e<t.length;e++)Fn(t[e])}}function Wn(e,t){return e(t)}function Un(){}var Hn=!1;function Vn(e,t,n){if(Hn)return e(t,n);Hn=!0;try{return Wn(e,t,n)}finally{Hn=!1,(null!==Dn||null!==jn)&&(Un(),Bn())}}function Gn(e,t){var n=e.stateNode;if(null===n)return null;var r=Ai(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(bt(231,t,typeof n));return n}var Kn=!1;if(Ct)try{var Zn={};Object.defineProperty(Zn,"passive",{get:function(){Kn=!0}}),window.addEventListener("test",Zn,Zn),window.removeEventListener("test",Zn,Zn)}catch(kn){Kn=!1}function Xn(e,t,n,r,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Qn=!1,Yn=null,Jn=!1,er=null,tr={onError:function(e){Qn=!0,Yn=e}};function nr(e,t,n,r,o,a,i,l,s){Qn=!1,Yn=null,Xn.apply(tr,arguments)}function rr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function or(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 ar(e){if(rr(e)!==e)throw Error(bt(188))}function ir(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=rr(e)))throw Error(bt(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ar(o),e;if(a===r)return ar(o),t;a=a.sibling}throw Error(bt(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(bt(189))}}if(n.alternate!==r)throw Error(bt(190))}if(3!==n.tag)throw Error(bt(188));return n.stateNode.current===n?e:t}(e),null!==e?lr(e):null}function lr(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=lr(e);if(null!==t)return t;e=e.sibling}return null}var sr=yt.unstable_scheduleCallback,cr=yt.unstable_cancelCallback,ur=yt.unstable_shouldYield,dr=yt.unstable_requestPaint,pr=yt.unstable_now,fr=yt.unstable_getCurrentPriorityLevel,hr=yt.unstable_ImmediatePriority,mr=yt.unstable_UserBlockingPriority,gr=yt.unstable_NormalPriority,vr=yt.unstable_LowPriority,yr=yt.unstable_IdlePriority,br=null,xr=null;var Sr=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(wr(e)/Er|0)|0},wr=Math.log,Er=Math.LN2;var Cr=64,kr=4194304;function Lr(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 Rr(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=Lr(l):0!==(a&=i)&&(r=Lr(a))}else 0!==(i=n&~o)?r=Lr(i):0!==a&&(r=Lr(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Sr(t)),r|=e[n],t&=~o;return r}function Or(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 Ir(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function _r(){var e=Cr;return 0==(4194240&(Cr<<=1))&&(Cr=64),e}function Tr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Pr(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Sr(t)]=n}function Nr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Sr(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Mr=0;function zr(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Ar,qr,Dr,jr,Fr,$r=!1,Br=[],Wr=null,Ur=null,Hr=null,Vr=new Map,Gr=new Map,Kr=[],Zr="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 Xr(e,t){switch(e){case"focusin":case"focusout":Wr=null;break;case"dragenter":case"dragleave":Ur=null;break;case"mouseover":case"mouseout":Hr=null;break;case"pointerover":case"pointerout":Vr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gr.delete(t.pointerId)}}function Qr(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=Mi(t))&&qr(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Yr(e){var t=Ni(e.target);if(null!==t){var n=rr(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=or(n)))return e.blockedOn=t,void Fr(e.priority,(function(){Dr(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 Jr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=uo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Mi(n))&&qr(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);zn=r,n.target.dispatchEvent(r),zn=null,t.shift()}return!0}function eo(e,t,n){Jr(e)&&n.delete(t)}function to(){$r=!1,null!==Wr&&Jr(Wr)&&(Wr=null),null!==Ur&&Jr(Ur)&&(Ur=null),null!==Hr&&Jr(Hr)&&(Hr=null),Vr.forEach(eo),Gr.forEach(eo)}function no(e,t){e.blockedOn===t&&(e.blockedOn=null,$r||($r=!0,yt.unstable_scheduleCallback(yt.unstable_NormalPriority,to)))}function ro(e){function t(t){return no(t,e)}if(0<Br.length){no(Br[0],e);for(var n=1;n<Br.length;n++){var r=Br[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Wr&&no(Wr,e),null!==Ur&&no(Ur,e),null!==Hr&&no(Hr,e),Vr.forEach(t),Gr.forEach(t),n=0;n<Kr.length;n++)(r=Kr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Kr.length&&null===(n=Kr[0]).blockedOn;)Yr(n),null===n.blockedOn&&Kr.shift()}var oo=Mt.ReactCurrentBatchConfig,ao=!0;function io(e,t,n,r){var o=Mr,a=oo.transition;oo.transition=null;try{Mr=1,so(e,t,n,r)}finally{Mr=o,oo.transition=a}}function lo(e,t,n,r){var o=Mr,a=oo.transition;oo.transition=null;try{Mr=4,so(e,t,n,r)}finally{Mr=o,oo.transition=a}}function so(e,t,n,r){if(ao){var o=uo(e,t,n,r);if(null===o)ai(e,t,r,co,n),Xr(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Wr=Qr(Wr,e,t,n,r,o),!0;case"dragenter":return Ur=Qr(Ur,e,t,n,r,o),!0;case"mouseover":return Hr=Qr(Hr,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Vr.set(a,Qr(Vr.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Gr.set(a,Qr(Gr.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Xr(e,r),4&t&&-1<Zr.indexOf(e)){for(;null!==o;){var a=Mi(o);if(null!==a&&Ar(a),null===(a=uo(e,t,n,r))&&ai(e,t,r,co,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else ai(e,t,r,null,n)}}var co=null;function uo(e,t,n,r){if(co=null,null!==(e=Ni(e=An(r))))if(null===(t=rr(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=or(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 co=e,null}function po(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(fr()){case hr:return 1;case mr:return 4;case gr:case vr:return 16;case yr:return 536870912;default:return 16}default:return 16}}var fo=null,ho=null,mo=null;function go(){if(mo)return mo;var e,t,n=ho,r=n.length,o="value"in fo?fo.value:fo.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return mo=o.slice(e,1<t?1-t:void 0)}function vo(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 yo(){return!0}function bo(){return!1}function xo(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?yo:bo,this.isPropagationStopped=bo,this}return Qt(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=yo)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=yo)},persist:function(){},isPersistent:yo}),t}var So,wo,Eo,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ko=xo(Co),Lo=Qt({},Co,{view:0,detail:0}),Ro=xo(Lo),Oo=Qt({},Lo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fo,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!==Eo&&(Eo&&"mousemove"===e.type?(So=e.screenX-Eo.screenX,wo=e.screenY-Eo.screenY):wo=So=0,Eo=e),So)},movementY:function(e){return"movementY"in e?e.movementY:wo}}),Io=xo(Oo),_o=xo(Qt({},Oo,{dataTransfer:0})),To=xo(Qt({},Lo,{relatedTarget:0})),Po=xo(Qt({},Co,{animationName:0,elapsedTime:0,pseudoElement:0})),No=Qt({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mo=xo(No),zo=xo(Qt({},Co,{data:0})),Ao={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qo={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"},Do={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Do[e])&&!!t[e]}function Fo(){return jo}var $o=Qt({},Lo,{key:function(e){if(e.key){var t=Ao[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=vo(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?qo[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fo,charCode:function(e){return"keypress"===e.type?vo(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?vo(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Bo=xo($o),Wo=xo(Qt({},Oo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Uo=xo(Qt({},Lo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fo})),Ho=xo(Qt({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0})),Vo=Qt({},Oo,{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}),Go=xo(Vo),Ko=[9,13,27,32],Zo=Ct&&"CompositionEvent"in window,Xo=null;Ct&&"documentMode"in document&&(Xo=document.documentMode);var Qo=Ct&&"TextEvent"in window&&!Xo,Yo=Ct&&(!Zo||Xo&&8<Xo&&11>=Xo),Jo=String.fromCharCode(32),ea=!1;function ta(e,t){switch(e){case"keyup":return-1!==Ko.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function na(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ra=!1;var oa={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 aa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!oa[e.type]:"textarea"===t}function ia(e,t,n,r){$n(r),0<(t=li(t,"onChange")).length&&(n=new ko("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var la=null,sa=null;function ca(e){Ja(e,0)}function ua(e){if(sn(zi(e)))return e}function da(e,t){if("change"===e)return t}var pa=!1;if(Ct){var fa;if(Ct){var ha="oninput"in document;if(!ha){var ma=document.createElement("div");ma.setAttribute("oninput","return;"),ha="function"==typeof ma.oninput}fa=ha}else fa=!1;pa=fa&&(!document.documentMode||9<document.documentMode)}function ga(){la&&(la.detachEvent("onpropertychange",va),sa=la=null)}function va(e){if("value"===e.propertyName&&ua(sa)){var t=[];ia(t,sa,e,An(e)),Vn(ca,t)}}function ya(e,t,n){"focusin"===e?(ga(),sa=n,(la=t).attachEvent("onpropertychange",va)):"focusout"===e&&ga()}function ba(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ua(sa)}function xa(e,t){if("click"===e)return ua(t)}function Sa(e,t){if("input"===e||"change"===e)return ua(t)}var wa="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ea(e,t){if(wa(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(!kt.call(t,o)||!wa(e[o],t[o]))return!1}return!0}function Ca(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ka(e,t){var n,r=Ca(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=Ca(r)}}function La(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?La(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ra(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function Oa(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 Ia(e){var t=Ra(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&La(n.ownerDocument.documentElement,n)){if(null!==r&&Oa(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,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=ka(n,a);var i=ka(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 _a=Ct&&"documentMode"in document&&11>=document.documentMode,Ta=null,Pa=null,Na=null,Ma=!1;function za(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ma||null==Ta||Ta!==cn(r)||("selectionStart"in(r=Ta)&&Oa(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},Na&&Ea(Na,r)||(Na=r,0<(r=li(Pa,"onSelect")).length&&(t=new ko("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ta)))}function Aa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qa={animationend:Aa("Animation","AnimationEnd"),animationiteration:Aa("Animation","AnimationIteration"),animationstart:Aa("Animation","AnimationStart"),transitionend:Aa("Transition","TransitionEnd")},Da={},ja={};function Fa(e){if(Da[e])return Da[e];if(!qa[e])return e;var t,n=qa[e];for(t in n)if(n.hasOwnProperty(t)&&t in ja)return Da[e]=n[t];return e}Ct&&(ja=document.createElement("div").style,"AnimationEvent"in window||(delete qa.animationend.animation,delete qa.animationiteration.animation,delete qa.animationstart.animation),"TransitionEvent"in window||delete qa.transitionend.transition);var $a=Fa("animationend"),Ba=Fa("animationiteration"),Wa=Fa("animationstart"),Ua=Fa("transitionend"),Ha=new Map,Va="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 Ga(e,t){Ha.set(e,t),wt(t,[e])}for(var Ka=0;Ka<Va.length;Ka++){var Za=Va[Ka];Ga(Za.toLowerCase(),"on"+(Za[0].toUpperCase()+Za.slice(1)))}Ga($a,"onAnimationEnd"),Ga(Ba,"onAnimationIteration"),Ga(Wa,"onAnimationStart"),Ga("dblclick","onDoubleClick"),Ga("focusin","onFocus"),Ga("focusout","onBlur"),Ga(Ua,"onTransitionEnd"),Et("onMouseEnter",["mouseout","mouseover"]),Et("onMouseLeave",["mouseout","mouseover"]),Et("onPointerEnter",["pointerout","pointerover"]),Et("onPointerLeave",["pointerout","pointerover"]),wt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wt("onBeforeInput",["compositionend","keypress","textInput","paste"]),wt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xa="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(" "),Qa=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xa));function Ya(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(nr.apply(this,arguments),Qn){if(!Qn)throw Error(bt(198));var c=Yn;Qn=!1,Yn=null,Jn||(Jn=!0,er=c)}}(r,t,void 0,e),e.currentTarget=null}function Ja(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Ya(o,l,c),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Ya(o,l,c),a=s}}}if(Jn)throw e=er,Jn=!1,er=null,e}function ei(e,t){var n=t[_i];void 0===n&&(n=t[_i]=new Set);var r=e+"__bubble";n.has(r)||(oi(t,e,2,!1),n.add(r))}function ti(e,t,n){var r=0;t&&(r|=4),oi(n,e,r,t)}var ni="_reactListening"+Math.random().toString(36).slice(2);function ri(e){if(!e[ni]){e[ni]=!0,xt.forEach((function(t){"selectionchange"!==t&&(Qa.has(t)||ti(t,!1,e),ti(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ni]||(t[ni]=!0,ti("selectionchange",!1,t))}}function oi(e,t,n,r){switch(po(t)){case 1:var o=io;break;case 4:o=lo;break;default:o=so}n=o.bind(null,t,n,e),o=void 0,!Kn||"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 ai(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=Ni(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}Vn((function(){var r=a,o=An(n),i=[];e:{var l=Ha.get(e);if(void 0!==l){var s=ko,c=e;switch(e){case"keypress":if(0===vo(n))break e;case"keydown":case"keyup":s=Bo;break;case"focusin":c="focus",s=To;break;case"focusout":c="blur",s=To;break;case"beforeblur":case"afterblur":s=To;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=Io;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=_o;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Uo;break;case $a:case Ba:case Wa:s=Po;break;case Ua:s=Ho;break;case"scroll":s=Ro;break;case"wheel":s=Go;break;case"copy":case"cut":case"paste":s=Mo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Wo}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Gn(h,p))&&u.push(ii(h,m,f)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),i.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===zn||!(c=n.relatedTarget||n.fromElement)||!Ni(c)&&!c[Ii])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ni(c):null)&&(c!==(d=rr(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=Io,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Wo,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:zi(s),f=null==c?l:zi(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Ni(o)===r&&((u=new u(p,h+"enter",c,n,o)).target=f,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(p=c,h=0,f=u=s;f;f=si(f))h++;for(f=0,m=p;m;m=si(m))f++;for(;0<h-f;)u=si(u),h--;for(;0<f-h;)p=si(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=si(u),p=si(p)}u=null}else u=null;null!==s&&ci(i,l,s,u,!1),null!==c&&null!==d&&ci(i,d,c,u,!0)}if("select"===(s=(l=r?zi(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=da;else if(aa(l))if(pa)g=Sa;else{g=ba;var v=ya}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=xa);switch(g&&(g=g(e,r))?ia(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&mn(l,"number",l.value)),v=r?zi(r):window,e){case"focusin":(aa(v)||"true"===v.contentEditable)&&(Ta=v,Pa=r,Na=null);break;case"focusout":Na=Pa=Ta=null;break;case"mousedown":Ma=!0;break;case"contextmenu":case"mouseup":case"dragend":Ma=!1,za(i,n,o);break;case"selectionchange":if(_a)break;case"keydown":case"keyup":za(i,n,o)}var y;if(Zo)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else ra?ta(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Yo&&"ko"!==n.locale&&(ra||"onCompositionStart"!==b?"onCompositionEnd"===b&&ra&&(y=go()):(ho="value"in(fo=o)?fo.value:fo.textContent,ra=!0)),0<(v=li(r,b)).length&&(b=new zo(b,e,null,n,o),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=na(n))&&(b.data=y))),(y=Qo?function(e,t){switch(e){case"compositionend":return na(t);case"keypress":return 32!==t.which?null:(ea=!0,Jo);case"textInput":return(e=t.data)===Jo&&ea?null:e;default:return null}}(e,n):function(e,t){if(ra)return"compositionend"===e||!Zo&&ta(e,t)?(e=go(),mo=ho=fo=null,ra=!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 Yo&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=li(r,"onBeforeInput")).length&&(o=new zo("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Ja(i,t)}))}function ii(e,t,n){return{instance:e,listener:t,currentTarget:n}}function li(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Gn(e,n))&&r.unshift(ii(e,a,o)),null!=(a=Gn(e,t))&&r.push(ii(e,a,o))),e=e.return}return r}function si(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ci(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Gn(n,a))&&i.unshift(ii(n,s,l)):o||null!=(s=Gn(n,a))&&i.push(ii(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var ui=/\r\n?/g,di=/\u0000|\uFFFD/g;function pi(e){return("string"==typeof e?e:""+e).replace(ui,"\n").replace(di,"")}function fi(e,t,n){if(t=pi(t),pi(e)!==t&&n)throw Error(bt(425))}function hi(){}var mi=null,gi=null;function vi(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 yi="function"==typeof setTimeout?setTimeout:void 0,bi="function"==typeof clearTimeout?clearTimeout:void 0,xi="function"==typeof Promise?Promise:void 0,Si="function"==typeof queueMicrotask?queueMicrotask:void 0!==xi?function(e){return xi.resolve(null).then(e).catch(wi)}:yi;function wi(e){setTimeout((function(){throw e}))}function Ei(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 ro(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);ro(t)}function Ci(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 ki(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 Li=Math.random().toString(36).slice(2),Ri="__reactFiber$"+Li,Oi="__reactProps$"+Li,Ii="__reactContainer$"+Li,_i="__reactEvents$"+Li,Ti="__reactListeners$"+Li,Pi="__reactHandles$"+Li;function Ni(e){var t=e[Ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ii]||n[Ri]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ki(e);null!==e;){if(n=e[Ri])return n;e=ki(e)}return t}n=(e=n).parentNode}return null}function Mi(e){return!(e=e[Ri]||e[Ii])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function zi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(bt(33))}function Ai(e){return e[Oi]||null}var qi=[],Di=-1;function ji(e){return{current:e}}function Fi(e){0>Di||(e.current=qi[Di],qi[Di]=null,Di--)}function $i(e,t){Di++,qi[Di]=e.current,e.current=t}var Bi={},Wi=ji(Bi),Ui=ji(!1),Hi=Bi;function Vi(e,t){var n=e.type.contextTypes;if(!n)return Bi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Gi(e){return null!=(e=e.childContextTypes)}function Ki(){Fi(Ui),Fi(Wi)}function Zi(e,t,n){if(Wi.current!==Bi)throw Error(bt(168));$i(Wi,t),$i(Ui,n)}function Xi(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(bt(108,rn(e)||"Unknown",o));return Qt({},n,r)}function Qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bi,Hi=Wi.current,$i(Wi,e),$i(Ui,Ui.current),!0}function Yi(e,t,n){var r=e.stateNode;if(!r)throw Error(bt(169));n?(e=Xi(e,t,Hi),r.__reactInternalMemoizedMergedChildContext=e,Fi(Ui),Fi(Wi),$i(Wi,e)):Fi(Ui),$i(Ui,n)}var Ji=null,el=!1,tl=!1;function nl(e){null===Ji?Ji=[e]:Ji.push(e)}function rl(){if(!tl&&null!==Ji){tl=!0;var e=0,t=Mr;try{var n=Ji;for(Mr=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ji=null,el=!1}catch(t){throw null!==Ji&&(Ji=Ji.slice(e+1)),sr(hr,rl),t}finally{Mr=t,tl=!1}}return null}var ol=[],al=0,il=null,ll=0,sl=[],cl=0,ul=null,dl=1,pl="";function fl(e,t){ol[al++]=ll,ol[al++]=il,il=e,ll=t}function hl(e,t,n){sl[cl++]=dl,sl[cl++]=pl,sl[cl++]=ul,ul=e;var r=dl;e=pl;var o=32-Sr(r)-1;r&=~(1<<o),n+=1;var a=32-Sr(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,dl=1<<32-Sr(t)+o|n<<o|r,pl=a+e}else dl=1<<a|n<<o|r,pl=e}function ml(e){null!==e.return&&(fl(e,1),hl(e,1,0))}function gl(e){for(;e===il;)il=ol[--al],ol[al]=null,ll=ol[--al],ol[al]=null;for(;e===ul;)ul=sl[--cl],sl[cl]=null,pl=sl[--cl],sl[cl]=null,dl=sl[--cl],sl[cl]=null}var vl=null,yl=null,bl=!1,xl=null;function Sl(e,t){var n=Hd(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 wl(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,vl=e,yl=Ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,vl=e,yl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ul?{id:dl,overflow:pl}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Hd(18,null,null,0)).stateNode=t,n.return=e,e.child=n,vl=e,yl=null,!0);default:return!1}}function El(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Cl(e){if(bl){var t=yl;if(t){var n=t;if(!wl(e,t)){if(El(e))throw Error(bt(418));t=Ci(n.nextSibling);var r=vl;t&&wl(e,t)?Sl(r,n):(e.flags=-4097&e.flags|2,bl=!1,vl=e)}}else{if(El(e))throw Error(bt(418));e.flags=-4097&e.flags|2,bl=!1,vl=e}}}function kl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;vl=e}function Ll(e){if(e!==vl)return!1;if(!bl)return kl(e),bl=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!vi(e.type,e.memoizedProps)),t&&(t=yl)){if(El(e))throw Rl(),Error(bt(418));for(;t;)Sl(e,t),t=Ci(t.nextSibling)}if(kl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(bt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){yl=Ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}yl=null}}else yl=vl?Ci(e.stateNode.nextSibling):null;return!0}function Rl(){for(var e=yl;e;)e=Ci(e.nextSibling)}function Ol(){yl=vl=null,bl=!1}function Il(e){null===xl?xl=[e]:xl.push(e)}var _l=Mt.ReactCurrentBatchConfig;function Tl(e,t){if(e&&e.defaultProps){for(var n in t=Qt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Pl=ji(null),Nl=null,Ml=null,zl=null;function Al(){zl=Ml=Nl=null}function ql(e){var t=Pl.current;Fi(Pl),e._currentValue=t}function Dl(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 jl(e,t){Nl=e,zl=Ml=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Mc=!0),e.firstContext=null)}function Fl(e){var t=e._currentValue;if(zl!==e)if(e={context:e,memoizedValue:t,next:null},null===Ml){if(null===Nl)throw Error(bt(308));Ml=e,Nl.dependencies={lanes:0,firstContext:e}}else Ml=Ml.next=e;return t}var $l=null;function Bl(e){null===$l?$l=[e]:$l.push(e)}function Wl(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Bl(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ul(e,r)}function Ul(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 Hl=!1;function Vl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gl(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 Kl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Bu)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ul(e,n)}return null===(o=r.interleaved)?(t.next=t,Bl(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ul(e,n)}function Xl(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nr(e,n)}}function Ql(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yl(e,t,n,r){var o=e.updateQueue;Hl=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==u&&(u=u.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=Qt({},d,p);break e;case 2:Hl=!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===u?(c=u=f,s=d):u=u.next=f,i|=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===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Xu|=i,e.lanes=i,e.memoizedState=d}}function Jl(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(bt(191,o));o.call(r)}}}var es=(new vt.Component).refs;function ts(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Qt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ns={isMounted:function(e){return!!(e=e._reactInternals)&&rr(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=hd(),o=md(e),a=Kl(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Zl(e,a,o))&&(gd(t,e,o,r),Xl(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=hd(),o=md(e),a=Kl(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Zl(e,a,o))&&(gd(t,e,o,r),Xl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=hd(),r=md(e),o=Kl(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Zl(e,o,r))&&(gd(t,e,r,n),Xl(t,e,r))}};function rs(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!Ea(n,r)||!Ea(o,a))}function os(e,t,n){var r=!1,o=Bi,a=t.contextType;return"object"==typeof a&&null!==a?a=Fl(a):(o=Gi(t)?Hi:Wi.current,a=(r=null!=(r=t.contextTypes))?Vi(e,o):Bi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ns,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function as(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&&ns.enqueueReplaceState(t,t.state,null)}function is(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=es,Vl(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Fl(a):(a=Gi(t)?Hi:Wi.current,o.context=Vi(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ts(e,t,a,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&&ns.enqueueReplaceState(o,o.state,null),Yl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ls(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(bt(309));var r=n.stateNode}if(!r)throw Error(bt(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===es&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(bt(284));if(!n._owner)throw Error(bt(290,e))}return e}function ss(e,t){throw e=Object.prototype.toString.call(t),Error(bt(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function cs(e){return(0,e._init)(e._payload)}function us(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=Gd(e,t)).index=0,e.sibling=null,e}function a(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 i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Qd(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var a=n.type;return a===qt?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===Vt&&cs(a)===t.type)?((r=o(t,n.props)).ref=ls(e,t,n),r.return=e,r):((r=Kd(n.type,n.key,n.props,null,e.mode,r)).ref=ls(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yd(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,r,a){return null===t||7!==t.tag?((t=Zd(n,e.mode,r,a)).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=Qd(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case zt:return(n=Kd(t.type,t.key,t.props,null,e.mode,n)).ref=ls(e,null,t),n.return=e,n;case At:return(t=Yd(t,e.mode,n)).return=e,t;case Vt:return d(e,(0,t._init)(t._payload),n)}if(gn(t)||Zt(t))return(t=Zd(t,e.mode,n,null)).return=e,t;ss(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 zt:return n.key===o?s(e,t,n,r):null;case At:return n.key===o?c(e,t,n,r):null;case Vt:return p(e,t,(o=n._init)(n._payload),r)}if(gn(n)||Zt(n))return null!==o?null:u(e,t,n,r,null);ss(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 zt:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case At:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Vt:return f(e,t,n,(0,r._init)(r._payload),o)}if(gn(r)||Zt(r))return u(t,e=e.get(n)||null,r,o,null);ss(t,r)}return null}function h(o,i,l,s){for(var c=null,u=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,h=g}if(m===l.length)return n(o,h),bl&&fl(o,m),c;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===u?c=h:u.sibling=h,u=h);return bl&&fl(o,m),c}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),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(o,e)})),bl&&fl(o,m),c}function m(o,i,l,s){var c=Zt(l);if("function"!=typeof c)throw Error(bt(150));if(null==(l=c.call(l)))throw Error(bt(151));for(var u=c=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=p(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===u?c=y:u.sibling=y,u=y,h=g}if(v.done)return n(o,h),bl&&fl(o,m),c;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return bl&&fl(o,m),c}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&h.forEach((function(e){return t(o,e)})),bl&&fl(o,m),c}return function e(r,a,l,s){if("object"==typeof l&&null!==l&&l.type===qt&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case zt:e:{for(var c=l.key,u=a;null!==u;){if(u.key===c){if((c=l.type)===qt){if(7===u.tag){n(r,u.sibling),(a=o(u,l.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Vt&&cs(c)===u.type){n(r,u.sibling),(a=o(u,l.props)).ref=ls(r,u,l),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}l.type===qt?((a=Zd(l.props.children,r.mode,s,l.key)).return=r,r=a):((s=Kd(l.type,l.key,l.props,null,r.mode,s)).ref=ls(r,a,l),s.return=r,r=s)}return i(r);case At:e:{for(u=l.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===l.containerInfo&&a.stateNode.implementation===l.implementation){n(r,a.sibling),(a=o(a,l.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Yd(l,r.mode,s)).return=r,r=a}return i(r);case Vt:return e(r,a,(u=l._init)(l._payload),s)}if(gn(l))return h(r,a,l,s);if(Zt(l))return m(r,a,l,s);ss(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,l)).return=r,r=a):(n(r,a),(a=Qd(l,r.mode,s)).return=r,r=a),i(r)):n(r,a)}}var ds=us(!0),ps=us(!1),fs={},hs=ji(fs),ms=ji(fs),gs=ji(fs);function vs(e){if(e===fs)throw Error(bt(174));return e}function ys(e,t){switch($i(gs,t),$i(ms,e),$i(hs,fs),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:En(null,"");break;default:t=En(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Fi(hs),$i(hs,t)}function bs(){Fi(hs),Fi(ms),Fi(gs)}function xs(e){vs(gs.current);var t=vs(hs.current),n=En(t,e.type);t!==n&&($i(ms,e),$i(hs,n))}function Ss(e){ms.current===e&&(Fi(hs),Fi(ms))}var ws=ji(0);function Es(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(0!=(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 Cs=[];function ks(){for(var e=0;e<Cs.length;e++)Cs[e]._workInProgressVersionPrimary=null;Cs.length=0}var Ls=Mt.ReactCurrentDispatcher,Rs=Mt.ReactCurrentBatchConfig,Os=0,Is=null,_s=null,Ts=null,Ps=!1,Ns=!1,Ms=0,zs=0;function As(){throw Error(bt(321))}function qs(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wa(e[n],t[n]))return!1;return!0}function Ds(e,t,n,r,o,a){if(Os=a,Is=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ls.current=null===e||null===e.memoizedState?Sc:wc,e=n(r,o),Ns){a=0;do{if(Ns=!1,Ms=0,25<=a)throw Error(bt(301));a+=1,Ts=_s=null,t.updateQueue=null,Ls.current=Ec,e=n(r,o)}while(Ns)}if(Ls.current=xc,t=null!==_s&&null!==_s.next,Os=0,Ts=_s=Is=null,Ps=!1,t)throw Error(bt(300));return e}function js(){var e=0!==Ms;return Ms=0,e}function Fs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ts?Is.memoizedState=Ts=e:Ts=Ts.next=e,Ts}function $s(){if(null===_s){var e=Is.alternate;e=null!==e?e.memoizedState:null}else e=_s.next;var t=null===Ts?Is.memoizedState:Ts.next;if(null!==t)Ts=t,_s=e;else{if(null===e)throw Error(bt(310));e={memoizedState:(_s=e).memoizedState,baseState:_s.baseState,baseQueue:_s.baseQueue,queue:_s.queue,next:null},null===Ts?Is.memoizedState=Ts=e:Ts=Ts.next=e}return Ts}function Bs(e,t){return"function"==typeof t?t(e):t}function Ws(e){var t=$s(),n=t.queue;if(null===n)throw Error(bt(311));n.lastRenderedReducer=e;var r=_s,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=i=null,s=null,c=a;do{var u=c.lane;if((Os&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(l=s=d,i=r):s=s.next=d,Is.lanes|=u,Xu|=u}c=c.next}while(null!==c&&c!==a);null===s?i=r:s.next=l,wa(r,t.memoizedState)||(Mc=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,Is.lanes|=a,Xu|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Us(e){var t=$s(),n=t.queue;if(null===n)throw Error(bt(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);wa(a,t.memoizedState)||(Mc=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Hs(){}function Vs(e,t){var n=Is,r=$s(),o=t(),a=!wa(r.memoizedState,o);if(a&&(r.memoizedState=o,Mc=!0),r=r.queue,oc(Zs.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==Ts&&1&Ts.memoizedState.tag){if(n.flags|=2048,Js(9,Ks.bind(null,n,r,o,t),void 0,null),null===Wu)throw Error(bt(349));0!=(30&Os)||Gs(n,t,o)}return o}function Gs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Is.updateQueue)?(t={lastEffect:null,stores:null},Is.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ks(e,t,n,r){t.value=n,t.getSnapshot=r,Xs(t)&&Qs(e)}function Zs(e,t,n){return n((function(){Xs(t)&&Qs(e)}))}function Xs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wa(e,n)}catch(e){return!0}}function Qs(e){var t=Ul(e,1);null!==t&&gd(t,e,1,-1)}function Ys(e){var t=Fs();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Bs,lastRenderedState:e},t.queue=e,e=e.dispatch=gc.bind(null,Is,e),[t.memoizedState,e]}function Js(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Is.updateQueue)?(t={lastEffect:null,stores:null},Is.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 ec(){return $s().memoizedState}function tc(e,t,n,r){var o=Fs();Is.flags|=e,o.memoizedState=Js(1|t,n,void 0,void 0===r?null:r)}function nc(e,t,n,r){var o=$s();r=void 0===r?null:r;var a=void 0;if(null!==_s){var i=_s.memoizedState;if(a=i.destroy,null!==r&&qs(r,i.deps))return void(o.memoizedState=Js(t,n,a,r))}Is.flags|=e,o.memoizedState=Js(1|t,n,a,r)}function rc(e,t){return tc(8390656,8,e,t)}function oc(e,t){return nc(2048,8,e,t)}function ac(e,t){return nc(4,2,e,t)}function ic(e,t){return nc(4,4,e,t)}function lc(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 sc(e,t,n){return n=null!=n?n.concat([e]):null,nc(4,4,lc.bind(null,t,e),n)}function cc(){}function uc(e,t){var n=$s();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function dc(e,t){var n=$s();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function pc(e,t,n){return 0==(21&Os)?(e.baseState&&(e.baseState=!1,Mc=!0),e.memoizedState=n):(wa(n,t)||(n=_r(),Is.lanes|=n,Xu|=n,e.baseState=!0),t)}function fc(e,t){var n=Mr;Mr=0!==n&&4>n?n:4,e(!0);var r=Rs.transition;Rs.transition={};try{e(!1),t()}finally{Mr=n,Rs.transition=r}}function hc(){return $s().memoizedState}function mc(e,t,n){var r=md(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vc(e))yc(t,n);else if(null!==(n=Wl(e,t,n,r))){gd(n,e,r,hd()),bc(n,t,r)}}function gc(e,t,n){var r=md(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vc(e))yc(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,wa(l,i)){var s=t.interleaved;return null===s?(o.next=o,Bl(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Wl(e,t,o,r))&&(gd(n,e,r,o=hd()),bc(n,t,r))}}function vc(e){var t=e.alternate;return e===Is||null!==t&&t===Is}function yc(e,t){Ns=Ps=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bc(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nr(e,n)}}var xc={readContext:Fl,useCallback:As,useContext:As,useEffect:As,useImperativeHandle:As,useInsertionEffect:As,useLayoutEffect:As,useMemo:As,useReducer:As,useRef:As,useState:As,useDebugValue:As,useDeferredValue:As,useTransition:As,useMutableSource:As,useSyncExternalStore:As,useId:As,unstable_isNewReconciler:!1},Sc={readContext:Fl,useCallback:function(e,t){return Fs().memoizedState=[e,void 0===t?null:t],e},useContext:Fl,useEffect:rc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,tc(4194308,4,lc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return tc(4194308,4,e,t)},useInsertionEffect:function(e,t){return tc(4,2,e,t)},useMemo:function(e,t){var n=Fs();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Fs();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=mc.bind(null,Is,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Fs().memoizedState=e},useState:Ys,useDebugValue:cc,useDeferredValue:function(e){return Fs().memoizedState=e},useTransition:function(){var e=Ys(!1),t=e[0];return e=fc.bind(null,e[1]),Fs().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Is,o=Fs();if(bl){if(void 0===n)throw Error(bt(407));n=n()}else{if(n=t(),null===Wu)throw Error(bt(349));0!=(30&Os)||Gs(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,rc(Zs.bind(null,r,a,e),[e]),r.flags|=2048,Js(9,Ks.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Fs(),t=Wu.identifierPrefix;if(bl){var n=pl;t=":"+t+"R"+(n=(dl&~(1<<32-Sr(dl)-1)).toString(32)+n),0<(n=Ms++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=zs++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},wc={readContext:Fl,useCallback:uc,useContext:Fl,useEffect:oc,useImperativeHandle:sc,useInsertionEffect:ac,useLayoutEffect:ic,useMemo:dc,useReducer:Ws,useRef:ec,useState:function(){return Ws(Bs)},useDebugValue:cc,useDeferredValue:function(e){return pc($s(),_s.memoizedState,e)},useTransition:function(){return[Ws(Bs)[0],$s().memoizedState]},useMutableSource:Hs,useSyncExternalStore:Vs,useId:hc,unstable_isNewReconciler:!1},Ec={readContext:Fl,useCallback:uc,useContext:Fl,useEffect:oc,useImperativeHandle:sc,useInsertionEffect:ac,useLayoutEffect:ic,useMemo:dc,useReducer:Us,useRef:ec,useState:function(){return Us(Bs)},useDebugValue:cc,useDeferredValue:function(e){var t=$s();return null===_s?t.memoizedState=e:pc(t,_s.memoizedState,e)},useTransition:function(){return[Us(Bs)[0],$s().memoizedState]},useMutableSource:Hs,useSyncExternalStore:Vs,useId:hc,unstable_isNewReconciler:!1};function Cc(e,t){try{var n="",r=t;do{n+=tn(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 kc(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Lc(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Rc="function"==typeof WeakMap?WeakMap:Map;function Oc(e,t,n){(n=Kl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){od||(od=!0,ad=r),Lc(0,t)},n}function Ic(e,t,n){(n=Kl(-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(){Lc(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){Lc(0,t),"function"!=typeof r&&(null===id?id=new Set([this]):id.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function _c(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Rc;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=jd.bind(null,e,t,n),t.then(e,e))}function Tc(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 Pc(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Kl(-1,1)).tag=2,Zl(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Nc=Mt.ReactCurrentOwner,Mc=!1;function zc(e,t,n,r){t.child=null===e?ps(t,null,n,r):ds(t,e.child,n,r)}function Ac(e,t,n,r,o){n=n.render;var a=t.ref;return jl(t,o),r=Ds(e,t,n,r,a,o),n=js(),null===e||Mc?(bl&&n&&ml(t),t.flags|=1,zc(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ou(e,t,o))}function qc(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Vd(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Kd(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Dc(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Ea)(i,r)&&e.ref===t.ref)return ou(e,t,o)}return t.flags|=1,(e=Gd(a,r)).ref=t.ref,e.return=t,t.child=e}function Dc(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Ea(a,r)&&e.ref===t.ref){if(Mc=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,ou(e,t,o);0!=(131072&e.flags)&&(Mc=!0)}}return $c(e,t,n,r,o)}function jc(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},$i(Gu,Vu),Vu|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,$i(Gu,Vu),Vu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,$i(Gu,Vu),Vu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,$i(Gu,Vu),Vu|=r;return zc(e,t,o,n),t.child}function Fc(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $c(e,t,n,r,o){var a=Gi(n)?Hi:Wi.current;return a=Vi(t,a),jl(t,o),n=Ds(e,t,n,r,a,o),r=js(),null===e||Mc?(bl&&r&&ml(t),t.flags|=1,zc(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ou(e,t,o))}function Bc(e,t,n,r,o){if(Gi(n)){var a=!0;Qi(t)}else a=!1;if(jl(t,o),null===t.stateNode)ru(e,t),os(t,n,r),is(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=Fl(c):c=Vi(t,c=Gi(n)?Hi:Wi.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&as(t,i,r,c),Hl=!1;var p=t.memoizedState;i.state=p,Yl(t,r,i,o),s=t.memoizedState,l!==r||p!==s||Ui.current||Hl?("function"==typeof u&&(ts(t,n,u,r),s=t.memoizedState),(l=Hl||rs(t,n,l,r,p,s,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Gl(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Tl(t.type,l),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Fl(s):s=Vi(t,s=Gi(n)?Hi:Wi.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&as(t,i,r,s),Hl=!1,p=t.memoizedState,i.state=p,Yl(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||Ui.current||Hl?("function"==typeof f&&(ts(t,n,f,r),h=t.memoizedState),(c=Hl||rs(t,n,c,r,p,h,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Wc(e,t,n,r,a,o)}function Wc(e,t,n,r,o,a){Fc(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Yi(t,n,!1),ou(e,t,a);r=t.stateNode,Nc.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ds(t,e.child,null,a),t.child=ds(t,null,l,a)):zc(e,t,l,a),t.memoizedState=r.state,o&&Yi(t,n,!0),t.child}function Uc(e){var t=e.stateNode;t.pendingContext?Zi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Zi(0,t.context,!1),ys(e,t.containerInfo)}function Hc(e,t,n,r,o){return Ol(),Il(o),t.flags|=256,zc(e,t,n,r),t.child}var Vc,Gc,Kc,Zc={dehydrated:null,treeContext:null,retryLane:0};function Xc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Qc(e,t,n){var r,o=t.pendingProps,a=ws.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),$i(ws,1&a),null===e)return Cl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,i?(o=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=Xd(l,o,0,null),e=Zd(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Xc(n),t.memoizedState=Zc,e):Yc(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,i){if(n)return 256&t.flags?(t.flags&=-257,Jc(e,t,i,r=kc(Error(bt(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Xd({mode:"visible",children:r.children},o,0,null),(a=Zd(a,o,i,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&ds(t,e.child,null,i),t.child.memoizedState=Xc(i),t.memoizedState=Zc,a);if(0==(1&t.mode))return Jc(e,t,i,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Jc(e,t,i,r=kc(a=Error(bt(419)),r,void 0))}if(l=0!=(i&e.childLanes),Mc||l){if(null!==(r=Wu)){switch(i&-i){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=0!=(o&(r.suspendedLanes|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ul(e,o),gd(r,e,o,-1))}return Id(),Jc(e,t,i,r=kc(Error(bt(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=$d.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,yl=Ci(o.nextSibling),vl=t,bl=!0,xl=null,null!==e&&(sl[cl++]=dl,sl[cl++]=pl,sl[cl++]=ul,dl=e.id,pl=e.overflow,ul=t),t=Yc(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(i){i=o.fallback,l=t.mode,r=(a=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Gd(a,s)).subtreeFlags=14680064&a.subtreeFlags,null!==r?i=Gd(r,i):(i=Zd(i,l,n,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,l=null===(l=e.child.memoizedState)?Xc(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=Zc,o}return e=(i=e.child).sibling,o=Gd(i,{mode:"visible",children:o.children}),0==(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 Yc(e,t){return(t=Xd({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Jc(e,t,n,r){return null!==r&&Il(r),ds(t,e.child,null,n),(e=Yc(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function eu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Dl(e.return,t,n)}function tu(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function nu(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(zc(e,t,r.children,n),0!=(2&(r=ws.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&eu(e,n,t);else if(19===e.tag)eu(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($i(ws,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Es(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),tu(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Es(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}tu(t,!0,n,null,a);break;case"together":tu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ru(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ou(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Xu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(bt(153));if(null!==t.child){for(n=Gd(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Gd(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function au(e,t){if(!bl)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 iu(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 lu(e,t,n){var r=t.pendingProps;switch(gl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iu(t),null;case 1:case 17:return Gi(t.type)&&Ki(),iu(t),null;case 3:return r=t.stateNode,bs(),Fi(Ui),Fi(Wi),ks(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ll(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==xl&&(xd(xl),xl=null))),iu(t),null;case 5:Ss(t);var o=vs(gs.current);if(n=t.type,null!==e&&null!=t.stateNode)Gc(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(bt(166));return iu(t),null}if(e=vs(hs.current),Ll(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Ri]=t,r[Oi]=a,e=0!=(1&t.mode),n){case"dialog":ei("cancel",r),ei("close",r);break;case"iframe":case"object":case"embed":ei("load",r);break;case"video":case"audio":for(o=0;o<Xa.length;o++)ei(Xa[o],r);break;case"source":ei("error",r);break;case"img":case"image":case"link":ei("error",r),ei("load",r);break;case"details":ei("toggle",r);break;case"input":dn(r,a),ei("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},ei("invalid",r);break;case"textarea":bn(r,a),ei("invalid",r)}for(var i in Nn(n,a),o=null,a)if(a.hasOwnProperty(i)){var l=a[i];"children"===i?"string"==typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&fi(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&fi(r.textContent,l,e),o=["children",""+l]):St.hasOwnProperty(i)&&null!=l&&"onScroll"===i&&ei("scroll",r)}switch(n){case"input":ln(r),hn(r,a,!0);break;case"textarea":ln(r),Sn(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=hi)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{i=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=wn(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ri]=t,e[Oi]=r,Vc(e,t),t.stateNode=e;e:{switch(i=Mn(n,r),n){case"dialog":ei("cancel",e),ei("close",e),o=r;break;case"iframe":case"object":case"embed":ei("load",e),o=r;break;case"video":case"audio":for(o=0;o<Xa.length;o++)ei(Xa[o],e);o=r;break;case"source":ei("error",e),o=r;break;case"img":case"image":case"link":ei("error",e),ei("load",e),o=r;break;case"details":ei("toggle",e),o=r;break;case"input":dn(e,r),o=un(e,r),ei("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Qt({},r,{value:void 0}),ei("invalid",e);break;case"textarea":bn(e,r),o=yn(e,r),ei("invalid",e)}for(a in Nn(n,o),l=o)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Tn(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&Ln(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&Rn(e,s):"number"==typeof s&&Rn(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(St.hasOwnProperty(a)?null!=s&&"onScroll"===a&&ei("scroll",e):null!=s&&Nt(e,a,s,i))}switch(n){case"input":ln(e),hn(e,r,!1);break;case"textarea":ln(e),Sn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+on(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?vn(e,!!r.multiple,a,!1):null!=r.defaultValue&&vn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=hi)}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 iu(t),null;case 6:if(e&&null!=t.stateNode)Kc(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(bt(166));if(n=vs(gs.current),vs(hs.current),Ll(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ri]=t,(a=r.nodeValue!==n)&&null!==(e=vl))switch(e.tag){case 3:fi(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&fi(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Ri]=t,t.stateNode=r}return iu(t),null;case 13:if(Fi(ws),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(bl&&null!==yl&&0!=(1&t.mode)&&0==(128&t.flags))Rl(),Ol(),t.flags|=98560,a=!1;else if(a=Ll(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(bt(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(bt(317));a[Ri]=t}else Ol(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iu(t),a=!1}else null!==xl&&(xd(xl),xl=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ws.current)?0===Ku&&(Ku=3):Id())),null!==t.updateQueue&&(t.flags|=4),iu(t),null);case 4:return bs(),null===e&&ri(t.stateNode.containerInfo),iu(t),null;case 10:return ql(t.type._context),iu(t),null;case 19:if(Fi(ws),null===(a=t.memoizedState))return iu(t),null;if(r=0!=(128&t.flags),null===(i=a.rendering))if(r)au(a,!1);else{if(0!==Ku||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=Es(e))){for(t.flags|=128,au(a,!1),null!==(r=i.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return $i(ws,1&ws.current|2),t.child}e=e.sibling}null!==a.tail&&pr()>nd&&(t.flags|=128,r=!0,au(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Es(i))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),au(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!bl)return iu(t),null}else 2*pr()-a.renderingStartTime>nd&&1073741824!==n&&(t.flags|=128,r=!0,au(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=a.last)?n.sibling=i:t.child=i,a.last=i)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=pr(),t.sibling=null,n=ws.current,$i(ws,r?1&n|2:1&n),t):(iu(t),null);case 22:case 23:return kd(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Vu)&&(iu(t),6&t.subtreeFlags&&(t.flags|=8192)):iu(t),null;case 24:case 25:return null}throw Error(bt(156,t.tag))}function su(e,t){switch(gl(t),t.tag){case 1:return Gi(t.type)&&Ki(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return bs(),Fi(Ui),Fi(Wi),ks(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ss(t),null;case 13:if(Fi(ws),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(bt(340));Ol()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Fi(ws),null;case 4:return bs(),null;case 10:return ql(t.type._context),null;case 22:case 23:return kd(),null;default:return null}}Vc=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}},Gc=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,vs(hs.current);var a,i=null;switch(n){case"input":o=un(e,o),r=un(e,r),i=[];break;case"select":o=Qt({},o,{value:void 0}),r=Qt({},r,{value:void 0}),i=[];break;case"textarea":o=yn(e,o),r=yn(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=hi)}for(c in Nn(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(St.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(St.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&ei("scroll",e),i||l===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Kc=function(e,t,n,r){n!==r&&(t.flags|=4)};var cu=!1,uu=!1,du="function"==typeof WeakSet?WeakSet:Set,pu=null;function fu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Dd(e,t,n)}else n.current=null}function hu(e,t,n){try{n()}catch(n){Dd(e,t,n)}}var mu=!1;function gu(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 a=o.destroy;o.destroy=void 0,void 0!==a&&hu(t,n,a)}o=o.next}while(o!==r)}}function vu(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 yu(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 bu(e){var t=e.alternate;null!==t&&(e.alternate=null,bu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Ri],delete t[Oi],delete t[_i],delete t[Ti],delete t[Pi])),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 xu(e){return 5===e.tag||3===e.tag||4===e.tag}function Su(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||xu(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 wu(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=hi));else if(4!==r&&null!==(e=e.child))for(wu(e,t,n),e=e.sibling;null!==e;)wu(e,t,n),e=e.sibling}function Eu(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(Eu(e,t,n),e=e.sibling;null!==e;)Eu(e,t,n),e=e.sibling}var Cu=null,ku=!1;function Lu(e,t,n){for(n=n.child;null!==n;)Ru(e,t,n),n=n.sibling}function Ru(e,t,n){if(xr&&"function"==typeof xr.onCommitFiberUnmount)try{xr.onCommitFiberUnmount(br,n)}catch(e){}switch(n.tag){case 5:uu||fu(n,t);case 6:var r=Cu,o=ku;Cu=null,Lu(e,t,n),ku=o,null!==(Cu=r)&&(ku?(e=Cu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):Cu.removeChild(n.stateNode));break;case 18:null!==Cu&&(ku?(e=Cu,n=n.stateNode,8===e.nodeType?Ei(e.parentNode,n):1===e.nodeType&&Ei(e,n),ro(e)):Ei(Cu,n.stateNode));break;case 4:r=Cu,o=ku,Cu=n.stateNode.containerInfo,ku=!0,Lu(e,t,n),Cu=r,ku=o;break;case 0:case 11:case 14:case 15:if(!uu&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&hu(n,t,i),o=o.next}while(o!==r)}Lu(e,t,n);break;case 1:if(!uu&&(fu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Dd(n,t,e)}Lu(e,t,n);break;case 21:Lu(e,t,n);break;case 22:1&n.mode?(uu=(r=uu)||null!==n.memoizedState,Lu(e,t,n),uu=r):Lu(e,t,n);break;default:Lu(e,t,n)}}function Ou(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new du),t.forEach((function(t){var r=Bd.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Iu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,i=t,l=i;e:for(;null!==l;){switch(l.tag){case 5:Cu=l.stateNode,ku=!1;break e;case 3:case 4:Cu=l.stateNode.containerInfo,ku=!0;break e}l=l.return}if(null===Cu)throw Error(bt(160));Ru(a,i,o),Cu=null,ku=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){Dd(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)_u(t,e),t=t.sibling}function _u(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Iu(t,e),Tu(e),4&r){try{gu(3,e,e.return),vu(3,e)}catch(t){Dd(e,e.return,t)}try{gu(5,e,e.return)}catch(t){Dd(e,e.return,t)}}break;case 1:Iu(t,e),Tu(e),512&r&&null!==n&&fu(n,n.return);break;case 5:if(Iu(t,e),Tu(e),512&r&&null!==n&&fu(n,n.return),32&e.flags){var o=e.stateNode;try{Rn(o,"")}catch(t){Dd(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,i=null!==n?n.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===a.type&&null!=a.name&&pn(o,a),Mn(l,i);var c=Mn(l,a);for(i=0;i<s.length;i+=2){var u=s[i],d=s[i+1];"style"===u?Tn(o,d):"dangerouslySetInnerHTML"===u?Ln(o,d):"children"===u?Rn(o,d):Nt(o,u,d,c)}switch(l){case"input":fn(o,a);break;case"textarea":xn(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?vn(o,!!a.multiple,f,!1):p!==!!a.multiple&&(null!=a.defaultValue?vn(o,!!a.multiple,a.defaultValue,!0):vn(o,!!a.multiple,a.multiple?[]:"",!1))}o[Oi]=a}catch(t){Dd(e,e.return,t)}}break;case 6:if(Iu(t,e),Tu(e),4&r){if(null===e.stateNode)throw Error(bt(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Dd(e,e.return,t)}}break;case 3:if(Iu(t,e),Tu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{ro(t.containerInfo)}catch(t){Dd(e,e.return,t)}break;case 4:default:Iu(t,e),Tu(e);break;case 13:Iu(t,e),Tu(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(td=pr())),4&r&&Ou(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(uu=(c=uu)||u,Iu(t,e),uu=c):Iu(t,e),Tu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&0!=(1&e.mode))for(pu=e,u=e.child;null!==u;){for(d=pu=u;null!==pu;){switch(f=(p=pu).child,p.tag){case 0:case 11:case 14:case 15:gu(4,p,p.return);break;case 1:fu(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){Dd(r,n,e)}}break;case 5:fu(p,p.return);break;case 22:if(null!==p.memoizedState){zu(d);continue}}null!==f?(f.return=p,pu=f):zu(d)}u=u.sibling}e:for(u=null,d=e;;){if(5===d.tag){if(null===u){u=d;try{o=d.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,i=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=_n("display",i))}catch(t){Dd(e,e.return,t)}}}else if(6===d.tag){if(null===u)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){Dd(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;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Iu(t,e),Tu(e),4&r&&Ou(e);case 21:}}function Tu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(xu(n)){var r=n;break e}n=n.return}throw Error(bt(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(Rn(o,""),r.flags&=-33),Eu(e,Su(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;wu(e,Su(e),a);break;default:throw Error(bt(161))}}catch(t){Dd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Pu(e,t,n){pu=e,Nu(e)}function Nu(e,t,n){for(var r=0!=(1&e.mode);null!==pu;){var o=pu,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||cu;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||uu;l=cu;var c=uu;if(cu=i,(uu=s)&&!c)for(pu=o;null!==pu;)s=(i=pu).child,22===i.tag&&null!==i.memoizedState?Au(o):null!==s?(s.return=i,pu=s):Au(o);for(;null!==a;)pu=a,Nu(a),a=a.sibling;pu=o,cu=l,uu=c}Mu(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,pu=a):Mu(e)}}function Mu(e){for(;null!==pu;){var t=pu;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:uu||vu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!uu)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Tl(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Jl(t,a,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Jl(t,i,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 c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var d=u.dehydrated;null!==d&&ro(d)}}}break;default:throw Error(bt(163))}uu||512&t.flags&&yu(t)}catch(e){Dd(t,t.return,e)}}if(t===e){pu=null;break}if(null!==(n=t.sibling)){n.return=t.return,pu=n;break}pu=t.return}}function zu(e){for(;null!==pu;){var t=pu;if(t===e){pu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,pu=n;break}pu=t.return}}function Au(e){for(;null!==pu;){var t=pu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{vu(4,t)}catch(e){Dd(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Dd(t,o,e)}}var a=t.return;try{yu(t)}catch(e){Dd(t,a,e)}break;case 5:var i=t.return;try{yu(t)}catch(e){Dd(t,i,e)}}}catch(e){Dd(t,t.return,e)}if(t===e){pu=null;break}var l=t.sibling;if(null!==l){l.return=t.return,pu=l;break}pu=t.return}}var qu,Du=Math.ceil,ju=Mt.ReactCurrentDispatcher,Fu=Mt.ReactCurrentOwner,$u=Mt.ReactCurrentBatchConfig,Bu=0,Wu=null,Uu=null,Hu=0,Vu=0,Gu=ji(0),Ku=0,Zu=null,Xu=0,Qu=0,Yu=0,Ju=null,ed=null,td=0,nd=1/0,rd=null,od=!1,ad=null,id=null,ld=!1,sd=null,cd=0,ud=0,dd=null,pd=-1,fd=0;function hd(){return 0!=(6&Bu)?pr():-1!==pd?pd:pd=pr()}function md(e){return 0==(1&e.mode)?1:0!=(2&Bu)&&0!==Hu?Hu&-Hu:null!==_l.transition?(0===fd&&(fd=_r()),fd):0!==(e=Mr)?e:e=void 0===(e=window.event)?16:po(e.type)}function gd(e,t,n,r){if(50<ud)throw ud=0,dd=null,Error(bt(185));Pr(e,n,r),0!=(2&Bu)&&e===Wu||(e===Wu&&(0==(2&Bu)&&(Qu|=n),4===Ku&&Sd(e,Hu)),vd(e,r),1===n&&0===Bu&&0==(1&t.mode)&&(nd=pr()+500,el&&rl()))}function vd(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Sr(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=Or(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=Rr(e,e===Wu?Hu:0);if(0===r)null!==n&&cr(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&cr(n),1===t)0===e.tag?function(e){el=!0,nl(e)}(wd.bind(null,e)):nl(wd.bind(null,e)),Si((function(){0==(6&Bu)&&rl()})),n=null;else{switch(zr(r)){case 1:n=hr;break;case 4:n=mr;break;case 16:default:n=gr;break;case 536870912:n=yr}n=Wd(n,yd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function yd(e,t){if(pd=-1,fd=0,0!=(6&Bu))throw Error(bt(327));var n=e.callbackNode;if(Ad()&&e.callbackNode!==n)return null;var r=Rr(e,e===Wu?Hu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=_d(e,r);else{t=r;var o=Bu;Bu|=2;var a=Od();for(Wu===e&&Hu===t||(rd=null,nd=pr()+500,Ld(e,t));;)try{Pd();break}catch(t){Rd(e,t)}Al(),ju.current=a,Bu=o,null!==Uu?t=0:(Wu=null,Hu=0,t=Ku)}if(0!==t){if(2===t&&(0!==(o=Ir(e))&&(r=o,t=bd(e,o))),1===t)throw n=Zu,Ld(e,0),Sd(e,r),vd(e,pr()),n;if(6===t)Sd(e,r);else{if(o=e.current.alternate,0==(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],a=o.getSnapshot;o=o.value;try{if(!wa(a(),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)&&(2===(t=_d(e,r))&&(0!==(a=Ir(e))&&(r=a,t=bd(e,a))),1===t))throw n=Zu,Ld(e,0),Sd(e,r),vd(e,pr()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(bt(345));case 2:case 5:zd(e,ed,rd);break;case 3:if(Sd(e,r),(130023424&r)===r&&10<(t=td+500-pr())){if(0!==Rr(e,0))break;if(((o=e.suspendedLanes)&r)!==r){hd(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=yi(zd.bind(null,e,ed,rd),t);break}zd(e,ed,rd);break;case 4:if(Sd(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Sr(r);a=1<<i,(i=t[i])>o&&(o=i),r&=~a}if(r=o,10<(r=(120>(r=pr()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Du(r/1960))-r)){e.timeoutHandle=yi(zd.bind(null,e,ed,rd),r);break}zd(e,ed,rd);break;default:throw Error(bt(329))}}}return vd(e,pr()),e.callbackNode===n?yd.bind(null,e):null}function bd(e,t){var n=Ju;return e.current.memoizedState.isDehydrated&&(Ld(e,t).flags|=256),2!==(e=_d(e,t))&&(t=ed,ed=n,null!==t&&xd(t)),e}function xd(e){null===ed?ed=e:ed.push.apply(ed,e)}function Sd(e,t){for(t&=~Yu,t&=~Qu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Sr(t),r=1<<n;e[n]=-1,t&=~r}}function wd(e){if(0!=(6&Bu))throw Error(bt(327));Ad();var t=Rr(e,0);if(0==(1&t))return vd(e,pr()),null;var n=_d(e,t);if(0!==e.tag&&2===n){var r=Ir(e);0!==r&&(t=r,n=bd(e,r))}if(1===n)throw n=Zu,Ld(e,0),Sd(e,t),vd(e,pr()),n;if(6===n)throw Error(bt(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,zd(e,ed,rd),vd(e,pr()),null}function Ed(e,t){var n=Bu;Bu|=1;try{return e(t)}finally{0===(Bu=n)&&(nd=pr()+500,el&&rl())}}function Cd(e){null!==sd&&0===sd.tag&&0==(6&Bu)&&Ad();var t=Bu;Bu|=1;var n=$u.transition,r=Mr;try{if($u.transition=null,Mr=1,e)return e()}finally{Mr=r,$u.transition=n,0==(6&(Bu=t))&&rl()}}function kd(){Vu=Gu.current,Fi(Gu)}function Ld(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,bi(n)),null!==Uu)for(n=Uu.return;null!==n;){var r=n;switch(gl(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ki();break;case 3:bs(),Fi(Ui),Fi(Wi),ks();break;case 5:Ss(r);break;case 4:bs();break;case 13:case 19:Fi(ws);break;case 10:ql(r.type._context);break;case 22:case 23:kd()}n=n.return}if(Wu=e,Uu=e=Gd(e.current,null),Hu=Vu=t,Ku=0,Zu=null,Yu=Qu=Xu=0,ed=Ju=null,null!==$l){for(t=0;t<$l.length;t++)if(null!==(r=(n=$l[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}$l=null}return e}function Rd(e,t){for(;;){var n=Uu;try{if(Al(),Ls.current=xc,Ps){for(var r=Is.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Ps=!1}if(Os=0,Ts=_s=Is=null,Ns=!1,Ms=0,Fu.current=null,null===n||null===n.return){Ku=1,Zu=t,Uu=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=Hu,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,u=l,d=u.tag;if(0==(1&u.mode)&&(0===d||11===d||15===d)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=Tc(i);if(null!==f){f.flags&=-257,Pc(f,i,l,0,t),1&f.mode&&_c(a,c,t),s=c;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(0==(1&t)){_c(a,c,t),Id();break e}s=Error(bt(426))}else if(bl&&1&l.mode){var g=Tc(i);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),Pc(g,i,l,0,t),Il(Cc(s,l));break e}}a=s=Cc(s,l),4!==Ku&&(Ku=2),null===Ju?Ju=[a]:Ju.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ql(a,Oc(0,s,t));break e;case 1:l=s;var v=a.type,y=a.stateNode;if(0==(128&a.flags)&&("function"==typeof v.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===id||!id.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Ql(a,Ic(a,l,t));break e}}a=a.return}while(null!==a)}Md(n)}catch(e){t=e,Uu===n&&null!==n&&(Uu=n=n.return);continue}break}}function Od(){var e=ju.current;return ju.current=xc,null===e?xc:e}function Id(){0!==Ku&&3!==Ku&&2!==Ku||(Ku=4),null===Wu||0==(268435455&Xu)&&0==(268435455&Qu)||Sd(Wu,Hu)}function _d(e,t){var n=Bu;Bu|=2;var r=Od();for(Wu===e&&Hu===t||(rd=null,Ld(e,t));;)try{Td();break}catch(t){Rd(e,t)}if(Al(),Bu=n,ju.current=r,null!==Uu)throw Error(bt(261));return Wu=null,Hu=0,Ku}function Td(){for(;null!==Uu;)Nd(Uu)}function Pd(){for(;null!==Uu&&!ur();)Nd(Uu)}function Nd(e){var t=qu(e.alternate,e,Vu);e.memoizedProps=e.pendingProps,null===t?Md(e):Uu=t,Fu.current=null}function Md(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=lu(n,t,Vu)))return void(Uu=n)}else{if(null!==(n=su(n,t)))return n.flags&=32767,void(Uu=n);if(null===e)return Ku=6,void(Uu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Uu=t);Uu=t=e}while(null!==t);0===Ku&&(Ku=5)}function zd(e,t,n){var r=Mr,o=$u.transition;try{$u.transition=null,Mr=1,function(e,t,n,r){do{Ad()}while(null!==sd);if(0!=(6&Bu))throw Error(bt(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(bt(177));e.callbackNode=null,e.callbackPriority=0;var a=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-Sr(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,a),e===Wu&&(Uu=Wu=null,Hu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||ld||(ld=!0,Wd(gr,(function(){return Ad(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=$u.transition,$u.transition=null;var i=Mr;Mr=1;var l=Bu;Bu|=4,Fu.current=null,function(e,t){if(mi=ao,Oa(e=Ra())){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,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var i=0,l=-1,s=-1,c=0,u=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==o&&3!==d.nodeType||(l=i+o),d!==a||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++c===o&&(l=i),p===a&&++u===r&&(s=i),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(gi={focusedElem:e,selectionRange:n},ao=!1,pu=t;null!==pu;)if(e=(t=pu).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,pu=e;else for(;null!==pu;){t=pu;try{var h=t.alternate;if(0!=(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,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Tl(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(bt(163))}}catch(e){Dd(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,pu=e;break}pu=t.return}h=mu,mu=!1}(e,n),_u(n,e),Ia(gi),ao=!!mi,gi=mi=null,e.current=n,Pu(n),dr(),Bu=l,Mr=i,$u.transition=a}else e.current=n;if(ld&&(ld=!1,sd=e,cd=o),a=e.pendingLanes,0===a&&(id=null),function(e){if(xr&&"function"==typeof xr.onCommitFiberRoot)try{xr.onCommitFiberRoot(br,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),vd(e,pr()),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(od)throw od=!1,e=ad,ad=null,e;0!=(1&cd)&&0!==e.tag&&Ad(),a=e.pendingLanes,0!=(1&a)?e===dd?ud++:(ud=0,dd=e):ud=0,rl()}(e,t,n,r)}finally{$u.transition=o,Mr=r}return null}function Ad(){if(null!==sd){var e=zr(cd),t=$u.transition,n=Mr;try{if($u.transition=null,Mr=16>e?16:e,null===sd)var r=!1;else{if(e=sd,sd=null,cd=0,0!=(6&Bu))throw Error(bt(331));var o=Bu;for(Bu|=4,pu=e.current;null!==pu;){var a=pu,i=a.child;if(0!=(16&pu.flags)){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(pu=c;null!==pu;){var u=pu;switch(u.tag){case 0:case 11:case 15:gu(8,u,a)}var d=u.child;if(null!==d)d.return=u,pu=d;else for(;null!==pu;){var p=(u=pu).sibling,f=u.return;if(bu(u),u===c){pu=null;break}if(null!==p){p.return=f,pu=p;break}pu=f}}}var h=a.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)}}pu=a}}if(0!=(2064&a.subtreeFlags)&&null!==i)i.return=a,pu=i;else e:for(;null!==pu;){if(0!=(2048&(a=pu).flags))switch(a.tag){case 0:case 11:case 15:gu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,pu=v;break e}pu=a.return}}var y=e.current;for(pu=y;null!==pu;){var b=(i=pu).child;if(0!=(2064&i.subtreeFlags)&&null!==b)b.return=i,pu=b;else e:for(i=y;null!==pu;){if(0!=(2048&(l=pu).flags))try{switch(l.tag){case 0:case 11:case 15:vu(9,l)}}catch(e){Dd(l,l.return,e)}if(l===i){pu=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,pu=x;break e}pu=l.return}}if(Bu=o,rl(),xr&&"function"==typeof xr.onPostCommitFiberRoot)try{xr.onPostCommitFiberRoot(br,e)}catch(e){}r=!0}return r}finally{Mr=n,$u.transition=t}}return!1}function qd(e,t,n){e=Zl(e,t=Oc(0,t=Cc(n,t),1),1),t=hd(),null!==e&&(Pr(e,1,t),vd(e,t))}function Dd(e,t,n){if(3===e.tag)qd(e,e,n);else for(;null!==t;){if(3===t.tag){qd(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===id||!id.has(r))){t=Zl(t,e=Ic(t,e=Cc(n,e),1),1),e=hd(),null!==t&&(Pr(t,1,e),vd(t,e));break}}t=t.return}}function jd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=hd(),e.pingedLanes|=e.suspendedLanes&n,Wu===e&&(Hu&n)===n&&(4===Ku||3===Ku&&(130023424&Hu)===Hu&&500>pr()-td?Ld(e,0):Yu|=n),vd(e,t)}function Fd(e,t){0===t&&(0==(1&e.mode)?t=1:(t=kr,0==(130023424&(kr<<=1))&&(kr=4194304)));var n=hd();null!==(e=Ul(e,t))&&(Pr(e,t,n),vd(e,n))}function $d(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Fd(e,n)}function Bd(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(bt(314))}null!==r&&r.delete(t),Fd(e,n)}function Wd(e,t){return sr(e,t)}function Ud(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 Hd(e,t,n,r){return new Ud(e,t,n,r)}function Vd(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Gd(e,t){var n=e.alternate;return null===n?((n=Hd(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 Kd(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Vd(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case qt:return Zd(n.children,o,a,t);case Dt:i=8,o|=8;break;case jt:return(e=Hd(12,n,t,2|o)).elementType=jt,e.lanes=a,e;case Wt:return(e=Hd(13,n,t,o)).elementType=Wt,e.lanes=a,e;case Ut:return(e=Hd(19,n,t,o)).elementType=Ut,e.lanes=a,e;case Gt:return Xd(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ft:i=10;break e;case $t:i=9;break e;case Bt:i=11;break e;case Ht:i=14;break e;case Vt:i=16,r=null;break e}throw Error(bt(130,null==e?e:typeof e,""))}return(t=Hd(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Zd(e,t,n,r){return(e=Hd(7,e,r,t)).lanes=n,e}function Xd(e,t,n,r){return(e=Hd(22,e,r,t)).elementType=Gt,e.lanes=n,e.stateNode={isHidden:!1},e}function Qd(e,t,n){return(e=Hd(6,e,null,t)).lanes=n,e}function Yd(e,t,n){return(t=Hd(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jd(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=Tr(0),this.expirationTimes=Tr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tr(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ep(e,t,n,r,o,a,i,l,s){return e=new Jd(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Hd(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vl(a),e}function tp(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:At,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function np(e){if(!e)return Bi;e:{if(rr(e=e._reactInternals)!==e||1!==e.tag)throw Error(bt(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Gi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(bt(171))}if(1===e.tag){var n=e.type;if(Gi(n))return Xi(e,n,t)}return t}function rp(e,t,n,r,o,a,i,l,s){return(e=ep(n,r,!0,e,0,a,0,l,s)).context=np(null),n=e.current,(a=Kl(r=hd(),o=md(n))).callback=null!=t?t:null,Zl(n,a,o),e.current.lanes=o,Pr(e,o,r),vd(e,r),e}function op(e,t,n,r){var o=t.current,a=hd(),i=md(o);return n=np(n),null===t.context?t.context=n:t.pendingContext=n,(t=Kl(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Zl(o,t,i))&&(gd(e,o,i,a),Xl(e,o,i)),i}function ap(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ip(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function lp(e,t){ip(e,t),(e=e.alternate)&&ip(e,t)}qu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ui.current)Mc=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return Mc=!1,function(e,t,n){switch(t.tag){case 3:Uc(t),Ol();break;case 5:xs(t);break;case 1:Gi(t.type)&&Qi(t);break;case 4:ys(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;$i(Pl,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?($i(ws,1&ws.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Qc(e,t,n):($i(ws,1&ws.current),null!==(e=ou(e,t,n))?e.sibling:null);$i(ws,1&ws.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return nu(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),$i(ws,ws.current),r)break;return null;case 22:case 23:return t.lanes=0,jc(e,t,n)}return ou(e,t,n)}(e,t,n);Mc=0!=(131072&e.flags)}else Mc=!1,bl&&0!=(1048576&t.flags)&&hl(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ru(e,t),e=t.pendingProps;var o=Vi(t,Wi.current);jl(t,n),o=Ds(null,t,r,e,o,n);var a=js();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,Gi(r)?(a=!0,Qi(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Vl(t),o.updater=ns,t.stateNode=o,o._reactInternals=t,is(t,r,e,n),t=Wc(null,t,r,!0,a,n)):(t.tag=0,bl&&a&&ml(t),zc(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ru(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Vd(e)?1:0;if(null!=e){if((e=e.$$typeof)===Bt)return 11;if(e===Ht)return 14}return 2}(r),e=Tl(r,e),o){case 0:t=$c(null,t,r,e,n);break e;case 1:t=Bc(null,t,r,e,n);break e;case 11:t=Ac(null,t,r,e,n);break e;case 14:t=qc(null,t,r,Tl(r.type,e),n);break e}throw Error(bt(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,$c(e,t,r,o=t.elementType===r?o:Tl(r,o),n);case 1:return r=t.type,o=t.pendingProps,Bc(e,t,r,o=t.elementType===r?o:Tl(r,o),n);case 3:e:{if(Uc(t),null===e)throw Error(bt(387));r=t.pendingProps,o=(a=t.memoizedState).element,Gl(e,t),Yl(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Hc(e,t,r,n,o=Cc(Error(bt(423)),t));break e}if(r!==o){t=Hc(e,t,r,n,o=Cc(Error(bt(424)),t));break e}for(yl=Ci(t.stateNode.containerInfo.firstChild),vl=t,bl=!0,xl=null,n=ps(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Ol(),r===o){t=ou(e,t,n);break e}zc(e,t,r,n)}t=t.child}return t;case 5:return xs(t),null===e&&Cl(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,vi(r,o)?i=null:null!==a&&vi(r,a)&&(t.flags|=32),Fc(e,t),zc(e,t,i,n),t.child;case 6:return null===e&&Cl(t),null;case 13:return Qc(e,t,n);case 4:return ys(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ds(t,null,r,n):zc(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ac(e,t,r,o=t.elementType===r?o:Tl(r,o),n);case 7:return zc(e,t,t.pendingProps,n),t.child;case 8:case 12:return zc(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,$i(Pl,r._currentValue),r._currentValue=i,null!==a)if(wa(a.value,i)){if(a.children===o.children&&!Ui.current){t=ou(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){i=a.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=Kl(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var u=(c=c.shared).pending;null===u?s.next=s:(s.next=u.next,u.next=s),c.pending=s}}a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),Dl(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===a.tag)i=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(bt(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),Dl(i,n,t),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===t){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}zc(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,jl(t,n),r=r(o=Fl(o)),t.flags|=1,zc(e,t,r,n),t.child;case 14:return o=Tl(r=t.type,t.pendingProps),qc(e,t,r,o=Tl(r.type,o),n);case 15:return Dc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tl(r,o),ru(e,t),t.tag=1,Gi(r)?(e=!0,Qi(t)):e=!1,jl(t,n),os(t,r,o),is(t,r,o,n),Wc(null,t,r,!0,e,n);case 19:return nu(e,t,n);case 22:return jc(e,t,n)}throw Error(bt(156,t.tag))};var sp="function"==typeof reportError?reportError:function(e){console.error(e)};function cp(e){this._internalRoot=e}function up(e){this._internalRoot=e}function dp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function pp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function fp(){}function hp(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=ap(i);l.call(e)}}op(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=ap(i);a.call(e)}}var i=rp(t,r,e,0,null,!1,0,"",fp);return e._reactRootContainer=i,e[Ii]=i.current,ri(8===e.nodeType?e.parentNode:e),Cd(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=ap(s);l.call(e)}}var s=ep(e,0,!1,null,0,!1,0,"",fp);return e._reactRootContainer=s,e[Ii]=s.current,ri(8===e.nodeType?e.parentNode:e),Cd((function(){op(t,s,n,r)})),s}(n,t,e,o,r);return ap(i)}up.prototype.render=cp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(bt(409));op(e,t,null,null)},up.prototype.unmount=cp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Cd((function(){op(null,e,null,null)})),t[Ii]=null}},up.prototype.unstable_scheduleHydration=function(e){if(e){var t=jr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kr.length&&0!==t&&t<Kr[n].priority;n++);Kr.splice(n,0,e),0===n&&Yr(e)}},Ar=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Lr(t.pendingLanes);0!==n&&(Nr(t,1|n),vd(t,pr()),0==(6&Bu)&&(nd=pr()+500,rl()))}break;case 13:Cd((function(){var t=Ul(e,1);if(null!==t){var n=hd();gd(t,e,1,n)}})),lp(e,1)}},qr=function(e){if(13===e.tag){var t=Ul(e,134217728);if(null!==t)gd(t,e,134217728,hd());lp(e,134217728)}},Dr=function(e){if(13===e.tag){var t=md(e),n=Ul(e,t);if(null!==n)gd(n,e,t,hd());lp(e,t)}},jr=function(){return Mr},Fr=function(e,t){var n=Mr;try{return Mr=e,t()}finally{Mr=n}},qn=function(e,t,n){switch(t){case"input":if(fn(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=Ai(r);if(!o)throw Error(bt(90));sn(r),fn(r,o)}}}break;case"textarea":xn(e,n);break;case"select":null!=(t=n.value)&&vn(e,!!n.multiple,t,!1)}},Wn=Ed,Un=Cd;var mp={usingClientEntryPoint:!1,Events:[Mi,zi,Ai,$n,Bn,Ed]},gp={findFiberByHostInstance:Ni,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},vp={bundleType:gp.bundleType,version:gp.version,rendererPackageName:gp.rendererPackageName,rendererConfig:gp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Mt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ir(e))?null:e.stateNode},findFiberByHostInstance:gp.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var yp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yp.isDisabled&&yp.supportsFiber)try{br=yp.inject(vp),xr=yp}catch(kn){}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mp,ft.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!dp(t))throw Error(bt(200));return tp(e,t,null,n)},ft.createRoot=function(e,t){if(!dp(e))throw Error(bt(299));var n=!1,r="",o=sp;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=ep(e,1,!1,null,0,n,0,r,o),e[Ii]=t.current,ri(8===e.nodeType?e.parentNode:e),new cp(t)},ft.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(bt(188));throw e=Object.keys(e).join(","),Error(bt(268,e))}return e=null===(e=ir(t))?null:e.stateNode},ft.flushSync=function(e){return Cd(e)},ft.hydrate=function(e,t,n){if(!pp(t))throw Error(bt(200));return hp(null,e,t,!0,n)},ft.hydrateRoot=function(e,t,n){if(!dp(e))throw Error(bt(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",i=sp;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=rp(t,null,e,1,null!=n?n:null,o,0,a,i),e[Ii]=t.current,ri(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 up(t)},ft.render=function(e,t,n){if(!pp(t))throw Error(bt(200));return hp(null,e,t,!1,n)},ft.unmountComponentAtNode=function(e){if(!pp(e))throw Error(bt(40));return!!e._reactRootContainer&&(Cd((function(){hp(null,null,e,!1,(function(){e._reactRootContainer=null,e[Ii]=null}))})),!0)},ft.unstable_batchedUpdates=Ed,ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!pp(n))throw Error(bt(200));if(null==e||void 0===e._reactInternals)throw Error(bt(38));return hp(e,t,n,!1,r)},ft.version="18.2.0-next-9e3b772b8-20220608",function(e){!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)}}(),e.exports=ft}(pt);var bp=n(dt);function xp(){return xp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xp.apply(this,arguments)}function Sp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function wp(e){if(!Sp(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=wp(e[n])})),t}function Ep(e,t,n={clone:!0}){const r=n.clone?xp({},e):e;return Sp(e)&&Sp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Sp(t[o])&&o in e&&Sp(e[o])?r[o]=Ep(e[o],t[o],n):n.clone?r[o]=Sp(t[o])?wp(t[o]):t[o]:r[o]=t[o])})),r}function Cp(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 kp,Lp={},Rp={get exports(){return Lp},set exports(e){Lp=e}},Op={},Ip=Symbol.for("react.element"),_p=Symbol.for("react.portal"),Tp=Symbol.for("react.fragment"),Pp=Symbol.for("react.strict_mode"),Np=Symbol.for("react.profiler"),Mp=Symbol.for("react.provider"),zp=Symbol.for("react.context"),Ap=Symbol.for("react.server_context"),qp=Symbol.for("react.forward_ref"),Dp=Symbol.for("react.suspense"),jp=Symbol.for("react.suspense_list"),Fp=Symbol.for("react.memo"),$p=Symbol.for("react.lazy"),Bp=Symbol.for("react.offscreen");function Wp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ip:switch(e=e.type){case Tp:case Np:case Pp:case Dp:case jp:return e;default:switch(e=e&&e.$$typeof){case Ap:case zp:case qp:case $p:case Fp:case Mp:return e;default:return t}}case _p:return t}}}function Up(e){if("string"!=typeof e)throw new Error(Cp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Hp(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Vp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Gp(e){return e&&e.ownerDocument||document}function Kp(e){return Gp(e).defaultView||window}function Zp(e,t){"function"==typeof e?e(t):e&&(e.current=t)}kp=Symbol.for("react.module.reference"),Op.ContextConsumer=zp,Op.ContextProvider=Mp,Op.Element=Ip,Op.ForwardRef=qp,Op.Fragment=Tp,Op.Lazy=$p,Op.Memo=Fp,Op.Portal=_p,Op.Profiler=Np,Op.StrictMode=Pp,Op.Suspense=Dp,Op.SuspenseList=jp,Op.isAsyncMode=function(){return!1},Op.isConcurrentMode=function(){return!1},Op.isContextConsumer=function(e){return Wp(e)===zp},Op.isContextProvider=function(e){return Wp(e)===Mp},Op.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ip},Op.isForwardRef=function(e){return Wp(e)===qp},Op.isFragment=function(e){return Wp(e)===Tp},Op.isLazy=function(e){return Wp(e)===$p},Op.isMemo=function(e){return Wp(e)===Fp},Op.isPortal=function(e){return Wp(e)===_p},Op.isProfiler=function(e){return Wp(e)===Np},Op.isStrictMode=function(e){return Wp(e)===Pp},Op.isSuspense=function(e){return Wp(e)===Dp},Op.isSuspenseList=function(e){return Wp(e)===jp},Op.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Tp||e===Np||e===Pp||e===Dp||e===jp||e===Bp||"object"==typeof e&&null!==e&&(e.$$typeof===$p||e.$$typeof===Fp||e.$$typeof===Mp||e.$$typeof===zp||e.$$typeof===qp||e.$$typeof===kp||void 0!==e.getModuleId)},Op.typeOf=Wp,function(e){e.exports=Op}(Rp);var Xp="undefined"!=typeof window?Re.useLayoutEffect:Re.useEffect;function Qp(e){const t=Re.useRef(e);return Xp((()=>{t.current=e})),Re.useCallback(((...e)=>(0,t.current)(...e)),[])}function Yp(...e){return Re.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{Zp(e,t)}))}),e)}let Jp,ef=!0,tf=!1;const nf={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 rf(e){e.metaKey||e.altKey||e.ctrlKey||(ef=!0)}function of(){ef=!1}function af(){"hidden"===this.visibilityState&&tf&&(ef=!0)}function lf(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return ef||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!nf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function sf(){const e=Re.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",rf,!0),t.addEventListener("mousedown",of,!0),t.addEventListener("pointerdown",of,!0),t.addEventListener("touchstart",of,!0),t.addEventListener("visibilitychange",af,!0))}),[]),t=Re.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!lf(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(tf=!0,window.clearTimeout(Jp),Jp=window.setTimeout((()=>{tf=!1}),100),t.current=!1,!0)},ref:e}}function cf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var uf=e=>{const t=Re.useRef({});return Re.useEffect((()=>{t.current=e})),t.current};function df(e,t){const n=xp({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=xp({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=xp({},a),Object.keys(o).forEach((e=>{n[r][e]=df(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function pf(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}const ff=e=>e;var hf=(()=>{let e=ff;return{configure(t){e=t},generate:t=>e(t),reset(){e=ff}}})();const mf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function gf(e,t,n="Mui"){const r=mf[t];return r?`${n}-${r}`:`${hf.generate(e)}-${t}`}function vf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=gf(e,t,n)})),r}function yf(){return yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yf.apply(this,arguments)}function bf(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function xf(){return xf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xf.apply(this,arguments)}function Sf(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var wf=/^((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|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ef=Sf((function(e){return wf.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Cf=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),kf="-ms-",Lf="-moz-",Rf="-webkit-",Of="comm",If="rule",_f="decl",Tf="@keyframes",Pf=Math.abs,Nf=String.fromCharCode,Mf=Object.assign;function zf(e){return e.trim()}function Af(e,t,n){return e.replace(t,n)}function qf(e,t){return e.indexOf(t)}function Df(e,t){return 0|e.charCodeAt(t)}function jf(e,t,n){return e.slice(t,n)}function Ff(e){return e.length}function $f(e){return e.length}function Bf(e,t){return t.push(e),e}var Wf=1,Uf=1,Hf=0,Vf=0,Gf=0,Kf="";function Zf(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Wf,column:Uf,length:i,return:""}}function Xf(e,t){return Mf(Zf("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qf(){return Gf=Vf>0?Df(Kf,--Vf):0,Uf--,10===Gf&&(Uf=1,Wf--),Gf}function Yf(){return Gf=Vf<Hf?Df(Kf,Vf++):0,Uf++,10===Gf&&(Uf=1,Wf++),Gf}function Jf(){return Df(Kf,Vf)}function eh(){return Vf}function th(e,t){return jf(Kf,e,t)}function nh(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 rh(e){return Wf=Uf=1,Hf=Ff(Kf=e),Vf=0,[]}function oh(e){return Kf="",e}function ah(e){return zf(th(Vf-1,sh(91===e?e+2:40===e?e+1:e)))}function ih(e){for(;(Gf=Jf())&&Gf<33;)Yf();return nh(e)>2||nh(Gf)>3?"":" "}function lh(e,t){for(;--t&&Yf()&&!(Gf<48||Gf>102||Gf>57&&Gf<65||Gf>70&&Gf<97););return th(e,eh()+(t<6&&32==Jf()&&32==Yf()))}function sh(e){for(;Yf();)switch(Gf){case e:return Vf;case 34:case 39:34!==e&&39!==e&&sh(Gf);break;case 40:41===e&&sh(e);break;case 92:Yf()}return Vf}function ch(e,t){for(;Yf()&&e+Gf!==57&&(e+Gf!==84||47!==Jf()););return"/*"+th(t,Vf-1)+"*"+Nf(47===e?e:Yf())}function uh(e){for(;!nh(Jf());)Yf();return th(e,Vf)}function dh(e){return oh(ph("",null,null,null,[""],e=rh(e),0,[0],e))}function ph(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,v=1,y=0,b="",x=o,S=a,w=r,E=b;g;)switch(h=y,y=Yf()){case 40:if(108!=h&&58==Df(E,d-1)){-1!=qf(E+=Af(ah(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=ah(y);break;case 9:case 10:case 13:case 32:E+=ih(h);break;case 92:E+=lh(eh()-1,7);continue;case 47:switch(Jf()){case 42:case 47:Bf(hh(ch(Yf(),eh()),t,n),s);break;default:E+="/"}break;case 123*m:l[c++]=Ff(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:f>0&&Ff(E)-d&&Bf(f>32?mh(E+";",r,n,d-1):mh(Af(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(Bf(w=fh(E,t,n,c,u,o,l,b,x=[],S=[],d),a),123===y)if(0===u)ph(E,t,w,w,x,a,d,l,S);else switch(99===p&&110===Df(E,3)?100:p){case 100:case 109:case 115:ph(e,w,w,r&&Bf(fh(e,w,w,0,0,o,l,b,o,x=[],d),S),o,S,d,l,r?x:S);break;default:ph(E,w,w,w,[""],S,0,l,S)}}c=u=f=0,m=v=1,b=E="",d=i;break;case 58:d=1+Ff(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Qf())continue;switch(E+=Nf(y),y*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:l[c++]=(Ff(E)-1)*v,v=1;break;case 64:45===Jf()&&(E+=ah(Yf())),p=Jf(),u=d=Ff(b=E+=uh(eh())),y++;break;case 45:45===h&&2==Ff(E)&&(m=0)}}return a}function fh(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=$f(p),h=0,m=0,g=0;h<r;++h)for(var v=0,y=jf(e,d+1,d=Pf(m=i[h])),b=e;v<f;++v)(b=zf(m>0?p[v]+" "+y:Af(y,/&\f/g,p[v])))&&(s[g++]=b);return Zf(e,t,n,0===o?If:l,s,c,u)}function hh(e,t,n){return Zf(e,t,n,Of,Nf(Gf),jf(e,2,-2),0)}function mh(e,t,n,r){return Zf(e,t,n,_f,jf(e,0,r),jf(e,r+1,-1),r)}function gh(e,t){for(var n="",r=$f(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function vh(e,t,n,r){switch(e.type){case"@import":case _f:return e.return=e.return||e.value;case Of:return"";case Tf:return e.return=e.value+"{"+gh(e.children,r)+"}";case If:e.value=e.props.join(",")}return Ff(n=gh(e.children,r))?e.return=e.value+"{"+n+"}":""}function yh(e){var t=$f(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var bh=function(e,t,n){for(var r=0,o=0;r=o,o=Jf(),38===r&&12===o&&(t[n]=1),!nh(o);)Yf();return th(e,Vf)},xh=function(e,t){return oh(function(e,t){var n=-1,r=44;do{switch(nh(r)){case 0:38===r&&12===Jf()&&(t[n]=1),e[n]+=bh(Vf-1,t,n);break;case 2:e[n]+=ah(r);break;case 4:if(44===r){e[++n]=58===Jf()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Nf(r)}}while(r=Yf());return e}(rh(e),t))},Sh=new WeakMap,wh=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)||Sh.get(n))&&!r){Sh.set(e,!0);for(var o=[],a=xh(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},Eh=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ch(e,t){switch(function(e,t){return 45^Df(e,0)?(((t<<2^Df(e,0))<<2^Df(e,1))<<2^Df(e,2))<<2^Df(e,3):0}(e,t)){case 5103:return Rf+"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 Rf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Rf+e+Lf+e+kf+e+e;case 6828:case 4268:return Rf+e+kf+e+e;case 6165:return Rf+e+kf+"flex-"+e+e;case 5187:return Rf+e+Af(e,/(\w+).+(:[^]+)/,Rf+"box-$1$2"+kf+"flex-$1$2")+e;case 5443:return Rf+e+kf+"flex-item-"+Af(e,/flex-|-self/,"")+e;case 4675:return Rf+e+kf+"flex-line-pack"+Af(e,/align-content|flex-|-self/,"")+e;case 5548:return Rf+e+kf+Af(e,"shrink","negative")+e;case 5292:return Rf+e+kf+Af(e,"basis","preferred-size")+e;case 6060:return Rf+"box-"+Af(e,"-grow","")+Rf+e+kf+Af(e,"grow","positive")+e;case 4554:return Rf+Af(e,/([^-])(transform)/g,"$1"+Rf+"$2")+e;case 6187:return Af(Af(Af(e,/(zoom-|grab)/,Rf+"$1"),/(image-set)/,Rf+"$1"),e,"")+e;case 5495:case 3959:return Af(e,/(image-set\([^]*)/,Rf+"$1$`$1");case 4968:return Af(Af(e,/(.+:)(flex-)?(.*)/,Rf+"box-pack:$3"+kf+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Rf+e+e;case 4095:case 3583:case 4068:case 2532:return Af(e,/(.+)-inline(.+)/,Rf+"$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(Ff(e)-1-t>6)switch(Df(e,t+1)){case 109:if(45!==Df(e,t+4))break;case 102:return Af(e,/(.+:)(.+)-([^]+)/,"$1"+Rf+"$2-$3$1"+Lf+(108==Df(e,t+3)?"$3":"$2-$3"))+e;case 115:return~qf(e,"stretch")?Ch(Af(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Df(e,t+1))break;case 6444:switch(Df(e,Ff(e)-3-(~qf(e,"!important")&&10))){case 107:return Af(e,":",":"+Rf)+e;case 101:return Af(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rf+(45===Df(e,14)?"inline-":"")+"box$3$1"+Rf+"$2$3$1"+kf+"$2box$3")+e}break;case 5936:switch(Df(e,t+11)){case 114:return Rf+e+kf+Af(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rf+e+kf+Af(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rf+e+kf+Af(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rf+e+kf+e+e}return e}var kh="undefined"!=typeof document,Lh=kh?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return Sf((function(){var e={};return function(t){return e[t]}}))})),Rh=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case _f:e.return=Ch(e.value,e.length);break;case Tf:return gh([Xf(e,{value:Af(e.value,"@","@"+Rf)})],r);case If: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 gh([Xf(e,{props:[Af(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return gh([Xf(e,{props:[Af(t,/:(plac\w+)/,":"+Rf+"input-$1")]}),Xf(e,{props:[Af(t,/:(plac\w+)/,":-moz-$1")]}),Xf(e,{props:[Af(t,/:(plac\w+)/,kf+"input-$1")]})],r)}return""}))}}],Oh=function(e){var t=e.key;if(kh&&"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,a=e.stylisPlugins||Rh,i={},l=[];kh&&(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++)i[t[n]]=!0;l.push(e)})));var s,c=[wh,Eh];if(kh){var u,d=[vh,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=yh(c.concat(a,d));o=function(e,t,n,r){u=n,function(e){gh(dh(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[vh],h=yh(c.concat(a,f)),m=Lh(a)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return gh(dh(e),h)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};o=function(e,t,n,r){var o=t.name,a=g(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new Cf({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return v.sheet.hydrate(l),v},Ih=Lp,_h={};_h[Ih.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_h[Ih.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Th="undefined"!=typeof document;function Ph(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Nh=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Th&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Mh=function(e,t,n){Nh(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);Th||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Th&&0!==o.length)return o}};var zh={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ah=/[A-Z]|^ms/g,qh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Dh=function(e){return 45===e.charCodeAt(1)},jh=function(e){return null!=e&&"boolean"!=typeof e},Fh=Sf((function(e){return Dh(e)?e:e.replace(Ah,"-$&").toLowerCase()})),$h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(qh,(function(e,t,n){return Wh={name:t,styles:n,next:Wh},t}))}return 1===zh[e]||Dh(e)||"number"!=typeof t||0===t?t:t+"px"};function Bh(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Wh={name:n.name,styles:n.styles,next:Wh},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Wh={name:r.name,styles:r.styles,next:Wh},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Bh(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":jh(i)&&(r+=Fh(a)+":"+$h(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Bh(e,t,i);switch(a){case"animation":case"animationName":r+=Fh(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)jh(i[s])&&(r+=Fh(a)+":"+$h(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Wh,a=n(e);return Wh=o,Bh(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Wh,Uh=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Hh=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Wh=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Bh(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Bh(n,t,e[i]),r&&(o+=a[i]);Uh.lastIndex=0;for(var l,s="";null!==(l=Uh.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:Wh}},Vh="undefined"!=typeof document,Gh=function(e){return e()},Kh=!!ut.useInsertionEffect&&ut.useInsertionEffect,Zh=Vh&&Kh||Gh,Xh=Kh||Re.useLayoutEffect,Qh="undefined"!=typeof document,Yh=Re.createContext("undefined"!=typeof HTMLElement?Oh({key:"css"}):null),Jh=Yh.Provider,em=function(e){return Re.forwardRef((function(t,n){var r=Re.useContext(Yh);return e(t,r,n)}))};Qh||(em=function(e){return function(t){var n=Re.useContext(Yh);return null===n?(n=Oh({key:"css"}),Re.createElement(Yh.Provider,{value:n},e(t,n))):e(t,n)}});var tm=Re.createContext({}),nm=em((function(e,t){var n=e.styles,r=Hh([n],void 0,Re.useContext(tm));if(!Qh){for(var o,a=r.name,i=r.styles,l=r.next;void 0!==l;)a+=" "+l.name,i+=l.styles,l=l.next;var s=!0===t.compat,c=t.insert("",{name:a,styles:i},t.sheet,s);return s?null:Re.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var u=Re.useRef();return Xh((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),u.current=[n,o],function(){n.flush()}}),[t]),Xh((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Mh(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function rm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Hh(t)}var om=function(){var e=rm.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_"}}},am=Ef,im=function(e){return"theme"!==e},lm=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?am:im},sm=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},cm="undefined"!=typeof document,um=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Nh(t,n,r);var o=Zh((function(){return Mh(t,n,r)}));if(!cm&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return Re.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},dm=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=sm(t,n,a),s=l||lm(i),c=!s("as");return function(){var u=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var h=em((function(e,t,n){var r=c&&e.as||i,a="",u=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=Re.useContext(tm)}"string"==typeof e.className?a=Ph(t.registered,u,e.className):null!=e.className&&(a=e.className+" ");var h=Hh(d.concat(u),t.registered,p);a+=t.key+"-"+h.name,void 0!==o&&(a+=" "+o);var m=c&&void 0===l?lm(r):s,g={};for(var v in e)c&&"as"===v||m(v)&&(g[v]=e[v]);return g.className=a,g.ref=n,Re.createElement(Re.Fragment,null,Re.createElement(um,{cache:t,serialized:h,isStringTag:"string"==typeof r}),Re.createElement(r,g))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,xf({},n,r,{shouldForwardProp:sm(h,r,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){dm[e]=dm(e)}));var pm={},fm={get exports(){return pm},set exports(e){pm=e}},hm={},mm=Re,gm=Symbol.for("react.element"),vm=Symbol.for("react.fragment"),ym=Object.prototype.hasOwnProperty,bm=mm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,xm={key:!0,ref:!0,__self:!0,__source:!0};function Sm(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)ym.call(t,r)&&!xm.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:gm,type:e,key:a,ref:i,props:o,_owner:bm.current}}hm.Fragment=vm,hm.jsx=Sm,hm.jsxs=Sm,function(e){e.exports=hm}(fm);const wm=Oh({key:"css",prepend:!0});function Em(e){const{injectFirst:t,children:n}=e;return t?pm.jsx(Jh,{value:wm,children:n}):n}function Cm(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 pm.jsx(nm,{styles:r})}
|
|
27
|
+
var yt=d,bt=mt;function xt(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 St=new Set,wt={};function Et(e,t){Ct(e,t),Ct(e+"Capture",t)}function Ct(e,t){for(wt[e]=t,e=0;e<t.length;e++)St.add(t[e])}var kt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Lt=Object.prototype.hasOwnProperty,Rt=/^[: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]*$/,Ot={},It={};function _t(e,t,n,r,o,a,i){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=a,this.removeEmptyString=i}var Tt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Tt[e]=new _t(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Tt[t]=new _t(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Tt[e]=new _t(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Tt[e]=new _t(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){Tt[e]=new _t(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Tt[e]=new _t(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Tt[e]=new _t(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Tt[e]=new _t(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Tt[e]=new _t(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Pt=/[\-:]([a-z])/g;function Nt(e){return e[1].toUpperCase()}function Mt(e,t,n,r){var o=Tt.hasOwnProperty(t)?Tt[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!!Lt.call(It,e)||!Lt.call(Ot,e)&&(Rt.test(e)?It[e]=!0:(Ot[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(Pt,Nt);Tt[t]=new _t(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(Pt,Nt);Tt[t]=new _t(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(Pt,Nt);Tt[t]=new _t(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Tt[e]=new _t(e,1,!1,e.toLowerCase(),null,!1,!1)})),Tt.xlinkHref=new _t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Tt[e]=new _t(e,1,!1,e.toLowerCase(),null,!0,!0)}));var zt=yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,At=Symbol.for("react.element"),Dt=Symbol.for("react.portal"),qt=Symbol.for("react.fragment"),jt=Symbol.for("react.strict_mode"),Ft=Symbol.for("react.profiler"),$t=Symbol.for("react.provider"),Bt=Symbol.for("react.context"),Wt=Symbol.for("react.forward_ref"),Ht=Symbol.for("react.suspense"),Ut=Symbol.for("react.suspense_list"),Vt=Symbol.for("react.memo"),Gt=Symbol.for("react.lazy"),Kt=Symbol.for("react.offscreen"),Zt=Symbol.iterator;function Xt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Zt&&e[Zt]||e["@@iterator"])?e:null}var Qt,Yt=Object.assign;function Jt(e){if(void 0===Qt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Qt=t&&t[1]||""}return"\n"+Qt+e}var en=!1;function tn(e,t){if(!e||en)return"";en=!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"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{en=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jt(e):""}function nn(e){switch(e.tag){case 5:return Jt(e.type);case 16:return Jt("Lazy");case 13:return Jt("Suspense");case 19:return Jt("SuspenseList");case 0:case 2:case 15:return e=tn(e.type,!1);case 11:return e=tn(e.type.render,!1);case 1:return e=tn(e.type,!0);default:return""}}function rn(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 qt:return"Fragment";case Dt:return"Portal";case Ft:return"Profiler";case jt:return"StrictMode";case Ht:return"Suspense";case Ut:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Bt:return(e.displayName||"Context")+".Consumer";case $t:return(e._context.displayName||"Context")+".Provider";case Wt:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Vt:return null!==(t=e.displayName||null)?t:rn(e.type)||"Memo";case Gt:t=e._payload,e=e._init;try{return rn(e(t))}catch(e){}}return null}function on(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 rn(t);case 8:return t===jt?"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 an(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ln(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function sn(e){e._valueTracker||(e._valueTracker=function(e){var t=ln(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 cn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ln(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function un(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 dn(e,t){var n=t.checked;return Yt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function pn(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=an(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 fn(e,t){null!=(t=t.checked)&&Mt(e,"checked",t,!1)}function hn(e,t){fn(e,t);var n=an(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")?gn(e,t.type,n):t.hasOwnProperty("defaultValue")&&gn(e,t.type,an(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function mn(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 gn(e,t,n){"number"===t&&un(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var vn=Array.isArray;function yn(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=""+an(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 bn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(xt(91));return Yt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(xt(92));if(vn(n)){if(1<n.length)throw Error(xt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:an(n)}}function Sn(e,t){var n=an(t.value),r=an(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 wn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function En(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 Cn(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?En(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var kn,Ln,Rn=(Ln=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((kn=kn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kn.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 Ln(e,t)}))}:Ln);function On(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 In={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},_n=["Webkit","ms","Moz","O"];function Tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||In.hasOwnProperty(e)&&In[e]?(""+t).trim():t+"px"}function Pn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(In).forEach((function(e){_n.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),In[t]=In[e]}))}));var Nn=Yt({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 Mn(e,t){if(t){if(Nn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(xt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(xt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(xt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(xt(62))}}function zn(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 An=null;function Dn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var qn=null,jn=null,Fn=null;function $n(e){if(e=zi(e)){if("function"!=typeof qn)throw Error(xt(280));var t=e.stateNode;t&&(t=Di(t),qn(e.stateNode,e.type,t))}}function Bn(e){jn?Fn?Fn.push(e):Fn=[e]:jn=e}function Wn(){if(jn){var e=jn,t=Fn;if(Fn=jn=null,$n(e),t)for(e=0;e<t.length;e++)$n(t[e])}}function Hn(e,t){return e(t)}function Un(){}var Vn=!1;function Gn(e,t,n){if(Vn)return e(t,n);Vn=!0;try{return Hn(e,t,n)}finally{Vn=!1,(null!==jn||null!==Fn)&&(Un(),Wn())}}function Kn(e,t){var n=e.stateNode;if(null===n)return null;var r=Di(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(xt(231,t,typeof n));return n}var Zn=!1;if(kt)try{var Xn={};Object.defineProperty(Xn,"passive",{get:function(){Zn=!0}}),window.addEventListener("test",Xn,Xn),window.removeEventListener("test",Xn,Xn)}catch(Ln){Zn=!1}function Qn(e,t,n,r,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Yn=!1,Jn=null,er=!1,tr=null,nr={onError:function(e){Yn=!0,Jn=e}};function rr(e,t,n,r,o,a,i,l,s){Yn=!1,Jn=null,Qn.apply(nr,arguments)}function or(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ar(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 ir(e){if(or(e)!==e)throw Error(xt(188))}function lr(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=or(e)))throw Error(xt(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ir(o),e;if(a===r)return ir(o),t;a=a.sibling}throw Error(xt(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(xt(189))}}if(n.alternate!==r)throw Error(xt(190))}if(3!==n.tag)throw Error(xt(188));return n.stateNode.current===n?e:t}(e),null!==e?sr(e):null}function sr(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=sr(e);if(null!==t)return t;e=e.sibling}return null}var cr=bt.unstable_scheduleCallback,ur=bt.unstable_cancelCallback,dr=bt.unstable_shouldYield,pr=bt.unstable_requestPaint,fr=bt.unstable_now,hr=bt.unstable_getCurrentPriorityLevel,mr=bt.unstable_ImmediatePriority,gr=bt.unstable_UserBlockingPriority,vr=bt.unstable_NormalPriority,yr=bt.unstable_LowPriority,br=bt.unstable_IdlePriority,xr=null,Sr=null;var wr=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Er(e)/Cr|0)|0},Er=Math.log,Cr=Math.LN2;var kr=64,Lr=4194304;function Rr(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 Or(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=Rr(l):0!==(a&=i)&&(r=Rr(a))}else 0!==(i=n&~o)?r=Rr(i):0!==a&&(r=Rr(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-wr(t)),r|=e[n],t&=~o;return r}function Ir(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 _r(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Tr(){var e=kr;return 0==(4194240&(kr<<=1))&&(kr=64),e}function Pr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Nr(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-wr(t)]=n}function Mr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-wr(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var zr=0;function Ar(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Dr,qr,jr,Fr,$r,Br=!1,Wr=[],Hr=null,Ur=null,Vr=null,Gr=new Map,Kr=new Map,Zr=[],Xr="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 Qr(e,t){switch(e){case"focusin":case"focusout":Hr=null;break;case"dragenter":case"dragleave":Ur=null;break;case"mouseover":case"mouseout":Vr=null;break;case"pointerover":case"pointerout":Gr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kr.delete(t.pointerId)}}function Yr(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=zi(t))&&qr(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Jr(e){var t=Mi(e.target);if(null!==t){var n=or(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ar(n)))return e.blockedOn=t,void $r(e.priority,(function(){jr(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 eo(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=po(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=zi(n))&&qr(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);An=r,n.target.dispatchEvent(r),An=null,t.shift()}return!0}function to(e,t,n){eo(e)&&n.delete(t)}function no(){Br=!1,null!==Hr&&eo(Hr)&&(Hr=null),null!==Ur&&eo(Ur)&&(Ur=null),null!==Vr&&eo(Vr)&&(Vr=null),Gr.forEach(to),Kr.forEach(to)}function ro(e,t){e.blockedOn===t&&(e.blockedOn=null,Br||(Br=!0,bt.unstable_scheduleCallback(bt.unstable_NormalPriority,no)))}function oo(e){function t(t){return ro(t,e)}if(0<Wr.length){ro(Wr[0],e);for(var n=1;n<Wr.length;n++){var r=Wr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Hr&&ro(Hr,e),null!==Ur&&ro(Ur,e),null!==Vr&&ro(Vr,e),Gr.forEach(t),Kr.forEach(t),n=0;n<Zr.length;n++)(r=Zr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Zr.length&&null===(n=Zr[0]).blockedOn;)Jr(n),null===n.blockedOn&&Zr.shift()}var ao=zt.ReactCurrentBatchConfig,io=!0;function lo(e,t,n,r){var o=zr,a=ao.transition;ao.transition=null;try{zr=1,co(e,t,n,r)}finally{zr=o,ao.transition=a}}function so(e,t,n,r){var o=zr,a=ao.transition;ao.transition=null;try{zr=4,co(e,t,n,r)}finally{zr=o,ao.transition=a}}function co(e,t,n,r){if(io){var o=po(e,t,n,r);if(null===o)ii(e,t,r,uo,n),Qr(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Hr=Yr(Hr,e,t,n,r,o),!0;case"dragenter":return Ur=Yr(Ur,e,t,n,r,o),!0;case"mouseover":return Vr=Yr(Vr,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Gr.set(a,Yr(Gr.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Kr.set(a,Yr(Kr.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Qr(e,r),4&t&&-1<Xr.indexOf(e)){for(;null!==o;){var a=zi(o);if(null!==a&&Dr(a),null===(a=po(e,t,n,r))&&ii(e,t,r,uo,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else ii(e,t,r,null,n)}}var uo=null;function po(e,t,n,r){if(uo=null,null!==(e=Mi(e=Dn(r))))if(null===(t=or(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=ar(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 uo=e,null}function fo(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(hr()){case mr:return 1;case gr:return 4;case vr:case yr:return 16;case br:return 536870912;default:return 16}default:return 16}}var ho=null,mo=null,go=null;function vo(){if(go)return go;var e,t,n=mo,r=n.length,o="value"in ho?ho.value:ho.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return go=o.slice(e,1<t?1-t:void 0)}function yo(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 bo(){return!0}function xo(){return!1}function So(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?bo:xo,this.isPropagationStopped=xo,this}return Yt(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=bo)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=bo)},persist:function(){},isPersistent:bo}),t}var wo,Eo,Co,ko={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lo=So(ko),Ro=Yt({},ko,{view:0,detail:0}),Oo=So(Ro),Io=Yt({},Ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$o,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!==Co&&(Co&&"mousemove"===e.type?(wo=e.screenX-Co.screenX,Eo=e.screenY-Co.screenY):Eo=wo=0,Co=e),wo)},movementY:function(e){return"movementY"in e?e.movementY:Eo}}),_o=So(Io),To=So(Yt({},Io,{dataTransfer:0})),Po=So(Yt({},Ro,{relatedTarget:0})),No=So(Yt({},ko,{animationName:0,elapsedTime:0,pseudoElement:0})),Mo=Yt({},ko,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zo=So(Mo),Ao=So(Yt({},ko,{data:0})),Do={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qo={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"},jo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=jo[e])&&!!t[e]}function $o(){return Fo}var Bo=Yt({},Ro,{key:function(e){if(e.key){var t=Do[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=yo(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?qo[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$o,charCode:function(e){return"keypress"===e.type?yo(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?yo(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Wo=So(Bo),Ho=So(Yt({},Io,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Uo=So(Yt({},Ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$o})),Vo=So(Yt({},ko,{propertyName:0,elapsedTime:0,pseudoElement:0})),Go=Yt({},Io,{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}),Ko=So(Go),Zo=[9,13,27,32],Xo=kt&&"CompositionEvent"in window,Qo=null;kt&&"documentMode"in document&&(Qo=document.documentMode);var Yo=kt&&"TextEvent"in window&&!Qo,Jo=kt&&(!Xo||Qo&&8<Qo&&11>=Qo),ea=String.fromCharCode(32),ta=!1;function na(e,t){switch(e){case"keyup":return-1!==Zo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ra(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var oa=!1;var aa={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 ia(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!aa[e.type]:"textarea"===t}function la(e,t,n,r){Bn(r),0<(t=si(t,"onChange")).length&&(n=new Lo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var sa=null,ca=null;function ua(e){ei(e,0)}function da(e){if(cn(Ai(e)))return e}function pa(e,t){if("change"===e)return t}var fa=!1;if(kt){var ha;if(kt){var ma="oninput"in document;if(!ma){var ga=document.createElement("div");ga.setAttribute("oninput","return;"),ma="function"==typeof ga.oninput}ha=ma}else ha=!1;fa=ha&&(!document.documentMode||9<document.documentMode)}function va(){sa&&(sa.detachEvent("onpropertychange",ya),ca=sa=null)}function ya(e){if("value"===e.propertyName&&da(ca)){var t=[];la(t,ca,e,Dn(e)),Gn(ua,t)}}function ba(e,t,n){"focusin"===e?(va(),ca=n,(sa=t).attachEvent("onpropertychange",ya)):"focusout"===e&&va()}function xa(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return da(ca)}function Sa(e,t){if("click"===e)return da(t)}function wa(e,t){if("input"===e||"change"===e)return da(t)}var Ea="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ca(e,t){if(Ea(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(!Lt.call(t,o)||!Ea(e[o],t[o]))return!1}return!0}function ka(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function La(e,t){var n,r=ka(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=ka(r)}}function Ra(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ra(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Oa(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function Ia(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 _a(e){var t=Oa(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ra(n.ownerDocument.documentElement,n)){if(null!==r&&Ia(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,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=La(n,a);var i=La(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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 Ta=kt&&"documentMode"in document&&11>=document.documentMode,Pa=null,Na=null,Ma=null,za=!1;function Aa(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;za||null==Pa||Pa!==un(r)||("selectionStart"in(r=Pa)&&Ia(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},Ma&&Ca(Ma,r)||(Ma=r,0<(r=si(Na,"onSelect")).length&&(t=new Lo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pa)))}function Da(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qa={animationend:Da("Animation","AnimationEnd"),animationiteration:Da("Animation","AnimationIteration"),animationstart:Da("Animation","AnimationStart"),transitionend:Da("Transition","TransitionEnd")},ja={},Fa={};function $a(e){if(ja[e])return ja[e];if(!qa[e])return e;var t,n=qa[e];for(t in n)if(n.hasOwnProperty(t)&&t in Fa)return ja[e]=n[t];return e}kt&&(Fa=document.createElement("div").style,"AnimationEvent"in window||(delete qa.animationend.animation,delete qa.animationiteration.animation,delete qa.animationstart.animation),"TransitionEvent"in window||delete qa.transitionend.transition);var Ba=$a("animationend"),Wa=$a("animationiteration"),Ha=$a("animationstart"),Ua=$a("transitionend"),Va=new Map,Ga="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 Ka(e,t){Va.set(e,t),Et(t,[e])}for(var Za=0;Za<Ga.length;Za++){var Xa=Ga[Za];Ka(Xa.toLowerCase(),"on"+(Xa[0].toUpperCase()+Xa.slice(1)))}Ka(Ba,"onAnimationEnd"),Ka(Wa,"onAnimationIteration"),Ka(Ha,"onAnimationStart"),Ka("dblclick","onDoubleClick"),Ka("focusin","onFocus"),Ka("focusout","onBlur"),Ka(Ua,"onTransitionEnd"),Ct("onMouseEnter",["mouseout","mouseover"]),Ct("onMouseLeave",["mouseout","mouseover"]),Ct("onPointerEnter",["pointerout","pointerover"]),Ct("onPointerLeave",["pointerout","pointerover"]),Et("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Et("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Et("onBeforeInput",["compositionend","keypress","textInput","paste"]),Et("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Et("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Et("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qa="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(" "),Ya=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qa));function Ja(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(rr.apply(this,arguments),Yn){if(!Yn)throw Error(xt(198));var c=Jn;Yn=!1,Jn=null,er||(er=!0,tr=c)}}(r,t,void 0,e),e.currentTarget=null}function ei(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Ja(o,l,c),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Ja(o,l,c),a=s}}}if(er)throw e=tr,er=!1,tr=null,e}function ti(e,t){var n=t[Ti];void 0===n&&(n=t[Ti]=new Set);var r=e+"__bubble";n.has(r)||(ai(t,e,2,!1),n.add(r))}function ni(e,t,n){var r=0;t&&(r|=4),ai(n,e,r,t)}var ri="_reactListening"+Math.random().toString(36).slice(2);function oi(e){if(!e[ri]){e[ri]=!0,St.forEach((function(t){"selectionchange"!==t&&(Ya.has(t)||ni(t,!1,e),ni(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ri]||(t[ri]=!0,ni("selectionchange",!1,t))}}function ai(e,t,n,r){switch(fo(t)){case 1:var o=lo;break;case 4:o=so;break;default:o=co}n=o.bind(null,t,n,e),o=void 0,!Zn||"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 ii(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=Mi(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}Gn((function(){var r=a,o=Dn(n),i=[];e:{var l=Va.get(e);if(void 0!==l){var s=Lo,c=e;switch(e){case"keypress":if(0===yo(n))break e;case"keydown":case"keyup":s=Wo;break;case"focusin":c="focus",s=Po;break;case"focusout":c="blur",s=Po;break;case"beforeblur":case"afterblur":s=Po;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=_o;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=To;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Uo;break;case Ba:case Wa:case Ha:s=No;break;case Ua:s=Vo;break;case"scroll":s=Oo;break;case"wheel":s=Ko;break;case"copy":case"cut":case"paste":s=zo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Ho}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Kn(h,p))&&u.push(li(h,m,f)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),i.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===An||!(c=n.relatedTarget||n.fromElement)||!Mi(c)&&!c[_i])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?Mi(c):null)&&(c!==(d=or(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=_o,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Ho,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:Ai(s),f=null==c?l:Ai(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Mi(o)===r&&((u=new u(p,h+"enter",c,n,o)).target=f,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(p=c,h=0,f=u=s;f;f=ci(f))h++;for(f=0,m=p;m;m=ci(m))f++;for(;0<h-f;)u=ci(u),h--;for(;0<f-h;)p=ci(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=ci(u),p=ci(p)}u=null}else u=null;null!==s&&ui(i,l,s,u,!1),null!==c&&null!==d&&ui(i,d,c,u,!0)}if("select"===(s=(l=r?Ai(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=pa;else if(ia(l))if(fa)g=wa;else{g=xa;var v=ba}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=Sa);switch(g&&(g=g(e,r))?la(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&gn(l,"number",l.value)),v=r?Ai(r):window,e){case"focusin":(ia(v)||"true"===v.contentEditable)&&(Pa=v,Na=r,Ma=null);break;case"focusout":Ma=Na=Pa=null;break;case"mousedown":za=!0;break;case"contextmenu":case"mouseup":case"dragend":za=!1,Aa(i,n,o);break;case"selectionchange":if(Ta)break;case"keydown":case"keyup":Aa(i,n,o)}var y;if(Xo)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else oa?na(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Jo&&"ko"!==n.locale&&(oa||"onCompositionStart"!==b?"onCompositionEnd"===b&&oa&&(y=vo()):(mo="value"in(ho=o)?ho.value:ho.textContent,oa=!0)),0<(v=si(r,b)).length&&(b=new Ao(b,e,null,n,o),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=ra(n))&&(b.data=y))),(y=Yo?function(e,t){switch(e){case"compositionend":return ra(t);case"keypress":return 32!==t.which?null:(ta=!0,ea);case"textInput":return(e=t.data)===ea&&ta?null:e;default:return null}}(e,n):function(e,t){if(oa)return"compositionend"===e||!Xo&&na(e,t)?(e=vo(),go=mo=ho=null,oa=!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 Jo&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=si(r,"onBeforeInput")).length&&(o=new Ao("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}ei(i,t)}))}function li(e,t,n){return{instance:e,listener:t,currentTarget:n}}function si(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Kn(e,n))&&r.unshift(li(e,a,o)),null!=(a=Kn(e,t))&&r.push(li(e,a,o))),e=e.return}return r}function ci(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ui(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Kn(n,a))&&i.unshift(li(n,s,l)):o||null!=(s=Kn(n,a))&&i.push(li(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var di=/\r\n?/g,pi=/\u0000|\uFFFD/g;function fi(e){return("string"==typeof e?e:""+e).replace(di,"\n").replace(pi,"")}function hi(e,t,n){if(t=fi(t),fi(e)!==t&&n)throw Error(xt(425))}function mi(){}var gi=null,vi=null;function yi(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 bi="function"==typeof setTimeout?setTimeout:void 0,xi="function"==typeof clearTimeout?clearTimeout:void 0,Si="function"==typeof Promise?Promise:void 0,wi="function"==typeof queueMicrotask?queueMicrotask:void 0!==Si?function(e){return Si.resolve(null).then(e).catch(Ei)}:bi;function Ei(e){setTimeout((function(){throw e}))}function Ci(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 oo(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);oo(t)}function ki(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 Li(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 Ri=Math.random().toString(36).slice(2),Oi="__reactFiber$"+Ri,Ii="__reactProps$"+Ri,_i="__reactContainer$"+Ri,Ti="__reactEvents$"+Ri,Pi="__reactListeners$"+Ri,Ni="__reactHandles$"+Ri;function Mi(e){var t=e[Oi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_i]||n[Oi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Li(e);null!==e;){if(n=e[Oi])return n;e=Li(e)}return t}n=(e=n).parentNode}return null}function zi(e){return!(e=e[Oi]||e[_i])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ai(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(xt(33))}function Di(e){return e[Ii]||null}var qi=[],ji=-1;function Fi(e){return{current:e}}function $i(e){0>ji||(e.current=qi[ji],qi[ji]=null,ji--)}function Bi(e,t){ji++,qi[ji]=e.current,e.current=t}var Wi={},Hi=Fi(Wi),Ui=Fi(!1),Vi=Wi;function Gi(e,t){var n=e.type.contextTypes;if(!n)return Wi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ki(e){return null!=(e=e.childContextTypes)}function Zi(){$i(Ui),$i(Hi)}function Xi(e,t,n){if(Hi.current!==Wi)throw Error(xt(168));Bi(Hi,t),Bi(Ui,n)}function Qi(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(xt(108,on(e)||"Unknown",o));return Yt({},n,r)}function Yi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wi,Vi=Hi.current,Bi(Hi,e),Bi(Ui,Ui.current),!0}function Ji(e,t,n){var r=e.stateNode;if(!r)throw Error(xt(169));n?(e=Qi(e,t,Vi),r.__reactInternalMemoizedMergedChildContext=e,$i(Ui),$i(Hi),Bi(Hi,e)):$i(Ui),Bi(Ui,n)}var el=null,tl=!1,nl=!1;function rl(e){null===el?el=[e]:el.push(e)}function ol(){if(!nl&&null!==el){nl=!0;var e=0,t=zr;try{var n=el;for(zr=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}el=null,tl=!1}catch(t){throw null!==el&&(el=el.slice(e+1)),cr(mr,ol),t}finally{zr=t,nl=!1}}return null}var al=[],il=0,ll=null,sl=0,cl=[],ul=0,dl=null,pl=1,fl="";function hl(e,t){al[il++]=sl,al[il++]=ll,ll=e,sl=t}function ml(e,t,n){cl[ul++]=pl,cl[ul++]=fl,cl[ul++]=dl,dl=e;var r=pl;e=fl;var o=32-wr(r)-1;r&=~(1<<o),n+=1;var a=32-wr(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,pl=1<<32-wr(t)+o|n<<o|r,fl=a+e}else pl=1<<a|n<<o|r,fl=e}function gl(e){null!==e.return&&(hl(e,1),ml(e,1,0))}function vl(e){for(;e===ll;)ll=al[--il],al[il]=null,sl=al[--il],al[il]=null;for(;e===dl;)dl=cl[--ul],cl[ul]=null,fl=cl[--ul],cl[ul]=null,pl=cl[--ul],cl[ul]=null}var yl=null,bl=null,xl=!1,Sl=null;function wl(e,t){var n=Vd(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 El(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,yl=e,bl=ki(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,yl=e,bl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==dl?{id:pl,overflow:fl}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Vd(18,null,null,0)).stateNode=t,n.return=e,e.child=n,yl=e,bl=null,!0);default:return!1}}function Cl(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function kl(e){if(xl){var t=bl;if(t){var n=t;if(!El(e,t)){if(Cl(e))throw Error(xt(418));t=ki(n.nextSibling);var r=yl;t&&El(e,t)?wl(r,n):(e.flags=-4097&e.flags|2,xl=!1,yl=e)}}else{if(Cl(e))throw Error(xt(418));e.flags=-4097&e.flags|2,xl=!1,yl=e}}}function Ll(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;yl=e}function Rl(e){if(e!==yl)return!1;if(!xl)return Ll(e),xl=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!yi(e.type,e.memoizedProps)),t&&(t=bl)){if(Cl(e))throw Ol(),Error(xt(418));for(;t;)wl(e,t),t=ki(t.nextSibling)}if(Ll(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(xt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){bl=ki(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}bl=null}}else bl=yl?ki(e.stateNode.nextSibling):null;return!0}function Ol(){for(var e=bl;e;)e=ki(e.nextSibling)}function Il(){bl=yl=null,xl=!1}function _l(e){null===Sl?Sl=[e]:Sl.push(e)}var Tl=zt.ReactCurrentBatchConfig;function Pl(e,t){if(e&&e.defaultProps){for(var n in t=Yt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Nl=Fi(null),Ml=null,zl=null,Al=null;function Dl(){Al=zl=Ml=null}function ql(e){var t=Nl.current;$i(Nl),e._currentValue=t}function jl(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 Fl(e,t){Ml=e,Al=zl=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(zc=!0),e.firstContext=null)}function $l(e){var t=e._currentValue;if(Al!==e)if(e={context:e,memoizedValue:t,next:null},null===zl){if(null===Ml)throw Error(xt(308));zl=e,Ml.dependencies={lanes:0,firstContext:e}}else zl=zl.next=e;return t}var Bl=null;function Wl(e){null===Bl?Bl=[e]:Bl.push(e)}function Hl(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Wl(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ul(e,r)}function Ul(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 Vl=!1;function Gl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kl(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 Zl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xl(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Wu)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ul(e,n)}return null===(o=r.interleaved)?(t.next=t,Wl(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ul(e,n)}function Ql(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Mr(e,n)}}function Yl(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Jl(e,t,n,r){var o=e.updateQueue;Vl=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==u&&(u=u.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=Yt({},d,p);break e;case 2:Vl=!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===u?(c=u=f,s=d):u=u.next=f,i|=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===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Qu|=i,e.lanes=i,e.memoizedState=d}}function es(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(xt(191,o));o.call(r)}}}var ts=(new yt.Component).refs;function ns(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Yt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var rs={isMounted:function(e){return!!(e=e._reactInternals)&&or(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=md(),o=gd(e),a=Zl(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Xl(e,a,o))&&(vd(t,e,o,r),Ql(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=md(),o=gd(e),a=Zl(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Xl(e,a,o))&&(vd(t,e,o,r),Ql(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=md(),r=gd(e),o=Zl(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Xl(e,o,r))&&(vd(t,e,r,n),Ql(t,e,r))}};function os(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!Ca(n,r)||!Ca(o,a))}function as(e,t,n){var r=!1,o=Wi,a=t.contextType;return"object"==typeof a&&null!==a?a=$l(a):(o=Ki(t)?Vi:Hi.current,a=(r=null!=(r=t.contextTypes))?Gi(e,o):Wi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=rs,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function is(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&&rs.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ts,Gl(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=$l(a):(a=Ki(t)?Vi:Hi.current,o.context=Gi(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ns(e,t,a,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&&rs.enqueueReplaceState(o,o.state,null),Jl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ss(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(xt(309));var r=n.stateNode}if(!r)throw Error(xt(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===ts&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(xt(284));if(!n._owner)throw Error(xt(290,e))}return e}function cs(e,t){throw e=Object.prototype.toString.call(t),Error(xt(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function us(e){return(0,e._init)(e._payload)}function ds(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=Kd(e,t)).index=0,e.sibling=null,e}function a(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 i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Yd(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var a=n.type;return a===qt?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===Gt&&us(a)===t.type)?((r=o(t,n.props)).ref=ss(e,t,n),r.return=e,r):((r=Zd(n.type,n.key,n.props,null,e.mode,r)).ref=ss(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Jd(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,r,a){return null===t||7!==t.tag?((t=Xd(n,e.mode,r,a)).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=Yd(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case At:return(n=Zd(t.type,t.key,t.props,null,e.mode,n)).ref=ss(e,null,t),n.return=e,n;case Dt:return(t=Jd(t,e.mode,n)).return=e,t;case Gt:return d(e,(0,t._init)(t._payload),n)}if(vn(t)||Xt(t))return(t=Xd(t,e.mode,n,null)).return=e,t;cs(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 At:return n.key===o?s(e,t,n,r):null;case Dt:return n.key===o?c(e,t,n,r):null;case Gt:return p(e,t,(o=n._init)(n._payload),r)}if(vn(n)||Xt(n))return null!==o?null:u(e,t,n,r,null);cs(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 At:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Dt:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Gt:return f(e,t,n,(0,r._init)(r._payload),o)}if(vn(r)||Xt(r))return u(t,e=e.get(n)||null,r,o,null);cs(t,r)}return null}function h(o,i,l,s){for(var c=null,u=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,h=g}if(m===l.length)return n(o,h),xl&&hl(o,m),c;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===u?c=h:u.sibling=h,u=h);return xl&&hl(o,m),c}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),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(o,e)})),xl&&hl(o,m),c}function m(o,i,l,s){var c=Xt(l);if("function"!=typeof c)throw Error(xt(150));if(null==(l=c.call(l)))throw Error(xt(151));for(var u=c=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=p(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===u?c=y:u.sibling=y,u=y,h=g}if(v.done)return n(o,h),xl&&hl(o,m),c;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return xl&&hl(o,m),c}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&h.forEach((function(e){return t(o,e)})),xl&&hl(o,m),c}return function e(r,a,l,s){if("object"==typeof l&&null!==l&&l.type===qt&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case At:e:{for(var c=l.key,u=a;null!==u;){if(u.key===c){if((c=l.type)===qt){if(7===u.tag){n(r,u.sibling),(a=o(u,l.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Gt&&us(c)===u.type){n(r,u.sibling),(a=o(u,l.props)).ref=ss(r,u,l),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}l.type===qt?((a=Xd(l.props.children,r.mode,s,l.key)).return=r,r=a):((s=Zd(l.type,l.key,l.props,null,r.mode,s)).ref=ss(r,a,l),s.return=r,r=s)}return i(r);case Dt:e:{for(u=l.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===l.containerInfo&&a.stateNode.implementation===l.implementation){n(r,a.sibling),(a=o(a,l.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Jd(l,r.mode,s)).return=r,r=a}return i(r);case Gt:return e(r,a,(u=l._init)(l._payload),s)}if(vn(l))return h(r,a,l,s);if(Xt(l))return m(r,a,l,s);cs(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,l)).return=r,r=a):(n(r,a),(a=Yd(l,r.mode,s)).return=r,r=a),i(r)):n(r,a)}}var ps=ds(!0),fs=ds(!1),hs={},ms=Fi(hs),gs=Fi(hs),vs=Fi(hs);function ys(e){if(e===hs)throw Error(xt(174));return e}function bs(e,t){switch(Bi(vs,t),Bi(gs,e),Bi(ms,hs),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Cn(null,"");break;default:t=Cn(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}$i(ms),Bi(ms,t)}function xs(){$i(ms),$i(gs),$i(vs)}function Ss(e){ys(vs.current);var t=ys(ms.current),n=Cn(t,e.type);t!==n&&(Bi(gs,e),Bi(ms,n))}function ws(e){gs.current===e&&($i(ms),$i(gs))}var Es=Fi(0);function Cs(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(0!=(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 ks=[];function Ls(){for(var e=0;e<ks.length;e++)ks[e]._workInProgressVersionPrimary=null;ks.length=0}var Rs=zt.ReactCurrentDispatcher,Os=zt.ReactCurrentBatchConfig,Is=0,_s=null,Ts=null,Ps=null,Ns=!1,Ms=!1,zs=0,As=0;function Ds(){throw Error(xt(321))}function qs(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ea(e[n],t[n]))return!1;return!0}function js(e,t,n,r,o,a){if(Is=a,_s=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Rs.current=null===e||null===e.memoizedState?wc:Ec,e=n(r,o),Ms){a=0;do{if(Ms=!1,zs=0,25<=a)throw Error(xt(301));a+=1,Ps=Ts=null,t.updateQueue=null,Rs.current=Cc,e=n(r,o)}while(Ms)}if(Rs.current=Sc,t=null!==Ts&&null!==Ts.next,Is=0,Ps=Ts=_s=null,Ns=!1,t)throw Error(xt(300));return e}function Fs(){var e=0!==zs;return zs=0,e}function $s(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ps?_s.memoizedState=Ps=e:Ps=Ps.next=e,Ps}function Bs(){if(null===Ts){var e=_s.alternate;e=null!==e?e.memoizedState:null}else e=Ts.next;var t=null===Ps?_s.memoizedState:Ps.next;if(null!==t)Ps=t,Ts=e;else{if(null===e)throw Error(xt(310));e={memoizedState:(Ts=e).memoizedState,baseState:Ts.baseState,baseQueue:Ts.baseQueue,queue:Ts.queue,next:null},null===Ps?_s.memoizedState=Ps=e:Ps=Ps.next=e}return Ps}function Ws(e,t){return"function"==typeof t?t(e):t}function Hs(e){var t=Bs(),n=t.queue;if(null===n)throw Error(xt(311));n.lastRenderedReducer=e;var r=Ts,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=i=null,s=null,c=a;do{var u=c.lane;if((Is&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(l=s=d,i=r):s=s.next=d,_s.lanes|=u,Qu|=u}c=c.next}while(null!==c&&c!==a);null===s?i=r:s.next=l,Ea(r,t.memoizedState)||(zc=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,_s.lanes|=a,Qu|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Us(e){var t=Bs(),n=t.queue;if(null===n)throw Error(xt(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);Ea(a,t.memoizedState)||(zc=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Vs(){}function Gs(e,t){var n=_s,r=Bs(),o=t(),a=!Ea(r.memoizedState,o);if(a&&(r.memoizedState=o,zc=!0),r=r.queue,ac(Xs.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==Ps&&1&Ps.memoizedState.tag){if(n.flags|=2048,ec(9,Zs.bind(null,n,r,o,t),void 0,null),null===Hu)throw Error(xt(349));0!=(30&Is)||Ks(n,t,o)}return o}function Ks(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=_s.updateQueue)?(t={lastEffect:null,stores:null},_s.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Zs(e,t,n,r){t.value=n,t.getSnapshot=r,Qs(t)&&Ys(e)}function Xs(e,t,n){return n((function(){Qs(t)&&Ys(e)}))}function Qs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ea(e,n)}catch(e){return!0}}function Ys(e){var t=Ul(e,1);null!==t&&vd(t,e,1,-1)}function Js(e){var t=$s();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ws,lastRenderedState:e},t.queue=e,e=e.dispatch=vc.bind(null,_s,e),[t.memoizedState,e]}function ec(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=_s.updateQueue)?(t={lastEffect:null,stores:null},_s.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 tc(){return Bs().memoizedState}function nc(e,t,n,r){var o=$s();_s.flags|=e,o.memoizedState=ec(1|t,n,void 0,void 0===r?null:r)}function rc(e,t,n,r){var o=Bs();r=void 0===r?null:r;var a=void 0;if(null!==Ts){var i=Ts.memoizedState;if(a=i.destroy,null!==r&&qs(r,i.deps))return void(o.memoizedState=ec(t,n,a,r))}_s.flags|=e,o.memoizedState=ec(1|t,n,a,r)}function oc(e,t){return nc(8390656,8,e,t)}function ac(e,t){return rc(2048,8,e,t)}function ic(e,t){return rc(4,2,e,t)}function lc(e,t){return rc(4,4,e,t)}function sc(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 cc(e,t,n){return n=null!=n?n.concat([e]):null,rc(4,4,sc.bind(null,t,e),n)}function uc(){}function dc(e,t){var n=Bs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pc(e,t){var n=Bs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&qs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fc(e,t,n){return 0==(21&Is)?(e.baseState&&(e.baseState=!1,zc=!0),e.memoizedState=n):(Ea(n,t)||(n=Tr(),_s.lanes|=n,Qu|=n,e.baseState=!0),t)}function hc(e,t){var n=zr;zr=0!==n&&4>n?n:4,e(!0);var r=Os.transition;Os.transition={};try{e(!1),t()}finally{zr=n,Os.transition=r}}function mc(){return Bs().memoizedState}function gc(e,t,n){var r=gd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yc(e))bc(t,n);else if(null!==(n=Hl(e,t,n,r))){vd(n,e,r,md()),xc(n,t,r)}}function vc(e,t,n){var r=gd(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yc(e))bc(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,Ea(l,i)){var s=t.interleaved;return null===s?(o.next=o,Wl(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Hl(e,t,o,r))&&(vd(n,e,r,o=md()),xc(n,t,r))}}function yc(e){var t=e.alternate;return e===_s||null!==t&&t===_s}function bc(e,t){Ms=Ns=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xc(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Mr(e,n)}}var Sc={readContext:$l,useCallback:Ds,useContext:Ds,useEffect:Ds,useImperativeHandle:Ds,useInsertionEffect:Ds,useLayoutEffect:Ds,useMemo:Ds,useReducer:Ds,useRef:Ds,useState:Ds,useDebugValue:Ds,useDeferredValue:Ds,useTransition:Ds,useMutableSource:Ds,useSyncExternalStore:Ds,useId:Ds,unstable_isNewReconciler:!1},wc={readContext:$l,useCallback:function(e,t){return $s().memoizedState=[e,void 0===t?null:t],e},useContext:$l,useEffect:oc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,nc(4194308,4,sc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nc(4194308,4,e,t)},useInsertionEffect:function(e,t){return nc(4,2,e,t)},useMemo:function(e,t){var n=$s();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$s();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=gc.bind(null,_s,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$s().memoizedState=e},useState:Js,useDebugValue:uc,useDeferredValue:function(e){return $s().memoizedState=e},useTransition:function(){var e=Js(!1),t=e[0];return e=hc.bind(null,e[1]),$s().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=_s,o=$s();if(xl){if(void 0===n)throw Error(xt(407));n=n()}else{if(n=t(),null===Hu)throw Error(xt(349));0!=(30&Is)||Ks(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,oc(Xs.bind(null,r,a,e),[e]),r.flags|=2048,ec(9,Zs.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=$s(),t=Hu.identifierPrefix;if(xl){var n=fl;t=":"+t+"R"+(n=(pl&~(1<<32-wr(pl)-1)).toString(32)+n),0<(n=zs++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=As++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ec={readContext:$l,useCallback:dc,useContext:$l,useEffect:ac,useImperativeHandle:cc,useInsertionEffect:ic,useLayoutEffect:lc,useMemo:pc,useReducer:Hs,useRef:tc,useState:function(){return Hs(Ws)},useDebugValue:uc,useDeferredValue:function(e){return fc(Bs(),Ts.memoizedState,e)},useTransition:function(){return[Hs(Ws)[0],Bs().memoizedState]},useMutableSource:Vs,useSyncExternalStore:Gs,useId:mc,unstable_isNewReconciler:!1},Cc={readContext:$l,useCallback:dc,useContext:$l,useEffect:ac,useImperativeHandle:cc,useInsertionEffect:ic,useLayoutEffect:lc,useMemo:pc,useReducer:Us,useRef:tc,useState:function(){return Us(Ws)},useDebugValue:uc,useDeferredValue:function(e){var t=Bs();return null===Ts?t.memoizedState=e:fc(t,Ts.memoizedState,e)},useTransition:function(){return[Us(Ws)[0],Bs().memoizedState]},useMutableSource:Vs,useSyncExternalStore:Gs,useId:mc,unstable_isNewReconciler:!1};function kc(e,t){try{var n="",r=t;do{n+=nn(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 Lc(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Rc(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Oc="function"==typeof WeakMap?WeakMap:Map;function Ic(e,t,n){(n=Zl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ad||(ad=!0,id=r),Rc(0,t)},n}function _c(e,t,n){(n=Zl(-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(){Rc(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){Rc(0,t),"function"!=typeof r&&(null===ld?ld=new Set([this]):ld.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Tc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Oc;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=Fd.bind(null,e,t,n),t.then(e,e))}function Pc(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 Nc(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Zl(-1,1)).tag=2,Xl(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Mc=zt.ReactCurrentOwner,zc=!1;function Ac(e,t,n,r){t.child=null===e?fs(t,null,n,r):ps(t,e.child,n,r)}function Dc(e,t,n,r,o){n=n.render;var a=t.ref;return Fl(t,o),r=js(e,t,n,r,a,o),n=Fs(),null===e||zc?(xl&&n&&gl(t),t.flags|=1,Ac(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,au(e,t,o))}function qc(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Gd(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zd(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,jc(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Ca)(i,r)&&e.ref===t.ref)return au(e,t,o)}return t.flags|=1,(e=Kd(a,r)).ref=t.ref,e.return=t,t.child=e}function jc(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Ca(a,r)&&e.ref===t.ref){if(zc=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,au(e,t,o);0!=(131072&e.flags)&&(zc=!0)}}return Bc(e,t,n,r,o)}function Fc(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Bi(Ku,Gu),Gu|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Bi(Ku,Gu),Gu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Bi(Ku,Gu),Gu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Bi(Ku,Gu),Gu|=r;return Ac(e,t,o,n),t.child}function $c(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bc(e,t,n,r,o){var a=Ki(n)?Vi:Hi.current;return a=Gi(t,a),Fl(t,o),n=js(e,t,n,r,a,o),r=Fs(),null===e||zc?(xl&&r&&gl(t),t.flags|=1,Ac(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,au(e,t,o))}function Wc(e,t,n,r,o){if(Ki(n)){var a=!0;Yi(t)}else a=!1;if(Fl(t,o),null===t.stateNode)ou(e,t),as(t,n,r),ls(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=$l(c):c=Gi(t,c=Ki(n)?Vi:Hi.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&is(t,i,r,c),Vl=!1;var p=t.memoizedState;i.state=p,Jl(t,r,i,o),s=t.memoizedState,l!==r||p!==s||Ui.current||Vl?("function"==typeof u&&(ns(t,n,u,r),s=t.memoizedState),(l=Vl||os(t,n,l,r,p,s,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Kl(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Pl(t.type,l),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=$l(s):s=Gi(t,s=Ki(n)?Vi:Hi.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&is(t,i,r,s),Vl=!1,p=t.memoizedState,i.state=p,Jl(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||Ui.current||Vl?("function"==typeof f&&(ns(t,n,f,r),h=t.memoizedState),(c=Vl||os(t,n,c,r,p,h,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Hc(e,t,n,r,a,o)}function Hc(e,t,n,r,o,a){$c(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Ji(t,n,!1),au(e,t,a);r=t.stateNode,Mc.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ps(t,e.child,null,a),t.child=ps(t,null,l,a)):Ac(e,t,l,a),t.memoizedState=r.state,o&&Ji(t,n,!0),t.child}function Uc(e){var t=e.stateNode;t.pendingContext?Xi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Xi(0,t.context,!1),bs(e,t.containerInfo)}function Vc(e,t,n,r,o){return Il(),_l(o),t.flags|=256,Ac(e,t,n,r),t.child}var Gc,Kc,Zc,Xc={dehydrated:null,treeContext:null,retryLane:0};function Qc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Yc(e,t,n){var r,o=t.pendingProps,a=Es.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Bi(Es,1&a),null===e)return kl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,i?(o=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=Qd(l,o,0,null),e=Xd(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Qc(n),t.memoizedState=Xc,e):Jc(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,i){if(n)return 256&t.flags?(t.flags&=-257,eu(e,t,i,r=Lc(Error(xt(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Qd({mode:"visible",children:r.children},o,0,null),(a=Xd(a,o,i,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&ps(t,e.child,null,i),t.child.memoizedState=Qc(i),t.memoizedState=Xc,a);if(0==(1&t.mode))return eu(e,t,i,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,eu(e,t,i,r=Lc(a=Error(xt(419)),r,void 0))}if(l=0!=(i&e.childLanes),zc||l){if(null!==(r=Hu)){switch(i&-i){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=0!=(o&(r.suspendedLanes|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ul(e,o),vd(r,e,o,-1))}return _d(),eu(e,t,i,r=Lc(Error(xt(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Bd.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,bl=ki(o.nextSibling),yl=t,xl=!0,Sl=null,null!==e&&(cl[ul++]=pl,cl[ul++]=fl,cl[ul++]=dl,pl=e.id,fl=e.overflow,dl=t),t=Jc(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(i){i=o.fallback,l=t.mode,r=(a=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Kd(a,s)).subtreeFlags=14680064&a.subtreeFlags,null!==r?i=Kd(r,i):(i=Xd(i,l,n,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,l=null===(l=e.child.memoizedState)?Qc(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=Xc,o}return e=(i=e.child).sibling,o=Kd(i,{mode:"visible",children:o.children}),0==(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 Jc(e,t){return(t=Qd({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function eu(e,t,n,r){return null!==r&&_l(r),ps(t,e.child,null,n),(e=Jc(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function tu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),jl(e.return,t,n)}function nu(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function ru(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Ac(e,t,r.children,n),0!=(2&(r=Es.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&tu(e,n,t);else if(19===e.tag)tu(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(Bi(Es,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Cs(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),nu(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Cs(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}nu(t,!0,n,null,a);break;case"together":nu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ou(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function au(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Qu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(xt(153));if(null!==t.child){for(n=Kd(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Kd(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iu(e,t){if(!xl)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 lu(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 su(e,t,n){var r=t.pendingProps;switch(vl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lu(t),null;case 1:case 17:return Ki(t.type)&&Zi(),lu(t),null;case 3:return r=t.stateNode,xs(),$i(Ui),$i(Hi),Ls(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Rl(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Sl&&(Sd(Sl),Sl=null))),lu(t),null;case 5:ws(t);var o=ys(vs.current);if(n=t.type,null!==e&&null!=t.stateNode)Kc(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(xt(166));return lu(t),null}if(e=ys(ms.current),Rl(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Oi]=t,r[Ii]=a,e=0!=(1&t.mode),n){case"dialog":ti("cancel",r),ti("close",r);break;case"iframe":case"object":case"embed":ti("load",r);break;case"video":case"audio":for(o=0;o<Qa.length;o++)ti(Qa[o],r);break;case"source":ti("error",r);break;case"img":case"image":case"link":ti("error",r),ti("load",r);break;case"details":ti("toggle",r);break;case"input":pn(r,a),ti("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},ti("invalid",r);break;case"textarea":xn(r,a),ti("invalid",r)}for(var i in Mn(n,a),o=null,a)if(a.hasOwnProperty(i)){var l=a[i];"children"===i?"string"==typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&hi(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&hi(r.textContent,l,e),o=["children",""+l]):wt.hasOwnProperty(i)&&null!=l&&"onScroll"===i&&ti("scroll",r)}switch(n){case"input":sn(r),mn(r,a,!0);break;case"textarea":sn(r),wn(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=mi)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{i=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=En(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Oi]=t,e[Ii]=r,Gc(e,t),t.stateNode=e;e:{switch(i=zn(n,r),n){case"dialog":ti("cancel",e),ti("close",e),o=r;break;case"iframe":case"object":case"embed":ti("load",e),o=r;break;case"video":case"audio":for(o=0;o<Qa.length;o++)ti(Qa[o],e);o=r;break;case"source":ti("error",e),o=r;break;case"img":case"image":case"link":ti("error",e),ti("load",e),o=r;break;case"details":ti("toggle",e),o=r;break;case"input":pn(e,r),o=dn(e,r),ti("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Yt({},r,{value:void 0}),ti("invalid",e);break;case"textarea":xn(e,r),o=bn(e,r),ti("invalid",e)}for(a in Mn(n,o),l=o)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Pn(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&Rn(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&On(e,s):"number"==typeof s&&On(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(wt.hasOwnProperty(a)?null!=s&&"onScroll"===a&&ti("scroll",e):null!=s&&Mt(e,a,s,i))}switch(n){case"input":sn(e),mn(e,r,!1);break;case"textarea":sn(e),wn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+an(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?yn(e,!!r.multiple,a,!1):null!=r.defaultValue&&yn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=mi)}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 lu(t),null;case 6:if(e&&null!=t.stateNode)Zc(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(xt(166));if(n=ys(vs.current),ys(ms.current),Rl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Oi]=t,(a=r.nodeValue!==n)&&null!==(e=yl))switch(e.tag){case 3:hi(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&hi(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Oi]=t,t.stateNode=r}return lu(t),null;case 13:if($i(Es),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(xl&&null!==bl&&0!=(1&t.mode)&&0==(128&t.flags))Ol(),Il(),t.flags|=98560,a=!1;else if(a=Rl(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(xt(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(xt(317));a[Oi]=t}else Il(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lu(t),a=!1}else null!==Sl&&(Sd(Sl),Sl=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&Es.current)?0===Zu&&(Zu=3):_d())),null!==t.updateQueue&&(t.flags|=4),lu(t),null);case 4:return xs(),null===e&&oi(t.stateNode.containerInfo),lu(t),null;case 10:return ql(t.type._context),lu(t),null;case 19:if($i(Es),null===(a=t.memoizedState))return lu(t),null;if(r=0!=(128&t.flags),null===(i=a.rendering))if(r)iu(a,!1);else{if(0!==Zu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=Cs(e))){for(t.flags|=128,iu(a,!1),null!==(r=i.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Bi(Es,1&Es.current|2),t.child}e=e.sibling}null!==a.tail&&fr()>rd&&(t.flags|=128,r=!0,iu(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Cs(i))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iu(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!xl)return lu(t),null}else 2*fr()-a.renderingStartTime>rd&&1073741824!==n&&(t.flags|=128,r=!0,iu(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=a.last)?n.sibling=i:t.child=i,a.last=i)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=fr(),t.sibling=null,n=Es.current,Bi(Es,r?1&n|2:1&n),t):(lu(t),null);case 22:case 23:return Ld(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Gu)&&(lu(t),6&t.subtreeFlags&&(t.flags|=8192)):lu(t),null;case 24:case 25:return null}throw Error(xt(156,t.tag))}function cu(e,t){switch(vl(t),t.tag){case 1:return Ki(t.type)&&Zi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return xs(),$i(Ui),$i(Hi),Ls(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ws(t),null;case 13:if($i(Es),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(xt(340));Il()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return $i(Es),null;case 4:return xs(),null;case 10:return ql(t.type._context),null;case 22:case 23:return Ld(),null;default:return null}}Gc=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}},Kc=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ys(ms.current);var a,i=null;switch(n){case"input":o=dn(e,o),r=dn(e,r),i=[];break;case"select":o=Yt({},o,{value:void 0}),r=Yt({},r,{value:void 0}),i=[];break;case"textarea":o=bn(e,o),r=bn(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=mi)}for(c in Mn(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(wt.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(wt.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&ti("scroll",e),i||l===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Zc=function(e,t,n,r){n!==r&&(t.flags|=4)};var uu=!1,du=!1,pu="function"==typeof WeakSet?WeakSet:Set,fu=null;function hu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){jd(e,t,n)}else n.current=null}function mu(e,t,n){try{n()}catch(n){jd(e,t,n)}}var gu=!1;function vu(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 a=o.destroy;o.destroy=void 0,void 0!==a&&mu(t,n,a)}o=o.next}while(o!==r)}}function yu(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 bu(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 xu(e){var t=e.alternate;null!==t&&(e.alternate=null,xu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Oi],delete t[Ii],delete t[Ti],delete t[Pi],delete t[Ni])),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 Su(e){return 5===e.tag||3===e.tag||4===e.tag}function wu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Su(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 Eu(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=mi));else if(4!==r&&null!==(e=e.child))for(Eu(e,t,n),e=e.sibling;null!==e;)Eu(e,t,n),e=e.sibling}function Cu(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(Cu(e,t,n),e=e.sibling;null!==e;)Cu(e,t,n),e=e.sibling}var ku=null,Lu=!1;function Ru(e,t,n){for(n=n.child;null!==n;)Ou(e,t,n),n=n.sibling}function Ou(e,t,n){if(Sr&&"function"==typeof Sr.onCommitFiberUnmount)try{Sr.onCommitFiberUnmount(xr,n)}catch(e){}switch(n.tag){case 5:du||hu(n,t);case 6:var r=ku,o=Lu;ku=null,Ru(e,t,n),Lu=o,null!==(ku=r)&&(Lu?(e=ku,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ku.removeChild(n.stateNode));break;case 18:null!==ku&&(Lu?(e=ku,n=n.stateNode,8===e.nodeType?Ci(e.parentNode,n):1===e.nodeType&&Ci(e,n),oo(e)):Ci(ku,n.stateNode));break;case 4:r=ku,o=Lu,ku=n.stateNode.containerInfo,Lu=!0,Ru(e,t,n),ku=r,Lu=o;break;case 0:case 11:case 14:case 15:if(!du&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&mu(n,t,i),o=o.next}while(o!==r)}Ru(e,t,n);break;case 1:if(!du&&(hu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){jd(n,t,e)}Ru(e,t,n);break;case 21:Ru(e,t,n);break;case 22:1&n.mode?(du=(r=du)||null!==n.memoizedState,Ru(e,t,n),du=r):Ru(e,t,n);break;default:Ru(e,t,n)}}function Iu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pu),t.forEach((function(t){var r=Wd.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function _u(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,i=t,l=i;e:for(;null!==l;){switch(l.tag){case 5:ku=l.stateNode,Lu=!1;break e;case 3:case 4:ku=l.stateNode.containerInfo,Lu=!0;break e}l=l.return}if(null===ku)throw Error(xt(160));Ou(a,i,o),ku=null,Lu=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){jd(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Tu(t,e),t=t.sibling}function Tu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_u(t,e),Pu(e),4&r){try{vu(3,e,e.return),yu(3,e)}catch(t){jd(e,e.return,t)}try{vu(5,e,e.return)}catch(t){jd(e,e.return,t)}}break;case 1:_u(t,e),Pu(e),512&r&&null!==n&&hu(n,n.return);break;case 5:if(_u(t,e),Pu(e),512&r&&null!==n&&hu(n,n.return),32&e.flags){var o=e.stateNode;try{On(o,"")}catch(t){jd(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,i=null!==n?n.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===a.type&&null!=a.name&&fn(o,a),zn(l,i);var c=zn(l,a);for(i=0;i<s.length;i+=2){var u=s[i],d=s[i+1];"style"===u?Pn(o,d):"dangerouslySetInnerHTML"===u?Rn(o,d):"children"===u?On(o,d):Mt(o,u,d,c)}switch(l){case"input":hn(o,a);break;case"textarea":Sn(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?yn(o,!!a.multiple,f,!1):p!==!!a.multiple&&(null!=a.defaultValue?yn(o,!!a.multiple,a.defaultValue,!0):yn(o,!!a.multiple,a.multiple?[]:"",!1))}o[Ii]=a}catch(t){jd(e,e.return,t)}}break;case 6:if(_u(t,e),Pu(e),4&r){if(null===e.stateNode)throw Error(xt(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){jd(e,e.return,t)}}break;case 3:if(_u(t,e),Pu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{oo(t.containerInfo)}catch(t){jd(e,e.return,t)}break;case 4:default:_u(t,e),Pu(e);break;case 13:_u(t,e),Pu(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(nd=fr())),4&r&&Iu(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(du=(c=du)||u,_u(t,e),du=c):_u(t,e),Pu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&0!=(1&e.mode))for(fu=e,u=e.child;null!==u;){for(d=fu=u;null!==fu;){switch(f=(p=fu).child,p.tag){case 0:case 11:case 14:case 15:vu(4,p,p.return);break;case 1:hu(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){jd(r,n,e)}}break;case 5:hu(p,p.return);break;case 22:if(null!==p.memoizedState){Au(d);continue}}null!==f?(f.return=p,fu=f):Au(d)}u=u.sibling}e:for(u=null,d=e;;){if(5===d.tag){if(null===u){u=d;try{o=d.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,i=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=Tn("display",i))}catch(t){jd(e,e.return,t)}}}else if(6===d.tag){if(null===u)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){jd(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;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:_u(t,e),Pu(e),4&r&&Iu(e);case 21:}}function Pu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Su(n)){var r=n;break e}n=n.return}throw Error(xt(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(On(o,""),r.flags&=-33),Cu(e,wu(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;Eu(e,wu(e),a);break;default:throw Error(xt(161))}}catch(t){jd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Nu(e,t,n){fu=e,Mu(e)}function Mu(e,t,n){for(var r=0!=(1&e.mode);null!==fu;){var o=fu,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||uu;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||du;l=uu;var c=du;if(uu=i,(du=s)&&!c)for(fu=o;null!==fu;)s=(i=fu).child,22===i.tag&&null!==i.memoizedState?Du(o):null!==s?(s.return=i,fu=s):Du(o);for(;null!==a;)fu=a,Mu(a),a=a.sibling;fu=o,uu=l,du=c}zu(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,fu=a):zu(e)}}function zu(e){for(;null!==fu;){var t=fu;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:du||yu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!du)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Pl(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&es(t,a,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}es(t,i,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 c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var d=u.dehydrated;null!==d&&oo(d)}}}break;default:throw Error(xt(163))}du||512&t.flags&&bu(t)}catch(e){jd(t,t.return,e)}}if(t===e){fu=null;break}if(null!==(n=t.sibling)){n.return=t.return,fu=n;break}fu=t.return}}function Au(e){for(;null!==fu;){var t=fu;if(t===e){fu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,fu=n;break}fu=t.return}}function Du(e){for(;null!==fu;){var t=fu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{yu(4,t)}catch(e){jd(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){jd(t,o,e)}}var a=t.return;try{bu(t)}catch(e){jd(t,a,e)}break;case 5:var i=t.return;try{bu(t)}catch(e){jd(t,i,e)}}}catch(e){jd(t,t.return,e)}if(t===e){fu=null;break}var l=t.sibling;if(null!==l){l.return=t.return,fu=l;break}fu=t.return}}var qu,ju=Math.ceil,Fu=zt.ReactCurrentDispatcher,$u=zt.ReactCurrentOwner,Bu=zt.ReactCurrentBatchConfig,Wu=0,Hu=null,Uu=null,Vu=0,Gu=0,Ku=Fi(0),Zu=0,Xu=null,Qu=0,Yu=0,Ju=0,ed=null,td=null,nd=0,rd=1/0,od=null,ad=!1,id=null,ld=null,sd=!1,cd=null,ud=0,dd=0,pd=null,fd=-1,hd=0;function md(){return 0!=(6&Wu)?fr():-1!==fd?fd:fd=fr()}function gd(e){return 0==(1&e.mode)?1:0!=(2&Wu)&&0!==Vu?Vu&-Vu:null!==Tl.transition?(0===hd&&(hd=Tr()),hd):0!==(e=zr)?e:e=void 0===(e=window.event)?16:fo(e.type)}function vd(e,t,n,r){if(50<dd)throw dd=0,pd=null,Error(xt(185));Nr(e,n,r),0!=(2&Wu)&&e===Hu||(e===Hu&&(0==(2&Wu)&&(Yu|=n),4===Zu&&wd(e,Vu)),yd(e,r),1===n&&0===Wu&&0==(1&t.mode)&&(rd=fr()+500,tl&&ol()))}function yd(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-wr(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=Ir(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=Or(e,e===Hu?Vu:0);if(0===r)null!==n&&ur(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&ur(n),1===t)0===e.tag?function(e){tl=!0,rl(e)}(Ed.bind(null,e)):rl(Ed.bind(null,e)),wi((function(){0==(6&Wu)&&ol()})),n=null;else{switch(Ar(r)){case 1:n=mr;break;case 4:n=gr;break;case 16:default:n=vr;break;case 536870912:n=br}n=Hd(n,bd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function bd(e,t){if(fd=-1,hd=0,0!=(6&Wu))throw Error(xt(327));var n=e.callbackNode;if(Dd()&&e.callbackNode!==n)return null;var r=Or(e,e===Hu?Vu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Td(e,r);else{t=r;var o=Wu;Wu|=2;var a=Id();for(Hu===e&&Vu===t||(od=null,rd=fr()+500,Rd(e,t));;)try{Nd();break}catch(t){Od(e,t)}Dl(),Fu.current=a,Wu=o,null!==Uu?t=0:(Hu=null,Vu=0,t=Zu)}if(0!==t){if(2===t&&(0!==(o=_r(e))&&(r=o,t=xd(e,o))),1===t)throw n=Xu,Rd(e,0),wd(e,r),yd(e,fr()),n;if(6===t)wd(e,r);else{if(o=e.current.alternate,0==(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],a=o.getSnapshot;o=o.value;try{if(!Ea(a(),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)&&(2===(t=Td(e,r))&&(0!==(a=_r(e))&&(r=a,t=xd(e,a))),1===t))throw n=Xu,Rd(e,0),wd(e,r),yd(e,fr()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(xt(345));case 2:case 5:Ad(e,td,od);break;case 3:if(wd(e,r),(130023424&r)===r&&10<(t=nd+500-fr())){if(0!==Or(e,0))break;if(((o=e.suspendedLanes)&r)!==r){md(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=bi(Ad.bind(null,e,td,od),t);break}Ad(e,td,od);break;case 4:if(wd(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-wr(r);a=1<<i,(i=t[i])>o&&(o=i),r&=~a}if(r=o,10<(r=(120>(r=fr()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ju(r/1960))-r)){e.timeoutHandle=bi(Ad.bind(null,e,td,od),r);break}Ad(e,td,od);break;default:throw Error(xt(329))}}}return yd(e,fr()),e.callbackNode===n?bd.bind(null,e):null}function xd(e,t){var n=ed;return e.current.memoizedState.isDehydrated&&(Rd(e,t).flags|=256),2!==(e=Td(e,t))&&(t=td,td=n,null!==t&&Sd(t)),e}function Sd(e){null===td?td=e:td.push.apply(td,e)}function wd(e,t){for(t&=~Ju,t&=~Yu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-wr(t),r=1<<n;e[n]=-1,t&=~r}}function Ed(e){if(0!=(6&Wu))throw Error(xt(327));Dd();var t=Or(e,0);if(0==(1&t))return yd(e,fr()),null;var n=Td(e,t);if(0!==e.tag&&2===n){var r=_r(e);0!==r&&(t=r,n=xd(e,r))}if(1===n)throw n=Xu,Rd(e,0),wd(e,t),yd(e,fr()),n;if(6===n)throw Error(xt(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ad(e,td,od),yd(e,fr()),null}function Cd(e,t){var n=Wu;Wu|=1;try{return e(t)}finally{0===(Wu=n)&&(rd=fr()+500,tl&&ol())}}function kd(e){null!==cd&&0===cd.tag&&0==(6&Wu)&&Dd();var t=Wu;Wu|=1;var n=Bu.transition,r=zr;try{if(Bu.transition=null,zr=1,e)return e()}finally{zr=r,Bu.transition=n,0==(6&(Wu=t))&&ol()}}function Ld(){Gu=Ku.current,$i(Ku)}function Rd(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xi(n)),null!==Uu)for(n=Uu.return;null!==n;){var r=n;switch(vl(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Zi();break;case 3:xs(),$i(Ui),$i(Hi),Ls();break;case 5:ws(r);break;case 4:xs();break;case 13:case 19:$i(Es);break;case 10:ql(r.type._context);break;case 22:case 23:Ld()}n=n.return}if(Hu=e,Uu=e=Kd(e.current,null),Vu=Gu=t,Zu=0,Xu=null,Ju=Yu=Qu=0,td=ed=null,null!==Bl){for(t=0;t<Bl.length;t++)if(null!==(r=(n=Bl[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Bl=null}return e}function Od(e,t){for(;;){var n=Uu;try{if(Dl(),Rs.current=Sc,Ns){for(var r=_s.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Ns=!1}if(Is=0,Ps=Ts=_s=null,Ms=!1,zs=0,$u.current=null,null===n||null===n.return){Zu=1,Xu=t,Uu=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=Vu,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,u=l,d=u.tag;if(0==(1&u.mode)&&(0===d||11===d||15===d)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=Pc(i);if(null!==f){f.flags&=-257,Nc(f,i,l,0,t),1&f.mode&&Tc(a,c,t),s=c;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(0==(1&t)){Tc(a,c,t),_d();break e}s=Error(xt(426))}else if(xl&&1&l.mode){var g=Pc(i);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),Nc(g,i,l,0,t),_l(kc(s,l));break e}}a=s=kc(s,l),4!==Zu&&(Zu=2),null===ed?ed=[a]:ed.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Yl(a,Ic(0,s,t));break e;case 1:l=s;var v=a.type,y=a.stateNode;if(0==(128&a.flags)&&("function"==typeof v.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===ld||!ld.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Yl(a,_c(a,l,t));break e}}a=a.return}while(null!==a)}zd(n)}catch(e){t=e,Uu===n&&null!==n&&(Uu=n=n.return);continue}break}}function Id(){var e=Fu.current;return Fu.current=Sc,null===e?Sc:e}function _d(){0!==Zu&&3!==Zu&&2!==Zu||(Zu=4),null===Hu||0==(268435455&Qu)&&0==(268435455&Yu)||wd(Hu,Vu)}function Td(e,t){var n=Wu;Wu|=2;var r=Id();for(Hu===e&&Vu===t||(od=null,Rd(e,t));;)try{Pd();break}catch(t){Od(e,t)}if(Dl(),Wu=n,Fu.current=r,null!==Uu)throw Error(xt(261));return Hu=null,Vu=0,Zu}function Pd(){for(;null!==Uu;)Md(Uu)}function Nd(){for(;null!==Uu&&!dr();)Md(Uu)}function Md(e){var t=qu(e.alternate,e,Gu);e.memoizedProps=e.pendingProps,null===t?zd(e):Uu=t,$u.current=null}function zd(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=su(n,t,Gu)))return void(Uu=n)}else{if(null!==(n=cu(n,t)))return n.flags&=32767,void(Uu=n);if(null===e)return Zu=6,void(Uu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Uu=t);Uu=t=e}while(null!==t);0===Zu&&(Zu=5)}function Ad(e,t,n){var r=zr,o=Bu.transition;try{Bu.transition=null,zr=1,function(e,t,n,r){do{Dd()}while(null!==cd);if(0!=(6&Wu))throw Error(xt(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(xt(177));e.callbackNode=null,e.callbackPriority=0;var a=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-wr(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,a),e===Hu&&(Uu=Hu=null,Vu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||sd||(sd=!0,Hd(vr,(function(){return Dd(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Bu.transition,Bu.transition=null;var i=zr;zr=1;var l=Wu;Wu|=4,$u.current=null,function(e,t){if(gi=io,Ia(e=Oa())){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,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var i=0,l=-1,s=-1,c=0,u=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==o&&3!==d.nodeType||(l=i+o),d!==a||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++c===o&&(l=i),p===a&&++u===r&&(s=i),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(vi={focusedElem:e,selectionRange:n},io=!1,fu=t;null!==fu;)if(e=(t=fu).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,fu=e;else for(;null!==fu;){t=fu;try{var h=t.alternate;if(0!=(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,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Pl(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(xt(163))}}catch(e){jd(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,fu=e;break}fu=t.return}h=gu,gu=!1}(e,n),Tu(n,e),_a(vi),io=!!gi,vi=gi=null,e.current=n,Nu(n),pr(),Wu=l,zr=i,Bu.transition=a}else e.current=n;if(sd&&(sd=!1,cd=e,ud=o),a=e.pendingLanes,0===a&&(ld=null),function(e){if(Sr&&"function"==typeof Sr.onCommitFiberRoot)try{Sr.onCommitFiberRoot(xr,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),yd(e,fr()),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(ad)throw ad=!1,e=id,id=null,e;0!=(1&ud)&&0!==e.tag&&Dd(),a=e.pendingLanes,0!=(1&a)?e===pd?dd++:(dd=0,pd=e):dd=0,ol()}(e,t,n,r)}finally{Bu.transition=o,zr=r}return null}function Dd(){if(null!==cd){var e=Ar(ud),t=Bu.transition,n=zr;try{if(Bu.transition=null,zr=16>e?16:e,null===cd)var r=!1;else{if(e=cd,cd=null,ud=0,0!=(6&Wu))throw Error(xt(331));var o=Wu;for(Wu|=4,fu=e.current;null!==fu;){var a=fu,i=a.child;if(0!=(16&fu.flags)){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(fu=c;null!==fu;){var u=fu;switch(u.tag){case 0:case 11:case 15:vu(8,u,a)}var d=u.child;if(null!==d)d.return=u,fu=d;else for(;null!==fu;){var p=(u=fu).sibling,f=u.return;if(xu(u),u===c){fu=null;break}if(null!==p){p.return=f,fu=p;break}fu=f}}}var h=a.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)}}fu=a}}if(0!=(2064&a.subtreeFlags)&&null!==i)i.return=a,fu=i;else e:for(;null!==fu;){if(0!=(2048&(a=fu).flags))switch(a.tag){case 0:case 11:case 15:vu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,fu=v;break e}fu=a.return}}var y=e.current;for(fu=y;null!==fu;){var b=(i=fu).child;if(0!=(2064&i.subtreeFlags)&&null!==b)b.return=i,fu=b;else e:for(i=y;null!==fu;){if(0!=(2048&(l=fu).flags))try{switch(l.tag){case 0:case 11:case 15:yu(9,l)}}catch(e){jd(l,l.return,e)}if(l===i){fu=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,fu=x;break e}fu=l.return}}if(Wu=o,ol(),Sr&&"function"==typeof Sr.onPostCommitFiberRoot)try{Sr.onPostCommitFiberRoot(xr,e)}catch(e){}r=!0}return r}finally{zr=n,Bu.transition=t}}return!1}function qd(e,t,n){e=Xl(e,t=Ic(0,t=kc(n,t),1),1),t=md(),null!==e&&(Nr(e,1,t),yd(e,t))}function jd(e,t,n){if(3===e.tag)qd(e,e,n);else for(;null!==t;){if(3===t.tag){qd(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ld||!ld.has(r))){t=Xl(t,e=_c(t,e=kc(n,e),1),1),e=md(),null!==t&&(Nr(t,1,e),yd(t,e));break}}t=t.return}}function Fd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=md(),e.pingedLanes|=e.suspendedLanes&n,Hu===e&&(Vu&n)===n&&(4===Zu||3===Zu&&(130023424&Vu)===Vu&&500>fr()-nd?Rd(e,0):Ju|=n),yd(e,t)}function $d(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Lr,0==(130023424&(Lr<<=1))&&(Lr=4194304)));var n=md();null!==(e=Ul(e,t))&&(Nr(e,t,n),yd(e,n))}function Bd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),$d(e,n)}function Wd(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(xt(314))}null!==r&&r.delete(t),$d(e,n)}function Hd(e,t){return cr(e,t)}function Ud(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 Vd(e,t,n,r){return new Ud(e,t,n,r)}function Gd(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Kd(e,t){var n=e.alternate;return null===n?((n=Vd(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 Zd(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Gd(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case qt:return Xd(n.children,o,a,t);case jt:i=8,o|=8;break;case Ft:return(e=Vd(12,n,t,2|o)).elementType=Ft,e.lanes=a,e;case Ht:return(e=Vd(13,n,t,o)).elementType=Ht,e.lanes=a,e;case Ut:return(e=Vd(19,n,t,o)).elementType=Ut,e.lanes=a,e;case Kt:return Qd(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case $t:i=10;break e;case Bt:i=9;break e;case Wt:i=11;break e;case Vt:i=14;break e;case Gt:i=16,r=null;break e}throw Error(xt(130,null==e?e:typeof e,""))}return(t=Vd(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Xd(e,t,n,r){return(e=Vd(7,e,r,t)).lanes=n,e}function Qd(e,t,n,r){return(e=Vd(22,e,r,t)).elementType=Kt,e.lanes=n,e.stateNode={isHidden:!1},e}function Yd(e,t,n){return(e=Vd(6,e,null,t)).lanes=n,e}function Jd(e,t,n){return(t=Vd(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ep(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=Pr(0),this.expirationTimes=Pr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pr(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function tp(e,t,n,r,o,a,i,l,s){return e=new ep(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Vd(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gl(a),e}function np(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Dt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function rp(e){if(!e)return Wi;e:{if(or(e=e._reactInternals)!==e||1!==e.tag)throw Error(xt(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ki(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(xt(171))}if(1===e.tag){var n=e.type;if(Ki(n))return Qi(e,n,t)}return t}function op(e,t,n,r,o,a,i,l,s){return(e=tp(n,r,!0,e,0,a,0,l,s)).context=rp(null),n=e.current,(a=Zl(r=md(),o=gd(n))).callback=null!=t?t:null,Xl(n,a,o),e.current.lanes=o,Nr(e,o,r),yd(e,r),e}function ap(e,t,n,r){var o=t.current,a=md(),i=gd(o);return n=rp(n),null===t.context?t.context=n:t.pendingContext=n,(t=Zl(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Xl(o,t,i))&&(vd(e,o,i,a),Ql(e,o,i)),i}function ip(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function lp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function sp(e,t){lp(e,t),(e=e.alternate)&&lp(e,t)}qu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ui.current)zc=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return zc=!1,function(e,t,n){switch(t.tag){case 3:Uc(t),Il();break;case 5:Ss(t);break;case 1:Ki(t.type)&&Yi(t);break;case 4:bs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Bi(Nl,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Bi(Es,1&Es.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Yc(e,t,n):(Bi(Es,1&Es.current),null!==(e=au(e,t,n))?e.sibling:null);Bi(Es,1&Es.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return ru(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Bi(Es,Es.current),r)break;return null;case 22:case 23:return t.lanes=0,Fc(e,t,n)}return au(e,t,n)}(e,t,n);zc=0!=(131072&e.flags)}else zc=!1,xl&&0!=(1048576&t.flags)&&ml(t,sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ou(e,t),e=t.pendingProps;var o=Gi(t,Hi.current);Fl(t,n),o=js(null,t,r,e,o,n);var a=Fs();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,Ki(r)?(a=!0,Yi(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Gl(t),o.updater=rs,t.stateNode=o,o._reactInternals=t,ls(t,r,e,n),t=Hc(null,t,r,!0,a,n)):(t.tag=0,xl&&a&&gl(t),Ac(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ou(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Gd(e)?1:0;if(null!=e){if((e=e.$$typeof)===Wt)return 11;if(e===Vt)return 14}return 2}(r),e=Pl(r,e),o){case 0:t=Bc(null,t,r,e,n);break e;case 1:t=Wc(null,t,r,e,n);break e;case 11:t=Dc(null,t,r,e,n);break e;case 14:t=qc(null,t,r,Pl(r.type,e),n);break e}throw Error(xt(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Bc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 1:return r=t.type,o=t.pendingProps,Wc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 3:e:{if(Uc(t),null===e)throw Error(xt(387));r=t.pendingProps,o=(a=t.memoizedState).element,Kl(e,t),Jl(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Vc(e,t,r,n,o=kc(Error(xt(423)),t));break e}if(r!==o){t=Vc(e,t,r,n,o=kc(Error(xt(424)),t));break e}for(bl=ki(t.stateNode.containerInfo.firstChild),yl=t,xl=!0,Sl=null,n=fs(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Il(),r===o){t=au(e,t,n);break e}Ac(e,t,r,n)}t=t.child}return t;case 5:return Ss(t),null===e&&kl(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,yi(r,o)?i=null:null!==a&&yi(r,a)&&(t.flags|=32),$c(e,t),Ac(e,t,i,n),t.child;case 6:return null===e&&kl(t),null;case 13:return Yc(e,t,n);case 4:return bs(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ps(t,null,r,n):Ac(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Dc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 7:return Ac(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ac(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,Bi(Nl,r._currentValue),r._currentValue=i,null!==a)if(Ea(a.value,i)){if(a.children===o.children&&!Ui.current){t=au(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){i=a.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=Zl(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var u=(c=c.shared).pending;null===u?s.next=s:(s.next=u.next,u.next=s),c.pending=s}}a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),jl(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===a.tag)i=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(xt(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),jl(i,n,t),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===t){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}Ac(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Fl(t,n),r=r(o=$l(o)),t.flags|=1,Ac(e,t,r,n),t.child;case 14:return o=Pl(r=t.type,t.pendingProps),qc(e,t,r,o=Pl(r.type,o),n);case 15:return jc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Pl(r,o),ou(e,t),t.tag=1,Ki(r)?(e=!0,Yi(t)):e=!1,Fl(t,n),as(t,r,o),ls(t,r,o,n),Hc(null,t,r,!0,e,n);case 19:return ru(e,t,n);case 22:return Fc(e,t,n)}throw Error(xt(156,t.tag))};var cp="function"==typeof reportError?reportError:function(e){console.error(e)};function up(e){this._internalRoot=e}function dp(e){this._internalRoot=e}function pp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function fp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function hp(){}function mp(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=ip(i);l.call(e)}}ap(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=ip(i);a.call(e)}}var i=op(t,r,e,0,null,!1,0,"",hp);return e._reactRootContainer=i,e[_i]=i.current,oi(8===e.nodeType?e.parentNode:e),kd(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=ip(s);l.call(e)}}var s=tp(e,0,!1,null,0,!1,0,"",hp);return e._reactRootContainer=s,e[_i]=s.current,oi(8===e.nodeType?e.parentNode:e),kd((function(){ap(t,s,n,r)})),s}(n,t,e,o,r);return ip(i)}dp.prototype.render=up.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(xt(409));ap(e,t,null,null)},dp.prototype.unmount=up.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;kd((function(){ap(null,e,null,null)})),t[_i]=null}},dp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Fr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Zr.length&&0!==t&&t<Zr[n].priority;n++);Zr.splice(n,0,e),0===n&&Jr(e)}},Dr=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Rr(t.pendingLanes);0!==n&&(Mr(t,1|n),yd(t,fr()),0==(6&Wu)&&(rd=fr()+500,ol()))}break;case 13:kd((function(){var t=Ul(e,1);if(null!==t){var n=md();vd(t,e,1,n)}})),sp(e,1)}},qr=function(e){if(13===e.tag){var t=Ul(e,134217728);if(null!==t)vd(t,e,134217728,md());sp(e,134217728)}},jr=function(e){if(13===e.tag){var t=gd(e),n=Ul(e,t);if(null!==n)vd(n,e,t,md());sp(e,t)}},Fr=function(){return zr},$r=function(e,t){var n=zr;try{return zr=e,t()}finally{zr=n}},qn=function(e,t,n){switch(t){case"input":if(hn(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=Di(r);if(!o)throw Error(xt(90));cn(r),hn(r,o)}}}break;case"textarea":Sn(e,n);break;case"select":null!=(t=n.value)&&yn(e,!!n.multiple,t,!1)}},Hn=Cd,Un=kd;var gp={usingClientEntryPoint:!1,Events:[zi,Ai,Di,Bn,Wn,Cd]},vp={findFiberByHostInstance:Mi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},yp={bundleType:vp.bundleType,version:vp.version,rendererPackageName:vp.rendererPackageName,rendererConfig:vp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:zt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=lr(e))?null:e.stateNode},findFiberByHostInstance:vp.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bp.isDisabled&&bp.supportsFiber)try{xr=bp.inject(yp),Sr=bp}catch(Ln){}}ht.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gp,ht.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!pp(t))throw Error(xt(200));return np(e,t,null,n)},ht.createRoot=function(e,t){if(!pp(e))throw Error(xt(299));var n=!1,r="",o=cp;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=tp(e,1,!1,null,0,n,0,r,o),e[_i]=t.current,oi(8===e.nodeType?e.parentNode:e),new up(t)},ht.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(xt(188));throw e=Object.keys(e).join(","),Error(xt(268,e))}return e=null===(e=lr(t))?null:e.stateNode},ht.flushSync=function(e){return kd(e)},ht.hydrate=function(e,t,n){if(!fp(t))throw Error(xt(200));return mp(null,e,t,!0,n)},ht.hydrateRoot=function(e,t,n){if(!pp(e))throw Error(xt(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",i=cp;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=op(t,null,e,1,null!=n?n:null,o,0,a,i),e[_i]=t.current,oi(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 dp(t)},ht.render=function(e,t,n){if(!fp(t))throw Error(xt(200));return mp(null,e,t,!1,n)},ht.unmountComponentAtNode=function(e){if(!fp(e))throw Error(xt(40));return!!e._reactRootContainer&&(kd((function(){mp(null,null,e,!1,(function(){e._reactRootContainer=null,e[_i]=null}))})),!0)},ht.unstable_batchedUpdates=Cd,ht.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!fp(n))throw Error(xt(200));if(null==e||void 0===e._reactInternals)throw Error(xt(38));return mp(e,t,n,!1,r)},ht.version="18.2.0-next-9e3b772b8-20220608",function(e){!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)}}(),e.exports=ht}(ft);var xp=n(pt);function Sp(){return Sp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sp.apply(this,arguments)}function wp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Ep(e){if(!wp(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Ep(e[n])})),t}function Cp(e,t,n={clone:!0}){const r=n.clone?Sp({},e):e;return wp(e)&&wp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(wp(t[o])&&o in e&&wp(e[o])?r[o]=Cp(e[o],t[o],n):n.clone?r[o]=wp(t[o])?Ep(t[o]):t[o]:r[o]=t[o])})),r}function kp(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 Lp,Rp={},Op={get exports(){return Rp},set exports(e){Rp=e}},Ip={},_p=Symbol.for("react.element"),Tp=Symbol.for("react.portal"),Pp=Symbol.for("react.fragment"),Np=Symbol.for("react.strict_mode"),Mp=Symbol.for("react.profiler"),zp=Symbol.for("react.provider"),Ap=Symbol.for("react.context"),Dp=Symbol.for("react.server_context"),qp=Symbol.for("react.forward_ref"),jp=Symbol.for("react.suspense"),Fp=Symbol.for("react.suspense_list"),$p=Symbol.for("react.memo"),Bp=Symbol.for("react.lazy"),Wp=Symbol.for("react.offscreen");function Hp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case _p:switch(e=e.type){case Pp:case Mp:case Np:case jp:case Fp:return e;default:switch(e=e&&e.$$typeof){case Dp:case Ap:case qp:case Bp:case $p:case zp:return e;default:return t}}case Tp:return t}}}function Up(e){if("string"!=typeof e)throw new Error(kp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Vp(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Gp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Kp(e,t){return d.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Zp(e){return e&&e.ownerDocument||document}function Xp(e){return Zp(e).defaultView||window}function Qp(e,t){"function"==typeof e?e(t):e&&(e.current=t)}Lp=Symbol.for("react.module.reference"),Ip.ContextConsumer=Ap,Ip.ContextProvider=zp,Ip.Element=_p,Ip.ForwardRef=qp,Ip.Fragment=Pp,Ip.Lazy=Bp,Ip.Memo=$p,Ip.Portal=Tp,Ip.Profiler=Mp,Ip.StrictMode=Np,Ip.Suspense=jp,Ip.SuspenseList=Fp,Ip.isAsyncMode=function(){return!1},Ip.isConcurrentMode=function(){return!1},Ip.isContextConsumer=function(e){return Hp(e)===Ap},Ip.isContextProvider=function(e){return Hp(e)===zp},Ip.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===_p},Ip.isForwardRef=function(e){return Hp(e)===qp},Ip.isFragment=function(e){return Hp(e)===Pp},Ip.isLazy=function(e){return Hp(e)===Bp},Ip.isMemo=function(e){return Hp(e)===$p},Ip.isPortal=function(e){return Hp(e)===Tp},Ip.isProfiler=function(e){return Hp(e)===Mp},Ip.isStrictMode=function(e){return Hp(e)===Np},Ip.isSuspense=function(e){return Hp(e)===jp},Ip.isSuspenseList=function(e){return Hp(e)===Fp},Ip.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Pp||e===Mp||e===Np||e===jp||e===Fp||e===Wp||"object"==typeof e&&null!==e&&(e.$$typeof===Bp||e.$$typeof===$p||e.$$typeof===zp||e.$$typeof===Ap||e.$$typeof===qp||e.$$typeof===Lp||void 0!==e.getModuleId)},Ip.typeOf=Hp,function(e){e.exports=Ip}(Op);var Yp="undefined"!=typeof window?d.useLayoutEffect:d.useEffect;let Jp=0;const ef=K.useId;function tf(e){if(void 0!==ef){const t=ef();return null!=e?e:t}return function(e){const[t,n]=d.useState(e),r=e||t;return d.useEffect((()=>{null==t&&(Jp+=1,n(`mui-${Jp}`))}),[t]),r}(e)}function nf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=d.useRef(void 0!==e),[a,i]=d.useState(t);return[o?e:a,d.useCallback((e=>{o||i(e)}),[])]}function rf(e){const t=d.useRef(e);return Yp((()=>{t.current=e})),d.useCallback(((...e)=>(0,t.current)(...e)),[])}function of(...e){return d.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{Qp(e,t)}))}),e)}let af,lf=!0,sf=!1;const cf={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 uf(e){e.metaKey||e.altKey||e.ctrlKey||(lf=!0)}function df(){lf=!1}function pf(){"hidden"===this.visibilityState&&sf&&(lf=!0)}function ff(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return lf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!cf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function hf(){const e=d.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",uf,!0),t.addEventListener("mousedown",df,!0),t.addEventListener("pointerdown",df,!0),t.addEventListener("touchstart",df,!0),t.addEventListener("visibilitychange",pf,!0))}),[]),t=d.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!ff(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(sf=!0,window.clearTimeout(af),af=window.setTimeout((()=>{sf=!1}),100),t.current=!1,!0)},ref:e}}function mf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var gf=e=>{const t=d.useRef({});return d.useEffect((()=>{t.current=e})),t.current};function vf(e,t){const n=Sp({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Sp({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=Sp({},a),Object.keys(o).forEach((e=>{n[r][e]=vf(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function yf(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}const bf=e=>e;var xf=(()=>{let e=bf;return{configure(t){e=t},generate:t=>e(t),reset(){e=bf}}})();const Sf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function wf(e,t,n="Mui"){const r=Sf[t];return r?`${n}-${r}`:`${xf.generate(e)}-${t}`}function Ef(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=wf(e,t,n)})),r}function Cf(){return Cf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cf.apply(this,arguments)}function kf(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Lf(){return Lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lf.apply(this,arguments)}function Rf(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Of=/^((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|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,If=Rf((function(e){return Of.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var _f=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Tf="-ms-",Pf="-moz-",Nf="-webkit-",Mf="comm",zf="rule",Af="decl",Df="@keyframes",qf=Math.abs,jf=String.fromCharCode,Ff=Object.assign;function $f(e){return e.trim()}function Bf(e,t,n){return e.replace(t,n)}function Wf(e,t){return e.indexOf(t)}function Hf(e,t){return 0|e.charCodeAt(t)}function Uf(e,t,n){return e.slice(t,n)}function Vf(e){return e.length}function Gf(e){return e.length}function Kf(e,t){return t.push(e),e}var Zf=1,Xf=1,Qf=0,Yf=0,Jf=0,eh="";function th(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Zf,column:Xf,length:i,return:""}}function nh(e,t){return Ff(th("",null,null,"",null,null,0),e,{length:-e.length},t)}function rh(){return Jf=Yf>0?Hf(eh,--Yf):0,Xf--,10===Jf&&(Xf=1,Zf--),Jf}function oh(){return Jf=Yf<Qf?Hf(eh,Yf++):0,Xf++,10===Jf&&(Xf=1,Zf++),Jf}function ah(){return Hf(eh,Yf)}function ih(){return Yf}function lh(e,t){return Uf(eh,e,t)}function sh(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 ch(e){return Zf=Xf=1,Qf=Vf(eh=e),Yf=0,[]}function uh(e){return eh="",e}function dh(e){return $f(lh(Yf-1,hh(91===e?e+2:40===e?e+1:e)))}function ph(e){for(;(Jf=ah())&&Jf<33;)oh();return sh(e)>2||sh(Jf)>3?"":" "}function fh(e,t){for(;--t&&oh()&&!(Jf<48||Jf>102||Jf>57&&Jf<65||Jf>70&&Jf<97););return lh(e,ih()+(t<6&&32==ah()&&32==oh()))}function hh(e){for(;oh();)switch(Jf){case e:return Yf;case 34:case 39:34!==e&&39!==e&&hh(Jf);break;case 40:41===e&&hh(e);break;case 92:oh()}return Yf}function mh(e,t){for(;oh()&&e+Jf!==57&&(e+Jf!==84||47!==ah()););return"/*"+lh(t,Yf-1)+"*"+jf(47===e?e:oh())}function gh(e){for(;!sh(ah());)oh();return lh(e,Yf)}function vh(e){return uh(yh("",null,null,null,[""],e=ch(e),0,[0],e))}function yh(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,v=1,y=0,b="",x=o,S=a,w=r,E=b;g;)switch(h=y,y=oh()){case 40:if(108!=h&&58==Hf(E,d-1)){-1!=Wf(E+=Bf(dh(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=dh(y);break;case 9:case 10:case 13:case 32:E+=ph(h);break;case 92:E+=fh(ih()-1,7);continue;case 47:switch(ah()){case 42:case 47:Kf(xh(mh(oh(),ih()),t,n),s);break;default:E+="/"}break;case 123*m:l[c++]=Vf(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:f>0&&Vf(E)-d&&Kf(f>32?Sh(E+";",r,n,d-1):Sh(Bf(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(Kf(w=bh(E,t,n,c,u,o,l,b,x=[],S=[],d),a),123===y)if(0===u)yh(E,t,w,w,x,a,d,l,S);else switch(99===p&&110===Hf(E,3)?100:p){case 100:case 109:case 115:yh(e,w,w,r&&Kf(bh(e,w,w,0,0,o,l,b,o,x=[],d),S),o,S,d,l,r?x:S);break;default:yh(E,w,w,w,[""],S,0,l,S)}}c=u=f=0,m=v=1,b=E="",d=i;break;case 58:d=1+Vf(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==rh())continue;switch(E+=jf(y),y*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:l[c++]=(Vf(E)-1)*v,v=1;break;case 64:45===ah()&&(E+=dh(oh())),p=ah(),u=d=Vf(b=E+=gh(ih())),y++;break;case 45:45===h&&2==Vf(E)&&(m=0)}}return a}function bh(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=Gf(p),h=0,m=0,g=0;h<r;++h)for(var v=0,y=Uf(e,d+1,d=qf(m=i[h])),b=e;v<f;++v)(b=$f(m>0?p[v]+" "+y:Bf(y,/&\f/g,p[v])))&&(s[g++]=b);return th(e,t,n,0===o?zf:l,s,c,u)}function xh(e,t,n){return th(e,t,n,Mf,jf(Jf),Uf(e,2,-2),0)}function Sh(e,t,n,r){return th(e,t,n,Af,Uf(e,0,r),Uf(e,r+1,-1),r)}function wh(e,t){for(var n="",r=Gf(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Eh(e,t,n,r){switch(e.type){case"@import":case Af:return e.return=e.return||e.value;case Mf:return"";case Df:return e.return=e.value+"{"+wh(e.children,r)+"}";case zf:e.value=e.props.join(",")}return Vf(n=wh(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ch(e){var t=Gf(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var kh=function(e,t,n){for(var r=0,o=0;r=o,o=ah(),38===r&&12===o&&(t[n]=1),!sh(o);)oh();return lh(e,Yf)},Lh=function(e,t){return uh(function(e,t){var n=-1,r=44;do{switch(sh(r)){case 0:38===r&&12===ah()&&(t[n]=1),e[n]+=kh(Yf-1,t,n);break;case 2:e[n]+=dh(r);break;case 4:if(44===r){e[++n]=58===ah()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=jf(r)}}while(r=oh());return e}(ch(e),t))},Rh=new WeakMap,Oh=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)||Rh.get(n))&&!r){Rh.set(e,!0);for(var o=[],a=Lh(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},Ih=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function _h(e,t){switch(function(e,t){return 45^Hf(e,0)?(((t<<2^Hf(e,0))<<2^Hf(e,1))<<2^Hf(e,2))<<2^Hf(e,3):0}(e,t)){case 5103:return Nf+"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 Nf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Nf+e+Pf+e+Tf+e+e;case 6828:case 4268:return Nf+e+Tf+e+e;case 6165:return Nf+e+Tf+"flex-"+e+e;case 5187:return Nf+e+Bf(e,/(\w+).+(:[^]+)/,Nf+"box-$1$2"+Tf+"flex-$1$2")+e;case 5443:return Nf+e+Tf+"flex-item-"+Bf(e,/flex-|-self/,"")+e;case 4675:return Nf+e+Tf+"flex-line-pack"+Bf(e,/align-content|flex-|-self/,"")+e;case 5548:return Nf+e+Tf+Bf(e,"shrink","negative")+e;case 5292:return Nf+e+Tf+Bf(e,"basis","preferred-size")+e;case 6060:return Nf+"box-"+Bf(e,"-grow","")+Nf+e+Tf+Bf(e,"grow","positive")+e;case 4554:return Nf+Bf(e,/([^-])(transform)/g,"$1"+Nf+"$2")+e;case 6187:return Bf(Bf(Bf(e,/(zoom-|grab)/,Nf+"$1"),/(image-set)/,Nf+"$1"),e,"")+e;case 5495:case 3959:return Bf(e,/(image-set\([^]*)/,Nf+"$1$`$1");case 4968:return Bf(Bf(e,/(.+:)(flex-)?(.*)/,Nf+"box-pack:$3"+Tf+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Nf+e+e;case 4095:case 3583:case 4068:case 2532:return Bf(e,/(.+)-inline(.+)/,Nf+"$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(Vf(e)-1-t>6)switch(Hf(e,t+1)){case 109:if(45!==Hf(e,t+4))break;case 102:return Bf(e,/(.+:)(.+)-([^]+)/,"$1"+Nf+"$2-$3$1"+Pf+(108==Hf(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Wf(e,"stretch")?_h(Bf(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Hf(e,t+1))break;case 6444:switch(Hf(e,Vf(e)-3-(~Wf(e,"!important")&&10))){case 107:return Bf(e,":",":"+Nf)+e;case 101:return Bf(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Nf+(45===Hf(e,14)?"inline-":"")+"box$3$1"+Nf+"$2$3$1"+Tf+"$2box$3")+e}break;case 5936:switch(Hf(e,t+11)){case 114:return Nf+e+Tf+Bf(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Nf+e+Tf+Bf(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Nf+e+Tf+Bf(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Nf+e+Tf+e+e}return e}var Th="undefined"!=typeof document,Ph=Th?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return Rf((function(){var e={};return function(t){return e[t]}}))})),Nh=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Af:e.return=_h(e.value,e.length);break;case Df:return wh([nh(e,{value:Bf(e.value,"@","@"+Nf)})],r);case zf: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 wh([nh(e,{props:[Bf(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return wh([nh(e,{props:[Bf(t,/:(plac\w+)/,":"+Nf+"input-$1")]}),nh(e,{props:[Bf(t,/:(plac\w+)/,":-moz-$1")]}),nh(e,{props:[Bf(t,/:(plac\w+)/,Tf+"input-$1")]})],r)}return""}))}}],Mh=function(e){var t=e.key;if(Th&&"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,a=e.stylisPlugins||Nh,i={},l=[];Th&&(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++)i[t[n]]=!0;l.push(e)})));var s,c=[Oh,Ih];if(Th){var u,d=[Eh,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Ch(c.concat(a,d));o=function(e,t,n,r){u=n,function(e){wh(vh(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[Eh],h=Ch(c.concat(a,f)),m=Ph(a)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return wh(vh(e),h)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};o=function(e,t,n,r){var o=t.name,a=g(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new _f({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return v.sheet.hydrate(l),v},zh=Rp,Ah={};Ah[zh.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ah[zh.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Dh="undefined"!=typeof document;function qh(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var jh=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Dh&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Fh=function(e,t,n){jh(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);Dh||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Dh&&0!==o.length)return o}};var $h={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Bh=/[A-Z]|^ms/g,Wh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Hh=function(e){return 45===e.charCodeAt(1)},Uh=function(e){return null!=e&&"boolean"!=typeof e},Vh=Rf((function(e){return Hh(e)?e:e.replace(Bh,"-$&").toLowerCase()})),Gh=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Wh,(function(e,t,n){return Zh={name:t,styles:n,next:Zh},t}))}return 1===$h[e]||Hh(e)||"number"!=typeof t||0===t?t:t+"px"};function Kh(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Zh={name:n.name,styles:n.styles,next:Zh},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Zh={name:r.name,styles:r.styles,next:Zh},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Kh(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":Uh(i)&&(r+=Vh(a)+":"+Gh(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Kh(e,t,i);switch(a){case"animation":case"animationName":r+=Vh(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Uh(i[s])&&(r+=Vh(a)+":"+Gh(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Zh,a=n(e);return Zh=o,Kh(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Zh,Xh=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Qh=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Zh=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Kh(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Kh(n,t,e[i]),r&&(o+=a[i]);Xh.lastIndex=0;for(var l,s="";null!==(l=Xh.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:Zh}},Yh="undefined"!=typeof document,Jh=function(e){return e()},em=!!K.useInsertionEffect&&K.useInsertionEffect,tm=Yh&&em||Jh,nm=em||d.useLayoutEffect,rm="undefined"!=typeof document,om=d.createContext("undefined"!=typeof HTMLElement?Mh({key:"css"}):null),am=om.Provider,im=function(e){return d.forwardRef((function(t,n){var r=d.useContext(om);return e(t,r,n)}))};rm||(im=function(e){return function(t){var n=d.useContext(om);return null===n?(n=Mh({key:"css"}),d.createElement(om.Provider,{value:n},e(t,n))):e(t,n)}});var lm=d.createContext({}),sm=im((function(e,t){var n=e.styles,r=Qh([n],void 0,d.useContext(lm));if(!rm){for(var o,a=r.name,i=r.styles,l=r.next;void 0!==l;)a+=" "+l.name,i+=l.styles,l=l.next;var s=!0===t.compat,c=t.insert("",{name:a,styles:i},t.sheet,s);return s?null:d.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var u=d.useRef();return nm((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),u.current=[n,o],function(){n.flush()}}),[t]),nm((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Fh(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function cm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qh(t)}var um=function(){var e=cm.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_"}}},dm=If,pm=function(e){return"theme"!==e},fm=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?dm:pm},hm=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},mm="undefined"!=typeof document,gm=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;jh(t,n,r);var o=tm((function(){return Fh(t,n,r)}));if(!mm&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return d.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},vm=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=hm(t,n,a),s=l||fm(i),c=!s("as");return function(){var u=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)p.push.apply(p,u);else{p.push(u[0][0]);for(var f=u.length,h=1;h<f;h++)p.push(u[h],u[0][h])}var m=im((function(e,t,n){var r=c&&e.as||i,a="",u=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=d.useContext(lm)}"string"==typeof e.className?a=qh(t.registered,u,e.className):null!=e.className&&(a=e.className+" ");var m=Qh(p.concat(u),t.registered,f);a+=t.key+"-"+m.name,void 0!==o&&(a+=" "+o);var g=c&&void 0===l?fm(r):s,v={};for(var y in e)c&&"as"===y||g(y)&&(v[y]=e[y]);return v.className=a,v.ref=n,d.createElement(d.Fragment,null,d.createElement(gm,{cache:t,serialized:m,isStringTag:"string"==typeof r}),d.createElement(r,v))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=p,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,Lf({},n,r,{shouldForwardProp:hm(m,r,!0)})).apply(void 0,p)},m}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){vm[e]=vm(e)}));var ym={},bm={get exports(){return ym},set exports(e){ym=e}},xm={},Sm=d,wm=Symbol.for("react.element"),Em=Symbol.for("react.fragment"),Cm=Object.prototype.hasOwnProperty,km=Sm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Lm={key:!0,ref:!0,__self:!0,__source:!0};function Rm(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Cm.call(t,r)&&!Lm.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:wm,type:e,key:a,ref:i,props:o,_owner:km.current}}xm.Fragment=Em,xm.jsx=Rm,xm.jsxs=Rm,function(e){e.exports=xm}(bm);const Om=Mh({key:"css",prepend:!0});function Im(e){const{injectFirst:t,children:n}=e;return t?ym.jsx(am,{value:Om,children:n}):n}function _m(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 ym.jsx(sm,{styles:r})}
|
|
28
28
|
/** @license MUI v5.11.0
|
|
29
29
|
*
|
|
30
30
|
* This source code is licensed under the MIT license found in the
|
|
31
31
|
* LICENSE file in the root directory of this source tree.
|
|
32
|
-
*/function km(e,t){return dm(e,t)}function Lm(){return Lm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lm.apply(this,arguments)}function Rm(e,t){return t?Ep(e,t,{clone:!1}):e}const Om={xs:0,sm:600,md:900,lg:1200,xl:1536},Im={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Om[e]}px)`};function _m(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Im;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Im;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Om).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Tm({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 a;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[a],a=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[a],a=n):t[n]=e,t)),{})}function Pm(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 Nm(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Pm(e,n)||r,t&&(o=t(o,r,e)),o}function Mm(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Pm(e.theme,r)||{};return _m(e,a,(e=>{let r=Nm(i,o,e);return e===r&&"string"==typeof e&&(r=Nm(i,o,`${t}${"default"===e?"":Up(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes={},a.filterProps=[t],a}function zm(...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]?Rm(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}const Am={m:"margin",p:"padding"},qm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Dm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},jm=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Dm[e])return[e];e=Dm[e]}const[t,n]=e.split(""),r=Am[t],o=qm[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Fm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$m=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Bm(e,t,n,r){var o;const a=null!=(o=Pm(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function Wm(e){return Bm(e,"spacing",8)}function Um(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 Hm(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Um(t,n),e)),{})}(jm(n),r);return _m(e,e[n],o)}function Vm(e,t){const n=Wm(e.theme);return Object.keys(e).map((r=>Hm(e,t,r,n))).reduce(Rm,{})}function Gm(e){return Vm(e,Fm)}function Km(e){return Vm(e,$m)}function Zm(e){return"number"!=typeof e?e:`${e}px solid`}Gm.propTypes={},Gm.filterProps=Fm,Km.propTypes={},Km.filterProps=$m;const Xm=Mm({prop:"border",themeKey:"borders",transform:Zm}),Qm=Mm({prop:"borderTop",themeKey:"borders",transform:Zm}),Ym=Mm({prop:"borderRight",themeKey:"borders",transform:Zm}),Jm=Mm({prop:"borderBottom",themeKey:"borders",transform:Zm}),eg=Mm({prop:"borderLeft",themeKey:"borders",transform:Zm}),tg=Mm({prop:"borderColor",themeKey:"palette"}),ng=Mm({prop:"borderTopColor",themeKey:"palette"}),rg=Mm({prop:"borderRightColor",themeKey:"palette"}),og=Mm({prop:"borderBottomColor",themeKey:"palette"}),ag=Mm({prop:"borderLeftColor",themeKey:"palette"}),ig=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Bm(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Um(t,e)});return _m(e,e.borderRadius,n)}return null};ig.propTypes={},ig.filterProps=["borderRadius"],zm(Xm,Qm,Ym,Jm,eg,tg,ng,rg,og,ag,ig);const lg=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Bm(e.theme,"spacing",8),n=e=>({gap:Um(t,e)});return _m(e,e.gap,n)}return null};lg.propTypes={},lg.filterProps=["gap"];const sg=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Bm(e.theme,"spacing",8),n=e=>({columnGap:Um(t,e)});return _m(e,e.columnGap,n)}return null};sg.propTypes={},sg.filterProps=["columnGap"];const cg=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Bm(e.theme,"spacing",8),n=e=>({rowGap:Um(t,e)});return _m(e,e.rowGap,n)}return null};cg.propTypes={},cg.filterProps=["rowGap"];function ug(e,t){return"grey"===t?t:e}zm(lg,sg,cg,Mm({prop:"gridColumn"}),Mm({prop:"gridRow"}),Mm({prop:"gridAutoFlow"}),Mm({prop:"gridAutoColumns"}),Mm({prop:"gridAutoRows"}),Mm({prop:"gridTemplateColumns"}),Mm({prop:"gridTemplateRows"}),Mm({prop:"gridTemplateAreas"}),Mm({prop:"gridArea"}));function dg(e){return e<=1&&0!==e?100*e+"%":e}zm(Mm({prop:"color",themeKey:"palette",transform:ug}),Mm({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ug}),Mm({prop:"backgroundColor",themeKey:"palette",transform:ug}));const pg=Mm({prop:"width",transform:dg}),fg=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||Om[t]||dg(t)}};return _m(e,e.maxWidth,t)}return null};fg.filterProps=["maxWidth"];const hg=Mm({prop:"minWidth",transform:dg}),mg=Mm({prop:"height",transform:dg}),gg=Mm({prop:"maxHeight",transform:dg}),vg=Mm({prop:"minHeight",transform:dg});Mm({prop:"size",cssProperty:"width",transform:dg}),Mm({prop:"size",cssProperty:"height",transform:dg});zm(pg,fg,hg,mg,gg,vg,Mm({prop:"boxSizing"}));var yg={border:{themeKey:"borders",transform:Zm},borderTop:{themeKey:"borders",transform:Zm},borderRight:{themeKey:"borders",transform:Zm},borderBottom:{themeKey:"borders",transform:Zm},borderLeft:{themeKey:"borders",transform:Zm},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ig},color:{themeKey:"palette",transform:ug},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ug},backgroundColor:{themeKey:"palette",transform:ug},p:{style:Km},pt:{style:Km},pr:{style:Km},pb:{style:Km},pl:{style:Km},px:{style:Km},py:{style:Km},padding:{style:Km},paddingTop:{style:Km},paddingRight:{style:Km},paddingBottom:{style:Km},paddingLeft:{style:Km},paddingX:{style:Km},paddingY:{style:Km},paddingInline:{style:Km},paddingInlineStart:{style:Km},paddingInlineEnd:{style:Km},paddingBlock:{style:Km},paddingBlockStart:{style:Km},paddingBlockEnd:{style:Km},m:{style:Gm},mt:{style:Gm},mr:{style:Gm},mb:{style:Gm},ml:{style:Gm},mx:{style:Gm},my:{style:Gm},margin:{style:Gm},marginTop:{style:Gm},marginRight:{style:Gm},marginBottom:{style:Gm},marginLeft:{style:Gm},marginX:{style:Gm},marginY:{style:Gm},marginInline:{style:Gm},marginInlineStart:{style:Gm},marginInlineEnd:{style:Gm},marginBlock:{style:Gm},marginBlockStart:{style:Gm},marginBlockEnd:{style:Gm},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:lg},rowGap:{style:cg},columnGap:{style:sg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:dg},maxWidth:{style:fg},minWidth:{transform:dg},height:{transform:dg},maxHeight:{transform:dg},minHeight:{transform:dg},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const bg=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:c}=a;if(null==t)return null;const u=Pm(n,l)||{};if(c)return c(o);return _m(o,t,(t=>{let n=Nm(u,s,t);return t===n&&"string"==typeof t&&(n=Nm(u,s,`${e}${"default"===t?"":Up(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:yg;function l(n){let r=n;if("function"==typeof n)r=n(a);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)),{}))||{}}(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(i[n])s=Rm(s,e(n,o,a,i));else{const e=_m({theme:a},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=Rm(s,e):s[n]=t({sx:o,theme:a})}else s=Rm(s,e(n,o,a,i))})),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)}}();bg.filterProps=["sx"];var xg=bg;function Sg(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const wg=["sx"];function Eg(e){const{sx:t}=e,n=Sg(e,wg),{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:yg;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Sp(n)?Lm({},r,n):r}:Lm({},r,t),Lm({},o,{sx:a})}function Cg(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Cg(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function kg(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Cg(e))&&(r&&(r+=" "),r+=t);return r}const Lg=["values","unit","step"];function Rg(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Sg(e,Lg),a=(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)=>Lm({},e,{[t.key]:t.val})),{})})(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return Lm({keys:i,values:a,up:l,down:s,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var Og={borderRadius:4};function Ig(e=8){if(e.mui)return e;const t=Wm({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}const _g=["breakpoints","palette","spacing","shape"];function Tg(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=Sg(e,_g),l=Rg(n),s=Ig(o);let c=Ep({breakpoints:l,direction:"ltr",components:{},palette:Lm({mode:"light"},r),spacing:s,shape:Lm({},Og,a)},i);return c=t.reduce(((e,t)=>Ep(e,t)),c),c.unstable_sxConfig=Lm({},yg,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return xg({sx:e,theme:this})},c}function Pg(){return Pg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pg.apply(this,arguments)}var Ng=Re.createContext(null);function Mg(){return Re.useContext(Ng)}var zg="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Ag(e){const{children:t,theme:n}=e,r=Mg(),o=Re.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return Pg({},e,t)}(r,n);return null!=e&&(e[zg]=null!==r),e}),[n,r]);return pm.jsx(Ng.Provider,{value:o,children:t})}function qg(e=null){const t=Mg();return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Dg=Tg();function jg(e=Dg){return qg(e)}const Fg=["className","component"];const $g=["variant"];function Bg(e){return 0===e.length}function Wg(e){const{variant:t}=e,n=Sg(e,$g);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?Bg(r)?e[t]:Up(e[t]):`${Bg(r)?t:Up(t)}${Up(e[t].toString())}`})),r}const Ug=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Hg=["theme"],Vg=["theme"];function Gg(e){return 0===Object.keys(e).length}function Kg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Zg=Tg();function Xg({props:e,name:t,defaultTheme:n}){const r=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?df(t.components[n].defaultProps,r):r}({theme:jg(n),name:t,props:e});return r}function Qg(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function Yg(e){if(e.type)return e;if("#"===e.charAt(0))return Yg(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(Cp(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(Cp(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function Jg(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 ev(e){let t="hsl"===(e=Yg(e)).type||"hsla"===e.type?Yg(function(e){e=Yg(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Jg({type:l,values:s})}(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 tv(e,t){return e=Yg(e),t=Qg(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Jg(e)}const nv={};function rv(e){const t=jg();return pm.jsx(tm.Provider,{value:"object"==typeof t?t:nv,children:e.children})}function ov(e){const{children:t,theme:n}=e;return pm.jsx(Ag,{theme:n,children:pm.jsx(rv,{children:t})})}const av=["defaultProps","mixins","overrides","palette","props","styleOverrides"],iv=["type","mode"];var lv={black:"#000",white:"#fff"};var sv={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"};var cv={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var uv={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var dv={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var pv={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var fv={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var hv={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const mv=["mode","contrastThreshold","tonalOffset"],gv={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:lv.white,default:lv.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}},vv={text:{primary:lv.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:lv.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 yv(e,t,n,r){const o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=Yg(e),t=Qg(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 Jg(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=Yg(e),t=Qg(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 Jg(e)}(e.main,a)))}function bv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=bf(e,mv),a=e.primary||function(e="light"){return"dark"===e?{main:pv[200],light:pv[50],dark:pv[400]}:{main:pv[700],light:pv[400],dark:pv[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:cv[200],light:cv[50],dark:cv[400]}:{main:cv[500],light:cv[300],dark:cv[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:uv[500],light:uv[300],dark:uv[700]}:{main:uv[700],light:uv[400],dark:uv[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:fv[400],light:fv[300],dark:fv[700]}:{main:fv[700],light:fv[500],dark:fv[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:hv[400],light:hv[300],dark:hv[700]}:{main:hv[800],light:hv[500],dark:hv[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:dv[400],light:dv[300],dark:dv[700]}:{main:"#ed6c02",light:dv[500],dark:dv[900]}}(t);function d(e){const t=function(e,t){const n=ev(e),r=ev(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,vv.text.primary)>=n?vv.text.primary:gv.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=yf({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Cp(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Cp(12,t?` (${t})`:"",JSON.stringify(e.main)));return yv(e,"light",o,r),yv(e,"dark",a,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:vv,light:gv};return Ep(yf({common:yf({},lv),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:sv,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const xv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Sv={textTransform:"uppercase"},wv='"Roboto", "Helvetica", "Arial", sans-serif';function Ev(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=wv,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=bf(n,xv),f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,a)=>{return yf({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===wv?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,u);var i},g={h1:m(a,96,1.167,-1.5),h2:m(a,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(l,14,1.75,.4,Sv),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,Sv)};return Ep(yf({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function Cv(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var kv=["none",Cv(0,2,1,-1,0,1,1,0,0,1,3,0),Cv(0,3,1,-2,0,2,2,0,0,1,5,0),Cv(0,3,3,-2,0,3,4,0,0,1,8,0),Cv(0,2,4,-1,0,4,5,0,0,1,10,0),Cv(0,3,5,-1,0,5,8,0,0,1,14,0),Cv(0,3,5,-1,0,6,10,0,0,1,18,0),Cv(0,4,5,-2,0,7,10,1,0,2,16,1),Cv(0,5,5,-3,0,8,10,1,0,3,14,2),Cv(0,5,6,-3,0,9,12,1,0,3,16,2),Cv(0,6,6,-3,0,10,14,1,0,4,18,3),Cv(0,6,7,-4,0,11,15,1,0,4,20,3),Cv(0,7,8,-4,0,12,17,2,0,5,22,4),Cv(0,7,8,-4,0,13,19,2,0,5,24,4),Cv(0,7,9,-4,0,14,21,2,0,5,26,4),Cv(0,8,9,-5,0,15,22,2,0,6,28,5),Cv(0,8,10,-5,0,16,24,2,0,6,30,5),Cv(0,8,11,-5,0,17,26,2,0,6,32,5),Cv(0,9,11,-5,0,18,28,2,0,7,34,6),Cv(0,9,12,-6,0,19,29,2,0,7,36,6),Cv(0,10,13,-6,0,20,31,3,0,8,38,7),Cv(0,10,13,-6,0,21,33,3,0,8,40,7),Cv(0,10,14,-6,0,22,35,3,0,8,42,7),Cv(0,11,14,-7,0,23,36,3,0,9,44,8),Cv(0,11,15,-7,0,24,38,3,0,9,46,8)];const Lv=["duration","easing","delay"],Rv={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)"},Ov={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Iv(e){return`${Math.round(e)}ms`}function _v(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Tv(e){const t=yf({},Rv,e.easing),n=yf({},Ov,e.duration);return yf({getAutoHeightDuration:_v,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0}=r;return bf(r,Lv),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Iv(o)} ${a} ${"string"==typeof i?i:Iv(i)}`)).join(",")}},e,{easing:t,duration:n})}var Pv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Nv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Mv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,i=bf(e,Nv);if(e.vars)throw new Error(Cp(18));const l=bv(r),s=Tg(e);let c=Ep(s,{mixins:(u=s.breakpoints,d=n,yf({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:kv.slice(),typography:Ev(l,a),transitions:Tv(o),zIndex:yf({},Pv)});var u,d;return c=Ep(c,i),c=t.reduce(((e,t)=>Ep(e,t)),c),c.unstable_sxConfig=yf({},yg,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return xg({sx:e,theme:this})},c}var zv=Mv();function Av(){return jg(zv)}function qv({props:e,name:t}){return Xg({props:e,name:t,defaultTheme:zv})}const Dv=e=>Kg(e)&&"classes"!==e,jv=function(e={}){const{defaultTheme:t=Zg,rootShouldForwardProp:n=Kg,slotShouldForwardProp:r=Kg}=e,o=e=>{const n=Gg(e.theme)?t:e.theme;return xg(Lm({},e,{theme:n}))};return o.__mui_systemSx=!0,(e,a={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:i,slot:l,skipVariantsResolver:s,skipSx:c,overridesResolver:u}=a,d=Sg(a,Ug),p=void 0!==s?s:l&&"Root"!==l||!1,f=c||!1;let h=Kg;"Root"===l?h=n:l?h=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=km(e,Lm({shouldForwardProp:h,label:undefined},d)),g=(e,...n)=>{const r=n?n.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>{let{theme:r}=n,o=Sg(n,Hg);return e(Lm({theme:Gg(r)?t:r},o))}:e)):[];let a=e;i&&u&&r.push((e=>{const n=Gg(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(i,n);if(r){const t={};return Object.entries(r).forEach((([r,o])=>{t[r]="function"==typeof o?o(Lm({},e,{theme:n})):o})),u(e,t)}return null})),i&&!p&&r.push((e=>{const n=Gg(e.theme)?t:e.theme;return((e,t,n,r)=>{var o,a;const{ownerState:i={}}=e,l=[],s=null==n||null==(o=n.components)||null==(a=o[r])?void 0:a.variants;return s&&s.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{i[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[Wg(n.props)])})),l})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=Wg(e.props);r[t]=e.style})),r})(i,n),n,i)})),f||r.push(o);const l=r.length-n.length;if(Array.isArray(e)&&l>0){const t=new Array(l).fill("");a=[...e,...t],a.raw=[...e.raw,...t]}else"function"==typeof e&&e.__emotion_real!==e&&(a=n=>{let{theme:r}=n,o=Sg(n,Vg);return e(Lm({theme:Gg(r)?t:r},o))});return m(a,...r)};return m.withConfig&&(g.withConfig=m.withConfig),g}}({defaultTheme:zv,rootShouldForwardProp:Dv});var Fv=jv;var $v=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Bv(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Bv(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Wv(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Bv(e))&&(r&&(r+=" "),r+=t);return r}function Uv(){return Uv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uv.apply(this,arguments)}function Hv(e){return"string"==typeof e}function Vv(e,t){return"function"==typeof e?e(t):e}function Gv(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Kv(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Kv(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Zv(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Kv(e))&&(r&&(r+=" "),r+=t);return r}function Xv(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}function Qv(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Zv(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Uv({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Uv({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=function(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}(Uv({},o,r)),l=Xv(r),s=Xv(o),c=t(i),u=Zv(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=Uv({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=Uv({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}const Yv=["elementType","externalSlotProps","ownerState"];function Jv(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=Gv(e,Yv),i=Vv(r,o),{props:l,internalRef:s}=Qv(Uv({},a,{externalSlotProps:i})),c=function(e,t,n){return void 0===e||Hv(e)?t:Uv({},t,{ownerState:Uv({},t.ownerState,n)})}(n,Uv({},l,{ref:Yp(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function ey(e){return gf("MuiBadge",e)}vf("MuiBadge",["root","badge","invisible"]);const ty=["badgeContent","component","children","invisible","max","slotProps","slots","showZero"],ny=Re.forwardRef((function(e,t){const{component:n,children:r,max:o=99,slotProps:a={},slots:i={},showZero:l=!1}=e,s=Gv(e,ty),{badgeContent:c,max:u,displayValue:d,invisible:p}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=uf({badgeContent:t,max:r});let i=n;!1!==n||0!==t||o||(i=!0);const{badgeContent:l,max:s=r}=i?a:e;return{badgeContent:l,invisible:i,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}(Uv({},e,{max:o})),f=Uv({},e,{badgeContent:c,invisible:p,max:u,showZero:l}),h=(e=>{const{invisible:t}=e;return pf({root:["root"],badge:["badge",t&&"invisible"]},ey,void 0)})(f),m=n||i.root||"span",g=Jv({elementType:m,externalSlotProps:a.root,externalForwardedProps:s,additionalProps:{ref:t},ownerState:f,className:h.root}),v=i.badge||"span",y=Jv({elementType:v,externalSlotProps:a.badge,ownerState:f,className:h.badge});return pm.jsxs(m,Uv({},g,{children:[r,pm.jsx(v,Uv({},y,{children:d}))]}))}));var ry=ny;const oy=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ay(e){const t=[],n=[];return Array.from(e.querySelectorAll(oy)).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 iy(){return!0}function ly(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=ay,isEnabled:i=iy,open:l}=e,s=Re.useRef(!1),c=Re.useRef(null),u=Re.useRef(null),d=Re.useRef(null),p=Re.useRef(null),f=Re.useRef(!1),h=Re.useRef(null),m=Yp(t.ref,h),g=Re.useRef(null);Re.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),Re.useEffect((()=>{if(!l||!h.current)return;const e=Gp(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]),Re.useEffect((()=>{if(!l||!h.current)return;const e=Gp(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&i()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=a(h.current)),r.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=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else s.current=!1},n=t=>{g.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,u.current&&u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,i,l,a]);const v=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return pm.jsxs(Re.Fragment,{children:[pm.jsx("div",{tabIndex:l?0:-1,onFocus:v,ref:c,"data-testid":"sentinelStart"}),Re.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)}}),pm.jsx("div",{tabIndex:l?0:-1,onFocus:v,ref:u,"data-testid":"sentinelEnd"})]})}var sy=Re.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=Re.useState(null),l=Yp(Re.isValidElement(n)?n.ref:null,t);if(Xp((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),Xp((()=>{if(a&&!o)return Zp(t,a),()=>{Zp(t,null)}}),[t,a,o]),o){if(Re.isValidElement(n)){const e={ref:l};return Re.cloneElement(n,e)}return pm.jsx(Re.Fragment,{children:n})}return pm.jsx(Re.Fragment,{children:a?dt.createPortal(n,a):a})}));function cy(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function uy(e){return parseInt(Kp(e).getComputedStyle(e).paddingRight,10)||0}function dy(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.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&&cy(e,o)}))}function py(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function fy(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Gp(e);return t.body===e?Kp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=cf(Gp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${uy(r)+e}px`;const t=Gp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${uy(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Gp(r).body;else{const t=r.parentElement,n=Kp(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)}))}}function hy(e){return gf("MuiModal",e)}vf("MuiModal",["root","hidden"]);const my=["children","classes","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];const gy=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&&cy(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);dy(t,e.mount,e.modalRef,r,!0);const o=py(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=py(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=fy(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=py(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&&cy(e.modalRef,t),dy(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&&cy(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},vy=Re.forwardRef((function(e,t){var n,r;const{children:o,classes:a,closeAfterTransition:i=!1,component:l,container:s,disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:f=!1,disableScrollLock:h=!1,hideBackdrop:m=!1,keepMounted:g=!1,manager:v=gy,onBackdropClick:y,onClose:b,onKeyDown:x,open:S,onTransitionEnter:w,onTransitionExited:E,slotProps:C={},slots:k={}}=e,L=Gv(e,my),[R,O]=Re.useState(!S),I=Re.useRef({}),_=Re.useRef(null),T=Re.useRef(null),P=Yp(T,t),N=function(e){return!!e&&e.props.hasOwnProperty("in")}(o),M=null==(n=e["aria-hidden"])||n,z=()=>(I.current.modalRef=T.current,I.current.mountNode=_.current,I.current),A=()=>{v.mount(z(),{disableScrollLock:h}),T.current&&(T.current.scrollTop=0)},q=Qp((()=>{const e=function(e){return"function"==typeof e?e():e}(s)||Gp(_.current).body;v.add(z(),e),T.current&&A()})),D=Re.useCallback((()=>v.isTopModal(z())),[v]),j=Qp((e=>{_.current=e,e&&T.current&&(S&&D()?A():cy(T.current,M))})),F=Re.useCallback((()=>{v.remove(z(),M)}),[v,M]);Re.useEffect((()=>()=>{F()}),[F]),Re.useEffect((()=>{S?q():N&&i||F()}),[S,F,N,i,q]);const $=Uv({},e,{classes:a,closeAfterTransition:i,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:h,exited:R,hideBackdrop:m,keepMounted:g}),B=(e=>{const{open:t,exited:n,classes:r}=e;return pf({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},hy,r)})($),W=()=>{O(!1),w&&w()},U=()=>{O(!0),E&&E(),i&&F()},H={};void 0===o.props.tabIndex&&(H.tabIndex="-1"),N&&(H.onEnter=Hp(W,o.props.onEnter),H.onExited=Hp(U,o.props.onExited));const V=null!=(r=null!=l?l:k.root)?r:"div",G=Jv({elementType:V,externalSlotProps:C.root,externalForwardedProps:L,additionalProps:{ref:P,role:"presentation",onKeyDown:e=>{x&&x(e),"Escape"===e.key&&D()&&(d||(e.stopPropagation(),b&&b(e,"escapeKeyDown")))}},className:B.root,ownerState:$}),K=k.backdrop,Z=Jv({elementType:K,externalSlotProps:C.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(y&&y(e),b&&b(e,"backdropClick"))},open:S},className:B.backdrop,ownerState:$});return g||S||N&&!R?pm.jsx(sy,{ref:j,container:s,disablePortal:p,children:pm.jsxs(V,Uv({},G,{children:[!m&&K?pm.jsx(K,Uv({},Z)):null,pm.jsx(ly,{disableEnforceFocus:u,disableAutoFocus:c,disableRestoreFocus:f,isEnabled:D,open:S,children:Re.cloneElement(o,H)})]}))}):null}));var yy=vy;const by=["onChange","maxRows","minRows","style","value"];function xy(e,t){return parseInt(e[t],10)||0}const Sy={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function wy(e){return null==e||0===Object.keys(e).length}const Ey=Re.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=Gv(e,by),{current:s}=Re.useRef(null!=i),c=Re.useRef(null),u=Yp(t,c),d=Re.useRef(null),p=Re.useRef(0),[f,h]=Re.useState({}),m=Re.useCallback((()=>{const t=c.current,n=Kp(t).getComputedStyle(t);if("0px"===n.width)return{};const a=d.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n["box-sizing"],l=xy(n,"padding-bottom")+xy(n,"padding-top"),s=xy(n,"border-bottom-width")+xy(n,"border-top-width"),u=a.scrollHeight;a.value="x";const p=a.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===i?l+s:0),overflow:Math.abs(f-u)<=1}}),[r,o,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},v=Re.useCallback((()=>{const e=m();wy(e)||h((t=>g(t,e)))}),[m]);Re.useEffect((()=>{const e=Vp((()=>{p.current=0,c.current&&(()=>{const e=m();wy(e)||dt.flushSync((()=>{h((t=>g(t,e)))}))})()})),t=Kp(c.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(c.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),Xp((()=>{v()})),Re.useEffect((()=>{p.current=0}),[i]);return pm.jsxs(Re.Fragment,{children:[pm.jsx("textarea",Uv({value:i,onChange:e=>{p.current=0,s||v(),n&&n(e)},ref:u,rows:o,style:Uv({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},l)),pm.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:Uv({},Sy,a,{padding:0})})]})}));var Cy=Ey;function ky(){return ky=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ky.apply(this,arguments)}function Ly(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Ry(e,t){return Ry=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ry(e,t)}function Oy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ry(e,t)}var Iy=!1,_y=ct.createContext(null),Ty="unmounted",Py="exited",Ny="entering",My="entered",zy="exiting",Ay=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=Py,r.appearStatus=Ny):o=My:o=t.unmountOnExit||t.mountOnEnter?Ty:Py,r.state={status:o},r.nextCallback=null,r}Oy(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ty?{status:Py}: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!==Ny&&n!==My&&(t=Ny):n!==Ny&&n!==My||(t=zy)}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===Ny){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:bp.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Py&&this.setState({status:Ty})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[bp.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Iy?this.safeSetState({status:My},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:Ny},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:My},(function(){t.props.onEntered(a,i)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:bp.findDOMNode(this);t&&!Iy?(this.props.onExit(r),this.safeSetState({status:zy},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Py},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Py},(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:bp.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],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Ty)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=Ly(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ct.createElement(_y.Provider,{value:null},"function"==typeof n?n(e,r):ct.cloneElement(ct.Children.only(n),r))},t}(ct.Component);function qy(){}Ay.contextType=_y,Ay.propTypes={},Ay.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qy,onEntering:qy,onEntered:qy,onExit:qy,onExiting:qy,onExited:qy},Ay.UNMOUNTED=Ty,Ay.EXITED=Py,Ay.ENTERING=Ny,Ay.ENTERED=My,Ay.EXITING=zy;var Dy=Ay;function jy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fy(e,t){var n=Object.create(null);return e&&Re.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Re.isValidElement(e)?t(e):e}(e)})),n}function $y(e,t,n){return null!=n[t]?n[t]:e.props[t]}function By(e,t,n){var r=Fy(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),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<a.length;r++)l[a[r]]=n(a[r]);return l}(t,r);return Object.keys(o).forEach((function(a){var i=o[a];if(Re.isValidElement(i)){var l=a in t,s=a in r,c=t[a],u=Re.isValidElement(c)&&!c.props.in;!s||l&&!u?s||!l||u?s&&l&&Re.isValidElement(c)&&(o[a]=Re.cloneElement(i,{onExited:n.bind(null,i),in:c.props.in,exit:$y(i,"exit",e),enter:$y(i,"enter",e)})):o[a]=Re.cloneElement(i,{in:!1}):o[a]=Re.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:$y(i,"exit",e),enter:$y(i,"enter",e)})}})),o}var Wy=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Uy=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(jy(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Oy(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,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,Fy(n.children,(function(e){return Re.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:$y(e,"appear",n),enter:$y(e,"enter",n),exit:$y(e,"exit",n)})}))):By(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=Fy(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=ky({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ly(e,["component","childFactory"]),o=this.state.contextValue,a=Wy(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?ct.createElement(_y.Provider,{value:o},a):ct.createElement(_y.Provider,{value:o},ct.createElement(t,r,a))},t}(ct.Component);Uy.propTypes={},Uy.defaultProps={component:"div",childFactory:function(e){return e}};var Hy=Uy;var Vy=vf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Gy=["center","classes","className"];let Ky,Zy,Xy,Qy,Yy=e=>e;const Jy=om(Ky||(Ky=Yy`
|
|
32
|
+
*/function Tm(e,t){return vm(e,t)}function Pm(){return Pm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pm.apply(this,arguments)}function Nm(e,t){return t?Cp(e,t,{clone:!1}):e}const Mm={xs:0,sm:600,md:900,lg:1200,xl:1536},zm={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Mm[e]}px)`};function Am(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||zm;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||zm;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Mm).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Dm({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 a;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[a],a=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[a],a=n):t[n]=e,t)),{})}function qm(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 jm(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:qm(e,n)||r,t&&(o=t(o,r,e)),o}function Fm(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=qm(e.theme,r)||{};return Am(e,a,(e=>{let r=jm(i,o,e);return e===r&&"string"==typeof e&&(r=jm(i,o,`${t}${"default"===e?"":Up(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes={},a.filterProps=[t],a}function $m(...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]?Nm(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}const Bm={m:"margin",p:"padding"},Wm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Hm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Um=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Hm[e])return[e];e=Hm[e]}const[t,n]=e.split(""),r=Bm[t],o=Wm[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Vm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Gm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Km(e,t,n,r){var o;const a=null!=(o=qm(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function Zm(e){return Km(e,"spacing",8)}function Xm(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 Qm(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Xm(t,n),e)),{})}(Um(n),r);return Am(e,e[n],o)}function Ym(e,t){const n=Zm(e.theme);return Object.keys(e).map((r=>Qm(e,t,r,n))).reduce(Nm,{})}function Jm(e){return Ym(e,Vm)}function eg(e){return Ym(e,Gm)}function tg(e){return"number"!=typeof e?e:`${e}px solid`}Jm.propTypes={},Jm.filterProps=Vm,eg.propTypes={},eg.filterProps=Gm;const ng=Fm({prop:"border",themeKey:"borders",transform:tg}),rg=Fm({prop:"borderTop",themeKey:"borders",transform:tg}),og=Fm({prop:"borderRight",themeKey:"borders",transform:tg}),ag=Fm({prop:"borderBottom",themeKey:"borders",transform:tg}),ig=Fm({prop:"borderLeft",themeKey:"borders",transform:tg}),lg=Fm({prop:"borderColor",themeKey:"palette"}),sg=Fm({prop:"borderTopColor",themeKey:"palette"}),cg=Fm({prop:"borderRightColor",themeKey:"palette"}),ug=Fm({prop:"borderBottomColor",themeKey:"palette"}),dg=Fm({prop:"borderLeftColor",themeKey:"palette"}),pg=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Km(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Xm(t,e)});return Am(e,e.borderRadius,n)}return null};pg.propTypes={},pg.filterProps=["borderRadius"],$m(ng,rg,og,ag,ig,lg,sg,cg,ug,dg,pg);const fg=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Km(e.theme,"spacing",8),n=e=>({gap:Xm(t,e)});return Am(e,e.gap,n)}return null};fg.propTypes={},fg.filterProps=["gap"];const hg=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Km(e.theme,"spacing",8),n=e=>({columnGap:Xm(t,e)});return Am(e,e.columnGap,n)}return null};hg.propTypes={},hg.filterProps=["columnGap"];const mg=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Km(e.theme,"spacing",8),n=e=>({rowGap:Xm(t,e)});return Am(e,e.rowGap,n)}return null};mg.propTypes={},mg.filterProps=["rowGap"];function gg(e,t){return"grey"===t?t:e}$m(fg,hg,mg,Fm({prop:"gridColumn"}),Fm({prop:"gridRow"}),Fm({prop:"gridAutoFlow"}),Fm({prop:"gridAutoColumns"}),Fm({prop:"gridAutoRows"}),Fm({prop:"gridTemplateColumns"}),Fm({prop:"gridTemplateRows"}),Fm({prop:"gridTemplateAreas"}),Fm({prop:"gridArea"}));function vg(e){return e<=1&&0!==e?100*e+"%":e}$m(Fm({prop:"color",themeKey:"palette",transform:gg}),Fm({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gg}),Fm({prop:"backgroundColor",themeKey:"palette",transform:gg}));const yg=Fm({prop:"width",transform:vg}),bg=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||Mm[t]||vg(t)}};return Am(e,e.maxWidth,t)}return null};bg.filterProps=["maxWidth"];const xg=Fm({prop:"minWidth",transform:vg}),Sg=Fm({prop:"height",transform:vg}),wg=Fm({prop:"maxHeight",transform:vg}),Eg=Fm({prop:"minHeight",transform:vg});Fm({prop:"size",cssProperty:"width",transform:vg}),Fm({prop:"size",cssProperty:"height",transform:vg});$m(yg,bg,xg,Sg,wg,Eg,Fm({prop:"boxSizing"}));var Cg={border:{themeKey:"borders",transform:tg},borderTop:{themeKey:"borders",transform:tg},borderRight:{themeKey:"borders",transform:tg},borderBottom:{themeKey:"borders",transform:tg},borderLeft:{themeKey:"borders",transform:tg},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:pg},color:{themeKey:"palette",transform:gg},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gg},backgroundColor:{themeKey:"palette",transform:gg},p:{style:eg},pt:{style:eg},pr:{style:eg},pb:{style:eg},pl:{style:eg},px:{style:eg},py:{style:eg},padding:{style:eg},paddingTop:{style:eg},paddingRight:{style:eg},paddingBottom:{style:eg},paddingLeft:{style:eg},paddingX:{style:eg},paddingY:{style:eg},paddingInline:{style:eg},paddingInlineStart:{style:eg},paddingInlineEnd:{style:eg},paddingBlock:{style:eg},paddingBlockStart:{style:eg},paddingBlockEnd:{style:eg},m:{style:Jm},mt:{style:Jm},mr:{style:Jm},mb:{style:Jm},ml:{style:Jm},mx:{style:Jm},my:{style:Jm},margin:{style:Jm},marginTop:{style:Jm},marginRight:{style:Jm},marginBottom:{style:Jm},marginLeft:{style:Jm},marginX:{style:Jm},marginY:{style:Jm},marginInline:{style:Jm},marginInlineStart:{style:Jm},marginInlineEnd:{style:Jm},marginBlock:{style:Jm},marginBlockStart:{style:Jm},marginBlockEnd:{style:Jm},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:fg},rowGap:{style:mg},columnGap:{style:hg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vg},maxWidth:{style:bg},minWidth:{transform:vg},height:{transform:vg},maxHeight:{transform:vg},minHeight:{transform:vg},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const kg=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:c}=a;if(null==t)return null;const u=qm(n,l)||{};if(c)return c(o);return Am(o,t,(t=>{let n=jm(u,s,t);return t===n&&"string"==typeof t&&(n=jm(u,s,`${e}${"default"===t?"":Up(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:Cg;function l(n){let r=n;if("function"==typeof n)r=n(a);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)),{}))||{}}(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(i[n])s=Nm(s,e(n,o,a,i));else{const e=Am({theme:a},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=Nm(s,e):s[n]=t({sx:o,theme:a})}else s=Nm(s,e(n,o,a,i))})),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)}}();kg.filterProps=["sx"];var Lg=kg;function Rg(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const Og=["sx"];function Ig(e){const{sx:t}=e,n=Rg(e,Og),{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:Cg;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r})(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return wp(n)?Pm({},r,n):r}:Pm({},r,t),Pm({},o,{sx:a})}function _g(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=_g(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Tg(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=_g(e))&&(r&&(r+=" "),r+=t);return r}const Pg=["values","unit","step"];function Ng(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Rg(e,Pg),a=(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)=>Pm({},e,{[t.key]:t.val})),{})})(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return Pm({keys:i,values:a,up:l,down:s,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var Mg={borderRadius:4};function zg(e=8){if(e.mui)return e;const t=Zm({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}const Ag=["breakpoints","palette","spacing","shape"];function Dg(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=Rg(e,Ag),l=Ng(n),s=zg(o);let c=Cp({breakpoints:l,direction:"ltr",components:{},palette:Pm({mode:"light"},r),spacing:s,shape:Pm({},Mg,a)},i);return c=t.reduce(((e,t)=>Cp(e,t)),c),c.unstable_sxConfig=Pm({},Cg,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return Lg({sx:e,theme:this})},c}function qg(){return qg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qg.apply(this,arguments)}var jg=d.createContext(null);function Fg(){return d.useContext(jg)}var $g="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Bg(e){const{children:t,theme:n}=e,r=Fg(),o=d.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return qg({},e,t)}(r,n);return null!=e&&(e[$g]=null!==r),e}),[n,r]);return ym.jsx(jg.Provider,{value:o,children:t})}function Wg(e=null){const t=Fg();return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Hg=Dg();function Ug(e=Hg){return Wg(e)}const Vg=["className","component"];const Gg=["variant"];function Kg(e){return 0===e.length}function Zg(e){const{variant:t}=e,n=Rg(e,Gg);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?Kg(r)?e[t]:Up(e[t]):`${Kg(r)?t:Up(t)}${Up(e[t].toString())}`})),r}const Xg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Qg=["theme"],Yg=["theme"];function Jg(e){return 0===Object.keys(e).length}function ev(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const tv=Dg();function nv({props:e,name:t,defaultTheme:n}){const r=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?vf(t.components[n].defaultProps,r):r}({theme:Ug(n),name:t,props:e});return r}function rv(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function ov(e){if(e.type)return e;if("#"===e.charAt(0))return ov(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(kp(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(kp(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function av(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 iv(e){let t="hsl"===(e=ov(e)).type||"hsla"===e.type?ov(function(e){e=ov(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),av({type:l,values:s})}(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 lv(e,t){return e=ov(e),t=rv(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,av(e)}const sv={};function cv(e){const t=Ug();return ym.jsx(lm.Provider,{value:"object"==typeof t?t:sv,children:e.children})}function uv(e){const{children:t,theme:n}=e;return ym.jsx(Bg,{theme:n,children:ym.jsx(cv,{children:t})})}const dv=["defaultProps","mixins","overrides","palette","props","styleOverrides"],pv=["type","mode"];var fv={black:"#000",white:"#fff"};var hv={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"};var mv={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var gv={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var vv={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var yv={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var bv={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var xv={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const Sv=["mode","contrastThreshold","tonalOffset"],wv={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:fv.white,default:fv.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}},Ev={text:{primary:fv.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:fv.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 Cv(e,t,n,r){const o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=ov(e),t=rv(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 av(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=ov(e),t=rv(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 av(e)}(e.main,a)))}function kv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=kf(e,Sv),a=e.primary||function(e="light"){return"dark"===e?{main:yv[200],light:yv[50],dark:yv[400]}:{main:yv[700],light:yv[400],dark:yv[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:mv[200],light:mv[50],dark:mv[400]}:{main:mv[500],light:mv[300],dark:mv[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:gv[500],light:gv[300],dark:gv[700]}:{main:gv[700],light:gv[400],dark:gv[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:bv[400],light:bv[300],dark:bv[700]}:{main:bv[700],light:bv[500],dark:bv[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:xv[400],light:xv[300],dark:xv[700]}:{main:xv[800],light:xv[500],dark:xv[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:vv[400],light:vv[300],dark:vv[700]}:{main:"#ed6c02",light:vv[500],dark:vv[900]}}(t);function d(e){const t=function(e,t){const n=iv(e),r=iv(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Ev.text.primary)>=n?Ev.text.primary:wv.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=Cf({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(kp(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(kp(12,t?` (${t})`:"",JSON.stringify(e.main)));return Cv(e,"light",o,r),Cv(e,"dark",a,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Ev,light:wv};return Cp(Cf({common:Cf({},fv),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:hv,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Lv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Rv={textTransform:"uppercase"},Ov='"Roboto", "Helvetica", "Arial", sans-serif';function Iv(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Ov,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=kf(n,Lv),f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,a)=>{return Cf({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Ov?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,u);var i},g={h1:m(a,96,1.167,-1.5),h2:m(a,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(l,14,1.75,.4,Rv),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,Rv)};return Cp(Cf({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function _v(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var Tv=["none",_v(0,2,1,-1,0,1,1,0,0,1,3,0),_v(0,3,1,-2,0,2,2,0,0,1,5,0),_v(0,3,3,-2,0,3,4,0,0,1,8,0),_v(0,2,4,-1,0,4,5,0,0,1,10,0),_v(0,3,5,-1,0,5,8,0,0,1,14,0),_v(0,3,5,-1,0,6,10,0,0,1,18,0),_v(0,4,5,-2,0,7,10,1,0,2,16,1),_v(0,5,5,-3,0,8,10,1,0,3,14,2),_v(0,5,6,-3,0,9,12,1,0,3,16,2),_v(0,6,6,-3,0,10,14,1,0,4,18,3),_v(0,6,7,-4,0,11,15,1,0,4,20,3),_v(0,7,8,-4,0,12,17,2,0,5,22,4),_v(0,7,8,-4,0,13,19,2,0,5,24,4),_v(0,7,9,-4,0,14,21,2,0,5,26,4),_v(0,8,9,-5,0,15,22,2,0,6,28,5),_v(0,8,10,-5,0,16,24,2,0,6,30,5),_v(0,8,11,-5,0,17,26,2,0,6,32,5),_v(0,9,11,-5,0,18,28,2,0,7,34,6),_v(0,9,12,-6,0,19,29,2,0,7,36,6),_v(0,10,13,-6,0,20,31,3,0,8,38,7),_v(0,10,13,-6,0,21,33,3,0,8,40,7),_v(0,10,14,-6,0,22,35,3,0,8,42,7),_v(0,11,14,-7,0,23,36,3,0,9,44,8),_v(0,11,15,-7,0,24,38,3,0,9,46,8)];const Pv=["duration","easing","delay"],Nv={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)"},Mv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function zv(e){return`${Math.round(e)}ms`}function Av(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Dv(e){const t=Cf({},Nv,e.easing),n=Cf({},Mv,e.duration);return Cf({getAutoHeightDuration:Av,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0}=r;return kf(r,Pv),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:zv(o)} ${a} ${"string"==typeof i?i:zv(i)}`)).join(",")}},e,{easing:t,duration:n})}var qv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const jv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Fv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,i=kf(e,jv);if(e.vars)throw new Error(kp(18));const l=kv(r),s=Dg(e);let c=Cp(s,{mixins:(u=s.breakpoints,d=n,Cf({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:Tv.slice(),typography:Iv(l,a),transitions:Dv(o),zIndex:Cf({},qv)});var u,d;return c=Cp(c,i),c=t.reduce(((e,t)=>Cp(e,t)),c),c.unstable_sxConfig=Cf({},Cg,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return Lg({sx:e,theme:this})},c}var $v=Fv();function Bv(){return Ug($v)}function Wv({props:e,name:t}){return nv({props:e,name:t,defaultTheme:$v})}const Hv=e=>ev(e)&&"classes"!==e,Uv=function(e={}){const{defaultTheme:t=tv,rootShouldForwardProp:n=ev,slotShouldForwardProp:r=ev}=e,o=e=>{const n=Jg(e.theme)?t:e.theme;return Lg(Pm({},e,{theme:n}))};return o.__mui_systemSx=!0,(e,a={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:i,slot:l,skipVariantsResolver:s,skipSx:c,overridesResolver:u}=a,d=Rg(a,Xg),p=void 0!==s?s:l&&"Root"!==l||!1,f=c||!1;let h=ev;"Root"===l?h=n:l?h=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const m=Tm(e,Pm({shouldForwardProp:h,label:undefined},d)),g=(e,...n)=>{const r=n?n.map((e=>"function"==typeof e&&e.__emotion_real!==e?n=>{let{theme:r}=n,o=Rg(n,Qg);return e(Pm({theme:Jg(r)?t:r},o))}:e)):[];let a=e;i&&u&&r.push((e=>{const n=Jg(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(i,n);if(r){const t={};return Object.entries(r).forEach((([r,o])=>{t[r]="function"==typeof o?o(Pm({},e,{theme:n})):o})),u(e,t)}return null})),i&&!p&&r.push((e=>{const n=Jg(e.theme)?t:e.theme;return((e,t,n,r)=>{var o,a;const{ownerState:i={}}=e,l=[],s=null==n||null==(o=n.components)||null==(a=o[r])?void 0:a.variants;return s&&s.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{i[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[Zg(n.props)])})),l})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=Zg(e.props);r[t]=e.style})),r})(i,n),n,i)})),f||r.push(o);const l=r.length-n.length;if(Array.isArray(e)&&l>0){const t=new Array(l).fill("");a=[...e,...t],a.raw=[...e.raw,...t]}else"function"==typeof e&&e.__emotion_real!==e&&(a=n=>{let{theme:r}=n,o=Rg(n,Yg);return e(Pm({theme:Jg(r)?t:r},o))});return m(a,...r)};return m.withConfig&&(g.withConfig=m.withConfig),g}}({defaultTheme:$v,rootShouldForwardProp:Hv});var Vv=Uv;var Gv=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Kv(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Kv(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Zv(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Kv(e))&&(r&&(r+=" "),r+=t);return r}function Xv(){return Xv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xv.apply(this,arguments)}function Qv(e){return"string"==typeof e}function Yv(e,t,n){return void 0===e||Qv(e)?t:Xv({},t,{ownerState:Xv({},t.ownerState,n)})}function Jv(e,t){return"function"==typeof e?e(t):e}function ey(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function ty(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ty(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function ny(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ty(e))&&(r&&(r+=" "),r+=t);return r}function ry(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}function oy(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=ny(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Xv({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Xv({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=function(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}(Xv({},o,r)),l=ry(r),s=ry(o),c=t(i),u=ny(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=Xv({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=Xv({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}const ay=["elementType","externalSlotProps","ownerState"];function iy(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=ey(e,ay),i=Jv(r,o),{props:l,internalRef:s}=oy(Xv({},a,{externalSlotProps:i}));return Yv(n,Xv({},l,{ref:of(s,null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}function ly(e){return wf("MuiBadge",e)}Ef("MuiBadge",["root","badge","invisible"]);const sy=["badgeContent","component","children","invisible","max","slotProps","slots","showZero"],cy=d.forwardRef((function(e,t){const{component:n,children:r,max:o=99,slotProps:a={},slots:i={},showZero:l=!1}=e,s=ey(e,sy),{badgeContent:c,max:u,displayValue:d,invisible:p}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=gf({badgeContent:t,max:r});let i=n;!1!==n||0!==t||o||(i=!0);const{badgeContent:l,max:s=r}=i?a:e;return{badgeContent:l,invisible:i,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}(Xv({},e,{max:o})),f=Xv({},e,{badgeContent:c,invisible:p,max:u,showZero:l}),h=(e=>{const{invisible:t}=e;return yf({root:["root"],badge:["badge",t&&"invisible"]},ly,void 0)})(f),m=n||i.root||"span",g=iy({elementType:m,externalSlotProps:a.root,externalForwardedProps:s,additionalProps:{ref:t},ownerState:f,className:h.root}),v=i.badge||"span",y=iy({elementType:v,externalSlotProps:a.badge,ownerState:f,className:h.badge});return ym.jsxs(m,Xv({},g,{children:[r,ym.jsx(v,Xv({},y,{children:d}))]}))}));var uy=cy;const dy=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function py(e){const t=[],n=[];return Array.from(e.querySelectorAll(dy)).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 fy(){return!0}function hy(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=py,isEnabled:i=fy,open:l}=e,s=d.useRef(!1),c=d.useRef(null),u=d.useRef(null),p=d.useRef(null),f=d.useRef(null),h=d.useRef(!1),m=d.useRef(null),g=of(t.ref,m),v=d.useRef(null);d.useEffect((()=>{l&&m.current&&(h.current=!n)}),[n,l]),d.useEffect((()=>{if(!l||!m.current)return;const e=Zp(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{o||(p.current&&p.current.focus&&(s.current=!0,p.current.focus()),p.current=null)}}),[l]),d.useEffect((()=>{if(!l||!m.current)return;const e=Zp(m.current),t=t=>{const{current:n}=m;if(null!==n)if(e.hasFocus()&&!r&&i()&&!s.current){if(!n.contains(e.activeElement)){if(t&&f.current!==t.target||e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=a(m.current)),r.length>0){var o,l;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=v.current)?void 0:l.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else s.current=!1},n=t=>{v.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(s.current=!0,u.current&&u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,i,l,a]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0};return ym.jsxs(d.Fragment,{children:[ym.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),d.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),ym.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}var my="top",gy="bottom",vy="right",yy="left",by="auto",xy=[my,gy,vy,yy],Sy="start",wy="end",Ey="viewport",Cy="popper",ky=xy.reduce((function(e,t){return e.concat([t+"-"+Sy,t+"-"+wy])}),[]),Ly=[].concat(xy,[by]).reduce((function(e,t){return e.concat([t,t+"-"+Sy,t+"-"+wy])}),[]),Ry=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Oy(e){return e?(e.nodeName||"").toLowerCase():null}function Iy(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _y(e){return e instanceof Iy(e).Element||e instanceof Element}function Ty(e){return e instanceof Iy(e).HTMLElement||e instanceof HTMLElement}function Py(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Iy(e).ShadowRoot||e instanceof ShadowRoot)}var Ny={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ty(o)&&Oy(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ty(r)&&Oy(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function My(e){return e.split("-")[0]}var zy=Math.max,Ay=Math.min,Dy=Math.round;function qy(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function jy(){return!/^((?!chrome|android).)*safari/i.test(qy())}function Fy(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Ty(e)&&(o=e.offsetWidth>0&&Dy(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Dy(r.height)/e.offsetHeight||1);var i=(_y(e)?Iy(e):window).visualViewport,l=!jy()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function $y(e){var t=Fy(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function By(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Py(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Wy(e){return Iy(e).getComputedStyle(e)}function Hy(e){return["table","td","th"].indexOf(Oy(e))>=0}function Uy(e){return((_y(e)?e.ownerDocument:e.document)||window.document).documentElement}function Vy(e){return"html"===Oy(e)?e:e.assignedSlot||e.parentNode||(Py(e)?e.host:null)||Uy(e)}function Gy(e){return Ty(e)&&"fixed"!==Wy(e).position?e.offsetParent:null}function Ky(e){for(var t=Iy(e),n=Gy(e);n&&Hy(n)&&"static"===Wy(n).position;)n=Gy(n);return n&&("html"===Oy(n)||"body"===Oy(n)&&"static"===Wy(n).position)?t:n||function(e){var t=/firefox/i.test(qy());if(/Trident/i.test(qy())&&Ty(e)&&"fixed"===Wy(e).position)return null;var n=Vy(e);for(Py(n)&&(n=n.host);Ty(n)&&["html","body"].indexOf(Oy(n))<0;){var r=Wy(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Zy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Xy(e,t,n){return zy(e,Ay(t,n))}function Qy(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Yy(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Jy={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=My(n.placement),s=Zy(l),c=[yy,vy].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Qy("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Yy(e,xy))}(o.padding,n),d=$y(a),p="y"===s?my:yy,f="y"===s?gy:vy,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],g=Ky(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=u[p],x=v-d[c]-u[f],S=v/2-d[c]/2+y,w=Xy(b,S,x),E=s;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&By(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function eb(e){return e.split("-")[1]}var tb={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nb(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=yy,x=my,S=window;if(c){var w=Ky(n),E="clientHeight",C="clientWidth";if(w===Iy(n)&&"static"!==Wy(w=Uy(n)).position&&"absolute"===l&&(E="scrollHeight",C="scrollWidth"),o===my||(o===yy||o===vy)&&a===wy)x=gy,m-=(d&&w===S&&S.visualViewport?S.visualViewport.height:w[E])-r.height,m*=s?1:-1;if(o===yy||(o===my||o===gy)&&a===wy)b=vy,f-=(d&&w===S&&S.visualViewport?S.visualViewport.width:w[C])-r.width,f*=s?1:-1}var k,L=Object.assign({position:l},c&&tb),R=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Dy(t*r)/r||0,y:Dy(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=R.x,m=R.y,s?Object.assign({},L,((k={})[x]=y?"0":"",k[b]=v?"0":"",k.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},L,((t={})[x]=y?m+"px":"",t[b]=v?f+"px":"",t.transform="",t))}var rb={passive:!0};var ob={left:"right",right:"left",bottom:"top",top:"bottom"};function ab(e){return e.replace(/left|right|bottom|top/g,(function(e){return ob[e]}))}var ib={start:"end",end:"start"};function lb(e){return e.replace(/start|end/g,(function(e){return ib[e]}))}function sb(e){var t=Iy(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function cb(e){return Fy(Uy(e)).left+sb(e).scrollLeft}function ub(e){var t=Wy(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function db(e){return["html","body","#document"].indexOf(Oy(e))>=0?e.ownerDocument.body:Ty(e)&&ub(e)?e:db(Vy(e))}function pb(e,t){var n;void 0===t&&(t=[]);var r=db(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Iy(r),i=o?[a].concat(a.visualViewport||[],ub(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(pb(Vy(i)))}function fb(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function hb(e,t,n){return t===Ey?fb(function(e,t){var n=Iy(e),r=Uy(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=jy();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+cb(e),y:s}}(e,n)):_y(t)?function(e,t){var n=Fy(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):fb(function(e){var t,n=Uy(e),r=sb(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=zy(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=zy(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+cb(e),s=-r.scrollTop;return"rtl"===Wy(o||n).direction&&(l+=zy(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Uy(e)))}function mb(e,t,n,r){var o="clippingParents"===t?function(e){var t=pb(Vy(e)),n=["absolute","fixed"].indexOf(Wy(e).position)>=0&&Ty(e)?Ky(e):e;return _y(n)?t.filter((function(e){return _y(e)&&By(e,n)&&"body"!==Oy(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=hb(e,n,r);return t.top=zy(o.top,t.top),t.right=Ay(o.right,t.right),t.bottom=Ay(o.bottom,t.bottom),t.left=zy(o.left,t.left),t}),hb(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function gb(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?My(o):null,i=o?eb(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case my:t={x:l,y:n.y-r.height};break;case gy:t={x:l,y:n.y+n.height};break;case vy:t={x:n.x+n.width,y:s};break;case yy:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Zy(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Sy:t[c]=t[c]-(n[u]/2-r[u]/2);break;case wy:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function vb(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?"clippingParents":l,c=n.rootBoundary,u=void 0===c?Ey:c,d=n.elementContext,p=void 0===d?Cy:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=Qy("number"!=typeof g?g:Yy(g,xy)),y=p===Cy?"reference":Cy,b=e.rects.popper,x=e.elements[h?y:p],S=mb(_y(x)?x:x.contextElement||Uy(e.elements.popper),s,u,i),w=Fy(e.elements.reference),E=gb({reference:w,element:b,strategy:"absolute",placement:o}),C=fb(Object.assign({},b,E)),k=p===Cy?C:w,L={top:S.top-k.top+v.top,bottom:k.bottom-S.bottom+v.bottom,left:S.left-k.left+v.left,right:k.right-S.right+v.right},R=e.modifiersData.offset;if(p===Cy&&R){var O=R[o];Object.keys(L).forEach((function(e){var t=[vy,gy].indexOf(e)>=0?1:-1,n=[my,gy].indexOf(e)>=0?"y":"x";L[e]+=O[n]*t}))}return L}function yb(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Ly:s,u=eb(r),d=u?l?ky:ky.filter((function(e){return eb(e)===u})):xy,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=vb(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[My(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var bb={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=My(g),y=s||(v===g||!h?[ab(g)]:function(e){if(My(e)===by)return[];var t=ab(e);return[lb(e),t,lb(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(My(n)===by?yb(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,S=t.rects.popper,w=new Map,E=!0,C=b[0],k=0;k<b.length;k++){var L=b[k],R=My(L),O=eb(L)===Sy,I=[my,gy].indexOf(R)>=0,_=I?"width":"height",T=vb(t,{placement:L,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),P=I?O?vy:yy:O?gy:my;x[_]>S[_]&&(P=ab(P));var N=ab(P),M=[];if(a&&M.push(T[R]<=0),l&&M.push(T[P]<=0,T[N]<=0),M.every((function(e){return e}))){C=L,E=!1;break}w.set(L,M)}if(E)for(var z=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},A=h?3:1;A>0;A--){if("break"===z(A))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function xb(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Sb(e){return[my,vy,gy,yy].some((function(t){return e[t]>=0}))}var wb={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Ly.reduce((function(e,n){return e[n]=function(e,t,n){var r=My(e),o=[yy,my].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[yy,vy].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var Eb={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=vb(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=My(t.placement),y=eb(t.placement),b=!y,x=Zy(v),S="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,L="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(w){if(a){var I,_="y"===x?my:yy,T="y"===x?gy:vy,P="y"===x?"height":"width",N=w[x],M=N+g[_],z=N-g[T],A=f?-C[P]/2:0,D=y===Sy?E[P]:C[P],q=y===Sy?-C[P]:-E[P],j=t.elements.arrow,F=f&&j?$y(j):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=$[_],W=$[T],H=Xy(0,E[P],F[P]),U=b?E[P]/2-A-H-B-L.mainAxis:D-H-B-L.mainAxis,V=b?-E[P]/2+A+H+W+L.mainAxis:q+H+W+L.mainAxis,G=t.elements.arrow&&Ky(t.elements.arrow),K=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,Z=null!=(I=null==R?void 0:R[x])?I:0,X=N+V-Z,Q=Xy(f?Ay(M,N+U-Z-K):M,N,f?zy(z,X):z);w[x]=Q,O[x]=Q-N}if(l){var Y,J="x"===x?my:yy,ee="x"===x?gy:vy,te=w[S],ne="y"===S?"height":"width",re=te+g[J],oe=te-g[ee],ae=-1!==[my,yy].indexOf(v),ie=null!=(Y=null==R?void 0:R[S])?Y:0,le=ae?re:te-E[ne]-C[ne]-ie+L.altAxis,se=ae?te+E[ne]+C[ne]-ie-L.altAxis:oe,ce=f&&ae?function(e,t,n){var r=Xy(e,t,n);return r>n?n:r}(le,te,se):Xy(f?le:re,te,f?se:oe);w[S]=ce,O[S]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};function Cb(e,t,n){void 0===n&&(n=!1);var r=Ty(t),o=Ty(t)&&function(e){var t=e.getBoundingClientRect(),n=Dy(t.width)/e.offsetWidth||1,r=Dy(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Uy(t),i=Fy(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Oy(t)||ub(a))&&(l=function(e){return e!==Iy(e)&&Ty(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:sb(e);var t}(t)),Ty(t)?((s=Fy(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=cb(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function kb(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Lb={placement:"bottom",modifiers:[],strategy:"absolute"};function Rb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ob(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Lb:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Lb,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:_y(e)?pb(e):e.contextElement?pb(e.contextElement):[],popper:pb(t)};var i,c,p=function(e){var t=kb(e);return Ry.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r}),i=function(){};s.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Rb(t,n)){l.rects={reference:Cb(t,Ky(n),"fixed"===l.options.strategy),popper:$y(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!Rb(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Ib=Ob({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=Iy(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,rb)})),l&&s.addEventListener("resize",n.update,rb),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,rb)})),l&&s.removeEventListener("resize",n.update,rb)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=gb({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:My(t.placement),variation:eb(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,nb(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,nb(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ny,wb,bb,Eb,Jy,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=vb(t,{elementContext:"reference"}),l=vb(t,{altBoundary:!0}),s=xb(i,r),c=xb(l,o,a),u=Sb(s),d=Sb(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});var _b=d.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=d.useState(null),l=of(d.isValidElement(n)?n.ref:null,t);if(Yp((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),Yp((()=>{if(a&&!o)return Qp(t,a),()=>{Qp(t,null)}}),[t,a,o]),o){if(d.isValidElement(n)){const e={ref:l};return d.cloneElement(n,e)}return ym.jsx(d.Fragment,{children:n})}return ym.jsx(d.Fragment,{children:a?pt.createPortal(n,a):a})}));function Tb(e){return wf("MuiPopperUnstyled",e)}Ef("MuiPopperUnstyled",["root"]);const Pb=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],Nb=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Mb(e){return"function"==typeof e?e():e}const zb={},Ab=d.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:a,direction:i,disablePortal:l,modifiers:s,open:c,ownerState:u,placement:p,popperOptions:f,popperRef:h,slotProps:m={},slots:g={},TransitionProps:v}=e,y=ey(e,Pb),b=d.useRef(null),x=of(b,t),S=d.useRef(null),w=of(S,h),E=d.useRef(w);Yp((()=>{E.current=w}),[w]),d.useImperativeHandle(h,(()=>S.current),[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(p,i),[k,L]=d.useState(C),[R,O]=d.useState(Mb(r));d.useEffect((()=>{S.current&&S.current.forceUpdate()})),d.useEffect((()=>{r&&O(Mb(r))}),[r]),Yp((()=>{if(!R||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{L(e.placement)}}];null!=s&&(e=e.concat(s)),f&&null!=f.modifiers&&(e=e.concat(f.modifiers));const t=Ib(R,b.current,Xv({placement:C},f,{modifiers:e}));return E.current(t),()=>{t.destroy(),E.current(null)}}),[R,l,s,c,f,C]);const I={placement:k};null!==v&&(I.TransitionProps=v);const _=yf({root:["root"]},Tb,{}),T=null!=(n=null!=a?a:g.root)?n:"div",P=iy({elementType:T,externalSlotProps:m.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:Xv({},e,u),className:_.root});return ym.jsx(T,Xv({},P,{children:"function"==typeof o?o(I):o}))})),Db=d.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:c,placement:u="bottom",popperOptions:p=zb,popperRef:f,style:h,transition:m=!1,slotProps:g={},slots:v={}}=e,y=ey(e,Nb),[b,x]=d.useState(!0);if(!l&&!c&&(!m||b))return null;let S;if(o)S=o;else if(n){const e=Mb(n);S=e&&void 0!==e.nodeType?Zp(e).body:Zp(null).body}const w=c||!l||m&&!b?void 0:"none",E=m?{in:c,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return ym.jsx(_b,{disablePortal:i,container:S,children:ym.jsx(Ab,Xv({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:m?!b:c,placement:u,popperOptions:p,popperRef:f,slotProps:g,slots:v},y,{style:Xv({position:"fixed",top:0,left:0,display:w},h),TransitionProps:E,children:r}))})}));var qb=Db;function jb(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Fb(e){return parseInt(Xp(e).getComputedStyle(e).paddingRight,10)||0}function $b(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.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&&jb(e,o)}))}function Bb(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Wb(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Zp(e);return t.body===e?Xp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=mf(Zp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Fb(r)+e}px`;const t=Zp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Fb(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Zp(r).body;else{const t=r.parentElement,n=Xp(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)}))}}function Hb(e){return wf("MuiModal",e)}Ef("MuiModal",["root","hidden"]);const Ub=["children","classes","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];const Vb=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&&jb(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);$b(t,e.mount,e.modalRef,r,!0);const o=Bb(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=Bb(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Wb(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Bb(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&&jb(e.modalRef,t),$b(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&&jb(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},Gb=d.forwardRef((function(e,t){var n,r;const{children:o,classes:a,closeAfterTransition:i=!1,component:l,container:s,disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:h=!1,disableScrollLock:m=!1,hideBackdrop:g=!1,keepMounted:v=!1,manager:y=Vb,onBackdropClick:b,onClose:x,onKeyDown:S,open:w,onTransitionEnter:E,onTransitionExited:C,slotProps:k={},slots:L={}}=e,R=ey(e,Ub),[O,I]=d.useState(!w),_=d.useRef({}),T=d.useRef(null),P=d.useRef(null),N=of(P,t),M=function(e){return!!e&&e.props.hasOwnProperty("in")}(o),z=null==(n=e["aria-hidden"])||n,A=()=>(_.current.modalRef=P.current,_.current.mountNode=T.current,_.current),D=()=>{y.mount(A(),{disableScrollLock:m}),P.current&&(P.current.scrollTop=0)},q=rf((()=>{const e=function(e){return"function"==typeof e?e():e}(s)||Zp(T.current).body;y.add(A(),e),P.current&&D()})),j=d.useCallback((()=>y.isTopModal(A())),[y]),F=rf((e=>{T.current=e,e&&P.current&&(w&&j()?D():jb(P.current,z))})),$=d.useCallback((()=>{y.remove(A(),z)}),[y,z]);d.useEffect((()=>()=>{$()}),[$]),d.useEffect((()=>{w?q():M&&i||$()}),[w,$,M,i,q]);const B=Xv({},e,{classes:a,closeAfterTransition:i,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:h,disableScrollLock:m,exited:O,hideBackdrop:g,keepMounted:v}),W=(e=>{const{open:t,exited:n,classes:r}=e;return yf({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Hb,r)})(B),H=()=>{I(!1),E&&E()},U=()=>{I(!0),C&&C(),i&&$()},V={};void 0===o.props.tabIndex&&(V.tabIndex="-1"),M&&(V.onEnter=Vp(H,o.props.onEnter),V.onExited=Vp(U,o.props.onExited));const G=null!=(r=null!=l?l:L.root)?r:"div",K=iy({elementType:G,externalSlotProps:k.root,externalForwardedProps:R,additionalProps:{ref:N,role:"presentation",onKeyDown:e=>{S&&S(e),"Escape"===e.key&&j()&&(p||(e.stopPropagation(),x&&x(e,"escapeKeyDown")))}},className:W.root,ownerState:B}),Z=L.backdrop,X=iy({elementType:Z,externalSlotProps:k.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(b&&b(e),x&&x(e,"backdropClick"))},open:w},className:W.backdrop,ownerState:B});return v||w||M&&!O?ym.jsx(_b,{ref:F,container:s,disablePortal:f,children:ym.jsxs(G,Xv({},K,{children:[!g&&Z?ym.jsx(Z,Xv({},X)):null,ym.jsx(hy,{disableEnforceFocus:u,disableAutoFocus:c,disableRestoreFocus:h,isEnabled:j,open:w,children:d.cloneElement(o,V)})]}))}):null}));var Kb=Gb;const Zb=["onChange","maxRows","minRows","style","value"];function Xb(e,t){return parseInt(e[t],10)||0}const Qb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Yb(e){return null==e||0===Object.keys(e).length}const Jb=d.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=ey(e,Zb),{current:s}=d.useRef(null!=i),c=d.useRef(null),u=of(t,c),p=d.useRef(null),f=d.useRef(0),[h,m]=d.useState({}),g=d.useCallback((()=>{const t=c.current,n=Xp(t).getComputedStyle(t);if("0px"===n.width)return{};const a=p.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n["box-sizing"],l=Xb(n,"padding-bottom")+Xb(n,"padding-top"),s=Xb(n,"border-bottom-width")+Xb(n,"border-top-width"),u=a.scrollHeight;a.value="x";const d=a.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===i?l+s:0),overflow:Math.abs(f-u)<=1}}),[r,o,e.placeholder]),v=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return f.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(f.current+=1,{overflow:r,outerHeightStyle:n}):e},y=d.useCallback((()=>{const e=g();Yb(e)||m((t=>v(t,e)))}),[g]);d.useEffect((()=>{const e=Gp((()=>{f.current=0,c.current&&(()=>{const e=g();Yb(e)||pt.flushSync((()=>{m((t=>v(t,e)))}))})()})),t=Xp(c.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(c.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),Yp((()=>{y()})),d.useEffect((()=>{f.current=0}),[i]);return ym.jsxs(d.Fragment,{children:[ym.jsx("textarea",Xv({value:i,onChange:e=>{f.current=0,s||y(),n&&n(e)},ref:u,rows:o,style:Xv({height:h.outerHeightStyle,overflow:h.overflow?"hidden":null},a)},l)),ym.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:Xv({},Qb,a,{padding:0})})]})}));var ex=Jb;function tx(){return tx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tx.apply(this,arguments)}function nx(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function rx(e,t){return rx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rx(e,t)}function ox(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,rx(e,t)}var ax=!1,ix=G.createContext(null),lx="unmounted",sx="exited",cx="entering",ux="entered",dx="exiting",px=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=sx,r.appearStatus=cx):o=ux:o=t.unmountOnExit||t.mountOnEnter?lx:sx,r.state={status:o},r.nextCallback=null,r}ox(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===lx?{status:sx}: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!==cx&&n!==ux&&(t=cx):n!==cx&&n!==ux||(t=dx)}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===cx){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:xp.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===sx&&this.setState({status:lx})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[xp.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||ax?this.safeSetState({status:ux},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:cx},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:ux},(function(){t.props.onEntered(a,i)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:xp.findDOMNode(this);t&&!ax?(this.props.onExit(r),this.safeSetState({status:dx},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:sx},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:sx},(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:xp.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],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===lx)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=nx(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return G.createElement(ix.Provider,{value:null},"function"==typeof n?n(e,r):G.cloneElement(G.Children.only(n),r))},t}(G.Component);function fx(){}px.contextType=ix,px.propTypes={},px.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fx,onEntering:fx,onEntered:fx,onExit:fx,onExiting:fx,onExited:fx},px.UNMOUNTED=lx,px.EXITED=sx,px.ENTERING=cx,px.ENTERED=ux,px.EXITING=dx;var hx=px;function mx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gx(e,t){var n=Object.create(null);return e&&d.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&d.isValidElement(e)?t(e):e}(e)})),n}function vx(e,t,n){return null!=n[t]?n[t]:e.props[t]}function yx(e,t,n){var r=gx(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),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<a.length;r++)l[a[r]]=n(a[r]);return l}(t,r);return Object.keys(o).forEach((function(a){var i=o[a];if(d.isValidElement(i)){var l=a in t,s=a in r,c=t[a],u=d.isValidElement(c)&&!c.props.in;!s||l&&!u?s||!l||u?s&&l&&d.isValidElement(c)&&(o[a]=d.cloneElement(i,{onExited:n.bind(null,i),in:c.props.in,exit:vx(i,"exit",e),enter:vx(i,"enter",e)})):o[a]=d.cloneElement(i,{in:!1}):o[a]=d.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:vx(i,"exit",e),enter:vx(i,"enter",e)})}})),o}var bx=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},xx=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(mx(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}ox(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,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,gx(n.children,(function(e){return d.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:vx(e,"appear",n),enter:vx(e,"enter",n),exit:vx(e,"exit",n)})}))):yx(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=gx(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=tx({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=nx(e,["component","childFactory"]),o=this.state.contextValue,a=bx(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?G.createElement(ix.Provider,{value:o},a):G.createElement(ix.Provider,{value:o},G.createElement(t,r,a))},t}(G.Component);xx.propTypes={},xx.defaultProps={component:"div",childFactory:function(e){return e}};var Sx=xx;var wx=Ef("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Ex=["center","classes","className"];let Cx,kx,Lx,Rx,Ox=e=>e;const Ix=um(Cx||(Cx=Ox`
|
|
33
33
|
0% {
|
|
34
34
|
transform: scale(0);
|
|
35
35
|
opacity: 0.1;
|
|
@@ -39,7 +39,7 @@ var vt=Re,yt=ht;function bt(e){for(var t="https://reactjs.org/docs/error-decoder
|
|
|
39
39
|
transform: scale(1);
|
|
40
40
|
opacity: 0.3;
|
|
41
41
|
}
|
|
42
|
-
`)),
|
|
42
|
+
`)),_x=um(kx||(kx=Ox`
|
|
43
43
|
0% {
|
|
44
44
|
opacity: 1;
|
|
45
45
|
}
|
|
@@ -47,7 +47,7 @@ var vt=Re,yt=ht;function bt(e){for(var t="https://reactjs.org/docs/error-decoder
|
|
|
47
47
|
100% {
|
|
48
48
|
opacity: 0;
|
|
49
49
|
}
|
|
50
|
-
`)),
|
|
50
|
+
`)),Tx=um(Lx||(Lx=Ox`
|
|
51
51
|
0% {
|
|
52
52
|
transform: scale(1);
|
|
53
53
|
}
|
|
@@ -59,7 +59,7 @@ var vt=Re,yt=ht;function bt(e){for(var t="https://reactjs.org/docs/error-decoder
|
|
|
59
59
|
100% {
|
|
60
60
|
transform: scale(1);
|
|
61
61
|
}
|
|
62
|
-
`)),
|
|
62
|
+
`)),Px=Vv("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Nx=Vv((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:c}=e,[u,p]=d.useState(!1),f=Zv(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:i,height:i,top:-i/2+a,left:-i/2+o},m=Zv(n.child,u&&n.childLeaving,r&&n.childPulsate);return l||u||p(!0),d.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,c);return()=>{clearTimeout(e)}}}),[s,l,c]),ym.jsx("span",{className:f,style:h,children:ym.jsx("span",{className:m})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Rx||(Rx=Ox`
|
|
63
63
|
opacity: 0;
|
|
64
64
|
position: absolute;
|
|
65
65
|
|
|
@@ -102,7 +102,7 @@ var vt=Re,yt=ht;function bt(e){for(var t="https://reactjs.org/docs/error-decoder
|
|
|
102
102
|
animation-iteration-count: infinite;
|
|
103
103
|
animation-delay: 200ms;
|
|
104
104
|
}
|
|
105
|
-
`),Vy.rippleVisible,Jy,550,(({theme:e})=>e.transitions.easing.easeInOut),Vy.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Vy.child,Vy.childLeaving,eb,550,(({theme:e})=>e.transitions.easing.easeInOut),Vy.childPulsate,tb,(({theme:e})=>e.transitions.easing.easeInOut)),ob=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=bf(n,Gy),[l,s]=Re.useState([]),c=Re.useRef(0),u=Re.useRef(null);Re.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[l]);const d=Re.useRef(!1),p=Re.useRef(null),f=Re.useRef(null),h=Re.useRef(null);Re.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const m=Re.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,pm.jsx(rb,{classes:{ripple:Wv(o.ripple,Vy.ripple),rippleVisible:Wv(o.rippleVisible,Vy.rippleVisible),ripplePulsate:Wv(o.ripplePulsate,Vy.ripplePulsate),child:Wv(o.child,Vy.child),childLeaving:Wv(o.childLeaving,Vy.childLeaving),childPulsate:Wv(o.childPulsate,Vy.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),g=Re.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const l=i?null:h.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(a)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,m]),v=Re.useCallback((()=>{g({},{pulsate:!0})}),[g]),y=Re.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{y(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),u.current=t}),[]);return Re.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:y})),[v,g,y]),pm.jsx(nb,yf({className:Wv(Vy.root,o.root,a),ref:h},i,{children:pm.jsx(Hy,{component:null,exit:!0,children:l})}))}));var ab=ob;function ib(e){return gf("MuiButtonBase",e)}var lb=vf("MuiButtonBase",["root","disabled","focusVisible"]);const sb=["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"],cb=Fv("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"},[`&.${lb.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ub=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:w,onMouseUp:E,onTouchEnd:C,onTouchMove:k,onTouchStart:L,tabIndex:R=0,TouchRippleProps:O,touchRippleRef:I,type:_}=n,T=bf(n,sb),P=Re.useRef(null),N=Re.useRef(null),M=Yp(N,I),{isFocusVisibleRef:z,onFocus:A,onBlur:q,ref:D}=sf(),[j,F]=Re.useState(!1);s&&j&&F(!1),Re.useImperativeHandle(r,(()=>({focusVisible:()=>{F(!0),P.current.focus()}})),[]);const[$,B]=Re.useState(!1);Re.useEffect((()=>{B(!0)}),[]);const W=$&&!c&&!s;function U(e,t,n=u){return Qp((r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0}))}Re.useEffect((()=>{j&&d&&!c&&$&&N.current.pulsate()}),[c,d,j,$]);const H=U("start",S),V=U("stop",m),G=U("stop",g),K=U("stop",E),Z=U("stop",(e=>{j&&e.preventDefault(),w&&w(e)})),X=U("start",L),Q=U("stop",C),Y=U("stop",k),J=U("stop",(e=>{q(e),!1===z.current&&F(!1),f&&f(e)}),!1),ee=Qp((e=>{P.current||(P.current=e.currentTarget),A(e),!0===z.current&&(F(!0),y&&y(e)),v&&v(e)})),te=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ne=Re.useRef(!1),re=Qp((e=>{d&&!ne.current&&j&&N.current&&" "===e.key&&(ne.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&te()&&" "===e.key&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&te()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),oe=Qp((e=>{d&&" "===e.key&&N.current&&j&&!e.defaultPrevented&&(ne.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&te()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(T.href||T.to)&&(ae=p);const ie={};"button"===ae?(ie.type=void 0===_?"button":_,ie.disabled=s):(T.href||T.to||(ie.role="button"),s&&(ie["aria-disabled"]=s));const le=Yp(t,D,P),se=yf({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:R,focusVisible:j}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=pf({root:["root",t&&"disabled",n&&"focusVisible"]},ib,o);return n&&r&&(a.root+=` ${r}`),a})(se);return pm.jsxs(cb,yf({as:ae,className:Wv(ce.root,i),ownerState:se,onBlur:J,onClick:h,onContextMenu:V,onFocus:ee,onKeyDown:re,onKeyUp:oe,onMouseDown:H,onMouseLeave:Z,onMouseUp:K,onDragLeave:G,onTouchEnd:Q,onTouchMove:Y,onTouchStart:X,ref:le,tabIndex:s?-1:R,type:_},ie,T,{children:[a,W?pm.jsx(ab,yf({ref:M,center:o},O)):null]}))}));var db=ub;function pb(e){return gf("MuiButton",e)}var fb=vf("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var hb=Re.createContext({});const mb=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],gb=e=>yf({},"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}}),vb=Fv(db,{shouldForwardProp:e=>Dv(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Up(n.color)}`],t[`size${Up(n.size)}`],t[`${n.variant}Size${Up(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return yf({},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":yf({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:tv(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})`:tv(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})`:tv(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:(e.vars||e).palette.grey.A100,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":yf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${fb.focusVisible}`]:yf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${fb.disabled}`]:yf({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"outlined"===t.variant&&"secondary"===t.color&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},"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 ${tv(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).palette.grey[300],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"},[`&.${fb.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${fb.disabled}`]:{boxShadow:"none"}})),yb=Fv("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Up(n.size)}`]]}})((({ownerState:e})=>yf({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},gb(e)))),bb=Fv("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Up(n.size)}`]]}})((({ownerState:e})=>yf({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},gb(e)))),xb=Re.forwardRef((function(e,t){const n=Re.useContext(hb),r=qv({props:df(n,e),name:"MuiButton"}),{children:o,color:a="primary",component:i="button",className:l,disabled:s=!1,disableElevation:c=!1,disableFocusRipple:u=!1,endIcon:d,focusVisibleClassName:p,fullWidth:f=!1,size:h="medium",startIcon:m,type:g,variant:v="text"}=r,y=bf(r,mb),b=yf({},r,{color:a,component:i,disabled:s,disableElevation:c,disableFocusRipple:u,fullWidth:f,size:h,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return yf({},i,pf({root:["root",a,`${a}${Up(t)}`,`size${Up(o)}`,`${a}Size${Up(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Up(o)}`],endIcon:["endIcon",`iconSize${Up(o)}`]},pb,i))})(b),S=m&&pm.jsx(yb,{className:x.startIcon,ownerState:b,children:m}),w=d&&pm.jsx(bb,{className:x.endIcon,ownerState:b,children:d});return pm.jsxs(vb,yf({ownerState:b,className:Wv(n.className,x.root,l),component:i,disabled:s,focusRipple:!u,focusVisibleClassName:Wv(x.focusVisible,p),ref:t,type:g},y,{classes:x,children:[S,o,w]}))}));var Sb=xb,wb={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1},MuiCheckbox:{color:"secondary"},MuiRadio:{color:"secondary"},MuiTabs:{indicatorColor:"secondary"}}};const Eb="#009845",Cb="#3F8AB3",kb="#ffffff",Lb="#404040",Rb="#333333",Ob="#1A1A1A",Ib={mode:"light",palette:{primary:{main:Lb,contrastText:kb},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Lb,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:Lb,hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:kb,default:kb,lightest:kb,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:Cb,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:Eb,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:kb,alternativeContrastText:Lb,excludedContrastText:Lb},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},_b={mode:"dark",palette:{primary:{main:Rb,contrastText:kb},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:kb,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:kb,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:Lb,lighter:Rb,darker:"#262626",darkest:Ob},custom:{focusBorder:Cb,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:Eb,alternative:Rb,excluded:Ob,mainContrastText:kb,alternativeContrastText:kb,excludedContrastText:kb},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},Tb={},Pb=e=>({MuiTypography:{root:{color:e.palette.text.primary}},MuiGrid:{variants:[{props:{alignItems:"center"},style:{"align-items":"center"}}]},MuiButtonBase:{root:{borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.btn.border},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px",["&.".concat(fb.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none",["&.".concat(fb.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none",["&.".concat(fb.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(fb.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function Nb(e){let t=Ib,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=_b));const r=JSON.stringify(t);if(Tb[r])return Tb[r];const o={palette:i(i({type:t.mode},wb.palette),t.palette),typography:i({},wb.typography),shadows:wb.shadows,props:i({},wb.props),shape:i({},wb.shape)};return Tb[r]=Mv(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:a={},styleOverrides:i={}}=e,l=yf({},bf(e,av),{components:{}});Object.keys(t).forEach((e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n})),Object.keys(a).forEach((e=>{const t=l.components[e]||{};t.defaultProps=a[e],l.components[e]=t})),Object.keys(i).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=i[e],l.components[e]=t})),Object.keys(r).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=r[e],l.components[e]=t})),l.spacing=Ig(e.spacing);const s=Rg(e.breakpoints||{}),c=l.spacing;l.mixins=yf({gutters:(e={})=>yf({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:yf({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=bf(o,iv),f=d||u||"light";return l.palette=yf({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(i(i({},o),{},{overrides:Pb(o)}))),Tb[r].name=n,Tb[r]}hf.configure((e=>"njs-".concat("232d","-").concat(e.replace("Mui",""))));var Mb=ct.createContext({language:null,theme:null,translator:null,constraints:{},themeApi:null}),zb=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const n=e,r=[],o={get:e=>n[e],set:(e,r)=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));return n[e]=r,t({type:"SET",value:r}),r},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));n[e]=null},dispatch:e=>{r.forEach((t=>t(e?{}:n)))}},a=()=>{const[,e]=Re.useState(n);return Re.useEffect((()=>(r.push(e),()=>{const t=r.indexOf(e);r.splice(t,1)})),[e]),[o]};return[a,o]};const[Ab,qb]=zb({}),[Db,jb]=zb({}),[Fb,$b]=zb({}),[Bb,Wb]=zb({}),[Ub,Hb]=zb({}),[,Vb]=zb({}),Gb=e=>{let{type:t,value:n}=e;const r=Vb.get(n.id);Vb.set(n.id,{});const o=()=>{jb.clear(n.id),Hb.set(n.id,{}),Hb.dispatch(!0)},a=()=>{n.removeListener("changed",o),qb.clear(n.id),jb.clear(n.id),$b.clear(n.id),Wb.clear(n.id),Hb.clear(n.id),Vb.clear(n.id)};if("SET"===t)r||(n.on("changed",o),n.once("closed",(()=>{a()})));return a},[Kb,Zb]=zb({},Gb),Xb=(e,t)=>{const{rpcResultStore:n,key:r,method:o}=t;let a;switch(t.type){case"INVALID":a=i(i({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":a={result:i({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":a=i(i({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let l=n.get(r);return l||(l={}),l[o]=a,n.set(r,l),a};function Qb(e,t){const n=e?"".concat(e.id):null,[r]=Ab(),[o,a]=Re.useReducer(Xb,n?r.get(n):null),[i]=Ub(),[l]=Db();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const c=async o=>{let i=s[t];if(!i||i&&i.rpcRetry){i={rpc:e[t](),rpcRetry:!1},s[t]=i,a({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0})}try{const o=await i.rpc;a({type:"VALID",result:o,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||o||(i.rpcRetry||(i.rpcRetry=!0),c(!0))}},u={cancel:async()=>{const o=e.session.getObjectApi({handle:-1});await o.cancelRequest(s[t].rpc.requestId),a({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{s[t].rpcRetry=!0,c()}};return Re.useEffect((()=>{e&&c()}),[e,i.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},u]}function Yb(e){return Qb(e,"getLayout")}function Jb(e){return Qb(e,"getAppLayout")}function ex(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=Kb(),[o]=Fb(),[a,i]=Re.useState();let l;n&&(l=o.get(n));for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];return Re.useEffect((()=>{if(!t)return;(async()=>{if(!l){const r=t.createSessionObject(e);l=r,o.set(n,l)}const a=await l;r.set(n,a),i(a)})()}),[t,...c]),[a]}const tx={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function nx(e){return ex(tx,e)}function rx(e){const[t]=nx(e),[n]=Yb(t),[r]=Jb(e),[o,a]=Re.useState(null);return Re.useEffect((()=>{r&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,r)}),[r,t,n]),Re.useEffect((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[o,t,n]}const[ox,ax]=zb({}),[ix,lx]=zb({}),[sx,cx]=zb({}),[ux,dx]=zb({});function px(e){if(!e.session)return[];const[t,n,r]=rx(e),[o]=ox(),a=e?e.id:null;let i=o.get(a);return Re.useEffect((()=>{e&&n&&r&&t&&!i&&(i=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const o="".concat(t.id),a=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=dx.get(o);t&&(await t.endSelections(e),dx.clear(o),cx.get(t.id).emit("deactivated"))},i={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===dx.get(o))return;a(r),dx.set(o,e);const i=Array.isArray(n)?n:[n],l=async n=>{try{await e.beginSelections(i),dx.set(o,e)}catch(e){6003!==e.code||n?dx.clear(o):(await t.abortModal(r),l(!0))}};await l()},end:a};lx.set(o,i);const l={model:t,isInModal:()=>!!dx.get(o),isModal:e=>e?dx.get(o)===e:!!dx.get(o),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>i.end().then((()=>t.forward())),back:()=>i.end().then((()=>t.back())),clear:()=>i.end().then((()=>t.clearAll())),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return i.end().then((()=>t.getField(e,n).then((e=>e.clear()))))}};return l}({app:e,currentSelectionsLayout:r,navState:t}),o.set(a,i),o.dispatch(!0))}),[e,n,r,t]),[i,t]}const fx=Re.forwardRef(((e,t)=>{let{initialContext:n,app:r}=e;const[o]=px(r),[a,i]=Re.useState(n),[l,s]=Re.useState(),{theme:c}=Re.useMemo((()=>({theme:Nb(l)})),[l]),[u,d]=Re.useState([]);return Re.useImperativeHandle(t,(()=>({addComponent(e){d([...u,e])},removeComponent(e){const t=u.indexOf(e);-1!==t&&(u.splice(t,1),d([...u]))},setMuiThemeName:s,setContext:i,getAppSelections:()=>o}))),ct.createElement(Em,{injectFirst:!0},ct.createElement(ov,{theme:c},ct.createElement(Mb.Provider,{value:a},u)))}));function hx(e){let t,{app:n,context:r}=e;const o=new Promise((e=>{t=e})),a=ct.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","3.1.0"),i.setAttribute("data-app-id",n.id),document.body.appendChild(i),bp.render(ct.createElement(fx,{ref:a,app:n,initialContext:r}),i,t);const l={};return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,a.current.addComponent(e)})()},remove(e){(async()=>{await o,a.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}function mx(e){return gf("MuiSvgIcon",e)}vf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const gx=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],vx=Fv("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Up(n.color)}`],t[`fontSize${Up(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,c,u,d,p,f,h,m,g,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(a=o.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(l=i.pxToRem)?void 0:l.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(c=s.pxToRem)?void 0:c.call(s,24))||"1.5rem",large:(null==(u=e.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(p=null==(f=(e.vars||e).palette)||null==(h=f[t.color])?void 0:h.main)?p:{action:null==(m=(e.vars||e).palette)||null==(g=m.action)?void 0:g.active,disabled:null==(v=(e.vars||e).palette)||null==(y=v.action)?void 0:y.disabled,inherit:void 0}[t.color]}})),yx=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=bf(n,gx),f=yf({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d}),h={};c||(h.viewBox=d);const m=(e=>{const{color:t,fontSize:n,classes:r}=e;return pf({root:["root","inherit"!==t&&`color${Up(t)}`,`fontSize${Up(n)}`]},mx,r)})(f);return pm.jsxs(vx,yf({as:i,className:Wv(m.root,o),focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},h,p,{ownerState:f,children:[r,u?pm.jsx("title",{children:u}):null]}))}));yx.muiName="SvgIcon";var bx=yx;function xx(e,t){function n(n,r){return pm.jsx(bx,yf({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=bx.muiName,Re.memo(Re.forwardRef(n))}const Sx=e=>e.scrollTop;function wx(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function Ex(e){return gf("MuiPaper",e)}vf("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 Cx=["className","component","elevation","square","variant"],kx=Fv("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 yf({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&&yf({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${tv("#fff",$v(t.elevation))}, ${tv("#fff",$v(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Lx=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=bf(n,Cx),c=yf({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return pf({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Ex,o)})(c);return pm.jsx(kx,yf({as:o,ownerState:c,className:Wv(u.root,r),ref:t},s))}));var Rx=Lx;function Ox(e){return gf("MuiIconButton",e)}var Ix=vf("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const _x=["edge","children","className","color","disabled","disableFocusRipple","size"],Tx=Fv(db,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Up(n.color)}`],n.edge&&t[`edge${Up(n.edge)}`],t[`size${Up(n.size)}`]]}})((({theme:e,ownerState:t})=>yf({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:tv(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return yf({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&yf({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":yf({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:tv(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Ix.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Px=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=bf(n,_x),d=yf({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e;return pf({root:["root",n&&"disabled","default"!==r&&`color${Up(r)}`,o&&`edge${Up(o)}`,`size${Up(a)}`]},Ox,t)})(d);return pm.jsx(Tx,yf({className:Wv(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))}));var Nx=Px;function Mx(e){return gf("MuiTypography",e)}vf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const zx=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ax=Fv("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${Up(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>yf({margin:0},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}))),qx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Dx={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},jx=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiTypography"}),r=(e=>Dx[e]||e)(n.color),o=Eg(yf({},n,{color:r})),{align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=qx}=o,f=bf(o,zx),h=yf({},o,{align:a,color:r,className:i,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=l||(u?"p":p[d]||qx[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:i}=e;return pf({root:["root",a,"inherit"!==e.align&&`align${Up(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Mx,i)})(h);return pm.jsx(Ax,yf({as:m,ref:t,ownerState:h,className:Wv(g.root,i)},f))}));var Fx=jx;function $x({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)),{})}var Bx=Re.createContext(void 0);function Wx(){return Re.useContext(Bx)}function Ux(e){return pm.jsx(Cm,yf({},e,{defaultTheme:zv}))}function Hx(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Vx(e){return gf("MuiInputBase",e)}var Gx=vf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const Kx=["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"],Zx=(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${Up(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Xx=(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]},Qx=Fv("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Zx})((({theme:e,ownerState:t})=>yf({},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",[`&.${Gx.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&yf({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Yx=Fv("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Xx})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=yf({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"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return yf({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] + .${Gx.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Gx.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"})})),Jx=pm.jsx(Ux,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),eS=Re.forwardRef((function(e,t){var n;const r=qv({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:l,components:s={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:v={},inputRef:y,maxRows:b,minRows:x,multiline:S=!1,name:w,onBlur:E,onChange:C,onClick:k,onFocus:L,onKeyDown:R,onKeyUp:O,placeholder:I,readOnly:_,renderSuffix:T,rows:P,slotProps:N={},slots:M={},startAdornment:z,type:A="text",value:q}=r,D=bf(r,Kx),j=null!=v.value?v.value:q,{current:F}=Re.useRef(null!=j),$=Re.useRef(),B=Re.useCallback((e=>{}),[]),W=Yp($,y,v.ref,B),[U,H]=Re.useState(!1),V=Wx(),G=$x({props:r,muiFormControl:V,states:["color","disabled","error","hiddenLabel","size","required","filled"]});G.focused=V?V.focused:U,Re.useEffect((()=>{!V&&d&&U&&(H(!1),E&&E())}),[V,d,U,E]);const K=V&&V.onFilled,Z=V&&V.onEmpty,X=Re.useCallback((e=>{!function(e,t=!1){return e&&(Hx(e.value)&&""!==e.value||t&&Hx(e.defaultValue)&&""!==e.defaultValue)}(e)?Z&&Z():K&&K()}),[K,Z]);Xp((()=>{F&&X({value:j})}),[j,X,F]);Re.useEffect((()=>{X($.current)}),[]);let Q=g,Y=v;S&&"input"===Q&&(Y=yf(P?{type:void 0,minRows:P,maxRows:P}:{type:void 0,maxRows:b,minRows:x},Y),Q=Cy);Re.useEffect((()=>{V&&V.setAdornedStart(Boolean(z))}),[V,z]);const J=yf({},r,{color:G.color||"primary",disabled:G.disabled,endAdornment:f,error:G.error,focused:G.focused,formControl:V,fullWidth:h,hiddenLabel:G.hiddenLabel,multiline:S,size:G.size,startAdornment:z,type:A}),ee=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return pf({root:["root",`color${Up(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===p&&"sizeSmall",u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},Vx,t)})(J),te=M.root||s.Root||Qx,ne=N.root||c.root||{},re=M.input||s.Input||Yx;return Y=yf({},Y,null!=(n=N.input)?n:c.input),pm.jsxs(Re.Fragment,{children:[!p&&Jx,pm.jsxs(te,yf({},ne,!Hv(te)&&{ownerState:yf({},J,ne.ownerState)},{ref:t,onClick:e=>{$.current&&e.currentTarget===e.target&&$.current.focus(),k&&k(e)}},D,{className:Wv(ee.root,ne.className,l),children:[z,pm.jsx(Bx.Provider,{value:null,children:pm.jsx(re,yf({ownerState:J,"aria-invalid":G.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:u,disabled:G.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:w,placeholder:I,readOnly:_,required:G.required,rows:P,value:j,onKeyDown:R,onKeyUp:O,type:A},Y,!Hv(re)&&{as:Q,ownerState:yf({},J,Y.ownerState)},{ref:W,className:Wv(ee.input,Y.className),onBlur:e=>{E&&E(e),v.onBlur&&v.onBlur(e),V&&V.onBlur?V.onBlur(e):H(!1)},onChange:(e,...t)=>{if(!F){const t=e.target||$.current;if(null==t)throw new Error(Cp(1));X({value:t.value})}v.onChange&&v.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{G.disabled?e.stopPropagation():(L&&L(e),v.onFocus&&v.onFocus(e),V&&V.onFocus?V.onFocus(e):H(!0))}}))}),f,T?T(yf({},G,{startAdornment:z})):null]}))]})}));var tS=eS;function nS(e){return gf("MuiOutlinedInput",e)}var rS=yf({},Gx,vf("MuiOutlinedInput",["root","notchedOutline","input"]));const oS=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],aS={entering:{opacity:1},entered:{opacity:1}},iS=Re.forwardRef((function(e,t){const n=Av(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:v=Dy}=e,y=bf(e,oS),b=Re.useRef(null),x=Yp(b,i.ref,t),S=e=>t=>{if(e){const n=b.current;void 0===t?e(n):e(n,t)}},w=S(d),E=S(((e,t)=>{Sx(e);const r=wx({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)})),C=S(u),k=S(h),L=S((e=>{const t=wx({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),R=S(f);return pm.jsx(v,yf({appear:a,in:s,nodeRef:b,onEnter:E,onEntered:C,onEntering:w,onExit:L,onExited:R,onExiting:k,addEndListener:e=>{o&&o(b.current,e)},timeout:g},y,{children:(e,t)=>Re.cloneElement(i,yf({style:yf({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},aS[e],m,i.props.style),ref:x},t))}))}));var lS=iS;function sS(e){return gf("MuiBackdrop",e)}vf("MuiBackdrop",["root","invisible"]);const cS=["children","component","components","componentsProps","className","invisible","open","slotProps","slots","transitionDuration","TransitionComponent"],uS=Fv("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>yf({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"}))),dS=Re.forwardRef((function(e,t){var n,r,o;const a=qv({props:e,name:"MuiBackdrop"}),{children:i,component:l="div",components:s={},componentsProps:c={},className:u,invisible:d=!1,open:p,slotProps:f={},slots:h={},transitionDuration:m,TransitionComponent:g=lS}=a,v=bf(a,cS),y=yf({},a,{component:l,invisible:d}),b=(e=>{const{classes:t,invisible:n}=e;return pf({root:["root",n&&"invisible"]},sS,t)})(y),x=null!=(n=f.root)?n:c.root;return pm.jsx(g,yf({in:p,timeout:m},v,{children:pm.jsx(uS,yf({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:s.Root)?r:l,className:Wv(b.root,u,null==x?void 0:x.className),ownerState:yf({},y,null==x?void 0:x.ownerState),classes:b,ref:t,children:i}))}))}));var pS=dS;var fS=e=>!e||!Hv(e);function hS(e){return gf("MuiBadge",e)}var mS=vf("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);const gS=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],vS=Fv("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),yS=Fv("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Up(n.anchorOrigin.vertical)}${Up(n.anchorOrigin.horizontal)}${Up(n.overlap)}`],"default"!==n.color&&t[`color${Up(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>yf({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${mS.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),bS=Re.forwardRef((function(e,t){var n,r,o,a,i,l;const s=qv({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d="span",components:p={},componentsProps:f={},overlap:h="rectangular",color:m="default",invisible:g=!1,max:v,badgeContent:y,slots:b,slotProps:x,showZero:S=!1,variant:w="standard"}=s,E=bf(s,gS),C=uf({anchorOrigin:c,color:m,overlap:h,variant:w});let k=g;!1===g&&(0===y&&!S||null==y&&"dot"!==w)&&(k=!0);const{color:L=m,overlap:R=h,anchorOrigin:O=c,variant:I=w}=k?C:s,_=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return pf({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${Up(n.vertical)}${Up(n.horizontal)}`,`anchorOrigin${Up(n.vertical)}${Up(n.horizontal)}${Up(o)}`,`overlap${Up(o)}`,"default"!==t&&`color${Up(t)}`]},hS,i)})(yf({},s,{anchorOrigin:O,invisible:k,color:L,overlap:R,variant:I}));let T;"dot"!==I&&(T=y&&Number(y)>v?`${v}+`:y);const P=null!=(n=null!=(r=null==b?void 0:b.root)?r:p.Root)?n:vS,N=null!=(o=null!=(a=null==b?void 0:b.badge)?a:p.Badge)?o:yS,M=null!=(i=null==x?void 0:x.root)?i:f.root,z=null!=(l=null==x?void 0:x.badge)?l:f.badge;return pm.jsx(ry,yf({invisible:g,badgeContent:T,showZero:S,max:v},E,{slots:{root:P,badge:N},className:Wv(null==M?void 0:M.className,_.root,u),slotProps:{root:yf({},M,fS(P)&&{as:d,ownerState:yf({},null==M?void 0:M.ownerState,{anchorOrigin:O,color:L,overlap:R,variant:I})}),badge:yf({},z,{className:Wv(_.badge,null==z?void 0:z.className)},fS(N)&&{ownerState:yf({},null==z?void 0:z.ownerState,{anchorOrigin:O,color:L,overlap:R,variant:I})})},ref:t}))}));var xS=bS;const SS=function(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r}=e,o=km("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(xg),a=Re.forwardRef((function(e,a){const i=jg(t),l=Eg(e),{className:s,component:c="div"}=l,u=Sg(l,Fg);return pm.jsx(o,Lm({as:c,ref:a,className:kg(s,r?r(n):n),theme:i},u))}));return a}({defaultTheme:Mv(),defaultClassName:"MuiBox-root",generateClassName:hf.generate});var wS=SS;function ES(e){return gf("PrivateSwitchBase",e)}vf("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const CS=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],kS=Fv(db)((({ownerState:e})=>yf({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),LS=Fv("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),RS=Re.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:g,onFocus:v,readOnly:y,required:b,tabIndex:x,type:S,value:w}=e,E=bf(e,CS),[C,k]=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=Re.useRef(void 0!==e),[a,i]=Re.useState(t);return[o?e:a,Re.useCallback((e=>{o||i(e)}),[])]}({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),L=Wx();let R=l;L&&void 0===R&&(R=L.disabled);const O="checkbox"===S||"radio"===S,I=yf({},e,{checked:C,disabled:R,disableFocusRipple:s,edge:c}),_=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return pf({root:["root",n&&"checked",r&&"disabled",o&&`edge${Up(o)}`],input:["input"]},ES,t)})(I);return pm.jsxs(kS,yf({component:"span",className:Wv(_.root,a),centerRipple:!0,focusRipple:!s,disabled:R,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),L&&L.onFocus&&L.onFocus(e)},onBlur:e=>{m&&m(e),L&&L.onBlur&&L.onBlur(e)},ownerState:I,ref:t},E,{children:[pm.jsx(LS,yf({autoFocus:n,checked:r,defaultChecked:i,className:_.input,disabled:R,id:O&&d,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;k(t),g&&g(e,t)},readOnly:y,ref:f,required:b,ownerState:I,tabIndex:x,type:S},"checkbox"===S&&void 0===w?{}:{value:w},p)),C?o:u]}))}));var OS=RS,IS=xx(pm.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),_S=xx(pm.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),TS=xx(pm.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function PS(e){return gf("MuiCheckbox",e)}var NS=vf("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);const MS=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],zS=Fv(OS,{shouldForwardProp:e=>Dv(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${Up(n.color)}`]]}})((({theme:e,ownerState:t})=>yf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:tv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${NS.checked}, &.${NS.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${NS.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),AS=pm.jsx(_S,{}),qS=pm.jsx(IS,{}),DS=pm.jsx(TS,{}),jS=Re.forwardRef((function(e,t){var n,r;const o=qv({props:e,name:"MuiCheckbox"}),{checkedIcon:a=AS,color:i="primary",icon:l=qS,indeterminate:s=!1,indeterminateIcon:c=DS,inputProps:u,size:d="medium",className:p}=o,f=bf(o,MS),h=s?c:l,m=s?c:a,g=yf({},o,{color:i,indeterminate:s,size:d}),v=(e=>{const{classes:t,indeterminate:n,color:r}=e;return yf({},t,pf({root:["root",n&&"indeterminate",`color${Up(r)}`]},PS,t))})(g);return pm.jsx(zS,yf({type:"checkbox",inputProps:yf({"data-indeterminate":s},u),icon:Re.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),checkedIcon:Re.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:g,ref:t,className:Wv(v.root,p)},f,{classes:v}))}));var FS=jS;function $S(e){return gf("MuiCircularProgress",e)}vf("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const BS=["className","color","disableShrink","size","style","thickness","value","variant"];let WS,US,HS,VS,GS=e=>e;const KS=44,ZS=om(WS||(WS=GS`
|
|
105
|
+
`),wx.rippleVisible,Ix,550,(({theme:e})=>e.transitions.easing.easeInOut),wx.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),wx.child,wx.childLeaving,_x,550,(({theme:e})=>e.transitions.easing.easeInOut),wx.childPulsate,Tx,(({theme:e})=>e.transitions.easing.easeInOut)),Mx=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=kf(n,Ex),[l,s]=d.useState([]),c=d.useRef(0),u=d.useRef(null);d.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[l]);const p=d.useRef(!1),f=d.useRef(null),h=d.useRef(null),m=d.useRef(null);d.useEffect((()=>()=>{clearTimeout(f.current)}),[]);const g=d.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,ym.jsx(Nx,{classes:{ripple:Zv(o.ripple,wx.ripple),rippleVisible:Zv(o.rippleVisible,wx.rippleVisible),ripplePulsate:Zv(o.ripplePulsate,wx.ripplePulsate),child:Zv(o.child,wx.child),childLeaving:Zv(o.childLeaving,wx.childLeaving),childPulsate:Zv(o.childPulsate,wx.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),v=d.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&p.current)return void(p.current=!1);"touchstart"===(null==e?void 0:e.type)&&(p.current=!0);const l=i?null:m.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(a)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)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{g({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},f.current=setTimeout((()=>{h.current&&(h.current(),h.current=null)}),80)):g({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[r,g]),y=d.useCallback((()=>{v({},{pulsate:!0})}),[v]),b=d.useCallback(((e,t)=>{if(clearTimeout(f.current),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void(f.current=setTimeout((()=>{b(e,t)})));h.current=null,s((e=>e.length>0?e.slice(1):e)),u.current=t}),[]);return d.useImperativeHandle(t,(()=>({pulsate:y,start:v,stop:b})),[y,v,b]),ym.jsx(Px,Cf({className:Zv(wx.root,o.root,a),ref:m},i,{children:ym.jsx(Sx,{component:null,exit:!0,children:l})}))}));var zx=Mx;function Ax(e){return wf("MuiButtonBase",e)}var Dx=Ef("MuiButtonBase",["root","disabled","focusVisible"]);const qx=["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"],jx=Vv("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"},[`&.${Dx.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fx=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:p=!1,LinkComponent:f="a",onBlur:h,onClick:m,onContextMenu:g,onDragLeave:v,onFocus:y,onFocusVisible:b,onKeyDown:x,onKeyUp:S,onMouseDown:w,onMouseLeave:E,onMouseUp:C,onTouchEnd:k,onTouchMove:L,onTouchStart:R,tabIndex:O=0,TouchRippleProps:I,touchRippleRef:_,type:T}=n,P=kf(n,qx),N=d.useRef(null),M=d.useRef(null),z=of(M,_),{isFocusVisibleRef:A,onFocus:D,onBlur:q,ref:j}=hf(),[F,$]=d.useState(!1);s&&F&&$(!1),d.useImperativeHandle(r,(()=>({focusVisible:()=>{$(!0),N.current.focus()}})),[]);const[B,W]=d.useState(!1);d.useEffect((()=>{W(!0)}),[]);const H=B&&!c&&!s;function U(e,t,n=u){return rf((r=>{t&&t(r);return!n&&M.current&&M.current[e](r),!0}))}d.useEffect((()=>{F&&p&&!c&&B&&M.current.pulsate()}),[c,p,F,B]);const V=U("start",w),G=U("stop",g),K=U("stop",v),Z=U("stop",C),X=U("stop",(e=>{F&&e.preventDefault(),E&&E(e)})),Q=U("start",R),Y=U("stop",k),J=U("stop",L),ee=U("stop",(e=>{q(e),!1===A.current&&$(!1),h&&h(e)}),!1),te=rf((e=>{N.current||(N.current=e.currentTarget),D(e),!0===A.current&&($(!0),b&&b(e)),y&&y(e)})),ne=()=>{const e=N.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=d.useRef(!1),oe=rf((e=>{p&&!re.current&&F&&M.current&&" "===e.key&&(re.current=!0,M.current.stop(e,(()=>{M.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),m&&m(e))})),ae=rf((e=>{p&&" "===e.key&&M.current&&F&&!e.defaultPrevented&&(re.current=!1,M.current.stop(e,(()=>{M.current.pulsate(e)}))),S&&S(e),m&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ie=l;"button"===ie&&(P.href||P.to)&&(ie=f);const le={};"button"===ie?(le.type=void 0===T?"button":T,le.disabled=s):(P.href||P.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=of(t,j,N),ce=Cf({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:p,tabIndex:O,focusVisible:F}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=yf({root:["root",t&&"disabled",n&&"focusVisible"]},Ax,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return ym.jsxs(jx,Cf({as:ie,className:Zv(ue.root,i),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:V,onMouseLeave:X,onMouseUp:Z,onDragLeave:K,onTouchEnd:Y,onTouchMove:J,onTouchStart:Q,ref:se,tabIndex:s?-1:O,type:T},le,P,{children:[a,H?ym.jsx(zx,Cf({ref:z,center:o},I)):null]}))}));var $x=Fx;function Bx(e){return wf("MuiButton",e)}var Wx=Ef("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Hx=d.createContext({});const Ux=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Vx=e=>Cf({},"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}}),Gx=Vv($x,{shouldForwardProp:e=>Hv(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Up(n.color)}`],t[`size${Up(n.size)}`],t[`${n.variant}Size${Up(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return Cf({},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":Cf({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:lv(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})`:lv(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})`:lv(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:(e.vars||e).palette.grey.A100,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":Cf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Wx.focusVisible}`]:Cf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Wx.disabled}`]:Cf({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"outlined"===t.variant&&"secondary"===t.color&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},"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 ${lv(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).palette.grey[300],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"},[`&.${Wx.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Wx.disabled}`]:{boxShadow:"none"}})),Kx=Vv("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Up(n.size)}`]]}})((({ownerState:e})=>Cf({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Vx(e)))),Zx=Vv("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Up(n.size)}`]]}})((({ownerState:e})=>Cf({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Vx(e)))),Xx=d.forwardRef((function(e,t){const n=d.useContext(Hx),r=Wv({props:vf(n,e),name:"MuiButton"}),{children:o,color:a="primary",component:i="button",className:l,disabled:s=!1,disableElevation:c=!1,disableFocusRipple:u=!1,endIcon:p,focusVisibleClassName:f,fullWidth:h=!1,size:m="medium",startIcon:g,type:v,variant:y="text"}=r,b=kf(r,Ux),x=Cf({},r,{color:a,component:i,disabled:s,disableElevation:c,disableFocusRipple:u,fullWidth:h,size:m,type:v,variant:y}),S=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return Cf({},i,yf({root:["root",a,`${a}${Up(t)}`,`size${Up(o)}`,`${a}Size${Up(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Up(o)}`],endIcon:["endIcon",`iconSize${Up(o)}`]},Bx,i))})(x),w=g&&ym.jsx(Kx,{className:S.startIcon,ownerState:x,children:g}),E=p&&ym.jsx(Zx,{className:S.endIcon,ownerState:x,children:p});return ym.jsxs(Gx,Cf({ownerState:x,className:Zv(n.className,S.root,l),component:i,disabled:s,focusRipple:!u,focusVisibleClassName:Zv(S.focusVisible,f),ref:t,type:v},b,{classes:S,children:[w,o,E]}))}));var Qx=Xx,Yx={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1},MuiCheckbox:{color:"secondary"},MuiRadio:{color:"secondary"},MuiTabs:{indicatorColor:"secondary"}}};const Jx="#009845",eS="#3F8AB3",tS="#ffffff",nS="#404040",rS="#333333",oS="#1A1A1A",aS={mode:"light",palette:{primary:{main:nS,contrastText:tS},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:nS,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:nS,hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:tS,default:tS,lightest:tS,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:eS,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:Jx,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:tS,alternativeContrastText:nS,excludedContrastText:nS},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},iS={mode:"dark",palette:{primary:{main:rS,contrastText:tS},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:tS,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:tS,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:nS,lighter:rS,darker:"#262626",darkest:oS},custom:{focusBorder:eS,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:Jx,alternative:rS,excluded:oS,mainContrastText:tS,alternativeContrastText:tS,excludedContrastText:tS},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},lS={},sS=e=>({MuiTypography:{root:{color:e.palette.text.primary}},MuiGrid:{variants:[{props:{alignItems:"center"},style:{"align-items":"center"}}]},MuiButtonBase:{root:{borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.btn.border},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px",["&.".concat(Wx.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none",["&.".concat(Wx.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none",["&.".concat(Wx.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(Wx.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function cS(e){let t=aS,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=iS));const r=JSON.stringify(t);if(lS[r])return lS[r];const o={palette:l(l({type:t.mode},Yx.palette),t.palette),typography:l({},Yx.typography),shadows:Yx.shadows,props:l({},Yx.props),shape:l({},Yx.shape)};return lS[r]=Fv(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:a={},styleOverrides:i={}}=e,l=Cf({},kf(e,dv),{components:{}});Object.keys(t).forEach((e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n})),Object.keys(a).forEach((e=>{const t=l.components[e]||{};t.defaultProps=a[e],l.components[e]=t})),Object.keys(i).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=i[e],l.components[e]=t})),Object.keys(r).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=r[e],l.components[e]=t})),l.spacing=zg(e.spacing);const s=Ng(e.breakpoints||{}),c=l.spacing;l.mixins=Cf({gutters:(e={})=>Cf({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:Cf({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=kf(o,pv),f=d||u||"light";return l.palette=Cf({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(l(l({},o),{},{overrides:sS(o)}))),lS[r].name=n,lS[r]}xf.configure((e=>"njs-".concat("1f4e","-").concat(e.replace("Mui",""))));var uS=G.createContext({language:null,theme:null,translator:null,constraints:{},themeApi:null}),dS=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const n=e,r=[],o={get:e=>n[e],set:(e,r)=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));return n[e]=r,t({type:"SET",value:r}),r},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));n[e]=null},dispatch:e=>{r.forEach((t=>t(e?{}:n)))}},a=()=>{const[,e]=d.useState(n);return d.useEffect((()=>(r.push(e),()=>{const t=r.indexOf(e);r.splice(t,1)})),[e]),[o]};return[a,o]};const[pS,fS]=dS({}),[hS,mS]=dS({}),[gS,vS]=dS({}),[yS,bS]=dS({}),[xS,SS]=dS({}),[,wS]=dS({}),ES=e=>{let{type:t,value:n}=e;const r=wS.get(n.id);wS.set(n.id,{});const o=()=>{mS.clear(n.id),SS.set(n.id,{}),SS.dispatch(!0)},a=()=>{n.removeListener("changed",o),fS.clear(n.id),mS.clear(n.id),vS.clear(n.id),bS.clear(n.id),SS.clear(n.id),wS.clear(n.id)};if("SET"===t)r||(n.on("changed",o),n.once("closed",(()=>{a()})));return a},[CS,kS]=dS({},ES),LS=(e,t)=>{const{rpcResultStore:n,key:r,method:o}=t;let a;switch(t.type){case"INVALID":a=l(l({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":a={result:l({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":a=l(l({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let i=n.get(r);return i||(i={}),i[o]=a,n.set(r,i),a};function RS(e,t){const n=e?"".concat(e.id):null,[r]=pS(),[o,a]=d.useReducer(LS,n?r.get(n):null),[i]=xS(),[l]=hS();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const c=async o=>{let i=s[t];if(!i||i&&i.rpcRetry){i={rpc:e[t](),rpcRetry:!1},s[t]=i,a({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0})}try{const o=await i.rpc;a({type:"VALID",result:o,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||o||(i.rpcRetry||(i.rpcRetry=!0),c(!0))}},u={cancel:async()=>{const o=e.session.getObjectApi({handle:-1});await o.cancelRequest(s[t].rpc.requestId),a({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{s[t].rpcRetry=!0,c()}};return d.useEffect((()=>{e&&c()}),[e,i.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},u]}function OS(e){return RS(e,"getLayout")}function IS(e){return RS(e,"getAppLayout")}function _S(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=CS(),[o]=gS(),[a,i]=d.useState();let l;n&&(l=o.get(n));for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];return d.useEffect((()=>{if(!t)return;(async()=>{if(!l){const r=t.createSessionObject(e);l=r,o.set(n,l)}const a=await l;r.set(n,a),i(a)})()}),[t,...c]),[a]}const TS={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function PS(e){return _S(TS,e)}function NS(e){const[t]=PS(e),[n]=OS(t),[r]=IS(e),[o,a]=d.useState(null);return d.useEffect((()=>{r&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map((e=>({stateName:e,qSelectionObjectDef:{qStateName:e}})));(t&&t.alternateStates?t.alternateStates.map((e=>e.stateName)):[]).join("::")!==(n.qStateNames||[]).map((e=>e)).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,r)}),[r,t,n]),d.useEffect((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[o,t,n]}const[MS,zS]=dS({}),[AS,DS]=dS({}),[qS,jS]=dS({}),[FS,$S]=dS({});function BS(e){if(!e.session)return[];const[t,n,r]=NS(e),[o]=MS(),a=e?e.id:null;let i=o.get(a);return d.useEffect((()=>{e&&n&&r&&t&&!i&&(i=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const o="".concat(t.id),a=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=$S.get(o);t&&(await t.endSelections(e),$S.clear(o),jS.get(t.id).emit("deactivated"))},i={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===$S.get(o))return;a(r),$S.set(o,e);const i=Array.isArray(n)?n:[n],l=async n=>{try{await e.beginSelections(i),$S.set(o,e)}catch(e){6003!==e.code||n?$S.clear(o):(await t.abortModal(r),l(!0))}};await l()},end:a};DS.set(o,i);const l={model:t,isInModal:()=>!!$S.get(o),isModal:e=>e?$S.get(o)===e:!!$S.get(o),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>i.end().then((()=>t.forward())),back:()=>i.end().then((()=>t.back())),clear:()=>i.end().then((()=>t.clearAll())),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return i.end().then((()=>t.getField(e,n).then((e=>e.clear()))))}};return l}({app:e,currentSelectionsLayout:r,navState:t}),o.set(a,i),o.dispatch(!0))}),[e,n,r,t]),[i,t]}const WS=d.forwardRef(((e,t)=>{let{initialContext:n,app:r}=e;const[o]=BS(r),[a,i]=d.useState(n),[l,s]=d.useState(),{theme:c}=d.useMemo((()=>({theme:cS(l)})),[l]),[u,p]=d.useState([]);return d.useImperativeHandle(t,(()=>({addComponent(e){p([...u,e])},removeComponent(e){const t=u.indexOf(e);-1!==t&&(u.splice(t,1),p([...u]))},setMuiThemeName:s,setContext:i,getAppSelections:()=>o}))),G.createElement(Im,{injectFirst:!0},G.createElement(uv,{theme:c},G.createElement(uS.Provider,{value:a},u)))}));function HS(e){let t,{app:n,context:r}=e;const o=new Promise((e=>{t=e})),a=G.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","3.1.2"),i.setAttribute("data-app-id",n.id),document.body.appendChild(i),xp.render(G.createElement(WS,{ref:a,app:n,initialContext:r}),i,t);const l={};return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,a.current.addComponent(e)})()},remove(e){(async()=>{await o,a.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}function US(e){return wf("MuiSvgIcon",e)}Ef("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const VS=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],GS=Vv("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Up(n.color)}`],t[`fontSize${Up(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,c,u,d,p,f,h,m,g,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(a=o.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(l=i.pxToRem)?void 0:l.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(c=s.pxToRem)?void 0:c.call(s,24))||"1.5rem",large:(null==(u=e.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(p=null==(f=(e.vars||e).palette)||null==(h=f[t.color])?void 0:h.main)?p:{action:null==(m=(e.vars||e).palette)||null==(g=m.action)?void 0:g.active,disabled:null==(v=(e.vars||e).palette)||null==(y=v.action)?void 0:y.disabled,inherit:void 0}[t.color]}})),KS=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=kf(n,VS),f=Cf({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d}),h={};c||(h.viewBox=d);const m=(e=>{const{color:t,fontSize:n,classes:r}=e;return yf({root:["root","inherit"!==t&&`color${Up(t)}`,`fontSize${Up(n)}`]},US,r)})(f);return ym.jsxs(GS,Cf({as:i,className:Zv(m.root,o),focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},h,p,{ownerState:f,children:[r,u?ym.jsx("title",{children:u}):null]}))}));KS.muiName="SvgIcon";var ZS=KS;function XS(e,t){function n(n,r){return ym.jsx(ZS,Cf({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=ZS.muiName,d.memo(d.forwardRef(n))}const QS={configure:e=>{xf.configure(e)}};var YS=Object.freeze({__proto__:null,capitalize:Up,createChainedFunction:Vp,createSvgIcon:XS,debounce:Gp,deprecatedPropType:function(e,t){return()=>null},isMuiElement:Kp,ownerDocument:Zp,ownerWindow:Xp,requirePropFactory:function(e,t){return()=>null},setRef:Qp,unstable_ClassNameGenerator:QS,unstable_useEnhancedEffect:Yp,unstable_useId:tf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:nf,useEventCallback:rf,useForkRef:of,useIsFocusVisible:hf});const JS=e=>e.scrollTop;function ew(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function tw(e){return wf("MuiPaper",e)}Ef("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 nw=["className","component","elevation","square","variant"],rw=Vv("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 Cf({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&&Cf({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${lv("#fff",Gv(t.elevation))}, ${lv("#fff",Gv(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),ow=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=kf(n,nw),c=Cf({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return yf({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},tw,o)})(c);return ym.jsx(rw,Cf({as:o,ownerState:c,className:Zv(u.root,r),ref:t},s))}));var aw=ow;function iw(e){return wf("MuiIconButton",e)}var lw=Ef("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const sw=["edge","children","className","color","disabled","disableFocusRipple","size"],cw=Vv($x,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Up(n.color)}`],n.edge&&t[`edge${Up(n.edge)}`],t[`size${Up(n.size)}`]]}})((({theme:e,ownerState:t})=>Cf({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:lv(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return Cf({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&Cf({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":Cf({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:lv(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${lw.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),uw=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=kf(n,sw),d=Cf({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e;return yf({root:["root",n&&"disabled","default"!==r&&`color${Up(r)}`,o&&`edge${Up(o)}`,`size${Up(a)}`]},iw,t)})(d);return ym.jsx(cw,Cf({className:Zv(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))}));var dw=uw;function pw(e){return wf("MuiTypography",e)}Ef("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const fw=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],hw=Vv("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${Up(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>Cf({margin:0},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}))),mw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},gw={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},vw=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiTypography"}),r=(e=>gw[e]||e)(n.color),o=Ig(Cf({},n,{color:r})),{align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=mw}=o,f=kf(o,fw),h=Cf({},o,{align:a,color:r,className:i,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=l||(u?"p":p[d]||mw[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:i}=e;return yf({root:["root",a,"inherit"!==e.align&&`align${Up(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},pw,i)})(h);return ym.jsx(hw,Cf({as:m,ref:t,ownerState:h,className:Zv(g.root,i)},f))}));var yw=vw;const bw=["components","componentsProps","slots","slotProps"],xw=Vv(qb,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Sw=d.forwardRef((function(e,t){var n;const r=Wg(),o=Wv({props:e,name:"MuiPopper"}),{components:a,componentsProps:i,slots:l,slotProps:s}=o,c=kf(o,bw),u=null!=(n=null==l?void 0:l.root)?n:null==a?void 0:a.Root;return ym.jsx(xw,Cf({direction:null==r?void 0:r.direction,slots:{root:u},slotProps:null!=s?s:i},c,{ref:t}))}));var ww=Sw;function Ew({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)),{})}var Cw=d.createContext(void 0);function kw(){return d.useContext(Cw)}function Lw(e){return ym.jsx(_m,Cf({},e,{defaultTheme:$v}))}function Rw(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function Ow(e){return wf("MuiInputBase",e)}var Iw=Ef("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const _w=["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"],Tw=(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${Up(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Pw=(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]},Nw=Vv("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Tw})((({theme:e,ownerState:t})=>Cf({},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",[`&.${Iw.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Cf({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Mw=Vv("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Pw})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=Cf({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"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return Cf({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] + .${Iw.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Iw.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"})})),zw=ym.jsx(Lw,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Aw=d.forwardRef((function(e,t){var n;const r=Wv({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:l,components:s={},componentsProps:c={},defaultValue:u,disabled:p,disableInjectingGlobalStyles:f,endAdornment:h,fullWidth:m=!1,id:g,inputComponent:v="input",inputProps:y={},inputRef:b,maxRows:x,minRows:S,multiline:w=!1,name:E,onBlur:C,onChange:k,onClick:L,onFocus:R,onKeyDown:O,onKeyUp:I,placeholder:_,readOnly:T,renderSuffix:P,rows:N,slotProps:M={},slots:z={},startAdornment:A,type:D="text",value:q}=r,j=kf(r,_w),F=null!=y.value?y.value:q,{current:$}=d.useRef(null!=F),B=d.useRef(),W=d.useCallback((e=>{}),[]),H=of(B,b,y.ref,W),[U,V]=d.useState(!1),G=kw(),K=Ew({props:r,muiFormControl:G,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=G?G.focused:U,d.useEffect((()=>{!G&&p&&U&&(V(!1),C&&C())}),[G,p,U,C]);const Z=G&&G.onFilled,X=G&&G.onEmpty,Q=d.useCallback((e=>{!function(e,t=!1){return e&&(Rw(e.value)&&""!==e.value||t&&Rw(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():Z&&Z()}),[Z,X]);Yp((()=>{$&&Q({value:F})}),[F,Q,$]);d.useEffect((()=>{Q(B.current)}),[]);let Y=v,J=y;w&&"input"===Y&&(J=Cf(N?{type:void 0,minRows:N,maxRows:N}:{type:void 0,maxRows:x,minRows:S},J),Y=ex);d.useEffect((()=>{G&&G.setAdornedStart(Boolean(A))}),[G,A]);const ee=Cf({},r,{color:K.color||"primary",disabled:K.disabled,endAdornment:h,error:K.error,focused:K.focused,formControl:G,fullWidth:m,hiddenLabel:K.hiddenLabel,multiline:w,size:K.size,startAdornment:A,type:D}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return yf({root:["root",`color${Up(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===p&&"sizeSmall",u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},Ow,t)})(ee),ne=z.root||s.Root||Nw,re=M.root||c.root||{},oe=z.input||s.Input||Mw;return J=Cf({},J,null!=(n=M.input)?n:c.input),ym.jsxs(d.Fragment,{children:[!f&&zw,ym.jsxs(ne,Cf({},re,!Qv(ne)&&{ownerState:Cf({},ee,re.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),L&&L(e)}},j,{className:Zv(te.root,re.className,l),children:[A,ym.jsx(Cw.Provider,{value:null,children:ym.jsx(oe,Cf({ownerState:ee,"aria-invalid":K.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:u,disabled:K.disabled,id:g,onAnimationStart:e=>{Q("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:E,placeholder:_,readOnly:T,required:K.required,rows:N,value:F,onKeyDown:O,onKeyUp:I,type:D},J,!Qv(oe)&&{as:Y,ownerState:Cf({},ee,J.ownerState)},{ref:H,className:Zv(te.input,J.className),onBlur:e=>{C&&C(e),y.onBlur&&y.onBlur(e),G&&G.onBlur?G.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||B.current;if(null==t)throw new Error(kp(1));Q({value:t.value})}y.onChange&&y.onChange(e,...t),k&&k(e,...t)},onFocus:e=>{K.disabled?e.stopPropagation():(R&&R(e),y.onFocus&&y.onFocus(e),G&&G.onFocus?G.onFocus(e):V(!0))}}))}),h,P?P(Cf({},K,{startAdornment:A})):null]}))]})}));var Dw=Aw;function qw(e){return wf("MuiOutlinedInput",e)}var jw=Cf({},Iw,Ef("MuiOutlinedInput",["root","notchedOutline","input"]));const Fw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],$w={entering:{opacity:1},entered:{opacity:1}},Bw=d.forwardRef((function(e,t){const n=Bv(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:p,onExit:f,onExited:h,onExiting:m,style:g,timeout:v=r,TransitionComponent:y=hx}=e,b=kf(e,Fw),x=d.useRef(null),S=of(x,i.ref,t),w=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=w(p),C=w(((e,t)=>{JS(e);const r=ew({style:g,timeout:v,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)})),k=w(u),L=w(m),R=w((e=>{const t=ew({style:g,timeout:v,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),f&&f(e)})),O=w(h);return ym.jsx(y,Cf({appear:a,in:s,nodeRef:x,onEnter:C,onEntered:k,onEntering:E,onExit:R,onExited:O,onExiting:L,addEndListener:e=>{o&&o(x.current,e)},timeout:v},b,{children:(e,t)=>d.cloneElement(i,Cf({style:Cf({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},$w[e],g,i.props.style),ref:S},t))}))}));var Ww=Bw;function Hw(e){return wf("MuiBackdrop",e)}Ef("MuiBackdrop",["root","invisible"]);const Uw=["children","component","components","componentsProps","className","invisible","open","slotProps","slots","transitionDuration","TransitionComponent"],Vw=Vv("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Cf({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"}))),Gw=d.forwardRef((function(e,t){var n,r,o;const a=Wv({props:e,name:"MuiBackdrop"}),{children:i,component:l="div",components:s={},componentsProps:c={},className:u,invisible:d=!1,open:p,slotProps:f={},slots:h={},transitionDuration:m,TransitionComponent:g=Ww}=a,v=kf(a,Uw),y=Cf({},a,{component:l,invisible:d}),b=(e=>{const{classes:t,invisible:n}=e;return yf({root:["root",n&&"invisible"]},Hw,t)})(y),x=null!=(n=f.root)?n:c.root;return ym.jsx(g,Cf({in:p,timeout:m},v,{children:ym.jsx(Vw,Cf({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:s.Root)?r:l,className:Zv(b.root,u,null==x?void 0:x.className),ownerState:Cf({},y,null==x?void 0:x.ownerState),classes:b,ref:t,children:i}))}))}));var Kw=Gw;var Zw=e=>!e||!Qv(e);function Xw(e){return wf("MuiBadge",e)}var Qw=Ef("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);const Yw=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Jw=Vv("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),eE=Vv("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Up(n.anchorOrigin.vertical)}${Up(n.anchorOrigin.horizontal)}${Up(n.overlap)}`],"default"!==n.color&&t[`color${Up(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>Cf({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Qw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),tE=d.forwardRef((function(e,t){var n,r,o,a,i,l;const s=Wv({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d="span",components:p={},componentsProps:f={},overlap:h="rectangular",color:m="default",invisible:g=!1,max:v,badgeContent:y,slots:b,slotProps:x,showZero:S=!1,variant:w="standard"}=s,E=kf(s,Yw),C=gf({anchorOrigin:c,color:m,overlap:h,variant:w});let k=g;!1===g&&(0===y&&!S||null==y&&"dot"!==w)&&(k=!0);const{color:L=m,overlap:R=h,anchorOrigin:O=c,variant:I=w}=k?C:s,_=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return yf({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${Up(n.vertical)}${Up(n.horizontal)}`,`anchorOrigin${Up(n.vertical)}${Up(n.horizontal)}${Up(o)}`,`overlap${Up(o)}`,"default"!==t&&`color${Up(t)}`]},Xw,i)})(Cf({},s,{anchorOrigin:O,invisible:k,color:L,overlap:R,variant:I}));let T;"dot"!==I&&(T=y&&Number(y)>v?`${v}+`:y);const P=null!=(n=null!=(r=null==b?void 0:b.root)?r:p.Root)?n:Jw,N=null!=(o=null!=(a=null==b?void 0:b.badge)?a:p.Badge)?o:eE,M=null!=(i=null==x?void 0:x.root)?i:f.root,z=null!=(l=null==x?void 0:x.badge)?l:f.badge;return ym.jsx(uy,Cf({invisible:g,badgeContent:T,showZero:S,max:v},E,{slots:{root:P,badge:N},className:Zv(null==M?void 0:M.className,_.root,u),slotProps:{root:Cf({},M,Zw(P)&&{as:d,ownerState:Cf({},null==M?void 0:M.ownerState,{anchorOrigin:O,color:L,overlap:R,variant:I})}),badge:Cf({},z,{className:Zv(_.badge,null==z?void 0:z.className)},Zw(N)&&{ownerState:Cf({},null==z?void 0:z.ownerState,{anchorOrigin:O,color:L,overlap:R,variant:I})})},ref:t}))}));var nE=tE;const rE=function(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r}=e,o=Tm("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Lg),a=d.forwardRef((function(e,a){const i=Ug(t),l=Ig(e),{className:s,component:c="div"}=l,u=Rg(l,Vg);return ym.jsx(o,Pm({as:c,ref:a,className:Tg(s,r?r(n):n),theme:i},u))}));return a}({defaultTheme:Fv(),defaultClassName:"MuiBox-root",generateClassName:xf.generate});var oE=rE;function aE(e){return wf("PrivateSwitchBase",e)}Ef("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const iE=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],lE=Vv($x)((({ownerState:e})=>Cf({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),sE=Vv("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),cE=d.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:g,onFocus:v,readOnly:y,required:b,tabIndex:x,type:S,value:w}=e,E=kf(e,iE),[C,k]=nf({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),L=kw();let R=l;L&&void 0===R&&(R=L.disabled);const O="checkbox"===S||"radio"===S,I=Cf({},e,{checked:C,disabled:R,disableFocusRipple:s,edge:c}),_=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return yf({root:["root",n&&"checked",r&&"disabled",o&&`edge${Up(o)}`],input:["input"]},aE,t)})(I);return ym.jsxs(lE,Cf({component:"span",className:Zv(_.root,a),centerRipple:!0,focusRipple:!s,disabled:R,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),L&&L.onFocus&&L.onFocus(e)},onBlur:e=>{m&&m(e),L&&L.onBlur&&L.onBlur(e)},ownerState:I,ref:t},E,{children:[ym.jsx(sE,Cf({autoFocus:n,checked:r,defaultChecked:i,className:_.input,disabled:R,id:O&&d,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;k(t),g&&g(e,t)},readOnly:y,ref:f,required:b,ownerState:I,tabIndex:x,type:S},"checkbox"===S&&void 0===w?{}:{value:w},p)),C?o:u]}))}));var uE=cE,dE=XS(ym.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),pE=XS(ym.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),fE=XS(ym.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function hE(e){return wf("MuiCheckbox",e)}var mE=Ef("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);const gE=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],vE=Vv(uE,{shouldForwardProp:e=>Hv(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${Up(n.color)}`]]}})((({theme:e,ownerState:t})=>Cf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:lv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${mE.checked}, &.${mE.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${mE.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),yE=ym.jsx(pE,{}),bE=ym.jsx(dE,{}),xE=ym.jsx(fE,{}),SE=d.forwardRef((function(e,t){var n,r;const o=Wv({props:e,name:"MuiCheckbox"}),{checkedIcon:a=yE,color:i="primary",icon:l=bE,indeterminate:s=!1,indeterminateIcon:c=xE,inputProps:u,size:p="medium",className:f}=o,h=kf(o,gE),m=s?c:l,g=s?c:a,v=Cf({},o,{color:i,indeterminate:s,size:p}),y=(e=>{const{classes:t,indeterminate:n,color:r}=e;return Cf({},t,yf({root:["root",n&&"indeterminate",`color${Up(r)}`]},hE,t))})(v);return ym.jsx(vE,Cf({type:"checkbox",inputProps:Cf({"data-indeterminate":s},u),icon:d.cloneElement(m,{fontSize:null!=(n=m.props.fontSize)?n:p}),checkedIcon:d.cloneElement(g,{fontSize:null!=(r=g.props.fontSize)?r:p}),ownerState:v,ref:t,className:Zv(y.root,f)},h,{classes:y}))}));var wE=SE;function EE(e){return wf("MuiCircularProgress",e)}Ef("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const CE=["className","color","disableShrink","size","style","thickness","value","variant"];let kE,LE,RE,OE,IE=e=>e;const _E=44,TE=um(kE||(kE=IE`
|
|
106
106
|
0% {
|
|
107
107
|
transform: rotate(0deg);
|
|
108
108
|
}
|
|
@@ -110,7 +110,7 @@ var vt=Re,yt=ht;function bt(e){for(var t="https://reactjs.org/docs/error-decoder
|
|
|
110
110
|
100% {
|
|
111
111
|
transform: rotate(360deg);
|
|
112
112
|
}
|
|
113
|
-
`)),
|
|
113
|
+
`)),PE=um(LE||(LE=IE`
|
|
114
114
|
0% {
|
|
115
115
|
stroke-dasharray: 1px, 200px;
|
|
116
116
|
stroke-dashoffset: 0;
|
|
@@ -125,9 +125,9 @@ var vt=Re,yt=ht;function bt(e){for(var t="https://reactjs.org/docs/error-decoder
|
|
|
125
125
|
stroke-dasharray: 100px, 200px;
|
|
126
126
|
stroke-dashoffset: -125px;
|
|
127
127
|
}
|
|
128
|
-
`)),
|
|
128
|
+
`)),NE=Vv("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Up(n.color)}`]]}})((({ownerState:e,theme:t})=>Cf({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&cm(RE||(RE=IE`
|
|
129
129
|
animation: ${0} 1.4s linear infinite;
|
|
130
|
-
`),
|
|
130
|
+
`),TE))),ME=Vv("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),zE=Vv("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Up(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>Cf({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&cm(OE||(OE=IE`
|
|
131
131
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
132
|
-
`),XS))),ew=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=bf(n,BS),p=yf({},n,{color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u}),f=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return pf({root:["root",n,`color${Up(r)}`],svg:["svg"],circle:["circle",`circle${Up(n)}`,o&&"circleDisableShrink"]},$S,t)})(p),h={},m={},g={};if("determinate"===u){const e=2*Math.PI*((KS-s)/2);h.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return pm.jsx(QS,yf({className:Wv(f.root,r),style:yf({width:i,height:i},m,l),ownerState:p,ref:t,role:"progressbar"},g,d,{children:pm.jsx(YS,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:pm.jsx(JS,{className:f.circle,style:h,ownerState:p,cx:KS,cy:KS,r:(KS-s)/2,fill:"none",strokeWidth:s})})}))}));var tw=ew;const nw=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],rw=Fv("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})=>yf({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),ow=Fv(pS,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),aw=Re.forwardRef((function(e,t){var n,r,o,a,i,l;const s=qv({name:"MuiModal",props:e}),{BackdropComponent:c=ow,BackdropProps:u,closeAfterTransition:d=!1,children:p,component:f,components:h={},componentsProps:m={},disableAutoFocus:g=!1,disableEnforceFocus:v=!1,disableEscapeKeyDown:y=!1,disablePortal:b=!1,disableRestoreFocus:x=!1,disableScrollLock:S=!1,hideBackdrop:w=!1,keepMounted:E=!1,slotProps:C,slots:k,theme:L}=s,R=bf(s,nw),[O,I]=Re.useState(!0),_={closeAfterTransition:d,disableAutoFocus:g,disableEnforceFocus:v,disableEscapeKeyDown:y,disablePortal:b,disableRestoreFocus:x,disableScrollLock:S,hideBackdrop:w,keepMounted:E},T=yf({},s,_,{exited:O}),P=(e=>e.classes)(T),N=null!=(n=null!=(r=null==k?void 0:k.root)?r:h.Root)?n:rw,M=null!=(o=null!=(a=null==k?void 0:k.backdrop)?a:h.Backdrop)?o:c,z=null!=(i=null==C?void 0:C.root)?i:m.root,A=null!=(l=null==C?void 0:C.backdrop)?l:m.backdrop;return pm.jsx(yy,yf({slots:{root:N,backdrop:M},slotProps:{root:()=>yf({},Vv(z,T),!Hv(N)&&{as:f,theme:L}),backdrop:()=>yf({},u,Vv(A,T))},onTransitionEnter:()=>I(!1),onTransitionExited:()=>I(!0),ref:t},R,{classes:P},_,{children:p}))}));var iw=aw;function lw(e){return gf("MuiDivider",e)}var sw=vf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const cw=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],uw=Fv("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})=>yf({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)`:tv(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"})),(({theme:e,ownerState:t})=>yf({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:e,ownerState:t})=>yf({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:e})=>yf({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),dw=Fv("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>yf({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)`}))),pw=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=n,f=bf(n,cw),h=yf({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e;return pf({root:["root",t&&"absolute",s,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},lw,r)})(h);return pm.jsx(uw,yf({as:i,className:Wv(m.root,a),role:u,ref:t,ownerState:h},f,{children:o?pm.jsx(dw,{className:m.wrapper,ownerState:h,children:o}):null}))}));var fw=pw;function hw(e){return gf("MuiFormControlLabel",e)}var mw=vf("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]);const gw=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","slotProps","value"],vw=Fv("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${mw.label}`]:t.label},t.root,t[`labelPlacement${Up(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>yf({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${mw.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${mw.label}`]:{[`&.${mw.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),yw=Re.forwardRef((function(e,t){var n;const r=qv({props:e,name:"MuiFormControlLabel"}),{className:o,componentsProps:a={},control:i,disabled:l,disableTypography:s,label:c,labelPlacement:u="end",slotProps:d={}}=r,p=bf(r,gw),f=Wx();let h=l;void 0===h&&void 0!==i.props.disabled&&(h=i.props.disabled),void 0===h&&f&&(h=f.disabled);const m={disabled:h};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===i.props[e]&&void 0!==r[e]&&(m[e]=r[e])}));const g=$x({props:r,muiFormControl:f,states:["error"]}),v=yf({},r,{disabled:h,labelPlacement:u,error:g.error}),y=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o}=e;return pf({root:["root",n&&"disabled",`labelPlacement${Up(r)}`,o&&"error"],label:["label",n&&"disabled"]},hw,t)})(v),b=null!=(n=d.typography)?n:a.typography;let x=c;return null==x||x.type===Fx||s||(x=pm.jsx(Fx,yf({component:"span"},b,{className:Wv(y.label,null==b?void 0:b.className),children:x}))),pm.jsxs(vw,yf({className:Wv(y.root,o),ownerState:v,ref:t},p,{children:[Re.cloneElement(i,m),x]}))}));var bw=yw;var xw=Re.createContext();function Sw(e){return gf("MuiGrid",e)}const ww=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Ew=vf("MuiGrid",["root","container","item","zeroMinWidth",...[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}`)),...ww.map((e=>`grid-xs-${e}`)),...ww.map((e=>`grid-sm-${e}`)),...ww.map((e=>`grid-md-${e}`)),...ww.map((e=>`grid-lg-${e}`)),...ww.map((e=>`grid-xl-${e}`))]),Cw=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function kw(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Lw({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const Rw=Fv("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:i,wrap:l,zeroMinWidth:s,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(i,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,a&&t.item,s&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})((({ownerState:e})=>yf({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return _m({theme:e},Tm({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${Ew.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=Tm({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=Lw({breakpoints:e.breakpoints.values,values:t})),o=_m({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${kw(a)}`,[`& > .${Ew.item}`]:{paddingTop:kw(a)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${Ew.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=Tm({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=Lw({breakpoints:e.breakpoints.values,values:t})),o=_m({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${kw(a)})`,marginLeft:`-${kw(a)}`,[`& > .${Ew.item}`]:{paddingLeft:kw(a)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${Ew.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let a={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Tm({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof i?i[o]:i;if(null==l)return r;const s=Math.round(n/l*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${s} + ${kw(n)})`;c={flexBasis:e,maxWidth:e}}}a=yf({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===e.breakpoints.values[o]?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r}),{})}));const Ow=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:i,zeroMinWidth:l,breakpoints:s}=e;let c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(a,s));const u=[];s.forEach((t=>{const n=e[t];n&&u.push(`grid-${t}-${String(n)}`)}));return pf({root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},Sw,t)},Iw=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiGrid"}),{breakpoints:r}=Av(),o=Eg(n),{className:a,columns:i,columnSpacing:l,component:s="div",container:c=!1,direction:u="row",item:d=!1,rowSpacing:p,spacing:f=0,wrap:h="wrap",zeroMinWidth:m=!1}=o,g=bf(o,Cw),v=p||f,y=l||f,b=Re.useContext(xw),x=c?i||12:b,S={},w=yf({},g);r.keys.forEach((e=>{null!=g[e]&&(S[e]=g[e],delete w[e])}));const E=yf({},o,{columns:x,container:c,direction:u,item:d,rowSpacing:v,columnSpacing:y,wrap:h,zeroMinWidth:m,spacing:f},S,{breakpoints:r.keys}),C=Ow(E);return pm.jsx(xw.Provider,{value:x,children:pm.jsx(Rw,yf({ownerState:E,className:Wv(C.root,a),as:s,ref:t},w))})}));var _w=Iw;const Tw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Pw(e){return`scale(${e}, ${e**2})`}const Nw={entering:{opacity:1,transform:Pw(1)},entered:{opacity:1,transform:"none"}},Mw="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),zw=Re.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:a,in:i,onEnter:l,onEntered:s,onEntering:c,onExit:u,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=Dy}=e,g=bf(e,Tw),v=Re.useRef(),y=Re.useRef(),b=Av(),x=Re.useRef(null),S=Yp(x,o.ref,t),w=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=w(c),C=w(((e,t)=>{Sx(e);const{duration:n,delay:r,easing:o}=wx({style:f,timeout:h,easing:a},{mode:"enter"});let i;"auto"===h?(i=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=i):i=n,e.style.transition=[b.transitions.create("opacity",{duration:i,delay:r}),b.transitions.create("transform",{duration:Mw?i:.666*i,delay:r,easing:o})].join(","),l&&l(e,t)})),k=w(s),L=w(p),R=w((e=>{const{duration:t,delay:n,easing:r}=wx({style:f,timeout:h,easing:a},{mode:"exit"});let o;"auto"===h?(o=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=o):o=t,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:n}),b.transitions.create("transform",{duration:Mw?o:.666*o,delay:Mw?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Pw(.75),u&&u(e)})),O=w(d);return Re.useEffect((()=>()=>{clearTimeout(v.current)}),[]),pm.jsx(m,yf({appear:r,in:i,nodeRef:x,onEnter:C,onEntered:k,onEntering:E,onExit:R,onExited:O,onExiting:L,addEndListener:e=>{"auto"===h&&(v.current=setTimeout(e,y.current||0)),n&&n(x.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>Re.cloneElement(o,yf({style:yf({opacity:0,transform:Pw(.75),visibility:"exited"!==e||i?void 0:"hidden"},Nw[e],f,o.props.style),ref:S},t))}))}));zw.muiSupportAuto=!0;var Aw=zw;function qw(e){return gf("MuiIcon",e)}vf("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Dw=["baseClassName","className","color","component","fontSize"],jw=Fv("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Up(n.color)}`],t[`fontSize${Up(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),Fw=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=bf(n,Dw),c=yf({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e;return pf({root:["root","inherit"!==t&&`color${Up(t)}`,`fontSize${Up(n)}`]},qw,r)})(c);return pm.jsx(jw,yf({as:i,className:Wv(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));Fw.muiName="Icon";var $w=Fw;function Bw(e){return gf("MuiInputAdornment",e)}var Ww,Uw=vf("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);const Hw=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Vw=Fv("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Up(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>yf({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${Uw.positionStart}&:not(.${Uw.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),Gw=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:a="div",disablePointerEvents:i=!1,disableTypography:l=!1,position:s,variant:c}=n,u=bf(n,Hw),d=Wx()||{};let p=c;c&&d.variant,d&&!p&&(p=d.variant);const f=yf({},n,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:i,position:s,variant:p}),h=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e;return pf({root:["root",n&&"disablePointerEvents",o&&`position${Up(o)}`,i,r&&"hiddenLabel",a&&`size${Up(a)}`]},Bw,t)})(f);return pm.jsx(Bx.Provider,{value:null,children:pm.jsx(Vw,yf({as:a,ownerState:f,className:Wv(h.root,o),ref:t},u,{children:"string"!=typeof r||l?pm.jsxs(Re.Fragment,{children:["start"===s?Ww||(Ww=pm.jsx("span",{className:"notranslate",children:""})):null,r]}):pm.jsx(Fx,{color:"text.secondary",children:r})}))})}));var Kw=Gw;var Zw=Re.createContext({});function Xw(e){return gf("MuiList",e)}vf("MuiList",["root","padding","dense","subheader"]);const Qw=["children","className","component","dense","disablePadding","subheader"],Yw=Fv("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})=>yf({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Jw=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,c=bf(n,Qw),u=Re.useMemo((()=>({dense:i})),[i]),d=yf({},n,{component:a,dense:i,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return pf({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Xw,t)})(d);return pm.jsx(Zw.Provider,{value:u,children:pm.jsxs(Yw,yf({as:a,className:Wv(p.root,o),ref:t,ownerState:d},c,{children:[s,r]}))})}));var eE=Jw;function tE(e){return gf("MuiListItem",e)}var nE=vf("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var rE=vf("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function oE(e){return gf("MuiListItemSecondaryAction",e)}vf("MuiListItemSecondaryAction",["root","disableGutters"]);const aE=["className"],iE=Fv("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>yf({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),lE=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=bf(n,aE),a=yf({},n,{disableGutters:Re.useContext(Zw).disableGutters}),i=(e=>{const{disableGutters:t,classes:n}=e;return pf({root:["root",t&&"disableGutters"]},oE,n)})(a);return pm.jsx(iE,yf({className:Wv(i.root,r),ownerState:a,ref:t},o))}));lE.muiName="ListItemSecondaryAction";var sE=lE;const cE=["className"],uE=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],dE=Fv("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})=>yf({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&yf({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${rE.root}`]:{paddingRight:48}},{[`&.${nE.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nE.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:tv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${nE.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:tv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${nE.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"}},[`&.${nE.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:tv(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})`:tv(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),pE=Fv("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),fE=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:a=!1,children:i,className:l,component:s,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:p}={},dense:f=!1,disabled:h=!1,disableGutters:m=!1,disablePadding:g=!1,divider:v=!1,focusVisibleClassName:y,secondaryAction:b,selected:x=!1,slotProps:S={},slots:w={}}=n,E=bf(n.ContainerProps,cE),C=bf(n,uE),k=Re.useContext(Zw),L=Re.useMemo((()=>({dense:f||k.dense||!1,alignItems:r,disableGutters:m})),[r,k.dense,f,m]),R=Re.useRef(null);Xp((()=>{o&&R.current&&R.current.focus()}),[o]);const O=Re.Children.toArray(i),I=O.length&&(_=O[O.length-1],T=["ListItemSecondaryAction"],Re.isValidElement(_)&&-1!==T.indexOf(_.type.muiName));var _,T;const P=yf({},n,{alignItems:r,autoFocus:o,button:a,dense:L.dense,disabled:h,disableGutters:m,disablePadding:g,divider:v,hasSecondaryAction:I,selected:x}),N=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:a,disableGutters:i,disablePadding:l,divider:s,hasSecondaryAction:c,selected:u}=e;return pf({root:["root",o&&"dense",!i&&"gutters",!l&&"padding",s&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},tE,r)})(P),M=Yp(R,t),z=w.root||c.Root||dE,A=S.root||u.root||{},q=yf({className:Wv(N.root,A.className,l),disabled:h},C);let D=s||"li";return a&&(q.component=s||"div",q.focusVisibleClassName=Wv(nE.focusVisible,y),D=db),I?(D=q.component||s?D:"div","li"===d&&("li"===D?D="div":"li"===q.component&&(q.component="div")),pm.jsx(Zw.Provider,{value:L,children:pm.jsxs(pE,yf({as:d,className:Wv(N.container,p),ref:M,ownerState:P},E,{children:[pm.jsx(z,yf({},A,!Hv(z)&&{as:D,ownerState:yf({},P,A.ownerState)},q,{children:O})),O.pop()]}))})):pm.jsx(Zw.Provider,{value:L,children:pm.jsxs(z,yf({},A,{as:D,ref:M},!Hv(z)&&{ownerState:yf({},P,A.ownerState)},q,{children:[O,b&&pm.jsx(sE,{children:b})]}))})}));var hE=fE;function mE(e){return gf("MuiListItemIcon",e)}var gE=vf("MuiListItemIcon",["root","alignItemsFlexStart"]);const vE=["className"],yE=Fv("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})=>yf({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),bE=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=bf(n,vE),a=yf({},n,{alignItems:Re.useContext(Zw).alignItems}),i=(e=>{const{alignItems:t,classes:n}=e;return pf({root:["root","flex-start"===t&&"alignItemsFlexStart"]},mE,n)})(a);return pm.jsx(yE,yf({className:Wv(i.root,r),ownerState:a,ref:t},o))}));var xE=bE;var SE=vf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const wE=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function EE(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function CE(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function kE(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 LE(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&kE(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const RE=Re.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:c,variant:u="selectedMenu"}=e,d=bf(e,wE),p=Re.useRef(null),f=Re.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Xp((()=>{r&&p.current.focus()}),[r]),Re.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${cf(Gp(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=Yp(p,t);let m=-1;Re.Children.forEach(a,((e,t)=>{Re.isValidElement(e)&&(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===m)&&(m=t))}));const g=Re.Children.map(a,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),Re.cloneElement(e,t)}return e}));return pm.jsx(eE,yf({role:"menu",ref:h,className:i,onKeyDown:e=>{const t=p.current,n=e.key,r=Gp(t).activeElement;if("ArrowDown"===n)e.preventDefault(),LE(t,r,s,l,EE);else if("ArrowUp"===n)e.preventDefault(),LE(t,r,s,l,CE);else if("Home"===n)e.preventDefault(),LE(t,null,s,l,EE);else if("End"===n)e.preventDefault(),LE(t,null,s,l,CE);else if(1===n.length){const o=f.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const s=r&&!o.repeating&&kE(r,o);o.previousKeyMatched&&(s||LE(t,r,!1,l,EE,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:r?0:-1},d,{children:g}))}));var OE=RE;function IE(e){return gf("MuiPopover",e)}vf("MuiPopover",["root","paper"]);const _E=["onEntering"],TE=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function PE(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function NE(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function ME(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function zE(e){return"function"==typeof e?e():e}const AE=Fv(iw,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qE=Fv(Rx,{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}),DE=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiPopover"}),{action:r,anchorEl:o,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:i,anchorReference:l="anchorEl",children:s,className:c,container:u,elevation:d=8,marginThreshold:p=16,open:f,PaperProps:h={},transformOrigin:m={vertical:"top",horizontal:"left"},TransitionComponent:g=Aw,transitionDuration:v="auto",TransitionProps:{onEntering:y}={}}=n,b=bf(n.TransitionProps,_E),x=bf(n,TE),S=Re.useRef(),w=Yp(S,h.ref),E=yf({},n,{anchorOrigin:a,anchorReference:l,elevation:d,marginThreshold:p,PaperProps:h,transformOrigin:m,TransitionComponent:g,transitionDuration:v,TransitionProps:b}),C=(e=>{const{classes:t}=e;return pf({root:["root"],paper:["paper"]},IE,t)})(E),k=Re.useCallback((()=>{if("anchorPosition"===l)return i;const e=zE(o),t=(e&&1===e.nodeType?e:Gp(S.current).body).getBoundingClientRect();return{top:t.top+PE(t,a.vertical),left:t.left+NE(t,a.horizontal)}}),[o,a.horizontal,a.vertical,i,l]),L=Re.useCallback((e=>({vertical:PE(e,m.vertical),horizontal:NE(e,m.horizontal)})),[m.horizontal,m.vertical]),R=Re.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=L(t);if("none"===l)return{top:null,left:null,transformOrigin:ME(n)};const r=k();let a=r.top-n.vertical,i=r.left-n.horizontal;const s=a+t.height,c=i+t.width,u=Kp(zE(o)),d=u.innerHeight-p,f=u.innerWidth-p;if(a<p){const e=a-p;a-=e,n.vertical+=e}else if(s>d){const e=s-d;a-=e,n.vertical+=e}if(i<p){const e=i-p;i-=e,n.horizontal+=e}else if(c>f){const e=c-f;i-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(i)}px`,transformOrigin:ME(n)}}),[o,l,k,L,p]),[O,I]=Re.useState(f),_=Re.useCallback((()=>{const e=S.current;if(!e)return;const t=R(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,I(!0)}),[R]);Re.useEffect((()=>{f&&_()})),Re.useImperativeHandle(r,(()=>f?{updatePosition:()=>{_()}}:null),[f,_]),Re.useEffect((()=>{if(!f)return;const e=Vp((()=>{_()})),t=Kp(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,f,_]);let T=v;"auto"!==v||g.muiSupportAuto||(T=void 0);const P=u||(o?Gp(zE(o)).body:void 0);return pm.jsx(AE,yf({BackdropProps:{invisible:!0},className:Wv(C.root,c),container:P,open:f,ref:t,ownerState:E},x,{children:pm.jsx(g,yf({appear:!0,in:f,onEntering:(e,t)=>{y&&y(e,t),_()},onExited:()=>{I(!1)},timeout:T},b,{children:pm.jsx(qE,yf({elevation:d},h,{ref:w,className:Wv(C.paper,h.className)},O?void 0:{style:yf({},h.style,{opacity:0})},{ownerState:E,children:s}))}))}))}));var jE=DE;function FE(e){return gf("MuiMenuItem",e)}var $E=vf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const BE=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],WE=Fv(db,{shouldForwardProp:e=>Dv(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})=>yf({},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"}},[`&.${$E.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:tv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${$E.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:tv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${$E.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:tv(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})`:tv(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${$E.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${$E.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${sw.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${sw.inset}`]:{marginLeft:52},[`& .${SE.root}`]:{marginTop:0,marginBottom:0},[`& .${SE.inset}`]:{paddingLeft:36},[`& .${gE.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&yf({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${gE.root} svg`]:{fontSize:"1.25rem"}})))),UE=Re.forwardRef((function(e,t){const n=qv({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:l=!1,focusVisibleClassName:s,role:c="menuitem",tabIndex:u,className:d}=n,p=bf(n,BE),f=Re.useContext(Zw),h=Re.useMemo((()=>({dense:a||f.dense||!1,disableGutters:l})),[f.dense,a,l]),m=Re.useRef(null);Xp((()=>{r&&m.current&&m.current.focus()}),[r]);const g=yf({},n,{dense:h.dense,divider:i,disableGutters:l}),v=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e;return yf({},i,pf({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},FE,i))})(n),y=Yp(m,t);let b;return n.disabled||(b=void 0!==u?u:-1),pm.jsx(Zw.Provider,{value:h,children:pm.jsx(WE,yf({ref:y,role:c,tabIndex:b,component:o,focusVisibleClassName:Wv(v.focusVisible,s),className:Wv(v.root,d)},p,{ownerState:g,classes:v}))})}));var HE,VE=UE;const GE=["children","classes","className","label","notched"],KE=Fv("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),ZE=Fv("legend")((({ownerState:e,theme:t})=>yf({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&yf({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const XE=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],QE=Fv(Qx,{shouldForwardProp:e=>Dv(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Zx})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return yf({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${rS.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${rS.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${rS.focused} .${rS.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${rS.error} .${rS.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${rS.disabled} .${rS.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&yf({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),YE=Fv((function(e){const{className:t,label:n,notched:r}=e,o=bf(e,GE),a=null!=n&&""!==n,i=yf({},e,{notched:r,withLabel:a});return pm.jsx(KE,yf({"aria-hidden":!0,className:t,ownerState:i},o,{children:pm.jsx(ZE,{ownerState:i,children:a?pm.jsx("span",{children:n}):HE||(HE=pm.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),JE=Fv(Yx,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Xx})((({theme:e,ownerState:t})=>yf({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),eC=Re.forwardRef((function(e,t){var n,r,o,a,i;const l=qv({props:e,name:"MuiOutlinedInput"}),{components:s={},fullWidth:c=!1,inputComponent:u="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=l,g=bf(l,XE),v=(e=>{const{classes:t}=e;return yf({},t,pf({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},nS,t))})(l),y=Wx(),b=$x({props:l,muiFormControl:y,states:["required"]}),x=yf({},l,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:y,fullWidth:c,hiddenLabel:b.hiddenLabel,multiline:p,size:b.size,type:m}),S=null!=(n=null!=(r=h.root)?r:s.Root)?n:QE,w=null!=(o=null!=(a=h.input)?a:s.Input)?o:JE;return pm.jsx(tS,yf({slots:{root:S,input:w},renderSuffix:e=>pm.jsx(YE,{ownerState:x,className:v.notchedOutline,label:null!=d&&""!==d&&b.required?i||(i=pm.jsxs(Re.Fragment,{children:[d," ","*"]})):d,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:p,ref:t,type:m},g,{classes:yf({},v,{notchedOutline:null})}))}));eC.muiName="Input";var tC=eC,nC=xx(pm.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),rC=xx(pm.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const oC=Fv("span")({position:"relative",display:"flex"}),aC=Fv(nC)({transform:"scale(1)"}),iC=Fv(rC)((({theme:e,ownerState:t})=>yf({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function lC(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=yf({},e,{checked:t});return pm.jsxs(oC,{className:n.root,ownerState:o,children:[pm.jsx(aC,{fontSize:r,className:n.background,ownerState:o}),pm.jsx(iC,{fontSize:r,className:n.dot,ownerState:o})]})}var sC=Re.createContext(void 0);function cC(e){return gf("MuiRadio",e)}var uC=vf("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);const dC=["checked","checkedIcon","color","icon","name","onChange","size","className"],pC=Fv(OS,{shouldForwardProp:e=>Dv(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Up(n.color)}`]]}})((({theme:e,ownerState:t})=>yf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:tv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${uC.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${uC.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const fC=pm.jsx(lC,{checked:!0}),hC=pm.jsx(lC,{}),mC=Re.forwardRef((function(e,t){var n,r;const o=qv({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=fC,color:l="primary",icon:s=hC,name:c,onChange:u,size:d="medium",className:p}=o,f=bf(o,dC),h=yf({},o,{color:l,size:d}),m=(e=>{const{classes:t,color:n}=e;return yf({},t,pf({root:["root",`color${Up(n)}`]},cC,t))})(h),g=Re.useContext(sC);let v=a;const y=Hp(u,g&&g.onChange);let b=c;return g&&(void 0===v&&(v=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(g.value,o.value)),void 0===b&&(b=g.name)),pm.jsx(pC,yf({type:"radio",icon:Re.cloneElement(s,{fontSize:null!=(n=hC.props.fontSize)?n:d}),checkedIcon:Re.cloneElement(i,{fontSize:null!=(r=fC.props.fontSize)?r:d}),ownerState:h,classes:m,name:b,checked:v,onChange:y,ref:t,className:Wv(m.root,p)},f))}));var gC=mC;function vC(){const[e,t]=Re.useState(),[n,r]=Re.useState(),o=Re.useCallback((e=>{e&&t(e)}),[]),a=()=>{const{left:t,top:n,width:o,height:a}=e.getBoundingClientRect();r({left:t,top:n,width:o,height:a})};return Re.useLayoutEffect((()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(a);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}}}),[e]),[o,n,e]}function yC(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function bC(e){let{size:t,style:n={},viewBox:r="0 0 16 16",shapes:o=[]}=e;const a=i({fontSize:yC(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},n);return ct.createElement("i",{style:a},ct.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},o.map(((e,t)=>{let{type:n,attrs:r}=e;return ct.createElement(n,s({key:t},r))}))))}var xC=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]}))(e));var SC=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"}}]}))(e));var wC=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));var EC=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},CC=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),kC=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},LC=function(e){function t(){var e,n,r;EC(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=kC(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},kC(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),CC(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,a=e.stopIndex,i=[],l=null,s=null,c=o;c<=a;c++)t(c)?null!==s&&(i.push(l,s),l=s=null):(s=c,null===l&&(l=c));if(null!==s){for(var u=Math.min(Math.max(s,l+r-1),n-1),d=s+1;d<=u&&!t(d);d++)s=d;i.push(l,s)}if(i.length)for(;i[1]-i[0]+1<r&&i[0]>0;){var p=i[0]-1;if(t(p))break;i[0]=p}return i}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(Re.PureComponent);const RC=["S","XS"],OC=e=>e.reduce(((e,t)=>e.concat(t)));function IC(e){return RC.includes(e)}function _C(e){return Array.isArray(e)?Array.from(new Set(e)):void 0}async function TC(e){let{selections:t,elemNumbers:n,isSingleSelect:r=!1}=e,o=Promise.resolve(!1);if(!n.some((e=>Number.isNaN(e)))){const e=n;o=t.select({method:"selectListObjectValues",params:["/qListObjectDef",e,!r]}).then((e=>!1!==e)).catch((()=>!1))}return o}function PC(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}function NC(e){let{layout:t,selections:n,pages:r=[],checkboxes:o=!1,selectDisabled:a,doc:l=document,isSingleSelect:s=!1}=e;const[c,u]=Re.useState(r),[d,p]=Re.useState(!1),[f,h]=Re.useState(!1),[m,g]=Re.useState(s),[v,y]=Re.useState([]),[b,x]=Re.useState(!1),[S,w]=Re.useState([]),E=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return OC(t)}(r);Re.useEffect((()=>{g(s)}),[s]);const C=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(a())return;h(!0);const r=t?e.filter((e=>!v.includes(e))):e;await TC({selections:n,elemNumbers:r,isSingleSelect:m}),h(!1),w([])},k=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a()||w((n=>{const r=_C([...n,...e]),o=t?r.filter((e=>!v.includes(e))):r;return t?PC(r,E):o}))},L=e=>{(e.ctrlKey||e.metaKey)&&(g(!0),e.currentTarget.focus(),e.preventDefault())},R=Re.useCallback((e=>{if(f||a())return;const t=+e.currentTarget.getAttribute("data-n");w([t]),L(e)}),[f,a]),O=Re.useCallback((e=>{if(f||a())return;x(!1),p(!0);const t=+e.currentTarget.getAttribute("data-n");w([t]),L(e)}),[f,a]),I=Re.useCallback((e=>{const t=+e.currentTarget.getAttribute("data-n");m||!d||f||1===S.length&&S[0]===t||k([t])}),[d,f,S,v,b,a]),_=Re.useCallback((()=>{p(!1),h(!1),x(!1),g(s)}),[s]),T=Re.useCallback((e=>{if(m||!d||f||a())return;x(!0);const t=+e.currentTarget.getAttribute("data-n");k([t],!0)}),[d,f,b,S,v,a,t&&t.qListObject.qDimensionInfo.qIsOneAndOnlyOne]);Re.useEffect((()=>{const e=!d;S&&S.length&&!f&&e&&t&&C(S,b)}),[S,d,a()]),Re.useEffect((()=>(l.addEventListener("mouseup",_),()=>{l.removeEventListener("mouseup",_)})),[_]),Re.useEffect((()=>{if(f||d)return;const e=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return!!IC(t.qState)&&t.qElemNumber}));return t.filter((e=>!1!==e))}));return OC(t)}(r);y(e)}),[r]),Re.useEffect((()=>{if(f||!r||!o&&!d)return;const e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e=>t.length<=1&&IC(e)?"A":"S",o=e.map((e=>{const o=e.qMatrix.map((e=>{const[o]=e,a=t.includes(o.qElemNumber);let l;return l=n?a?"S":"A":a?r(o.qState):o.qState,[i(i({},o),{},{qState:l}),e.slice(1)]}));return i(i({},e),{},{qMatrix:o})}));return o}(r,S,m);u(e)}),[S]);const P={};return o?Object.assign(P,{onClick:R}):Object.assign(P,{onMouseUp:I,onMouseDown:O,onMouseEnter:T}),{instantPages:c,interactionEvents:P,select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];x(!1),p(!0),k(e,t||b);const n=C(e,t||b);return p(!1),n}}}const MC=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var zC=e=>bC(MC(e));const AC="ListBoxCheckbox",qC={cbIcon:"".concat(AC,"-cbIcon"),cbIconChecked:"".concat(AC,"-cbIconChecked"),cbIconExcluded:"".concat(AC,"-cbIconExcluded"),cbIconAlternative:"".concat(AC,"-cbIconAlternative"),checkbox:"".concat(AC,"-checkbox"),dense:"".concat(AC,"-dense")},DC=Fv(FS)((e=>{let{theme:t}=e;return{["& .".concat(qC.cbIcon)]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},["& .".concat(qC.cbIconChecked)]:{borderRadius:3,backgroundColor:t.palette.selected.main,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},["& .".concat(qC.cbIconExcluded)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.excluded},["& .".concat(qC.cbIconAlternative)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.alternative},["&.".concat(qC.checkbox)]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},["&.".concat(qC.dense)]:{padding:"4px 8px"}}})),jC=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return ct.createElement("span",{className:e.cbIcon},n&&ct.createElement("span",{className:t&&n?e.cbIconExcluded:""}))};function FC(e){let{checked:t,label:n,dense:r,excluded:o,showGray:a=!0}=e;return ct.createElement(DC,{edge:"start",checked:t,disableRipple:!0,className:[qC.checkbox,r&&qC.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n},name:n,icon:jC(qC,a,o),checkedIcon:ct.createElement("span",{className:qC.cbIconChecked})})}const $C="ListBoxRadioButton",BC={denseRadioButton:"".concat($C,"-denseRadioButton"),radioButton:"".concat($C,"-radioButton")},WC=Fv(gC)((e=>{let{theme:t,checked:n}=e;return{["&.".concat(BC.radioButton)]:{right:"5px",color:n?t.palette.selected.main:t.palette.main}}}));function UC(e){let{checked:t,label:n,dense:r}=e;return ct.createElement(WC,{checked:t,value:n,name:n,className:BC.radioButton,style:{backgroundColor:"transparent"},disableRipple:!0,size:r?"small":"medium",sx:r&&{padding:"0px 0px 0px 12px"}})}const HC=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===HC.ARROW_UP||e===HC.ARROW_DOWN||e===HC.ARROW_LEFT||e===HC.ARROW_RIGHT});function VC(e){let{setKeyboardActive:t}=e;return e=>{const{keyCode:n}=e.nativeEvent;switch(n){case HC.ENTER:case HC.SPACE:if(!e.target.classList.contains("listbox-container"))return;(e=>{const n=e.querySelector(".search input, .value.selector, .value, .ActionsToolbar-* button");t(!0),n&&n.focus()})(e.currentTarget);break;case HC.ESCAPE:r=e.currentTarget,t(!1),r.focus();break;default:return}var r;e.preventDefault()}}const GC="RowColumn",KC={row:"".concat(GC,"-row"),rowBorderBottom:"".concat(GC,"-rowBorderBottom"),column:"".concat(GC,"-column"),fieldRoot:"".concat(GC,"-fieldRoot"),cell:"".concat(GC,"-cell"),labelText:"".concat(GC,"-labelText"),labelDense:"".concat(GC,"-labelDense"),highlighted:"".concat(GC,"-highlighted"),checkboxLabel:"".concat(GC,"-checkboxLabel"),icon:"".concat(GC,"-icon"),S:"".concat(GC,"-S"),XS:"".concat(GC,"-XS"),A:"".concat(GC,"-A"),X:"".concat(GC,"-X"),frequencyCount:"".concat(GC,"-frequencyCount"),barContainer:"".concat(GC,"-barContainer"),bar:"".concat(GC,"-bar"),barSelected:"".concat(GC,"-barSelected"),barWithCheckbox:"".concat(GC,"-barWithCheckbox"),barSelectedWithCheckbox:"".concat(GC,"-barSelectedWithCheckbox"),excludedTextWithCheckbox:"".concat(GC,"-excludedTextWithCheckbox")},ZC={width:"100%",overflow:"hidden",textOverflow:"ellipsis"},XC=e=>{let{theme:t}=e;return{background:t.palette.selected.main,color:t.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"},"& $cell":{paddingRight:0}}},QC=Fv("div",{shouldForwardProp:e=>"flexBasisProp"!==e})((e=>{var t,n,r,o,a,l,s,c,u,d;let{theme:p,flexBasisProp:f,dense:h}=e;return{["& .".concat(KC.row)]:{flexWrap:"nowrap",color:null!==(t=null===(n=p.listBox)||void 0===n||null===(r=n.content)||void 0===r?void 0:r.color)&&void 0!==t?t:p.palette.text.primary},["& .".concat(KC.rowBorderBottom)]:{borderBottom:"1px solid ".concat(p.palette.divider)},["& .".concat(KC.column)]:{flexWrap:"nowrap",borderRight:"1px solid ".concat(p.palette.divider),color:null!==(o=null===(a=p.listBox)||void 0===a||null===(l=a.content)||void 0===l?void 0:l.color)&&void 0!==o?o:p.palette.text.primary},["& .".concat(KC.fieldRoot)]:{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(p.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},["& .".concat(KC.cell)]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:"9px"},["& .".concat(KC.labelText)]:i(i({flexBasis:f,lineHeight:"16px",userSelect:"none",whiteSpace:"pre",paddingRight:"9px"},ZC),{},{fontSize:null===(s=p.listBox)||void 0===s||null===(c=s.content)||void 0===c?void 0:c.fontSize,fontFamily:null===(u=p.listBox)||void 0===u||null===(d=u.content)||void 0===d?void 0:d.fontFamily}),["& .".concat(KC.labelDense)]:{fontSize:12},["& .".concat(KC.highlighted)]:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},["& .".concat(KC.checkboxLabel)]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":i(i({},ZC),{},{display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"})},["& .".concat(KC.icon)]:{display:"flex",padding:p.spacing(1,1,1,0)},["& .".concat(KC.S)]:i({},XC({theme:p})),["& .".concat(KC.XS)]:i(i({},XC({theme:p})),{},{background:p.palette.selected.excluded,color:p.palette.selected.mainContrastText}),["& .".concat(KC.A)]:{background:p.palette.selected.alternative,color:p.palette.selected.alternativeContrastText},["& .".concat(KC.X)]:{background:p.palette.selected.excluded,color:p.palette.selected.excludedContrastText},["& .".concat(KC.frequencyCount)]:{width:"66px",justifyContent:"flex-end"},["&.".concat(KC.barContainer)]:{height:"100%",display:"inline-block"},["& .".concat(KC.bar)]:{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",height:h?"16px":"20px",position:"absolute",zIndex:"-1",alignSelf:"center",left:"".concat(4,"px"),transition:"width 0.2s",backgroundColor:"#FAFAFA"},["& .".concat(KC.barSelected)]:{opacity:"30%",zIndex:"0",background:p.palette.background.lighter},["& .".concat(KC.barWithCheckbox)]:{left:"".concat(29,"px")},["& .".concat(KC.barSelectedWithCheckbox)]:{background:"#BFE5D0",borderColor:"#BFE5D0"},["& .".concat(KC.excludedTextWithCheckbox)]:{color:"#828282",fontStyle:"italic"}}}));function YC(e){let{index:t,rowIndex:n,columnIndex:r,style:o,data:a}=e;const{onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,pages:d,isLocked:p,column:f=!1,checkboxes:h=!1,textAlign:m,direction:g,dense:v=!1,freqIsAllowed:y,isSingleSelect:b,actions:x,frequencyMax:S="",histogram:w=!1,keyboard:E,showGray:C=!0,columnCount:k=1,rowCount:L=1,layoutOrder:R}=a;let O,I;if("number"==typeof n&&"number"==typeof r){O="row"===R?n*k+r:r*L+n;const e=0;I=i(i({},o),{},{left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e})}else O=t,I=i({},o);const _=Re.useCallback(function(e){let{select:t,confirm:n,cancel:r}=e;const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e&&e.parentElement[t?"nextElementSibling":"previousElementSibling"];return n&&n.querySelector("[role]")};let a=!1;const i=e=>{a=e};return e=>{let l;const{keyCode:s,shiftKey:c=!1}=e.nativeEvent;switch(s){case HC.SHIFT:i(!0);break;case HC.SPACE:t([+e.currentTarget.getAttribute("data-n")]);break;case HC.ARROW_DOWN:case HC.ARROW_RIGHT:l=o(e.currentTarget,!0),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case HC.ARROW_UP:case HC.ARROW_LEFT:l=o(e.currentTarget,!1),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case HC.ENTER:n();break;case HC.ESCAPE:return void r();default:return}l&&l.focus(),e.preventDefault(),e.stopPropagation()}}(x),[x]),[T,P]=Re.useState(!1),[N,M]=Re.useState(),[z,A]=Re.useState([]);Re.useEffect((()=>{if(!d)return;let e;const t=d.filter((e=>e.qArea.qTop<=O&&O<e.qArea.qTop+e.qArea.qHeight))[0];if(t){const n=t.qArea;O>=n.qTop&&O<n.qTop+n.qHeight&&([e]=t.qMatrix[O-n.qTop])}M(e)}),[d]);const q=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,D=e=>e?"A"===e.qState:null;if(Re.useEffect((()=>{if(!N)return;const e="S"===N.qState||"XS"===N.qState||"L"===N.qState;P(e);const t=[f?KC.column:KC.row];w&&v||h||t.push(KC.rowBorderBottom),h||("XS"===N.qState?t.push(C?KC.XS:KC.S):"S"===N.qState||"L"===N.qState?t.push(KC.S):C&&D(N)?t.push(KC.A):C&&q(N)&&t.push(KC.X)),A(t)}),[N&&N.qState,w,v,h]),!N)return null;const j=e=>e.filter((e=>!!e)).join(" ").trim(),F=()=>(D(N)||q(N))&&h,$=!["NaN",void 0].includes(null==N?void 0:N.qNum);let B;const W=!m||m.auto;B=W?$?"right":{rtl:"right",ltr:"left"}[g]:(null==m?void 0:m.align)||"left";const U=e=>{let{lbl:t,ix:n,color:r,highlighted:o=!1}=e;return ct.createElement(Fx,{component:"span",variant:"body2",key:n,className:j([KC.labelText,o&&KC.highlighted,v&&KC.labelDense,C&&F()&&KC.excludedTextWithCheckbox]),color:r,justifyContent:B},ct.createElement("span",{style:{whiteSpace:"pre"}},t))},H=e=>{let{lbl:t,color:n,qElemNumber:r}=e;const o=ct.createElement(FC,{label:t,checked:T,dense:v,excluded:q(N),showGray:C}),a=ct.createElement(UC,{label:t,checked:T,dense:v}),i="string"==typeof t?U({lbl:t,color:n,highlighted:!1}):t;return ct.createElement(bw,{color:n,control:b?a:o,className:KC.checkboxLabel,label:i,key:r})},V=N?N.qText:"",G=()=>N?N.qFrequency?N.qFrequency:"-":"",K=N&&N.qHighlightRanges&&N.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[],Z=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(V,K),X=h?H:U,Q={alignItems:"center",display:"flex"},Y=T&&p,J=!h&&T&&!p,ee={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,padding:h?0:void 0,justifyContent:B},te=0===t,ne=h?"auto":"max-content";return ct.createElement(QC,{className:KC.barContainer,flexBasisProp:ne,dense:v},ct.createElement(_w,{container:!0,gap:0,className:j(["value",...z]),classes:{root:KC.fieldRoot},style:I,onClick:l,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:_,onContextMenu:e=>{h&&l(e),e.preventDefault()},role:f?"column":"row",tabIndex:!te||E.enabled&&!E.active?-1:0,"data-n":N&&N.qElemNumber},N&&w&&"-"!==G()&&ct.createElement("div",{className:j([KC.bar,h&&KC.barWithCheckbox,T&&(h?KC.barSelectedWithCheckbox:KC.barSelected)]),style:{width:(e=>{const t=String(e),n="%"===t.substring(t.length-1),r=parseFloat(n?t:e),o=h?"(".concat(29,"px + ").concat(6,"px)"):"".concat(10,"px");return"calc(".concat(n?r:r/S*100,"% - ").concat(o,")")})(N.qFrequency)}}),ct.createElement(_w,{item:!0,style:ee,className:j([KC.cell,KC.selectedCell]),title:"".concat(V)},0===K.length?X({lbl:V,color:"inherit"}):(e=>{let{lbls:t}=e;const n=t.map(((e,t)=>{let[n,r]=e;return U({ix:t,highlighted:r,lbl:n})}));return h?H({lbl:n}):n})({lbls:Z})),y&&ct.createElement(_w,{item:!0,style:{display:"flex",alignItems:"center"},className:KC.frequencyCount},ct.createElement(Fx,{noWrap:!0,color:"inherit",variant:"body2",className:j([v&&KC.labelDense,KC.labelText,C&&F()&&KC.excludedTextWithCheckbox])},G())),!h&&ct.createElement(_w,{item:!0,className:KC.icon},!Y&&!J&&ct.createElement("span",{style:{minWidth:"12px"}}),Y&&ct.createElement(SC,{style:Q,size:"small"}),J&&ct.createElement(zC,{style:Q,size:"small"}))))}function JC(e){let{width:t,layout:n,frequencyMode:r}=e;const o=t>80,{frequencyEnabled:a=!1}=(null==n?void 0:n.qListObject)||{},i=!["none",void 0].includes(r);return!(!o||!i&&!a)}var ek=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function tk(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||ek(r)&&ek(o)))return!1;var r,o;return!0}function nk(e,t){var n;void 0===t&&(t=tk);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}var rk="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function ok(e){cancelAnimationFrame(e.id)}function ak(e,t){var n=rk();var r={id:requestAnimationFrame((function o(){rk()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var ik=-1;function lk(e){if(void 0===e&&(e=!1),-1===ik||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),ik=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return ik}var sk=null;function ck(e){if(void 0===e&&(e=!1),null===sk||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?sk="positive-descending":(t.scrollLeft=1,sk=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),sk}return sk}var uk=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function dk(e){var t,n=e.getColumnOffset,r=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,a=e.getColumnWidth,i=e.getEstimatedTotalHeight,l=e.getEstimatedTotalWidth,s=e.getOffsetForColumnAndAlignment,c=e.getOffsetForRowAndAlignment,u=e.getRowHeight,d=e.getRowOffset,p=e.getRowStartIndexForOffset,f=e.getRowStopIndexForStartIndex,h=e.initInstanceProps,m=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=h(r.props,jy(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:jy(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=nk((function(e,t,n,o,a,i,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=nk((function(e,t,n,o,a){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,i=r.props,l=i.columnWidth,s=i.direction,c=i.rowHeight,p=r._getItemStyleCache(m&&l,m&&s,m&&c),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=n(r.props,t,r._instanceProps),g="rtl"===s;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(r.props,e,r._instanceProps),height:u(r.props,e,r._instanceProps),width:a(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=nk((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=r.props.direction,c=a;if("rtl"===t)switch(ck()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&ok(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=ak(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}Oy(t,e),t.getDerivedStateFromProps=function(e,t){return pk(e,t),g(e),null};var v=t.prototype;return v.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},v.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,u=a.columnCount,d=a.height,p=a.rowCount,f=a.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,v=lk();void 0!==r&&(r=Math.max(0,Math.min(r,u-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var y=i(this.props,this._instanceProps),b=l(this.props,this._instanceProps)>f?v:0,x=y>d?v:0;this.scrollTo({scrollLeft:void 0!==r?s(this.props,r,n,m,this._instanceProps,x):m,scrollTop:void 0!==o?c(this.props,o,n,g,this._instanceProps,b):g})},v.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},v.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(ck()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},v.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&ok(this._resetIsScrollingTimeoutId)},v.render=function(){var e=this.props,t=e.children,n=e.className,r=e.columnCount,o=e.direction,a=e.height,s=e.innerRef,c=e.innerElementType,u=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?uk:p,h=e.outerElementType,m=e.outerTagName,g=e.rowCount,v=e.style,y=e.useIsScrolling,b=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),w=S[0],E=S[1],C=this._getVerticalRangeToRender(),k=C[0],L=C[1],R=[];if(r>0&&g)for(var O=k;O<=L;O++)for(var I=w;I<=E;I++)R.push(Re.createElement(t,{columnIndex:I,data:d,isScrolling:y?x:void 0,key:f({columnIndex:I,data:d,rowIndex:O}),rowIndex:O,style:this._getItemStyle(O,I)}));var _=i(this.props,this._instanceProps),T=l(this.props,this._instanceProps);return Re.createElement(h||m||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:ky({position:"relative",height:a,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},v)},Re.createElement(c||u||"div",{children:R,ref:s,style:{height:_,pointerEvents:x?"none":void 0,width:T}}))},v._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),d=u[0],p=u[1],f=u[2],h=u[3];this._callOnItemsRendered(i,l,d,p,s,c,f,h)}if("function"==typeof r){var m=this.state,g=m.horizontalScrollDirection,v=m.scrollLeft,y=m.scrollTop,b=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(v,y,g,x,b)}},v._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,a=e.overscanColumnsCount,i=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,p=n||a||i||1;if(0===t||0===l)return[0,0,0,0];var f=r(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,p),g=u&&"forward"!==c?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},v._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var d=p(this.props,c,this._instanceProps),h=f(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),g=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(a-1,h+g)),d,h]},t}(Re.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var pk=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},fk=function(e,t){return e};function hk(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,u=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,jy(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:jy(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=nk((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=nk((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,a=r.props,i=a.direction,l=a.itemSize,s=a.layout,u=r._getItemStyleCache(c&&l,c&&s,c&&i);if(u.hasOwnProperty(e))t=u[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===s,h="rtl"===i,m=f?d:0;u[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=nk((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(ck()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&ok(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=ak(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}Oy(t,e),t.getDerivedStateFromProps=function(e,t){return mk(e,t),u(e),null};var d=t.prototype;return d.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,i=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?lk():0:s.scrollHeight>s.clientHeight?lk():0}this.scrollTo(a(this.props,e,t,i,this._instanceProps,l))},d.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(ck()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&ok(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,a=e.height,i=e.innerRef,l=e.innerElementType,s=e.innerTagName,c=e.itemCount,u=e.itemData,d=e.itemKey,p=void 0===d?fk:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,v=e.useIsScrolling,y=e.width,b=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),E=w[0],C=w[1],k=[];if(c>0)for(var L=E;L<=C;L++)k.push(Re.createElement(t,{data:u,key:p(L,u),index:L,isScrolling:v?b:void 0,style:this._getItemStyle(L)}));var R=r(this.props,this._instanceProps);return Re.createElement(h||m||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:ky({position:"relative",height:a,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},Re.createElement(l||s||"div",{children:k,ref:i,style:{height:x?"100%":R,pointerEvents:b?"none":void 0,width:x?R:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var c=i(this.props,s,this._instanceProps),u=l(this.props,c,s,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),p=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(Re.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var mk=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},gk=dk({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(s/2)?0:p>c+Math.floor(s/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),d=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(l/2)?0:p>c+Math.floor(l/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,a=e.width,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),vk=hk({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,p="horizontal"===i||"horizontal"===u?d:l,f=Math.max(0,s*c-p),h=Math.min(f,t*c),m=Math.max(0,t*c-p+c+a);switch("smart"===n&&(n=r>=m-p&&r<=h+p?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var g=Math.round(m+(h-m)/2);return g<Math.ceil(p/2)?0:g>f+Math.floor(p/2)?f:g;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const yk="#BBB",bk="#555",xk="#f1f1f1",Sk={styledScrollbars:"".concat("ListBox","-styledScrollbars")};const{StyledFixedSizeList:wk,StyledFixedSizeGrid:Ek}=function(){const e={scrollbarColor:"".concat(yk," ").concat(xk),"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:xk},"&::-webkit-scrollbar-thumb":{backgroundColor:yk,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:bk}};return{StyledFixedSizeList:dm(vk)((()=>({["&.".concat(Sk.styledScrollbars)]:e,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:xk},"&::-webkit-scrollbar-thumb":{backgroundColor:yk,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:bk}}))),StyledFixedSizeGrid:dm(gk)((()=>({["&.".concat(Sk.styledScrollbars)]:e,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:xk},"&::-webkit-scrollbar-thumb":{backgroundColor:yk,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:bk}})))}}();const Ck=(e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));return n.measureText(e).width};function kk(e){if(!e)return"";const t=e.qListObject.qDimensionInfo.qApprMaxGlyphCount;let n="";for(let e=0;e<t;e++)n+="M";return n}function Lk(e){let{pages:t,minimumBatchSize:n,count:r,calculatePagesHeight:o=!1}=e;const a=null!=t&&t.length&&o?(e=>{let{pages:t=[],minimumBatchSize:n,count:r}=e;const o=t.some((e=>e.qArea.qHeight<n)),a=Math.max(...t.map((e=>e.qArea.qTop+e.qArea.qHeight)));return o?a:r})({pages:t,minimumBatchSize:n,count:r}):r;return a||0}const[Rk,Ok]=zb({});function Ik(e){const t="".concat(e.id),[n]=Rk();return{setStoreValue:(e,r)=>n.set("".concat(t,"/").concat(e),r),getStoreValue:e=>n.get("".concat(t,"/").concat(e))}}function _k(e){let{width:t}=e;const{translator:n}=Re.useContext(Mb);return ct.createElement(Fx,{component:"div",variant:"body1",minWidth:t,textAlign:"center",py:"16px"},n.get("Listbox.NoMatchesForYourTerms"))}const Tk=["isLoadingData"];function Pk(e){var t;let{model:n,selections:r,direction:o,checkboxes:a,height:l,width:u,listLayout:d="vertical",frequencyMode:p,update:f,fetchStart:h,postProcessPages:m,calculatePagesHeight:g=!1,keyboard:v={},showGray:y=!0,scrollState:b,selectDisabled:x=(()=>!1)}=e;const[S,w]=Re.useState(!1),[E]=Yb(n),C=!(!E||!E.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:k=a,histogram:L}=null!=E?E:{},R=Re.useRef(null),O=Re.useRef({queue:[],validPages:!1}),I=Re.useRef({pages:[]}),_=function(e){let{local:t,loaderRef:n,model:r,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}=e;const[s,c]=Re.useState(!1),[u,d]=Re.useState([]);let[p]=Re.useState(0);const f=(e,s)=>{t.current.queue.push({start:e,stop:s});const u=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return t.current.queue.length>10&&t.current.queue.shift(),clearTimeout(t.current.timeout),c(!0),new Promise((e=>{t.current.timeout=setTimeout((()=>{const n=t.current.queue.slice(-1)[0],a=r.getListObjectData("/qListObjectDef",[{qTop:n.start>p?n.start-p:0,qHeight:p,qLeft:0,qWidth:1},{qTop:n.start,qHeight:p,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;t.current.validPages=!0,l.current.pages=r,d(r),c(!1),e()}));o&&o(a)}),u?a:0)}))};return{loadMoreItems:{with(e){let{minimumBatchSize:t}=e;return t&&(p=t),f}},pages:u,isLoading:s}}({local:O,loaderRef:R,model:n,fetchStart:h,scrollTimeout:0,postProcessPages:m,listData:I}),{isLoadingData:T}=_,P=c(_,Tk),[N,M]=Re.useState([]),{setStoreValue:z}=Ik(n),A=Re.useCallback(P.loadMoreItems,[E]);Re.useEffect((()=>{M((null==P?void 0:P.pages)||[])}),[null==P?void 0:P.pages]);const q=Re.useCallback((e=>{if(null==N||!N.length||!O.current.validPages)return!1;O.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=N.filter((e=>t(e)))[0];return n&&t(n)}),[E,N]),{instantPages:D=[],interactionEvents:j,select:F}=NC({layout:E,selections:r,pages:N,checkboxes:k,selectDisabled:x,doc:document,isSingleSelect:C}),$=()=>{if(O.current.queue=[],O.current.validPages=!1,R.current){if(R.current.resetloadMoreItemsCache(!0),E&&E.qSelectionInfo.qInSelections)return;R.current._listRef.scrollToItem(0)}};f&&f.call(null,$),Re.useEffect((()=>{D&&!T&&M(D)}),[D]),Re.useEffect((()=>{b&&!S&&R.current&&(R.current._listRef.scrollToItem(b.initScrollPos),w(!0))}),[R.current]),Re.useEffect((()=>{$()}),[E]);const B=(e=>{const t=Re.useMemo((()=>"text"in e?e:{}),[e]);return Re.useMemo((()=>Ck(t.text,t.font||"14px Source Sans Pro")),[t.text,t.font])})({text:kk(E),font:"14px Source sans pro"}),{layoutOptions:W={}}=E||{};let U=100;const H=W.dataLayout?"singleColumn"===W.dataLayout:"horizontal"!==d,V=null==E||null===(t=E.qListObject.qSize)||void 0===t?void 0:t.qcy,G=Lk({pages:N,minimumBatchSize:U,count:V,calculatePagesHeight:g});z("listCount",G);const K=function(e){let{layout:t,width:n,height:r,listCount:o,count:a,textWidth:i}=e;const{layoutOptions:l={}}=t||{},{layoutOrder:s,maxVisibleRows:c={},maxVisibleColumns:u,dense:d}=l,p=Math.min(150,i+18);let f,h,m,g;const v=d?20:29,y=r||8*v;if(s)if("row"===s){f={overflowX:"hidden"};const e=u.maxColumns||3;h=!1!==u.auto?Math.min(o,Math.ceil((n-10)/p)):Math.min(o,e),g=Math.ceil(o/h),m=(n-10)/h}else{f={overflowY:"hidden"};const e=c.maxRows||3;g=!1!==c.auto?Math.floor(y/v):Math.min(o,e),h=Math.ceil(o/g),m=Math.max(p,n/h)}return{columnCount:h,columnWidth:m,rowCount:g,overflowStyling:f,itemSize:v,listHeight:y,scrollBarWidth:10,count:a,listCount:o}}({layout:E,width:u,height:l,listCount:G,count:V,textWidth:B}),{textAlign:Z}=(null==E?void 0:E.qListObject.qDimensionInfo)||{},{List:X,Grid:Q}=function(e){let{layout:t,width:n,checkboxes:r,local:o,isVertical:a,pages:l,selectDisabled:c,interactionEvents:u,frequencyMode:d,histogram:p,isSingleSelect:f,select:h,textAlign:m,selections:g,keyboard:v,showGray:y,scrollState:b,direction:x,listLayout:S,sizes:w,listCount:E}=e;const{layoutOptions:C={},frequencyMax:k}=t||{},{dense:L=!1}=C||{},{listHeight:R,itemSize:O,rowCount:I,columnCount:_}=w||{},T={direction:"rtl"===x?"rtl":"ltr",useIsScrolling:!0,className:Sk.styledScrollbars},P=null==t?void 0:t.qListObject.qDimensionInfo.qLocked,N=i(i({isLocked:P,column:!a,pages:l},P||c()?{}:u),{},{checkboxes:r,dense:L,frequencyMode:d,freqIsAllowed:JC({width:n,layout:t,frequencyMode:d}),isSingleSelect:f,textAlign:m,actions:{select:h,confirm:()=>null==g?void 0:g.confirm.call(g),cancel:()=>null==g?void 0:g.cancel.call(g)},frequencyMax:k,histogram:p,keyboard:v,showGray:y});return{List:e=>{let{onItemsRendered:t,ref:r}=e;return o.current.listRef=r,ct.createElement(wk,s({},T,{dataTestid:"fixed-size-list",height:R,width:n,itemCount:E,layout:S,itemData:i({},N),itemSize:O,onItemsRendered:e=>{b&&b.setScrollPos(e.visibleStopIndex),t(i({},e))},ref:r}),YC)},Grid:e=>{let{onItemsRendered:t,ref:r}=e;const{columnWidth:a,overflowStyling:l,scrollBarWidth:c}=w,{layoutOrder:u}=C||{},d=Math.min(R,I*O+c);return o.current.listRef=r,ct.createElement(Ek,s({},T,{dataTestid:"fixed-size-grid",height:d,width:n,columnCount:_,columnWidth:a,rowCount:I,rowHeight:O,style:i({},l),itemData:i(i({},N),{},{column:void 0,columnCount:_,rowCount:I,layoutOrder:u}),onItemsRendered:e=>{const n=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,p,f,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,p=i,f=c*o,h=l):(d=s,p=i*a,f=c,h=l*a),{visibleStartIndex:d+p,visibleStopIndex:f+h}}({renderProps:e,scrollState:b,layoutOrder:u,rowCount:I,columnCount:_});t(n)},ref:r}),YC)}}}({direction:o,layout:E,height:l,width:u,checkboxes:k,frequencyMode:p,histogram:L,keyboard:v,showGray:y,interactionEvents:j,select:F,textAlign:Z,isVertical:H,pages:N,selectDisabled:x,isSingleSelect:C,selections:r,scrollState:b,local:O,sizes:K,listCount:G}),{columnWidth:Y,listHeight:J,itemSize:ee}=K||{};return H||(U=function(e){let{width:t,columnWidth:n,listHeight:r,itemSize:o}=e;return Math.ceil(t/n)*Math.ceil(r/o)*2}({width:u,columnWidth:Y,listHeight:J,itemSize:ee})),ct.createElement(ct.Fragment,null,!G&&ct.createElement(_k,{width:u}),ct.createElement(LC,{isItemLoaded:q,itemCount:G||1,loadMoreItems:A.with({minimumBatchSize:U}),threshold:0,minimumBatchSize:U,ref:R},H?X:Q))}const Nk=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),Mk=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),zk=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),Ak=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]});var qk=e=>{let{layout:t,model:n,translator:r}=e;if(t.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:Nk,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:zk,enabled:()=>["qOption"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:Mk,enabled:()=>["qAlternative"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:Ak,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const Dk=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function jk(e){const t=Av(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const Fk="njs-cell-action",$k=ct.forwardRef(((e,t)=>{let{ariaExpanded:n=!1,item:r,addAnchor:o=!1}=e;const a=Av(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=jk(r);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=r.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&r.keyboardAction():null;return ct.createElement(Nx,{ref:o?null:t,title:r.label,onClick:r.action,onKeyDown:d,disabled:l,style:s,className:Fk,size:"large","aria-expanded":n,"aria-controls":"moreMenuList"},c&&bC(r.getSvgIconShape()),o&&ct.createElement("div",{ref:t,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),Bk=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),Wk=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]});var Uk=e=>bC(Wk(e));const Hk={icon:"".concat("More","-icon")},Vk=Fv(jE)((e=>{let{theme:t}=e;return{["& .".concat(Hk.icon)]:{color:t.palette.text.primary}}}));function Gk(e){let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:o,hasSvgIconShape:a}=jk(t);return r?null:ct.createElement(VE,{title:t.label,onClick:()=>{t.action(),n()},disabled:o,tabindex:"0"},a&&ct.createElement(xE,{className:Hk.icon},bC(t.getSvgIconShape())),ct.createElement(Fx,{noWrap:!0},t.label))}const Kk=ct.forwardRef(((e,t)=>{let{actions:n=[],show:r=!0,alignTo:o,popoverProps:a={},popoverPaperStyle:l={},onCloseOrActionClick:c=(()=>{})}=e;return n.length>0&&ct.createElement(Vk,s({},a,{onClose:c,ref:t,open:r,anchorEl:o.current,getContentAnchorEl:null,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{style:i({pointerEvents:"auto",maxWidth:"250px"},l)}}),ct.createElement(OE,{id:"moreMenuList"},n.map(((e,t)=>ct.createElement(Gk,{key:t,item:e,onActionClick:c})))))})),Zk="ActionsToolbar",Xk={itemSpacing:"".concat(Zk,"-itemSpacing"),firstItemSpacing:"".concat(Zk,"-firstItemSpacing"),lastItemSpacing:"".concat(Zk,"-lastItemSpacing")},Qk=Fv(jE)((e=>{let{theme:t}=e;return{["& .".concat(Xk.itemSpacing)]:{padding:t.spacing(0,.5)},["& .".concat(Xk.firstItemSpacing)]:{padding:t.spacing(0,.5,0,0)},["& .".concat(Xk.lastItemSpacing)]:{padding:t.spacing(0,0,0,.5)}}})),Yk="njs-action-toolbar-popover",Jk=ct.forwardRef(((e,t)=>{let{ariaExpanded:n=!1,actions:r=[],first:o=!1,last:a=!1,addAnchor:i=!1}=e;return r.length>0?ct.createElement(_w,{item:!0,container:!0,gap:0,wrap:"nowrap"},r.map(((e,l)=>{let s=[];const c=o&&0===l,u=a&&r.length-1===l;return c&&!u&&(s=[Xk.firstItemSpacing]),u&&!c&&(s=[...s,Xk.lastItemSpacing]),c||u||0!==s.length||(s=[Xk.itemSpacing]),ct.createElement(_w,{item:!0,key:e.key,className:s.join(" ").trim()},ct.createElement($k,{ariaExpanded:n,key:e.key,item:e,ref:0===l?t:null,addAnchor:i}))}))):null})),eL={pointerEvents:"none"},tL={vertical:"top",horizontal:"right"},nL={vertical:"bottom",horizontal:"right"};function rL(e){let{show:t=!0,actions:n=[],maxItems:r=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:a={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:i={show:!1,anchorEl:null},focusHandler:l=null,actionsRefMock:s=null}=e;const c=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}=e;const{translator:a}=Re.useContext(Mb);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:Wk},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{o(e),r(),t.cancel()},getSvgIconShape:Bk},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{o(e),n(),t.confirm()},getSvgIconShape:MC}]}(o),{translator:u,keyboardNavigation:d}=Re.useContext(Mb),[p,f]=Re.useState(!1),[h,m]=Re.useState(a.enabled),[g,v]=Re.useState(a.actions),y=Re.useRef(),b=Re.useRef(),x=Av(),S=Re.useMemo((()=>({margin:x.spacing(.5,0)}))),w=e=>{const t=b.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};Re.useEffect((()=>()=>f(!1)),[i.show]),Re.useEffect((()=>{m(a.enabled)}),[a.enabled]),Re.useEffect((()=>{if(!l)return;l.on("focus_toolbar_first",(()=>{const e=w(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=w(!0);e&&e.focus()}))}),[]);const E=Re.useMemo((()=>n.filter((e=>!e.hidden))),[n]);if(!o.show&&0===E.length)return null;const C={key:"more",label:u.get("Menu.More"),getSvgIconShape:Dk,hidden:!1,active:p,enabled:()=>h,action:()=>f(!p)};if(E.length>r){const e=E.splice(-(E.length-r)-1);m(!0),v([...e,...a.actions])}const k=d&&l&&l.refocusContent?e=>{if("Tab"!==e.key)return;(e.shiftKey&&w(!1)===e.target||!e.shiftKey&&w(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,L=E.length>0,R=g.length>0,O=L&&o.show||R&&o.show,I=ct.createElement(_w,{ref:b,onKeyDown:k,container:!0,gap:0,wrap:"nowrap"},L&&ct.createElement(Jk,{actions:E,first:!0,last:!R&&!o.show}),R&&ct.createElement(Jk,{ref:y,ariaExpanded:p,actions:[C],first:!L,last:!o.show,addAnchor:!0}),O&&ct.createElement(_w,{item:!0,className:Xk.itemSpacing,style:S},ct.createElement(fw,{orientation:"vertical"})),o.show&&ct.createElement(Jk,{actions:c,first:!L&&!R,last:!0}),p&&ct.createElement(Kk,{show:p,actions:g,alignTo:y,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{f(!1)}}));return i.show?ct.createElement(Qk,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:tL,transformOrigin:nL,hideBackdrop:!0,style:eL,PaperProps:{className:Yk,style:{pointerEvents:"auto",padding:x.spacing(1,1)}}},I):t&&I}var oL=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]}))(e));const aL="/qListObjectDef",iL=Fv(Kw)((e=>{var t,n;let{theme:r}=e;return{color:null===(t=r.listBox)||void 0===t||null===(n=t.content)||void 0===n?void 0:n.color}})),lL=Fv(tC)((e=>{var t,n;let{theme:r}=e;return{color:null===(t=r.listBox)||void 0===t||null===(n=t.content)||void 0===n?void 0:n.color}}));function sL(e){let{selections:t,model:n,keyboard:r,dense:o=!1,visible:a=!0}=e;const{translator:i}=Re.useContext(Mb),[l,s]=Re.useState(""),c=Av(),{getStoreValue:u}=Ik(n),d=async()=>{if(t.isModal())try{await n.abortListObjectSearch(aL)}finally{s("")}};Re.useEffect((()=>{a||d()}),[a]),Re.useEffect((()=>(t.on("deactivated",d),()=>{t.removeListener&&t.removeListener("deactivated",d)})),[]);const p=async()=>{let e;return await n.searchListObjectFor(aL,l)&&l.length&&u("listCount")>0&&(e=n.acceptListObjectSearch(aL,!0),t.selectionsMade=!0,s("")),e};return a?ct.createElement(lL,{startAdornment:ct.createElement(iL,{position:"start"},ct.createElement(oL,{size:o?"small":"normal"})),className:"search",sx:[{border:"none",borderRadius:0,backgroundColor:"transparent","& fieldset":{border:"1px solid ".concat(c.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"}},o&&{fontSize:12,paddingLeft:c.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}],size:"small",fullWidth:!0,placeholder:i.get("Listbox.Search"),value:l,onFocus:()=>{t.isModal()||t.begin(["/qListObjectDef"])},onChange:async e=>(s(e.target.value),e.target.value.length?n.searchListObjectFor(aL,e.target.value):d()),onKeyDown:async e=>{let n;switch(e.key){case"Enter":n=await p();break;case"Escape":n=t.isActive()&&t.cancel(),e.preventDefault(),e.stopPropagation()}return n},inputProps:{tabIndex:!r||r.enabled&&!r.active?-1:0}}):null}function cL(e){return Object.keys(v.prototype).forEach((t=>{e[t]=v.prototype[t]})),v.init(e),e}const uL=e=>{let t,{appSelections:n,appModal:r,model:o}=e,a=!1,i=!1;const l={id:o.id,setLayout(e){t=e},begin(e){const t=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",t),t.isPrevented()?Promise.resolve():(a=!0,this.emit("activated"),r.begin(o,e,!0))},clear(){return i=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm(){return i=!1,a=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return i=!1,a=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},async select(e){const t=this.begin([e.params[0]]);if(!n.isModal())return!1;await t;const r=await o[e.method](...e.params);return i="resetMadeSelections"!==e.method,!!r||(o.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked&&!t.qListObject.qDimensionInfo.qIsOneAndOnlyOne:i,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:i,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo)||!t.qListObject.qDimensionInfo.qLocked,isActive:()=>a,isModal:()=>n.isModal(o),goModal:e=>r.begin(o,e,!1),noModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.end(e)}};return cL(l),l},dL=e=>{let{elements:t,objectSelections:n}=e;const r=function(e){let{elements:t,handleClickOutside:n}=e;return e=>{if(!document.contains(e.target))return;const r=t.map((e=>"string"==typeof e?document.querySelector(e):null==e?void 0:e.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((t=>t.contains(e.target)))&&n(e)}}({elements:t,handleClickOutside:()=>n.confirm.call(n)});return{activateClickOut(){document.addEventListener("mousedown",r)},deactivateClickOut(){document.removeEventListener("mousedown",r)}}};function pL(e,t,n){const r=Array.isArray(n)?n:[n],[o]=px(e),[a]=Yb(t),i=t?t.id:null,[l]=ix(),[s]=sx(),c=l.get(e.id);let u=s.get(i);return Re.useEffect((()=>{o&&t&&!u&&(u=uL({appSelections:o,appModal:c,model:t}),s.set(i,u),s.dispatch(!0))}),[o,t]),Re.useEffect((()=>{if(!u)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=dL({elements:r,objectSelections:u});return u.addListener("activated",e),u.addListener("deactivated",t),()=>{u.removeListener("activated",e),u.removeListener("deactivated",t)}}),[u]),Re.useEffect((()=>{u&&u.setLayout(a)}),[u,a]),[u]}const fL=function(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:r};function hL(e){const t=(null==e?void 0:e.qListObject.qDimensionInfo.qStateCounts)||{};return fL(t,"qSelected",0)+fL(t,"qSelectedExcluded",0)+fL(t,"qLocked",0)+fL(t,"qLockedExcluded",0)>0}function mL(e){let{alignTo:t,show:n,close:r,app:o,fieldName:a,stateName:i="$"}=e;const l=n&&Boolean(t.current),[s,c]=Re.useState(0),u=Av(),[d]=ex({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:i,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[a]}}},o,a,i),p=Re.useCallback((()=>{d.lock("/qListObjectDef")}),[d]),f=Re.useCallback((()=>{d.unlock("/qListObjectDef")}),[d]),{translator:h}=Re.useContext(Mb),m=Re.useRef(),g=Re.useRef(),[v]=pL(o,d,g),[y]=Yb(d);if(Re.useEffect((()=>{v&&l&&(v.isModal(d)||v.goModal("/qListObjectDef"))}),[v,l]),!d||!y||!h)return null;const b=!0===y.qListObject.qDimensionInfo.qLocked,x=(e,t)=>{const n="escapeKeyDown"!==t;v.noModal(n),r()},S=qk({layout:y,model:d,translator:h}),w=hL(y);return ct.createElement(jE,{open:l,onClose:x,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},ct.createElement(_w,{container:!0,direction:"column",gap:0,ref:g},ct.createElement(_w,{item:!0,container:!0,style:{padding:u.spacing(1)}},ct.createElement(_w,{item:!0},b?ct.createElement(Nx,{onClick:f,disabled:!b,size:"large"},ct.createElement(SC,{title:h.get("Listbox.Unlock")})):ct.createElement(Nx,{onClick:p,disabled:!w,size:"large"},ct.createElement(wC,{title:h.get("Listbox.Lock")}))),ct.createElement(_w,{item:!0,xs:!0}),ct.createElement(_w,{item:!0},ct.createElement(rL,{more:{enabled:!b,actions:S,alignTo:m,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:v,onConfirm:x,onCancel:()=>x(0,"escapeKeyDown")}}))),ct.createElement(_w,{item:!0,xs:!0},ct.createElement("div",{ref:m}),ct.createElement(sL,{selections:v,model:d,listCount:s,visible:!0}),ct.createElement(Pk,{model:d,selections:v,direction:"ltr",onSetListCount:e=>c(e)}))))}function gL(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}=e;const{translator:l}=Re.useContext(Mb),s=a||Re.useRef(),c=Av(),[u,d]=Re.useState(!1),p=e=>{e.currentTarget.contains(e.target)&&d(!u)},f=()=>{d(!1),i()},h=t.selections[r];void 0===h.qTotal&&(h.qTotal=0);const m=h.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},g=(m.qSelected+m.qLocked)/h.qTotal,v=m.qAlternative/h.qTotal,y=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/h.qTotal,b=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,x=0===b&&0===h.qTotal;let S="";h.qTotal===b&&h.qTotal>1?S=l.get("CurrentSelections.All"):b>1&&h.qTotal?S=l.get("CurrentSelections.Of",[b,h.qTotal]):h.qSelectedFieldSelectionInfo&&(S=h.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==t.states[r]&&(S="".concat(t.states[r],": ").concat(S));const w=[{color:c.palette.selected.main,ratio:g},{color:c.palette.selected.alternative,ratio:v},{color:c.palette.selected.excluded,ratio:y}];w.forEach(((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0}));let E=null,C=null,k=null,L=null;return a||(E=ct.createElement(_w,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:h.qLocked?"0.3":""}},ct.createElement(Fx,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},h.qField),ct.createElement(Fx,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},S)),h.qLocked?C=ct.createElement(_w,{item:!0},ct.createElement(Nx,{size:"large"},ct.createElement(SC,null))):h.qOneAndOnlyOne||(C=ct.createElement(_w,{item:!0},ct.createElement(Nx,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(h.qField,t.states[r])},size:"large"},ct.createElement(xC,null)))),k=ct.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===x&&w.map((e=>ct.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})))),L=ct.createElement(_w,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&p||null},E,C,k,u&&ct.createElement(mL,{alignTo:s,show:u,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}))),a?ct.createElement(mL,{alignTo:s,show:!0,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}):L}var vL=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e));const yL={item:"".concat("MultiState","-item")},bL=Fv(_w)((e=>{let{theme:t}=e;return{["&.".concat(yL.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"}}}));function xL(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const[a,i]=Re.useState(!!r),[l,s]=Re.useState(-1),[c,u]=Re.useState(r?r.current:null),d=r||Re.useRef(),{translator:p}=Re.useContext(Mb),f=p.get("Selection.ClearAllStates"),h=()=>{s(-1),o()};let m=null;r||(m=ct.createElement(ct.Fragment,null,ct.createElement(_w,{item:!0,xs:!0,zeroMinWidth:!0},ct.createElement(xS,{style:{padding:"0px 8px"},color:"secondary",badgeContent:t.states.length},ct.createElement(Fx,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),ct.createElement(_w,{item:!0},ct.createElement("div",{style:{width:"12px"}})),ct.createElement(_w,{item:!0},ct.createElement(Nx,{size:"large"},ct.createElement(vL,null)))));const g=ct.createElement(eE,{dense:!0},ct.createElement(hE,{title:f,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},ct.createElement(Sb,{variant:"contained",fullWidth:!0},f)),t.states.map(((e,r)=>ct.createElement(hE,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,r)},ct.createElement(wS,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},ct.createElement(gL,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),v=ct.createElement(jE,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),y=r?v:ct.createElement(bL,{container:!0,gap:0,className:yL.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},m,a&&v,l>-1&&ct.createElement(mL,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?ct.createElement(mL,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):y}const SL="More",wL={item:"".concat(SL,"-item"),badge:"".concat(SL,"-badge")},EL=Fv(_w)((e=>{let{theme:t}=e;return{["&.".concat(wL.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(wL.badge)]:{padding:t.spacing(0,1)}}}));function CL(e){let{items:t=[],api:n}=e;const r=Av(),[o,a]=Re.useState(!1),[i,l]=Re.useState(-1),[s,c]=Re.useState(null),u=Re.useRef(),d=()=>{l(-1)};let p=null;return i>-1&&(p=t[i].states.length>1?ct.createElement(xL,{field:t[i],api:n,moreAlignTo:u,onClose:d}):ct.createElement(gL,{field:t[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),ct.createElement(EL,{container:!0,gap:0,className:wL.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},ct.createElement(_w,{item:!0},ct.createElement(wS,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},ct.createElement(Fx,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),ct.createElement(_w,{item:!0},ct.createElement(Nx,{size:"large"},ct.createElement(vL,null))),o&&ct.createElement(jE,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},ct.createElement(eE,{dense:!0},t.map(((e,t)=>ct.createElement(hE,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,t)},ct.createElement(wS,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?ct.createElement(xL,{field:e,api:n}):ct.createElement(gL,{field:e,api:n}))))))),p)}function kL(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function LL(e){let{api:t,app:n}=e;const r=Av(),[o]=nx(n),[a]=Yb(o),[i,l]=Re.useState({items:[],more:[]}),[s]=ux(),[c,u]=vC(),[d,p]=Re.useState(0);return Re.useEffect((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);p(n)}),[u]),Re.useEffect((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&kL(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>kL(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e]))}(a);l((t=>{const r=e;if((()=>{const e=s.get(n.id);return e&&"njsListbox"===e.genericType})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[n,o,a,t.isInModal(),d]),ct.createElement(_w,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((e=>ct.createElement(_w,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?ct.createElement(xL,{field:e,api:t}):ct.createElement(gL,{field:e,api:t})))),i.more.length>0&&ct.createElement(_w,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},ct.createElement(CL,{items:i.more,api:t})))}var RL=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e));var OL=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));function IL(e){let{api:t,app:n}=e;const{translator:r}=Re.useContext(Mb),[o]=rx(n);return ct.createElement(_w,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},ct.createElement(_w,{item:!0},ct.createElement(Nx,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back(),size:"large"},ct.createElement(RL,null))),ct.createElement(_w,{item:!0},ct.createElement(Nx,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward(),size:"large"},ct.createElement(OL,null))),ct.createElement(_w,{item:!0},ct.createElement(Nx,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear(),size:"large"},ct.createElement(Uk,null))))}function _L(e){let{app:t}=e;const n=Av(),[r]=px(t);return r?ct.createElement(_w,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},ct.createElement(_w,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},ct.createElement(IL,{api:r,app:t})),ct.createElement(_w,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},ct.createElement(LL,{api:r,app:t}))):null}function TL(e){let{element:t,app:n}=e;return bp.createPortal(ct.createElement(_L,{app:n}),t)}var PL=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},NL=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),ML=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zL=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},AL=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},qL=void 0;qL="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var DL=null,jL=null,FL=qL.clearTimeout,$L=qL.setTimeout,BL=qL.cancelAnimationFrame||qL.mozCancelAnimationFrame||qL.webkitCancelAnimationFrame,WL=qL.requestAnimationFrame||qL.mozRequestAnimationFrame||qL.webkitRequestAnimationFrame;function UL(e){var t=void 0,n=void 0,r=void 0,o=void 0,a=void 0,i=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;i(this),this.__resizeRAF__&&DL(this.__resizeRAF__),this.__resizeRAF__=jL((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var c=!1,u="";r="animationstart";var d="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f=document.createElement("fakeelement");if(void 0!==f.style.animationName&&(c=!0),!1===c)for(var h=0;h<d.length;h++)if(void 0!==f.style[d[h]+"AnimationName"]){u="-"+d[h].toLowerCase()+"-",r=p[h],c=!0;break}t="@"+u+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=u+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){var u=a.ownerDocument,d=qL.getComputedStyle(a);d&&"static"===d.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(u),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=u.createElement("div")).className="resize-triggers";var p=u.createElement("div");p.className="expand-trigger",p.appendChild(u.createElement("div"));var f=u.createElement("div");f.className="contract-trigger",a.__resizeTriggers__.appendChild(p),a.__resizeTriggers__.appendChild(f),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==BL||null==WL?(DL=FL,jL=function(e){return $L(e,20)}):(DL=function(e){var t=AL(e,2),n=t[0],r=t[1];BL(n),FL(r)},jL=function(e){var t=WL((function(){FL(n),e()})),n=$L((function(){BL(t),e()}),20);return[t,n]});var HL=function(e){function t(){var e,n,r;PL(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=zL(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var a=r._parentNode.offsetHeight||0,i=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,c=parseInt(l.paddingRight,10)||0,u=parseInt(l.paddingTop,10)||0,d=parseInt(l.paddingBottom,10)||0,p=a-u-d,f=i-s-c;(!t&&r.state.height!==p||!n&&r.state.width!==f)&&(r.setState({height:a-u-d,width:i-s-c}),o({height:a,width:i}))}},r._setRef=function(e){r._autoSizer=e},zL(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),NL(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=UL(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,a=e.style,i=this.state,l=i.height,s=i.width,c={overflow:"visible"},u={},d=!1;return r||(0===l&&(d=!0),c.height=0,u.height=l),o||(0===s&&(d=!0),c.width=0,u.width=s),Re.createElement("div",{className:n,ref:this._setRef,style:ML({},c,a)},!d&&t(u))}}]),t}(Re.PureComponent);HL.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const VL="ListBoxInline",GL={listBoxHeader:"".concat(VL,"-listBoxHeader"),screenReaderOnly:"".concat(VL,"-screenReaderOnly")},KL=Fv(_w)((e=>{var t,n;let{theme:r}=e;return{backgroundColor:null!==(t=null===(n=r.listBox)||void 0===n?void 0:n.backgroundColor)&&void 0!==t?t:r.palette.background.default,["& .".concat(GL.listBoxHeader)]:{alignSelf:"center",display:"inline-flex"},["& .".concat(GL.screenReaderOnly)]:{position:"absolute",height:0,width:0,overflow:"hidden"}}})),ZL=Fv(Fx)((e=>{var t,n,r,o,a,i,l,s,c;let{theme:u}=e;return{color:null===(t=u.listBox)||void 0===t||null===(n=t.title)||void 0===n||null===(r=n.main)||void 0===r?void 0:r.color,fontSize:null===(o=u.listBox)||void 0===o||null===(a=o.title)||void 0===a||null===(i=a.main)||void 0===i?void 0:i.fontSize,fontFamily:null===(l=u.listBox)||void 0===l||null===(s=l.title)||void 0===s||null===(c=s.main)||void 0===c?void 0:c.fontFamily}}));function XL(e){var t,n;let{options:r={}}=e;const{direction:o,frequencyMode:a,listLayout:i,checkboxes:l,search:s=!0,focusSearch:c=!1,toolbar:u=!0,rangeSelect:d=!0,model:p,selections:f,update:h,fetchStart:m,selectDisabled:g=(()=>!1),postProcessPages:v,calculatePagesHeight:y,showGray:b=!0,scrollState:x}=r,S=Av(),w=Re.useCallback((()=>{p.lock("/qListObjectDef")}),[p]),E=Re.useCallback((()=>{p.unlock("/qListObjectDef")}),[p]),{translator:C,keyboardNavigation:k,themeApi:L}=Re.useContext(Mb);S.listBox=(e=>{const t=t=>e.getStyle("object","","listBox.".concat(t));return{backgroundColor:t("backgroundColor"),title:{main:{color:t("title.main.color"),fontSize:t("title.main.fontSize"),fontFamily:t("title.main.fontFamily")}},content:{color:t("content.color"),fontSize:t("content.fontSize"),fontFamily:t("content.fontFamily")}}})(L);const R=Re.useRef(),[O,I]=(()=>{const[e,t]=Re.useState({}),n=Re.useCallback((e=>{t({current:e})}),[t]);return[e,n]})(),[_]=Yb(p),[T,P]=Re.useState(!1),[N,M]=Re.useState(!1),[z,A]=Re.useState(!1),q=VC({setKeyboardActive:A}),D={enabled:k,active:z};if(Re.useEffect((()=>{const e=()=>{P(!0)},t=()=>{P(!1),"toggle"===s&&M(!1)};return f&&(f.isModal()||(f.on("deactivated",t),f.on("activated",e)),P(f.isActive())),()=>{f&&f.removeListener&&(f.removeListener("deactivated",e),f.removeListener("activated",t))}}),[f]),Re.useEffect((()=>{if(O&&O.current&&(s&&c||"toggle"===s&&N)){const e=O.current.querySelector("input");e&&e.focus()}}),[O&&O.current,N,s,c]),!p||!_||!C)return null;const j=!0===_.qListObject.qDimensionInfo.qLocked,F=u?qk({layout:_,model:p,translator:C}):[],$=hL(_),B=(!0===s||"toggle"===s&&N)&&!g(),W=null!==(t=null===(n=_.layoutOptions)||void 0===n?void 0:n.dense)&&void 0!==t&&t,U=49+(B?W?27:40:0)+(W?39:49),H=()=>{M(!N)};return ct.createElement(KL,{className:"listbox-container",container:!0,tabIndex:D.enabled&&!D.active?0:-1,direction:"column",gap:0,style:{height:"100%",minHeight:"".concat(U,"px"),flexFlow:"column nowrap"},onKeyDown:q},u&&ct.createElement(_w,{item:!0,container:!0,style:{padding:S.spacing(1)}},ct.createElement(_w,{item:!0},j?ct.createElement(Nx,{tabIndex:-1,onClick:E,disabled:!j,size:"large"},ct.createElement(SC,{title:C.get("Listbox.Unlock")})):"toggle"!==s||$?ct.createElement(Nx,{onClick:w,tabIndex:-1,disabled:!$,size:"large"},ct.createElement(wC,null)):ct.createElement(Nx,{onClick:H,tabIndex:-1,title:C.get("Listbox.Search"),size:"large"},ct.createElement(oL,null))),ct.createElement(_w,{item:!0,className:GL.listBoxHeader},ct.createElement(ZL,{variant:"h6",noWrap:!0},_.title||_.qListObject.qDimensionInfo.qFallbackTitle)),ct.createElement(_w,{item:!0,xs:!0}),ct.createElement(_w,{item:!0},ct.createElement(rL,{more:{enabled:!j,actions:F,alignTo:R,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:T,api:f,onConfirm:()=>{},onCancel:()=>{}}}))),ct.createElement(_w,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"".concat(U,"px")},role:"region","aria-label":C.get("Listbox.ResultFilterLabel")},ct.createElement(_w,{item:!0,ref:I},ct.createElement("div",{className:GL.screenReaderOnly},C.get("Listbox.Search.ScreenReaderInstructions")),ct.createElement(sL,{selections:f,model:p,dense:W,keyboard:D,visible:B,searchContainerRef:I})),ct.createElement(_w,{item:!0,xs:!0},ct.createElement("div",{ref:R}),ct.createElement("div",{className:GL.screenReaderOnly},C.get("Listbox.ScreenReaderInstructions")),ct.createElement(HL,null,(e=>{let{height:t,width:n}=e;return ct.createElement(Pk,{model:p,selections:f,direction:o,listLayout:i,frequencyMode:a,rangeSelect:d,checkboxes:l,height:t,width:n,update:h,fetchStart:m,postProcessPages:v,calculatePagesHeight:y,selectDisabled:g,keyboard:D,showGray:b,scrollState:x})})))))}function QL(e){let{app:t,fieldIdentifier:n,qId:r,stateName:o,element:a,options:l}=e;const{isExistingObject:s,hasExternalSelectionsApi:c}=function(e){let{qId:t,options:n}=e;return{isExistingObject:!(!t&&!n.sessionModel),hasExternalSelectionsApi:!!n.selectionsApi}}({qId:r,options:l}),[u,d]=Re.useState(0);Re.useEffect((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");d(u+1)}),[s,c]);const p=s?function(e){let{app:t,qId:n,options:r={}}=e;const[o,a]=Re.useState(),[i]=Kb(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error('Option "'.concat(c.join(", "),'" is not applicable for existing objects.'));return Re.useEffect((()=>{l?a(l):async function(){const e=i.get(n);if(e)a(e);else{const e=await t.getObject(n);i.set(e.id,e),a(e)}}()}),[]),o}({app:t,qId:r,options:l}):function(e){let{app:t,fieldIdentifier:n,stateName:r,options:o={}}=e;const[a,i]=Re.useState(""),[l,s]=Re.useState(!0),[c,u]=Re.useState();Re.useEffect((()=>{const e=o.histogram||"N"!==o.frequencyMode;n.qLibraryId&&e?async function(){try{const e=await t.getDimension(n.qLibraryId),r=await e.getLayout();i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error("Disabling frequency count and histogram: ".concat(e&&e.message))}}():s(!1)}),[]);const{title:d,dense:p,checkboxes:f,properties:h={}}=o;let{frequencyMode:m,histogram:g=!1}=o;switch(a&&a.failedToFetchFieldDef&&(g=!1,m="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(m):m="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(m):m="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(m):m="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(m):m="R";break;default:m="N"}const v={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:r,qShowAlternatives:!0,qFrequencyMode:g&&"N"===m?"V":m,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:g,checkboxes:f,layoutOptions:{dense:p},title:d};let y;if(le(!0,v,h),n.qLibraryId?(v.qListObjectDef.qLibraryId=n.qLibraryId,y=n.qLibraryId):(v.qListObjectDef.qDef.qFieldDefs=[n],y=n),"N"!==m||g){const e=n.qLibraryId?a:y;v.frequencyMax={qValueExpression:"Max(AGGR(Count([".concat(e,"]), [").concat(e,"]))")}}const[b]=ex(v,l?null:t,y,r);return Re.useEffect((()=>{b&&u(b)}),[b]),c}({app:t,fieldIdentifier:n,stateName:o,options:l}),f=Re.useRef(a),h=c?l.selectionsApi:pL(t,p,f)[0];if(!h||!p)return null;const m=i(i({},l),{},{selections:h,model:p});return ct.createElement(XL,{options:m})}function YL(e){let{element:t,app:n,fieldIdentifier:r,qId:o,stateName:a="$",options:i={}}=e;return bp.createPortal(ct.createElement(QL,{app:n,element:t,fieldIdentifier:r,qId:o,stateName:a,options:i}),t)}const JL=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function eR(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function tR(){return JL.map(eR).join("")}function nR(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function rR(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function oR(e){let{sn:t,properties:n,fields:r}=e;if(!r.length)return;const o=t.qae.data.targets[0];if(!o)return;const{propertyPath:a}=o,l=a.split("/");let s=n;for(let e=0;e<l.length;e++){const t=l[e];s=t?s[t]:s}const c=function(e){let{dc:t,def:n,properties:r}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const o=r,a={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const r="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):i(i({},e),{},{qDef:e.qDef||{}});return r.qDef.cId=r.qDef.cId||tR(),r.qDef.qSortCriterias=r.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],r.qOtherTotalSpec=r.qOtherTotalSpec||{},r.qAttributeExpressions=r.qAttributeExpressions||[],r.qAttributeDimensions=r.qAttributeDimensions||[],t.qDimensions.length<a.maxDimensions()?(t.qDimensions.push(r),nR(t.qInterColumnSortOrder,t.qDimensions.length-1),n.dimensions.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(r)),r},removeDimension(e){const r=t.qDimensions.splice(e,1)[0];return rR(t.qInterColumnSortOrder,e),n.dimensions.removed(r,o,e),r},addMeasure(e){const r="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):i(i({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||tR(),r.qSortBy=r.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},r.qAttributeDimensions=r.qAttributeDimensions||[],r.qAttributeExpressions=r.qAttributeExpressions||[],t.qMeasures.length<a.maxMeasures()?(t.qMeasures.push(r),nR(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),n.measures.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(r))},removeMeasure(e){const r=t.qMeasures.splice(e,1)[0];rR(t.qInterColumnSortOrder,t.qDimensions.length+e),n.measures.removed(r,o,e)},maxDimensions:()=>n.dimensions.max(t.qMeasures.length),maxMeasures:()=>n.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<a.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<a.maxMeasures()};return a}({dc:s,def:o,properties:n});r.forEach((e=>{const t=function(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e);"measure"===t?c.addMeasure(e):c.addDimension(e)}))}var aR=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},iR=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},lR=e=>0===Object.keys(e).length&&e.constructor===Object;var sR={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}};const cR=2**53-1;function uR(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function dR(e,t){const n=le(!0,{},t,e);return aR(n,"qOtherTotalSpec.qOtherCounted")||iR(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),aR(n,"qOtherTotalSpec.qOtherLimit")||iR(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function pR(e,t){return le(!0,{},t,e)}function fR(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var hR={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===aR(e,t)&&iR(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:uR,importCommonProperties:function(e,t,n){const r="masterobject"===aR(t,"properties.qInfo.qType")?"masterobject":aR(n,"qInfo.qType");iR(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:dR,createDefaultMeasure:pR,resolveValue:fR,getHypercubePath:function(e){const t=aR(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){let{exportFormat:t,newHyperCubeDef:n}=e;const r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let a=n.qInterColumnSortOrder.length;if(a!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());a!==o;)a<o?(sR.indexAdded(n.qInterColumnSortOrder,a),++a):(--a,sR.indexRemoved(n.qInterColumnSortOrder,a))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=le(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?iR(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||uR(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=le(!0,{},n,o),null===o.components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],o=n.dimensions||{max:0},a=n.measures||{max:0},i=fR(a.max,r.dimensions.length,cR),l=fR(a.min,r.dimensions.length,0);return{maxDimensions:fR(o.max,i,cR),minDimensions:fR(o.min,l,0),maxMeasures:i,minMeasures:l}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a}=e;const i=t.data[0];return i.dimensions.length>n&&n>0||i.measures.length>o&&o>0||i.excludedDimensions.length>0&&i.dimensions.length+i.excludedDimensions.length>r||i.excludedMeasures.length>0&&i.measures.length+i.excludedMeasures.length>a||!o&&i.measures.length>0||!n&&i.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a,newHyperCubeDef:i}=e;const l=t.data[0];i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.qHyperCubeDef||(i.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>a)&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:o,defaultDimension:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.dimensions.length;++l)o.qDimensions.length<n?o.qDimensions.push(dR(i.dimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(dR(i.dimensions[l],a));else if(i.dimensions.length)for(l=0;l<i.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(dR(i.dimensions[l],a));if(i.excludedDimensions.length)for(l=0;l<i.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(dR(i.excludedDimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(dR(i.excludedDimensions[l],a))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:o,defaultMeasure:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.measures.length;++l)o.qMeasures.length<n?o.qMeasures.push(pR(i.measures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(pR(i.measures[l],a));else if(i.measures.length)for(l=0;l<i.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push(pR(i.measures[l],a));if(i.excludedMeasures.length)for(l=0;l<i.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push(pR(i.excludedMeasures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(pR(i.excludedMeasures[l],a))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=aR(t,r||"").qHyperCubeDef,o=[...e.qDimensions];e.qDimensions=[],o.forEach((r=>{e.qDimensions.push(r),n.dimensions.added(r,t)}))}},updateMeasuresOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.measures&&"function"==typeof n.measures.added){const e=aR(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}};var mR={exportProperties:e=>function(e){let{propertyTree:t,hypercubePath:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),o=t.qProperty,a=aR(o,n||""),i=a.qHyperCubeDef,l=r.data[0];if(i.qInterColumnSortOrder||(i.qInterColumnSortOrder=[]),l.dimensions.push(...i.qDimensions),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qDimensions&&l.excludedDimensions.push(...i.qLayoutExclude.qHyperCubeDef.qDimensions),l.measures.push(...i.qMeasures),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qMeasures&&l.excludedMeasures.push(...i.qLayoutExclude.qHyperCubeDef.qMeasures),l.interColumnSortOrder=i.qInterColumnSortOrder.concat(),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();sR.isOrderedSubset(e,l.interColumnSortOrder)&&(l.interColumnSortOrder=e)}return delete i.qLayoutExclude,Object.keys(o).forEach((e=>{r.properties[e]=o[e]})),n&&(r.properties.qHyperCubeDef=a.qHyperCubeDef,delete a.qHyperCubeDef),o.qLayoutExclude||(o.qLayoutExclude={}),o.qLayoutExclude.disabled&&(Object.keys(o.qLayoutExclude.disabled).forEach((e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=o.qLayoutExclude.disabled[e])})),delete o.qLayoutExclude.disabled),o.qLayoutExclude.changed&&(hR.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!lR(o.qLayoutExclude.quarantine)||delete o.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:o={},hypercubePath:a}=e;const i={qChildren:[]},l=hR.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:a}),s=aR(n,a||"").qHyperCubeDef,c=aR(l,a||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f}=hR.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:h=hR.getDefaultDimension(),defaultMeasure:m=hR.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,hR.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f})&&hR.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:c}),hR.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:h}),hR.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:c,defaultMeasure:m}),hR.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),hR.copyPropertyIfExist("qMaxStackedCells",s,c),hR.copyPropertyIfExist("qNoOfLeftDims",s,c),hR.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),hR.copyPropertyOrSetDefault("qMode",s,c,"S"),hR.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),hR.copyPropertyOrSetDefault("qSortbyYValue",s,c),hR.copyPropertyOrSetDefault("qIndentMode",s,c),hR.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),hR.importCommonProperties(l,t,n),hR.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),hR.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),i.qProperty=l,i}(e)};const gR=e=>aR(e,"data.targets.0.propertyPath"),vR=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return mR.exportProperties})(gR(e))},yR=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return mR.importProperties})(gR(e))},bR=async e=>{let{halo:t,model:n,cellRef:r,newType:o}=e;const a=await n.getFullPropertyTree(),l=r.current.getQae(),s=vR(l),c=await(async e=>{let{halo:t,name:n,version:r}=e;const{types:o}=t;return await o.get({name:n,version:r}).supernova()})({halo:t,name:o}),u=c.qae;return yR(u)({exportFormat:s({propertyTree:a,hypercubePath:hR.getHypercubePath(l)}),initialProperties:i({qInfo:{qType:o},visualization:o},aR(u,"properties.initial",{})),dataDefinition:aR(u,"data.targets.0.",{}),hypercubePath:hR.getHypercubePath(u)})},xR={hypercube:mR};var SR=e=>bC((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function wR(e){let{d:t}=e;const n=Av();let r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);const a={color:o},i=ct.createElement(Fx,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},ct.createElement($w,null,t.missing||t.error?ct.createElement(SR,{style:a}):ct.createElement(zC,{style:a})));return ct.createElement(_w,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},ct.createElement(_w,{item:!0},i),ct.createElement(_w,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},ct.createElement(Fx,{noWrap:!0,component:"p"},ct.createElement(Fx,{component:"span",variant:"subtitle2",color:r},t.description),ct.createElement(Fx,{component:"span"}," "),ct.createElement(Fx,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function ER(e){let{data:t}=e;const n=Av();return ct.createElement(_w,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>ct.createElement(wR,{d:e,key:t})));return r.length>0&&ct.createElement(_w,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},ct.createElement(Fx,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))}function CR(e){let{title:t="Error",message:n="",data:r=[]}=e;return ct.createElement(_w,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},ct.createElement(_w,{item:!0},ct.createElement(SR,{style:{fontSize:"38px"}})),ct.createElement(_w,{item:!0},ct.createElement(Fx,{variant:"h6",align:"center","data-tid":"error-title"},t)),ct.createElement(_w,{item:!0},ct.createElement(Fx,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),ct.createElement(ER,{data:r}))}const kR=["size"],LR="Progress",RR={root:"".concat(LR,"-root"),front:"".concat(LR,"-front"),back:"".concat(LR,"-back")},OR=Fv("div")((e=>{let{theme:t}=e;return{["&.".concat(RR.root)]:{position:"relative",display:"inline-block"},["& .".concat(RR.front)]:{color:t.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},["& .".concat(RR.back)]:{color:t.palette.divider}}})),IR={small:16,medium:32,large:64,xlarge:128};function _R(e){let{size:t="medium"}=e,n=c(e,kR);const r=IR[t];return ct.createElement(OR,{className:RR.root},ct.createElement(tw,s({variant:"determinate",value:100,className:RR.back,size:r,thickness:3},n)),ct.createElement(tw,s({variant:"indeterminate",disableShrink:!0,className:RR.front,size:r,thickness:3},n)))}const TR=["cancel","translator"],PR=["retry","translator"],NR={stripes:"".concat("LongRunningQuery","-stripes")},MR=Fv(_w)((()=>({["& .".concat(NR.stripes)]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function zR(e){let{cancel:t,translator:n}=e,r=c(e,TR);return ct.createElement(ct.Fragment,null,ct.createElement(MR,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},ct.createElement(_w,{item:!0},ct.createElement(_R,null)),ct.createElement(_w,{item:!0},ct.createElement(Fx,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),ct.createElement(_w,s({item:!0},r),ct.createElement(Sb,{variant:"contained",onClick:t},n.get("Cancel"))))}function AR(e){let{retry:t,translator:n}=e,r=c(e,PR);return ct.createElement(ct.Fragment,null,ct.createElement(_w,{item:!0},ct.createElement(SR,{style:{fontSize:"38px"}})),ct.createElement(_w,{item:!0},ct.createElement(Fx,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),ct.createElement(_w,{item:!0},ct.createElement(Sb,s({variant:"contained",onClick:t},r),n.get("Retry"))))}function qR(e){let{canCancel:t,canRetry:n,api:r}=e;const{translator:o}=Re.useContext(Mb);return ct.createElement(_w,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:NR.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t&&ct.createElement(zR,{cancel:r.cancel,translator:o,className:NR.cancel}),n&&ct.createElement(AR,{retry:r.retry,translator:o,className:NR.retry}))}function DR(){return ct.createElement(_w,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},ct.createElement(_R,{size:"large"}))}const jR="Header",FR={containerStyle:"".concat(jR,"-containerStyle"),containerTitleStyle:"".concat(jR,"-containerTitleStyle")},$R=Fv(_w)((e=>{let{theme:t}=e;return{["&.".concat(FR.containerStyle)]:{flexGrow:0},["&.".concat(FR.containerTitleStyle)]:{paddingBottom:t.spacing(1)}}})),BR="njs-cell-title",WR="njs-cell-sub-title";function UR(e){let{layout:t,sn:n,anchorEl:r,hovering:o,focusHandler:a}=e;const i=t.showTitles&&!!t.title,l=t.showTitles&&!!t.subtitle,s=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[c,u]=Re.useState([]),[d,p]=vC(),[f,h]=Re.useState(!1);Re.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),Re.useEffect((()=>{if(!p)return;const{width:e}=p;h(e<221)}),[p]);const m=i||l,g=[FR.containerStyle,...m?[FR.containerTitleStyle]:[]],v=(o||s)&&(f||!m),y=m&&!v&&!f,b=ct.createElement(rL,{show:y,selections:{show:s,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:c,popover:{show:v,anchorEl:r},focusHandler:a});return ct.createElement($R,{ref:d,item:!0,container:!0,wrap:"nowrap",className:g.join(" ")},ct.createElement(_w,{item:!0,zeroMinWidth:!0,xs:!0},ct.createElement(_w,{container:!0,wrap:"nowrap",direction:"column"},i&&ct.createElement(Fx,{variant:"h6",noWrap:!0,className:BR},t.title),l&&ct.createElement(Fx,{variant:"body2",noWrap:!0,className:WR},t.subtitle))),ct.createElement(_w,{item:!0},b))}const HR={itemStyle:"".concat("Footer","-itemStyle")},VR=Fv(_w)((e=>{let{theme:t}=e;return{["& .".concat(HR.itemStyle)]:{minWidth:0,paddingTop:t.spacing(1)}}})),GR="njs-cell-footer";function KR(e){let{layout:t}=e;return t&&t.showTitles&&t.footnote?ct.createElement(VR,{container:!0},ct.createElement(_w,{item:!0,className:HR.itemStyle},ct.createElement(Fx,{noWrap:!0,variant:"body2",className:GR},t.footnote))):null}class ZR{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const XR="njs-viz";function QR(e){let{sn:t,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:l}=e;const{component:s}=t,{theme:c,language:u,constraints:d,keyboardNavigation:p}=Re.useContext(Mb),[f]=Re.useState((()=>new ZR)),[h,m]=Re.useState(!1),[g,v]=Re.useState(0),[y,b,x]=vC(),[S,w]=Re.useState(null),E=Re.useCallback((e=>{e&&w(e)}),[]);return Re.useEffect((()=>{if(S)return s.created({options:n}),s.mounted(S),m(!0),()=>{f.stop(),s.willUnmount()}}),[S,s]),Re.useEffect((()=>{h&&S&&b&&(!s.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||f.schedule((()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),l.app&&l.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:o,options:n,plugins:r,embed:l.public.nebbie,context:i({constraints:d,theme:l.public.theme,appLayout:a,keyboardNavigation:p},s.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:e})})).then((e=>{!1!==e&&(0===g&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),v(g+1))}))})))}),[b,n,r,S,x,o,a,c,u,d,h,p]),ct.createElement("div",{ref:y,"data-render-count":g,style:{position:"relative",height:"100%"},className:XR},ct.createElement("div",{ref:E,style:{position:"absolute",width:"100%",height:"100%"}}))}const YR={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},JR={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function eO(e,t){return t?function(e){var t;let n,r,o,a;if(null!=e&&null!==(t=e.session)&&void 0!==t&&t.config)return n=e.session.config,r=new URL(n.url),a="wss:"===r.protocol,o=a?"https://":"http://",o+r.host}(e)+t:void 0}const tO=(e,t)=>{const n=null==e?void 0:e.bgImage;if(n){let a="";var r,o;if("media"===n.mode||"media"===e.useImage)a=null!=n&&null!==(r=n.mediaUrl)&&void 0!==r&&null!==(o=r.qStaticContentUrl)&&void 0!==o&&o.qUrl?decodeURIComponent(n.mediaUrl.qStaticContentUrl.qUrl):void 0,a=eO(t,a);"expression"===n.mode&&(a=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const i=function(e){var t;let n="center center";return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.position&&(n=JR[e.bgImage.position]),n}(e),l=function(e){var t;let n=YR.originalSize;return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.sizing&&(n=YR[e.bgImage.sizing]),n}(e);return a?{url:a,pos:i,size:l}:void 0}},nO=(e,t)=>{const n=null==e?void 0:e.bgColor;if(n&&t)return n.useExpression?t.validateColor(n.colorExpression):n.color&&"none"!==n.color.color?t.getColorPickerColor(n.color,!0):void 0},rO="njs-cell",oO=(e,t)=>{switch(t.type){case"LOADING":return i(i({},e),{},{loading:!0});case"LOADED":return i(i({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return i(i({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return i(i({},e),{},{longRunningQuery:!0});case"ERROR":return i(i({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function aO(e){let{delay:t=750}=e;const[n,r]=Re.useState(!1);return Re.useEffect((()=>{const e=setTimeout((()=>r(!0)),t);return()=>clearTimeout(e)}),[]),n?ct.createElement(DR,null):null}const iO=e=>!e.qError||7005===e.qError.qErrorCode,lO=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c="".concat(l?r:i?s||o:a&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(c.length?":":""):null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),sO=e=>e&&(Array.isArray(e)?e:[e])||[],cO=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:lO(o,sO(i.qDimensionInfo),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:lO(a,sO(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},uO=async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:a,aggMinD:i,aggMinM:l,hasLayoutErrors:s,layoutErrors:c}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),h=sO(f.qDimensionInfo).filter(iO),m=sO(f.qMeasureInfo).filter(iO);if(o+=d,a+=p,(h.length<d||m.length<p)&&(r=!0),f.qError){i=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,o,t),u=[],d=[];let p=null;for(let n=0;n<o.length;++n){const i=o[n];if(!s&&a){const n=p||await r.getProperties();p=n;const o=cO(e,t,n,i);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=u.filter((e=>!(e.missing||e.error))).length,h=e.get("Visualization.Incomplete.Dimensions",[f,i]),m=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[m,l]),v=[{title:h,descriptions:[...u]},{title:g,descriptions:[...d]}],y=s?c:v;return[s||a,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:y}]},dO=Re.forwardRef(((e,t)=>{let{halo:n,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:s,currentId:c}=e;const{app:u,types:d}=n,{nebbie:p}=n.public,{disableCellPadding:f=!1}=n.context||{},{theme:h,translator:m,language:g,keyboardNavigation:v}=Re.useContext(Mb),y=Av(),[b,x,S]=vC(),[w,E]=Re.useReducer(oO,{loading:!1,loaded:!1,longRunningQuery:!1,error:(C=l)?{title:C.message}:null,sn:null,visualization:null});var C;const[k,{validating:L,canCancel:R,canRetry:O},I]=Yb(r),[_]=Jb(u),[T,P,N]=vC(),[M,z]=Re.useState(o),[A,q]=Re.useState(a),D="njs-cell-".concat(c),[j]=pL(u,r,["#".concat(D),".njs-action-toolbar-popover"]),[F,$]=Re.useState(!1),B=Re.useRef({enter:null,leave:null}),[W,U]=Re.useState(void 0),[H,V]=Re.useState(void 0),G=Re.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});Re.useEffect((()=>{cL(G.current)}),[]),Re.useEffect((()=>{const e=null!=k&&k.components?k.components.find((e=>"general"===e.key)):null;U(nO(e,n.public.theme)),V(tO(e,n.app))}),[k,n.public.theme,n.app,h]),G.current.blurCallback=e=>{n.root.toggleFocusOfCells(),e&&N&&N.focus()},G.current.refocusContent=()=>{w.sn.component&&"function"==typeof w.sn.component.focus&&w.sn.component.focus()};Re.useEffect((()=>{if(l||!_||!k)return;if(w.visualization===k.visualization&&w.sn)return void(async e=>{const[t,n]=await uO(m,k,e.generator.qae.data,r);E(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){const{targets:e}=t.generator.qae.data,n=e[0].propertyPath;o.goModal(n)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}})({sn:w.sn,layout:k,model:r})})(w.sn);const e=d.getSupportedVersion(k.visualization,k.version);if(e)return(async(e,t)=>{E({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:a,app:i,selections:l,nebbie:s,focusHandler:c}=e;try{const e=await(async e=>{let{types:t,name:n,version:r}=e;return await t.get({name:n,version:r}).supernova()})({types:n,name:r,version:o});return e.create({model:a,app:i,selections:l,nebbie:s,focusHandler:c})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:E,types:d,visualization:e,version:t,model:r,app:u,selections:j,nebbie:p,focusHandler:G.current});n&&(E({type:"LOADED",sn:n,visualization:e}),s())})(k.visualization,e),()=>{};E({type:"ERROR",error:{title:"Could not find a version of '".concat(k.visualization,"' that supports current object version. Did you forget to register ").concat(k.visualization,"?")}})}),[d,w.sn,r,j,k,_,g]),Re.useEffect((()=>{if(!L)return;const e=setTimeout((()=>E({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[L]),Re.useImperativeHandle(t,(()=>({getQae:()=>w.sn.generator.qae,toggleFocus(e){"function"==typeof w.sn.component.focus&&(e?w.sn.component.focus():w.sn.component.blur())},setSnOptions:z,setSnPlugins:q,async takeSnapshot(){const{width:e,height:t}=x;let n=JSON.parse(JSON.stringify(k));return"function"==typeof w.sn.component.setSnapshotData&&(n=await w.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:y.name,appLayout:_,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof n.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return n.config.snapshot.capture(e)}})),[w.sn,P,x,k,y.name,_]);let K=null;return w.loading&&!w.longRunningQuery?K=ct.createElement(aO,null):w.error?K=ct.createElement(CR,w.error):w.loaded&&(K=ct.createElement(QR,{key:k.visualization,sn:w.sn,halo:n,snOptions:M,snPlugins:A,layout:k,appLayout:_})),ct.createElement(Rx,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:W||"unset",backgroundImage:H&&H.url?"url(".concat(H.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:H&&H.size,backgroundPosition:H&&H.pos},elevation:0,square:!0,className:rO,ref:b,id:D,onMouseEnter:()=>{B.current.leave&&clearTimeout(B.current.leave),B.enter||(B.current.enter=setTimeout((()=>{$(!0),B.current.enter=null}),250))},onMouseLeave:()=>{B.current.enter&&clearTimeout(B.current.enter),B.current.leave||(B.current.leave=setTimeout((()=>{$(!1),B.current.leave=null}),750))}},ct.createElement(_w,{container:!0,direction:"column",gap:0,style:i(i({position:"relative",width:"100%",height:"100%"},f?{}:{padding:y.spacing(1)}),w.longRunningQuery?{opacity:"0.3"}:{})},S&&k&&w.sn&&ct.createElement(UR,{layout:k,sn:w.sn,anchorEl:S,hovering:F,focusHandler:G.current}," "),ct.createElement(_w,{tabIndex:v?0:-1,onKeyDown:v?e=>{["Enter"," ","Spacebar"].includes(e.key)&&n.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:T},K),ct.createElement(KR,{layout:k})),w.longRunningQuery&&ct.createElement(qR,{canCancel:R,canRetry:O,api:I}))}));function pO(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=ct.createRef(),u=tR(),d=bp.createPortal(ct.createElement(dO,{ref:c,halo:t,model:r,currentId:u,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),p=()=>{s.remove(d),r.removeListener("closed",p)};return r.on("closed",p),s.add(d),s.addCell(u,c),[p,c]}function fO(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function hO(e,t){return fO(e)&&fO(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function mO(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r=[];return Object.keys(t).forEach((o=>{const a=t[o];"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?hO(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...mO("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function gO(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))}))}const vO=()=>{};function yO(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=vO,a=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p=async e=>{l?(async()=>{await c,a.current.setSnOptions(i(i({},u),e))})():u=i(i({},u),e)},f=async e=>{gO(e),l?(async()=>{await c,a.current.setSnPlugins(e)})():d=e},h={id:e.id,model:e,async destroy(){await r(),o(),o=vO},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await bR({halo:t,model:e,cellRef:a,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[o,a]=pO({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=mO("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage:()=>a.current.exportImage(),takeSnapshot:()=>a.current.takeSnapshot(),getModel:()=>e}};return h}async function bO(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const a=yO({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}async function xO(e,t){let n,{type:r,version:o,fields:a,properties:i,options:l,plugins:s,element:c}=e,u={};try{const e=t.types.get({name:r,version:o});u=await e.initialProperties(i);const n=await e.supernova();a&&oR({sn:n,properties:u,fields:a}),i&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},u)}catch(e){n=e,u={qInfo:{qType:r},visualization:r}}const d=await t.app.createSessionObject(u);Zb.set(d.id,d);const p=(e=>{const t=Gb({type:"SET",value:e});return()=>{t(),Zb.clear(e.id)}})(d);return bO(d,{options:l,plugins:s,element:c},t,n,(async()=>{await t.app.destroySessionObject(d.id),p()}))}const SO="njs-sheet";function wO(e){let{model:t,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}=e;const{root:l}=n,[s]=Yb(t),{theme:c}=Re.useContext(Mb),[u,d]=Re.useState([]),[p,f]=Re.useState(void 0),[h,m]=Re.useState(void 0),[g,v]=Re.useState("");Re.useEffect((()=>{if(s){const e=JSON.stringify(s.cells);if(e===g)return;v(e);const t=async()=>{u.forEach((e=>{l.removeCell(e.currentId)}));const e=s.cells,t=await Promise.all(e.map((async e=>{let t;const r=new Promise((e=>{t=e})),o=u.find((t=>t.id===e.name));if(o)return o.bounds=e.bounds,delete o.mountedPromise,o;const a=await async function(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=Wb.get(i);l||(l=t.app.getObject(n),Wb.set(i,l));const s=await l;return Zb.set(i,s),bO(s,{options:r,plugins:o,element:a},t)}({id:e.name},n);return{model:a.model,id:e.name,bounds:e.bounds,cellRef:ct.createRef(),currentId:tR(),mounted:t,mountedPromise:r}})));t.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(t)};t()}}),[s]);const y=Re.useMemo((()=>u?u.map((e=>function(e,t,n,r,o,a){const{x:i,y:l,width:s,height:c}=e.bounds;return ct.createElement("div",{style:{left:"".concat(i,"%"),top:"".concat(l,"%"),width:"".concat(s,"%"),height:"".concat(c,"%"),position:"absolute"}},ct.createElement(dO,{ref:e.cellRef,halo:t,model:e.model,currentId:e.currentId,initialSnOptions:n,initialSnPlugins:r,initialError:o,onMount:a}))}(e,n,r,o,a,e.mounted))):[]),[u]);Re.useEffect((()=>{const e=null!=s&&s.components?s.components.find((e=>"general"===e.key)):null;f(nO(e,n.public.theme)),m(tO(e,n.app))}),[s,n.public.theme,n.app,c]);const b=!s||Number.isNaN(s.height)?"100%":"".concat(Number(s.height),"%"),x=u.map((e=>e.mountedPromise)),S=x.filter((e=>!!e));return S.length&&Promise.all(x).then((()=>{i()})),ct.createElement("div",{className:SO,style:{width:"100%",height:b,position:"relative",backgroundColor:p,backgroundImage:h&&h.url?"url(".concat(h.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:h&&h.size,backgroundPosition:h&&h.pos}},y)}function EO(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=ct.createRef(),u=bp.createPortal(ct.createElement(wO,{ref:c,halo:t,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),d=()=>{s.remove(u),r.removeListener("closed",d)};return r.on("closed",d),s.add(u),[d,c]}const CO=()=>{};function kO(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=CO,a=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p=async e=>{l?(async()=>{await c,a.current.setSnOptions(i(i({},u),e))})():u=i(i({},u),e)},f=async e=>{gO(e),l?(async()=>{await c,a.current.setSnPlugins(e)})():d=e},h={id:e.id,model:e,async destroy(){await r(),o(),o=CO},__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[o,a]=EO({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=mO("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return h}async function LO(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=Wb.get(i);l||(l=t.app.getObject(n),Wb.set(i,l));const s=await l;return Zb.set(i,s),"sheet"===s.genericType?async function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const a=kO({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}(s,{options:r,plugins:o,element:a},t):bO(s,{options:r,plugins:o,element:a},t)}function RO(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const OO=le.bind(null,!0),IO={},{isArray:_O}=Array;function TO(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function PO(e){return void 0===e}function NO(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function MO(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=PO(e[r||t])?a:e[t],e=e[r||t]})),e}function zO(e,t){let n=!0;if(TO(e)&&TO(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{zO(e[r],t[r])||(n=!1)})),n);if(_O(e)&&_O(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!zO(e[n],t[n]))return!1;return!0}return e===t}IO.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?OO({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);zO(a,i)||NO(t,o)||(PO(i)?r.push({op:"add",path:l,value:a}):TO(a)&&TO(i)?r=r.concat(IO.generate(i,a,l)):_O(a)&&_O(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&PO(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(zO(t,o))return r;if(!PO(t[0])&&PO(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:"".concat(n,"/").concat(e)}),o.splice(e,1)):r=r.concat(IO.generate(o[e],t[a],"".concat(n,"/").concat(e)));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:"".concat(n,"/").concat(e),value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:"".concat(n,"/").concat(e),from:"".concat(n,"/").concat(a)}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((o=>{PO(t[o])&&!NO(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},IO.apply=function(e,t){t.forEach((t=>{let n=MO(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(_O(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(_O(o)&&_O(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(TO(o)&&TO(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!NO(i,e)&&delete i[e]})),OO(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=MO(e,t.from);_O(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(_O(n)?n.splice(+r,1):delete n[r]);var i}))},IO.clone=function(e){return OO({},e)},IO.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},IO.updateObject=function(e,t){Object.keys(e).length?IO.apply(e,IO.generate(e,t)):OO(e,t)};const AO=e=>t=>{const n=(r=i(i({},t),{},{action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0}),Object.keys(v.prototype).forEach((e=>{r[e]=v.prototype[e]})),v.init(r),r);var r;return n};let qO,DO;function jO(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function FO(e){let{explicitResize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function $O(e){WO(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function BO(e){if(e.__hooks.obsolete)return Promise.resolve();DO=-1,qO=e,qO.__hooks.initiated&&qO.__hooks.list.length;try{qO.fn.call(null)}catch(e){console.error(e)}qO.__hooks.initiated=!0;const t=qO.__hooks;return GO(qO),DO=void 0,qO=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){WO(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame((()=>{!function(e){WO(e.pendingEffects),e.macro=null,function(e){if(e.pendingPromises.length||e.micro||e.macro)return;e.chain.promise=null,e.chain.resolve(!e.waitForData)}(e)}(e)}))}(t),t.chain.promise}function WO(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function UO(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function HO(e,t,n){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function VO(e){return e.__hooks.imperativeHandle}function GO(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function KO(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,GO(e))}function ZO(e){if(void 0===qO)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=qO.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function XO(e){ZO(++DO);return qO.context[e]}function QO(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function YO(e){return{__hooked:!0,fn:e,initiate:FO,run:BO,teardown:$O,runSnaps:UO,runMenu:HO,focus:oI,blur:aI,observeActions:KO,getImperativeHandle:VO,updateRectOnNextRun:QO}}function JO(e){const t=ZO(++DO);if(!t.value){t.component=qO;const n=e=>{if(t.component.__hooks.obsolete)return;const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,BO(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function eI(e,t){const n=ZO(++DO);jO(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===qO.__hooks.pendingEffects.indexOf(n)&&qO.__hooks.pendingEffects.push(n))}function tI(e,t){const n=ZO(++DO);jO(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],qO.__hooks.pendingLayoutEffects.push(n))}function nI(e,t){const n=ZO(++DO);return jO(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function rI(){return XO("element")}function oI(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function aI(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const iI={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},lI=Object.keys(iI);function sI(e,t){const n=i({},iI);var r;r=n,Object.keys(v.prototype).forEach((e=>{r[e]=v.prototype[e]})),v.init(r);const o={emit(){n.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==lI.indexOf(t)?n[t]=e.component[t].bind(o):o[t]=e.component[t]}));const a=function(e){let{sn:t,component:n}=e;const r={},o=[],a=AO(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=a(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((e=>{const t=a(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy(){o.length=0}}}({sn:e,component:o}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:l,selections:t.selections,actions:a.actions}),Object.assign(n,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[n,a]}function cI(e,t,n){"function"==typeof e.component&&(e.component=YO(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},l=["appLayout","constraints"],s={};t.model&&t.model.session||(s.select=!0);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}l.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify(i(i({},r[e]),s))),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n){return e.component.runMenu(this,t,n)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return l.forEach((e=>{a[e]=JSON.stringify(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):sI(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=IO.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));IO.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=IO.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const uI=()=>{};function dI(e,t){return void 0===e?()=>t:()=>e}function pI(e){const t=e||{};return{min:"function"==typeof t.min?t.min:dI(t.min,0),max:"function"==typeof t.max?t.max:dI(t.max,1e3),added:t.added||t.add||uI,description:t.description||uI,moved:t.moved||t.move||uI,removed:t.removed||t.remove||uI,replaced:t.replaced||t.replace||uI,isDefined:()=>!!e}}function fI(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(e," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:e=>((e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o})(e,n,{}),dimensions:pI(e.dimensions),measures:pI(e.measures)}}function hI(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);const r={properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(fI)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function mI(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:hI(n.qae),component:n.component||{},create:e=>cI(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var gI={},vI={get exports(){return gI},set exports(e){gI=e}};!function(e,t){var n;t=e.exports=d,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],i=t.tokens={},l=0;function s(e){i[e]=l++}s("NUMERICIDENTIFIER"),a[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",s("NUMERICIDENTIFIERLOOSE"),a[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",s("NONNUMERICIDENTIFIER"),a[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",s("MAINVERSION"),a[i.MAINVERSION]="("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")",s("MAINVERSIONLOOSE"),a[i.MAINVERSIONLOOSE]="("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")",s("PRERELEASEIDENTIFIER"),a[i.PRERELEASEIDENTIFIER]="(?:"+a[i.NUMERICIDENTIFIER]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASEIDENTIFIERLOOSE"),a[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[i.NUMERICIDENTIFIERLOOSE]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASE"),a[i.PRERELEASE]="(?:-("+a[i.PRERELEASEIDENTIFIER]+"(?:\\."+a[i.PRERELEASEIDENTIFIER]+")*))",s("PRERELEASELOOSE"),a[i.PRERELEASELOOSE]="(?:-?("+a[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[i.PRERELEASEIDENTIFIERLOOSE]+")*))",s("BUILDIDENTIFIER"),a[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",s("BUILD"),a[i.BUILD]="(?:\\+("+a[i.BUILDIDENTIFIER]+"(?:\\."+a[i.BUILDIDENTIFIER]+")*))",s("FULL"),s("FULLPLAIN"),a[i.FULLPLAIN]="v?"+a[i.MAINVERSION]+a[i.PRERELEASE]+"?"+a[i.BUILD]+"?",a[i.FULL]="^"+a[i.FULLPLAIN]+"$",s("LOOSEPLAIN"),a[i.LOOSEPLAIN]="[v=\\s]*"+a[i.MAINVERSIONLOOSE]+a[i.PRERELEASELOOSE]+"?"+a[i.BUILD]+"?",s("LOOSE"),a[i.LOOSE]="^"+a[i.LOOSEPLAIN]+"$",s("GTLT"),a[i.GTLT]="((?:<|>)?=?)",s("XRANGEIDENTIFIERLOOSE"),a[i.XRANGEIDENTIFIERLOOSE]=a[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",s("XRANGEIDENTIFIER"),a[i.XRANGEIDENTIFIER]=a[i.NUMERICIDENTIFIER]+"|x|X|\\*",s("XRANGEPLAIN"),a[i.XRANGEPLAIN]="[v=\\s]*("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:"+a[i.PRERELEASE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGEPLAINLOOSE"),a[i.XRANGEPLAINLOOSE]="[v=\\s]*("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:"+a[i.PRERELEASELOOSE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGE"),a[i.XRANGE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAIN]+"$",s("XRANGELOOSE"),a[i.XRANGELOOSE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAINLOOSE]+"$",s("COERCE"),a[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",s("COERCERTL"),o[i.COERCERTL]=new RegExp(a[i.COERCE],"g"),s("LONETILDE"),a[i.LONETILDE]="(?:~>?)",s("TILDETRIM"),a[i.TILDETRIM]="(\\s*)"+a[i.LONETILDE]+"\\s+",o[i.TILDETRIM]=new RegExp(a[i.TILDETRIM],"g");s("TILDE"),a[i.TILDE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAIN]+"$",s("TILDELOOSE"),a[i.TILDELOOSE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAINLOOSE]+"$",s("LONECARET"),a[i.LONECARET]="(?:\\^)",s("CARETTRIM"),a[i.CARETTRIM]="(\\s*)"+a[i.LONECARET]+"\\s+",o[i.CARETTRIM]=new RegExp(a[i.CARETTRIM],"g");s("CARET"),a[i.CARET]="^"+a[i.LONECARET]+a[i.XRANGEPLAIN]+"$",s("CARETLOOSE"),a[i.CARETLOOSE]="^"+a[i.LONECARET]+a[i.XRANGEPLAINLOOSE]+"$",s("COMPARATORLOOSE"),a[i.COMPARATORLOOSE]="^"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+")$|^$",s("COMPARATOR"),a[i.COMPARATOR]="^"+a[i.GTLT]+"\\s*("+a[i.FULLPLAIN]+")$|^$",s("COMPARATORTRIM"),a[i.COMPARATORTRIM]="(\\s*)"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+"|"+a[i.XRANGEPLAIN]+")",o[i.COMPARATORTRIM]=new RegExp(a[i.COMPARATORTRIM],"g");s("HYPHENRANGE"),a[i.HYPHENRANGE]="^\\s*("+a[i.XRANGEPLAIN]+")\\s+-\\s+("+a[i.XRANGEPLAIN]+")\\s*$",s("HYPHENRANGELOOSE"),a[i.HYPHENRANGELOOSE]="^\\s*("+a[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[i.XRANGEPLAINLOOSE]+")\\s*$",s("STAR"),a[i.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<l;c++)n(c,a[c]),o[c]||(o[c]=new RegExp(a[c]));function u(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?o[i.LOOSE]:o[i.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}t.parse=u,t.valid=function(e,t){var n=u(e,t);return n?n.version:null},t.clean=function(e,t){var n=u(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=d,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof d||(e=new d(e,this.options)),this.compareMain(e)||this.comparePre(e)},d.prototype.compareMain=function(e){return e instanceof d||(e=new d(e,this.options)),f(this.major,e.major)||f(this.minor,e.minor)||f(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.compareBuild=function(e){e instanceof d||(e=new d(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new d(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(v(e,t))return null;var n=u(e),r=u(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var a="prerelease"}for(var i in n)if(("major"===i||"minor"===i||"patch"===i)&&n[i]!==r[i])return o+i;return a},t.compareIdentifiers=f;var p=/^[0-9]+$/;function f(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function h(e,t,n){return new d(e,n).compare(new d(t,n))}function m(e,t,n){return h(e,t,n)>0}function g(e,t,n){return h(e,t,n)<0}function v(e,t,n){return 0===h(e,t,n)}function y(e,t,n){return 0!==h(e,t,n)}function b(e,t,n){return h(e,t,n)>=0}function x(e,t,n){return h(e,t,n)<=0}function S(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return v(e,n,r);case"!=":return y(e,n,r);case">":return m(e,n,r);case">=":return b(e,n,r);case"<":return g(e,n,r);case"<=":return x(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function w(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof w))return new w(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===E?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return f(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=h,t.compareLoose=function(e,t){return h(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),o=new d(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return h(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=m,t.lt=g,t.eq=v,t.neq=y,t.gte=b,t.lte=x,t.cmp=S,t.Comparator=w;var E={};function C(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof C)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new C(e.raw,t);if(e instanceof w)return new C(e.value,t);if(!(this instanceof C))return new C(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function k(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function L(e){return!e||"x"===e.toLowerCase()||"*"===e}function R(e,t,n,r,o,a,i,l,s,c,u,d,p){return((t=L(n)?"":L(r)?">="+n+".0.0":L(o)?">="+n+"."+r+".0":">="+t)+" "+(l=L(s)?"":L(c)?"<"+(+s+1)+".0.0":L(u)?"<"+s+"."+(+c+1)+".0":d?"<="+s+"."+c+"."+u+"-"+d:"<="+l)).trim()}function O(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==E&&e[o].semver.prerelease.length>0){var a=e[o].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}function I(e,t,n){try{t=new C(t,n)}catch(e){return!1}return t.test(e)}function _(e,t,n,r){var o,a,i,l,s;switch(e=new d(e,r),t=new C(t,r),n){case">":o=m,a=x,i=g,l=">",s=">=";break;case"<":o=g,a=b,i=m,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(I(e,t,r))return!1;for(var c=0;c<t.set.length;++c){var u=t.set[c],p=null,f=null;if(u.forEach((function(e){e.semver===E&&(e=new w(">=0.0.0")),p=p||e,f=f||e,o(e.semver,p.semver,r)?p=e:i(e.semver,f.semver,r)&&(f=e)})),p.operator===l||p.operator===s)return!1;if((!f.operator||f.operator===l)&&a(e,f.semver))return!1;if(f.operator===s&&i(e,f.semver))return!1}return!0}w.prototype.parse=function(e){var t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=E},w.prototype.toString=function(){return this.value},w.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===E||e===E)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return S(e,this.operator,this.semver,this.options)},w.prototype.intersects=function(e,t){if(!(e instanceof w))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new C(e.value,t),I(this.value,n,t));if(""===e.operator)return""===e.value||(n=new C(this.value,t),I(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),l=S(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=S(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||a&&i||l||s},t.Range=C,C.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},C.prototype.toString=function(){return this.range},C.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[i.HYPHENRANGELOOSE]:o[i.HYPHENRANGE];e=e.replace(r,R),n("hyphen replace",e),e=e.replace(o[i.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,o[i.COMPARATORTRIM]),e=(e=(e=e.replace(o[i.TILDETRIM],"$1~")).replace(o[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var a=t?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],l=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?o[i.CARETLOOSE]:o[i.CARET];return e.replace(r,(function(t,r,o,a,i){var l;return n("caret",e,t,r,o,a,i),L(r)?l="":L(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":L(a)?l="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":i?(n("replaceCaret pr",i),l="0"===r?"0"===o?">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+"-"+i+" <"+(+r+1)+".0.0"):(n("no pr"),l="0"===r?"0"===o?">="+r+"."+o+"."+a+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+" <"+(+r+1)+".0.0"),n("caret return",l),l}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?o[i.TILDELOOSE]:o[i.TILDE];return e.replace(r,(function(t,r,o,a,i){var l;return n("tilde",e,t,r,o,a,i),L(r)?l="":L(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":L(a)?l=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":i?(n("replaceTilde pr",i),l=">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0"):l=">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0",n("tilde return",l),l}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?o[i.XRANGELOOSE]:o[i.XRANGE];return e.replace(r,(function(r,o,a,i,l,s){n("xRange",e,r,o,a,i,l,s);var c=L(a),u=c||L(i),d=u||L(l),p=d;return"="===o&&p&&(o=""),s=t.includePrerelease?"-0":"",c?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(i=0),l=0,">"===o?(o=">=",u?(a=+a+1,i=0,l=0):(i=+i+1,l=0)):"<="===o&&(o="<",u?a=+a+1:i=+i+1),r=o+a+"."+i+"."+l+s):u?r=">="+a+".0.0"+s+" <"+(+a+1)+".0.0"+s:d&&(r=">="+a+"."+i+".0"+s+" <"+a+"."+(+i+1)+".0"+s),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[i.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(l=l.filter((function(e){return!!e.match(a)}))),l=l.map((function(e){return new w(e,this.options)}),this)},C.prototype.intersects=function(e,t){if(!(e instanceof C))throw new TypeError("a Range is required");return this.set.some((function(n){return k(n,t)&&e.set.some((function(e){return k(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new C(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},C.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(O(this.set[t],e,this.options))return!0;return!1},t.satisfies=I,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var a=new C(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&-1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var a=new C(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minVersion=function(e,t){e=new C(e,t);var n=new d("0.0.0");if(e.test(n))return n;if(n=new d("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r){e.set[r].forEach((function(e){var t=new d(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!m(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new C(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return _(e,t,"<",n)},t.gtr=function(e,t,n){return _(e,t,">",n)},t.outside=_,t.prerelease=function(e,t){var n=u(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new C(e,n),t=new C(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),o[i.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);if(null===n)return null;return u(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(vI,gI);const yI={};async function bI(e,t,n,r){let{config:o}=n;const a="".concat(e,"__").concat(t);if(!yI[a]){const n="".concat(e).concat(t&&" v".concat(t)||"");if(r&&"function"!=typeof r)throw new Error("load of visualization '".concat(n,"' is not a fuction, wrap load promise in function"));const i=(r||o.load)({name:e,version:t}),l=Promise.resolve(i);yI[a]=l.then((e=>{if(!e)throw new Error("load() of visualization '".concat(n,"' resolved to an invalid object"));return e})).catch((e=>{throw new Error("Failed to load visualization: '".concat(n,"'"))}))}return yI[a]}function xI(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,a)=>{if(n[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));n[o]=function(e,t){let n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:a}=o,l={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||gI.satisfies(e,a.deps.properties),supernova:()=>bI(l.name,l.version,t,o.load).then((e=>(n=n||mI(e,t.public.galaxy),r=JSON.stringify(n.qae.properties.initial),n))),initialProperties(e){return this.supernova().then((()=>i(i({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(r)),e)))}};return l}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--){if(n[r[t]].supportsPropertiesVersion(e))return r[t]}return null},versions:n}}function SI(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=xI(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:(e,t)=>r[e]?r[e].getMatchingVersionFromProperties(t):null,get(e){const{name:t}=e;let{version:n}=e;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:()=>Object.keys(r).map((e=>({name:e,versions:Object.keys(r[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{r[e]&&(r[e]=void 0),function(e){Object.keys(yI).forEach((t=>{t.split("__")[0]===e&&(yI[t]=void 0)}))}(e)}}}const wI=["__DO_NOT_USE__"],EI={get:async e=>{const t=await fetch("/njs/snapshot/".concat(e));if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))},CI=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(i({},e),t)},kI=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t))},LI=(e,t)=>({context:CI(e.context,t.context),load:t.load||e.load,snapshot:i({},t.snapshot||e.snapshot),types:kI(e.types,t.types),themes:kI(e.themes,t.themes),flags:CI(e.flags,t.flags),anything:CI(e.anything,t.anything)}),RI=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,n=c(e,wI),r={update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1},o=i(i(i({},n),r),t);return o};var OI=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=h(t.context.language);function r(e,o){if(o)return r.createConfiguration(o)(e);let a=i(i({},t.context),{},{translator:n.translator});const[l]=hx({app:e,context:a}),s=ke({themes:t.themes,root:l});a.themeApi=s.externalAPI;const c={galaxy:{translator:n.translator,flags:RO(t.flags),deviceType:Le(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:n.translator,nebbie:null},u={app:e,root:l,config:t,public:c,context:a,types:null},d=SI({halo:u});t.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(t.context.theme),f=null,h=null;const m={render:async e=>(await p,e.id?LO(e,u):xO(e,u)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==a[n]&&(t||(t={}),t[n]=e[n])})),t&&(a=i(i(i({},a),t),{},{translator:n.translator}),u.context=a,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(a))},selections:async()=>(f||(f={mount(t){h||(h=TL({element:t,app:e}),l.add(h))},unmount(){h&&(l.remove(h),h=null)}}),f),field:async t=>{let n;const r="string"==typeof t?t:t.qLibraryId;if(t.qId)n=t.qId;else if(!r)throw new Error("Field identifier or object id must be provided");const o={fieldName:r,mount(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!o)throw new Error("Element for ".concat(r||n," not provided"));if(this._instance)throw new Error("Field or object ".concat(r||n," already mounted"));this._instance=YL({element:o,app:e,fieldIdentifier:t,qId:n,options:RI(a),stateName:a.stateName||"$"}),l.add(this._instance)},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return o},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return u.public.nebbie=m,u.types=d,m}return r.createConfiguration=n=>e(LI(t,n)),r.config=t,r}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1,disableCellPadding:!1},load:()=>{},types:[],themes:[],anything:{},snapshot:EI});function II(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}const _I=globalThis.crypto||{getRandomValues:()=>123456};function TI(){return e=>{const t=le({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||"mock-".concat(([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^_I.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))));const n=t._mock;let r=t;return n&&(delete t._mock,r=le({},t,n)),Promise.resolve(i({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId},t))}}const PI=function(e){let{args:t=[],defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"==typeof e?e(...t):void 0!==e?e:n},NI=function(e){let{defaultValue:t,async:n=!0,delay:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];const l=PI(e,{defaultValue:t,args:a});return n?new Promise((e=>{setTimeout((()=>e(l)),r)})):l}},MI=["id","session"],zI=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function AI(e){return!zI.includes(e)}function qI(e){const t=PI(e.getLayout);return t.qInfo&&t.qInfo.qId}function DI(e,t){return e.reduce(((e,n)=>i(i({},e),function(e,t){let n=qI(e);const{delay:r}=t,{id:o,session:a}=e,l=c(e,MI);if(o&&n&&o!==n)throw new Error("Generic object has multiple IDs, qInfo.qId: ".concat(n,", id: ").concat(o));return n=n||o||"object - ".concat(+Date.now()),{[n]:i(i({id:n,session:PI(a,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(l).reduce(((e,t)=>{let[n,o]=t;return i(i({},e),{},{[n]:NI(o,{async:AI(n),delay:r})})}),{})),{},{genericType:e.type})}}(n,t))),{})}function jI(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!qI(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function FI(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(jI);const n=DI(e,t);return async e=>Promise.resolve(n[e])}function $I(){return()=>Promise.resolve({id:"app-layout"})}const BI={fromGenericObjects(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new II,r=new TI,o=new FI(e,t),a=new $I,i={id:"app - ".concat(+Date.now()),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},WI={generator:mI,hook:YO,theme:Ee,locale:p};e.EnigmaMocker=BI,e.__DO_NOT_USE__=WI,e.conversion=xR,e.embed=OI,e.onContextMenu=function(e){const t=ZO(++DO);t.value||(t.value=1,qO.__hooks.menus.push(t)),t.fn=e},e.onTakeSnapshot=function(e){const t=ZO(++DO);t.value||(t.value=1,qO.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=JO({action(){n._config.action.call(null)}});return n.component||(n.component=qO,qO.__hooks.actions.list.push(n)),nI((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action},e.useApp=function(){const e=XO("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return XO("appLayout")},e.useConstraints=function(){return XO("constraints")},e.useDeviceType=function(){return XO("deviceType")},e.useEffect=eI,e.useElement=rI,e.useEmbed=function(){return XO("nebbie")},e.useGlobal=function(){const e=XO("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=ZO(++DO);if(n.imperative||(n.imperative=!0),jO(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],qO.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=XO("keyboardNavigation"),t=XO("focusHandler");if(!qO.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(aI(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(qO);qO.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),oI(this))}.bind(qO);qO.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(qO);qO.__hooks.accessibility.focusSelectionFunction=r}const n=qO.__hooks.accessibility.focusFunction,r=qO.__hooks.accessibility.exitFunction,o=qO.__hooks.accessibility.focusSelectionFunction,[a,i]=JO({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return qO.__hooks.accessibility.setter=i,qO.__hooks.accessibility.enabled=e,eI((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a},e.useLayout=function(){return XO("layout")},e.useMemo=nI,e.useModel=function(){const e=XO("model");return e&&e.session?e:void 0},e.useOptions=function(){return XO("options")},e.usePlugins=function(){return XO("plugins")},e.usePromise=function(e,t){const[n,r]=JO((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=ZO(++DO);return o.component||(o.component=qO),tI((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]},e.useRect=function(){const e=rI(),t=qO.__hooks.resizer,[n,r]=JO((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),tI((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n},e.useRenderState=function(){ZO(++DO);const e=qO.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return XO("selections")},e.useStaleLayout=function(){const e=XO("layout"),[t]=JO({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=JO,e.useTheme=function(){return XO("theme")},e.useTranslator=function(){return XO("translator")}}));
|
|
132
|
+
`),PE))),AE=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=kf(n,CE),p=Cf({},n,{color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u}),f=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return yf({root:["root",n,`color${Up(r)}`],svg:["svg"],circle:["circle",`circle${Up(n)}`,o&&"circleDisableShrink"]},EE,t)})(p),h={},m={},g={};if("determinate"===u){const e=2*Math.PI*((_E-s)/2);h.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return ym.jsx(NE,Cf({className:Zv(f.root,r),style:Cf({width:i,height:i},m,l),ownerState:p,ref:t,role:"progressbar"},g,d,{children:ym.jsx(ME,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:ym.jsx(zE,{className:f.circle,style:h,ownerState:p,cx:_E,cy:_E,r:(_E-s)/2,fill:"none",strokeWidth:s})})}))}));var DE=AE;const qE=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],jE=Vv("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})=>Cf({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),FE=Vv(Kw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),$E=d.forwardRef((function(e,t){var n,r,o,a,i,l;const s=Wv({name:"MuiModal",props:e}),{BackdropComponent:c=FE,BackdropProps:u,closeAfterTransition:p=!1,children:f,component:h,components:m={},componentsProps:g={},disableAutoFocus:v=!1,disableEnforceFocus:y=!1,disableEscapeKeyDown:b=!1,disablePortal:x=!1,disableRestoreFocus:S=!1,disableScrollLock:w=!1,hideBackdrop:E=!1,keepMounted:C=!1,slotProps:k,slots:L,theme:R}=s,O=kf(s,qE),[I,_]=d.useState(!0),T={closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:y,disableEscapeKeyDown:b,disablePortal:x,disableRestoreFocus:S,disableScrollLock:w,hideBackdrop:E,keepMounted:C},P=Cf({},s,T,{exited:I}),N=(e=>e.classes)(P),M=null!=(n=null!=(r=null==L?void 0:L.root)?r:m.Root)?n:jE,z=null!=(o=null!=(a=null==L?void 0:L.backdrop)?a:m.Backdrop)?o:c,A=null!=(i=null==k?void 0:k.root)?i:g.root,D=null!=(l=null==k?void 0:k.backdrop)?l:g.backdrop;return ym.jsx(Kb,Cf({slots:{root:M,backdrop:z},slotProps:{root:()=>Cf({},Jv(A,P),!Qv(M)&&{as:h,theme:R}),backdrop:()=>Cf({},u,Jv(D,P))},onTransitionEnter:()=>_(!1),onTransitionExited:()=>_(!0),ref:t},O,{classes:N},T,{children:f}))}));var BE=$E;function WE(e){return wf("MuiDivider",e)}var HE=Ef("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const UE=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],VE=Vv("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})=>Cf({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)`:lv(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"})),(({theme:e,ownerState:t})=>Cf({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:e,ownerState:t})=>Cf({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:e})=>Cf({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),GE=Vv("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>Cf({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)`}))),KE=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=n,f=kf(n,UE),h=Cf({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e;return yf({root:["root",t&&"absolute",s,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},WE,r)})(h);return ym.jsx(VE,Cf({as:i,className:Zv(m.root,a),role:u,ref:t,ownerState:h},f,{children:o?ym.jsx(GE,{className:m.wrapper,ownerState:h,children:o}):null}))}));var ZE=KE;function XE(e){return wf("MuiFormControlLabel",e)}var QE=Ef("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]);const YE=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","slotProps","value"],JE=Vv("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${QE.label}`]:t.label},t.root,t[`labelPlacement${Up(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>Cf({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${QE.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${QE.label}`]:{[`&.${QE.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),eC=d.forwardRef((function(e,t){var n;const r=Wv({props:e,name:"MuiFormControlLabel"}),{className:o,componentsProps:a={},control:i,disabled:l,disableTypography:s,label:c,labelPlacement:u="end",slotProps:p={}}=r,f=kf(r,YE),h=kw();let m=l;void 0===m&&void 0!==i.props.disabled&&(m=i.props.disabled),void 0===m&&h&&(m=h.disabled);const g={disabled:m};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===i.props[e]&&void 0!==r[e]&&(g[e]=r[e])}));const v=Ew({props:r,muiFormControl:h,states:["error"]}),y=Cf({},r,{disabled:m,labelPlacement:u,error:v.error}),b=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o}=e;return yf({root:["root",n&&"disabled",`labelPlacement${Up(r)}`,o&&"error"],label:["label",n&&"disabled"]},XE,t)})(y),x=null!=(n=p.typography)?n:a.typography;let S=c;return null==S||S.type===yw||s||(S=ym.jsx(yw,Cf({component:"span"},x,{className:Zv(b.label,null==x?void 0:x.className),children:S}))),ym.jsxs(JE,Cf({className:Zv(b.root,o),ownerState:y,ref:t},f,{children:[d.cloneElement(i,g),S]}))}));var tC=eC;var nC=d.createContext();function rC(e){return wf("MuiGrid",e)}const oC=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],aC=Ef("MuiGrid",["root","container","item","zeroMinWidth",...[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}`)),...oC.map((e=>`grid-xs-${e}`)),...oC.map((e=>`grid-sm-${e}`)),...oC.map((e=>`grid-md-${e}`)),...oC.map((e=>`grid-lg-${e}`)),...oC.map((e=>`grid-xl-${e}`))]),iC=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function lC(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function sC({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const cC=Vv("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:i,wrap:l,zeroMinWidth:s,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(i,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,a&&t.item,s&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})((({ownerState:e})=>Cf({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return Am({theme:e},Dm({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${aC.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=Dm({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=sC({breakpoints:e.breakpoints.values,values:t})),o=Am({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${lC(a)}`,[`& > .${aC.item}`]:{paddingTop:lC(a)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${aC.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=Dm({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=sC({breakpoints:e.breakpoints.values,values:t})),o=Am({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${lC(a)})`,marginLeft:`-${lC(a)}`,[`& > .${aC.item}`]:{paddingLeft:lC(a)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${aC.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let a={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Dm({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof i?i[o]:i;if(null==l)return r;const s=Math.round(n/l*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${s} + ${lC(n)})`;c={flexBasis:e,maxWidth:e}}}a=Cf({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===e.breakpoints.values[o]?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r}),{})}));const uC=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:i,zeroMinWidth:l,breakpoints:s}=e;let c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(a,s));const u=[];s.forEach((t=>{const n=e[t];n&&u.push(`grid-${t}-${String(n)}`)}));return yf({root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},rC,t)},dC=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiGrid"}),{breakpoints:r}=Bv(),o=Ig(n),{className:a,columns:i,columnSpacing:l,component:s="div",container:c=!1,direction:u="row",item:p=!1,rowSpacing:f,spacing:h=0,wrap:m="wrap",zeroMinWidth:g=!1}=o,v=kf(o,iC),y=f||h,b=l||h,x=d.useContext(nC),S=c?i||12:x,w={},E=Cf({},v);r.keys.forEach((e=>{null!=v[e]&&(w[e]=v[e],delete E[e])}));const C=Cf({},o,{columns:S,container:c,direction:u,item:p,rowSpacing:y,columnSpacing:b,wrap:m,zeroMinWidth:g,spacing:h},w,{breakpoints:r.keys}),k=uC(C);return ym.jsx(nC.Provider,{value:S,children:ym.jsx(cC,Cf({ownerState:C,className:Zv(k.root,a),as:s,ref:t},E))})}));var pC=dC;const fC=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function hC(e){return`scale(${e}, ${e**2})`}const mC={entering:{opacity:1,transform:hC(1)},entered:{opacity:1,transform:"none"}},gC="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),vC=d.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:a,in:i,onEnter:l,onEntered:s,onEntering:c,onExit:u,onExited:p,onExiting:f,style:h,timeout:m="auto",TransitionComponent:g=hx}=e,v=kf(e,fC),y=d.useRef(),b=d.useRef(),x=Bv(),S=d.useRef(null),w=of(S,o.ref,t),E=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},C=E(c),k=E(((e,t)=>{JS(e);const{duration:n,delay:r,easing:o}=ew({style:h,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=i):i=n,e.style.transition=[x.transitions.create("opacity",{duration:i,delay:r}),x.transitions.create("transform",{duration:gC?i:.666*i,delay:r,easing:o})].join(","),l&&l(e,t)})),L=E(s),R=E(f),O=E((e=>{const{duration:t,delay:n,easing:r}=ew({style:h,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:gC?o:.666*o,delay:gC?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=hC(.75),u&&u(e)})),I=E(p);return d.useEffect((()=>()=>{clearTimeout(y.current)}),[]),ym.jsx(g,Cf({appear:r,in:i,nodeRef:S,onEnter:k,onEntered:L,onEntering:C,onExit:O,onExited:I,onExiting:R,addEndListener:e=>{"auto"===m&&(y.current=setTimeout(e,b.current||0)),n&&n(S.current,e)},timeout:"auto"===m?null:m},v,{children:(e,t)=>d.cloneElement(o,Cf({style:Cf({opacity:0,transform:hC(.75),visibility:"exited"!==e||i?void 0:"hidden"},mC[e],h,o.props.style),ref:w},t))}))}));vC.muiSupportAuto=!0;var yC=vC;function bC(e){return wf("MuiIcon",e)}Ef("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const xC=["baseClassName","className","color","component","fontSize"],SC=Vv("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Up(n.color)}`],t[`fontSize${Up(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),wC=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=kf(n,xC),c=Cf({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e;return yf({root:["root","inherit"!==t&&`color${Up(t)}`,`fontSize${Up(n)}`]},bC,r)})(c);return ym.jsx(SC,Cf({as:i,className:Zv(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));wC.muiName="Icon";var EC=wC;function CC(e){return wf("MuiInputAdornment",e)}var kC,LC=Ef("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);const RC=["children","className","component","disablePointerEvents","disableTypography","position","variant"],OC=Vv("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Up(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>Cf({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${LC.positionStart}&:not(.${LC.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),IC=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:a="div",disablePointerEvents:i=!1,disableTypography:l=!1,position:s,variant:c}=n,u=kf(n,RC),p=kw()||{};let f=c;c&&p.variant,p&&!f&&(f=p.variant);const h=Cf({},n,{hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:i,position:s,variant:f}),m=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e;return yf({root:["root",n&&"disablePointerEvents",o&&`position${Up(o)}`,i,r&&"hiddenLabel",a&&`size${Up(a)}`]},CC,t)})(h);return ym.jsx(Cw.Provider,{value:null,children:ym.jsx(OC,Cf({as:a,ownerState:h,className:Zv(m.root,o),ref:t},u,{children:"string"!=typeof r||l?ym.jsxs(d.Fragment,{children:["start"===s?kC||(kC=ym.jsx("span",{className:"notranslate",children:""})):null,r]}):ym.jsx(yw,{color:"text.secondary",children:r})}))})}));var _C=IC;var TC=d.createContext({});function PC(e){return wf("MuiList",e)}Ef("MuiList",["root","padding","dense","subheader"]);const NC=["children","className","component","dense","disablePadding","subheader"],MC=Vv("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})=>Cf({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),zC=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,c=kf(n,NC),u=d.useMemo((()=>({dense:i})),[i]),p=Cf({},n,{component:a,dense:i,disablePadding:l}),f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return yf({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},PC,t)})(p);return ym.jsx(TC.Provider,{value:u,children:ym.jsxs(MC,Cf({as:a,className:Zv(f.root,o),ref:t,ownerState:p},c,{children:[s,r]}))})}));var AC=zC;function DC(e){return wf("MuiListItem",e)}var qC=Ef("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var jC=Ef("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function FC(e){return wf("MuiListItemSecondaryAction",e)}Ef("MuiListItemSecondaryAction",["root","disableGutters"]);const $C=["className"],BC=Vv("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>Cf({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),WC=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=kf(n,$C),a=Cf({},n,{disableGutters:d.useContext(TC).disableGutters}),i=(e=>{const{disableGutters:t,classes:n}=e;return yf({root:["root",t&&"disableGutters"]},FC,n)})(a);return ym.jsx(BC,Cf({className:Zv(i.root,r),ownerState:a,ref:t},o))}));WC.muiName="ListItemSecondaryAction";var HC=WC;const UC=["className"],VC=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],GC=Vv("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})=>Cf({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Cf({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${jC.root}`]:{paddingRight:48}},{[`&.${qC.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${qC.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${qC.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:lv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${qC.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"}},[`&.${qC.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:lv(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})`:lv(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),KC=Vv("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),ZC=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:a=!1,children:i,className:l,component:s,components:c={},componentsProps:u={},ContainerComponent:p="li",ContainerProps:{className:f}={},dense:h=!1,disabled:m=!1,disableGutters:g=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:b,secondaryAction:x,selected:S=!1,slotProps:w={},slots:E={}}=n,C=kf(n.ContainerProps,UC),k=kf(n,VC),L=d.useContext(TC),R=d.useMemo((()=>({dense:h||L.dense||!1,alignItems:r,disableGutters:g})),[r,L.dense,h,g]),O=d.useRef(null);Yp((()=>{o&&O.current&&O.current.focus()}),[o]);const I=d.Children.toArray(i),_=I.length&&Kp(I[I.length-1],["ListItemSecondaryAction"]),T=Cf({},n,{alignItems:r,autoFocus:o,button:a,dense:R.dense,disabled:m,disableGutters:g,disablePadding:v,divider:y,hasSecondaryAction:_,selected:S}),P=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:a,disableGutters:i,disablePadding:l,divider:s,hasSecondaryAction:c,selected:u}=e;return yf({root:["root",o&&"dense",!i&&"gutters",!l&&"padding",s&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},DC,r)})(T),N=of(O,t),M=E.root||c.Root||GC,z=w.root||u.root||{},A=Cf({className:Zv(P.root,z.className,l),disabled:m},k);let D=s||"li";return a&&(A.component=s||"div",A.focusVisibleClassName=Zv(qC.focusVisible,b),D=$x),_?(D=A.component||s?D:"div","li"===p&&("li"===D?D="div":"li"===A.component&&(A.component="div")),ym.jsx(TC.Provider,{value:R,children:ym.jsxs(KC,Cf({as:p,className:Zv(P.container,f),ref:N,ownerState:T},C,{children:[ym.jsx(M,Cf({},z,!Qv(M)&&{as:D,ownerState:Cf({},T,z.ownerState)},A,{children:I})),I.pop()]}))})):ym.jsx(TC.Provider,{value:R,children:ym.jsxs(M,Cf({},z,{as:D,ref:N},!Qv(M)&&{ownerState:Cf({},T,z.ownerState)},A,{children:[I,x&&ym.jsx(HC,{children:x})]}))})}));var XC=ZC;function QC(e){return wf("MuiListItemIcon",e)}var YC=Ef("MuiListItemIcon",["root","alignItemsFlexStart"]);const JC=["className"],ek=Vv("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})=>Cf({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),tk=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=kf(n,JC),a=Cf({},n,{alignItems:d.useContext(TC).alignItems}),i=(e=>{const{alignItems:t,classes:n}=e;return yf({root:["root","flex-start"===t&&"alignItemsFlexStart"]},QC,n)})(a);return ym.jsx(ek,Cf({className:Zv(i.root,r),ownerState:a,ref:t},o))}));var nk=tk;var rk=Ef("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const ok=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function ak(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function ik(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function lk(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 sk(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&lk(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const ck=d.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:c,variant:u="selectedMenu"}=e,p=kf(e,ok),f=d.useRef(null),h=d.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yp((()=>{r&&f.current.focus()}),[r]),d.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${mf(Zp(e))}px`;f.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}})),[]);const m=of(f,t);let g=-1;d.Children.forEach(a,((e,t)=>{d.isValidElement(e)&&(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===g)&&(g=t))}));const v=d.Children.map(a,((e,t)=>{if(t===g){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),d.cloneElement(e,t)}return e}));return ym.jsx(AC,Cf({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=f.current,n=e.key,r=Zp(t).activeElement;if("ArrowDown"===n)e.preventDefault(),sk(t,r,s,l,ak);else if("ArrowUp"===n)e.preventDefault(),sk(t,r,s,l,ik);else if("Home"===n)e.preventDefault(),sk(t,null,s,l,ak);else if("End"===n)e.preventDefault(),sk(t,null,s,l,ik);else if(1===n.length){const o=h.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const s=r&&!o.repeating&&lk(r,o);o.previousKeyMatched&&(s||sk(t,r,!1,l,ak,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:r?0:-1},p,{children:v}))}));var uk=ck;function dk(e){return wf("MuiPopover",e)}Ef("MuiPopover",["root","paper"]);const pk=["onEntering"],fk=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function hk(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function mk(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function gk(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function vk(e){return"function"==typeof e?e():e}const yk=Vv(BE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),bk=Vv(aw,{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}),xk=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiPopover"}),{action:r,anchorEl:o,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:i,anchorReference:l="anchorEl",children:s,className:c,container:u,elevation:p=8,marginThreshold:f=16,open:h,PaperProps:m={},transformOrigin:g={vertical:"top",horizontal:"left"},TransitionComponent:v=yC,transitionDuration:y="auto",TransitionProps:{onEntering:b}={}}=n,x=kf(n.TransitionProps,pk),S=kf(n,fk),w=d.useRef(),E=of(w,m.ref),C=Cf({},n,{anchorOrigin:a,anchorReference:l,elevation:p,marginThreshold:f,PaperProps:m,transformOrigin:g,TransitionComponent:v,transitionDuration:y,TransitionProps:x}),k=(e=>{const{classes:t}=e;return yf({root:["root"],paper:["paper"]},dk,t)})(C),L=d.useCallback((()=>{if("anchorPosition"===l)return i;const e=vk(o),t=(e&&1===e.nodeType?e:Zp(w.current).body).getBoundingClientRect();return{top:t.top+hk(t,a.vertical),left:t.left+mk(t,a.horizontal)}}),[o,a.horizontal,a.vertical,i,l]),R=d.useCallback((e=>({vertical:hk(e,g.vertical),horizontal:mk(e,g.horizontal)})),[g.horizontal,g.vertical]),O=d.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=R(t);if("none"===l)return{top:null,left:null,transformOrigin:gk(n)};const r=L();let a=r.top-n.vertical,i=r.left-n.horizontal;const s=a+t.height,c=i+t.width,u=Xp(vk(o)),d=u.innerHeight-f,p=u.innerWidth-f;if(a<f){const e=a-f;a-=e,n.vertical+=e}else if(s>d){const e=s-d;a-=e,n.vertical+=e}if(i<f){const e=i-f;i-=e,n.horizontal+=e}else if(c>p){const e=c-p;i-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(i)}px`,transformOrigin:gk(n)}}),[o,l,L,R,f]),[I,_]=d.useState(h),T=d.useCallback((()=>{const e=w.current;if(!e)return;const t=O(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,_(!0)}),[O]);d.useEffect((()=>{h&&T()})),d.useImperativeHandle(r,(()=>h?{updatePosition:()=>{T()}}:null),[h,T]),d.useEffect((()=>{if(!h)return;const e=Gp((()=>{T()})),t=Xp(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,h,T]);let P=y;"auto"!==y||v.muiSupportAuto||(P=void 0);const N=u||(o?Zp(vk(o)).body:void 0);return ym.jsx(yk,Cf({BackdropProps:{invisible:!0},className:Zv(k.root,c),container:N,open:h,ref:t,ownerState:C},S,{children:ym.jsx(v,Cf({appear:!0,in:h,onEntering:(e,t)=>{b&&b(e,t),T()},onExited:()=>{_(!1)},timeout:P},x,{children:ym.jsx(bk,Cf({elevation:p},m,{ref:E,className:Zv(k.paper,m.className)},I?void 0:{style:Cf({},m.style,{opacity:0})},{ownerState:C,children:s}))}))}))}));var Sk=xk;function wk(e){return wf("MuiMenuItem",e)}var Ek=Ef("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const Ck=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],kk=Vv($x,{shouldForwardProp:e=>Hv(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})=>Cf({},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"}},[`&.${Ek.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ek.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:lv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ek.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:lv(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})`:lv(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ek.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ek.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${HE.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${HE.inset}`]:{marginLeft:52},[`& .${rk.root}`]:{marginTop:0,marginBottom:0},[`& .${rk.inset}`]:{paddingLeft:36},[`& .${YC.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Cf({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${YC.root} svg`]:{fontSize:"1.25rem"}})))),Lk=d.forwardRef((function(e,t){const n=Wv({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:l=!1,focusVisibleClassName:s,role:c="menuitem",tabIndex:u,className:p}=n,f=kf(n,Ck),h=d.useContext(TC),m=d.useMemo((()=>({dense:a||h.dense||!1,disableGutters:l})),[h.dense,a,l]),g=d.useRef(null);Yp((()=>{r&&g.current&&g.current.focus()}),[r]);const v=Cf({},n,{dense:m.dense,divider:i,disableGutters:l}),y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e;return Cf({},i,yf({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},wk,i))})(n),b=of(g,t);let x;return n.disabled||(x=void 0!==u?u:-1),ym.jsx(TC.Provider,{value:m,children:ym.jsx(kk,Cf({ref:b,role:c,tabIndex:x,component:o,focusVisibleClassName:Zv(y.focusVisible,s),className:Zv(y.root,p)},f,{ownerState:v,classes:y}))})}));var Rk,Ok=Lk;const Ik=["children","classes","className","label","notched"],_k=Vv("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Tk=Vv("legend")((({ownerState:e,theme:t})=>Cf({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Cf({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const Pk=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Nk=Vv(Nw,{shouldForwardProp:e=>Hv(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Tw})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Cf({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${jw.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${jw.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${jw.focused} .${jw.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${jw.error} .${jw.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${jw.disabled} .${jw.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Cf({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Mk=Vv((function(e){const{className:t,label:n,notched:r}=e,o=kf(e,Ik),a=null!=n&&""!==n,i=Cf({},e,{notched:r,withLabel:a});return ym.jsx(_k,Cf({"aria-hidden":!0,className:t,ownerState:i},o,{children:ym.jsx(Tk,{ownerState:i,children:a?ym.jsx("span",{children:n}):Rk||(Rk=ym.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),zk=Vv(Mw,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Pw})((({theme:e,ownerState:t})=>Cf({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),Ak=d.forwardRef((function(e,t){var n,r,o,a,i;const l=Wv({props:e,name:"MuiOutlinedInput"}),{components:s={},fullWidth:c=!1,inputComponent:u="input",label:p,multiline:f=!1,notched:h,slots:m={},type:g="text"}=l,v=kf(l,Pk),y=(e=>{const{classes:t}=e;return Cf({},t,yf({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},qw,t))})(l),b=kw(),x=Ew({props:l,muiFormControl:b,states:["required"]}),S=Cf({},l,{color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:b,fullWidth:c,hiddenLabel:x.hiddenLabel,multiline:f,size:x.size,type:g}),w=null!=(n=null!=(r=m.root)?r:s.Root)?n:Nk,E=null!=(o=null!=(a=m.input)?a:s.Input)?o:zk;return ym.jsx(Dw,Cf({slots:{root:w,input:E},renderSuffix:e=>ym.jsx(Mk,{ownerState:S,className:y.notchedOutline,label:null!=p&&""!==p&&x.required?i||(i=ym.jsxs(d.Fragment,{children:[p," ","*"]})):p,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:f,ref:t,type:g},v,{classes:Cf({},y,{notchedOutline:null})}))}));Ak.muiName="Input";var Dk=Ak,qk=XS(ym.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),jk=XS(ym.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const Fk=Vv("span")({position:"relative",display:"flex"}),$k=Vv(qk)({transform:"scale(1)"}),Bk=Vv(jk)((({theme:e,ownerState:t})=>Cf({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function Wk(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=Cf({},e,{checked:t});return ym.jsxs(Fk,{className:n.root,ownerState:o,children:[ym.jsx($k,{fontSize:r,className:n.background,ownerState:o}),ym.jsx(Bk,{fontSize:r,className:n.dot,ownerState:o})]})}var Hk=d.createContext(void 0);function Uk(e){return wf("MuiRadio",e)}var Vk=Ef("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);const Gk=["checked","checkedIcon","color","icon","name","onChange","size","className"],Kk=Vv(uE,{shouldForwardProp:e=>Hv(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Up(n.color)}`]]}})((({theme:e,ownerState:t})=>Cf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:lv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Vk.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${Vk.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const Zk=ym.jsx(Wk,{checked:!0}),Xk=ym.jsx(Wk,{}),Qk=d.forwardRef((function(e,t){var n,r;const o=Wv({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=Zk,color:l="primary",icon:s=Xk,name:c,onChange:u,size:p="medium",className:f}=o,h=kf(o,Gk),m=Cf({},o,{color:l,size:p}),g=(e=>{const{classes:t,color:n}=e;return Cf({},t,yf({root:["root",`color${Up(n)}`]},Uk,t))})(m),v=d.useContext(Hk);let y=a;const b=Vp(u,v&&v.onChange);let x=c;return v&&(void 0===y&&(y=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(v.value,o.value)),void 0===x&&(x=v.name)),ym.jsx(Kk,Cf({type:"radio",icon:d.cloneElement(s,{fontSize:null!=(n=Xk.props.fontSize)?n:p}),checkedIcon:d.cloneElement(i,{fontSize:null!=(r=Zk.props.fontSize)?r:p}),ownerState:m,classes:g,name:x,checked:y,onChange:b,ref:t,className:Zv(g.root,f)},h))}));var Yk=Qk;function Jk(e){return wf("MuiTooltip",e)}var eL=Ef("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const tL=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const nL=Vv(ww,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>Cf({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${eL.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${eL.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${eL.arrow}`]:Cf({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${eL.arrow}`]:Cf({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),rL=Vv("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Up(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return Cf({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:lv(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${eL.popper}[data-popper-placement*="left"] &`]:Cf({transformOrigin:"right center"},t.isRtl?Cf({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Cf({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${eL.popper}[data-popper-placement*="right"] &`]:Cf({transformOrigin:"left center"},t.isRtl?Cf({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Cf({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${eL.popper}[data-popper-placement*="top"] &`]:Cf({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${eL.popper}[data-popper-placement*="bottom"] &`]:Cf({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),oL=Vv("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:lv(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let aL=!1,iL=null;function lL(e,t){return n=>{t&&t(n),e(n)}}const sL=d.forwardRef((function(e,t){var n,r,o,a,i,l,s,c,u,p,f,h,m,g,v,y,b,x,S;const w=Wv({props:e,name:"MuiTooltip"}),{arrow:E=!1,children:C,components:k={},componentsProps:L={},describeChild:R=!1,disableFocusListener:O=!1,disableHoverListener:I=!1,disableInteractive:_=!1,disableTouchListener:T=!1,enterDelay:P=100,enterNextDelay:N=0,enterTouchDelay:M=700,followCursor:z=!1,id:A,leaveDelay:D=0,leaveTouchDelay:q=1500,onClose:j,onOpen:F,open:$,placement:B="bottom",PopperComponent:W,PopperProps:H={},slotProps:U={},slots:V={},title:G,TransitionComponent:K=yC,TransitionProps:Z}=w,X=kf(w,tL),Q=Bv(),Y="rtl"===Q.direction,[J,ee]=d.useState(),[te,ne]=d.useState(null),re=d.useRef(!1),oe=_||z,ae=d.useRef(),ie=d.useRef(),le=d.useRef(),se=d.useRef(),[ce,ue]=nf({controlled:$,default:!1,name:"Tooltip",state:"open"});let de=ce;const pe=tf(A),fe=d.useRef(),he=d.useCallback((()=>{void 0!==fe.current&&(document.body.style.WebkitUserSelect=fe.current,fe.current=void 0),clearTimeout(se.current)}),[]);d.useEffect((()=>()=>{clearTimeout(ae.current),clearTimeout(ie.current),clearTimeout(le.current),he()}),[he]);const me=e=>{clearTimeout(iL),aL=!0,ue(!0),F&&!de&&F(e)},ge=rf((e=>{clearTimeout(iL),iL=setTimeout((()=>{aL=!1}),800+D),ue(!1),j&&de&&j(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{re.current=!1}),Q.transitions.duration.shortest)})),ve=e=>{re.current&&"touchstart"!==e.type||(J&&J.removeAttribute("title"),clearTimeout(ie.current),clearTimeout(le.current),P||aL&&N?ie.current=setTimeout((()=>{me(e)}),aL?N:P):me(e))},ye=e=>{clearTimeout(ie.current),clearTimeout(le.current),le.current=setTimeout((()=>{ge(e)}),D)},{isFocusVisibleRef:be,onBlur:xe,onFocus:Se,ref:we}=hf(),[,Ee]=d.useState(!1),Ce=e=>{xe(e),!1===be.current&&(Ee(!1),ye(e))},ke=e=>{J||ee(e.currentTarget),Se(e),!0===be.current&&(Ee(!0),ve(e))},Le=e=>{re.current=!0;const t=C.props;t.onTouchStart&&t.onTouchStart(e)},Re=ve,Oe=ye,Ie=e=>{Le(e),clearTimeout(le.current),clearTimeout(ae.current),he(),fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",se.current=setTimeout((()=>{document.body.style.WebkitUserSelect=fe.current,ve(e)}),M)},_e=e=>{C.props.onTouchEnd&&C.props.onTouchEnd(e),he(),clearTimeout(le.current),le.current=setTimeout((()=>{ge(e)}),q)};d.useEffect((()=>{if(de)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ge(e)}}),[ge,de]);const Te=of(C.ref,we,ee,t);G||0===G||(de=!1);const Pe=d.useRef({x:0,y:0}),Ne=d.useRef(),Me={},ze="string"==typeof G;R?(Me.title=de||!ze||I?null:G,Me["aria-describedby"]=de?pe:null):(Me["aria-label"]=ze?G:null,Me["aria-labelledby"]=de&&!ze?pe:null);const Ae=Cf({},Me,X,C.props,{className:Zv(X.className,C.props.className),onTouchStart:Le,ref:Te},z?{onMouseMove:e=>{const t=C.props;t.onMouseMove&&t.onMouseMove(e),Pe.current={x:e.clientX,y:e.clientY},Ne.current&&Ne.current.update()}}:{}),De={};T||(Ae.onTouchStart=Ie,Ae.onTouchEnd=_e),I||(Ae.onMouseOver=lL(Re,Ae.onMouseOver),Ae.onMouseLeave=lL(Oe,Ae.onMouseLeave),oe||(De.onMouseOver=Re,De.onMouseLeave=Oe)),O||(Ae.onFocus=lL(ke,Ae.onFocus),Ae.onBlur=lL(Ce,Ae.onBlur),oe||(De.onFocus=ke,De.onBlur=Ce));const qe=d.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(te),options:{element:te,padding:4}}];return null!=(e=H.popperOptions)&&e.modifiers&&(t=t.concat(H.popperOptions.modifiers)),Cf({},H.popperOptions,{modifiers:t})}),[te,H]),je=Cf({},w,{isRtl:Y,arrow:E,disableInteractive:oe,placement:B,PopperComponentProp:W,touch:re.current}),Fe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e;return yf({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Up(a.split("-")[0])}`],arrow:["arrow"]},Jk,t)})(je),$e=null!=(n=null!=(r=V.popper)?r:k.Popper)?n:nL,Be=null!=(o=null!=(a=null!=(i=V.transition)?i:k.Transition)?a:K)?o:yC,We=null!=(l=null!=(s=V.tooltip)?s:k.Tooltip)?l:rL,He=null!=(c=null!=(u=V.arrow)?u:k.Arrow)?c:oL,Ue=Yv($e,Cf({},H,null!=(p=U.popper)?p:L.popper,{className:Zv(Fe.popper,null==H?void 0:H.className,null==(f=null!=(h=U.popper)?h:L.popper)?void 0:f.className)}),je),Ve=Yv(Be,Cf({},Z,null!=(m=U.transition)?m:L.transition),je),Ge=Yv(We,Cf({},null!=(g=U.tooltip)?g:L.tooltip,{className:Zv(Fe.tooltip,null==(v=null!=(y=U.tooltip)?y:L.tooltip)?void 0:v.className)}),je),Ke=Yv(He,Cf({},null!=(b=U.arrow)?b:L.arrow,{className:Zv(Fe.arrow,null==(x=null!=(S=U.arrow)?S:L.arrow)?void 0:x.className)}),je);return ym.jsxs(d.Fragment,{children:[d.cloneElement(C,Ae),ym.jsx($e,Cf({as:null!=W?W:ww,placement:B,anchorEl:z?{getBoundingClientRect:()=>({top:Pe.current.y,left:Pe.current.x,right:Pe.current.x,bottom:Pe.current.y,width:0,height:0})}:J,popperRef:Ne,open:!!J&&de,id:pe,transition:!0},De,Ue,{popperOptions:qe,children:({TransitionProps:e})=>ym.jsx(Be,Cf({timeout:Q.transitions.duration.shorter},e,Ve,{children:ym.jsxs(We,Cf({},Ge,{children:[G,E?ym.jsx(He,Cf({},Ke,{ref:ne})):null]}))}))}))]})}));var cL=sL;function uL(){const[e,t]=d.useState(),[n,r]=d.useState(),o=d.useCallback((e=>{e&&t(e)}),[]),a=()=>{const{left:t,top:n,width:o,height:a}=e.getBoundingClientRect();r({left:t,top:n,width:o,height:a})};return d.useLayoutEffect((()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(a);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}}}),[e]),[o,n,e]}function dL(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function pL(e){let{size:t,style:n={},viewBox:r="0 0 16 16",shapes:o=[]}=e;const a=l({fontSize:dL(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},n);return G.createElement("i",{style:a},G.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},o.map(((e,t)=>{let{type:n,attrs:r}=e;return G.createElement(n,c({key:t},r))}))))}var fL=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]}))(e));var hL=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"}}]}))(e));var mL=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));var gL=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},vL=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),yL=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},bL=function(e){function t(){var e,n,r;gL(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=yL(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},yL(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),vL(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,a=e.stopIndex,i=[],l=null,s=null,c=o;c<=a;c++)t(c)?null!==s&&(i.push(l,s),l=s=null):(s=c,null===l&&(l=c));if(null!==s){for(var u=Math.min(Math.max(s,l+r-1),n-1),d=s+1;d<=u&&!t(d);d++)s=d;i.push(l,s)}if(i.length)for(;i[1]-i[0]+1<r&&i[0]>0;){var p=i[0]-1;if(t(p))break;i[0]=p}return i}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(d.PureComponent);const xL=["S","XS"],SL=e=>e.reduce(((e,t)=>e.concat(t)));function wL(e){return xL.includes(e)}function EL(e){return Array.isArray(e)?Array.from(new Set(e)):void 0}async function CL(e){let{selections:t,elemNumbers:n,isSingleSelect:r=!1}=e,o=Promise.resolve(!1);if(!n.some((e=>Number.isNaN(e)))){const e=n;o=t.select({method:"selectListObjectValues",params:["/qListObjectDef",e,!r]}).then((e=>!1!==e)).catch((()=>!1))}return o}function kL(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}function LL(e){let{layout:t,selections:n,pages:r=[],checkboxes:o=!1,selectDisabled:a,doc:i=document,isSingleSelect:s=!1}=e;const[c,u]=d.useState(r),[p,f]=d.useState(!1),[h,m]=d.useState(!1),[g,v]=d.useState(s),[y,b]=d.useState([]),[x,S]=d.useState(!1),[w,E]=d.useState([]),C=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return SL(t)}(r);d.useEffect((()=>{v(s)}),[s]);const k=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(a())return;m(!0);const r=t?e.filter((e=>!y.includes(e))):e;await CL({selections:n,elemNumbers:r,isSingleSelect:g}),m(!1),E([])},L=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a()||E((n=>{const r=EL([...n,...e]),o=t?r.filter((e=>!y.includes(e))):r;return t?kL(r,C):o}))},R=e=>{(e.ctrlKey||e.metaKey)&&(v(!0),e.currentTarget.focus(),e.preventDefault())},O=d.useCallback((e=>{if(h||a())return;const t=+e.currentTarget.getAttribute("data-n");E([t]),R(e)}),[h,a]),I=d.useCallback((e=>{if(h||a())return;S(!1),f(!0);const t=+e.currentTarget.getAttribute("data-n");E([t]),R(e)}),[h,a]),_=d.useCallback((e=>{const t=+e.currentTarget.getAttribute("data-n");g||!p||h||1===w.length&&w[0]===t||L([t])}),[p,h,w,y,x,a]),T=d.useCallback((()=>{f(!1),m(!1),S(!1),v(s)}),[s]),P=d.useCallback((e=>{if(g||!p||h||a())return;S(!0);const t=+e.currentTarget.getAttribute("data-n");L([t],!0)}),[p,h,x,w,y,a,t&&t.qListObject.qDimensionInfo.qIsOneAndOnlyOne]);d.useEffect((()=>{const e=!p;w&&w.length&&!h&&e&&t&&k(w,x)}),[w,p,a()]),d.useEffect((()=>(i.addEventListener("mouseup",T),()=>{i.removeEventListener("mouseup",T)})),[T]),d.useEffect((()=>{if(h||p)return;const e=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return!!wL(t.qState)&&t.qElemNumber}));return t.filter((e=>!1!==e))}));return SL(t)}(r);b(e)}),[r]),d.useEffect((()=>{if(h||!r||!o&&!p)return;const e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e=>t.length<=1&&wL(e)?"A":"S",o=e.map((e=>{const o=e.qMatrix.map((e=>{const[o]=e,a=t.includes(o.qElemNumber);let i;return i=n?a?"S":"A":a?r(o.qState):o.qState,[l(l({},o),{},{qState:i}),e.slice(1)]}));return l(l({},e),{},{qMatrix:o})}));return o}(r,w,g);u(e)}),[w]);const N={};return o?Object.assign(N,{onClick:O}):Object.assign(N,{onMouseUp:_,onMouseDown:I,onMouseEnter:P}),{instantPages:c,interactionEvents:N,select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];S(!1),f(!0),L(e,t||x);const n=k(e,t||x);return f(!1),n}}}const RL=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var OL=e=>pL(RL(e));const IL="ListBoxCheckbox",_L={cbIcon:"".concat(IL,"-cbIcon"),cbIconChecked:"".concat(IL,"-cbIconChecked"),cbIconExcluded:"".concat(IL,"-cbIconExcluded"),cbIconAlternative:"".concat(IL,"-cbIconAlternative"),checkbox:"".concat(IL,"-checkbox"),dense:"".concat(IL,"-dense")},TL=Vv(wE)((e=>{let{theme:t}=e;return{["& .".concat(_L.cbIcon)]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},["& .".concat(_L.cbIconChecked)]:{borderRadius:3,backgroundColor:t.palette.selected.main,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},["& .".concat(_L.cbIconExcluded)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.excluded},["& .".concat(_L.cbIconAlternative)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.alternative},["&.".concat(_L.checkbox)]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},["&.".concat(_L.dense)]:{padding:"4px 8px"}}})),PL=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return G.createElement("span",{className:e.cbIcon},n&&G.createElement("span",{className:t&&n?e.cbIconExcluded:""}))};function NL(e){let{checked:t,label:n,dense:r,excluded:o,showGray:a=!0}=e;return G.createElement(TL,{edge:"start",checked:t,disableRipple:!0,className:[_L.checkbox,r&&_L.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n},name:n,icon:PL(_L,a,o),checkedIcon:G.createElement("span",{className:_L.cbIconChecked})})}const ML="ListBoxRadioButton",zL={denseRadioButton:"".concat(ML,"-denseRadioButton"),radioButton:"".concat(ML,"-radioButton")},AL=Vv(Yk)((e=>{let{theme:t,checked:n}=e;return{["&.".concat(zL.radioButton)]:{right:"5px",color:n?t.palette.selected.main:t.palette.main}}}));function DL(e){let{checked:t,label:n,dense:r}=e;return G.createElement(AL,{checked:t,value:n,name:n,className:zL.radioButton,style:{backgroundColor:"transparent"},disableRipple:!0,size:r?"small":"medium",sx:r&&{padding:"0px 0px 0px 12px"}})}const qL=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===qL.ARROW_UP||e===qL.ARROW_DOWN||e===qL.ARROW_LEFT||e===qL.ARROW_RIGHT});function jL(e){let{setKeyboardActive:t}=e;return e=>{const{keyCode:n}=e.nativeEvent;switch(n){case qL.ENTER:case qL.SPACE:if(!e.target.classList.contains("listbox-container"))return;(e=>{const n=e.querySelector(".search input, .value.selector, .value, .ActionsToolbar-* button");t(!0),n&&n.focus()})(e.currentTarget);break;case qL.ESCAPE:r=e.currentTarget,t(!1),r.focus();break;default:return}var r;e.preventDefault()}}const FL="RowColumn",$L={row:"".concat(FL,"-row"),rowBorderBottom:"".concat(FL,"-rowBorderBottom"),column:"".concat(FL,"-column"),fieldRoot:"".concat(FL,"-fieldRoot"),cell:"".concat(FL,"-cell"),labelText:"".concat(FL,"-labelText"),labelDense:"".concat(FL,"-labelDense"),highlighted:"".concat(FL,"-highlighted"),checkboxLabel:"".concat(FL,"-checkboxLabel"),icon:"".concat(FL,"-icon"),S:"".concat(FL,"-S"),XS:"".concat(FL,"-XS"),A:"".concat(FL,"-A"),X:"".concat(FL,"-X"),frequencyCount:"".concat(FL,"-frequencyCount"),barContainer:"".concat(FL,"-barContainer"),bar:"".concat(FL,"-bar"),barSelected:"".concat(FL,"-barSelected"),barWithCheckbox:"".concat(FL,"-barWithCheckbox"),barSelectedWithCheckbox:"".concat(FL,"-barSelectedWithCheckbox"),excludedTextWithCheckbox:"".concat(FL,"-excludedTextWithCheckbox")},BL={width:"100%",overflow:"hidden",textOverflow:"ellipsis"},WL=e=>{let{theme:t}=e;return{background:t.palette.selected.main,color:t.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"},"& $cell":{paddingRight:0}}},HL=Vv("div",{shouldForwardProp:e=>"flexBasisProp"!==e})((e=>{var t,n,r,o,a,i,s,c,u,d;let{theme:p,flexBasisProp:f,dense:h}=e;return{["& .".concat($L.row)]:{flexWrap:"nowrap",color:null!==(t=null===(n=p.listBox)||void 0===n||null===(r=n.content)||void 0===r?void 0:r.color)&&void 0!==t?t:p.palette.text.primary},["& .".concat($L.rowBorderBottom)]:{borderBottom:"1px solid ".concat(p.palette.divider)},["& .".concat($L.column)]:{flexWrap:"nowrap",borderRight:"1px solid ".concat(p.palette.divider),color:null!==(o=null===(a=p.listBox)||void 0===a||null===(i=a.content)||void 0===i?void 0:i.color)&&void 0!==o?o:p.palette.text.primary},["& .".concat($L.fieldRoot)]:{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(p.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},["& .".concat($L.cell)]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:"9px"},["& .".concat($L.labelText)]:l(l({flexBasis:f,lineHeight:"16px",userSelect:"none",whiteSpace:"pre",paddingRight:"9px"},BL),{},{fontSize:null===(s=p.listBox)||void 0===s||null===(c=s.content)||void 0===c?void 0:c.fontSize,fontFamily:null===(u=p.listBox)||void 0===u||null===(d=u.content)||void 0===d?void 0:d.fontFamily}),["& .".concat($L.labelDense)]:{fontSize:12},["& .".concat($L.highlighted)]:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},["& .".concat($L.checkboxLabel)]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":l(l({},BL),{},{display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"})},["& .".concat($L.icon)]:{display:"flex",padding:p.spacing(1,1,1,0)},["& .".concat($L.S)]:l({},WL({theme:p})),["& .".concat($L.XS)]:l(l({},WL({theme:p})),{},{background:p.palette.selected.excluded,color:p.palette.selected.mainContrastText}),["& .".concat($L.A)]:{background:p.palette.selected.alternative,color:p.palette.selected.alternativeContrastText},["& .".concat($L.X)]:{background:p.palette.selected.excluded,color:p.palette.selected.excludedContrastText},["& .".concat($L.frequencyCount)]:{width:"66px",justifyContent:"flex-end"},["&.".concat($L.barContainer)]:{height:"100%",display:"inline-block"},["& .".concat($L.bar)]:{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",height:h?"16px":"20px",position:"absolute",zIndex:"-1",alignSelf:"center",left:"".concat(4,"px"),transition:"width 0.2s",backgroundColor:"#FAFAFA"},["& .".concat($L.barSelected)]:{opacity:"30%",zIndex:"0",background:p.palette.background.lighter},["& .".concat($L.barWithCheckbox)]:{left:"".concat(29,"px")},["& .".concat($L.barSelectedWithCheckbox)]:{background:"#BFE5D0",borderColor:"#BFE5D0"},["& .".concat($L.excludedTextWithCheckbox)]:{color:"#828282",fontStyle:"italic"}}}));function UL(e){let{index:t,rowIndex:n,columnIndex:r,style:o,data:a}=e;const{onClick:i,onMouseDown:s,onMouseUp:c,onMouseEnter:u,pages:p,isLocked:f,column:h=!1,checkboxes:m=!1,textAlign:g,direction:v,dense:y=!1,freqIsAllowed:b,isSingleSelect:x,actions:S,frequencyMax:w="",histogram:E=!1,keyboard:C,showGray:k=!0,columnCount:L=1,rowCount:R=1,layoutOrder:O}=a;let I,_;if("number"==typeof n&&"number"==typeof r){I="row"===O?n*L+r:r*R+n;const e=0;_=l(l({},o),{},{left:e+(0===r?o.left:Number(o.left)+r*e),top:0===n?o.top:Number(o.top)+n*e})}else I=t,_=l({},o);const T=d.useCallback(function(e){let{select:t,confirm:n,cancel:r}=e;const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=e&&e.parentElement[t?"nextElementSibling":"previousElementSibling"];return n&&n.querySelector("[role]")};let a=!1;const i=e=>{a=e};return e=>{let l;const{keyCode:s,shiftKey:c=!1}=e.nativeEvent;switch(s){case qL.SHIFT:i(!0);break;case qL.SPACE:t([+e.currentTarget.getAttribute("data-n")]);break;case qL.ARROW_DOWN:case qL.ARROW_RIGHT:l=o(e.currentTarget,!0),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case qL.ARROW_UP:case qL.ARROW_LEFT:l=o(e.currentTarget,!1),c&&l&&(a&&(t([+e.currentTarget.getAttribute("data-n")],!0),i(!1)),t([+l.getAttribute("data-n")],!0));break;case qL.ENTER:n();break;case qL.ESCAPE:return void r();default:return}l&&l.focus(),e.preventDefault(),e.stopPropagation()}}(S),[S]),[P,N]=d.useState(!1),[M,z]=d.useState(),[A,D]=d.useState([]);d.useEffect((()=>{if(!p)return;let e;const t=p.filter((e=>e.qArea.qTop<=I&&I<e.qArea.qTop+e.qArea.qHeight))[0];if(t){const n=t.qArea;I>=n.qTop&&I<n.qTop+n.qHeight&&([e]=t.qMatrix[I-n.qTop])}z(e)}),[p]);const q=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,j=e=>e?"A"===e.qState:null;if(d.useEffect((()=>{if(!M)return;const e="S"===M.qState||"XS"===M.qState||"L"===M.qState;N(e);const t=[h?$L.column:$L.row];E&&y||m||t.push($L.rowBorderBottom),m||("XS"===M.qState?t.push(k?$L.XS:$L.S):"S"===M.qState||"L"===M.qState?t.push($L.S):k&&j(M)?t.push($L.A):k&&q(M)&&t.push($L.X)),D(t)}),[M&&M.qState,E,y,m]),!M)return null;const F=e=>e.filter((e=>!!e)).join(" ").trim(),$=()=>(j(M)||q(M))&&m,B=!["NaN",void 0].includes(null==M?void 0:M.qNum);let W;const H=!g||g.auto;W=H?B?"right":{rtl:"right",ltr:"left"}[v]:(null==g?void 0:g.align)||"left";const U=e=>{let{lbl:t,ix:n,color:r,highlighted:o=!1}=e;return G.createElement(yw,{component:"span",variant:"body2",key:n,className:F([$L.labelText,o&&$L.highlighted,y&&$L.labelDense,k&&$()&&$L.excludedTextWithCheckbox]),color:r,justifyContent:W},G.createElement("span",{style:{whiteSpace:"pre"}},t))},V=e=>{let{lbl:t,color:n,qElemNumber:r}=e;const o=G.createElement(NL,{label:t,checked:P,dense:y,excluded:q(M),showGray:k}),a=G.createElement(DL,{label:t,checked:P,dense:y}),i="string"==typeof t?U({lbl:t,color:n,highlighted:!1}):t;return G.createElement(tC,{color:n,control:x?a:o,className:$L.checkboxLabel,label:i,key:r})},K=M?M.qText:"",Z=()=>M?M.qFrequency?M.qFrequency:"-":"",X=M&&M.qHighlightRanges&&M.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[],Q=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(K,X),Y=m?V:U,J={alignItems:"center",display:"flex"},ee=P&&f,te=!m&&P&&!f,ne={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,padding:m?0:void 0,justifyContent:W},re=0===t,oe=m?"auto":"max-content";return G.createElement(HL,{className:$L.barContainer,flexBasisProp:oe,dense:y},G.createElement(pC,{container:!0,gap:0,className:F(["value",...A]),classes:{root:$L.fieldRoot},style:_,onClick:i,onMouseDown:s,onMouseUp:c,onMouseEnter:u,onKeyDown:T,onContextMenu:e=>{m&&i(e),e.preventDefault()},role:h?"column":"row",tabIndex:!re||C.enabled&&!C.active?-1:0,"data-n":M&&M.qElemNumber},M&&E&&"-"!==Z()&&G.createElement("div",{className:F([$L.bar,m&&$L.barWithCheckbox,P&&(m?$L.barSelectedWithCheckbox:$L.barSelected)]),style:{width:(e=>{const t=String(e),n="%"===t.substring(t.length-1),r=parseFloat(n?t:e),o=m?"(".concat(29,"px + ").concat(6,"px)"):"".concat(10,"px");return"calc(".concat(n?r:r/w*100,"% - ").concat(o,")")})(M.qFrequency)}}),G.createElement(pC,{item:!0,style:ne,className:F([$L.cell,$L.selectedCell]),title:"".concat(K)},0===X.length?Y({lbl:K,color:"inherit"}):(e=>{let{lbls:t}=e;const n=t.map(((e,t)=>{let[n,r]=e;return U({ix:t,highlighted:r,lbl:n})}));return m?V({lbl:n}):n})({lbls:Q})),b&&G.createElement(pC,{item:!0,style:{display:"flex",alignItems:"center"},className:$L.frequencyCount},G.createElement(yw,{noWrap:!0,color:"inherit",variant:"body2",className:F([y&&$L.labelDense,$L.labelText,k&&$()&&$L.excludedTextWithCheckbox])},Z())),!m&&G.createElement(pC,{item:!0,className:$L.icon},!ee&&!te&&G.createElement("span",{style:{minWidth:"12px"}}),ee&&G.createElement(hL,{style:J,size:"small"}),te&&G.createElement(OL,{style:J,size:"small"}))))}function VL(e){let{width:t,layout:n,frequencyMode:r}=e;const o=t>80,{frequencyEnabled:a=!1}=(null==n?void 0:n.qListObject)||{},i=!["none",void 0].includes(r);return!(!o||!i&&!a)}var GL=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function KL(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||GL(r)&&GL(o)))return!1;var r,o;return!0}function ZL(e,t){var n;void 0===t&&(t=KL);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}var XL="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function QL(e){cancelAnimationFrame(e.id)}function YL(e,t){var n=XL();var r={id:requestAnimationFrame((function o(){XL()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var JL=-1;function eR(e){if(void 0===e&&(e=!1),-1===JL||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),JL=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return JL}var tR=null;function nR(e){if(void 0===e&&(e=!1),null===tR||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?tR="positive-descending":(t.scrollLeft=1,tR=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),tR}return tR}var rR=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function oR(e){var t,n=e.getColumnOffset,r=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,a=e.getColumnWidth,i=e.getEstimatedTotalHeight,l=e.getEstimatedTotalWidth,s=e.getOffsetForColumnAndAlignment,c=e.getOffsetForRowAndAlignment,u=e.getRowHeight,p=e.getRowOffset,f=e.getRowStartIndexForOffset,h=e.getRowStopIndexForStartIndex,m=e.initInstanceProps,g=e.shouldResetStyleCacheOnItemSizeChange,v=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=m(r.props,mx(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:mx(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=ZL((function(e,t,n,o,a,i,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=ZL((function(e,t,n,o,a){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,i=r.props,l=i.columnWidth,s=i.direction,c=i.rowHeight,d=r._getItemStyleCache(g&&l,g&&s,g&&c),f=e+":"+t;if(d.hasOwnProperty(f))o=d[f];else{var h=n(r.props,t,r._instanceProps),m="rtl"===s;d[f]=o={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:p(r.props,e,r._instanceProps),height:u(r.props,e,r._instanceProps),width:a(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=ZL((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=r.props.direction,c=a;if("rtl"===t)switch(nR()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&QL(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=YL(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}ox(t,e),t.getDerivedStateFromProps=function(e,t){return aR(e,t),v(e),null};var y=t.prototype;return y.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},y.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,u=a.columnCount,d=a.height,p=a.rowCount,f=a.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,v=eR();void 0!==r&&(r=Math.max(0,Math.min(r,u-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var y=i(this.props,this._instanceProps),b=l(this.props,this._instanceProps)>f?v:0,x=y>d?v:0;this.scrollTo({scrollLeft:void 0!==r?s(this.props,r,n,m,this._instanceProps,x):m,scrollTop:void 0!==o?c(this.props,o,n,g,this._instanceProps,b):g})},y.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},y.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(nR()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},y.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&QL(this._resetIsScrollingTimeoutId)},y.render=function(){var e=this.props,t=e.children,n=e.className,r=e.columnCount,o=e.direction,a=e.height,s=e.innerRef,c=e.innerElementType,u=e.innerTagName,p=e.itemData,f=e.itemKey,h=void 0===f?rR:f,m=e.outerElementType,g=e.outerTagName,v=e.rowCount,y=e.style,b=e.useIsScrolling,x=e.width,S=this.state.isScrolling,w=this._getHorizontalRangeToRender(),E=w[0],C=w[1],k=this._getVerticalRangeToRender(),L=k[0],R=k[1],O=[];if(r>0&&v)for(var I=L;I<=R;I++)for(var _=E;_<=C;_++)O.push(d.createElement(t,{columnIndex:_,data:p,isScrolling:b?S:void 0,key:h({columnIndex:_,data:p,rowIndex:I}),rowIndex:I,style:this._getItemStyle(I,_)}));var T=i(this.props,this._instanceProps),P=l(this.props,this._instanceProps);return d.createElement(m||g||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:tx({position:"relative",height:a,width:x,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},y)},d.createElement(c||u||"div",{children:O,ref:s,style:{height:T,pointerEvents:S?"none":void 0,width:P}}))},y._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),d=u[0],p=u[1],f=u[2],h=u[3];this._callOnItemsRendered(i,l,d,p,s,c,f,h)}if("function"==typeof r){var m=this.state,g=m.horizontalScrollDirection,v=m.scrollLeft,y=m.scrollTop,b=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(v,y,g,x,b)}},y._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,a=e.overscanColumnsCount,i=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,p=n||a||i||1;if(0===t||0===l)return[0,0,0,0];var f=r(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,p),g=u&&"forward"!==c?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},y._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var d=f(this.props,c,this._instanceProps),p=h(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),g=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(a-1,p+g)),d,p]},t}(d.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var aR=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},iR=function(e,t){return e};function lR(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,u=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,mx(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:mx(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=ZL((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=ZL((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,a=r.props,i=a.direction,l=a.itemSize,s=a.layout,u=r._getItemStyleCache(c&&l,c&&s,c&&i);if(u.hasOwnProperty(e))t=u[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===s,h="rtl"===i,m=f?d:0;u[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=ZL((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(nR()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&QL(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=YL(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}ox(t,e),t.getDerivedStateFromProps=function(e,t){return sR(e,t),u(e),null};var p=t.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,i=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?eR():0:s.scrollHeight>s.clientHeight?eR():0}this.scrollTo(a(this.props,e,t,i,this._instanceProps,l))},p.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(nR()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&QL(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,a=e.height,i=e.innerRef,l=e.innerElementType,s=e.innerTagName,c=e.itemCount,u=e.itemData,p=e.itemKey,f=void 0===p?iR:p,h=e.layout,m=e.outerElementType,g=e.outerTagName,v=e.style,y=e.useIsScrolling,b=e.width,x=this.state.isScrolling,S="horizontal"===o||"horizontal"===h,w=S?this._onScrollHorizontal:this._onScrollVertical,E=this._getRangeToRender(),C=E[0],k=E[1],L=[];if(c>0)for(var R=C;R<=k;R++)L.push(d.createElement(t,{data:u,key:f(R,u),index:R,isScrolling:y?x:void 0,style:this._getItemStyle(R)}));var O=r(this.props,this._instanceProps);return d.createElement(m||g||"div",{className:n,onScroll:w,ref:this._outerRefSetter,style:tx({position:"relative",height:a,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},v)},d.createElement(l||s||"div",{children:L,ref:i,style:{height:S?"100%":O,pointerEvents:x?"none":void 0,width:S?O:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var c=i(this.props,s,this._instanceProps),u=l(this.props,c,s,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),p=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(d.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var sR=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},cR=oR({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(s/2)?0:p>c+Math.floor(s/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),d=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(l/2)?0:p>c+Math.floor(l/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,a=e.width,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),uR=lR({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,p="horizontal"===i||"horizontal"===u?d:l,f=Math.max(0,s*c-p),h=Math.min(f,t*c),m=Math.max(0,t*c-p+c+a);switch("smart"===n&&(n=r>=m-p&&r<=h+p?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var g=Math.round(m+(h-m)/2);return g<Math.ceil(p/2)?0:g>f+Math.floor(p/2)?f:g;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const dR="#BBB",pR="#555",fR="#f1f1f1",hR={styledScrollbars:"".concat("ListBox","-styledScrollbars")};function mR(e){let{renderProps:t,layoutOptions:n,maxCount:r,columnCount:o,rowCount:a,overflowDisclaimer:i}=e;const l="column"===(null==n?void 0:n.layoutOrder)&&"singleColumn"!==n.dataLayout,s=((e,t)=>null!=e&&e.visibleRowStopIndex||e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex)(t,l),c=l?r.column:r.row,u=(l?o:a)>=c&&s>=c-1||i.state.show;i.set(u)}const{StyledFixedSizeList:gR,StyledFixedSizeGrid:vR}=function(){const e={scrollbarColor:"".concat(dR," ").concat(fR),"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:fR},"&::-webkit-scrollbar-thumb":{backgroundColor:dR,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:pR}};return{StyledFixedSizeList:vm(uR)((()=>({["&.".concat(hR.styledScrollbars)]:e,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:fR},"&::-webkit-scrollbar-thumb":{backgroundColor:dR,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:pR}}))),StyledFixedSizeGrid:vm(cR)((()=>({["&.".concat(hR.styledScrollbars)]:e,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:fR},"&::-webkit-scrollbar-thumb":{backgroundColor:dR,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:pR}})))}}();const yR=(e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));return n.measureText(e).width};function bR(e){if(!e)return"";const t=e.qListObject.qDimensionInfo.qApprMaxGlyphCount;let n="";for(let e=0;e<t;e++)n+="M";return n}function xR(e){let{pages:t,minimumBatchSize:n,count:r,calculatePagesHeight:o=!1}=e;const a=null!=t&&t.length&&o?(e=>{let{pages:t=[],minimumBatchSize:n,count:r}=e;const o=t.some((e=>e.qArea.qHeight<n)),a=Math.max(...t.map((e=>e.qArea.qTop+e.qArea.qHeight)));return o?a:r})({pages:t,minimumBatchSize:n,count:r}):r;return a||0}const[SR,wR]=dS({});function ER(e){const t="".concat(e.id),[n]=SR();return{setStoreValue:(e,r)=>n.set("".concat(t,"/").concat(e),r),getStoreValue:e=>n.get("".concat(t,"/").concat(e))}}function CR(e){let{width:t,text:n,dense:r,tooltip:o}=e;const{translator:a}=d.useContext(uS),i=Vv(yw)((()=>l({minWidth:"".concat(t,"px"),textAlign:"center",fontSize:"".concat(r?"12px":"14px")},r&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:t})));return G.createElement(cL,{title:o?a.get(n):""},G.createElement(i,{component:"div",variant:"body1",py:"12px"},a.get(n)))}var kR={},LR={},RR={get exports(){return LR},set exports(e){LR=e}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(RR);var OR,IR={},_R=r(YS);var TR=LR;Object.defineProperty(kR,"__esModule",{value:!0});var PR=kR.default=void 0,NR=TR((OR||(OR=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=_R}(IR)),IR)),MR=ym,zR=(0,NR.default)((0,MR.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");PR=kR.default=zR;const AR=Vv(aw)((e=>{let{theme:t,left:n}=e;return{position:"absolute",bottom:"12px",display:"flex",border:"1px solid ".concat(t.palette.divider),width:"calc(100% - 11px)",left:n}})),DR=Vv("div")((()=>({paddingLeft:"6px",flexGrow:1}))),qR=Vv("div")((e=>{let{dense:t}=e;return{display:"flex",alignItems:"".concat(t?"center":"flex-start")}})),jR=Vv(PR)((()=>({fontSize:"14px"})));function FR(e){let{text:t,dismiss:n,dense:r,parentWidth:o=0}=e;const a="function"==typeof n,i=r?370:282,l=Math.max(o/2-i/2,0),s=Math.min(i,o)-42,c=r&&o<i;return G.createElement(AR,{left:l,style:{maxWidth:i}},G.createElement(DR,null,G.createElement(CR,{text:t,dense:r,width:s,tooltip:c})),G.createElement(qR,{dense:r},a&&G.createElement(dw,{"aria-label":"close",onClick:()=>n()},G.createElement(jR,null))))}const $R=["isLoadingData"];function BR(e){var t,n,r,o;let{model:a,selections:i,direction:s,checkboxes:p,height:f,width:h,listLayout:m="vertical",frequencyMode:g,update:v,fetchStart:y,postProcessPages:b,calculatePagesHeight:x=!1,keyboard:S={},showGray:w=!0,scrollState:E,selectDisabled:C=(()=>!1)}=e;const[k,L]=d.useState(!1),[R]=OS(a),O=!(!R||!R.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:I=p,histogram:_}=null!=R?R:{},T=d.useRef(null),P=d.useRef({queue:[],validPages:!1}),N=d.useRef({pages:[]}),M=function(e){let{local:t,loaderRef:n,model:r,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}=e;const[s,c]=d.useState(!1),[u,p]=d.useState([]);let[f]=d.useState(0);const h=(e,s)=>{t.current.queue.push({start:e,stop:s});const u=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return t.current.queue.length>10&&t.current.queue.shift(),clearTimeout(t.current.timeout),c(!0),new Promise((e=>{t.current.timeout=setTimeout((()=>{const n=t.current.queue.slice(-1)[0],a=r.getListObjectData("/qListObjectDef",[{qTop:n.start>f?n.start-f:0,qHeight:f,qLeft:0,qWidth:1},{qTop:n.start,qHeight:f,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;t.current.validPages=!0,l.current.pages=r,p(r),c(!1),e()}));o&&o(a)}),u?a:0)}))};return{loadMoreItems:{with(e){let{minimumBatchSize:t}=e;return t&&(f=t),h}},pages:u,isLoading:s}}({local:P,loaderRef:T,model:a,fetchStart:y,scrollTimeout:0,postProcessPages:b,listData:N}),{isLoadingData:z}=M,A=u(M,$R),[D,q]=d.useState([]),{setStoreValue:j}=ER(a),F=d.useCallback(A.loadMoreItems,[R]),[$,B]=d.useState({show:!1,dismissed:!1});d.useEffect((()=>{q((null==A?void 0:A.pages)||[])}),[null==A?void 0:A.pages]);const W=d.useCallback((e=>{if(null==D||!D.length||!P.current.validPages)return!1;P.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=D.filter((e=>t(e)))[0];return n&&t(n)}),[R,D]),{instantPages:H=[],interactionEvents:U,select:V}=LL({layout:R,selections:i,pages:D,checkboxes:I,selectDisabled:C,doc:document,isSingleSelect:O}),K=()=>{if(P.current.queue=[],P.current.validPages=!1,T.current){if(T.current.resetloadMoreItemsCache(!0),R&&R.qSelectionInfo.qInSelections)return;T.current._listRef.scrollToItem(0)}};v&&v.call(null,K),d.useEffect((()=>{H&&!z&&q(H)}),[H]),d.useEffect((()=>{E&&!k&&T.current&&(T.current._listRef.scrollToItem(E.initScrollPos),L(!0))}),[T.current]),d.useEffect((()=>{K()}),[R]);const Z=(e=>{const t=d.useMemo((()=>"text"in e?e:{}),[e]);return d.useMemo((()=>yR(t.text,t.font||"14px Source Sans Pro")),[t.text,t.font])})({text:bR(R),font:"14px Source sans pro"}),{layoutOptions:X={}}=R||{};let Q=100;const Y=X.dataLayout?"singleColumn"===X.dataLayout:"horizontal"!==m,J=null==R||null===(t=R.qListObject.qSize)||void 0===t?void 0:t.qcy,ee=xR({pages:D,minimumBatchSize:Q,count:J,calculatePagesHeight:x,layoutOptions:X,model:a}),te=function(e){let{layout:t,width:n,height:r,listCount:o,count:a,textWidth:i}=e;const{layoutOptions:l={}}=t||{},{layoutOrder:s,maxVisibleRows:c={},maxVisibleColumns:u,dense:d,dataLayout:p}=l,f=Math.min(150,i+18);let h,m,g,v;const y=d?20:29,b=r||8*y;if(s)if("row"===s){h={overflowX:"hidden"};const e=(null==u?void 0:u.maxColumns)||3;m=!1!==(null==u?void 0:u.auto)?Math.min(o,Math.ceil((n-10)/f)):Math.min(o,e),v=Math.ceil(o/m),g=(n-10)/m}else{h={overflowY:"hidden"};const e=(null==c?void 0:c.maxRows)||3;v=!1!==c.auto?Math.floor(b/y):Math.min(o,e),m=Math.ceil(o/v),g=Math.max(f,n/m)}m=("singleColumn"===p?1:m)||1,v=("singleColumn"===p?a:v)||o;const x=l.dense?838e3:577e3;v=Math.min(v,x);const S=Math.floor(3355e4/g);m=Math.min(m,S)||1;const w=v*m;return{columnCount:m,columnWidth:g,rowCount:v,overflowStyling:h,itemSize:y,listHeight:b,scrollBarWidth:10,count:a,listCount:Math.min(o,w),maxCount:{row:x,column:S}}}({layout:R,width:h,height:f,listCount:ee,count:J,textWidth:Z}),{listCount:ne}=te;j("listCount",ne);const{textAlign:re}=(null==R?void 0:R.qListObject.qDimensionInfo)||{},{List:oe,Grid:ae}=function(e){let{layout:t,width:n,checkboxes:r,local:o,isVertical:a,pages:i,selectDisabled:s,interactionEvents:u,frequencyMode:d,histogram:p,isSingleSelect:f,select:h,textAlign:m,selections:g,keyboard:v,showGray:y,scrollState:b,direction:x,listLayout:S,sizes:w,listCount:E,overflowDisclaimer:C}=e;const{layoutOptions:k={},frequencyMax:L}=t||{},{dense:R=!1}=k||{},{listHeight:O,itemSize:I,rowCount:_,columnCount:T}=w||{},P={direction:"rtl"===x?"rtl":"ltr",useIsScrolling:!0,className:hR.styledScrollbars},N=null==t?void 0:t.qListObject.qDimensionInfo.qLocked,M=l(l({isLocked:N,column:!a,pages:i},N||s()?{}:u),{},{checkboxes:r,dense:R,frequencyMode:d,freqIsAllowed:VL({width:n,layout:t,frequencyMode:d}),isSingleSelect:f,textAlign:m,actions:{select:h,confirm:()=>null==g?void 0:g.confirm.call(g),cancel:()=>null==g?void 0:g.cancel.call(g)},frequencyMax:L,histogram:p,keyboard:v,showGray:y});return{List:e=>{let{onItemsRendered:t,ref:r}=e;return o.current.listRef=r,G.createElement(gR,c({},P,{dataTestid:"fixed-size-list",height:O,width:n,itemCount:E,layout:S,itemData:l({},M),itemSize:I,onItemsRendered:e=>{b&&b.setScrollPos(e.visibleStopIndex),mR({renderProps:e,layoutOptions:k,maxCount:w.maxCount,columnCount:T,rowCount:_,overflowDisclaimer:C}),t(l({},e))},ref:r}),UL)},Grid:e=>{let{onItemsRendered:t,ref:r}=e;const{columnWidth:a,overflowStyling:i,scrollBarWidth:s}=w,{layoutOrder:u}=k||{},d=Math.min(O,_*I+s);return o.current.listRef=r,G.createElement(vR,c({},P,{dataTestid:"fixed-size-grid",height:d,width:n,columnCount:T,columnWidth:a,rowCount:_,rowHeight:I,style:l({},i),itemData:l(l({},M),{},{column:void 0,columnCount:T,rowCount:_,layoutOrder:u}),onItemsRendered:e=>{const n=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,p,f,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,p=i,f=c*o,h=l):(d=s,p=i*a,f=c,h=l*a),{visibleStartIndex:d+p,visibleStopIndex:f+h}}({renderProps:e,scrollState:b,layoutOrder:u,rowCount:_,columnCount:T});mR({renderProps:e,layoutOptions:k,maxCount:w.maxCount,columnCount:T,rowCount:_,overflowDisclaimer:C}),t(n)},ref:r}),UL)}}}({direction:s,layout:R,height:f,width:h,checkboxes:I,frequencyMode:g,histogram:_,keyboard:S,showGray:w,interactionEvents:U,select:V,textAlign:re,isVertical:Y,pages:D,selectDisabled:C,isSingleSelect:O,selections:i,scrollState:E,local:P,sizes:te,listCount:ne,overflowDisclaimer:{state:$,set:e=>B((t=>l(l({},t),{},{show:e})))}}),{columnWidth:ie,listHeight:le,itemSize:se}=te||{};return Y||(Q=function(e){let{width:t,columnWidth:n,listHeight:r,itemSize:o}=e;return Math.ceil(t/n)*Math.ceil(r/o)*2}({width:h,columnWidth:ie,listHeight:le,itemSize:se})),G.createElement(G.Fragment,null,!ne&&G.createElement(CR,{width:h,text:"Listbox.NoMatchesForYourTerms"}),G.createElement(bL,{isItemLoaded:W,itemCount:ne||1,loadMoreItems:F.with({minimumBatchSize:Q}),threshold:0,minimumBatchSize:Q,ref:T},Y?oe:ae),$.show&&!$.dismissed&&G.createElement(FR,{text:"Listbox.ItemsOverflow",dismiss:()=>B((e=>l(l({},e),{},{dismissed:!0}))),parentWidth:null==T||null===(n=T.current)||void 0===n||null===(r=n._listRef)||void 0===r||null===(o=r.props)||void 0===o?void 0:o.width,dense:null==X?void 0:X.dense}))}const WR=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),HR=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),UR=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),VR=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]});var GR=e=>{let{layout:t,model:n,translator:r}=e;if(t.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:WR,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:UR,enabled:()=>["qOption"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:HR,enabled:()=>["qAlternative"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:VR,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const KR=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function ZR(e){const t=Bv(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const XR="njs-cell-action",QR=G.forwardRef(((e,t)=>{let{ariaExpanded:n=!1,item:r,addAnchor:o=!1}=e;const a=Bv(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=ZR(r);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=r.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&r.keyboardAction():null;return G.createElement(dw,{ref:o?null:t,title:r.label,onClick:r.action,onKeyDown:d,disabled:l,style:s,className:XR,size:"large","aria-expanded":n,"aria-controls":"moreMenuList"},c&&pL(r.getSvgIconShape()),o&&G.createElement("div",{ref:t,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),YR=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),JR=e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]});var eO=e=>pL(JR(e));const tO={icon:"".concat("More","-icon")},nO=Vv(Sk)((e=>{let{theme:t}=e;return{["& .".concat(tO.icon)]:{color:t.palette.text.primary}}}));function rO(e){let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:o,hasSvgIconShape:a}=ZR(t);return r?null:G.createElement(Ok,{title:t.label,onClick:()=>{t.action(),n()},disabled:o,tabindex:"0"},a&&G.createElement(nk,{className:tO.icon},pL(t.getSvgIconShape())),G.createElement(yw,{noWrap:!0},t.label))}const oO=G.forwardRef(((e,t)=>{let{actions:n=[],show:r=!0,alignTo:o,popoverProps:a={},popoverPaperStyle:i={},onCloseOrActionClick:s=(()=>{})}=e;return n.length>0&&G.createElement(nO,c({},a,{onClose:s,ref:t,open:r,anchorEl:o.current,getContentAnchorEl:null,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{style:l({pointerEvents:"auto",maxWidth:"250px"},i)}}),G.createElement(uk,{id:"moreMenuList"},n.map(((e,t)=>G.createElement(rO,{key:t,item:e,onActionClick:s})))))})),aO="ActionsToolbar",iO={itemSpacing:"".concat(aO,"-itemSpacing"),firstItemSpacing:"".concat(aO,"-firstItemSpacing"),lastItemSpacing:"".concat(aO,"-lastItemSpacing")},lO=Vv(Sk)((e=>{let{theme:t}=e;return{["& .".concat(iO.itemSpacing)]:{padding:t.spacing(0,.5)},["& .".concat(iO.firstItemSpacing)]:{padding:t.spacing(0,.5,0,0)},["& .".concat(iO.lastItemSpacing)]:{padding:t.spacing(0,0,0,.5)}}})),sO="njs-action-toolbar-popover",cO=G.forwardRef(((e,t)=>{let{ariaExpanded:n=!1,actions:r=[],first:o=!1,last:a=!1,addAnchor:i=!1}=e;return r.length>0?G.createElement(pC,{item:!0,container:!0,gap:0,wrap:"nowrap"},r.map(((e,l)=>{let s=[];const c=o&&0===l,u=a&&r.length-1===l;return c&&!u&&(s=[iO.firstItemSpacing]),u&&!c&&(s=[...s,iO.lastItemSpacing]),c||u||0!==s.length||(s=[iO.itemSpacing]),G.createElement(pC,{item:!0,key:e.key,className:s.join(" ").trim()},G.createElement(QR,{ariaExpanded:n,key:e.key,item:e,ref:0===l?t:null,addAnchor:i}))}))):null})),uO={pointerEvents:"none"},dO={vertical:"top",horizontal:"right"},pO={vertical:"bottom",horizontal:"right"};function fO(e){let{show:t=!0,actions:n=[],maxItems:r=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:a={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:i={show:!1,anchorEl:null},focusHandler:l=null,actionsRefMock:s=null}=e;const c=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}=e;const{translator:a}=d.useContext(uS);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:JR},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{o(e),r(),t.cancel()},getSvgIconShape:YR},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{o(e),n(),t.confirm()},getSvgIconShape:RL}]}(o),{translator:u,keyboardNavigation:p}=d.useContext(uS),[f,h]=d.useState(!1),[m,g]=d.useState(a.enabled),[v,y]=d.useState(a.actions),b=d.useRef(),x=d.useRef(),S=Bv(),w=d.useMemo((()=>({margin:S.spacing(.5,0)}))),E=e=>{const t=x.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};d.useEffect((()=>()=>h(!1)),[i.show]),d.useEffect((()=>{g(a.enabled)}),[a.enabled]),d.useEffect((()=>{if(!l)return;l.on("focus_toolbar_first",(()=>{const e=E(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=E(!0);e&&e.focus()}))}),[]);const C=d.useMemo((()=>n.filter((e=>!e.hidden))),[n]);if(!o.show&&0===C.length)return null;const k={key:"more",label:u.get("Menu.More"),getSvgIconShape:KR,hidden:!1,active:f,enabled:()=>m,action:()=>h(!f)};if(C.length>r){const e=C.splice(-(C.length-r)-1);g(!0),y([...e,...a.actions])}const L=p&&l&&l.refocusContent?e=>{if("Tab"!==e.key)return;(e.shiftKey&&E(!1)===e.target||!e.shiftKey&&E(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,R=C.length>0,O=v.length>0,I=R&&o.show||O&&o.show,_=G.createElement(pC,{ref:x,onKeyDown:L,container:!0,gap:0,wrap:"nowrap"},R&&G.createElement(cO,{actions:C,first:!0,last:!O&&!o.show}),O&&G.createElement(cO,{ref:b,ariaExpanded:f,actions:[k],first:!R,last:!o.show,addAnchor:!0}),I&&G.createElement(pC,{item:!0,className:iO.itemSpacing,style:w},G.createElement(ZE,{orientation:"vertical"})),o.show&&G.createElement(cO,{actions:c,first:!R&&!O,last:!0}),f&&G.createElement(oO,{show:f,actions:v,alignTo:b,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{h(!1)}}));return i.show?G.createElement(lO,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:dO,transformOrigin:pO,hideBackdrop:!0,style:uO,PaperProps:{className:sO,style:{pointerEvents:"auto",padding:S.spacing(1,1)}}},_):t&&_}var hO=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]}))(e));const mO="/qListObjectDef",gO=Vv(_C)((e=>{var t,n;let{theme:r}=e;return{color:null===(t=r.listBox)||void 0===t||null===(n=t.content)||void 0===n?void 0:n.color}})),vO=Vv(Dk)((e=>{var t,n;let{theme:r}=e;return{color:null===(t=r.listBox)||void 0===t||null===(n=t.content)||void 0===n?void 0:n.color}}));function yO(e){let{selections:t,model:n,keyboard:r,dense:o=!1,visible:a=!0}=e;const{translator:i}=d.useContext(uS),[l,s]=d.useState(""),c=Bv(),{getStoreValue:u}=ER(n),p=async()=>{if(t.isModal())try{await n.abortListObjectSearch(mO)}finally{s("")}};d.useEffect((()=>{a||p()}),[a]),d.useEffect((()=>(t.on("deactivated",p),()=>{t.removeListener&&t.removeListener("deactivated",p)})),[]);const f=async()=>{let e;return await n.searchListObjectFor(mO,l)&&l.length&&u("listCount")>0&&(e=n.acceptListObjectSearch(mO,!0),t.selectionsMade=!0,s("")),e};return a?G.createElement(vO,{startAdornment:G.createElement(gO,{position:"start"},G.createElement(hO,{size:o?"small":"normal"})),className:"search",sx:[{border:"none",borderRadius:0,backgroundColor:"transparent","& fieldset":{border:"1px solid ".concat(c.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"}},o&&{fontSize:12,paddingLeft:c.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}],size:"small",fullWidth:!0,placeholder:i.get("Listbox.Search"),value:l,onFocus:()=>{t.isModal()||t.begin(["/qListObjectDef"])},onChange:async e=>(s(e.target.value),e.target.value.length?n.searchListObjectFor(mO,e.target.value):p()),onKeyDown:async e=>{let n;switch(e.key){case"Enter":n=await f();break;case"Escape":n=t.isActive()&&t.cancel(),e.preventDefault(),e.stopPropagation()}return n},inputProps:{tabIndex:!r||r.enabled&&!r.active?-1:0}}):null}function bO(e){return Object.keys(ne.prototype).forEach((t=>{e[t]=ne.prototype[t]})),ne.init(e),e}const xO=e=>{let t,{appSelections:n,appModal:r,model:o}=e,a=!1,i=!1;const l={id:o.id,setLayout(e){t=e},begin(e){const t=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",t),t.isPrevented()?Promise.resolve():(a=!0,this.emit("activated"),r.begin(o,e,!0))},clear(){return i=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm(){return i=!1,a=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return i=!1,a=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},async select(e){const t=this.begin([e.params[0]]);if(!n.isModal())return!1;await t;const r=await o[e.method](...e.params);return i="resetMadeSelections"!==e.method,!!r||(o.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked&&!t.qListObject.qDimensionInfo.qIsOneAndOnlyOne:i,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:i,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo)||!t.qListObject.qDimensionInfo.qLocked,isActive:()=>a,isModal:()=>n.isModal(o),goModal:e=>r.begin(o,e,!1),noModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.end(e)}};return bO(l),l},SO=e=>{let{elements:t,objectSelections:n}=e;const r=function(e){let{elements:t,handleClickOutside:n}=e;return e=>{if(!document.contains(e.target))return;const r=t.map((e=>"string"==typeof e?document.querySelector(e):null==e?void 0:e.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((t=>t.contains(e.target)))&&n(e)}}({elements:t,handleClickOutside:()=>n.confirm.call(n)});return{activateClickOut(){document.addEventListener("mousedown",r)},deactivateClickOut(){document.removeEventListener("mousedown",r)}}};function wO(e,t,n){const r=Array.isArray(n)?n:[n],[o]=BS(e),[a]=OS(t),i=t?t.id:null,[l]=AS(),[s]=qS(),c=l.get(e.id);let u=s.get(i);return d.useEffect((()=>{o&&t&&!u&&(u=xO({appSelections:o,appModal:c,model:t}),s.set(i,u),s.dispatch(!0))}),[o,t]),d.useEffect((()=>{if(!u)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=SO({elements:r,objectSelections:u});return u.addListener("activated",e),u.addListener("deactivated",t),()=>{u.removeListener("activated",e),u.removeListener("deactivated",t)}}),[u]),d.useEffect((()=>{u&&u.setLayout(a)}),[u,a]),[u]}const EO=function(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:r};function CO(e){const t=(null==e?void 0:e.qListObject.qDimensionInfo.qStateCounts)||{};return EO(t,"qSelected",0)+EO(t,"qSelectedExcluded",0)+EO(t,"qLocked",0)+EO(t,"qLockedExcluded",0)>0}function kO(e){let{alignTo:t,anchorOrigin:n={vertical:"bottom",horizontal:"center"},transformOrigin:r={vertical:"top",horizontal:"center"},show:o,close:a,app:i,fieldName:l,stateName:s="$"}=e;const c=o&&Boolean(t.current),[u,p]=d.useState(0),f=Bv(),[h]=_S({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[l]}}},i,l,s),m=d.useCallback((()=>{h.lock("/qListObjectDef")}),[h]),g=d.useCallback((()=>{h.unlock("/qListObjectDef")}),[h]),{translator:v}=d.useContext(uS),y=d.useRef(),b=d.useRef(),[x]=wO(i,h,b),[S]=OS(h);if(d.useEffect((()=>{x&&c&&(x.isModal(h)||x.goModal("/qListObjectDef"))}),[x,c]),!h||!S||!v)return null;const w=!0===S.qListObject.qDimensionInfo.qLocked,E=(e,t)=>{const n="escapeKeyDown"!==t;x.noModal(n),a()},C=GR({layout:S,model:h,translator:v}),k=CO(S);return G.createElement(Sk,{open:c,onClose:E,anchorEl:t.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},G.createElement(pC,{container:!0,direction:"column",gap:0,ref:b},G.createElement(pC,{item:!0,container:!0,style:{padding:f.spacing(1)}},G.createElement(pC,{item:!0},w?G.createElement(dw,{onClick:g,disabled:!w,size:"large"},G.createElement(hL,{title:v.get("Listbox.Unlock")})):G.createElement(dw,{onClick:m,disabled:!k,size:"large"},G.createElement(mL,{title:v.get("Listbox.Lock")}))),G.createElement(pC,{item:!0,xs:!0}),G.createElement(pC,{item:!0},G.createElement(fO,{more:{enabled:!w,actions:C,alignTo:y,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:x,onConfirm:E,onCancel:()=>E(0,"escapeKeyDown")}}))),G.createElement(pC,{item:!0,xs:!0},G.createElement("div",{ref:y}),G.createElement(yO,{selections:x,model:h,listCount:u,visible:!0}),G.createElement(BR,{model:h,selections:x,direction:"ltr",onSetListCount:e=>p(e)}))))}function LO(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}=e;const{translator:l}=d.useContext(uS),s=a||d.useRef(),c=Bv(),[u,p]=d.useState(!1),f=e=>{e.currentTarget.contains(e.target)&&p(!u)},h=()=>{p(!1),i()},m=t.selections[r];void 0===m.qTotal&&(m.qTotal=0);const g=m.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},v=(g.qSelected+g.qLocked)/m.qTotal,y=g.qAlternative/m.qTotal,b=(g.qExcluded+g.qLockedExcluded+g.qSelectedExcluded)/m.qTotal,x=g.qSelected+g.qSelectedExcluded+g.qLocked+g.qLockedExcluded,S=0===x&&0===m.qTotal;let w="";m.qTotal===x&&m.qTotal>1?w=l.get("CurrentSelections.All"):x>1&&m.qTotal?w=l.get("CurrentSelections.Of",[x,m.qTotal]):m.qSelectedFieldSelectionInfo&&(w=m.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==t.states[r]&&(w="".concat(t.states[r],": ").concat(w));const E=[{color:c.palette.selected.main,ratio:v},{color:c.palette.selected.alternative,ratio:y},{color:c.palette.selected.excluded,ratio:b}];E.forEach(((e,t)=>{e.offset=t?E[t-1].offset+E[t-1].ratio:0}));let C=null,k=null,L=null,R=null;return a||(C=G.createElement(pC,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:m.qLocked?"0.3":""}},G.createElement(yw,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},m.qField),G.createElement(yw,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},w)),m.qLocked?k=G.createElement(pC,{item:!0},G.createElement(dw,{size:"large"},G.createElement(hL,null))):m.qOneAndOnlyOne||(k=G.createElement(pC,{item:!0},G.createElement(dw,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(m.qField,t.states[r])},size:"large"},G.createElement(fL,null)))),L=G.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===S&&E.map((e=>G.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})))),R=G.createElement(pC,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&f||null},C,k,L,u&&G.createElement(kO,{alignTo:s,show:u,close:h,app:n.model,fieldName:m.qField,stateName:t.states[r]}))),a?G.createElement(kO,{alignTo:s,show:!0,close:h,app:n.model,fieldName:m.qField,stateName:t.states[r]}):R}var RO=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e));const OO={item:"".concat("MultiState","-item")},IO=Vv(pC)((e=>{let{theme:t}=e;return{["&.".concat(OO.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"}}}));function _O(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const[a,i]=d.useState(!!r),[l,s]=d.useState(-1),[c,u]=d.useState(r?r.current:null),p=r||d.useRef(),{translator:f}=d.useContext(uS),h=f.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let g=null;r||(g=G.createElement(G.Fragment,null,G.createElement(pC,{item:!0,xs:!0,zeroMinWidth:!0},G.createElement(nE,{style:{padding:"0px 8px"},color:"secondary",badgeContent:t.states.length},G.createElement(yw,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),G.createElement(pC,{item:!0},G.createElement("div",{style:{width:"12px"}})),G.createElement(pC,{item:!0},G.createElement(dw,{size:"large"},G.createElement(RO,null)))));const v=G.createElement(AC,{dense:!0},G.createElement(XC,{title:h,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},G.createElement(Qx,{variant:"contained",fullWidth:!0},h)),t.states.map(((e,r)=>G.createElement(XC,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,r)},G.createElement(oE,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},G.createElement(LO,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),y=G.createElement(Sk,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},v),b=r?y:G.createElement(IO,{container:!0,gap:0,className:OO.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),p.current=e.currentTarget,i(!a))}},g,a&&y,l>-1&&G.createElement(kO,{alignTo:p,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?G.createElement(kO,{alignTo:p,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const TO="More",PO={item:"".concat(TO,"-item"),badge:"".concat(TO,"-badge")},NO=Vv(pC)((e=>{let{theme:t}=e;return{["&.".concat(PO.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(PO.badge)]:{padding:t.spacing(0,1)}}}));function MO(e){let{items:t=[],api:n}=e;const r=Bv(),[o,a]=d.useState(!1),[i,l]=d.useState(-1),[s,c]=d.useState(null),u=d.useRef(),p=()=>{l(-1)};let f=null;return i>-1&&(f=t[i].states.length>1?G.createElement(_O,{field:t[i],api:n,moreAlignTo:u,onClose:p}):G.createElement(LO,{field:t[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:p})),G.createElement(NO,{container:!0,gap:0,className:PO.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},G.createElement(pC,{item:!0},G.createElement(oE,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},G.createElement(yw,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),G.createElement(pC,{item:!0},G.createElement(dw,{size:"large"},G.createElement(RO,null))),o&&G.createElement(Sk,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},G.createElement(AC,{dense:!0},t.map(((e,t)=>G.createElement(XC,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,t)},G.createElement(oE,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?G.createElement(_O,{field:e,api:n}):G.createElement(LO,{field:e,api:n}))))))),f)}function zO(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function AO(e){let{api:t,app:n}=e;const r=Bv(),[o]=PS(n),[a]=OS(o),[i,l]=d.useState({items:[],more:[]}),[s]=FS(),[c,u]=uL(),[p,f]=d.useState(0);return d.useEffect((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);f(n)}),[u]),d.useEffect((()=>{if(!(n&&o&&a&&p))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&zO(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>zO(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e]))}(a);l((t=>{const r=e;if((()=>{const e=s.get(n.id);return e&&"njsListbox"===e.genericType})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return p<r.length&&(o=r.splice(p-r.length)),{items:r,more:o}}))}),[n,o,a,t.isInModal(),p]),G.createElement(pC,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((e=>G.createElement(pC,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?G.createElement(_O,{field:e,api:t}):G.createElement(LO,{field:e,api:t})))),i.more.length>0&&G.createElement(pC,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},G.createElement(MO,{items:i.more,api:t})))}var DO=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e));var qO=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));function jO(e){let{api:t,app:n}=e;const{translator:r}=d.useContext(uS),[o]=NS(n);return G.createElement(pC,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},G.createElement(pC,{item:!0},G.createElement(dw,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back(),size:"large"},G.createElement(DO,null))),G.createElement(pC,{item:!0},G.createElement(dw,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward(),size:"large"},G.createElement(qO,null))),G.createElement(pC,{item:!0},G.createElement(dw,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear(),size:"large"},G.createElement(eO,null))))}const FO=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function $O(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function BO(){return FO.map($O).join("")}function WO(e){let{app:t}=e;const n=Bv(),[r]=BS(t);return r?G.createElement(pC,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},G.createElement(pC,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},G.createElement(jO,{api:r,app:t})),G.createElement(pC,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},G.createElement(AO,{api:r,app:t}))):null}function HO(e){let{element:t,app:n}=e;return xp.createPortal(G.createElement(WO,{app:n}),t,BO())}var UO=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},VO=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),GO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KO=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},ZO=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},XO=void 0;XO="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var QO=null,YO=null,JO=XO.clearTimeout,eI=XO.setTimeout,tI=XO.cancelAnimationFrame||XO.mozCancelAnimationFrame||XO.webkitCancelAnimationFrame,nI=XO.requestAnimationFrame||XO.mozRequestAnimationFrame||XO.webkitRequestAnimationFrame;function rI(e){var t=void 0,n=void 0,r=void 0,o=void 0,a=void 0,i=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;i(this),this.__resizeRAF__&&QO(this.__resizeRAF__),this.__resizeRAF__=YO((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var c=!1,u="";r="animationstart";var d="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f=document.createElement("fakeelement");if(void 0!==f.style.animationName&&(c=!0),!1===c)for(var h=0;h<d.length;h++)if(void 0!==f.style[d[h]+"AnimationName"]){u="-"+d[h].toLowerCase()+"-",r=p[h],c=!0;break}t="@"+u+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=u+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){var u=a.ownerDocument,d=XO.getComputedStyle(a);d&&"static"===d.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(u),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=u.createElement("div")).className="resize-triggers";var p=u.createElement("div");p.className="expand-trigger",p.appendChild(u.createElement("div"));var f=u.createElement("div");f.className="contract-trigger",a.__resizeTriggers__.appendChild(p),a.__resizeTriggers__.appendChild(f),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==tI||null==nI?(QO=JO,YO=function(e){return eI(e,20)}):(QO=function(e){var t=ZO(e,2),n=t[0],r=t[1];tI(n),JO(r)},YO=function(e){var t=nI((function(){JO(n),e()})),n=eI((function(){tI(t),e()}),20);return[t,n]});var oI=function(e){function t(){var e,n,r;UO(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=KO(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var a=r._parentNode.offsetHeight||0,i=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,c=parseInt(l.paddingRight,10)||0,u=parseInt(l.paddingTop,10)||0,d=parseInt(l.paddingBottom,10)||0,p=a-u-d,f=i-s-c;(!t&&r.state.height!==p||!n&&r.state.width!==f)&&(r.setState({height:a-u-d,width:i-s-c}),o({height:a,width:i}))}},r._setRef=function(e){r._autoSizer=e},KO(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),VO(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=rI(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,a=e.style,i=this.state,l=i.height,s=i.width,c={overflow:"visible"},u={},p=!1;return r||(0===l&&(p=!0),c.height=0,u.height=l),o||(0===s&&(p=!0),c.width=0,u.width=s),d.createElement("div",{className:n,ref:this._setRef,style:GO({},c,a)},!p&&t(u))}}]),t}(d.PureComponent);oI.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const aI="ListBoxInline",iI={listBoxHeader:"".concat(aI,"-listBoxHeader"),screenReaderOnly:"".concat(aI,"-screenReaderOnly")},lI=Vv(pC)((e=>{var t,n;let{theme:r}=e;return{backgroundColor:null!==(t=null===(n=r.listBox)||void 0===n?void 0:n.backgroundColor)&&void 0!==t?t:r.palette.background.default,["& .".concat(iI.listBoxHeader)]:{alignSelf:"center",display:"inline-flex"},["& .".concat(iI.screenReaderOnly)]:{position:"absolute",height:0,width:0,overflow:"hidden"}}})),sI=Vv(yw)((e=>{var t,n,r,o,a,i,l,s,c;let{theme:u}=e;return{color:null===(t=u.listBox)||void 0===t||null===(n=t.title)||void 0===n||null===(r=n.main)||void 0===r?void 0:r.color,fontSize:null===(o=u.listBox)||void 0===o||null===(a=o.title)||void 0===a||null===(i=a.main)||void 0===i?void 0:i.fontSize,fontFamily:null===(l=u.listBox)||void 0===l||null===(s=l.title)||void 0===s||null===(c=s.main)||void 0===c?void 0:c.fontFamily}}));function cI(e){var t,n;let{options:r={}}=e;const{direction:o,frequencyMode:a,listLayout:i,checkboxes:l,search:s=!0,focusSearch:c=!1,toolbar:u=!0,rangeSelect:p=!0,model:f,selections:h,update:m,fetchStart:g,selectDisabled:v=(()=>!1),postProcessPages:y,calculatePagesHeight:b,showGray:x=!0,scrollState:S}=r,w=Bv(),E=d.useCallback((()=>{f.lock("/qListObjectDef")}),[f]),C=d.useCallback((()=>{f.unlock("/qListObjectDef")}),[f]),{translator:k,keyboardNavigation:L,themeApi:R}=d.useContext(uS);w.listBox=(e=>{const t=t=>e.getStyle("object","","listBox.".concat(t));return{backgroundColor:t("backgroundColor"),title:{main:{color:t("title.main.color"),fontSize:t("title.main.fontSize"),fontFamily:t("title.main.fontFamily")}},content:{color:t("content.color"),fontSize:t("content.fontSize"),fontFamily:t("content.fontFamily")}}})(R);const O=d.useRef(),[I,_]=(()=>{const[e,t]=d.useState({}),n=d.useCallback((e=>{t({current:e})}),[t]);return[e,n]})(),[T]=OS(f),[P,N]=d.useState(!1),[M,z]=d.useState(!1),[A,D]=d.useState(!1),q=jL({setKeyboardActive:D}),j={enabled:L,active:A};if(d.useEffect((()=>{const e=()=>{N(!0)},t=()=>{N(!1),"toggle"===s&&z(!1)};return h&&(h.isModal()||(h.on("deactivated",t),h.on("activated",e)),N(h.isActive())),()=>{h&&h.removeListener&&(h.removeListener("deactivated",e),h.removeListener("activated",t))}}),[h]),d.useEffect((()=>{if(I&&I.current&&(s&&c||"toggle"===s&&M)){const e=I.current.querySelector("input");e&&e.focus()}}),[I&&I.current,M,s,c]),!f||!T||!k)return null;const F=!0===T.qListObject.qDimensionInfo.qLocked,$=u?GR({layout:T,model:f,translator:k}):[],B=CO(T),W=(!0===s||"toggle"===s&&M)&&!v(),H=null!==(t=null===(n=T.layoutOptions)||void 0===n?void 0:n.dense)&&void 0!==t&&t,U=49+(W?H?27:40:0)+(H?39:49),V=()=>{z(!M)};return G.createElement(lI,{className:"listbox-container",container:!0,tabIndex:j.enabled&&!j.active?0:-1,direction:"column",gap:0,style:{height:"100%",minHeight:"".concat(U,"px"),flexFlow:"column nowrap"},onKeyDown:q},u&&G.createElement(pC,{item:!0,container:!0,style:{padding:w.spacing(1)}},G.createElement(pC,{item:!0},F?G.createElement(dw,{tabIndex:-1,onClick:C,disabled:!F,size:"large"},G.createElement(hL,{title:k.get("Listbox.Unlock")})):"toggle"!==s||B?G.createElement(dw,{onClick:E,tabIndex:-1,disabled:!B,size:"large"},G.createElement(mL,null)):G.createElement(dw,{onClick:V,tabIndex:-1,title:k.get("Listbox.Search"),size:"large"},G.createElement(hO,null))),G.createElement(pC,{item:!0,className:iI.listBoxHeader},G.createElement(sI,{variant:"h6",noWrap:!0},T.title||T.qListObject.qDimensionInfo.qFallbackTitle)),G.createElement(pC,{item:!0,xs:!0}),G.createElement(pC,{item:!0},G.createElement(fO,{more:{enabled:!F,actions:$,alignTo:O,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:P,api:h,onConfirm:()=>{},onCancel:()=>{}}}))),G.createElement(pC,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"".concat(U,"px")},role:"region","aria-label":k.get("Listbox.ResultFilterLabel")},G.createElement(pC,{item:!0,ref:_},G.createElement("div",{className:iI.screenReaderOnly},k.get("Listbox.Search.ScreenReaderInstructions")),G.createElement(yO,{selections:h,model:f,dense:H,keyboard:j,visible:W,searchContainerRef:_})),G.createElement(pC,{item:!0,xs:!0},G.createElement("div",{ref:O}),G.createElement("div",{className:iI.screenReaderOnly},k.get("Listbox.ScreenReaderInstructions")),G.createElement(oI,null,(e=>{let{height:t,width:n}=e;return G.createElement(BR,{model:f,selections:h,direction:o,listLayout:i,frequencyMode:a,rangeSelect:p,checkboxes:l,height:t,width:n,update:m,fetchStart:g,postProcessPages:y,calculatePagesHeight:b,selectDisabled:v,keyboard:j,showGray:x,scrollState:S})})))))}const uI=["__DO_NOT_USE__"],dI=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,n=u(e,uI),r={update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1},o=l(l(l({},n),r),t);return o};function pI(e){let{app:t,fieldIdentifier:n,qId:r,stateName:o,element:a,options:i}=e;const{isExistingObject:s,hasExternalSelectionsApi:c}=function(e){let{qId:t,options:n}=e;return{isExistingObject:!(!t&&!n.sessionModel),hasExternalSelectionsApi:!!n.selectionsApi}}({qId:r,options:i}),[u,p]=d.useState(0);d.useEffect((()=>{if(u)throw new Error("Source or selection Api can not change after a listbox has been mounted");p(u+1)}),[s,c]);const f=s?function(e){let{app:t,qId:n,options:r={}}=e;const[o,a]=d.useState(),[i]=CS(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error('Option "'.concat(c.join(", "),'" is not applicable for existing objects.'));return d.useEffect((()=>{l?a(l):async function(){const e=i.get(n);if(e)a(e);else{const e=await t.getObject(n);i.set(e.id,e),a(e)}}()}),[]),o}({app:t,qId:r,options:i}):function(e){let{app:t,fieldIdentifier:n,stateName:r,options:o={}}=e;const[a,i]=d.useState(""),[l,s]=d.useState(!0),[c,u]=d.useState();d.useEffect((()=>{const e=o.histogram||"N"!==o.frequencyMode;n.qLibraryId&&e?async function(){try{const e=await t.getDimension(n.qLibraryId),r=await e.getLayout();i(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""),s(!1)}catch(e){throw s(!1),i({failedToFetchFieldDef:!0}),new Error("Disabling frequency count and histogram: ".concat(e&&e.message))}}():s(!1)}),[]);const{title:p,dense:f,checkboxes:h,properties:m={}}=o;let{frequencyMode:g,histogram:v=!1}=o;switch(a&&a.failedToFetchFieldDef&&(v=!1,g="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(g):g="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(g):g="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(g):g="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(g):g="R";break;default:g="N"}const y={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:r,qShowAlternatives:!0,qFrequencyMode:v&&"N"===g?"V":g,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:v,checkboxes:h,layoutOptions:{dense:f},title:p};let b;if(Ve(!0,y,m),n.qLibraryId?(y.qListObjectDef.qLibraryId=n.qLibraryId,b=n.qLibraryId):(y.qListObjectDef.qDef.qFieldDefs=[n],b=n),"N"!==g||v){const e=n.qLibraryId?a:b;y.frequencyMax={qValueExpression:"Max(AGGR(Count([".concat(e,"]), [").concat(e,"]))")}}const[x]=_S(y,l?null:t,b,r);return d.useEffect((()=>{x&&u(x)}),[x]),c}({app:t,fieldIdentifier:n,stateName:o,options:i}),h=d.useRef(a),m=c?i.selectionsApi:wO(t,f,h)[0];if(!m||!f)return null;const g=l(l({},i),{},{selections:m,model:f});return G.createElement(cI,{options:g})}function fI(e){let{element:t,app:n,fieldIdentifier:r,qId:o,stateName:a="$",options:i={}}=e;return xp.createPortal(G.createElement(pI,{app:n,element:t,fieldIdentifier:r,qId:o,stateName:a,options:i}),t,BO())}const hI={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},mI=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=l({},hI);return Ve(!0,t,e),t};function gI(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:a={}}=e;const[i,l]=d.useState(!!a.show);return G.createElement(kO,{show:i,app:t,alignTo:{current:o},anchorOrigin:a.anchorOrigin,transformOrigin:a.transformOrigin,close:()=>{l(!1)},fieldName:n,stateName:r})}function vI(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function yI(e,t){let n=0;for(let r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function bI(e){let{sn:t,properties:n,fields:r}=e;if(!r.length)return;const o=t.qae.data.targets[0];if(!o)return;const{propertyPath:a}=o,i=a.split("/");let s=n;for(let e=0;e<i.length;e++){const t=i[e];s=t?s[t]:s}const c=function(e){let{dc:t,def:n,properties:r}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const o=r,a={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const r="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):l(l({},e),{},{qDef:e.qDef||{}});return r.qDef.cId=r.qDef.cId||BO(),r.qDef.qSortCriterias=r.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],r.qOtherTotalSpec=r.qOtherTotalSpec||{},r.qAttributeExpressions=r.qAttributeExpressions||[],r.qAttributeDimensions=r.qAttributeDimensions||[],t.qDimensions.length<a.maxDimensions()?(t.qDimensions.push(r),vI(t.qInterColumnSortOrder,t.qDimensions.length-1),n.dimensions.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(r)),r},removeDimension(e){const r=t.qDimensions.splice(e,1)[0];return yI(t.qInterColumnSortOrder,e),n.dimensions.removed(r,o,e),r},addMeasure(e){const r="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):l(l({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||BO(),r.qSortBy=r.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},r.qAttributeDimensions=r.qAttributeDimensions||[],r.qAttributeExpressions=r.qAttributeExpressions||[],t.qMeasures.length<a.maxMeasures()?(t.qMeasures.push(r),vI(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),n.measures.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(r))},removeMeasure(e){const r=t.qMeasures.splice(e,1)[0];yI(t.qInterColumnSortOrder,t.qDimensions.length+e),n.measures.removed(r,o,e)},maxDimensions:()=>n.dimensions.max(t.qMeasures.length),maxMeasures:()=>n.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<a.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<a.maxMeasures()};return a}({dc:s,def:o,properties:n});r.forEach((e=>{const t=function(e){return"string"==typeof e&&"="===e[0]||"object"==typeof e&&e.qDef&&e.qDef.qDef||"object"==typeof e&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e);"measure"===t?c.addMeasure(e):c.addDimension(e)}))}var xI=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},SI=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},wI=e=>0===Object.keys(e).length&&e.constructor===Object;var EI={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}};const CI=2**53-1;function kI(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function LI(e,t){const n=Ve(!0,{},t,e);return xI(n,"qOtherTotalSpec.qOtherCounted")||SI(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),xI(n,"qOtherTotalSpec.qOtherLimit")||SI(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function RI(e,t){return Ve(!0,{},t,e)}function OI(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var II={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===xI(e,t)&&SI(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:kI,importCommonProperties:function(e,t,n){const r="masterobject"===xI(t,"properties.qInfo.qType")?"masterobject":xI(n,"qInfo.qType");SI(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:LI,createDefaultMeasure:RI,resolveValue:OI,getHypercubePath:function(e){const t=xI(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){let{exportFormat:t,newHyperCubeDef:n}=e;const r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let a=n.qInterColumnSortOrder.length;if(a!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());a!==o;)a<o?(EI.indexAdded(n.qInterColumnSortOrder,a),++a):(--a,EI.indexRemoved(n.qInterColumnSortOrder,a))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=Ve(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?SI(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||kI(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=Ve(!0,{},n,o),null===o.components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],o=n.dimensions||{max:0},a=n.measures||{max:0},i=OI(a.max,r.dimensions.length,CI),l=OI(a.min,r.dimensions.length,0);return{maxDimensions:OI(o.max,i,CI),minDimensions:OI(o.min,l,0),maxMeasures:i,minMeasures:l}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a}=e;const i=t.data[0];return i.dimensions.length>n&&n>0||i.measures.length>o&&o>0||i.excludedDimensions.length>0&&i.dimensions.length+i.excludedDimensions.length>r||i.excludedMeasures.length>0&&i.measures.length+i.excludedMeasures.length>a||!o&&i.measures.length>0||!n&&i.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a,newHyperCubeDef:i}=e;const l=t.data[0];i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.qHyperCubeDef||(i.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>a)&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:o,defaultDimension:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.dimensions.length;++l)o.qDimensions.length<n?o.qDimensions.push(LI(i.dimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(LI(i.dimensions[l],a));else if(i.dimensions.length)for(l=0;l<i.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(LI(i.dimensions[l],a));if(i.excludedDimensions.length)for(l=0;l<i.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(LI(i.excludedDimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(LI(i.excludedDimensions[l],a))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:o,defaultMeasure:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.measures.length;++l)o.qMeasures.length<n?o.qMeasures.push(RI(i.measures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(RI(i.measures[l],a));else if(i.measures.length)for(l=0;l<i.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push(RI(i.measures[l],a));if(i.excludedMeasures.length)for(l=0;l<i.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push(RI(i.excludedMeasures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(RI(i.excludedMeasures[l],a))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=xI(t,r||"").qHyperCubeDef,o=[...e.qDimensions];e.qDimensions=[],o.forEach((r=>{e.qDimensions.push(r),n.dimensions.added(r,t)}))}},updateMeasuresOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.measures&&"function"==typeof n.measures.added){const e=xI(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}};var _I={exportProperties:e=>function(e){let{propertyTree:t,hypercubePath:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),o=t.qProperty,a=xI(o,n||""),i=a.qHyperCubeDef,l=r.data[0];if(i.qInterColumnSortOrder||(i.qInterColumnSortOrder=[]),l.dimensions.push(...i.qDimensions),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qDimensions&&l.excludedDimensions.push(...i.qLayoutExclude.qHyperCubeDef.qDimensions),l.measures.push(...i.qMeasures),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qMeasures&&l.excludedMeasures.push(...i.qLayoutExclude.qHyperCubeDef.qMeasures),l.interColumnSortOrder=i.qInterColumnSortOrder.concat(),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();EI.isOrderedSubset(e,l.interColumnSortOrder)&&(l.interColumnSortOrder=e)}return delete i.qLayoutExclude,Object.keys(o).forEach((e=>{r.properties[e]=o[e]})),n&&(r.properties.qHyperCubeDef=a.qHyperCubeDef,delete a.qHyperCubeDef),o.qLayoutExclude||(o.qLayoutExclude={}),o.qLayoutExclude.disabled&&(Object.keys(o.qLayoutExclude.disabled).forEach((e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=o.qLayoutExclude.disabled[e])})),delete o.qLayoutExclude.disabled),o.qLayoutExclude.changed&&(II.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!wI(o.qLayoutExclude.quarantine)||delete o.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:o={},hypercubePath:a}=e;const i={qChildren:[]},l=II.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:a}),s=xI(n,a||"").qHyperCubeDef,c=xI(l,a||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f}=II.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:h=II.getDefaultDimension(),defaultMeasure:m=II.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,II.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f})&&II.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:c}),II.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:h}),II.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:c,defaultMeasure:m}),II.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),II.copyPropertyIfExist("qMaxStackedCells",s,c),II.copyPropertyIfExist("qNoOfLeftDims",s,c),II.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),II.copyPropertyOrSetDefault("qMode",s,c,"S"),II.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),II.copyPropertyOrSetDefault("qSortbyYValue",s,c),II.copyPropertyOrSetDefault("qIndentMode",s,c),II.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),II.importCommonProperties(l,t,n),II.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),II.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),i.qProperty=l,i}(e)};const TI=e=>xI(e,"data.targets.0.propertyPath"),PI=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return _I.exportProperties})(TI(e))},NI=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return _I.importProperties})(TI(e))},MI=async e=>{let{halo:t,model:n,cellRef:r,newType:o}=e;const a=await n.getFullPropertyTree(),i=r.current.getQae(),s=PI(i),c=await(async e=>{let{halo:t,name:n,version:r}=e;const{types:o}=t;return await o.get({name:n,version:r}).supernova()})({halo:t,name:o}),u=c.qae;return NI(u)({exportFormat:s({propertyTree:a,hypercubePath:II.getHypercubePath(i)}),initialProperties:l({qInfo:{qType:o},visualization:o},xI(u,"properties.initial",{})),dataDefinition:xI(u,"data.targets.0.",{}),hypercubePath:II.getHypercubePath(u)})},zI={hypercube:_I};var AI=e=>pL((e=>l(l({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function DI(e){let{d:t}=e;const n=Bv();let r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);const a={color:o},i=G.createElement(yw,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},G.createElement(EC,null,t.missing||t.error?G.createElement(AI,{style:a}):G.createElement(OL,{style:a})));return G.createElement(pC,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},G.createElement(pC,{item:!0},i),G.createElement(pC,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},G.createElement(yw,{noWrap:!0,component:"p"},G.createElement(yw,{component:"span",variant:"subtitle2",color:r},t.description),G.createElement(yw,{component:"span"}," "),G.createElement(yw,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function qI(e){let{data:t}=e;const n=Bv();return G.createElement(pC,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>G.createElement(DI,{d:e,key:t})));return r.length>0&&G.createElement(pC,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},G.createElement(yw,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))}function jI(e){let{title:t="Error",message:n="",data:r=[]}=e;return G.createElement(pC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},G.createElement(pC,{item:!0},G.createElement(AI,{style:{fontSize:"38px"}})),G.createElement(pC,{item:!0},G.createElement(yw,{variant:"h6",align:"center","data-tid":"error-title"},t)),G.createElement(pC,{item:!0},G.createElement(yw,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),G.createElement(qI,{data:r}))}const FI=["size"],$I="Progress",BI={root:"".concat($I,"-root"),front:"".concat($I,"-front"),back:"".concat($I,"-back")},WI=Vv("div")((e=>{let{theme:t}=e;return{["&.".concat(BI.root)]:{position:"relative",display:"inline-block"},["& .".concat(BI.front)]:{color:t.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},["& .".concat(BI.back)]:{color:t.palette.divider}}})),HI={small:16,medium:32,large:64,xlarge:128};function UI(e){let{size:t="medium"}=e,n=u(e,FI);const r=HI[t];return G.createElement(WI,{className:BI.root},G.createElement(DE,c({variant:"determinate",value:100,className:BI.back,size:r,thickness:3},n)),G.createElement(DE,c({variant:"indeterminate",disableShrink:!0,className:BI.front,size:r,thickness:3},n)))}const VI=["cancel","translator"],GI=["retry","translator"],KI={stripes:"".concat("LongRunningQuery","-stripes")},ZI=Vv(pC)((()=>({["& .".concat(KI.stripes)]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function XI(e){let{cancel:t,translator:n}=e,r=u(e,VI);return G.createElement(G.Fragment,null,G.createElement(ZI,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},G.createElement(pC,{item:!0},G.createElement(UI,null)),G.createElement(pC,{item:!0},G.createElement(yw,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),G.createElement(pC,c({item:!0},r),G.createElement(Qx,{variant:"contained",onClick:t},n.get("Cancel"))))}function QI(e){let{retry:t,translator:n}=e,r=u(e,GI);return G.createElement(G.Fragment,null,G.createElement(pC,{item:!0},G.createElement(AI,{style:{fontSize:"38px"}})),G.createElement(pC,{item:!0},G.createElement(yw,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),G.createElement(pC,{item:!0},G.createElement(Qx,c({variant:"contained",onClick:t},r),n.get("Retry"))))}function YI(e){let{canCancel:t,canRetry:n,api:r}=e;const{translator:o}=d.useContext(uS);return G.createElement(pC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:KI.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t&&G.createElement(XI,{cancel:r.cancel,translator:o,className:KI.cancel}),n&&G.createElement(QI,{retry:r.retry,translator:o,className:KI.retry}))}function JI(){return G.createElement(pC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},G.createElement(UI,{size:"large"}))}const e_="Header",t_={containerStyle:"".concat(e_,"-containerStyle"),containerTitleStyle:"".concat(e_,"-containerTitleStyle")},n_=Vv(pC)((e=>{let{theme:t}=e;return{["&.".concat(t_.containerStyle)]:{flexGrow:0},["&.".concat(t_.containerTitleStyle)]:{paddingBottom:t.spacing(1)}}})),r_="njs-cell-title",o_="njs-cell-sub-title";function a_(e){let{layout:t,sn:n,anchorEl:r,hovering:o,focusHandler:a}=e;const i=t.showTitles&&!!t.title,l=t.showTitles&&!!t.subtitle,s=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[c,u]=d.useState([]),[p,f]=uL(),[h,m]=d.useState(!1);d.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),d.useEffect((()=>{if(!f)return;const{width:e}=f;m(e<221)}),[f]);const g=i||l,v=[t_.containerStyle,...g?[t_.containerTitleStyle]:[]],y=(o||s)&&(h||!g),b=g&&!y&&!h,x=G.createElement(fO,{show:b,selections:{show:s,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:c,popover:{show:y,anchorEl:r},focusHandler:a});return G.createElement(n_,{ref:p,item:!0,container:!0,wrap:"nowrap",className:v.join(" ")},G.createElement(pC,{item:!0,zeroMinWidth:!0,xs:!0},G.createElement(pC,{container:!0,wrap:"nowrap",direction:"column"},i&&G.createElement(yw,{variant:"h6",noWrap:!0,className:r_},t.title),l&&G.createElement(yw,{variant:"body2",noWrap:!0,className:o_},t.subtitle))),G.createElement(pC,{item:!0},x))}const i_={itemStyle:"".concat("Footer","-itemStyle")},l_=Vv(pC)((e=>{let{theme:t}=e;return{["& .".concat(i_.itemStyle)]:{minWidth:0,paddingTop:t.spacing(1)}}})),s_="njs-cell-footer";function c_(e){let{layout:t}=e;return t&&t.showTitles&&t.footnote?G.createElement(l_,{container:!0},G.createElement(pC,{item:!0,className:i_.itemStyle},G.createElement(yw,{noWrap:!0,variant:"body2",className:s_},t.footnote))):null}class u_{constructor(){this.timer=null,this.next=null,this.running=!1}start(){this.running||(this.running=!0,this.scheduleNext())}scheduleNext(){this.timer=setTimeout((()=>{this.doNext()}),10)}async doNext(){const e=this.next;this.next=null,e?(await e(),this.scheduleNext()):this.stop()}schedule(e){this.next=e,this.start()}stop(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}const d_="njs-viz";function p_(e){let{sn:t,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:i}=e;const{component:s}=t,{theme:c,language:u,constraints:p,keyboardNavigation:f}=d.useContext(uS),[h]=d.useState((()=>new u_)),[m,g]=d.useState(!1),[v,y]=d.useState(0),[b,x,S]=uL(),[w,E]=d.useState(null),C=d.useCallback((e=>{e&&E(e)}),[]);return d.useEffect((()=>{if(w)return s.created({options:n}),s.mounted(w),g(!0),()=>{h.stop(),s.willUnmount()}}),[w,s]),d.useEffect((()=>{m&&w&&x&&(!s.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||h.schedule((()=>{const e=[];return p.passive||e.push("passive"),p.active||e.push("interact"),p.select||e.push("select"),i.app&&i.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:o,options:n,plugins:r,embed:i.public.nebbie,context:l({constraints:p,theme:i.public.theme,appLayout:a,keyboardNavigation:f},s.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:e})})).then((e=>{!1!==e&&(0===v&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),y(v+1))}))})))}),[x,n,r,w,S,o,a,c,u,p,m,f]),G.createElement("div",{ref:b,"data-render-count":v,style:{position:"relative",height:"100%"},className:d_},G.createElement("div",{ref:C,style:{position:"absolute",width:"100%",height:"100%"}}))}const f_={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},h_={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function m_(e,t){return t?function(e){var t;let n,r,o,a;if(null!=e&&null!==(t=e.session)&&void 0!==t&&t.config)return n=e.session.config,r=new URL(n.url),a="wss:"===r.protocol,o=a?"https://":"http://",o+r.host}(e)+t:void 0}const g_=(e,t)=>{const n=null==e?void 0:e.bgImage;if(n){let a="";var r,o;if("media"===n.mode||"media"===e.useImage)a=null!=n&&null!==(r=n.mediaUrl)&&void 0!==r&&null!==(o=r.qStaticContentUrl)&&void 0!==o&&o.qUrl?decodeURIComponent(n.mediaUrl.qStaticContentUrl.qUrl):void 0,a=m_(t,a);"expression"===n.mode&&(a=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const i=function(e){var t;let n="center center";return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.position&&(n=h_[e.bgImage.position]),n}(e),l=function(e){var t;let n=f_.originalSize;return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.sizing&&(n=f_[e.bgImage.sizing]),n}(e);return a?{url:a,pos:i,size:l}:void 0}},v_=(e,t)=>{const n=null==e?void 0:e.bgColor;if(n&&t)return n.useExpression?t.validateColor(n.colorExpression):n.color&&"none"!==n.color.color?t.getColorPickerColor(n.color,!0):void 0},y_="njs-cell",b_=(e,t)=>{switch(t.type){case"LOADING":return l(l({},e),{},{loading:!0});case"LOADED":return l(l({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return l(l({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return l(l({},e),{},{longRunningQuery:!0});case"ERROR":return l(l({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function x_(e){let{delay:t=750}=e;const[n,r]=d.useState(!1);return d.useEffect((()=>{const e=setTimeout((()=>r(!0)),t);return()=>clearTimeout(e)}),[]),n?G.createElement(JI,null):null}const S_=e=>!e.qError||7005===e.qError.qErrorCode,w_=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c="".concat(l?r:i?s||o:a&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(c.length?":":""):null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),E_=e=>e&&(Array.isArray(e)?e:[e])||[],C_=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:w_(o,E_(i.qDimensionInfo),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:w_(a,E_(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},k_=async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:a,aggMinD:i,aggMinM:l,hasLayoutErrors:s,layoutErrors:c}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),h=E_(f.qDimensionInfo).filter(S_),m=E_(f.qMeasureInfo).filter(S_);if(o+=d,a+=p,(h.length<d||m.length<p)&&(r=!0),f.qError){i=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,o,t),u=[],d=[];let p=null;for(let n=0;n<o.length;++n){const i=o[n];if(!s&&a){const n=p||await r.getProperties();p=n;const o=C_(e,t,n,i);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=u.filter((e=>!(e.missing||e.error))).length,h=e.get("Visualization.Incomplete.Dimensions",[f,i]),m=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[m,l]),v=[{title:h,descriptions:[...u]},{title:g,descriptions:[...d]}],y=s?c:v;return[s||a,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:y}]},L_=d.forwardRef(((e,t)=>{let{halo:n,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:i,onMount:s,currentId:c}=e;const{app:u,types:p}=n,{nebbie:f}=n.public,{disableCellPadding:h=!1}=n.context||{},{theme:m,translator:g,language:v,keyboardNavigation:y}=d.useContext(uS),b=Bv(),[x,S,w]=uL(),[E,C]=d.useReducer(b_,{loading:!1,loaded:!1,longRunningQuery:!1,error:(k=i)?{title:k.message}:null,sn:null,visualization:null});var k;const[L,{validating:R,canCancel:O,canRetry:I},_]=OS(r),[T]=IS(u),[P,N,M]=uL(),[z,A]=d.useState(o),[D,q]=d.useState(a),j="njs-cell-".concat(c),[F]=wO(u,r,["#".concat(j),".njs-action-toolbar-popover"]),[$,B]=d.useState(!1),W=d.useRef({enter:null,leave:null}),[H,U]=d.useState(void 0),[V,K]=d.useState(void 0),Z=d.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});d.useEffect((()=>{bO(Z.current)}),[]),d.useEffect((()=>{const e=null!=L&&L.components?L.components.find((e=>"general"===e.key)):null;U(v_(e,n.public.theme)),K(g_(e,n.app))}),[L,n.public.theme,n.app,m]),Z.current.blurCallback=e=>{n.root.toggleFocusOfCells(),e&&M&&M.focus()},Z.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()};d.useEffect((()=>{if(i||!T||!L)return;if(E.visualization===L.visualization&&E.sn)return void(async e=>{const[t,n]=await k_(g,L,e.generator.qae.data,r);C(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){const{targets:e}=t.generator.qae.data,n=e[0].propertyPath;o.goModal(n)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}})({sn:E.sn,layout:L,model:r})})(E.sn);const e=p.getSupportedVersion(L.visualization,L.version);if(e)return(async(e,t)=>{C({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:a,app:i,selections:l,nebbie:s,focusHandler:c}=e;try{const e=await(async e=>{let{types:t,name:n,version:r}=e;return await t.get({name:n,version:r}).supernova()})({types:n,name:r,version:o});return e.create({model:a,app:i,selections:l,nebbie:s,focusHandler:c})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:C,types:p,visualization:e,version:t,model:r,app:u,selections:F,nebbie:f,focusHandler:Z.current});n&&(C({type:"LOADED",sn:n,visualization:e}),s())})(L.visualization,e),()=>{};C({type:"ERROR",error:{title:"Could not find a version of '".concat(L.visualization,"' that supports current object version. Did you forget to register ").concat(L.visualization,"?")}})}),[p,E.sn,r,F,L,T,v]),d.useEffect((()=>{if(!R)return;const e=setTimeout((()=>C({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[R]),d.useImperativeHandle(t,(()=>({getQae:()=>E.sn.generator.qae,toggleFocus(e){"function"==typeof E.sn.component.focus&&(e?E.sn.component.focus():E.sn.component.blur())},setSnOptions:A,setSnPlugins:q,async takeSnapshot(){const{width:e,height:t}=S;let n=JSON.parse(JSON.stringify(L));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:g.language(),theme:b.name,appLayout:T,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof n.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return n.config.snapshot.capture(e)}})),[E.sn,N,S,L,b.name,T]);let X=null;return E.loading&&!E.longRunningQuery?X=G.createElement(x_,null):E.error?X=G.createElement(jI,E.error):E.loaded&&(X=G.createElement(p_,{key:L.visualization,sn:E.sn,halo:n,snOptions:z,snPlugins:D,layout:L,appLayout:T})),G.createElement(aw,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:H||"unset",backgroundImage:V&&V.url?"url(".concat(V.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:V&&V.size,backgroundPosition:V&&V.pos},elevation:0,square:!0,className:y_,ref:x,id:j,onMouseEnter:()=>{W.current.leave&&clearTimeout(W.current.leave),W.enter||(W.current.enter=setTimeout((()=>{B(!0),W.current.enter=null}),250))},onMouseLeave:()=>{W.current.enter&&clearTimeout(W.current.enter),W.current.leave||(W.current.leave=setTimeout((()=>{B(!1),W.current.leave=null}),750))}},G.createElement(pC,{container:!0,direction:"column",gap:0,style:l(l({position:"relative",width:"100%",height:"100%"},h?{}:{padding:b.spacing(1)}),E.longRunningQuery?{opacity:"0.3"}:{})},w&&L&&E.sn&&G.createElement(a_,{layout:L,sn:E.sn,anchorEl:w,hovering:$,focusHandler:Z.current}," "),G.createElement(pC,{tabIndex:y?0:-1,onKeyDown:y?e=>{["Enter"," ","Spacebar"].includes(e.key)&&n.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:P},X),G.createElement(c_,{layout:L})),E.longRunningQuery&&G.createElement(YI,{canCancel:O,canRetry:I,api:_}))}));function R_(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=G.createRef(),u=BO(),d=xp.createPortal(G.createElement(L_,{ref:c,halo:t,model:r,currentId:u,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,u),p=()=>{s.remove(d),r.removeListener("closed",p)};return r.on("closed",p),s.add(d),s.addCell(u,c),[p,c]}function O_(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function I_(e,t){return O_(e)&&O_(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function __(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r=[];return Object.keys(t).forEach((o=>{const a=t[o];"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?I_(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...__("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function T_(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((e=>{if("object"!=typeof e)throw new Error("Invalid plugin format: a plugin should be an object");if("object"!=typeof e.info||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))}))}const P_=()=>{};function N_(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=P_,a=null,i=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p=async e=>{i?(async()=>{await c,a.current.setSnOptions(l(l({},u),e))})():u=l(l({},u),e)},f=async e=>{T_(e),i?(async()=>{await c,a.current.setSnPlugins(e)})():d=e},h={id:e.id,model:e,async destroy(){await r(),o(),o=P_},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await MI({halo:t,model:e,cellRef:a,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},__DO_NOT_USE__:{mount(r){if(i)throw new Error("Already mounted");return i=r,[o,a]=R_({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=__("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage:()=>a.current.exportImage(),takeSnapshot:()=>a.current.takeSnapshot(),getModel:()=>e}};return h}async function M_(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const a=N_({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}async function z_(e,t){let n,{type:r,version:o,fields:a,properties:i,options:l,plugins:s,element:c,extendProperties:u}=e,d={};try{const e=t.types.get({name:r,version:o});d=await e.initialProperties(i,u);const n=await e.supernova();a&&bI({sn:n,properties:d,fields:a}),i&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},d)}catch(e){n=e,d={qInfo:{qType:r},visualization:r}}const p=await t.app.createSessionObject(d);kS.set(p.id,p);const f=(e=>{const t=ES({type:"SET",value:e});return()=>{t(),kS.clear(e.id)}})(p);return M_(p,{options:l,plugins:s,element:c},t,n,(async()=>{await t.app.destroySessionObject(p.id),f()}))}const A_="njs-sheet";function D_(e){let{model:t,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}=e;const{root:l}=n,[s]=OS(t),{theme:c}=d.useContext(uS),[u,p]=d.useState([]),[f,h]=d.useState(void 0),[m,g]=d.useState(void 0),[v,y]=d.useState("");d.useEffect((()=>{if(s){const e=JSON.stringify(s.cells);if(e===v)return;y(e);const t=async()=>{u.forEach((e=>{l.removeCell(e.currentId)}));const e=s.cells,t=await Promise.all(e.map((async e=>{let t;const r=new Promise((e=>{t=e})),o=u.find((t=>t.id===e.name));if(o)return o.bounds=e.bounds,delete o.mountedPromise,o;const a=await async function(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=bS.get(i);l||(l=t.app.getObject(n),bS.set(i,l));const s=await l;return kS.set(i,s),M_(s,{options:r,plugins:o,element:a},t)}({id:e.name},n);return{model:a.model,id:e.name,bounds:e.bounds,cellRef:G.createRef(),currentId:BO(),mounted:t,mountedPromise:r}})));t.forEach((e=>l.addCell(e.currentId,e.cellRef))),p(t)};t()}}),[s]);const b=d.useMemo((()=>u?u.map((e=>function(e,t,n,r,o,a){const{x:i,y:l,width:s,height:c}=e.bounds;return G.createElement("div",{style:{left:"".concat(i,"%"),top:"".concat(l,"%"),width:"".concat(s,"%"),height:"".concat(c,"%"),position:"absolute"}},G.createElement(L_,{ref:e.cellRef,halo:t,model:e.model,currentId:e.currentId,initialSnOptions:n,initialSnPlugins:r,initialError:o,onMount:a}))}(e,n,r,o,a,e.mounted))):[]),[u]);d.useEffect((()=>{const e=null!=s&&s.components?s.components.find((e=>"general"===e.key)):null;h(v_(e,n.public.theme)),g(g_(e,n.app))}),[s,n.public.theme,n.app,c]);const x=!s||Number.isNaN(s.height)?"100%":"".concat(Number(s.height),"%"),S=u.map((e=>e.mountedPromise)),w=S.filter((e=>!!e));return w.length&&Promise.all(S).then((()=>{i()})),G.createElement("div",{className:A_,style:{width:"100%",height:x,position:"relative",backgroundColor:f,backgroundImage:m&&m.url?"url(".concat(m.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:m&&m.size,backgroundPosition:m&&m.pos}},b)}function q_(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=G.createRef(),u=xp.createPortal(G.createElement(D_,{ref:c,halo:t,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),d=()=>{s.remove(u),r.removeListener("closed",d)};return r.on("closed",d),s.add(u),[d,c]}const j_=()=>{};function F_(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=j_,a=null,i=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p=async e=>{i?(async()=>{await c,a.current.setSnOptions(l(l({},u),e))})():u=l(l({},u),e)},f=async e=>{T_(e),i?(async()=>{await c,a.current.setSnPlugins(e)})():d=e},h={id:e.id,model:e,async destroy(){await r(),o(),o=j_},__DO_NOT_USE__:{mount(r){if(i)throw new Error("Already mounted");return i=r,[o,a]=q_({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=__("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return h}async function $_(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=bS.get(i);l||(l=t.app.getObject(n),bS.set(i,l));const s=await l;return kS.set(i,s),"sheet"===s.genericType?async function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const a=F_({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&a.__DO_NOT_USE__.options(t.options),t.plugins&&a.__DO_NOT_USE__.plugins(t.plugins),t.element&&await a.__DO_NOT_USE__.mount(t.element),a}(s,{options:r,plugins:o,element:a},t):M_(s,{options:r,plugins:o,element:a},t)}function B_(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const W_=Ve.bind(null,!0),H_={},{isArray:U_}=Array;function V_(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function G_(e){return void 0===e}function K_(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Z_(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=G_(e[r||t])?a:e[t],e=e[r||t]})),e}function X_(e,t){let n=!0;if(V_(e)&&V_(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{X_(e[r],t[r])||(n=!1)})),n);if(U_(e)&&U_(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!X_(e[n],t[n]))return!1;return!0}return e===t}H_.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?W_({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);X_(a,i)||K_(t,o)||(G_(i)?r.push({op:"add",path:l,value:a}):V_(a)&&V_(i)?r=r.concat(H_.generate(i,a,l)):U_(a)&&U_(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&G_(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(X_(t,o))return r;if(!G_(t[0])&&G_(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:"".concat(n,"/").concat(e)}),o.splice(e,1)):r=r.concat(H_.generate(o[e],t[a],"".concat(n,"/").concat(e)));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:"".concat(n,"/").concat(e),value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:"".concat(n,"/").concat(e),from:"".concat(n,"/").concat(a)}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((o=>{G_(t[o])&&!K_(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},H_.apply=function(e,t){t.forEach((t=>{let n=Z_(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(U_(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(U_(o)&&U_(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(V_(o)&&V_(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!K_(i,e)&&delete i[e]})),W_(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=Z_(e,t.from);U_(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(U_(n)?n.splice(+r,1):delete n[r]);var i}))},H_.clone=function(e){return W_({},e)},H_.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},H_.updateObject=function(e,t){Object.keys(e).length?H_.apply(e,H_.generate(e,t)):W_(e,t)};const Q_=e=>t=>{const n=(r=l(l({},t),{},{action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0}),Object.keys(ne.prototype).forEach((e=>{r[e]=ne.prototype[e]})),ne.init(r),r);var r;return n};let Y_,J_;function eT(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(let n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function tT(e){let{explicitResize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function nT(e){oT(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}async function rT(e){if(e.__hooks.obsolete)return Promise.resolve();J_=-1,Y_=e,Y_.__hooks.initiated&&Y_.__hooks.list.length;try{Y_.fn.call(null)}catch(e){console.error(e)}Y_.__hooks.initiated=!0;const t=Y_.__hooks;return sT(Y_),J_=void 0,Y_=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){oT(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame((()=>{!function(e){oT(e.pendingEffects),e.macro=null,function(e){if(e.pendingPromises.length||e.micro||e.macro)return;e.chain.promise=null,e.chain.resolve(!e.waitForData)}(e)}(e)}))}(t),t.chain.promise}function oT(e,t){try{e.forEach((e=>{"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function aT(e,t){try{return Promise.all(e.__hooks.snaps.map((e=>Promise.resolve(e.fn(t))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function iT(e,t,n){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function lT(e){return e.__hooks.imperativeHandle}function sT(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function cT(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,sT(e))}function uT(e){if(void 0===Y_)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Y_.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function dT(e){uT(++J_);return Y_.context[e]}function pT(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function fT(e){return{__hooked:!0,fn:e,initiate:tT,run:rT,teardown:nT,runSnaps:aT,runMenu:iT,focus:bT,blur:xT,observeActions:cT,getImperativeHandle:lT,updateRectOnNextRun:pT}}function hT(e){const t=uT(++J_);if(!t.value){t.component=Y_;const n=e=>{if(t.component.__hooks.obsolete)return;const n="function"==typeof e?e(t.value[0]):e;var r;n!==t.value[0]&&(t.value[0]=n,(r=t.component).__hooks.micro||(r.__hooks.micro=setTimeout((()=>{r.__hooks.micro=null,rT(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function mT(e,t){const n=uT(++J_);eT(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Y_.__hooks.pendingEffects.indexOf(n)&&Y_.__hooks.pendingEffects.push(n))}function gT(e,t){const n=uT(++J_);eT(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Y_.__hooks.pendingLayoutEffects.push(n))}function vT(e,t){const n=uT(++J_);return eT(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function yT(){return dT("element")}function bT(e){const t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function xT(e){const t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}const ST={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},wT=Object.keys(ST);function ET(e,t){const n=l({},ST);var r;r=n,Object.keys(ne.prototype).forEach((e=>{r[e]=ne.prototype[e]})),ne.init(r);const o={emit(){n.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==wT.indexOf(t)?n[t]=e.component[t].bind(o):o[t]=e.component[t]}));const a=function(e){let{sn:t,component:n}=e;const r={},o=[],a=Q_(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=a(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((e=>{const t=a(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy(){o.length=0}}}({sn:e,component:o}),i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:i,selections:t.selections,actions:a.actions}),Object.assign(n,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[n,a]}function CT(e,t,n){"function"==typeof e.component&&(e.component=fT(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},i=["appLayout","constraints"],s={};t.model&&t.model.session||(s.select=!0);const c={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:s,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(c,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}i.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify(l(l({},r[e]),s))),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=c.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n){return e.component.runMenu(this,t,n)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return i.forEach((e=>{a[e]=JSON.stringify(c.context[e])})),a.themeName=c.context.theme?c.context.theme.name():void 0,a.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):ET(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=H_.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));H_.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=H_.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const kT=()=>{};function LT(e,t){return void 0===e?()=>t:()=>e}function RT(e){const t=e||{};return{min:"function"==typeof t.min?t.min:LT(t.min,0),max:"function"==typeof t.max?t.max:LT(t.max,1e3),added:t.added||t.add||kT,description:t.description||kT,moved:t.moved||t.move||kT,removed:t.removed||t.remove||kT,replaced:t.replaced||t.replace||kT,isDefined:()=>!!e}}function OT(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(e," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:e=>((e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o})(e,n,{}),dimensions:RT(e.dimensions),measures:RT(e.measures)}}function IT(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);const r={properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(OT)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function _T(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:IT(n.qae),component:n.component||{},create:e=>CT(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var TT={},PT={get exports(){return TT},set exports(e){TT=e}};!function(e,t){var n;t=e.exports=d,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var r=Number.MAX_SAFE_INTEGER||9007199254740991,o=t.re=[],a=t.src=[],i=t.tokens={},l=0;function s(e){i[e]=l++}s("NUMERICIDENTIFIER"),a[i.NUMERICIDENTIFIER]="0|[1-9]\\d*",s("NUMERICIDENTIFIERLOOSE"),a[i.NUMERICIDENTIFIERLOOSE]="[0-9]+",s("NONNUMERICIDENTIFIER"),a[i.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",s("MAINVERSION"),a[i.MAINVERSION]="("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")\\.("+a[i.NUMERICIDENTIFIER]+")",s("MAINVERSIONLOOSE"),a[i.MAINVERSIONLOOSE]="("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")\\.("+a[i.NUMERICIDENTIFIERLOOSE]+")",s("PRERELEASEIDENTIFIER"),a[i.PRERELEASEIDENTIFIER]="(?:"+a[i.NUMERICIDENTIFIER]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASEIDENTIFIERLOOSE"),a[i.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[i.NUMERICIDENTIFIERLOOSE]+"|"+a[i.NONNUMERICIDENTIFIER]+")",s("PRERELEASE"),a[i.PRERELEASE]="(?:-("+a[i.PRERELEASEIDENTIFIER]+"(?:\\."+a[i.PRERELEASEIDENTIFIER]+")*))",s("PRERELEASELOOSE"),a[i.PRERELEASELOOSE]="(?:-?("+a[i.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[i.PRERELEASEIDENTIFIERLOOSE]+")*))",s("BUILDIDENTIFIER"),a[i.BUILDIDENTIFIER]="[0-9A-Za-z-]+",s("BUILD"),a[i.BUILD]="(?:\\+("+a[i.BUILDIDENTIFIER]+"(?:\\."+a[i.BUILDIDENTIFIER]+")*))",s("FULL"),s("FULLPLAIN"),a[i.FULLPLAIN]="v?"+a[i.MAINVERSION]+a[i.PRERELEASE]+"?"+a[i.BUILD]+"?",a[i.FULL]="^"+a[i.FULLPLAIN]+"$",s("LOOSEPLAIN"),a[i.LOOSEPLAIN]="[v=\\s]*"+a[i.MAINVERSIONLOOSE]+a[i.PRERELEASELOOSE]+"?"+a[i.BUILD]+"?",s("LOOSE"),a[i.LOOSE]="^"+a[i.LOOSEPLAIN]+"$",s("GTLT"),a[i.GTLT]="((?:<|>)?=?)",s("XRANGEIDENTIFIERLOOSE"),a[i.XRANGEIDENTIFIERLOOSE]=a[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",s("XRANGEIDENTIFIER"),a[i.XRANGEIDENTIFIER]=a[i.NUMERICIDENTIFIER]+"|x|X|\\*",s("XRANGEPLAIN"),a[i.XRANGEPLAIN]="[v=\\s]*("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:\\.("+a[i.XRANGEIDENTIFIER]+")(?:"+a[i.PRERELEASE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGEPLAINLOOSE"),a[i.XRANGEPLAINLOOSE]="[v=\\s]*("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[i.XRANGEIDENTIFIERLOOSE]+")(?:"+a[i.PRERELEASELOOSE]+")?"+a[i.BUILD]+"?)?)?",s("XRANGE"),a[i.XRANGE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAIN]+"$",s("XRANGELOOSE"),a[i.XRANGELOOSE]="^"+a[i.GTLT]+"\\s*"+a[i.XRANGEPLAINLOOSE]+"$",s("COERCE"),a[i.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",s("COERCERTL"),o[i.COERCERTL]=new RegExp(a[i.COERCE],"g"),s("LONETILDE"),a[i.LONETILDE]="(?:~>?)",s("TILDETRIM"),a[i.TILDETRIM]="(\\s*)"+a[i.LONETILDE]+"\\s+",o[i.TILDETRIM]=new RegExp(a[i.TILDETRIM],"g");s("TILDE"),a[i.TILDE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAIN]+"$",s("TILDELOOSE"),a[i.TILDELOOSE]="^"+a[i.LONETILDE]+a[i.XRANGEPLAINLOOSE]+"$",s("LONECARET"),a[i.LONECARET]="(?:\\^)",s("CARETTRIM"),a[i.CARETTRIM]="(\\s*)"+a[i.LONECARET]+"\\s+",o[i.CARETTRIM]=new RegExp(a[i.CARETTRIM],"g");s("CARET"),a[i.CARET]="^"+a[i.LONECARET]+a[i.XRANGEPLAIN]+"$",s("CARETLOOSE"),a[i.CARETLOOSE]="^"+a[i.LONECARET]+a[i.XRANGEPLAINLOOSE]+"$",s("COMPARATORLOOSE"),a[i.COMPARATORLOOSE]="^"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+")$|^$",s("COMPARATOR"),a[i.COMPARATOR]="^"+a[i.GTLT]+"\\s*("+a[i.FULLPLAIN]+")$|^$",s("COMPARATORTRIM"),a[i.COMPARATORTRIM]="(\\s*)"+a[i.GTLT]+"\\s*("+a[i.LOOSEPLAIN]+"|"+a[i.XRANGEPLAIN]+")",o[i.COMPARATORTRIM]=new RegExp(a[i.COMPARATORTRIM],"g");s("HYPHENRANGE"),a[i.HYPHENRANGE]="^\\s*("+a[i.XRANGEPLAIN]+")\\s+-\\s+("+a[i.XRANGEPLAIN]+")\\s*$",s("HYPHENRANGELOOSE"),a[i.HYPHENRANGELOOSE]="^\\s*("+a[i.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[i.XRANGEPLAINLOOSE]+")\\s*$",s("STAR"),a[i.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<l;c++)n(c,a[c]),o[c]||(o[c]=new RegExp(a[c]));function u(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?o[i.LOOSE]:o[i.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>r||this.major<0)throw new TypeError("Invalid major version");if(this.minor>r||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>r||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}t.parse=u,t.valid=function(e,t){var n=u(e,t);return n?n.version:null},t.clean=function(e,t){var n=u(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=d,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof d||(e=new d(e,this.options)),this.compareMain(e)||this.comparePre(e)},d.prototype.compareMain=function(e){return e instanceof d||(e=new d(e,this.options)),f(this.major,e.major)||f(this.minor,e.minor)||f(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.compareBuild=function(e){e instanceof d||(e=new d(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return f(r,o)}while(++t)},d.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new d(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(v(e,t))return null;var n=u(e),r=u(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var a="prerelease"}for(var i in n)if(("major"===i||"minor"===i||"patch"===i)&&n[i]!==r[i])return o+i;return a},t.compareIdentifiers=f;var p=/^[0-9]+$/;function f(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function h(e,t,n){return new d(e,n).compare(new d(t,n))}function m(e,t,n){return h(e,t,n)>0}function g(e,t,n){return h(e,t,n)<0}function v(e,t,n){return 0===h(e,t,n)}function y(e,t,n){return 0!==h(e,t,n)}function b(e,t,n){return h(e,t,n)>=0}function x(e,t,n){return h(e,t,n)<=0}function S(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return v(e,n,r);case"!=":return y(e,n,r);case">":return m(e,n,r);case">=":return b(e,n,r);case"<":return g(e,n,r);case"<=":return x(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function w(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof w))return new w(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===E?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return f(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=h,t.compareLoose=function(e,t){return h(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),o=new d(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return h(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=m,t.lt=g,t.eq=v,t.neq=y,t.gte=b,t.lte=x,t.cmp=S,t.Comparator=w;var E={};function C(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof C)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new C(e.raw,t);if(e instanceof w)return new C(e.value,t);if(!(this instanceof C))return new C(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function k(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function L(e){return!e||"x"===e.toLowerCase()||"*"===e}function R(e,t,n,r,o,a,i,l,s,c,u,d,p){return((t=L(n)?"":L(r)?">="+n+".0.0":L(o)?">="+n+"."+r+".0":">="+t)+" "+(l=L(s)?"":L(c)?"<"+(+s+1)+".0.0":L(u)?"<"+s+"."+(+c+1)+".0":d?"<="+s+"."+c+"."+u+"-"+d:"<="+l)).trim()}function O(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==E&&e[o].semver.prerelease.length>0){var a=e[o].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}function I(e,t,n){try{t=new C(t,n)}catch(e){return!1}return t.test(e)}function _(e,t,n,r){var o,a,i,l,s;switch(e=new d(e,r),t=new C(t,r),n){case">":o=m,a=x,i=g,l=">",s=">=";break;case"<":o=g,a=b,i=m,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(I(e,t,r))return!1;for(var c=0;c<t.set.length;++c){var u=t.set[c],p=null,f=null;if(u.forEach((function(e){e.semver===E&&(e=new w(">=0.0.0")),p=p||e,f=f||e,o(e.semver,p.semver,r)?p=e:i(e.semver,f.semver,r)&&(f=e)})),p.operator===l||p.operator===s)return!1;if((!f.operator||f.operator===l)&&a(e,f.semver))return!1;if(f.operator===s&&i(e,f.semver))return!1}return!0}w.prototype.parse=function(e){var t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=E},w.prototype.toString=function(){return this.value},w.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===E||e===E)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return S(e,this.operator,this.semver,this.options)},w.prototype.intersects=function(e,t){if(!(e instanceof w))throw new TypeError("a Comparator is required");var n;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new C(e.value,t),I(this.value,n,t));if(""===e.operator)return""===e.value||(n=new C(this.value,t),I(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),l=S(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=S(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||a&&i||l||s},t.Range=C,C.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},C.prototype.toString=function(){return this.range},C.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?o[i.HYPHENRANGELOOSE]:o[i.HYPHENRANGE];e=e.replace(r,R),n("hyphen replace",e),e=e.replace(o[i.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,o[i.COMPARATORTRIM]),e=(e=(e=e.replace(o[i.TILDETRIM],"$1~")).replace(o[i.CARETTRIM],"$1^")).split(/\s+/).join(" ");var a=t?o[i.COMPARATORLOOSE]:o[i.COMPARATOR],l=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?o[i.CARETLOOSE]:o[i.CARET];return e.replace(r,(function(t,r,o,a,i){var l;return n("caret",e,t,r,o,a,i),L(r)?l="":L(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":L(a)?l="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":i?(n("replaceCaret pr",i),l="0"===r?"0"===o?">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+"-"+i+" <"+(+r+1)+".0.0"):(n("no pr"),l="0"===r?"0"===o?">="+r+"."+o+"."+a+" <"+r+"."+o+"."+(+a+1):">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+a+" <"+(+r+1)+".0.0"),n("caret return",l),l}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?o[i.TILDELOOSE]:o[i.TILDE];return e.replace(r,(function(t,r,o,a,i){var l;return n("tilde",e,t,r,o,a,i),L(r)?l="":L(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":L(a)?l=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":i?(n("replaceTilde pr",i),l=">="+r+"."+o+"."+a+"-"+i+" <"+r+"."+(+o+1)+".0"):l=">="+r+"."+o+"."+a+" <"+r+"."+(+o+1)+".0",n("tilde return",l),l}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?o[i.XRANGELOOSE]:o[i.XRANGE];return e.replace(r,(function(r,o,a,i,l,s){n("xRange",e,r,o,a,i,l,s);var c=L(a),u=c||L(i),d=u||L(l),p=d;return"="===o&&p&&(o=""),s=t.includePrerelease?"-0":"",c?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(i=0),l=0,">"===o?(o=">=",u?(a=+a+1,i=0,l=0):(i=+i+1,l=0)):"<="===o&&(o="<",u?a=+a+1:i=+i+1),r=o+a+"."+i+"."+l+s):u?r=">="+a+".0.0"+s+" <"+(+a+1)+".0.0"+s:d&&(r=">="+a+"."+i+".0"+s+" <"+a+"."+(+i+1)+".0"+s),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(o[i.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(l=l.filter((function(e){return!!e.match(a)}))),l=l.map((function(e){return new w(e,this.options)}),this)},C.prototype.intersects=function(e,t){if(!(e instanceof C))throw new TypeError("a Range is required");return this.set.some((function(n){return k(n,t)&&e.set.some((function(e){return k(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new C(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},C.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(O(this.set[t],e,this.options))return!0;return!1},t.satisfies=I,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var a=new C(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&-1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var a=new C(t,n)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(r&&1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minVersion=function(e,t){e=new C(e,t);var n=new d("0.0.0");if(e.test(n))return n;if(n=new d("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r){e.set[r].forEach((function(e){var t=new d(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!m(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new C(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return _(e,t,"<",n)},t.gtr=function(e,t,n){return _(e,t,">",n)},t.outside=_,t.prerelease=function(e,t){var n=u(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new C(e,n),t=new C(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=o[i.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),o[i.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[i.COERCERTL].lastIndex=-1}else n=e.match(o[i.COERCE]);if(null===n)return null;return u(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(PT,TT);const NT={};async function MT(e,t,n,r){let{config:o}=n;const a="".concat(e,"__").concat(t);if(!NT[a]){const n="".concat(e).concat(t&&" v".concat(t)||"");if(r&&"function"!=typeof r)throw new Error("load of visualization '".concat(n,"' is not a fuction, wrap load promise in function"));const i=(r||o.load)({name:e,version:t}),l=Promise.resolve(i);NT[a]=l.then((e=>{if(!e)throw new Error("load() of visualization '".concat(n,"' resolved to an invalid object"));return e})).catch((e=>{throw new Error("Failed to load visualization: '".concat(n,"'"))}))}return NT[a]}function zT(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,a)=>{if(n[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));n[o]=function(e,t){let n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:a}=o,i={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||TT.satisfies(e,a.deps.properties),supernova:()=>MT(i.name,i.version,t,o.load).then((e=>(n=n||_T(e,t.public.galaxy),r=JSON.stringify(n.qae.properties.initial),n))),initialProperties(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.supernova().then((()=>{const n=l({qInfo:{qType:i.name},visualization:i.name,version:i.version,showTitles:!0},JSON.parse(r));return t?(Ve(!0,n,e),n):l(l({},n),e)}))}};return i}({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--){if(n[r[t]].supportsPropertiesVersion(e))return r[t]}return null},versions:n}}function AT(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=zT(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:(e,t)=>r[e]?r[e].getMatchingVersionFromProperties(t):null,get(e){const{name:t}=e;let{version:n}=e;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:()=>Object.keys(r).map((e=>({name:e,versions:Object.keys(r[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{r[e]&&(r[e]=void 0),function(e){Object.keys(NT).forEach((t=>{t.split("__")[0]===e&&(NT[t]=void 0)}))}(e)}}}const DT={get:async e=>{const t=await fetch("/njs/snapshot/".concat(e));if(!t.ok)throw new Error(t.statusText);return t.json()},capture:e=>fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json()))},qT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(l({},e),t)},jT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[...e,...t].filter(((e,t,n)=>n.indexOf(e)===t))},FT=(e,t)=>({context:qT(e.context,t.context),load:t.load||e.load,snapshot:l({},t.snapshot||e.snapshot),types:jT(e.types,t.types),themes:jT(e.themes,t.themes),flags:qT(e.flags,t.flags),anything:qT(e.anything,t.anything)});var $T=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=J(t.context.language);function r(e,o){if(o)return r.createConfiguration(o)(e);let a=l(l({},t.context),{},{translator:n.translator});const[i]=HS({app:e,context:a}),s=ut({themes:t.themes,root:i});a.themeApi=s.externalAPI;const c={galaxy:{translator:n.translator,flags:B_(t.flags),deviceType:dt(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:n.translator,nebbie:null},u={app:e,root:i,config:t,public:c,context:a,types:null},d=AT({halo:u});t.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(t.context.theme),f=null,h=null;const m={render:async e=>(await p,e.id?$_(e,u):z_(e,u)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==a[n]&&(t||(t={}),t[n]=e[n])})),t&&(a=l(l(l({},a),t),{},{translator:n.translator}),u.context=a,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),i.context(a))},selections:async()=>(f||(f={mount(t){h||(h=HO({element:t,app:e}),i.add(h))},unmount(){h&&(i.remove(h),h=null)}}),f),field:async t=>{let n;const r="string"==typeof t?t:t.qLibraryId;if(t.qId)n=t.qId;else if(!r)throw new Error("Field identifier or object id must be provided");const o={fieldName:r,mount(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!o)throw new Error("Element for ".concat(r||n," not provided"));if(this._instance)throw new Error("Field or object ".concat(r||n," already mounted"));this._instance=fI({element:o,app:e,fieldIdentifier:t,qId:n,options:dI(a),stateName:a.stateName||"$"}),i.add(this._instance)},unmount(){this._instance&&(i.remove(this._instance),this._instance=null)}};return o},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d,popover(t,n,r){m._popoverInstance&&(i.remove(m._popoverInstance),m._popoverInstance=null);const o=mI(r);m._popoverInstance=G.createElement(gI,{element:t,key:BO(),app:e,fieldIdentifier:n,options:o,stateName:r.stateName||"$"}),i.add(m._popoverInstance)}}};return u.public.nebbie=m,u.types=d,m}return r.createConfiguration=n=>e(FT(t,n)),r.config=t,r}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1,disableCellPadding:!1},load:()=>{},types:[],themes:[],anything:{},snapshot:DT});function BT(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}const WT=globalThis.crypto||{getRandomValues:()=>123456};function HT(){return e=>{const t=Ve({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||"mock-".concat(([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^WT.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))));const n=t._mock;let r=t;return n&&(delete t._mock,r=Ve({},t,n)),Promise.resolve(l({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId},t))}}const UT=function(e){let{args:t=[],defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"==typeof e?e(...t):void 0!==e?e:n},VT=function(e){let{defaultValue:t,async:n=!0,delay:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];const l=UT(e,{defaultValue:t,args:a});return n?new Promise((e=>{setTimeout((()=>e(l)),r)})):l}},GT=["id","session"],KT=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function ZT(e){return!KT.includes(e)}function XT(e){const t=UT(e.getLayout);return t.qInfo&&t.qInfo.qId}function QT(e,t){return e.reduce(((e,n)=>l(l({},e),function(e,t){let n=XT(e);const{delay:r}=t,{id:o,session:a}=e,i=u(e,GT);if(o&&n&&o!==n)throw new Error("Generic object has multiple IDs, qInfo.qId: ".concat(n,", id: ").concat(o));return n=n||o||"object - ".concat(+Date.now()),{[n]:l(l({id:n,session:UT(a,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(i).reduce(((e,t)=>{let[n,o]=t;return l(l({},e),{},{[n]:VT(o,{async:ZT(n),delay:r})})}),{})),{},{genericType:e.type})}}(n,t))),{})}function YT(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!XT(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function JT(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(YT);const n=QT(e,t);return async e=>Promise.resolve(n[e])}function eP(){return()=>Promise.resolve({id:"app-layout"})}const tP={fromGenericObjects(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new BT,r=new HT,o=new JT(e,t),a=new eP,i={id:"app - ".concat(+Date.now()),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},nP={generator:_T,hook:fT,theme:st,locale:Q};e.EnigmaMocker=tP,e.__DO_NOT_USE__=nP,e.conversion=zI,e.embed=$T,e.onContextMenu=function(e){const t=uT(++J_);t.value||(t.value=1,Y_.__hooks.menus.push(t)),t.fn=e},e.onTakeSnapshot=function(e){const t=uT(++J_);t.value||(t.value=1,Y_.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=hT({action(){n._config.action.call(null)}});return n.component||(n.component=Y_,Y_.__hooks.actions.list.push(n)),vT((()=>{const t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?()=>t.icon:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action},e.useApp=function(){const e=dT("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return dT("appLayout")},e.useConstraints=function(){return dT("constraints")},e.useDeviceType=function(){return dT("deviceType")},e.useEffect=mT,e.useElement=yT,e.useEmbed=function(){return dT("nebbie")},e.useGlobal=function(){const e=dT("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=uT(++J_);if(n.imperative||(n.imperative=!0),eT(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Y_.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=dT("keyboardNavigation"),t=dT("focusHandler");if(!Y_.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(xT(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Y_);Y_.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),bT(this))}.bind(Y_);Y_.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Y_);Y_.__hooks.accessibility.focusSelectionFunction=r}const n=Y_.__hooks.accessibility.focusFunction,r=Y_.__hooks.accessibility.exitFunction,o=Y_.__hooks.accessibility.focusSelectionFunction,[a,i]=hT({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Y_.__hooks.accessibility.setter=i,Y_.__hooks.accessibility.enabled=e,mT((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a},e.useLayout=function(){return dT("layout")},e.useMemo=vT,e.useModel=function(){const e=dT("model");return e&&e.session?e:void 0},e.useOptions=function(){return dT("options")},e.usePlugins=function(){return dT("plugins")},e.usePromise=function(e,t){const[n,r]=hT((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=uT(++J_);return o.component||(o.component=Y_),gT((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]},e.useRect=function(){const e=yT(),t=Y_.__hooks.resizer,[n,r]=hT((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),gT((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n},e.useRenderState=function(){uT(++J_);const e=Y_.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return dT("selections")},e.useStaleLayout=function(){const e=dT("layout"),[t]=hT({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=hT,e.useTheme=function(){return dT("theme")},e.useTranslator=function(){return dT("translator")}}));
|
|
133
133
|
//# sourceMappingURL=stardust.js.map
|