@nebula.js/stardust 2.10.0 → 3.0.0-alpha0
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 +10710 -3900
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +81 -2
- package/core/esm/index.js.map +1 -1
- package/core/package.json +6 -5
- package/dist/stardust.dev.js +26223 -14213
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +206 -11
- package/dist/stardust.js.map +1 -1
- package/package.json +18 -17
- package/CHANGELOG.md +0 -154
package/dist/stardust.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust
|
|
2
|
+
* @nebula.js/stardust v3.0.0-alpha0
|
|
3
3
|
* Copyright (c) 2022 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";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function t(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 n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=k(a,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===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=u(e,t,n);if("normal"===s.type){if(r=n.done?h:f,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=h,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};s(b,i,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(_([])));E&&E!==n&&r.call(E,i)&&(b=E);var S=y.prototype=g.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){var n;this._invoke=function(o,i){function a(){return new t((function(n,a){!function n(o,i,a,l){var s=u(e[o],e,i);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=u(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.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 L(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 R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,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:I}}function I(){return{value:t,done:!0}}return v.prototype=y,s(S,"constructor",y),s(y,"constructor",v),v.displayName=s(y,l,"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,s(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},w(C.prototype),s(C.prototype,a,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new C(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(S),s(S,l,"Generator"),s(S,i,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=_,O.prototype={constructor:O,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(R),!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 i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.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 i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},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),R(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;R(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)}}({exports:{}});const a=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 l(){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 i;return i=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==o?a(i,o):i}};return o}const s=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=l({initial:e,fallback:t});return{translator:n}};var c={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_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_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 u(e){const t=s({initial:e});return Object.keys(c).forEach(e=>{t.translator.add(c[e])}),{translator:t.translator}}var d={};function f(){f.init.call(this)}d.isObject=function(e){return"object"==typeof e&&null!==e},d.isNumber=function(e){return"number"==typeof e},d.isUndefined=function(e){return void 0===e},d.isFunction=function(e){return"function"==typeof e};var p=f;f.EventEmitter=f,f.prototype._events=void 0,f.prototype._maxListeners=void 0,f.defaultMaxListeners=10,f.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},f.prototype.setMaxListeners=function(e){if(!d.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},f.prototype.emit=function(e){var t,n,r,o,i,a;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],d.isUndefined(n))return!1;if(d.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];n.apply(this,o)}else if(d.isObject(n)){for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];for(r=(a=n.slice()).length,i=0;i<r;i++)a[i].apply(this,o)}return!0},f.prototype.addListener=function(e,t){var n;if(!d.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,d.isFunction(t.listener)?t.listener:t),this._events[e]?d.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,d.isObject(this._events[e])&&!this._events[e].warned)&&((n=d.isUndefined(this._maxListeners)?f.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,d.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),d.isFunction(console.trace)&&console.trace()));return this},f.prototype.on=f.prototype.addListener,f.prototype.once=function(e,t){if(!d.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},f.prototype.removeListener=function(e,t){var n,r,o,i;if(!d.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||d.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(d.isObject(n)){for(i=o;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){r=i;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},f.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],d.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},f.prototype.listeners=function(e){return this._events&&this._events[e]?d.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},f.listenerCount=function(e,t){return e._events&&e._events[t]?d.isFunction(e._events[t])?1:e._events[t].length:0};var h=Object.prototype.hasOwnProperty,m=Object.prototype.toString,g=Object.defineProperty,v=Object.getOwnPropertyDescriptor,y=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===m.call(e)},b=function(e){if(!e||"[object Object]"!==m.call(e))return!1;var t,n=h.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&h.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||h.call(e,t)},x=function(e,t){g&&"__proto__"===t.name?g(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},E=function(e,t){if("__proto__"===t){if(!h.call(e,t))return;if(v)return v(e,t).value}return e[t]},S=function e(){var t,n,r,o,i,a,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=E(l,n),l!==(o=E(t,n))&&(u&&o&&(b(o)||(i=y(o)))?(i?(i=!1,a=r&&y(r)?r:[]):a=r&&b(r)?r:{},x(l,{name:n,newValue:e(u,a,o)})):void 0!==o&&x(l,{name:n,newValue:o}));return l},w={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"]}]}},C={_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"},k={_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"};function L(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function R(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function O(){}var _=.7,I=1/_,P="\\s*([+-]?\\d+)\\s*",N="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",T="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",D=/^#([0-9a-f]{3,8})$/,M=new RegExp("^rgb\\("+[P,P,P]+"\\)$"),q=new RegExp("^rgb\\("+[T,T,T]+"\\)$"),A=new RegExp("^rgba\\("+[P,P,P,N]+"\\)$"),z=new RegExp("^rgba\\("+[T,T,T,N]+"\\)$"),j=new RegExp("^hsl\\("+[N,T,T]+"\\)$"),F=new RegExp("^hsla\\("+[N,T,T,N]+"\\)$"),B={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 U(){return this.rgb().formatHex()}function H(){return this.rgb().formatRgb()}function W(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=D.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?V(t):3===n?new Z(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?$(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?$(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=M.exec(e))?new Z(t[1],t[2],t[3],1):(t=q.exec(e))?new Z(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=A.exec(e))?$(t[1],t[2],t[3],t[4]):(t=z.exec(e))?$(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=j.exec(e))?Y(t[1],t[2]/100,t[3]/100,1):(t=F.exec(e))?Y(t[1],t[2]/100,t[3]/100,t[4]):B.hasOwnProperty(e)?V(B[e]):"transparent"===e?new Z(NaN,NaN,NaN,0):null}function V(e){return new Z(e>>16&255,e>>8&255,255&e,1)}function $(e,t,n,r){return r<=0&&(e=t=n=NaN),new Z(e,t,n,r)}function G(e){return e instanceof O||(e=W(e)),e?new Z((e=e.rgb()).r,e.g,e.b,e.opacity):new Z}function K(e,t,n,r){return 1===arguments.length?G(e):new Z(e,t,n,null==r?1:r)}function Z(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function X(){return"#"+J(this.r)+J(this.g)+J(this.b)}function Q(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function J(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Y(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new te(e,t,n,r)}function ee(e){if(e instanceof te)return new te(e.h,e.s,e.l,e.opacity);if(e instanceof O||(e=W(e)),!e)return new te;if(e instanceof te)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new te(a,l,s,e.opacity)}function te(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ne(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}L(O,W,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:U,formatHex:U,formatHsl:function(){return ee(this).formatHsl()},formatRgb:H,toString:H}),L(Z,K,R(O,{brighter:function(e){return e=null==e?I:Math.pow(I,e),new Z(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?_:Math.pow(_,e),new Z(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:X,formatHex:X,formatRgb:Q,toString:Q})),L(te,(function(e,t,n,r){return 1===arguments.length?ee(e):new te(e,t,n,null==r?1:r)}),R(O,{brighter:function(e){return e=null==e?I:Math.pow(I,e),new te(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?_:Math.pow(_,e),new te(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Z(ne(e>=240?e-240:e+120,o,r),ne(e,o,r),ne(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));class re{constructor(e){this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=W(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([W(e),W(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 i=this.colorParts[t][o],a=i[0],l=i[1];if(e===this.min)return l;if(e===this.max)return a;return function(e,t,n){return K(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))}(a,l,r-o)}}function oe(e,t,n){const r=.25+(t+1)/n*.25,o=.5-r;return o+e/1*(.5+r-o)}function ie(e,t,n){const r=[],o=new re(t);r.push(e[0]),n||r.push(e[0]);let i=1;for(;i<e.length-1;i++)r.push(e[i]),r.push(e[i]);r.push(e[i]),n||r.push(e[i]);for(let e=0;e<r.length;e+=2)o.addColorPart(r[e],r[e+1]);return o}function ae(e,t,n){const r=[];for(let o=0;o<t+1;o++){let i;switch(t){case 0:i=e.getColor(.5);break;default:{const r=oe(1/t*o,t,n);i=e.getColor(r);break}}r.push(W(i).formatHex())}return r}function le(e,t,n){const r=ie(e,n,!0),o=ie(ae(r,t-1,t),n,!1),i=[null];for(let e=0;e<t;e++)i.push(ae(o,e,t));return i}function se(e,t){const n=[];let r,o;if(e){let i=e.length;for(;i>=0;){for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat(e)),r.pop(),o--;e.pop(),i--}}else for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat()),r.pop(),o--;return n}function ce(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 ue(e,t,n,r){let o;if(""===e)o=se(null,n);else{o=se(e.split("."),n)}return function(e,t,n){const r=t.split(".");for(let t=0;t<e.length;t++){const o=ce(n,[...e[t],...r]);if(void 0!==o)return o}}(o,t,r)}function de(e,t){const n=e.split(".");return{getStyle:(e,r)=>ue(e,r,n.concat(),t)}}function fe(e){const t=W(e).rgb(),{r:n,g:r,b:o}=t,[i,a,l]=[n,r,o].map(e=>e/255),[s,c,u]=[i,a,l].map(e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4);return+(.2126*s+.7152*c+.0722*u).toFixed(5)}function pe(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}de.resolveRawTheme=e=>{const t=S(!0,{},e);return function e(t,n){Object.keys(t).forEach(r=>{"object"==typeof t[r]&&null!==t[r]?e(t[r],n):"string"==typeof t[r]&&"@"===t[r].charAt(0)&&(t[r]=n[t[r]])})}(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=le(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 he(){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]=de(t,e)),r[t].getStyle(n,o))},i={setTheme(i,a){e=function(e,t){const n="dark"===e.type?k:C,r=S(!0,{},w,n),o=S(!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)}(i,de.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){return e.index<0||void 0===e.index?e.color:(void 0===t&&(t=this.uiPalettes()[0]||!1),t?void 0===t.colors[e.index]?e.color:t.colors[e.index]:e.color)}}}(e);const l=o.getStyle("","","color"),s=fe(l);n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(fe);return{getBestContrastColor(o){if(!t[o]){n>1e3&&(t={},n=0);const i=fe(o),a=r.map(e=>pe(i,e)),l=e[a.indexOf(Math.max(...a))];t[o]=l,n++}return t[o]}}}([l,s<.2?"#ffffff":"#333333"]),o.emit("changed"),o.name=()=>a}};return Object.keys(p.prototype).forEach(e=>{o[e]=p.prototype[e]}),p.init(o),i.setTheme({},"light"),{externalAPI:o,internalAPI:i}}const me=(e,t)=>new Promise(n=>{setTimeout(()=>n(t),e)});function ge(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=he(),r=async r=>{const o=e.filter(e=>e.id===r)[0];let i="dark"===r?"dark":"light";if(o&&o.load)try{const e=await Promise.race([o.load(),me(5e3,{__timedOut:!0})]);e.__timedOut||(i="dark"===e.type?"dark":"light",n.internalAPI.setTheme(e,r),t.setMuiThemeName(i))}catch(e){}else n.internalAPI.setTheme({type:i},r),t.setMuiThemeName(i)};return{setTheme:r,externalAPI:n.externalAPI}}function ve(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 ye={exports:{}},be={},xe=Symbol.for("react.element"),Ee=Symbol.for("react.portal"),Se=Symbol.for("react.fragment"),we=Symbol.for("react.strict_mode"),Ce=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),Le=Symbol.for("react.context"),Re=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),_e=Symbol.for("react.memo"),Ie=Symbol.for("react.lazy"),Pe=Symbol.iterator;var Ne={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Te=Object.assign,De={};function Me(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ne}function qe(){}function Ae(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ne}Me.prototype.isReactComponent={},Me.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")},Me.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},qe.prototype=Me.prototype;var ze=Ae.prototype=new qe;ze.constructor=Ae,Te(ze,Me.prototype),ze.isPureReactComponent=!0;var je=Array.isArray,Fe=Object.prototype.hasOwnProperty,Be={current:null},Ue={key:!0,ref:!0,__self:!0,__source:!0};function He(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)Fe.call(t,r)&&!Ue.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:xe,type:e,key:i,ref:a,props:o,_owner:Be.current}}function We(e){return"object"==typeof e&&null!==e&&e.$$typeof===xe}var Ve=/\/+/g;function $e(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 Ge(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case xe:case Ee:a=!0}}if(a)return o=o(a=e),e=""===r?"."+$e(a,0):r,je(o)?(n="",null!=e&&(n=e.replace(Ve,"$&/")+"/"),Ge(o,t,n,"",(function(e){return e}))):null!=o&&(We(o)&&(o=function(e,t){return{$$typeof:xe,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Ve,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",je(e))for(var l=0;l<e.length;l++){var s=r+$e(i=e[l],l);a+=Ge(i,t,n,s,o)}else if("function"==typeof(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Pe&&e[Pe]||e["@@iterator"])?e:null}(e)))for(e=s.call(e),l=0;!(i=e.next()).done;)a+=Ge(i=i.value,t,n,s=r+$e(i,l++),o);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Ke(e,t,n){if(null==e)return e;var r=[],o=0;return Ge(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Ze(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 Xe={current:null},Qe={transition:null},Je={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:Qe,ReactCurrentOwner:Be};be.Children={map:Ke,forEach:function(e,t,n){Ke(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Ke(e,(function(){t++})),t},toArray:function(e){return Ke(e,(function(e){return e}))||[]},only:function(e){if(!We(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},be.Component=Me,be.Fragment=Se,be.Profiler=Ce,be.PureComponent=Ae,be.StrictMode=we,be.Suspense=Oe,be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Je,be.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=Te({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Be.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)Fe.call(t,s)&&!Ue.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:xe,type:e.type,key:o,ref:i,props:r,_owner:a}},be.createContext=function(e){return(e={$$typeof:Le,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:ke,_context:e},e.Consumer=e},be.createElement=He,be.createFactory=function(e){var t=He.bind(null,e);return t.type=e,t},be.createRef=function(){return{current:null}},be.forwardRef=function(e){return{$$typeof:Re,render:e}},be.isValidElement=We,be.lazy=function(e){return{$$typeof:Ie,_payload:{_status:-1,_result:e},_init:Ze}},be.memo=function(e,t){return{$$typeof:_e,type:e,compare:void 0===t?null:t}},be.startTransition=function(e){var t=Qe.transition;Qe.transition={};try{e()}finally{Qe.transition=t}},be.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},be.useCallback=function(e,t){return Xe.current.useCallback(e,t)},be.useContext=function(e){return Xe.current.useContext(e)},be.useDebugValue=function(){},be.useDeferredValue=function(e){return Xe.current.useDeferredValue(e)},be.useEffect=function(e,t){return Xe.current.useEffect(e,t)},be.useId=function(){return Xe.current.useId()},be.useImperativeHandle=function(e,t,n){return Xe.current.useImperativeHandle(e,t,n)},be.useInsertionEffect=function(e,t){return Xe.current.useInsertionEffect(e,t)},be.useLayoutEffect=function(e,t){return Xe.current.useLayoutEffect(e,t)},be.useMemo=function(e,t){return Xe.current.useMemo(e,t)},be.useReducer=function(e,t,n){return Xe.current.useReducer(e,t,n)},be.useRef=function(e){return Xe.current.useRef(e)},be.useState=function(e){return Xe.current.useState(e)},be.useSyncExternalStore=function(e,t,n){return Xe.current.useSyncExternalStore(e,t,n)},be.useTransition=function(){return Xe.current.useTransition()},be.version="18.0.0-fc46dba67-20220329",ye.exports=be;var Ye=ye.exports,et={exports:{}},tt={},nt={exports:{}},rt={};
|
|
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)}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=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},i.apply(this,arguments)}function l(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="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),i=new O(r||[]);return a._invoke=function(e,t,n){var r=d;return function(o,a){if(r===f)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw a;return I()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=E(i,n);if(l){if(l===h)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var s=u(e,t,n);if("normal"===s.type){if(r=n.done?m:p,s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=m,n.method="throw",n.arg=s.arg)}}}(e,n,i),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",h={};function g(){}function v(){}function b(){}var y={};s(y,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(M([])));S&&S!==n&&r.call(S,a)&&(y=S);var w=b.prototype=g.prototype=Object.create(y);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,a,i,l){var s=u(e[o],e,a);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(d).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(s.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=u(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}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 L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function M(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=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 i.next=i}}return{next:I}}function I(){return{value:t,done:!0}}return v.prototype=b,s(w,"constructor",b),s(b,"constructor",v),v.displayName=s(b,l,"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,b):(e.__proto__=b,s(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},C(k.prototype),s(k.prototype,i,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new k(c(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(w),s(w,l,"Generator"),s(w,a,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=M,O.prototype={constructor:O,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(L),!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,h):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),h},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),L(n),h}},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;L(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:M(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});const s=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 c(){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?s(a,o):a}};return o}const u=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=c({initial:e,fallback:t});return{translator:n}};var d={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_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_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 p(e){const t=u({initial:e});return Object.keys(d).forEach((e=>{t.translator.add(d[e])})),{translator:t.translator}}var f={};function m(){m.init.call(this)}f.isObject=function(e){return"object"==typeof e&&null!==e},f.isNumber=function(e){return"number"==typeof e},f.isUndefined=function(e){return void 0===e},f.isFunction=function(e){return"function"==typeof e};var h=m;m.EventEmitter=m,m.prototype._events=void 0,m.prototype._maxListeners=void 0,m.defaultMaxListeners=10,m.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},m.prototype.setMaxListeners=function(e){if(!f.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},m.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],f.isUndefined(n))return!1;if(f.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(f.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},m.prototype.addListener=function(e,t){var n;if(!f.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,f.isFunction(t.listener)?t.listener:t),this._events[e]?f.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,f.isObject(this._events[e])&&!this._events[e].warned)&&((n=f.isUndefined(this._maxListeners)?m.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,f.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),f.isFunction(console.trace)&&console.trace()));return this},m.prototype.on=m.prototype.addListener,m.prototype.once=function(e,t){if(!f.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},m.prototype.removeListener=function(e,t){var n,r,o,a;if(!f.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||f.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(f.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},m.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],f.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},m.prototype.listeners=function(e){return this._events&&this._events[e]?f.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},m.listenerCount=function(e,t){return e._events&&e._events[t]?f.isFunction(e._events[t])?1:e._events[t].length:0};var g=Object.prototype.hasOwnProperty,v=Object.prototype.toString,b=Object.defineProperty,y=Object.getOwnPropertyDescriptor,x=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===v.call(e)},S=function(e){if(!e||"[object Object]"!==v.call(e))return!1;var t,n=g.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&g.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||g.call(e,t)},w=function(e,t){b&&"__proto__"===t.name?b(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},C=function(e,t){if("__proto__"===t){if(!g.call(e,t))return;if(y)return y(e,t).value}return e[t]},k=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=C(l,n),l!==(o=C(t,n))&&(u&&o&&(S(o)||(a=x(o)))?(a?(a=!1,i=r&&x(r)?r:[]):i=r&&S(r)?r:{},w(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&w(l,{name:n,newValue:o}));return l},E={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"]}]}},R={_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"},L={_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"};function O(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function M(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function I(){}var T=.7,P=1/T,z="\\s*([+-]?\\d+)\\s*",N="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A=/^#([0-9a-f]{3,8})$/,D=new RegExp("^rgb\\("+[z,z,z]+"\\)$"),$=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),q=new RegExp("^rgba\\("+[z,z,z,N]+"\\)$"),j=new RegExp("^rgba\\("+[_,_,_,N]+"\\)$"),F=new RegExp("^hsl\\("+[N,_,_]+"\\)$"),B=new RegExp("^hsla\\("+[N,_,_,N]+"\\)$"),W={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 H(){return this.rgb().formatHex()}function U(){return this.rgb().formatRgb()}function V(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=A.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?G(t):3===n?new Y(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?K(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?K(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=D.exec(e))?new Y(t[1],t[2],t[3],1):(t=$.exec(e))?new Y(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=q.exec(e))?K(t[1],t[2],t[3],t[4]):(t=j.exec(e))?K(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=F.exec(e))?te(t[1],t[2]/100,t[3]/100,1):(t=B.exec(e))?te(t[1],t[2]/100,t[3]/100,t[4]):W.hasOwnProperty(e)?G(W[e]):"transparent"===e?new Y(NaN,NaN,NaN,0):null}function G(e){return new Y(e>>16&255,e>>8&255,255&e,1)}function K(e,t,n,r){return r<=0&&(e=t=n=NaN),new Y(e,t,n,r)}function X(e){return e instanceof I||(e=V(e)),e?new Y((e=e.rgb()).r,e.g,e.b,e.opacity):new Y}function Z(e,t,n,r){return 1===arguments.length?X(e):new Y(e,t,n,null==r?1:r)}function Y(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Q(){return"#"+ee(this.r)+ee(this.g)+ee(this.b)}function J(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function ee(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function te(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new re(e,t,n,r)}function ne(e){if(e instanceof re)return new re(e.h,e.s,e.l,e.opacity);if(e instanceof I||(e=V(e)),!e)return new re;if(e instanceof re)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 re(i,l,s,e.opacity)}function re(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function oe(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}O(I,V,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:H,formatHex:H,formatHsl:function(){return ne(this).formatHsl()},formatRgb:U,toString:U}),O(Y,Z,M(I,{brighter:function(e){return e=null==e?P:Math.pow(P,e),new Y(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?T:Math.pow(T,e),new Y(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Q,formatHex:Q,formatRgb:J,toString:J})),O(re,(function(e,t,n,r){return 1===arguments.length?ne(e):new re(e,t,n,null==r?1:r)}),M(I,{brighter:function(e){return e=null==e?P:Math.pow(P,e),new re(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?T:Math.pow(T,e),new re(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Y(oe(e>=240?e-240:e+120,o,r),oe(e,o,r),oe(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const ae=Math.PI/180,ie=180/Math.PI,le=.96422,se=.82521,ce=4/29,ue=6/29,de=3*ue*ue;function pe(e){if(e instanceof fe)return new fe(e.l,e.a,e.b,e.opacity);if(e instanceof ye)return xe(e);e instanceof Y||(e=X(e));var t,n,r=ve(e.r),o=ve(e.g),a=ve(e.b),i=me((.2225045*r+.7168786*o+.0606169*a)/1);return r===o&&o===a?t=n=i:(t=me((.4360747*r+.3850649*o+.1430804*a)/le),n=me((.0139322*r+.0971045*o+.7141733*a)/se)),new fe(116*i-16,500*(t-i),200*(i-n),e.opacity)}function fe(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function me(e){return e>.008856451679035631?Math.pow(e,1/3):e/de+ce}function he(e){return e>ue?e*e*e:de*(e-ce)}function ge(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ve(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function be(e){if(e instanceof ye)return new ye(e.h,e.c,e.l,e.opacity);if(e instanceof fe||(e=pe(e)),0===e.a&&0===e.b)return new ye(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*ie;return new ye(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function ye(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function xe(e){if(isNaN(e.h))return new fe(e.l,0,0,e.opacity);var t=e.h*ae;return new fe(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}O(fe,(function(e,t,n,r){return 1===arguments.length?pe(e):new fe(e,t,n,null==r?1:r)}),M(I,{brighter:function(e){return new fe(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new fe(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new Y(ge(3.1338561*(t=le*he(t))-1.6168667*(e=1*he(e))-.4906146*(n=se*he(n))),ge(-.9787684*t+1.9161415*e+.033454*n),ge(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),O(ye,(function(e,t,n,r){return 1===arguments.length?be(e):new ye(e,t,n,null==r?1:r)}),M(I,{brighter:function(e){return new ye(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new ye(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return xe(this).rgb()}}));var Se=-.14861,we=1.78277,Ce=-.29227,ke=-.90649,Ee=1.97294,Re=Ee*ke,Le=Ee*we,Oe=we*Ce-ke*Se;function Me(e){if(e instanceof Ie)return new Ie(e.h,e.s,e.l,e.opacity);e instanceof Y||(e=X(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Oe*r+Re*t-Le*n)/(Oe+Re-Le),a=r-o,i=(Ee*(n-o)-Ce*a)/ke,l=Math.sqrt(i*i+a*a)/(Ee*o*(1-o)),s=l?Math.atan2(i,a)*ie-120:NaN;return new Ie(s<0?s+360:s,l,o,e.opacity)}function Ie(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}O(Ie,(function(e,t,n,r){return 1===arguments.length?Me(e):new Ie(e,t,n,null==r?1:r)}),M(I,{brighter:function(e){return e=null==e?P:Math.pow(P,e),new Ie(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?T:Math.pow(T,e),new Ie(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*ae,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Y(255*(t+n*(Se*r+we*o)),255*(t+n*(Ce*r+ke*o)),255*(t+n*(Ee*r)),this.opacity)}}));class Te{constructor(e){this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=V(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([V(e),V(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 Z(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 ze(e,t,n){const r=[],o=new Te(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 Ne(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(V(a).formatHex())}return r}function _e(e,t,n){const r=ze(e,n,!0),o=ze(Ne(r,t-1,t),n,!1),a=[null];for(let e=0;e<t;e++)a.push(Ne(o,e,t));return a}function Ae(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 De(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 $e(e,t,n,r){let o;if(""===e)o=Ae(null,n);else{o=Ae(e.split("."),n)}return function(e,t,n){const r=t.split(".");for(let t=0;t<e.length;t++){const o=De(n,[...e[t],...r]);if(void 0!==o)return o}}(o,t,r)}function qe(e,t){const n=e.split(".");return{getStyle:(e,r)=>$e(e,r,n.concat(),t)}}function je(e,t){Object.keys(e).forEach((n=>{"object"==typeof e[n]&&null!==e[n]?je(e[n],t):"string"==typeof e[n]&&"@"===e[n].charAt(0)&&(e[n]=t[e[n]])}))}function Fe(e){const t=V(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 Be(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}qe.resolveRawTheme=e=>{const t=k(!0,{},e);return je(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=_e(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 We(){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]=qe(t,e)),r[t].getStyle(n,o))},a={setTheme(a,i){e=function(e,t){const n="dark"===e.type?L:R,r=k(!0,{},E,n),o=k(!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,qe.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){return e.index<0||void 0===e.index?e.color:(void 0===t&&(t=this.uiPalettes()[0]||!1),t?void 0===t.colors[e.index]?e.color:t.colors[e.index]:e.color)}}}(e);const l=o.getStyle("","","color"),s=Fe(l);n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(Fe);return{getBestContrastColor(o){if(!t[o]){n>1e3&&(t={},n=0);const a=Fe(o),i=r.map((e=>Be(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(h.prototype).forEach((e=>{o[e]=h.prototype[e]})),h.init(o),a.setTheme({},"light"),{externalAPI:o,internalAPI:a}}const He=(e,t)=>new Promise((n=>{setTimeout((()=>n(t)),e)}));function Ue(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=We(),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(),He(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 Ve(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 Ge={exports:{}},Ke={},Xe=Symbol.for("react.element"),Ze=Symbol.for("react.portal"),Ye=Symbol.for("react.fragment"),Qe=Symbol.for("react.strict_mode"),Je=Symbol.for("react.profiler"),et=Symbol.for("react.provider"),tt=Symbol.for("react.context"),nt=Symbol.for("react.forward_ref"),rt=Symbol.for("react.suspense"),ot=Symbol.for("react.memo"),at=Symbol.for("react.lazy"),it=Symbol.iterator;var lt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},st=Object.assign,ct={};function ut(e,t,n){this.props=e,this.context=t,this.refs=ct,this.updater=n||lt}function dt(){}function pt(e,t,n){this.props=e,this.context=t,this.refs=ct,this.updater=n||lt}ut.prototype.isReactComponent={},ut.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")},ut.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},dt.prototype=ut.prototype;var ft=pt.prototype=new dt;ft.constructor=pt,st(ft,ut.prototype),ft.isPureReactComponent=!0;var mt=Array.isArray,ht=Object.prototype.hasOwnProperty,gt={current:null},vt={key:!0,ref:!0,__self:!0,__source:!0};function bt(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)ht.call(t,r)&&!vt.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:Xe,type:e,key:a,ref:i,props:o,_owner:gt.current}}function yt(e){return"object"==typeof e&&null!==e&&e.$$typeof===Xe}var xt=/\/+/g;function St(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 wt(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 Xe:case Ze:i=!0}}if(i)return o=o(i=e),e=""===r?"."+St(i,0):r,mt(o)?(n="",null!=e&&(n=e.replace(xt,"$&/")+"/"),wt(o,t,n,"",(function(e){return e}))):null!=o&&(yt(o)&&(o=function(e,t){return{$$typeof:Xe,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(xt,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=""===r?".":r+":",mt(e))for(var l=0;l<e.length;l++){var s=r+St(a=e[l],l);i+=wt(a,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=it&&e[it]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(a=e.next()).done;)i+=wt(a=a.value,t,n,s=r+St(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 Ct(e,t,n){if(null==e)return e;var r=[],o=0;return wt(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function kt(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 Et={current:null},Rt={transition:null},Lt={ReactCurrentDispatcher:Et,ReactCurrentBatchConfig:Rt,ReactCurrentOwner:gt};Ke.Children={map:Ct,forEach:function(e,t,n){Ct(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Ct(e,(function(){t++})),t},toArray:function(e){return Ct(e,(function(e){return e}))||[]},only:function(e){if(!yt(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},Ke.Component=ut,Ke.Fragment=Ye,Ke.Profiler=Je,Ke.PureComponent=pt,Ke.StrictMode=Qe,Ke.Suspense=rt,Ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Lt,Ke.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=st({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=gt.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)ht.call(t,s)&&!vt.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:Xe,type:e.type,key:o,ref:a,props:r,_owner:i}},Ke.createContext=function(e){return(e={$$typeof:tt,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:et,_context:e},e.Consumer=e},Ke.createElement=bt,Ke.createFactory=function(e){var t=bt.bind(null,e);return t.type=e,t},Ke.createRef=function(){return{current:null}},Ke.forwardRef=function(e){return{$$typeof:nt,render:e}},Ke.isValidElement=yt,Ke.lazy=function(e){return{$$typeof:at,_payload:{_status:-1,_result:e},_init:kt}},Ke.memo=function(e,t){return{$$typeof:ot,type:e,compare:void 0===t?null:t}},Ke.startTransition=function(e){var t=Rt.transition;Rt.transition={};try{e()}finally{Rt.transition=t}},Ke.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Ke.useCallback=function(e,t){return Et.current.useCallback(e,t)},Ke.useContext=function(e){return Et.current.useContext(e)},Ke.useDebugValue=function(){},Ke.useDeferredValue=function(e){return Et.current.useDeferredValue(e)},Ke.useEffect=function(e,t){return Et.current.useEffect(e,t)},Ke.useId=function(){return Et.current.useId()},Ke.useImperativeHandle=function(e,t,n){return Et.current.useImperativeHandle(e,t,n)},Ke.useInsertionEffect=function(e,t){return Et.current.useInsertionEffect(e,t)},Ke.useLayoutEffect=function(e,t){return Et.current.useLayoutEffect(e,t)},Ke.useMemo=function(e,t){return Et.current.useMemo(e,t)},Ke.useReducer=function(e,t,n){return Et.current.useReducer(e,t,n)},Ke.useRef=function(e){return Et.current.useRef(e)},Ke.useState=function(e){return Et.current.useState(e)},Ke.useSyncExternalStore=function(e,t,n){return Et.current.useSyncExternalStore(e,t,n)},Ke.useTransition=function(){return Et.current.useTransition()},Ke.version="18.1.0",function(e){e.exports=Ke}(Ge);var Ot=n(Ge.exports),Mt=t({__proto__:null,default:Ot},[Ge.exports]),It={exports:{}},Tt={},Pt={exports:{}},zt={};
|
|
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,
|
|
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,m=!1,h=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(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(h=!1,y(e),!m)if(null!==n(s))m=!0,P(S);else{var t=n(c);null!==t&&z(x,t.startTime-e)}}function S(t,o){m=!1,h&&(h=!1,v(E),E=-1),f=!0;var a=p;try{for(y(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),y(o)}else r(s);d=n(s)}if(null!==d)var u=!0;else{var g=n(c);null!==g&&z(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,C=!1,k=null,E=-1,R=5,L=-1;function O(){return!(e.unstable_now()-L<R)}function M(){if(null!==k){var t=e.unstable_now();L=t;var n=!0;try{n=k(!0,t)}finally{n?w():(C=!1,k=null)}}else C=!1}if("function"==typeof b)w=function(){b(M)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,T=I.port2;I.port1.onmessage=M,w=function(){T.postMessage(null)}}else w=function(){g(M,0)};function P(e){k=e,C||(C=!0,w())}function z(t,n){E=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(){m||f||(m=!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"):R=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,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)&&(h?(v(E),E=-1):h=!0,z(x,a-i))):(r.sortIndex=l,t(s,r),m||f||(m=!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}}}}(zt),function(e){e.exports=zt}(Pt);
|
|
18
18
|
/**
|
|
19
19
|
* @license React
|
|
20
20
|
* react-dom.production.min.js
|
|
@@ -24,13 +24,208 @@
|
|
|
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 ot=ye.exports,it=nt.exports;function at(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 lt=new Set,st={};function ct(e,t){ut(e,t),ut(e+"Capture",t)}function ut(e,t){for(st[e]=t,e=0;e<t.length;e++)lt.add(t[e])}var dt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ft=Object.prototype.hasOwnProperty,pt=/^[: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]*$/,ht={},mt={};function gt(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){vt[e]=new gt(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];vt[t]=new gt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){vt[e]=new gt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){vt[e]=new gt(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){vt[e]=new gt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){vt[e]=new gt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){vt[e]=new gt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){vt[e]=new gt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){vt[e]=new gt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var yt=/[\-:]([a-z])/g;function bt(e){return e[1].toUpperCase()}function xt(e,t,n,r){var o=vt.hasOwnProperty(t)?vt[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!!ft.call(mt,e)||!ft.call(ht,e)&&(pt.test(e)?mt[e]=!0:(ht[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(yt,bt);vt[t]=new gt(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(yt,bt);vt[t]=new gt(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(yt,bt);vt[t]=new gt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){vt[e]=new gt(e,1,!1,e.toLowerCase(),null,!1,!1)})),vt.xlinkHref=new gt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){vt[e]=new gt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Et=ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,St=Symbol.for("react.element"),wt=Symbol.for("react.portal"),Ct=Symbol.for("react.fragment"),kt=Symbol.for("react.strict_mode"),Lt=Symbol.for("react.profiler"),Rt=Symbol.for("react.provider"),Ot=Symbol.for("react.context"),_t=Symbol.for("react.forward_ref"),It=Symbol.for("react.suspense"),Pt=Symbol.for("react.suspense_list"),Nt=Symbol.for("react.memo"),Tt=Symbol.for("react.lazy"),Dt=Symbol.for("react.offscreen"),Mt=Symbol.iterator;function qt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Mt&&e[Mt]||e["@@iterator"])?e:null}var At,zt=Object.assign;function jt(e){if(void 0===At)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);At=t&&t[1]||""}return"\n"+At+e}var Ft=!1;function Bt(e,t){if(!e||Ft)return"";Ft=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{Ft=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?jt(e):""}function Ut(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=Bt(e.type,!1);case 11:return e=Bt(e.type.render,!1);case 1:return e=Bt(e.type,!0);default:return""}}function Ht(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 function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case Ct:return"Fragment";case wt:return"Portal";case Lt:return"Profiler";case kt:return"StrictMode";case It:return"Suspense";case Pt:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case Ot:return(t.displayName||"Context")+".Consumer";case Rt:return(t._context.displayName||"Context")+".Provider";case _t:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case Nt:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case Tt:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===kt?"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 Wt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Vt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $t(e){e._valueTracker||(e._valueTracker=function(e){var t=Vt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Kt(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 Zt(e,t){var n=t.checked;return zt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Xt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Wt(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 Qt(e,t){null!=(t=t.checked)&&xt(e,"checked",t,!1)}function Jt(e,t){Qt(e,t);var n=Wt(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")?en(e,t.type,n):t.hasOwnProperty("defaultValue")&&en(e,t.type,Wt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Yt(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 en(e,t,n){"number"===t&&Kt(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var tn=Array.isArray;function nn(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=""+Wt(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 rn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(at(91));return zt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function on(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(at(92));if(tn(n)){if(1<n.length)throw Error(at(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Wt(n)}}function an(e,t){var n=Wt(t.value),r=Wt(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 ln(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function sn(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?sn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var un,dn,fn=(dn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((un=un||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=un.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 dn(e,t)}))}:dn);function pn(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 hn={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},mn=["Webkit","ms","Moz","O"];function gn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||hn.hasOwnProperty(e)&&hn[e]?(""+t).trim():t+"px"}function vn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=gn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(hn).forEach((function(e){mn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),hn[t]=hn[e]}))}));var yn=zt({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 bn(e,t){if(t){if(yn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(at(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(at(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(at(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(at(62))}}function xn(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 En=null;function Sn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var wn=null,Cn=null,kn=null;function Ln(e){if(e=fa(e)){if("function"!=typeof wn)throw Error(at(280));var t=e.stateNode;t&&(t=ha(t),wn(e.stateNode,e.type,t))}}function Rn(e){Cn?kn?kn.push(e):kn=[e]:Cn=e}function On(){if(Cn){var e=Cn,t=kn;if(kn=Cn=null,Ln(e),t)for(e=0;e<t.length;e++)Ln(t[e])}}function _n(e,t){return e(t)}function In(){}var Pn=!1;function Nn(e,t,n){if(Pn)return e(t,n);Pn=!0;try{return _n(e,t,n)}finally{Pn=!1,(null!==Cn||null!==kn)&&(In(),On())}}function Tn(e,t){var n=e.stateNode;if(null===n)return null;var r=ha(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(at(231,t,typeof n));return n}var Dn=!1;if(dt)try{var Mn={};Object.defineProperty(Mn,"passive",{get:function(){Dn=!0}}),window.addEventListener("test",Mn,Mn),window.removeEventListener("test",Mn,Mn)}catch(dn){Dn=!1}function qn(e,t,n,r,o,i,a,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var An=!1,zn=null,jn=!1,Fn=null,Bn={onError:function(e){An=!0,zn=e}};function Un(e,t,n,r,o,i,a,l,s){An=!1,zn=null,qn.apply(Bn,arguments)}function Hn(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 Wn(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 Vn(e){if(Hn(e)!==e)throw Error(at(188))}function $n(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Hn(e)))throw Error(at(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Vn(o),e;if(i===r)return Vn(o),t;i=i.sibling}throw Error(at(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(at(189))}}if(n.alternate!==r)throw Error(at(190))}if(3!==n.tag)throw Error(at(188));return n.stateNode.current===n?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var Gn=it.unstable_scheduleCallback,Kn=it.unstable_cancelCallback,Zn=it.unstable_shouldYield,Xn=it.unstable_requestPaint,Qn=it.unstable_now,Jn=it.unstable_getCurrentPriorityLevel,Yn=it.unstable_ImmediatePriority,er=it.unstable_UserBlockingPriority,tr=it.unstable_NormalPriority,nr=it.unstable_LowPriority,rr=it.unstable_IdlePriority,or=null,ir=null;var ar=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lr(e)/sr|0)|0},lr=Math.log,sr=Math.LN2;var cr=64,ur=4194304;function dr(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 fr(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dr(l):0!==(i&=a)&&(r=dr(i))}else 0!==(a=n&~o)?r=dr(a):0!==i&&(r=dr(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))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-ar(t)),r|=e[n],t&=~o;return r}function pr(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;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:default:return-1}}function hr(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gr(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ar(t)]=n}function vr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ar(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yr=0;function br(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var xr,Er,Sr,wr,Cr,kr=!1,Lr=[],Rr=null,Or=null,_r=null,Ir=new Map,Pr=new Map,Nr=[],Tr="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 Dr(e,t){switch(e){case"focusin":case"focusout":Rr=null;break;case"dragenter":case"dragleave":Or=null;break;case"mouseover":case"mouseout":_r=null;break;case"pointerover":case"pointerout":Ir.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pr.delete(t.pointerId)}}function Mr(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=fa(t))&&Er(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function qr(e){var t=da(e.target);if(null!==t){var n=Hn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Wn(n)))return e.blockedOn=t,void Cr(e.priority,(function(){Sr(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 Ar(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=fa(n))&&Er(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);En=r,n.target.dispatchEvent(r),En=null,t.shift()}return!0}function zr(e,t,n){Ar(e)&&n.delete(t)}function jr(){kr=!1,null!==Rr&&Ar(Rr)&&(Rr=null),null!==Or&&Ar(Or)&&(Or=null),null!==_r&&Ar(_r)&&(_r=null),Ir.forEach(zr),Pr.forEach(zr)}function Fr(e,t){e.blockedOn===t&&(e.blockedOn=null,kr||(kr=!0,it.unstable_scheduleCallback(it.unstable_NormalPriority,jr)))}function Br(e){function t(t){return Fr(t,e)}if(0<Lr.length){Fr(Lr[0],e);for(var n=1;n<Lr.length;n++){var r=Lr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Rr&&Fr(Rr,e),null!==Or&&Fr(Or,e),null!==_r&&Fr(_r,e),Ir.forEach(t),Pr.forEach(t),n=0;n<Nr.length;n++)(r=Nr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nr.length&&null===(n=Nr[0]).blockedOn;)qr(n),null===n.blockedOn&&Nr.shift()}var Ur=Et.ReactCurrentBatchConfig;function Hr(e,t,n,r){var o=yr,i=Ur.transition;Ur.transition=null;try{yr=1,Vr(e,t,n,r)}finally{yr=o,Ur.transition=i}}function Wr(e,t,n,r){var o=yr,i=Ur.transition;Ur.transition=null;try{yr=4,Vr(e,t,n,r)}finally{yr=o,Ur.transition=i}}function Vr(e,t,n,r){var o=Gr(e,t,n,r);if(null===o)zi(e,t,r,$r,n),Dr(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Rr=Mr(Rr,e,t,n,r,o),!0;case"dragenter":return Or=Mr(Or,e,t,n,r,o),!0;case"mouseover":return _r=Mr(_r,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ir.set(i,Mr(Ir.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Pr.set(i,Mr(Pr.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Dr(e,r),4&t&&-1<Tr.indexOf(e)){for(;null!==o;){var i=fa(o);if(null!==i&&xr(i),null===(i=Gr(e,t,n,r))&&zi(e,t,r,$r,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else zi(e,t,r,null,n)}var $r=null;function Gr(e,t,n,r){if($r=null,null!==(e=da(e=Sn(r))))if(null===(t=Hn(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Wn(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 $r=e,null}function Kr(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(Jn()){case Yn:return 1;case er:return 4;case tr:case nr:return 16;case rr:return 536870912;default:return 16}default:return 16}}var Zr=null,Xr=null,Qr=null;function Jr(){if(Qr)return Qr;var e,t,n=Xr,r=n.length,o="value"in Zr?Zr.value:Zr.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Qr=o.slice(e,1<t?1-t:void 0)}function Yr(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 eo(){return!0}function to(){return!1}function no(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?eo:to,this.isPropagationStopped=to,this}return zt(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=eo)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=eo)},persist:function(){},isPersistent:eo}),t}var ro,oo,io,ao={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lo=no(ao),so=zt({},ao,{view:0,detail:0}),co=no(so),uo=zt({},so,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:So,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!==io&&(io&&"mousemove"===e.type?(ro=e.screenX-io.screenX,oo=e.screenY-io.screenY):oo=ro=0,io=e),ro)},movementY:function(e){return"movementY"in e?e.movementY:oo}}),fo=no(uo),po=no(zt({},uo,{dataTransfer:0})),ho=no(zt({},so,{relatedTarget:0})),mo=no(zt({},ao,{animationName:0,elapsedTime:0,pseudoElement:0})),go=no(zt({},ao,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),vo=no(zt({},ao,{data:0})),yo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bo={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"},xo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Eo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xo[e])&&!!t[e]}function So(){return Eo}var wo=no(zt({},so,{key:function(e){if(e.key){var t=yo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Yr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?bo[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:So,charCode:function(e){return"keypress"===e.type?Yr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Yr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Co=no(zt({},uo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ko=no(zt({},so,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:So})),Lo=no(zt({},ao,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ro=no(zt({},uo,{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})),Oo=[9,13,27,32],_o=dt&&"CompositionEvent"in window,Io=null;dt&&"documentMode"in document&&(Io=document.documentMode);var Po=dt&&"TextEvent"in window&&!Io,No=dt&&(!_o||Io&&8<Io&&11>=Io),To=String.fromCharCode(32),Do=!1;function Mo(e,t){switch(e){case"keyup":return-1!==Oo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qo(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ao=!1;var zo={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 jo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!zo[e.type]:"textarea"===t}function Fo(e,t,n,r){Rn(r),0<(t=Fi(t,"onChange")).length&&(n=new lo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bo=null,Uo=null;function Ho(e){Ni(e,0)}function Wo(e){if(Gt(pa(e)))return e}function Vo(e,t){if("change"===e)return t}var $o=!1;if(dt){var Go;if(dt){var Ko="oninput"in document;if(!Ko){var Zo=document.createElement("div");Zo.setAttribute("oninput","return;"),Ko="function"==typeof Zo.oninput}Go=Ko}else Go=!1;$o=Go&&(!document.documentMode||9<document.documentMode)}function Xo(){Bo&&(Bo.detachEvent("onpropertychange",Qo),Uo=Bo=null)}function Qo(e){if("value"===e.propertyName&&Wo(Uo)){var t=[];Fo(t,Uo,e,Sn(e)),Nn(Ho,t)}}function Jo(e,t,n){"focusin"===e?(Xo(),Uo=n,(Bo=t).attachEvent("onpropertychange",Qo)):"focusout"===e&&Xo()}function Yo(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Wo(Uo)}function ei(e,t){if("click"===e)return Wo(t)}function ti(e,t){if("input"===e||"change"===e)return Wo(t)}var ni="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ri(e,t){if(ni(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(!ft.call(t,o)||!ni(e[o],t[o]))return!1}return!0}function oi(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ii(e,t){var n,r=oi(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=oi(r)}}function ai(){for(var e=window,t=Kt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Kt((e=t.contentWindow).document)}return t}function li(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 si(e){var t=ai(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&li(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ii(n,i);var a=ii(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ci=dt&&"documentMode"in document&&11>=document.documentMode,ui=null,di=null,fi=null,pi=!1;function hi(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;pi||null==ui||ui!==Kt(r)||("selectionStart"in(r=ui)&&li(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},fi&&ri(fi,r)||(fi=r,0<(r=Fi(di,"onSelect")).length&&(t=new lo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ui)))}function mi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var gi={animationend:mi("Animation","AnimationEnd"),animationiteration:mi("Animation","AnimationIteration"),animationstart:mi("Animation","AnimationStart"),transitionend:mi("Transition","TransitionEnd")},vi={},yi={};function bi(e){if(vi[e])return vi[e];if(!gi[e])return e;var t,n=gi[e];for(t in n)if(n.hasOwnProperty(t)&&t in yi)return vi[e]=n[t];return e}dt&&(yi=document.createElement("div").style,"AnimationEvent"in window||(delete gi.animationend.animation,delete gi.animationiteration.animation,delete gi.animationstart.animation),"TransitionEvent"in window||delete gi.transitionend.transition);var xi=bi("animationend"),Ei=bi("animationiteration"),Si=bi("animationstart"),wi=bi("transitionend"),Ci=new Map,ki="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 Li(e,t){Ci.set(e,t),ct(t,[e])}for(var Ri=0;Ri<ki.length;Ri++){var Oi=ki[Ri];Li(Oi.toLowerCase(),"on"+(Oi[0].toUpperCase()+Oi.slice(1)))}Li(xi,"onAnimationEnd"),Li(Ei,"onAnimationIteration"),Li(Si,"onAnimationStart"),Li("dblclick","onDoubleClick"),Li("focusin","onFocus"),Li("focusout","onBlur"),Li(wi,"onTransitionEnd"),ut("onMouseEnter",["mouseout","mouseover"]),ut("onMouseLeave",["mouseout","mouseover"]),ut("onPointerEnter",["pointerout","pointerover"]),ut("onPointerLeave",["pointerout","pointerover"]),ct("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ct("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ct("onBeforeInput",["compositionend","keypress","textInput","paste"]),ct("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ct("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ct("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _i="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(" "),Ii=new Set("cancel close invalid load scroll toggle".split(" ").concat(_i));function Pi(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(Un.apply(this,arguments),An){if(!An)throw Error(at(198));var c=zn;An=!1,zn=null,jn||(jn=!0,Fn=c)}}(r,t,void 0,e),e.currentTarget=null}function Ni(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 i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Pi(o,l,c),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,c=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Pi(o,l,c),i=s}}}if(jn)throw e=Fn,jn=!1,Fn=null,e}function Ti(e,t){var n=t[sa];void 0===n&&(n=t[sa]=new Set);var r=e+"__bubble";n.has(r)||(Ai(t,e,2,!1),n.add(r))}function Di(e,t,n){var r=0;t&&(r|=4),Ai(n,e,r,t)}var Mi="_reactListening"+Math.random().toString(36).slice(2);function qi(e){if(!e[Mi]){e[Mi]=!0,lt.forEach((function(t){"selectionchange"!==t&&(Ii.has(t)||Di(t,!1,e),Di(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Mi]||(t[Mi]=!0,Di("selectionchange",!1,t))}}function Ai(e,t,n,r){switch(Kr(t)){case 1:var o=Hr;break;case 4:o=Wr;break;default:o=Vr}n=o.bind(null,t,n,e),o=void 0,!Dn||"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 zi(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=da(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Nn((function(){var r=i,o=Sn(n),a=[];e:{var l=Ci.get(e);if(void 0!==l){var s=lo,c=e;switch(e){case"keypress":if(0===Yr(n))break e;case"keydown":case"keyup":s=wo;break;case"focusin":c="focus",s=ho;break;case"focusout":c="blur",s=ho;break;case"beforeblur":case"afterblur":s=ho;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=fo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=po;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=ko;break;case xi:case Ei:case Si:s=mo;break;case wi:s=Lo;break;case"scroll":s=co;break;case"wheel":s=Ro;break;case"copy":case"cut":case"paste":s=go;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Co}var u=0!=(4&t),d=!u&&"scroll"===e,f=u?null!==l?l+"Capture":null:l;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Tn(h,f))&&u.push(ji(h,m,p)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),a.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===En||!(c=n.relatedTarget||n.fromElement)||!da(c)&&!c[la])&&(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)?da(c):null)&&(c!==(d=Hn(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=fo,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Co,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:pa(s),p=null==c?l:pa(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,da(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(f=c,h=0,p=u=s;p;p=Bi(p))h++;for(p=0,m=f;m;m=Bi(m))p++;for(;0<h-p;)u=Bi(u),h--;for(;0<p-h;)f=Bi(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Bi(u),f=Bi(f)}u=null}else u=null;null!==s&&Ui(a,l,s,u,!1),null!==c&&null!==d&&Ui(a,d,c,u,!0)}if("select"===(s=(l=r?pa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Vo;else if(jo(l))if($o)g=ti;else{g=Yo;var v=Jo}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ei);switch(g&&(g=g(e,r))?Fo(a,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&en(l,"number",l.value)),v=r?pa(r):window,e){case"focusin":(jo(v)||"true"===v.contentEditable)&&(ui=v,di=r,fi=null);break;case"focusout":fi=di=ui=null;break;case"mousedown":pi=!0;break;case"contextmenu":case"mouseup":case"dragend":pi=!1,hi(a,n,o);break;case"selectionchange":if(ci)break;case"keydown":case"keyup":hi(a,n,o)}var y;if(_o)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 Ao?Mo(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(No&&"ko"!==n.locale&&(Ao||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ao&&(y=Jr()):(Xr="value"in(Zr=o)?Zr.value:Zr.textContent,Ao=!0)),0<(v=Fi(r,b)).length&&(b=new vo(b,e,null,n,o),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=qo(n))&&(b.data=y))),(y=Po?function(e,t){switch(e){case"compositionend":return qo(t);case"keypress":return 32!==t.which?null:(Do=!0,To);case"textInput":return(e=t.data)===To&&Do?null:e;default:return null}}(e,n):function(e,t){if(Ao)return"compositionend"===e||!_o&&Mo(e,t)?(e=Jr(),Qr=Xr=Zr=null,Ao=!1,e):null;switch(e){case"paste":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 No&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=Fi(r,"onBeforeInput")).length&&(o=new vo("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Ni(a,t)}))}function ji(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fi(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Tn(e,n))&&r.unshift(ji(e,i,o)),null!=(i=Tn(e,t))&&r.push(ji(e,i,o))),e=e.return}return r}function Bi(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 i=t._reactName,a=[];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=Tn(n,i))&&a.unshift(ji(n,s,l)):o||null!=(s=Tn(n,i))&&a.push(ji(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Hi=/\r\n?/g,Wi=/\u0000|\uFFFD/g;function Vi(e){return("string"==typeof e?e:""+e).replace(Hi,"\n").replace(Wi,"")}function $i(e,t,n){if(t=Vi(t),Vi(e)!==t&&n)throw Error(at(425))}function Gi(){}var Ki=null;function Zi(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 Xi="function"==typeof setTimeout?setTimeout:void 0,Qi="function"==typeof clearTimeout?clearTimeout:void 0,Ji="function"==typeof Promise?Promise:void 0,Yi="function"==typeof queueMicrotask?queueMicrotask:void 0!==Ji?function(e){return Ji.resolve(null).then(e).catch(ea)}:Xi;function ea(e){setTimeout((function(){throw e}))}function ta(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 Br(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Br(t)}function na(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 ra(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 oa=Math.random().toString(36).slice(2),ia="__reactFiber$"+oa,aa="__reactProps$"+oa,la="__reactContainer$"+oa,sa="__reactEvents$"+oa,ca="__reactListeners$"+oa,ua="__reactHandles$"+oa;function da(e){var t=e[ia];if(t)return t;for(var n=e.parentNode;n;){if(t=n[la]||n[ia]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ra(e);null!==e;){if(n=e[ia])return n;e=ra(e)}return t}n=(e=n).parentNode}return null}function fa(e){return!(e=e[ia]||e[la])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function pa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(at(33))}function ha(e){return e[aa]||null}var ma=[],ga=-1;function va(e){return{current:e}}function ya(e){0>ga||(e.current=ma[ga],ma[ga]=null,ga--)}function ba(e,t){ga++,ma[ga]=e.current,e.current=t}var xa={},Ea=va(xa),Sa=va(!1),wa=xa;function Ca(e,t){var n=e.type.contextTypes;if(!n)return xa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ka(e){return null!=(e=e.childContextTypes)}function La(){ya(Sa),ya(Ea)}function Ra(e,t,n){if(Ea.current!==xa)throw Error(at(168));ba(Ea,t),ba(Sa,n)}function Oa(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(at(108,Ht(e)||"Unknown",o));return zt({},n,r)}function _a(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xa,wa=Ea.current,ba(Ea,e),ba(Sa,Sa.current),!0}function Ia(e,t,n){var r=e.stateNode;if(!r)throw Error(at(169));n?(e=Oa(e,t,wa),r.__reactInternalMemoizedMergedChildContext=e,ya(Sa),ya(Ea),ba(Ea,e)):ya(Sa),ba(Sa,n)}var Pa=null,Na=!1,Ta=!1;function Da(e){null===Pa?Pa=[e]:Pa.push(e)}function Ma(){if(!Ta&&null!==Pa){Ta=!0;var e=0,t=yr;try{var n=Pa;for(yr=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Pa=null,Na=!1}catch(t){throw null!==Pa&&(Pa=Pa.slice(e+1)),Gn(Yn,Ma),t}finally{yr=t,Ta=!1}}return null}var qa=Et.ReactCurrentBatchConfig;function Aa(e,t){if(e&&e.defaultProps){for(var n in t=zt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var za=va(null),ja=null,Fa=null,Ba=null;function Ua(){Ba=Fa=ja=null}function Ha(e){var t=za.current;ya(za),e._currentValue=t}function Wa(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 Va(e,t){ja=e,Ba=Fa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(fc=!0),e.firstContext=null)}function $a(e){var t=e._currentValue;if(Ba!==e)if(e={context:e,memoizedValue:t,next:null},null===Fa){if(null===ja)throw Error(at(308));Fa=e,ja.dependencies={lanes:0,firstContext:e}}else Fa=Fa.next=e;return t}var Ga=null,Ka=!1;function Za(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xa(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 Qa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ja(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,null!==uu&&0!=(1&e.mode)&&0==(2&cu)?(null===(e=n.interleaved)?(t.next=t,null===Ga?Ga=[n]:Ga.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function Ya(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,vr(e,n)}}function el(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function tl(e,t,n,r){var o=e.updateQueue;Ka=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===a?i=c:a.next=c,a=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,u=c=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=zt({},d,f);break e;case 2:Ka=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,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{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);vu|=a,e.lanes=a,e.memoizedState=d}}function nl(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(at(191,o));o.call(r)}}}var rl=(new ot.Component).refs;function ol(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:zt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var il={isMounted:function(e){return!!(e=e._reactInternals)&&Hn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Du(),o=Mu(e),i=Qa(r,o);i.payload=t,null!=n&&(i.callback=n),Ja(e,i),null!==(t=qu(e,o,r))&&Ya(t,e,o)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Du(),o=Mu(e),i=Qa(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),Ja(e,i),null!==(t=qu(e,o,r))&&Ya(t,e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Du(),r=Mu(e),o=Qa(n,r);o.tag=2,null!=t&&(o.callback=t),Ja(e,o),null!==(t=qu(e,r,n))&&Ya(t,e,r)}};function al(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!ri(n,r)||!ri(o,i))}function ll(e,t,n){var r=!1,o=xa,i=t.contextType;return"object"==typeof i&&null!==i?i=$a(i):(o=ka(t)?wa:Ea.current,i=(r=null!=(r=t.contextTypes))?Ca(e,o):xa),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=il,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function sl(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&&il.enqueueReplaceState(t,t.state,null)}function cl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=rl,Za(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=$a(i):(i=ka(t)?wa:Ea.current,o.context=Ca(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ol(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&il.enqueueReplaceState(o,o.state,null),tl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}var ul=[],dl=0,fl=null,pl=0,hl=[],ml=0,gl=null,vl=1,yl="";function bl(e,t){ul[dl++]=pl,ul[dl++]=fl,fl=e,pl=t}function xl(e,t,n){hl[ml++]=vl,hl[ml++]=yl,hl[ml++]=gl,gl=e;var r=vl;e=yl;var o=32-ar(r)-1;r&=~(1<<o),n+=1;var i=32-ar(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,vl=1<<32-ar(t)+o|n<<o|r,yl=i+e}else vl=1<<i|n<<o|r,yl=e}function El(e){null!==e.return&&(bl(e,1),xl(e,1,0))}function Sl(e){for(;e===fl;)fl=ul[--dl],ul[dl]=null,pl=ul[--dl],ul[dl]=null;for(;e===gl;)gl=hl[--ml],hl[ml]=null,yl=hl[--ml],hl[ml]=null,vl=hl[--ml],hl[ml]=null}var wl=null,Cl=null,kl=!1,Ll=null;function Rl(e,t){var n=fd(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 Ol(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,wl=e,Cl=na(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,wl=e,Cl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==gl?{id:vl,overflow:yl}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=fd(18,null,null,0)).stateNode=t,n.return=e,e.child=n,wl=e,Cl=null,!0);default:return!1}}function _l(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Il(e){if(kl){var t=Cl;if(t){var n=t;if(!Ol(e,t)){if(_l(e))throw Error(at(418));t=na(n.nextSibling);var r=wl;t&&Ol(e,t)?Rl(r,n):(e.flags=-4097&e.flags|2,kl=!1,wl=e)}}else{if(_l(e))throw Error(at(418));e.flags=-4097&e.flags|2,kl=!1,wl=e}}}function Pl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;wl=e}function Nl(e){if(e!==wl)return!1;if(!kl)return Pl(e),kl=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Zi(e.type,e.memoizedProps)),t&&(t=Cl)){if(_l(e)){for(e=Cl;e;)e=na(e.nextSibling);throw Error(at(418))}for(;t;)Rl(e,t),t=na(t.nextSibling)}if(Pl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(at(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Cl=na(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Cl=null}}else Cl=wl?na(e.stateNode.nextSibling):null;return!0}function Tl(){Cl=wl=null,kl=!1}function Dl(e){null===Ll?Ll=[e]:Ll.push(e)}function Ml(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(at(309));var r=n.stateNode}if(!r)throw Error(at(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=o.refs;t===rl&&(t=o.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(at(284));if(!n._owner)throw Error(at(290,e))}return e}function ql(e,t){throw e=Object.prototype.toString.call(t),Error(at(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Al(e){return(0,e._init)(e._payload)}function zl(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=hd(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=yd(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===Ct?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===Tt&&Al(i)===t.type)?((r=o(t,n.props)).ref=Ml(e,t,n),r.return=e,r):((r=md(n.type,n.key,n.props,null,e.mode,r)).ref=Ml(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=bd(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,r,i){return null===t||7!==t.tag?((t=gd(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=yd(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case St:return(n=md(t.type,t.key,t.props,null,e.mode,n)).ref=Ml(e,null,t),n.return=e,n;case wt:return(t=bd(t,e.mode,n)).return=e,t;case Tt:return d(e,(0,t._init)(t._payload),n)}if(tn(t)||qt(t))return(t=gd(t,e.mode,n,null)).return=e,t;ql(e,t)}return null}function f(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 St:return n.key===o?s(e,t,n,r):null;case wt:return n.key===o?c(e,t,n,r):null;case Tt:return f(e,t,(o=n._init)(n._payload),r)}if(tn(n)||qt(n))return null!==o?null:u(e,t,n,r,null);ql(e,n)}return null}function p(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 St:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case wt:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Tt:return p(e,t,n,(0,r._init)(r._payload),o)}if(tn(r)||qt(r))return u(t,e=e.get(n)||null,r,o,null);ql(t,r)}return null}function h(o,a,l,s){for(var c=null,u=null,h=a,m=a=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=f(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v,h=g}if(m===l.length)return n(o,h),kl&&bl(o,m),c;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===u?c=h:u.sibling=h,u=h);return kl&&bl(o,m),c}for(h=r(o,h);m<l.length;m++)null!==(g=p(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(o,e)})),kl&&bl(o,m),c}function m(o,a,l,s){var c=qt(l);if("function"!=typeof c)throw Error(at(150));if(null==(l=c.call(l)))throw Error(at(151));for(var u=c=null,h=a,m=a=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=f(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===u?c=y:u.sibling=y,u=y,h=g}if(v.done)return n(o,h),kl&&bl(o,m),c;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(a=i(v,a,m),null===u?c=v:u.sibling=v,u=v);return kl&&bl(o,m),c}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=p(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v);return e&&h.forEach((function(e){return t(o,e)})),kl&&bl(o,m),c}return function e(r,i,l,s){if("object"==typeof l&&null!==l&&l.type===Ct&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case St:e:{for(var c=l.key,u=i;null!==u;){if(u.key===c){if((c=l.type)===Ct){if(7===u.tag){n(r,u.sibling),(i=o(u,l.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Tt&&Al(c)===u.type){n(r,u.sibling),(i=o(u,l.props)).ref=Ml(r,u,l),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}l.type===Ct?((i=gd(l.props.children,r.mode,s,l.key)).return=r,r=i):((s=md(l.type,l.key,l.props,null,r.mode,s)).ref=Ml(r,i,l),s.return=r,r=s)}return a(r);case wt:e:{for(u=l.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===l.containerInfo&&i.stateNode.implementation===l.implementation){n(r,i.sibling),(i=o(i,l.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=bd(l,r.mode,s)).return=r,r=i}return a(r);case Tt:return e(r,i,(u=l._init)(l._payload),s)}if(tn(l))return h(r,i,l,s);if(qt(l))return m(r,i,l,s);ql(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,l)).return=r,r=i):(n(r,i),(i=yd(l,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var jl=zl(!0),Fl=zl(!1),Bl={},Ul=va(Bl),Hl=va(Bl),Wl=va(Bl);function Vl(e){if(e===Bl)throw Error(at(174));return e}function $l(e,t){switch(ba(Wl,t),ba(Hl,e),ba(Ul,Bl),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)}ya(Ul),ba(Ul,t)}function Gl(){ya(Ul),ya(Hl),ya(Wl)}function Kl(e){Vl(Wl.current);var t=Vl(Ul.current),n=cn(t,e.type);t!==n&&(ba(Hl,e),ba(Ul,n))}function Zl(e){Hl.current===e&&(ya(Ul),ya(Hl))}var Xl=va(0);function Ql(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 Jl=[];function Yl(){for(var e=0;e<Jl.length;e++)Jl[e]._workInProgressVersionPrimary=null;Jl.length=0}var es=Et.ReactCurrentDispatcher,ts=Et.ReactCurrentBatchConfig,ns=0,rs=null,os=null,is=null,as=!1,ls=!1,ss=0,cs=0;function us(){throw Error(at(321))}function ds(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ni(e[n],t[n]))return!1;return!0}function fs(e,t,n,r,o,i){if(ns=i,rs=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,es.current=null===e||null===e.memoizedState?Ks:Zs,e=n(r,o),ls){i=0;do{if(ls=!1,ss=0,25<=i)throw Error(at(301));i+=1,is=os=null,t.updateQueue=null,es.current=Xs,e=n(r,o)}while(ls)}if(es.current=Gs,t=null!==os&&null!==os.next,ns=0,is=os=rs=null,as=!1,t)throw Error(at(300));return e}function ps(){var e=0!==ss;return ss=0,e}function hs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===is?rs.memoizedState=is=e:is=is.next=e,is}function ms(){if(null===os){var e=rs.alternate;e=null!==e?e.memoizedState:null}else e=os.next;var t=null===is?rs.memoizedState:is.next;if(null!==t)is=t,os=e;else{if(null===e)throw Error(at(310));e={memoizedState:(os=e).memoizedState,baseState:os.baseState,baseQueue:os.baseQueue,queue:os.queue,next:null},null===is?rs.memoizedState=is=e:is=is.next=e}return is}function gs(e,t){return"function"==typeof t?t(e):t}function vs(e){var t=ms(),n=t.queue;if(null===n)throw Error(at(311));n.lastRenderedReducer=e;var r=os,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=a=null,s=null,c=i;do{var u=c.lane;if((ns&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,a=r):s=s.next=d,rs.lanes|=u,vu|=u}c=c.next}while(null!==c&&c!==i);null===s?a=r:s.next=l,ni(r,t.memoizedState)||(fc=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,rs.lanes|=i,vu|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ys(e){var t=ms(),n=t.queue;if(null===n)throw Error(at(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);ni(i,t.memoizedState)||(fc=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function bs(){}function xs(e,t){var n=rs,r=ms(),o=t(),i=!ni(r.memoizedState,o);if(i&&(r.memoizedState=o,fc=!0),r=r.queue,Ps(ws.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==is&&1&is.memoizedState.tag){if(n.flags|=2048,Ls(9,Ss.bind(null,n,r,o,t),void 0,null),null===uu)throw Error(at(349));0!=(30&ns)||Es(n,t,o)}return o}function Es(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=rs.updateQueue)?(t={lastEffect:null,stores:null},rs.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ss(e,t,n,r){t.value=n,t.getSnapshot=r,Cs(t)&&qu(e,1,-1)}function ws(e,t,n){return n((function(){Cs(t)&&qu(e,1,-1)}))}function Cs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ni(e,n)}catch(e){return!0}}function ks(e){var t=hs();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:gs,lastRenderedState:e},t.queue=e,e=e.dispatch=Us.bind(null,rs,e),[t.memoizedState,e]}function Ls(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=rs.updateQueue)?(t={lastEffect:null,stores:null},rs.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 Rs(){return ms().memoizedState}function Os(e,t,n,r){var o=hs();rs.flags|=e,o.memoizedState=Ls(1|t,n,void 0,void 0===r?null:r)}function _s(e,t,n,r){var o=ms();r=void 0===r?null:r;var i=void 0;if(null!==os){var a=os.memoizedState;if(i=a.destroy,null!==r&&ds(r,a.deps))return void(o.memoizedState=Ls(t,n,i,r))}rs.flags|=e,o.memoizedState=Ls(1|t,n,i,r)}function Is(e,t){return Os(8390656,8,e,t)}function Ps(e,t){return _s(2048,8,e,t)}function Ns(e,t){return _s(4,2,e,t)}function Ts(e,t){return _s(4,4,e,t)}function Ds(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 Ms(e,t,n){return n=null!=n?n.concat([e]):null,_s(4,4,Ds.bind(null,t,e),n)}function qs(){}function As(e,t){var n=ms();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ds(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zs(e,t){var n=ms();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ds(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function js(e,t){var n=yr;yr=0!==n&&4>n?n:4,e(!0);var r=ts.transition;ts.transition={};try{e(!1),t()}finally{yr=n,ts.transition=r}}function Fs(){return ms().memoizedState}function Bs(e,t,n){var r=Mu(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Hs(e)?Ws(t,n):(Vs(e,t,n),null!==(e=qu(e,r,n=Du()))&&$s(e,t,r))}function Us(e,t,n){var r=Mu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hs(e))Ws(t,o);else{Vs(e,t,o);var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,ni(l,a))return}catch(e){}null!==(e=qu(e,r,n=Du()))&&$s(e,t,r)}}function Hs(e){var t=e.alternate;return e===rs||null!==t&&t===rs}function Ws(e,t){ls=as=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vs(e,t,n){null!==uu&&0!=(1&e.mode)&&0==(2&cu)?(null===(e=t.interleaved)?(n.next=n,null===Ga?Ga=[t]:Ga.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function $s(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vr(e,n)}}var Gs={readContext:$a,useCallback:us,useContext:us,useEffect:us,useImperativeHandle:us,useInsertionEffect:us,useLayoutEffect:us,useMemo:us,useReducer:us,useRef:us,useState:us,useDebugValue:us,useDeferredValue:us,useTransition:us,useMutableSource:us,useSyncExternalStore:us,useId:us,unstable_isNewReconciler:!1},Ks={readContext:$a,useCallback:function(e,t){return hs().memoizedState=[e,void 0===t?null:t],e},useContext:$a,useEffect:Is,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Os(4194308,4,Ds.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Os(4194308,4,e,t)},useInsertionEffect:function(e,t){return Os(4,2,e,t)},useMemo:function(e,t){var n=hs();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=hs();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=Bs.bind(null,rs,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},hs().memoizedState=e},useState:ks,useDebugValue:qs,useDeferredValue:function(e){var t=ks(e),n=t[0],r=t[1];return Is((function(){var t=ts.transition;ts.transition={};try{r(e)}finally{ts.transition=t}}),[e]),n},useTransition:function(){var e=ks(!1),t=e[0];return e=js.bind(null,e[1]),hs().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=rs,o=hs();if(kl){if(void 0===n)throw Error(at(407));n=n()}else{if(n=t(),null===uu)throw Error(at(349));0!=(30&ns)||Es(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Is(ws.bind(null,r,i,e),[e]),r.flags|=2048,Ls(9,Ss.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=hs(),t=uu.identifierPrefix;if(kl){var n=yl;t=":"+t+"R"+(n=(vl&~(1<<32-ar(vl)-1)).toString(32)+n),0<(n=ss++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=cs++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Zs={readContext:$a,useCallback:As,useContext:$a,useEffect:Ps,useImperativeHandle:Ms,useInsertionEffect:Ns,useLayoutEffect:Ts,useMemo:zs,useReducer:vs,useRef:Rs,useState:function(){return vs(gs)},useDebugValue:qs,useDeferredValue:function(e){var t=vs(gs),n=t[0],r=t[1];return Ps((function(){var t=ts.transition;ts.transition={};try{r(e)}finally{ts.transition=t}}),[e]),n},useTransition:function(){return[vs(gs)[0],ms().memoizedState]},useMutableSource:bs,useSyncExternalStore:xs,useId:Fs,unstable_isNewReconciler:!1},Xs={readContext:$a,useCallback:As,useContext:$a,useEffect:Ps,useImperativeHandle:Ms,useInsertionEffect:Ns,useLayoutEffect:Ts,useMemo:zs,useReducer:ys,useRef:Rs,useState:function(){return ys(gs)},useDebugValue:qs,useDeferredValue:function(e){var t=ys(gs),n=t[0],r=t[1];return Ps((function(){var t=ts.transition;ts.transition={};try{r(e)}finally{ts.transition=t}}),[e]),n},useTransition:function(){return[ys(gs)[0],ms().memoizedState]},useMutableSource:bs,useSyncExternalStore:xs,useId:Fs,unstable_isNewReconciler:!1};function Qs(e,t){try{var n="",r=t;do{n+=Ut(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}}function Js(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Ys,ec,tc,nc="function"==typeof WeakMap?WeakMap:Map;function rc(e,t,n){(n=Qa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Cu||(Cu=!0,ku=r),Js(0,t)},n}function oc(e,t,n){(n=Qa(-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(){Js(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){Js(0,t),"function"!=typeof r&&(null===Lu?Lu=new Set([this]):Lu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ic(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new nc;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=ad.bind(null,e,t,n),t.then(e,e))}function ac(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 lc(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=Qa(-1,1)).tag=2,Ja(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}function sc(e,t){if(!kl)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 cc(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 uc(e,t,n){var r=t.pendingProps;switch(Sl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return cc(t),null;case 1:return ka(t.type)&&La(),cc(t),null;case 3:return r=t.stateNode,Gl(),ya(Sa),ya(Ea),Yl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Nl(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Ll&&(Bu(Ll),Ll=null))),cc(t),null;case 5:Zl(t);var o=Vl(Wl.current);if(n=t.type,null!==e&&null!=t.stateNode)ec(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(at(166));return cc(t),null}if(e=Vl(Ul.current),Nl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ia]=t,r[aa]=i,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<_i.length;o++)Ti(_i[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":Xt(r,i),Ti("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ti("invalid",r);break;case"textarea":on(r,i),Ti("invalid",r)}for(var a in bn(n,i),o=null,i)if(i.hasOwnProperty(a)){var l=i[a];"children"===a?"string"==typeof l?r.textContent!==l&&($i(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&($i(r.textContent,l,e),o=["children",""+l]):st.hasOwnProperty(a)&&null!=l&&"onScroll"===a&&Ti("scroll",r)}switch(n){case"input":$t(r),Yt(r,i,!0);break;case"textarea":$t(r),ln(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Gi)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{a=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=sn(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ia]=t,e[aa]=r,Ys(e,t),t.stateNode=e;e:{switch(a=xn(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<_i.length;o++)Ti(_i[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":Xt(e,r),o=Zt(e,r),Ti("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=zt({},r,{value:void 0}),Ti("invalid",e);break;case"textarea":on(e,r),o=rn(e,r),Ti("invalid",e);break;default:o=r}for(i in bn(n,o),l=o)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?vn(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&fn(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&pn(e,s):"number"==typeof s&&pn(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(st.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Ti("scroll",e):null!=s&&xt(e,i,s,a))}switch(n){case"input":$t(e),Yt(e,r,!1);break;case"textarea":$t(e),ln(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Wt(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?nn(e,!!r.multiple,i,!1):null!=r.defaultValue&&nn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Gi)}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 cc(t),null;case 6:if(e&&null!=t.stateNode)tc(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(at(166));if(n=Vl(Wl.current),Vl(Ul.current),Nl(t)){if(r=t.stateNode,n=t.memoizedProps,r[ia]=t,(i=r.nodeValue!==n)&&null!==(e=wl))switch(a=0!=(1&e.mode),e.tag){case 3:$i(r.nodeValue,n,a);break;case 5:!0!==e.memoizedProps[void 0]&&$i(r.nodeValue,n,a)}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ia]=t,t.stateNode=r}return cc(t),null;case 13:if(ya(Xl),r=t.memoizedState,kl&&null!==Cl&&0!=(1&t.mode)&&0==(128&t.flags)){for(r=Cl;r;)r=na(r.nextSibling);return Tl(),t.flags|=98560,t}if(null!==r&&null!==r.dehydrated){if(r=Nl(t),null===e){if(!r)throw Error(at(318));if(!(r=null!==(r=t.memoizedState)?r.dehydrated:null))throw Error(at(317));r[ia]=t}else Tl(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;return cc(t),null}return null!==Ll&&(Bu(Ll),Ll=null),0!=(128&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?Nl(t):n=null!==e.memoizedState,r&&!n&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&Xl.current)?0===mu&&(mu=3):Xu())),null!==t.updateQueue&&(t.flags|=4),cc(t),null);case 4:return Gl(),null===e&&qi(t.stateNode.containerInfo),cc(t),null;case 10:return Ha(t.type._context),cc(t),null;case 17:return ka(t.type)&&La(),cc(t),null;case 19:if(ya(Xl),null===(i=t.memoizedState))return cc(t),null;if(r=0!=(128&t.flags),null===(a=i.rendering))if(r)sc(i,!1);else{if(0!==mu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=Ql(e))){for(t.flags|=128,sc(i,!1),null!==(r=a.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ba(Xl,1&Xl.current|2),t.child}e=e.sibling}null!==i.tail&&Qn()>wu&&(t.flags|=128,r=!0,sc(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Ql(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),sc(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!kl)return cc(t),null}else 2*Qn()-i.renderingStartTime>wu&&1073741824!==n&&(t.flags|=128,r=!0,sc(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=i.last)?n.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qn(),t.sibling=null,n=Xl.current,ba(Xl,r?1&n|2:1&n),t):(cc(t),null);case 22:case 23:return $u(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&pu)&&(cc(t),6&t.subtreeFlags&&(t.flags|=8192)):cc(t),null;case 24:case 25:return null}throw Error(at(156,t.tag))}Ys=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}},ec=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Vl(Ul.current);var i,a=null;switch(n){case"input":o=Zt(e,o),r=Zt(e,r),a=[];break;case"select":o=zt({},o,{value:void 0}),r=zt({},r,{value:void 0}),a=[];break;case"textarea":o=rn(e,o),r=rn(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Gi)}for(c in bn(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(st.hasOwnProperty(c)?a||(a=[]):(a=a||[]).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(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(st.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ti("scroll",e),a||l===s||(a=[])):(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},tc=function(e,t,n,r){n!==r&&(t.flags|=4)};var dc=Et.ReactCurrentOwner,fc=!1;function pc(e,t,n,r){t.child=null===e?Fl(t,null,n,r):jl(t,e.child,n,r)}function hc(e,t,n,r,o){n=n.render;var i=t.ref;return Va(t,o),r=fs(e,t,n,r,i,o),n=ps(),null===e||fc?(kl&&n&&El(t),t.flags|=1,pc(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Dc(e,t,o))}function mc(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||pd(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=md(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,gc(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:ri)(a,r)&&e.ref===t.ref)return Dc(e,t,o)}return t.flags|=1,(e=hd(i,r)).ref=t.ref,e.return=t,t.child=e}function gc(e,t,n,r,o){if(null!==e&&ri(e.memoizedProps,r)&&e.ref===t.ref){if(fc=!1,0==(e.lanes&o))return t.lanes=e.lanes,Dc(e,t,o);0!=(131072&e.flags)&&(fc=!0)}return bc(e,t,n,r,o)}function vc(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null},ba(hu,pu),pu|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null},t.updateQueue=null,ba(hu,pu),pu|=e,null;t.memoizedState={baseLanes:0,cachePool:null},r=null!==i?i.baseLanes:n,ba(hu,pu),pu|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,ba(hu,pu),pu|=r;return pc(e,t,o,n),t.child}function yc(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 i=ka(n)?wa:Ea.current;return i=Ca(t,i),Va(t,o),n=fs(e,t,n,r,i,o),r=ps(),null===e||fc?(kl&&r&&El(t),t.flags|=1,pc(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Dc(e,t,o))}function xc(e,t,n,r,o){if(ka(n)){var i=!0;_a(t)}else i=!1;if(Va(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),ll(t,n,r),cl(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=$a(c):c=Ca(t,c=ka(n)?wa:Ea.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==c)&&sl(t,a,r,c),Ka=!1;var f=t.memoizedState;a.state=f,tl(t,r,a,o),s=t.memoizedState,l!==r||f!==s||Sa.current||Ka?("function"==typeof u&&(ol(t,n,u,r),s=t.memoizedState),(l=Ka||al(t,n,l,r,f,s,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Xa(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Aa(t.type,l),a.props=c,d=t.pendingProps,f=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=$a(s):s=Ca(t,s=ka(n)?wa:Ea.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&sl(t,a,r,s),Ka=!1,f=t.memoizedState,a.state=f,tl(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||Sa.current||Ka?("function"==typeof p&&(ol(t,n,p,r),h=t.memoizedState),(c=Ka||al(t,n,c,r,f,h,s)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ec(e,t,n,r,i,o)}function Ec(e,t,n,r,o,i){yc(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Ia(t,n,!1),Dc(e,t,i);r=t.stateNode,dc.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=jl(t,e.child,null,i),t.child=jl(t,null,l,i)):pc(e,t,l,i),t.memoizedState=r.state,o&&Ia(t,n,!0),t.child}function Sc(e){var t=e.stateNode;t.pendingContext?Ra(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ra(0,t.context,!1),$l(e,t.containerInfo)}function wc(e,t,n,r,o){return Tl(),Dl(o),t.flags|=256,pc(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0};function kc(e){return{baseLanes:e,cachePool:null}}function Lc(e,t,n){var r,o=t.pendingProps,i=Xl.current,a=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),ba(Xl,1&i),null===e)return Il(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):(i=o.children,e=o.fallback,a?(o=t.mode,a=t.child,i={mode:"hidden",children:i},0==(1&o)&&null!==a?(a.childLanes=0,a.pendingProps=i):a=vd(i,o,0,null),e=gd(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=kc(n),t.memoizedState=Cc,e):Rc(t,i));if(null!==(i=e.memoizedState)){if(null!==(r=i.dehydrated)){if(l)return 256&t.flags?(t.flags&=-257,Ic(e,t,n,Error(at(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=o.fallback,i=t.mode,o=vd({mode:"visible",children:o.children},i,0,null),(a=gd(a,i,n,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,0!=(1&t.mode)&&jl(t,e.child,null,n),t.child.memoizedState=kc(n),t.memoizedState=Cc,a);if(0==(1&t.mode))t=Ic(e,t,n,null);else if("$!"===r.data)t=Ic(e,t,n,Error(at(419)));else if(o=0!=(n&e.childLanes),fc||o){if(null!==(o=uu)){switch(n&-n){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(o=0!=(a&(o.suspendedLanes|n))?0:a)&&o!==i.retryLane&&(i.retryLane=o,qu(e,o,-1))}Xu(),t=Ic(e,t,n,Error(at(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=sd.bind(null,e),r._reactRetry=t,t=null):(n=i.treeContext,Cl=na(r.nextSibling),wl=t,kl=!0,Ll=null,null!==n&&(hl[ml++]=vl,hl[ml++]=yl,hl[ml++]=gl,vl=n.id,yl=n.overflow,gl=t),(t=Rc(t,t.pendingProps.children)).flags|=4096);return t}return a?(o=_c(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?kc(n):{baseLanes:i.baseLanes|n,cachePool:null},a.childLanes=e.childLanes&~n,t.memoizedState=Cc,o):(n=Oc(e,t,o.children,n),t.memoizedState=null,n)}return a?(o=_c(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?kc(n):{baseLanes:i.baseLanes|n,cachePool:null},a.childLanes=e.childLanes&~n,t.memoizedState=Cc,o):(n=Oc(e,t,o.children,n),t.memoizedState=null,n)}function Rc(e,t){return(t=vd({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Oc(e,t,n,r){var o=e.child;return e=o.sibling,n=hd(o,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function _c(e,t,n,r,o){var i=t.mode,a=(e=e.child).sibling,l={mode:"hidden",children:n};return 0==(1&i)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=l,t.deletions=null):(n=hd(e,l)).subtreeFlags=14680064&e.subtreeFlags,null!==a?r=hd(a,r):(r=gd(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Ic(e,t,n,r){return null!==r&&Dl(r),jl(t,e.child,null,n),(e=Rc(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Pc(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Wa(e.return,t,n)}function Nc(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Tc(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(pc(e,t,r.children,n),0!=(2&(r=Xl.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&&Pc(e,n,t);else if(19===e.tag)Pc(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(ba(Xl,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===Ql(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Nc(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ql(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Nc(t,!0,n,null,i);break;case"together":Nc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Dc(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),vu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(at(153));if(null!==t.child){for(n=hd(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=hd(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Mc(e,t){switch(Sl(t),t.tag){case 1:return ka(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Gl(),ya(Sa),ya(Ea),Yl(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Zl(t),null;case 13:if(ya(Xl),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(at(340));Tl()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ya(Xl),null;case 4:return Gl(),null;case 10:return Ha(t.type._context),null;case 22:case 23:return $u(),null;case 24:default:return null}}var qc=!1,Ac=!1,zc="function"==typeof WeakSet?WeakSet:Set,jc=null;function Fc(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){id(e,t,n)}else n.current=null}function Bc(e,t,n){try{n()}catch(n){id(e,t,n)}}var Uc=!1;function Hc(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&Bc(t,n,i)}o=o.next}while(o!==r)}}function Wc(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 Vc(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}"function"==typeof t?t(e):t.current=e}}function $c(e,t,n){if(ir&&"function"==typeof ir.onCommitFiberUnmount)try{ir.onCommitFiberUnmount(or,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var o=r,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&Bc(t,n,i),r=r.next}while(r!==e)}break;case 1:if(Fc(t,n),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){id(t,n,e)}break;case 5:Fc(t,n);break;case 4:Qc(e,t,n)}}function Gc(e){var t=e.alternate;null!==t&&(e.alternate=null,Gc(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ia],delete t[aa],delete t[sa],delete t[ca],delete t[ua])),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 Kc(e){return 5===e.tag||3===e.tag||4===e.tag}function Zc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Kc(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 Xc(e){e:{for(var t=e.return;null!==t;){if(Kc(t))break e;t=t.return}throw Error(at(160))}var n=t;switch(n.tag){case 5:t=n.stateNode,32&n.flags&&(pn(t,""),n.flags&=-33),function e(t,n,r){var o=t.tag;if(5===o||6===o)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n=Zc(e),t);break;case 3:case 4:t=n.stateNode.containerInfo,function e(t,n,r){var o=t.tag;if(5===o||6===o)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=Gi));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n=Zc(e),t);break;default:throw Error(at(161))}}function Qc(e,t,n){for(var r,o,i=t,a=!1;;){if(!a){a=i.return;e:for(;;){if(null===a)throw Error(at(160));switch(r=a.stateNode,a.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}a=a.return}a=!0}if(5===i.tag||6===i.tag){e:for(var l=e,s=i,c=n,u=s;;)if($c(l,u,c),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===s)break e;for(;null===u.sibling;){if(null===u.return||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(l=r,s=i.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):r.removeChild(i.stateNode)}else if(18===i.tag)o?(l=r,s=i.stateNode,8===l.nodeType?ta(l.parentNode,s):1===l.nodeType&&ta(l,s),Br(l)):ta(r,i.stateNode);else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if($c(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(a=!1)}i.sibling.return=i.return,i=i.sibling}}function Jc(e,t){switch(t.tag){case 0:case 11:case 14:case 15:return Hc(3,t,t.return),Wc(3,t),void Hc(5,t,t.return);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for("input"===e&&"radio"===r.type&&null!=r.name&&Qt(n,r),xn(e,o),t=xn(e,r),o=0;o<i.length;o+=2){var a=i[o],l=i[o+1];"style"===a?vn(n,l):"dangerouslySetInnerHTML"===a?fn(n,l):"children"===a?pn(n,l):xt(n,a,l,t)}switch(e){case"input":Jt(n,r);break;case"textarea":an(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?nn(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?nn(n,!!r.multiple,r.defaultValue,!0):nn(n,!!r.multiple,r.multiple?[]:"",!1))}n[aa]=r}}return;case 6:if(null===t.stateNode)throw Error(at(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void(null!==e&&e.memoizedState.isDehydrated&&Br(t.stateNode.containerInfo));case 12:return;case 13:case 19:return void Yc(t);case 17:return}throw Error(at(163))}function Yc(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new zc),t.forEach((function(t){var r=cd.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function eu(e,t,n){jc=e,function e(t,n,r){for(var o=0!=(1&t.mode);null!==jc;){var i=jc,a=i.child;if(22===i.tag&&o){var l=null!==i.memoizedState||qc;if(!l){var s=i.alternate,c=null!==s&&null!==s.memoizedState||Ac;s=qc;var u=Ac;if(qc=l,(Ac=c)&&!u)for(jc=i;null!==jc;)c=(l=jc).child,22===l.tag&&null!==l.memoizedState?ru(i):null!==c?(c.return=l,jc=c):ru(i);for(;null!==a;)jc=a,e(a),a=a.sibling;jc=i,qc=s,Ac=u}tu(t)}else 0!=(8772&i.subtreeFlags)&&null!==a?(a.return=i,jc=a):tu(t)}}(e)}function tu(e){for(;null!==jc;){var t=jc;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ac||Wc(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ac)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Aa(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&nl(t,i,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}nl(t,a,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12: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&&Br(d)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(at(163))}Ac||512&t.flags&&Vc(t)}catch(e){id(t,t.return,e)}}if(t===e){jc=null;break}if(null!==(n=t.sibling)){n.return=t.return,jc=n;break}jc=t.return}}function nu(e){for(;null!==jc;){var t=jc;if(t===e){jc=null;break}var n=t.sibling;if(null!==n){n.return=t.return,jc=n;break}jc=t.return}}function ru(e){for(;null!==jc;){var t=jc;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Wc(4,t)}catch(e){id(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){id(t,o,e)}}var i=t.return;try{Vc(t)}catch(e){id(t,i,e)}break;case 5:var a=t.return;try{Vc(t)}catch(e){id(t,a,e)}}}catch(e){id(t,t.return,e)}if(t===e){jc=null;break}var l=t.sibling;if(null!==l){l.return=t.return,jc=l;break}jc=t.return}}var ou,iu=Math.ceil,au=Et.ReactCurrentDispatcher,lu=Et.ReactCurrentOwner,su=Et.ReactCurrentBatchConfig,cu=0,uu=null,du=null,fu=0,pu=0,hu=va(0),mu=0,gu=null,vu=0,yu=0,bu=0,xu=null,Eu=null,Su=0,wu=1/0,Cu=!1,ku=null,Lu=null,Ru=!1,Ou=null,_u=0,Iu=0,Pu=null,Nu=-1,Tu=0;function Du(){return 0!=(6&cu)?Qn():-1!==Nu?Nu:Nu=Qn()}function Mu(e){return 0==(1&e.mode)?1:0!=(2&cu)&&0!==fu?fu&-fu:null!==qa.transition?(0===Tu&&(e=cr,0==(4194240&(cr<<=1))&&(cr=64),Tu=e),Tu):0!==(e=yr)?e:e=void 0===(e=window.event)?16:Kr(e.type)}function qu(e,t,n){if(50<Iu)throw Iu=0,Pu=null,Error(at(185));var r=Au(e,t);return null===r?null:(gr(r,t,n),0!=(2&cu)&&r===uu||(r===uu&&(0==(2&cu)&&(yu|=t),4===mu&&Uu(r,fu)),zu(r,n),1===t&&0===cu&&0==(1&e.mode)&&(wu=Qn()+500,Na&&Ma())),r)}function Au(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}function zu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-ar(i),l=1<<a,s=o[a];-1===s?0!=(l&n)&&0==(l&r)||(o[a]=pr(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=fr(e,e===uu?fu:0);if(0===r)null!==n&&Kn(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Kn(n),1===t)0===e.tag?function(e){Na=!0,Da(e)}(Hu.bind(null,e)):Da(Hu.bind(null,e)),Yi((function(){0===cu&&Ma()})),n=null;else{switch(br(r)){case 1:n=Yn;break;case 4:n=er;break;case 16:n=tr;break;case 536870912:n=rr;break;default:n=tr}n=ud(n,ju.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ju(e,t){if(Nu=-1,Tu=0,0!=(6&cu))throw Error(at(327));var n=e.callbackNode;if(rd()&&e.callbackNode!==n)return null;var r=fr(e,e===uu?fu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Qu(e,r);else{t=r;var o=cu;cu|=2;var i=Zu();for(uu===e&&fu===t||(wu=Qn()+500,Gu(e,t));;)try{Yu();break}catch(t){Ku(e,t)}Ua(),au.current=i,cu=o,null!==du?t=0:(uu=null,fu=0,t=mu)}if(0!==t){if(2===t&&(0!==(o=hr(e))&&(r=o,t=Fu(e,o))),1===t)throw n=gu,Gu(e,0),Uu(e,r),zu(e,Qn()),n;if(6===t)Uu(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],i=o.getSnapshot;o=o.value;try{if(!ni(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=Qu(e,r))&&(0!==(i=hr(e))&&(r=i,t=Fu(e,i))),1===t))throw n=gu,Gu(e,0),Uu(e,r),zu(e,Qn()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(at(345));case 2:nd(e,Eu);break;case 3:if(Uu(e,r),(130023424&r)===r&&10<(t=Su+500-Qn())){if(0!==fr(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Du(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Xi(nd.bind(null,e,Eu),t);break}nd(e,Eu);break;case 4:if(Uu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-ar(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=Qn()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iu(r/1960))-r)){e.timeoutHandle=Xi(nd.bind(null,e,Eu),r);break}nd(e,Eu);break;case 5:nd(e,Eu);break;default:throw Error(at(329))}}}return zu(e,Qn()),e.callbackNode===n?ju.bind(null,e):null}function Fu(e,t){var n=xu;return e.current.memoizedState.isDehydrated&&(Gu(e,t).flags|=256),2!==(e=Qu(e,t))&&(t=Eu,Eu=n,null!==t&&Bu(t)),e}function Bu(e){null===Eu?Eu=e:Eu.push.apply(Eu,e)}function Uu(e,t){for(t&=~bu,t&=~yu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ar(t),r=1<<n;e[n]=-1,t&=~r}}function Hu(e){if(0!=(6&cu))throw Error(at(327));rd();var t=fr(e,0);if(0==(1&t))return zu(e,Qn()),null;var n=Qu(e,t);if(0!==e.tag&&2===n){var r=hr(e);0!==r&&(t=r,n=Fu(e,r))}if(1===n)throw n=gu,Gu(e,0),Uu(e,t),zu(e,Qn()),n;if(6===n)throw Error(at(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,nd(e,Eu),zu(e,Qn()),null}function Wu(e,t){var n=cu;cu|=1;try{return e(t)}finally{0===(cu=n)&&(wu=Qn()+500,Na&&Ma())}}function Vu(e){null!==Ou&&0===Ou.tag&&0==(6&cu)&&rd();var t=cu;cu|=1;var n=su.transition,r=yr;try{if(su.transition=null,yr=1,e)return e()}finally{yr=r,su.transition=n,0==(6&(cu=t))&&Ma()}}function $u(){pu=hu.current,ya(hu)}function Gu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Qi(n)),null!==du)for(n=du.return;null!==n;){var r=n;switch(Sl(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&La();break;case 3:Gl(),ya(Sa),ya(Ea),Yl();break;case 5:Zl(r);break;case 4:Gl();break;case 13:case 19:ya(Xl);break;case 10:Ha(r.type._context);break;case 22:case 23:$u()}n=n.return}if(uu=e,du=e=hd(e.current,null),fu=pu=t,mu=0,gu=null,bu=yu=vu=0,Eu=xu=null,null!==Ga){for(t=0;t<Ga.length;t++)if(null!==(r=(n=Ga[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ga=null}return e}function Ku(e,t){for(;;){var n=du;try{if(Ua(),es.current=Gs,as){for(var r=rs.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}as=!1}if(ns=0,is=os=rs=null,ls=!1,ss=0,lu.current=null,null===n||null===n.return){mu=1,gu=t,du=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=fu,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 f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=ac(a);if(null!==p){p.flags&=-257,lc(p,a,l,0,t),1&p.mode&&ic(i,c,t),s=c;var h=(t=p).updateQueue;if(null===h){var m=new Set;m.add(s),t.updateQueue=m}else h.add(s);break e}if(0==(1&t)){ic(i,c,t),Xu();break e}s=Error(at(426))}else if(kl&&1&l.mode){var g=ac(a);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),lc(g,a,l,0,t),Dl(s);break e}}i=s,4!==mu&&(mu=2),null===xu?xu=[i]:xu.push(i),s=Qs(s,l),l=a;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,el(l,rc(0,s,t));break e;case 1:i=s;var v=l.type,y=l.stateNode;if(0==(128&l.flags)&&("function"==typeof v.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Lu||!Lu.has(y)))){l.flags|=65536,t&=-t,l.lanes|=t,el(l,oc(l,i,t));break e}}l=l.return}while(null!==l)}td(n)}catch(e){t=e,du===n&&null!==n&&(du=n=n.return);continue}break}}function Zu(){var e=au.current;return au.current=Gs,null===e?Gs:e}function Xu(){0!==mu&&3!==mu&&2!==mu||(mu=4),null===uu||0==(268435455&vu)&&0==(268435455&yu)||Uu(uu,fu)}function Qu(e,t){var n=cu;cu|=2;var r=Zu();for(uu===e&&fu===t||Gu(e,t);;)try{Ju();break}catch(t){Ku(e,t)}if(Ua(),cu=n,au.current=r,null!==du)throw Error(at(261));return uu=null,fu=0,mu}function Ju(){for(;null!==du;)ed(du)}function Yu(){for(;null!==du&&!Zn();)ed(du)}function ed(e){var t=ou(e.alternate,e,pu);e.memoizedProps=e.pendingProps,null===t?td(e):du=t,lu.current=null}function td(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=uc(n,t,pu)))return void(du=n)}else{if(null!==(n=Mc(n,t)))return n.flags&=32767,void(du=n);if(null===e)return mu=6,void(du=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(du=t);du=t=e}while(null!==t);0===mu&&(mu=5)}function nd(e,t){var n=yr,r=su.transition;try{su.transition=null,yr=1,function(e,t,n){do{rd()}while(null!==Ou);if(0!=(6&cu))throw Error(at(327));var r=e.finishedWork,o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(at(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.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-ar(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===uu&&(du=uu=null,fu=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||Ru||(Ru=!0,ud(tr,(function(){return rd(),null}))),i=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||i){i=su.transition,su.transition=null;var a=yr;yr=1;var l=cu;cu|=4,lu.current=null,function(e,t){if(li(e=ai())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var a=0,l=-1,s=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==n||0!==o&&3!==d.nodeType||(l=a+o),d!==i||0!==r&&3!==d.nodeType||(s=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++c===o&&(l=a),f===i&&++u===r&&(s=a),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=p}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ki={focusedElem:e,selectionRange:n},jc=t;null!==jc;)if(e=(t=jc).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,jc=e;else for(;null!==jc;){t=jc;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:break;case 1:if(null!==h){var m=h.memoizedProps,g=h.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Aa(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;if(1===b.nodeType)b.textContent="";else if(9===b.nodeType){var x=b.body;null!=x&&(x.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(at(163))}}catch(e){id(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,jc=e;break}jc=t.return}h=Uc,Uc=!1}(e,r),function(e,t){for(jc=t;null!==jc;){var n=(t=jc).deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{Qc(e,o,t);var i=o.alternate;null!==i&&(i.return=null),o.return=null}catch(e){id(o,t,e)}}if(n=t.child,0!=(12854&t.subtreeFlags)&&null!==n)n.return=t,jc=n;else for(;null!==jc;){t=jc;try{var a=t.flags;if(32&a&&pn(t.stateNode,""),512&a){var l=t.alternate;if(null!==l){var s=l.ref;null!==s&&("function"==typeof s?s(null):s.current=null)}}if(8192&a)switch(t.tag){case 13:if(null!==t.memoizedState){var c=t.alternate;null!==c&&null!==c.memoizedState||(Su=Qn())}break;case 22:var u=null!==t.memoizedState,d=t.alternate,f=null!==d&&null!==d.memoizedState;e:{o=u;for(var p=null,h=r=n=t;;){if(5===h.tag){if(null===p){p=h;var m=h.stateNode;if(o){var g=m.style;"function"==typeof g.setProperty?g.setProperty("display","none","important"):g.display="none"}else{var v=h.stateNode,y=h.memoizedProps.style,b=null!=y&&y.hasOwnProperty("display")?y.display:null;v.style.display=gn("display",b)}}}else if(6===h.tag)null===p&&(h.stateNode.nodeValue=o?"":h.memoizedProps);else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===r)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===r)break;for(;null===h.sibling;){if(null===h.return||h.return===r)break e;p===h&&(p=null),h=h.return}p===h&&(p=null),h.sibling.return=h.return,h=h.sibling}}if(u&&!f&&0!=(1&n.mode)){jc=n;for(var x=n.child;null!==x;){for(n=jc=x;null!==jc;){var E=(r=jc).child;switch(r.tag){case 0:case 11:case 14:case 15:Hc(4,r,r.return);break;case 1:Fc(r,r.return);var S=r.stateNode;if("function"==typeof S.componentWillUnmount){var w=r.return;try{S.props=r.memoizedProps,S.state=r.memoizedState,S.componentWillUnmount()}catch(e){id(r,w,e)}}break;case 5:Fc(r,r.return);break;case 22:if(null!==r.memoizedState){nu(n);continue}}null!==E?(E.return=r,jc=E):nu(n)}x=x.sibling}}}switch(4102&a){case 2:Xc(t),t.flags&=-3;break;case 6:Xc(t),t.flags&=-3,Jc(t.alternate,t);break;case 4096:t.flags&=-4097;break;case 4100:t.flags&=-4097,Jc(t.alternate,t);break;case 4:Jc(t.alternate,t)}}catch(e){id(t,t.return,e)}if(null!==(n=t.sibling)){n.return=t.return,jc=n;break}jc=t.return}}}(e,r),si(Ki),Ki=null,e.current=r,eu(r),Xn(),cu=l,yr=a,su.transition=i}else e.current=r;if(Ru&&(Ru=!1,Ou=e,_u=o),0===(i=e.pendingLanes)&&(Lu=null),function(e){if(ir&&"function"==typeof ir.onCommitFiberRoot)try{ir.onCommitFiberRoot(or,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode),zu(e,Qn()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n(t[r]);if(Cu)throw Cu=!1,e=ku,ku=null,e;0!=(1&_u)&&0!==e.tag&&rd(),0!=(1&(i=e.pendingLanes))?e===Pu?Iu++:(Iu=0,Pu=e):Iu=0,Ma()}(e,t,n)}finally{su.transition=r,yr=n}return null}function rd(){if(null!==Ou){var e=br(_u),t=su.transition,n=yr;try{if(su.transition=null,yr=16>e?16:e,null===Ou)var r=!1;else{if(e=Ou,Ou=null,_u=0,0!=(6&cu))throw Error(at(331));var o=cu;for(cu|=4,jc=e.current;null!==jc;){var i=jc,a=i.child;if(0!=(16&jc.flags)){var l=i.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(jc=c;null!==jc;){var u=jc;switch(u.tag){case 0:case 11:case 15:Hc(8,u,i)}var d=u.child;if(null!==d)d.return=u,jc=d;else for(;null!==jc;){var f=(u=jc).sibling,p=u.return;if(Gc(u),u===c){jc=null;break}if(null!==f){f.return=p,jc=f;break}jc=p}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}jc=i}}if(0!=(2064&i.subtreeFlags)&&null!==a)a.return=i,jc=a;else e:for(;null!==jc;){if(0!=(2048&(i=jc).flags))switch(i.tag){case 0:case 11:case 15:Hc(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,jc=v;break e}jc=i.return}}var y=e.current;for(jc=y;null!==jc;){var b=(a=jc).child;if(0!=(2064&a.subtreeFlags)&&null!==b)b.return=a,jc=b;else e:for(a=y;null!==jc;){if(0!=(2048&(l=jc).flags))try{switch(l.tag){case 0:case 11:case 15:Wc(9,l)}}catch(e){id(l,l.return,e)}if(l===a){jc=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,jc=x;break e}jc=l.return}}if(cu=o,Ma(),ir&&"function"==typeof ir.onPostCommitFiberRoot)try{ir.onPostCommitFiberRoot(or,e)}catch(e){}r=!0}return r}finally{yr=n,su.transition=t}}return!1}function od(e,t,n){Ja(e,t=rc(0,t=Qs(n,t),1)),t=Du(),null!==(e=Au(e,1))&&(gr(e,1,t),zu(e,t))}function id(e,t,n){if(3===e.tag)od(e,e,n);else for(;null!==t;){if(3===t.tag){od(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Lu||!Lu.has(r))){Ja(t,e=oc(t,e=Qs(n,e),1)),e=Du(),null!==(t=Au(t,1))&&(gr(t,1,e),zu(t,e));break}}t=t.return}}function ad(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Du(),e.pingedLanes|=e.suspendedLanes&n,uu===e&&(fu&n)===n&&(4===mu||3===mu&&(130023424&fu)===fu&&500>Qn()-Su?Gu(e,0):bu|=n),zu(e,t)}function ld(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ur,0==(130023424&(ur<<=1))&&(ur=4194304)));var n=Du();null!==(e=Au(e,t))&&(gr(e,t,n),zu(e,n))}function sd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ld(e,n)}function cd(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(at(314))}null!==r&&r.delete(t),ld(e,n)}function ud(e,t){return Gn(e,t)}function dd(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 fd(e,t,n,r){return new dd(e,t,n,r)}function pd(e){return!(!(e=e.prototype)||!e.isReactComponent)}function hd(e,t){var n=e.alternate;return null===n?((n=fd(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 md(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)pd(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Ct:return gd(n.children,o,i,t);case kt:a=8,o|=8;break;case Lt:return(e=fd(12,n,t,2|o)).elementType=Lt,e.lanes=i,e;case It:return(e=fd(13,n,t,o)).elementType=It,e.lanes=i,e;case Pt:return(e=fd(19,n,t,o)).elementType=Pt,e.lanes=i,e;case Dt:return vd(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Rt:a=10;break e;case Ot:a=9;break e;case _t:a=11;break e;case Nt:a=14;break e;case Tt:a=16,r=null;break e}throw Error(at(130,null==e?e:typeof e,""))}return(t=fd(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function gd(e,t,n,r){return(e=fd(7,e,r,t)).lanes=n,e}function vd(e,t,n,r){return(e=fd(22,e,r,t)).elementType=Dt,e.lanes=n,e.stateNode={},e}function yd(e,t,n){return(e=fd(6,e,null,t)).lanes=n,e}function bd(e,t,n){return(t=fd(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function xd(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=mr(0),this.expirationTimes=mr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mr(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ed(e,t,n,r,o,i,a,l,s){return e=new xd(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=fd(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null},Za(i),e}function Sd(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:wt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function wd(e){if(!e)return xa;e:{if(Hn(e=e._reactInternals)!==e||1!==e.tag)throw Error(at(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ka(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(at(171))}if(1===e.tag){var n=e.type;if(ka(n))return Oa(e,n,t)}return t}function Cd(e,t,n,r,o,i,a,l,s){return(e=Ed(n,r,!0,e,0,i,0,l,s)).context=wd(null),n=e.current,(i=Qa(r=Du(),o=Mu(n))).callback=null!=t?t:null,Ja(n,i),e.current.lanes=o,gr(e,o,r),zu(e,r),e}function kd(e,t,n,r){var o=t.current,i=Du(),a=Mu(o);return n=wd(n),null===t.context?t.context=n:t.pendingContext=n,(t=Qa(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),Ja(o,t),null!==(e=qu(o,a,i))&&Ya(e,o,a),a}function Ld(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Rd(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Od(e,t){Rd(e,t),(e=e.alternate)&&Rd(e,t)}ou=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Sa.current)fc=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return fc=!1,function(e,t,n){switch(t.tag){case 3:Sc(t),Tl();break;case 5:Kl(t);break;case 1:ka(t.type)&&_a(t);break;case 4:$l(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ba(za,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ba(Xl,1&Xl.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Lc(e,t,n):(ba(Xl,1&Xl.current),null!==(e=Dc(e,t,n))?e.sibling:null);ba(Xl,1&Xl.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Tc(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ba(Xl,Xl.current),r)break;return null;case 22:case 23:return t.lanes=0,vc(e,t,n)}return Dc(e,t,n)}(e,t,n);fc=0!=(131072&e.flags)}else fc=!1,kl&&0!=(1048576&t.flags)&&xl(t,pl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var o=Ca(t,Ea.current);Va(t,n),o=fs(null,t,r,e,o,n);var i=ps();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,ka(r)?(i=!0,_a(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Za(t),o.updater=il,t.stateNode=o,o._reactInternals=t,cl(t,r,e,n),t=Ec(null,t,r,!0,i,n)):(t.tag=0,kl&&i&&El(t),pc(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return pd(e)?1:0;if(null!=e){if((e=e.$$typeof)===_t)return 11;if(e===Nt)return 14}return 2}(r),e=Aa(r,e),o){case 0:t=bc(null,t,r,e,n);break e;case 1:t=xc(null,t,r,e,n);break e;case 11:t=hc(null,t,r,e,n);break e;case 14:t=mc(null,t,r,Aa(r.type,e),n);break e}throw Error(at(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,bc(e,t,r,o=t.elementType===r?o:Aa(r,o),n);case 1:return r=t.type,o=t.pendingProps,xc(e,t,r,o=t.elementType===r?o:Aa(r,o),n);case 3:e:{if(Sc(t),null===e)throw Error(at(387));r=t.pendingProps,o=(i=t.memoizedState).element,Xa(e,t),tl(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:a.cache,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=wc(e,t,r,n,o=Error(at(423)));break e}if(r!==o){t=wc(e,t,r,n,o=Error(at(424)));break e}for(Cl=na(t.stateNode.containerInfo.firstChild),wl=t,kl=!0,Ll=null,n=Fl(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Tl(),r===o){t=Dc(e,t,n);break e}pc(e,t,r,n)}t=t.child}return t;case 5:return Kl(t),null===e&&Il(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Zi(r,o)?a=null:null!==i&&Zi(r,i)&&(t.flags|=32),yc(e,t),pc(e,t,a,n),t.child;case 6:return null===e&&Il(t),null;case 13:return Lc(e,t,n);case 4:return $l(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=jl(t,null,r,n):pc(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,hc(e,t,r,o=t.elementType===r?o:Aa(r,o),n);case 7:return pc(e,t,t.pendingProps,n),t.child;case 8:case 12:return pc(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,ba(za,r._currentValue),r._currentValue=a,null!==i)if(ni(i.value,a)){if(i.children===o.children&&!Sa.current){t=Dc(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){a=i.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Qa(-1,n&-n)).tag=2;var c=i.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}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Wa(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===i.tag)a=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(a=i.return))throw Error(at(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Wa(a,n,t),a=i.sibling}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===t){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}pc(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Va(t,n),r=r(o=$a(o)),t.flags|=1,pc(e,t,r,n),t.child;case 14:return o=Aa(r=t.type,t.pendingProps),mc(e,t,r,o=Aa(r.type,o),n);case 15:return gc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Aa(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ka(r)?(e=!0,_a(t)):e=!1,Va(t,n),ll(t,r,o),cl(t,r,o,n),Ec(null,t,r,!0,e,n);case 19:return Tc(e,t,n);case 22:return vc(e,t,n)}throw Error(at(156,t.tag))};var _d="function"==typeof reportError?reportError:function(e){console.error(e)};function Id(e){this._internalRoot=e}function Pd(e){this._internalRoot=e}function Nd(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Td(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Dd(){}function Md(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=Ld(a);l.call(e)}}kd(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Ld(a);i.call(e)}}var a=Cd(t,r,e,0,null,!1,0,"",Dd);return e._reactRootContainer=a,e[la]=a.current,qi(8===e.nodeType?e.parentNode:e),Vu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Ld(s);l.call(e)}}var s=Ed(e,0,!1,null,0,!1,0,"",Dd);return e._reactRootContainer=s,e[la]=s.current,qi(8===e.nodeType?e.parentNode:e),Vu((function(){kd(t,s,n,r)})),s}(n,t,e,o,r);return Ld(a)}Pd.prototype.render=Id.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(at(409));kd(e,t,null,null)},Pd.prototype.unmount=Id.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Vu((function(){kd(null,e,null,null)})),t[la]=null}},Pd.prototype.unstable_scheduleHydration=function(e){if(e){var t=wr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nr.length&&0!==t&&t<Nr[n].priority;n++);Nr.splice(n,0,e),0===n&&qr(e)}},xr=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dr(t.pendingLanes);0!==n&&(vr(t,1|n),zu(t,Qn()),0==(6&cu)&&(wu=Qn()+500,Ma()))}break;case 13:var r=Du();Vu((function(){return qu(e,1,r)})),Od(e,1)}},Er=function(e){13===e.tag&&(qu(e,134217728,Du()),Od(e,134217728))},Sr=function(e){if(13===e.tag){var t=Du(),n=Mu(e);qu(e,n,t),Od(e,n)}},wr=function(){return yr},Cr=function(e,t){var n=yr;try{return yr=e,t()}finally{yr=n}},wn=function(e,t,n){switch(t){case"input":if(Jt(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=ha(r);if(!o)throw Error(at(90));Gt(r),Jt(r,o)}}}break;case"textarea":an(e,n);break;case"select":null!=(t=n.value)&&nn(e,!!n.multiple,t,!1)}},_n=Wu,In=Vu;var qd={usingClientEntryPoint:!1,Events:[fa,pa,ha,Rn,On,Wu]},Ad={findFiberByHostInstance:da,bundleType:0,version:"18.0.0-fc46dba67-20220329",rendererPackageName:"react-dom"},zd={bundleType:Ad.bundleType,version:Ad.version,rendererPackageName:Ad.rendererPackageName,rendererConfig:Ad.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Et.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=$n(e))?null:e.stateNode},findFiberByHostInstance:Ad.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.0.0-fc46dba67-20220329"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var jd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!jd.isDisabled&&jd.supportsFiber)try{or=jd.inject(zd),ir=jd}catch(dn){}}tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qd,tt.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Nd(t))throw Error(at(200));return Sd(e,t,null,n)},tt.createRoot=function(e,t){if(!Nd(e))throw Error(at(299));var n=!1,r="",o=_d;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Ed(e,1,!1,null,0,n,0,r,o),e[la]=t.current,qi(8===e.nodeType?e.parentNode:e),new Id(t)},tt.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(at(188));throw e=Object.keys(e).join(","),Error(at(268,e))}return e=null===(e=$n(t))?null:e.stateNode},tt.flushSync=function(e){return Vu(e)},tt.hydrate=function(e,t,n){if(!Td(t))throw Error(at(200));return Md(null,e,t,!0,n)},tt.hydrateRoot=function(e,t,n){if(!Nd(e))throw Error(at(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=_d;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=Cd(t,null,e,1,null!=n?n:null,o,0,i,a),e[la]=t.current,qi(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 Pd(t)},tt.render=function(e,t,n){if(!Td(t))throw Error(at(200));return Md(null,e,t,!1,n)},tt.unmountComponentAtNode=function(e){if(!Td(e))throw Error(at(40));return!!e._reactRootContainer&&(Vu((function(){Md(null,null,e,!1,(function(){e._reactRootContainer=null,e[la]=null}))})),!0)},tt.unstable_batchedUpdates=Wu,tt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Td(n))throw Error(at(200));if(null==e||void 0===e._reactInternals)throw Error(at(38));return Md(e,t,n,!1,r)},tt.version="18.0.0-fc46dba67-20220329",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)}}(),et.exports=tt;var Fd=et.exports;function Bd(){return(Bd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ud(e){return(Ud="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hd(e){return(Hd="function"==typeof Symbol&&"symbol"===Ud(Symbol.iterator)?function(e){return Ud(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Ud(e)})(e)}function Wd(e){return e&&"object"===Hd(e)&&e.constructor===Object}function Vd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?Bd({},e):e;return Wd(e)&&Wd(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Wd(t[o])&&o in e?r[o]=Vd(e[o],t[o],n):r[o]=t[o])})),r}function $d(){}function Gd(){}Gd.resetWarningCache=$d;function Kd(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}!function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Gd,resetWarningCache:$d};n.PropTypes=n}();var Zd={exports:{}},Xd={},Qd=Symbol.for("react.element"),Jd=Symbol.for("react.portal"),Yd=Symbol.for("react.fragment"),ef=Symbol.for("react.strict_mode"),tf=Symbol.for("react.profiler"),nf=Symbol.for("react.provider"),rf=Symbol.for("react.context"),of=Symbol.for("react.server_context"),af=Symbol.for("react.forward_ref"),lf=Symbol.for("react.suspense"),sf=Symbol.for("react.suspense_list"),cf=Symbol.for("react.memo"),uf=Symbol.for("react.lazy"),df=Symbol.for("react.offscreen"),ff=Symbol.for("react.module.reference");function pf(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Qd:switch(e=e.type){case Yd:case tf:case ef:case lf:case sf:return e;default:switch(e=e&&e.$$typeof){case of:case rf:case af:case uf:case cf:case nf:return e;default:return t}}case Jd:return t}}}Xd.ContextConsumer=rf,Xd.ContextProvider=nf,Xd.Element=Qd,Xd.ForwardRef=af,Xd.Fragment=Yd,Xd.Lazy=uf,Xd.Memo=cf,Xd.Portal=Jd,Xd.Profiler=tf,Xd.StrictMode=ef,Xd.Suspense=lf,Xd.SuspenseList=sf,Xd.isAsyncMode=function(){return!1},Xd.isConcurrentMode=function(){return!1},Xd.isContextConsumer=function(e){return pf(e)===rf},Xd.isContextProvider=function(e){return pf(e)===nf},Xd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Qd},Xd.isForwardRef=function(e){return pf(e)===af},Xd.isFragment=function(e){return pf(e)===Yd},Xd.isLazy=function(e){return pf(e)===uf},Xd.isMemo=function(e){return pf(e)===cf},Xd.isPortal=function(e){return pf(e)===Jd},Xd.isProfiler=function(e){return pf(e)===tf},Xd.isStrictMode=function(e){return pf(e)===ef},Xd.isSuspense=function(e){return pf(e)===lf},Xd.isSuspenseList=function(e){return pf(e)===sf},Xd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Yd||e===tf||e===ef||e===lf||e===sf||e===df||"object"==typeof e&&null!==e&&(e.$$typeof===uf||e.$$typeof===cf||e.$$typeof===nf||e.$$typeof===rf||e.$$typeof===af||e.$$typeof===ff||void 0!==e.getModuleId)},Xd.typeOf=pf,Zd.exports=Xd;var hf="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",mf=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function gf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,l=""===a?"":"".concat(a,"-"),s=0,c=function(){return s+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==mf.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(l).concat(r,"-").concat(e.key);return t.options.theme[hf]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(l).concat(o).concat(c())}}function vf(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}function yf(){return(yf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var bf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xf="object"===("undefined"==typeof window?"undefined":bf(window))&&"object"===("undefined"==typeof document?"undefined":bf(document))&&9===document.nodeType;function Ef(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sf(e,t,n){return t&&Ef(e.prototype,t),n&&Ef(e,n),e}function wf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Cf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var kf={}.constructor;function Lf(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Lf);if(e.constructor!==kf)return e;var t={};for(var n in e)t[n]=Lf(e[n]);return t}function Rf(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Lf(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Of=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},_f=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Of(e[r]," ");else n=Of(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function If(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Pf(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var l=0;l<a.length;l++){var s=a[l];for(var c in s){var u=s[c];null!=u&&(r&&(r+="\n"),r+=""+If(c+": "+_f(u)+";",i))}}else for(var d in a){var f=a[d];null!=f&&(r&&(r+="\n"),r+=""+If(d+": "+_f(f)+";",i))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+If(p+": "+_f(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),If(e+" {"+r,--i)+If("}",i)):r}var Nf=/([[\].#*$><+~=|^:(),"'`\s])/g,Tf="undefined"!=typeof CSS&&CSS.escape,Df=function(e){return Tf?Tf(e):e.replace(Nf,"\\$1")},Mf=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),qf=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(Cf(Cf(o)),l),o.selectorText="."+Df(o.id)),o}wf(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=_f(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?yf({},e,{allowEmpty:!0}):e;return Pf(this.selectorText,this.style,n)},Sf(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Mf),Af={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new qf(e,t,n)}},zf={indent:1,children:!0},jf=/@([\w-]+)/,Ff=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(jf);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new cp(yf({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=zf),null==e.indent&&(e.indent=zf.indent),null==e.children&&(e.children=zf.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Bf=/@media|@supports\s+/,Uf={onCreateRule:function(e,t,n){return Bf.test(e)?new Ff(e,t,n):null}},Hf={indent:1,children:!0},Wf=/@keyframes\s+([\w-]+)/,Vf=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Wf);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var l in this.id=!1===o?this.name:Df(a(this,i)),this.rules=new cp(yf({},n,{parent:this})),t)this.rules.add(l,t[l],yf({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Hf),null==e.indent&&(e.indent=Hf.indent),null==e.children&&(e.children=Hf.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),$f=/@keyframes\s+/,Gf=/\$([\w-]+)/g,Kf=function(e,t){return"string"==typeof e?e.replace(Gf,(function(e,n){return n in t?t[n]:e})):e},Zf=function(e,t,n){var r=e[t],o=Kf(r,n);o!==r&&(e[t]=o)},Xf={onCreateRule:function(e,t,n){return"string"==typeof e&&$f.test(e)?new Vf(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Zf(e,"animation-name",n.keyframes),"animation"in e&&Zf(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Kf(e,r.keyframes);default:return e}}},Qf=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return wf(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?yf({},e,{allowEmpty:!0}):e;return Pf(this.key,this.style,n)},t}(Mf),Jf={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Qf(e,t,n):null}},Yf=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=Pf(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return Pf(this.at,this.style,e)},e}(),ep=/@font-face/,tp={onCreateRule:function(e,t,n){return ep.test(e)?new Yf(e,t,n):null}},np=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return Pf(this.key,this.style,e)},e}(),rp={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new np(e,t,n):null}},op=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ip={"@charset":!0,"@import":!0,"@namespace":!0},ap=[Af,Uf,Xf,Jf,tp,rp,{onCreateRule:function(e,t,n){return e in ip?new op(e,t,n):null}}],lp={process:!0},sp={force:!0,process:!0},cp=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,l=r.Renderer,s=r.generateId,c=r.scoped,u=yf({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:l,generateId:s,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(u.selector="."+Df(this.classes[d]));var f=Rf(d,t,u);if(!f)return null;this.register(f);var p=void 0===u.index?this.index.length:u.index;return this.index.splice(p,0,f),f},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof qf?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Vf&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof qf?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Vf&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=lp);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==l.style){for(var c in i.onProcessStyle(l.style,l,a),l.style){var u=l.style[c];u!==s[c]&&l.prop(c,u,sp)}for(var d in s){var f=l.style[d],p=s[d];null==f&&f!==p&&l.prop(d,null,sp)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),up=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=yf({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new cp(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),dp=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),fp=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},Sf(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),pp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),hp="2f1acc6c3a606b082e5eef5e54414ffb";null==pp[hp]&&(pp[hp]=0);var mp=pp[hp]++,gp=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+mp+o+t:i+n.key+"-"+mp+(o?"-"+o:"")+"-"+t}},vp=function(e){var t;return function(){return t||(t=e()),t}},yp=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},bp=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=_f(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0},xp=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Ep=function(e,t){return e.selectorText=t,e.selectorText===t},Sp=vp((function(){return document.querySelector("head")}));function wp(e){var t=fp.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Sp(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var Cp=vp((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),kp=function(e,t,n){try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},Lp=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},Rp=function(){function e(e){this.getPropertyValue=yp,this.setProperty=bp,this.removeProperty=xp,this.setSelector=Ep,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&fp.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=Cp();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=wp(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Sp().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=Lp(n,t);if(!1===(o=kp(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var l=Lp(n,t),s=kp(n,a,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof up&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Op=0,_p=function(){function e(e){this.id=Op++,this.version="10.5.1",this.plugins=new dp,this.options={id:{minify:!1},createGenerateId:gp,Renderer:xf?Rp:null,plugins:[]},this.generateId=gp({minify:!1});for(var t=0;t<ap.length;t++)this.plugins.use(ap[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=yf({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===fp.index?0:fp.index+1);var r=new up(e,yf({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),fp.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=yf({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=Rf(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();
|
|
28
|
-
/**
|
|
29
|
-
* A better abstraction over CSS.
|
|
27
|
+
var Nt=Ge.exports,_t=Pt.exports;function At(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 Dt=new Set,$t={};function qt(e,t){jt(e,t),jt(e+"Capture",t)}function jt(e,t){for($t[e]=t,e=0;e<t.length;e++)Dt.add(t[e])}var Ft=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Bt=Object.prototype.hasOwnProperty,Wt=/^[: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]*$/,Ht={},Ut={};function Vt(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 Gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Gt[e]=new Vt(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Gt[t]=new Vt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Gt[e]=new Vt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Gt[e]=new Vt(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){Gt[e]=new Vt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Gt[e]=new Vt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Gt[e]=new Vt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Gt[e]=new Vt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Gt[e]=new Vt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Kt=/[\-:]([a-z])/g;function Xt(e){return e[1].toUpperCase()}function Zt(e,t,n,r){var o=Gt.hasOwnProperty(t)?Gt[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!!Bt.call(Ut,e)||!Bt.call(Ht,e)&&(Wt.test(e)?Ut[e]=!0:(Ht[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(Kt,Xt);Gt[t]=new Vt(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(Kt,Xt);Gt[t]=new Vt(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(Kt,Xt);Gt[t]=new Vt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Gt[e]=new Vt(e,1,!1,e.toLowerCase(),null,!1,!1)})),Gt.xlinkHref=new Vt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Gt[e]=new Vt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Yt=Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Qt=Symbol.for("react.element"),Jt=Symbol.for("react.portal"),en=Symbol.for("react.fragment"),tn=Symbol.for("react.strict_mode"),nn=Symbol.for("react.profiler"),rn=Symbol.for("react.provider"),on=Symbol.for("react.context"),an=Symbol.for("react.forward_ref"),ln=Symbol.for("react.suspense"),sn=Symbol.for("react.suspense_list"),cn=Symbol.for("react.memo"),un=Symbol.for("react.lazy"),dn=Symbol.for("react.offscreen"),pn=Symbol.iterator;function fn(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=pn&&e[pn]||e["@@iterator"])?e:null}var mn,hn=Object.assign;function gn(e){if(void 0===mn)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);mn=t&&t[1]||""}return"\n"+mn+e}var vn=!1;function bn(e,t){if(!e||vn)return"";vn=!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{vn=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gn(e):""}function yn(e){switch(e.tag){case 5:return gn(e.type);case 16:return gn("Lazy");case 13:return gn("Suspense");case 19:return gn("SuspenseList");case 0:case 2:case 15:return e=bn(e.type,!1);case 11:return e=bn(e.type.render,!1);case 1:return e=bn(e.type,!0);default:return""}}function xn(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 en:return"Fragment";case Jt:return"Portal";case nn:return"Profiler";case tn:return"StrictMode";case ln:return"Suspense";case sn:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case on:return(e.displayName||"Context")+".Consumer";case rn:return(e._context.displayName||"Context")+".Provider";case an:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case cn:return null!==(t=e.displayName||null)?t:xn(e.type)||"Memo";case un:t=e._payload,e=e._init;try{return xn(e(t))}catch(e){}}return null}function Sn(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 xn(t);case 8:return t===tn?"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 wn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Cn(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function kn(e){e._valueTracker||(e._valueTracker=function(e){var t=Cn(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 En(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Cn(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Rn(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 Ln(e,t){var n=t.checked;return hn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function On(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=wn(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 Mn(e,t){null!=(t=t.checked)&&Zt(e,"checked",t,!1)}function In(e,t){Mn(e,t);var n=wn(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")?Pn(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pn(e,t.type,wn(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Tn(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 Pn(e,t,n){"number"===t&&Rn(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zn=Array.isArray;function Nn(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=""+wn(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 _n(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(At(91));return hn({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function An(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(At(92));if(zn(n)){if(1<n.length)throw Error(At(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:wn(n)}}function Dn(e,t){var n=wn(t.value),r=wn(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 $n(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function qn(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 jn(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?qn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Fn,Bn,Wn=(Bn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Fn=Fn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fn.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 Bn(e,t)}))}:Bn);function Hn(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 Un={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},Vn=["Webkit","ms","Moz","O"];function Gn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Un.hasOwnProperty(e)&&Un[e]?(""+t).trim():t+"px"}function Kn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Gn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Un).forEach((function(e){Vn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Un[t]=Un[e]}))}));var Xn=hn({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 Zn(e,t){if(t){if(Xn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(At(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(At(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(At(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(At(62))}}function Yn(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 Qn=null;function Jn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var er=null,tr=null,nr=null;function rr(e){if(e=Yi(e)){if("function"!=typeof er)throw Error(At(280));var t=e.stateNode;t&&(t=Ji(t),er(e.stateNode,e.type,t))}}function or(e){tr?nr?nr.push(e):nr=[e]:tr=e}function ar(){if(tr){var e=tr,t=nr;if(nr=tr=null,rr(e),t)for(e=0;e<t.length;e++)rr(t[e])}}function ir(e,t){return e(t)}function lr(){}var sr=!1;function cr(e,t,n){if(sr)return e(t,n);sr=!0;try{return ir(e,t,n)}finally{sr=!1,(null!==tr||null!==nr)&&(lr(),ar())}}function ur(e,t){var n=e.stateNode;if(null===n)return null;var r=Ji(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(At(231,t,typeof n));return n}var dr=!1;if(Ft)try{var pr={};Object.defineProperty(pr,"passive",{get:function(){dr=!0}}),window.addEventListener("test",pr,pr),window.removeEventListener("test",pr,pr)}catch(Bn){dr=!1}function fr(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 mr=!1,hr=null,gr=!1,vr=null,br={onError:function(e){mr=!0,hr=e}};function yr(e,t,n,r,o,a,i,l,s){mr=!1,hr=null,fr.apply(br,arguments)}function xr(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 Sr(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 wr(e){if(xr(e)!==e)throw Error(At(188))}function Cr(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=xr(e)))throw Error(At(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 wr(o),e;if(a===r)return wr(o),t;a=a.sibling}throw Error(At(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(At(189))}}if(n.alternate!==r)throw Error(At(190))}if(3!==n.tag)throw Error(At(188));return n.stateNode.current===n?e:t}(e),null!==e?kr(e):null}function kr(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=kr(e);if(null!==t)return t;e=e.sibling}return null}var Er=_t.unstable_scheduleCallback,Rr=_t.unstable_cancelCallback,Lr=_t.unstable_shouldYield,Or=_t.unstable_requestPaint,Mr=_t.unstable_now,Ir=_t.unstable_getCurrentPriorityLevel,Tr=_t.unstable_ImmediatePriority,Pr=_t.unstable_UserBlockingPriority,zr=_t.unstable_NormalPriority,Nr=_t.unstable_LowPriority,_r=_t.unstable_IdlePriority,Ar=null,Dr=null;var $r=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(qr(e)/jr|0)|0},qr=Math.log,jr=Math.LN2;var Fr=64,Br=4194304;function Wr(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 Hr(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=Wr(l):0!==(a&=i)&&(r=Wr(a))}else 0!==(i=n&~o)?r=Wr(i):0!==a&&(r=Wr(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-$r(t)),r|=e[n],t&=~o;return r}function Ur(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 Vr(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Gr(){var e=Fr;return 0==(4194240&(Fr<<=1))&&(Fr=64),e}function Kr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xr(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-$r(t)]=n}function Zr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-$r(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Yr=0;function Qr(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Jr,eo,to,no,ro,oo=!1,ao=[],io=null,lo=null,so=null,co=new Map,uo=new Map,po=[],fo="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 mo(e,t){switch(e){case"focusin":case"focusout":io=null;break;case"dragenter":case"dragleave":lo=null;break;case"mouseover":case"mouseout":so=null;break;case"pointerover":case"pointerout":co.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":uo.delete(t.pointerId)}}function ho(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=Yi(t))&&eo(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function go(e){var t=Zi(e.target);if(null!==t){var n=xr(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Sr(n)))return e.blockedOn=t,void ro(e.priority,(function(){to(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 vo(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Oo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Yi(n))&&eo(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Qn=r,n.target.dispatchEvent(r),Qn=null,t.shift()}return!0}function bo(e,t,n){vo(e)&&n.delete(t)}function yo(){oo=!1,null!==io&&vo(io)&&(io=null),null!==lo&&vo(lo)&&(lo=null),null!==so&&vo(so)&&(so=null),co.forEach(bo),uo.forEach(bo)}function xo(e,t){e.blockedOn===t&&(e.blockedOn=null,oo||(oo=!0,_t.unstable_scheduleCallback(_t.unstable_NormalPriority,yo)))}function So(e){function t(t){return xo(t,e)}if(0<ao.length){xo(ao[0],e);for(var n=1;n<ao.length;n++){var r=ao[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==io&&xo(io,e),null!==lo&&xo(lo,e),null!==so&&xo(so,e),co.forEach(t),uo.forEach(t),n=0;n<po.length;n++)(r=po[n]).blockedOn===e&&(r.blockedOn=null);for(;0<po.length&&null===(n=po[0]).blockedOn;)go(n),null===n.blockedOn&&po.shift()}var wo=Yt.ReactCurrentBatchConfig,Co=!0;function ko(e,t,n,r){var o=Yr,a=wo.transition;wo.transition=null;try{Yr=1,Ro(e,t,n,r)}finally{Yr=o,wo.transition=a}}function Eo(e,t,n,r){var o=Yr,a=wo.transition;wo.transition=null;try{Yr=4,Ro(e,t,n,r)}finally{Yr=o,wo.transition=a}}function Ro(e,t,n,r){if(Co){var o=Oo(e,t,n,r);if(null===o)wi(e,t,r,Lo,n),mo(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return io=ho(io,e,t,n,r,o),!0;case"dragenter":return lo=ho(lo,e,t,n,r,o),!0;case"mouseover":return so=ho(so,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return co.set(a,ho(co.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,uo.set(a,ho(uo.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(mo(e,r),4&t&&-1<fo.indexOf(e)){for(;null!==o;){var a=Yi(o);if(null!==a&&Jr(a),null===(a=Oo(e,t,n,r))&&wi(e,t,r,Lo,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else wi(e,t,r,null,n)}}var Lo=null;function Oo(e,t,n,r){if(Lo=null,null!==(e=Zi(e=Jn(r))))if(null===(t=xr(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Sr(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 Lo=e,null}function Mo(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(Ir()){case Tr:return 1;case Pr:return 4;case zr:case Nr:return 16;case _r:return 536870912;default:return 16}default:return 16}}var Io=null,To=null,Po=null;function zo(){if(Po)return Po;var e,t,n=To,r=n.length,o="value"in Io?Io.value:Io.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 Po=o.slice(e,1<t?1-t:void 0)}function No(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 _o(){return!0}function Ao(){return!1}function Do(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)?_o:Ao,this.isPropagationStopped=Ao,this}return hn(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=_o)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=_o)},persist:function(){},isPersistent:_o}),t}var $o,qo,jo,Fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bo=Do(Fo),Wo=hn({},Fo,{view:0,detail:0}),Ho=Do(Wo),Uo=hn({},Wo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ra,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!==jo&&(jo&&"mousemove"===e.type?($o=e.screenX-jo.screenX,qo=e.screenY-jo.screenY):qo=$o=0,jo=e),$o)},movementY:function(e){return"movementY"in e?e.movementY:qo}}),Vo=Do(Uo),Go=Do(hn({},Uo,{dataTransfer:0})),Ko=Do(hn({},Wo,{relatedTarget:0})),Xo=Do(hn({},Fo,{animationName:0,elapsedTime:0,pseudoElement:0})),Zo=hn({},Fo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Yo=Do(Zo),Qo=Do(hn({},Fo,{data:0})),Jo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ea={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"},ta={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function na(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=ta[e])&&!!t[e]}function ra(){return na}var oa=hn({},Wo,{key:function(e){if(e.key){var t=Jo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=No(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ea[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ra,charCode:function(e){return"keypress"===e.type?No(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?No(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),aa=Do(oa),ia=Do(hn({},Uo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),la=Do(hn({},Wo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ra})),sa=Do(hn({},Fo,{propertyName:0,elapsedTime:0,pseudoElement:0})),ca=hn({},Uo,{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}),ua=Do(ca),da=[9,13,27,32],pa=Ft&&"CompositionEvent"in window,fa=null;Ft&&"documentMode"in document&&(fa=document.documentMode);var ma=Ft&&"TextEvent"in window&&!fa,ha=Ft&&(!pa||fa&&8<fa&&11>=fa),ga=String.fromCharCode(32),va=!1;function ba(e,t){switch(e){case"keyup":return-1!==da.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ya(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var xa=!1;var Sa={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 wa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Sa[e.type]:"textarea"===t}function Ca(e,t,n,r){or(r),0<(t=ki(t,"onChange")).length&&(n=new Bo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ka=null,Ea=null;function Ra(e){gi(e,0)}function La(e){if(En(Qi(e)))return e}function Oa(e,t){if("change"===e)return t}var Ma=!1;if(Ft){var Ia;if(Ft){var Ta="oninput"in document;if(!Ta){var Pa=document.createElement("div");Pa.setAttribute("oninput","return;"),Ta="function"==typeof Pa.oninput}Ia=Ta}else Ia=!1;Ma=Ia&&(!document.documentMode||9<document.documentMode)}function za(){ka&&(ka.detachEvent("onpropertychange",Na),Ea=ka=null)}function Na(e){if("value"===e.propertyName&&La(Ea)){var t=[];Ca(t,Ea,e,Jn(e)),cr(Ra,t)}}function _a(e,t,n){"focusin"===e?(za(),Ea=n,(ka=t).attachEvent("onpropertychange",Na)):"focusout"===e&&za()}function Aa(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return La(Ea)}function Da(e,t){if("click"===e)return La(t)}function $a(e,t){if("input"===e||"change"===e)return La(t)}var qa="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ja(e,t){if(qa(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(!Bt.call(t,o)||!qa(e[o],t[o]))return!1}return!0}function Fa(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ba(e,t){var n,r=Fa(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=Fa(r)}}function Wa(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Wa(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ha(){for(var e=window,t=Rn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Rn((e=t.contentWindow).document)}return t}function Ua(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 Va(e){var t=Ha(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Wa(n.ownerDocument.documentElement,n)){if(null!==r&&Ua(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=Ba(n,a);var i=Ba(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 Ga=Ft&&"documentMode"in document&&11>=document.documentMode,Ka=null,Xa=null,Za=null,Ya=!1;function Qa(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ya||null==Ka||Ka!==Rn(r)||("selectionStart"in(r=Ka)&&Ua(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},Za&&ja(Za,r)||(Za=r,0<(r=ki(Xa,"onSelect")).length&&(t=new Bo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ka)))}function Ja(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ei={animationend:Ja("Animation","AnimationEnd"),animationiteration:Ja("Animation","AnimationIteration"),animationstart:Ja("Animation","AnimationStart"),transitionend:Ja("Transition","TransitionEnd")},ti={},ni={};function ri(e){if(ti[e])return ti[e];if(!ei[e])return e;var t,n=ei[e];for(t in n)if(n.hasOwnProperty(t)&&t in ni)return ti[e]=n[t];return e}Ft&&(ni=document.createElement("div").style,"AnimationEvent"in window||(delete ei.animationend.animation,delete ei.animationiteration.animation,delete ei.animationstart.animation),"TransitionEvent"in window||delete ei.transitionend.transition);var oi=ri("animationend"),ai=ri("animationiteration"),ii=ri("animationstart"),li=ri("transitionend"),si=new Map,ci="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 ui(e,t){si.set(e,t),qt(t,[e])}for(var di=0;di<ci.length;di++){var pi=ci[di];ui(pi.toLowerCase(),"on"+(pi[0].toUpperCase()+pi.slice(1)))}ui(oi,"onAnimationEnd"),ui(ai,"onAnimationIteration"),ui(ii,"onAnimationStart"),ui("dblclick","onDoubleClick"),ui("focusin","onFocus"),ui("focusout","onBlur"),ui(li,"onTransitionEnd"),jt("onMouseEnter",["mouseout","mouseover"]),jt("onMouseLeave",["mouseout","mouseover"]),jt("onPointerEnter",["pointerout","pointerover"]),jt("onPointerLeave",["pointerout","pointerover"]),qt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qt("onBeforeInput",["compositionend","keypress","textInput","paste"]),qt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fi="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(" "),mi=new Set("cancel close invalid load scroll toggle".split(" ").concat(fi));function hi(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(yr.apply(this,arguments),mr){if(!mr)throw Error(At(198));var c=hr;mr=!1,hr=null,gr||(gr=!0,vr=c)}}(r,t,void 0,e),e.currentTarget=null}function gi(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;hi(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;hi(o,l,c),a=s}}}if(gr)throw e=vr,gr=!1,vr=null,e}function vi(e,t){var n=t[Gi];void 0===n&&(n=t[Gi]=new Set);var r=e+"__bubble";n.has(r)||(Si(t,e,2,!1),n.add(r))}function bi(e,t,n){var r=0;t&&(r|=4),Si(n,e,r,t)}var yi="_reactListening"+Math.random().toString(36).slice(2);function xi(e){if(!e[yi]){e[yi]=!0,Dt.forEach((function(t){"selectionchange"!==t&&(mi.has(t)||bi(t,!1,e),bi(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[yi]||(t[yi]=!0,bi("selectionchange",!1,t))}}function Si(e,t,n,r){switch(Mo(t)){case 1:var o=ko;break;case 4:o=Eo;break;default:o=Ro}n=o.bind(null,t,n,e),o=void 0,!dr||"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 wi(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=Zi(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}cr((function(){var r=a,o=Jn(n),i=[];e:{var l=si.get(e);if(void 0!==l){var s=Bo,c=e;switch(e){case"keypress":if(0===No(n))break e;case"keydown":case"keyup":s=aa;break;case"focusin":c="focus",s=Ko;break;case"focusout":c="blur",s=Ko;break;case"beforeblur":case"afterblur":s=Ko;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=Vo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Go;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=la;break;case oi:case ai:case ii:s=Xo;break;case li:s=sa;break;case"scroll":s=Ho;break;case"wheel":s=ua;break;case"copy":case"cut":case"paste":s=Yo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=ia}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,m=r;null!==m;){var h=(f=m).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&(null!=(h=ur(m,p))&&u.push(Ci(m,h,f)))),d)break;m=m.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===Qn||!(c=n.relatedTarget||n.fromElement)||!Zi(c)&&!c[Vi])&&(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)?Zi(c):null)&&(c!==(d=xr(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=Vo,h="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(u=ia,h="onPointerLeave",p="onPointerEnter",m="pointer"),d=null==s?l:Qi(s),f=null==c?l:Qi(c),(l=new u(h,m+"leave",s,n,o)).target=d,l.relatedTarget=f,h=null,Zi(o)===r&&((u=new u(p,m+"enter",c,n,o)).target=f,u.relatedTarget=d,h=u),d=h,s&&c)e:{for(p=c,m=0,f=u=s;f;f=Ei(f))m++;for(f=0,h=p;h;h=Ei(h))f++;for(;0<m-f;)u=Ei(u),m--;for(;0<f-m;)p=Ei(p),f--;for(;m--;){if(u===p||null!==p&&u===p.alternate)break e;u=Ei(u),p=Ei(p)}u=null}else u=null;null!==s&&Ri(i,l,s,u,!1),null!==c&&null!==d&&Ri(i,d,c,u,!0)}if("select"===(s=(l=r?Qi(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Oa;else if(wa(l))if(Ma)g=$a;else{g=Aa;var v=_a}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=Da);switch(g&&(g=g(e,r))?Ca(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&Pn(l,"number",l.value)),v=r?Qi(r):window,e){case"focusin":(wa(v)||"true"===v.contentEditable)&&(Ka=v,Xa=r,Za=null);break;case"focusout":Za=Xa=Ka=null;break;case"mousedown":Ya=!0;break;case"contextmenu":case"mouseup":case"dragend":Ya=!1,Qa(i,n,o);break;case"selectionchange":if(Ga)break;case"keydown":case"keyup":Qa(i,n,o)}var b;if(pa)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else xa?ba(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(ha&&"ko"!==n.locale&&(xa||"onCompositionStart"!==y?"onCompositionEnd"===y&&xa&&(b=zo()):(To="value"in(Io=o)?Io.value:Io.textContent,xa=!0)),0<(v=ki(r,y)).length&&(y=new Qo(y,e,null,n,o),i.push({event:y,listeners:v}),b?y.data=b:null!==(b=ya(n))&&(y.data=b))),(b=ma?function(e,t){switch(e){case"compositionend":return ya(t);case"keypress":return 32!==t.which?null:(va=!0,ga);case"textInput":return(e=t.data)===ga&&va?null:e;default:return null}}(e,n):function(e,t){if(xa)return"compositionend"===e||!pa&&ba(e,t)?(e=zo(),Po=To=Io=null,xa=!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 ha&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=ki(r,"onBeforeInput")).length&&(o=new Qo("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=b))}gi(i,t)}))}function Ci(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ki(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=ur(e,n))&&r.unshift(Ci(e,a,o)),null!=(a=ur(e,t))&&r.push(Ci(e,a,o))),e=e.return}return r}function Ei(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ri(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=ur(n,a))&&i.unshift(Ci(n,s,l)):o||null!=(s=ur(n,a))&&i.push(Ci(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Li=/\r\n?/g,Oi=/\u0000|\uFFFD/g;function Mi(e){return("string"==typeof e?e:""+e).replace(Li,"\n").replace(Oi,"")}function Ii(e,t,n){if(t=Mi(t),Mi(e)!==t&&n)throw Error(At(425))}function Ti(){}var Pi=null,zi=null;function Ni(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 _i="function"==typeof setTimeout?setTimeout:void 0,Ai="function"==typeof clearTimeout?clearTimeout:void 0,Di="function"==typeof Promise?Promise:void 0,$i="function"==typeof queueMicrotask?queueMicrotask:void 0!==Di?function(e){return Di.resolve(null).then(e).catch(qi)}:_i;function qi(e){setTimeout((function(){throw e}))}function ji(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 So(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);So(t)}function Fi(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 Bi(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 Wi=Math.random().toString(36).slice(2),Hi="__reactFiber$"+Wi,Ui="__reactProps$"+Wi,Vi="__reactContainer$"+Wi,Gi="__reactEvents$"+Wi,Ki="__reactListeners$"+Wi,Xi="__reactHandles$"+Wi;function Zi(e){var t=e[Hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vi]||n[Hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Bi(e);null!==e;){if(n=e[Hi])return n;e=Bi(e)}return t}n=(e=n).parentNode}return null}function Yi(e){return!(e=e[Hi]||e[Vi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Qi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(At(33))}function Ji(e){return e[Ui]||null}var el=[],tl=-1;function nl(e){return{current:e}}function rl(e){0>tl||(e.current=el[tl],el[tl]=null,tl--)}function ol(e,t){tl++,el[tl]=e.current,e.current=t}var al={},il=nl(al),ll=nl(!1),sl=al;function cl(e,t){var n=e.type.contextTypes;if(!n)return al;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 ul(e){return null!=(e=e.childContextTypes)}function dl(){rl(ll),rl(il)}function pl(e,t,n){if(il.current!==al)throw Error(At(168));ol(il,t),ol(ll,n)}function fl(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(At(108,Sn(e)||"Unknown",o));return hn({},n,r)}function ml(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||al,sl=il.current,ol(il,e),ol(ll,ll.current),!0}function hl(e,t,n){var r=e.stateNode;if(!r)throw Error(At(169));n?(e=fl(e,t,sl),r.__reactInternalMemoizedMergedChildContext=e,rl(ll),rl(il),ol(il,e)):rl(ll),ol(ll,n)}var gl=null,vl=!1,bl=!1;function yl(e){null===gl?gl=[e]:gl.push(e)}function xl(){if(!bl&&null!==gl){bl=!0;var e=0,t=Yr;try{var n=gl;for(Yr=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}gl=null,vl=!1}catch(t){throw null!==gl&&(gl=gl.slice(e+1)),Er(Tr,xl),t}finally{Yr=t,bl=!1}}return null}var Sl=Yt.ReactCurrentBatchConfig;function wl(e,t){if(e&&e.defaultProps){for(var n in t=hn({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Cl=nl(null),kl=null,El=null,Rl=null;function Ll(){Rl=El=kl=null}function Ol(e){var t=Cl.current;rl(Cl),e._currentValue=t}function Ml(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 Il(e,t){kl=e,Rl=El=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Qc=!0),e.firstContext=null)}function Tl(e){var t=e._currentValue;if(Rl!==e)if(e={context:e,memoizedValue:t,next:null},null===El){if(null===kl)throw Error(At(308));El=e,kl.dependencies={lanes:0,firstContext:e}}else El=El.next=e;return t}var Pl=null,zl=!1;function Nl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _l(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 Al(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Dl(e,t){var n=e.updateQueue;null!==n&&(n=n.shared,Pd(e)?(null===(e=n.interleaved)?(t.next=t,null===Pl?Pl=[n]:Pl.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(null===(e=n.pending)?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function $l(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,Zr(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 jl(e,t,n,r){var o=e.updateQueue;zl=!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 m=e,h=l;switch(p=t,f=n,h.tag){case 1:if("function"==typeof(m=h.payload)){d=m.call(f,d,p);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(p="function"==typeof(m=h.payload)?m.call(f,d,p):m))break e;d=hn({},d,p);break e;case 2:zl=!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);ud|=i,e.lanes=i,e.memoizedState=d}}function Fl(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(At(191,o));o.call(r)}}}var Bl=(new Nt.Component).refs;function Wl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:hn({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Hl={isMounted:function(e){return!!(e=e._reactInternals)&&xr(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Od(),o=Md(e),a=Al(r,o);a.payload=t,null!=n&&(a.callback=n),Dl(e,a),null!==(t=Id(e,o,r))&&$l(t,e,o)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Od(),o=Md(e),a=Al(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),Dl(e,a),null!==(t=Id(e,o,r))&&$l(t,e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Od(),r=Md(e),o=Al(n,r);o.tag=2,null!=t&&(o.callback=t),Dl(e,o),null!==(t=Id(e,r,n))&&$l(t,e,r)}};function Ul(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!ja(n,r)||!ja(o,a))}function Vl(e,t,n){var r=!1,o=al,a=t.contextType;return"object"==typeof a&&null!==a?a=Tl(a):(o=ul(t)?sl:il.current,a=(r=null!=(r=t.contextTypes))?cl(e,o):al),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Hl,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Gl(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&&Hl.enqueueReplaceState(t,t.state,null)}function Kl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Bl,Nl(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Tl(a):(a=ul(t)?sl:il.current,o.context=cl(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Wl(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&&Hl.enqueueReplaceState(o,o.state,null),jl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}var Xl=[],Zl=0,Yl=null,Ql=0,Jl=[],es=0,ts=null,ns=1,rs="";function os(e,t){Xl[Zl++]=Ql,Xl[Zl++]=Yl,Yl=e,Ql=t}function as(e,t,n){Jl[es++]=ns,Jl[es++]=rs,Jl[es++]=ts,ts=e;var r=ns;e=rs;var o=32-$r(r)-1;r&=~(1<<o),n+=1;var a=32-$r(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,ns=1<<32-$r(t)+o|n<<o|r,rs=a+e}else ns=1<<a|n<<o|r,rs=e}function is(e){null!==e.return&&(os(e,1),as(e,1,0))}function ls(e){for(;e===Yl;)Yl=Xl[--Zl],Xl[Zl]=null,Ql=Xl[--Zl],Xl[Zl]=null;for(;e===ts;)ts=Jl[--es],Jl[es]=null,rs=Jl[--es],Jl[es]=null,ns=Jl[--es],Jl[es]=null}var ss=null,cs=null,us=!1,ds=null;function ps(e,t){var n=lp(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 fs(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,ss=e,cs=Fi(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ss=e,cs=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ts?{id:ns,overflow:rs}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=lp(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ss=e,cs=null,!0);default:return!1}}function ms(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function hs(e){if(us){var t=cs;if(t){var n=t;if(!fs(e,t)){if(ms(e))throw Error(At(418));t=Fi(n.nextSibling);var r=ss;t&&fs(e,t)?ps(r,n):(e.flags=-4097&e.flags|2,us=!1,ss=e)}}else{if(ms(e))throw Error(At(418));e.flags=-4097&e.flags|2,us=!1,ss=e}}}function gs(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ss=e}function vs(e){if(e!==ss)return!1;if(!us)return gs(e),us=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Ni(e.type,e.memoizedProps)),t&&(t=cs)){if(ms(e)){for(e=cs;e;)e=Fi(e.nextSibling);throw Error(At(418))}for(;t;)ps(e,t),t=Fi(t.nextSibling)}if(gs(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(At(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){cs=Fi(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}cs=null}}else cs=ss?Fi(e.stateNode.nextSibling):null;return!0}function bs(){cs=ss=null,us=!1}function ys(e){null===ds?ds=[e]:ds.push(e)}function xs(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(At(309));var r=n.stateNode}if(!r)throw Error(At(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===Bl&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(At(284));if(!n._owner)throw Error(At(290,e))}return e}function Ss(e,t){throw e=Object.prototype.toString.call(t),Error(At(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ws(e){return(0,e._init)(e._payload)}function Cs(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=cp(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=fp(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===en?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===un&&ws(a)===t.type)?((r=o(t,n.props)).ref=xs(e,t,n),r.return=e,r):((r=up(n.type,n.key,n.props,null,e.mode,r)).ref=xs(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=mp(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=dp(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=fp(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Qt:return(n=up(t.type,t.key,t.props,null,e.mode,n)).ref=xs(e,null,t),n.return=e,n;case Jt:return(t=mp(t,e.mode,n)).return=e,t;case un:return d(e,(0,t._init)(t._payload),n)}if(zn(t)||fn(t))return(t=dp(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 Qt:return n.key===o?s(e,t,n,r):null;case Jt:return n.key===o?c(e,t,n,r):null;case un:return p(e,t,(o=n._init)(n._payload),r)}if(zn(n)||fn(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 Qt:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Jt:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case un:return f(e,t,n,(0,r._init)(r._payload),o)}if(zn(r)||fn(r))return u(t,e=e.get(n)||null,r,o,null);Ss(t,r)}return null}function m(o,i,l,s){for(var c=null,u=null,m=i,h=i=0,g=null;null!==m&&h<l.length;h++){m.index>h?(g=m,m=null):g=m.sibling;var v=p(o,m,l[h],s);if(null===v){null===m&&(m=g);break}e&&m&&null===v.alternate&&t(o,m),i=a(v,i,h),null===u?c=v:u.sibling=v,u=v,m=g}if(h===l.length)return n(o,m),us&&os(o,h),c;if(null===m){for(;h<l.length;h++)null!==(m=d(o,l[h],s))&&(i=a(m,i,h),null===u?c=m:u.sibling=m,u=m);return us&&os(o,h),c}for(m=r(o,m);h<l.length;h++)null!==(g=f(m,o,h,l[h],s))&&(e&&null!==g.alternate&&m.delete(null===g.key?h:g.key),i=a(g,i,h),null===u?c=g:u.sibling=g,u=g);return e&&m.forEach((function(e){return t(o,e)})),us&&os(o,h),c}function h(o,i,l,s){var c=fn(l);if("function"!=typeof c)throw Error(At(150));if(null==(l=c.call(l)))throw Error(At(151));for(var u=c=null,m=i,h=i=0,g=null,v=l.next();null!==m&&!v.done;h++,v=l.next()){m.index>h?(g=m,m=null):g=m.sibling;var b=p(o,m,v.value,s);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),i=a(b,i,h),null===u?c=b:u.sibling=b,u=b,m=g}if(v.done)return n(o,m),us&&os(o,h),c;if(null===m){for(;!v.done;h++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,h),null===u?c=v:u.sibling=v,u=v);return us&&os(o,h),c}for(m=r(o,m);!v.done;h++,v=l.next())null!==(v=f(m,o,h,v.value,s))&&(e&&null!==v.alternate&&m.delete(null===v.key?h:v.key),i=a(v,i,h),null===u?c=v:u.sibling=v,u=v);return e&&m.forEach((function(e){return t(o,e)})),us&&os(o,h),c}return function e(r,a,l,s){if("object"==typeof l&&null!==l&&l.type===en&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case Qt:e:{for(var c=l.key,u=a;null!==u;){if(u.key===c){if((c=l.type)===en){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===un&&ws(c)===u.type){n(r,u.sibling),(a=o(u,l.props)).ref=xs(r,u,l),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}l.type===en?((a=dp(l.props.children,r.mode,s,l.key)).return=r,r=a):((s=up(l.type,l.key,l.props,null,r.mode,s)).ref=xs(r,a,l),s.return=r,r=s)}return i(r);case Jt: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=mp(l,r.mode,s)).return=r,r=a}return i(r);case un:return e(r,a,(u=l._init)(l._payload),s)}if(zn(l))return m(r,a,l,s);if(fn(l))return h(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=fp(l,r.mode,s)).return=r,r=a),i(r)):n(r,a)}}var ks=Cs(!0),Es=Cs(!1),Rs={},Ls=nl(Rs),Os=nl(Rs),Ms=nl(Rs);function Is(e){if(e===Rs)throw Error(At(174));return e}function Ts(e,t){switch(ol(Ms,t),ol(Os,e),ol(Ls,Rs),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:jn(null,"");break;default:t=jn(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}rl(Ls),ol(Ls,t)}function Ps(){rl(Ls),rl(Os),rl(Ms)}function zs(e){Is(Ms.current);var t=Is(Ls.current),n=jn(t,e.type);t!==n&&(ol(Os,e),ol(Ls,n))}function Ns(e){Os.current===e&&(rl(Ls),rl(Os))}var _s=nl(0);function As(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 Ds=[];function $s(){for(var e=0;e<Ds.length;e++)Ds[e]._workInProgressVersionPrimary=null;Ds.length=0}var qs=Yt.ReactCurrentDispatcher,js=Yt.ReactCurrentBatchConfig,Fs=0,Bs=null,Ws=null,Hs=null,Us=!1,Vs=!1,Gs=0,Ks=0;function Xs(){throw Error(At(321))}function Zs(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qa(e[n],t[n]))return!1;return!0}function Ys(e,t,n,r,o,a){if(Fs=a,Bs=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,qs.current=null===e||null===e.memoizedState?Nc:_c,e=n(r,o),Vs){a=0;do{if(Vs=!1,Gs=0,25<=a)throw Error(At(301));a+=1,Hs=Ws=null,t.updateQueue=null,qs.current=Ac,e=n(r,o)}while(Vs)}if(qs.current=zc,t=null!==Ws&&null!==Ws.next,Fs=0,Hs=Ws=Bs=null,Us=!1,t)throw Error(At(300));return e}function Qs(){var e=0!==Gs;return Gs=0,e}function Js(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Hs?Bs.memoizedState=Hs=e:Hs=Hs.next=e,Hs}function ec(){if(null===Ws){var e=Bs.alternate;e=null!==e?e.memoizedState:null}else e=Ws.next;var t=null===Hs?Bs.memoizedState:Hs.next;if(null!==t)Hs=t,Ws=e;else{if(null===e)throw Error(At(310));e={memoizedState:(Ws=e).memoizedState,baseState:Ws.baseState,baseQueue:Ws.baseQueue,queue:Ws.queue,next:null},null===Hs?Bs.memoizedState=Hs=e:Hs=Hs.next=e}return Hs}function tc(e,t){return"function"==typeof t?t(e):t}function nc(e){var t=ec(),n=t.queue;if(null===n)throw Error(At(311));n.lastRenderedReducer=e;var r=Ws,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((Fs&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,Bs.lanes|=u,ud|=u}c=c.next}while(null!==c&&c!==a);null===s?i=r:s.next=l,qa(r,t.memoizedState)||(Qc=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,Bs.lanes|=a,ud|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function rc(e){var t=ec(),n=t.queue;if(null===n)throw Error(At(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);qa(a,t.memoizedState)||(Qc=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function oc(){}function ac(e,t){var n=Bs,r=ec(),o=t(),a=!qa(r.memoizedState,o);if(a&&(r.memoizedState=o,Qc=!0),r=r.queue,gc(sc.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==Hs&&1&Hs.memoizedState.tag){if(n.flags|=2048,dc(9,lc.bind(null,n,r,o,t),void 0,null),null===rd)throw Error(At(349));0!=(30&Fs)||ic(n,t,o)}return o}function ic(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Bs.updateQueue)?(t={lastEffect:null,stores:null},Bs.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function lc(e,t,n,r){t.value=n,t.getSnapshot=r,cc(t)&&Id(e,1,-1)}function sc(e,t,n){return n((function(){cc(t)&&Id(e,1,-1)}))}function cc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qa(e,n)}catch(e){return!0}}function uc(e){var t=Js();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:tc,lastRenderedState:e},t.queue=e,e=e.dispatch=Oc.bind(null,Bs,e),[t.memoizedState,e]}function dc(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Bs.updateQueue)?(t={lastEffect:null,stores:null},Bs.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 pc(){return ec().memoizedState}function fc(e,t,n,r){var o=Js();Bs.flags|=e,o.memoizedState=dc(1|t,n,void 0,void 0===r?null:r)}function mc(e,t,n,r){var o=ec();r=void 0===r?null:r;var a=void 0;if(null!==Ws){var i=Ws.memoizedState;if(a=i.destroy,null!==r&&Zs(r,i.deps))return void(o.memoizedState=dc(t,n,a,r))}Bs.flags|=e,o.memoizedState=dc(1|t,n,a,r)}function hc(e,t){return fc(8390656,8,e,t)}function gc(e,t){return mc(2048,8,e,t)}function vc(e,t){return mc(4,2,e,t)}function bc(e,t){return mc(4,4,e,t)}function yc(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 xc(e,t,n){return n=null!=n?n.concat([e]):null,mc(4,4,yc.bind(null,t,e),n)}function Sc(){}function wc(e,t){var n=ec();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cc(e,t){var n=ec();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function kc(e,t,n){return 0==(21&Fs)?(e.baseState&&(e.baseState=!1,Qc=!0),e.memoizedState=n):(qa(n,t)||(n=Gr(),Bs.lanes|=n,ud|=n,e.baseState=!0),t)}function Ec(e,t){var n=Yr;Yr=0!==n&&4>n?n:4,e(!0);var r=js.transition;js.transition={};try{e(!1),t()}finally{Yr=n,js.transition=r}}function Rc(){return ec().memoizedState}function Lc(e,t,n){var r=Md(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Mc(e)?Ic(t,n):(Tc(e,t,n),null!==(e=Id(e,r,n=Od()))&&Pc(e,t,r))}function Oc(e,t,n){var r=Md(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mc(e))Ic(t,o);else{Tc(e,t,o);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,qa(l,i))return}catch(e){}null!==(e=Id(e,r,n=Od()))&&Pc(e,t,r)}}function Mc(e){var t=e.alternate;return e===Bs||null!==t&&t===Bs}function Ic(e,t){Vs=Us=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Tc(e,t,n){Pd(e)?(null===(e=t.interleaved)?(n.next=n,null===Pl?Pl=[t]:Pl.push(t)):(n.next=e.next,e.next=n),t.interleaved=n):(null===(e=t.pending)?n.next=n:(n.next=e.next,e.next=n),t.pending=n)}function Pc(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Zr(e,n)}}var zc={readContext:Tl,useCallback:Xs,useContext:Xs,useEffect:Xs,useImperativeHandle:Xs,useInsertionEffect:Xs,useLayoutEffect:Xs,useMemo:Xs,useReducer:Xs,useRef:Xs,useState:Xs,useDebugValue:Xs,useDeferredValue:Xs,useTransition:Xs,useMutableSource:Xs,useSyncExternalStore:Xs,useId:Xs,unstable_isNewReconciler:!1},Nc={readContext:Tl,useCallback:function(e,t){return Js().memoizedState=[e,void 0===t?null:t],e},useContext:Tl,useEffect:hc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,fc(4194308,4,yc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fc(4194308,4,e,t)},useInsertionEffect:function(e,t){return fc(4,2,e,t)},useMemo:function(e,t){var n=Js();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Js();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=Lc.bind(null,Bs,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Js().memoizedState=e},useState:uc,useDebugValue:Sc,useDeferredValue:function(e){return Js().memoizedState=e},useTransition:function(){var e=uc(!1),t=e[0];return e=Ec.bind(null,e[1]),Js().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Bs,o=Js();if(us){if(void 0===n)throw Error(At(407));n=n()}else{if(n=t(),null===rd)throw Error(At(349));0!=(30&Fs)||ic(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,hc(sc.bind(null,r,a,e),[e]),r.flags|=2048,dc(9,lc.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Js(),t=rd.identifierPrefix;if(us){var n=rs;t=":"+t+"R"+(n=(ns&~(1<<32-$r(ns)-1)).toString(32)+n),0<(n=Gs++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ks++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_c={readContext:Tl,useCallback:wc,useContext:Tl,useEffect:gc,useImperativeHandle:xc,useInsertionEffect:vc,useLayoutEffect:bc,useMemo:Cc,useReducer:nc,useRef:pc,useState:function(){return nc(tc)},useDebugValue:Sc,useDeferredValue:function(e){return kc(ec(),Ws.memoizedState,e)},useTransition:function(){return[nc(tc)[0],ec().memoizedState]},useMutableSource:oc,useSyncExternalStore:ac,useId:Rc,unstable_isNewReconciler:!1},Ac={readContext:Tl,useCallback:wc,useContext:Tl,useEffect:gc,useImperativeHandle:xc,useInsertionEffect:vc,useLayoutEffect:bc,useMemo:Cc,useReducer:rc,useRef:pc,useState:function(){return rc(tc)},useDebugValue:Sc,useDeferredValue:function(e){var t=ec();return null===Ws?t.memoizedState=e:kc(t,Ws.memoizedState,e)},useTransition:function(){return[rc(tc)[0],ec().memoizedState]},useMutableSource:oc,useSyncExternalStore:ac,useId:Rc,unstable_isNewReconciler:!1};function Dc(e,t){try{var n="",r=t;do{n+=yn(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}}function $c(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var qc,jc,Fc,Bc="function"==typeof WeakMap?WeakMap:Map;function Wc(e,t,n){(n=Al(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){bd||(bd=!0,yd=r),$c(0,t)},n}function Hc(e,t,n){(n=Al(-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(){$c(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){$c(0,t),"function"!=typeof r&&(null===xd?xd=new Set([this]):xd.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Uc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Bc;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=tp.bind(null,e,t,n),t.then(e,e))}function Vc(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 Gc(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=Al(-1,1)).tag=2,Dl(n,t))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}function Kc(e,t){if(!us)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 Xc(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 Zc(e,t,n){var r=t.pendingProps;switch(ls(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xc(t),null;case 1:case 17:return ul(t.type)&&dl(),Xc(t),null;case 3:return r=t.stateNode,Ps(),rl(ll),rl(il),$s(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(vs(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ds&&(Ad(ds),ds=null))),Xc(t),null;case 5:Ns(t);var o=Is(Ms.current);if(n=t.type,null!==e&&null!=t.stateNode)jc(e,t,n,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(At(166));return Xc(t),null}if(e=Is(Ls.current),vs(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Hi]=t,r[Ui]=a,e=0!=(1&t.mode),n){case"dialog":vi("cancel",r),vi("close",r);break;case"iframe":case"object":case"embed":vi("load",r);break;case"video":case"audio":for(o=0;o<fi.length;o++)vi(fi[o],r);break;case"source":vi("error",r);break;case"img":case"image":case"link":vi("error",r),vi("load",r);break;case"details":vi("toggle",r);break;case"input":On(r,a),vi("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},vi("invalid",r);break;case"textarea":An(r,a),vi("invalid",r)}for(var i in Zn(n,a),o=null,a)if(a.hasOwnProperty(i)){var l=a[i];"children"===i?"string"==typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&Ii(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Ii(r.textContent,l,e),o=["children",""+l]):$t.hasOwnProperty(i)&&null!=l&&"onScroll"===i&&vi("scroll",r)}switch(n){case"input":kn(r),Tn(r,a,!0);break;case"textarea":kn(r),$n(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Ti)}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=qn(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[Hi]=t,e[Ui]=r,qc(e,t),t.stateNode=e;e:{switch(i=Yn(n,r),n){case"dialog":vi("cancel",e),vi("close",e),o=r;break;case"iframe":case"object":case"embed":vi("load",e),o=r;break;case"video":case"audio":for(o=0;o<fi.length;o++)vi(fi[o],e);o=r;break;case"source":vi("error",e),o=r;break;case"img":case"image":case"link":vi("error",e),vi("load",e),o=r;break;case"details":vi("toggle",e),o=r;break;case"input":On(e,r),o=Ln(e,r),vi("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=hn({},r,{value:void 0}),vi("invalid",e);break;case"textarea":An(e,r),o=_n(e,r),vi("invalid",e)}for(a in Zn(n,o),l=o)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Kn(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&Wn(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&Hn(e,s):"number"==typeof s&&Hn(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&($t.hasOwnProperty(a)?null!=s&&"onScroll"===a&&vi("scroll",e):null!=s&&Zt(e,a,s,i))}switch(n){case"input":kn(e),Tn(e,r,!1);break;case"textarea":kn(e),$n(e);break;case"option":null!=r.value&&e.setAttribute("value",""+wn(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?Nn(e,!!r.multiple,a,!1):null!=r.defaultValue&&Nn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ti)}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 Xc(t),null;case 6:if(e&&null!=t.stateNode)Fc(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(At(166));if(n=Is(Ms.current),Is(Ls.current),vs(t)){if(r=t.stateNode,n=t.memoizedProps,r[Hi]=t,(a=r.nodeValue!==n)&&null!==(e=ss))switch(e.tag){case 3:Ii(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Ii(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Hi]=t,t.stateNode=r}return Xc(t),null;case 13:if(rl(_s),r=t.memoizedState,us&&null!==cs&&0!=(1&t.mode)&&0==(128&t.flags)){for(r=cs;r;)r=Fi(r.nextSibling);return bs(),t.flags|=98560,t}if(null!==r&&null!==r.dehydrated){if(r=vs(t),null===e){if(!r)throw Error(At(318));if(!(r=null!==(r=t.memoizedState)?r.dehydrated:null))throw Error(At(317));r[Hi]=t}else bs(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;return Xc(t),null}return null!==ds&&(Ad(ds),ds=null),0!=(128&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?vs(t):n=null!==e.memoizedState,r!==n&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&_s.current)?0===sd&&(sd=3):Ud())),null!==t.updateQueue&&(t.flags|=4),Xc(t),null);case 4:return Ps(),null===e&&xi(t.stateNode.containerInfo),Xc(t),null;case 10:return Ol(t.type._context),Xc(t),null;case 19:if(rl(_s),null===(a=t.memoizedState))return Xc(t),null;if(r=0!=(128&t.flags),null===(i=a.rendering))if(r)Kc(a,!1);else{if(0!==sd||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=As(e))){for(t.flags|=128,Kc(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 ol(_s,1&_s.current|2),t.child}e=e.sibling}null!==a.tail&&Mr()>gd&&(t.flags|=128,r=!0,Kc(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=As(i))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Kc(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!us)return Xc(t),null}else 2*Mr()-a.renderingStartTime>gd&&1073741824!==n&&(t.flags|=128,r=!0,Kc(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=Mr(),t.sibling=null,n=_s.current,ol(_s,r?1&n|2:1&n),t):(Xc(t),null);case 22:case 23:return Fd(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&id)&&(Xc(t),6&t.subtreeFlags&&(t.flags|=8192)):Xc(t),null;case 24:case 25:return null}throw Error(At(156,t.tag))}qc=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}},jc=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Is(Ls.current);var a,i=null;switch(n){case"input":o=Ln(e,o),r=Ln(e,r),i=[];break;case"select":o=hn({},o,{value:void 0}),r=hn({},r,{value:void 0}),i=[];break;case"textarea":o=_n(e,o),r=_n(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ti)}for(c in Zn(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&&($t.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&&($t.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&vi("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)}},Fc=function(e,t,n,r){n!==r&&(t.flags|=4)};var Yc=Yt.ReactCurrentOwner,Qc=!1;function Jc(e,t,n,r){t.child=null===e?Es(t,null,n,r):ks(t,e.child,n,r)}function eu(e,t,n,r,o){n=n.render;var a=t.ref;return Il(t,o),r=Ys(e,t,n,r,a,o),n=Qs(),null===e||Qc?(us&&n&&is(t),t.flags|=1,Jc(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Su(e,t,o))}function tu(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||sp(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=up(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,nu(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:ja)(i,r)&&e.ref===t.ref)return Su(e,t,o)}return t.flags|=1,(e=cp(a,r)).ref=t.ref,e.return=t,t.child=e}function nu(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(ja(a,r)&&e.ref===t.ref){if(Qc=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Su(e,t,o);0!=(131072&e.flags)&&(Qc=!0)}}return au(e,t,n,r,o)}function ru(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},ol(ld,id),id|=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,ol(ld,id),id|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,ol(ld,id),id|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,ol(ld,id),id|=r;return Jc(e,t,o,n),t.child}function ou(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function au(e,t,n,r,o){var a=ul(n)?sl:il.current;return a=cl(t,a),Il(t,o),n=Ys(e,t,n,r,a,o),r=Qs(),null===e||Qc?(us&&r&&is(t),t.flags|=1,Jc(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Su(e,t,o))}function iu(e,t,n,r,o){if(ul(n)){var a=!0;ml(t)}else a=!1;if(Il(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Vl(t,n,r),Kl(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=Tl(c):c=cl(t,c=ul(n)?sl:il.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)&&Gl(t,i,r,c),zl=!1;var p=t.memoizedState;i.state=p,jl(t,r,i,o),s=t.memoizedState,l!==r||p!==s||ll.current||zl?("function"==typeof u&&(Wl(t,n,u,r),s=t.memoizedState),(l=zl||Ul(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,_l(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:wl(t.type,l),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Tl(s):s=cl(t,s=ul(n)?sl:il.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)&&Gl(t,i,r,s),zl=!1,p=t.memoizedState,i.state=p,jl(t,r,i,o);var m=t.memoizedState;l!==d||p!==m||ll.current||zl?("function"==typeof f&&(Wl(t,n,f,r),m=t.memoizedState),(c=zl||Ul(t,n,c,r,p,m,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,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=m),i.props=r,i.state=m,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 lu(e,t,n,r,a,o)}function lu(e,t,n,r,o,a){ou(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&hl(t,n,!1),Su(e,t,a);r=t.stateNode,Yc.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ks(t,e.child,null,a),t.child=ks(t,null,l,a)):Jc(e,t,l,a),t.memoizedState=r.state,o&&hl(t,n,!0),t.child}function su(e){var t=e.stateNode;t.pendingContext?pl(0,t.pendingContext,t.pendingContext!==t.context):t.context&&pl(0,t.context,!1),Ts(e,t.containerInfo)}function cu(e,t,n,r,o){return bs(),ys(o),t.flags|=256,Jc(e,t,n,r),t.child}var uu={dehydrated:null,treeContext:null,retryLane:0};function du(e){return{baseLanes:e,cachePool:null,transitions:null}}function pu(e,t){return{baseLanes:e.baseLanes|t,cachePool:null,transitions:e.transitions}}function fu(e,t,n){var r,o=t.pendingProps,a=_s.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),ol(_s,1&a),null===e)return hs(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):(a=o.children,e=o.fallback,i?(o=t.mode,i=t.child,a={mode:"hidden",children:a},0==(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=a):i=pp(a,o,0,null),e=dp(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=du(n),t.memoizedState=uu,e):mu(t,a));if(null!==(a=e.memoizedState)){if(null!==(r=a.dehydrated)){if(l)return 256&t.flags?(t.flags&=-257,vu(e,t,n,Error(At(422)))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=o.fallback,a=t.mode,o=pp({mode:"visible",children:o.children},a,0,null),(i=dp(i,a,n,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,0!=(1&t.mode)&&ks(t,e.child,null,n),t.child.memoizedState=du(n),t.memoizedState=uu,i);if(0==(1&t.mode))t=vu(e,t,n,null);else if("$!"===r.data)t=vu(e,t,n,Error(At(419)));else if(o=0!=(n&e.childLanes),Qc||o){if(null!==(o=rd)){switch(n&-n){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(o=0!=(i&(o.suspendedLanes|n))?0:i)&&o!==a.retryLane&&(a.retryLane=o,Id(e,o,-1))}Ud(),t=vu(e,t,n,Error(At(421)))}else"$?"===r.data?(t.flags|=128,t.child=e.child,t=rp.bind(null,e),r._reactRetry=t,t=null):(n=a.treeContext,cs=Fi(r.nextSibling),ss=t,us=!0,ds=null,null!==n&&(Jl[es++]=ns,Jl[es++]=rs,Jl[es++]=ts,ns=n.id,rs=n.overflow,ts=t),(t=mu(t,t.pendingProps.children)).flags|=4096);return t}return i?(o=gu(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?du(n):pu(a,n),i.childLanes=e.childLanes&~n,t.memoizedState=uu,o):(n=hu(e,t,o.children,n),t.memoizedState=null,n)}return i?(o=gu(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?du(n):pu(a,n),i.childLanes=e.childLanes&~n,t.memoizedState=uu,o):(n=hu(e,t,o.children,n),t.memoizedState=null,n)}function mu(e,t){return(t=pp({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function hu(e,t,n,r){var o=e.child;return e=o.sibling,n=cp(o,{mode:"visible",children:n}),0==(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n}function gu(e,t,n,r,o){var a=t.mode,i=(e=e.child).sibling,l={mode:"hidden",children:n};return 0==(1&a)&&t.child!==e?((n=t.child).childLanes=0,n.pendingProps=l,t.deletions=null):(n=cp(e,l)).subtreeFlags=14680064&e.subtreeFlags,null!==i?r=cp(i,r):(r=dp(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function vu(e,t,n,r){return null!==r&&ys(r),ks(t,e.child,null,n),(e=mu(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function bu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ml(e.return,t,n)}function yu(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 xu(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Jc(e,t,r.children,n),0!=(2&(r=_s.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&&bu(e,n,t);else if(19===e.tag)bu(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(ol(_s,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===As(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),yu(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===As(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}yu(t,!0,n,null,a);break;case"together":yu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Su(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ud|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(At(153));if(null!==t.child){for(n=cp(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=cp(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function wu(e,t){switch(ls(t),t.tag){case 1:return ul(t.type)&&dl(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ps(),rl(ll),rl(il),$s(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ns(t),null;case 13:if(rl(_s),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(At(340));bs()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return rl(_s),null;case 4:return Ps(),null;case 10:return Ol(t.type._context),null;case 22:case 23:return Fd(),null;default:return null}}var Cu=!1,ku=!1,Eu="function"==typeof WeakSet?WeakSet:Set,Ru=null;function Lu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){ep(e,t,n)}else n.current=null}function Ou(e,t,n){try{n()}catch(n){ep(e,t,n)}}var Mu=!1;function Iu(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&&Ou(t,n,a)}o=o.next}while(o!==r)}}function Tu(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 Pu(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 zu(e){var t=e.alternate;null!==t&&(e.alternate=null,zu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Hi],delete t[Ui],delete t[Gi],delete t[Ki],delete t[Xi])),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 Nu(e){return 5===e.tag||3===e.tag||4===e.tag}function _u(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Nu(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 Au(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=Ti));else if(4!==r&&null!==(e=e.child))for(Au(e,t,n),e=e.sibling;null!==e;)Au(e,t,n),e=e.sibling}function Du(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(Du(e,t,n),e=e.sibling;null!==e;)Du(e,t,n),e=e.sibling}var $u=null,qu=!1;function ju(e,t,n){for(n=n.child;null!==n;)Fu(e,t,n),n=n.sibling}function Fu(e,t,n){if(Dr&&"function"==typeof Dr.onCommitFiberUnmount)try{Dr.onCommitFiberUnmount(Ar,n)}catch(e){}switch(n.tag){case 5:ku||Lu(n,t);case 6:var r=$u,o=qu;$u=null,ju(e,t,n),qu=o,null!==($u=r)&&(qu?(e=$u,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):$u.removeChild(n.stateNode));break;case 18:null!==$u&&(qu?(e=$u,n=n.stateNode,8===e.nodeType?ji(e.parentNode,n):1===e.nodeType&&ji(e,n),So(e)):ji($u,n.stateNode));break;case 4:r=$u,o=qu,$u=n.stateNode.containerInfo,qu=!0,ju(e,t,n),$u=r,qu=o;break;case 0:case 11:case 14:case 15:if(!ku&&(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))&&Ou(n,t,i),o=o.next}while(o!==r)}ju(e,t,n);break;case 1:if(!ku&&(Lu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){ep(n,t,e)}ju(e,t,n);break;case 21:ju(e,t,n);break;case 22:1&n.mode?(ku=(r=ku)||null!==n.memoizedState,ju(e,t,n),ku=r):ju(e,t,n);break;default:ju(e,t,n)}}function Bu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Eu),t.forEach((function(t){var r=op.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Wu(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:$u=l.stateNode,qu=!1;break e;case 3:case 4:$u=l.stateNode.containerInfo,qu=!0;break e}l=l.return}if(null===$u)throw Error(At(160));Fu(a,i,o),$u=null,qu=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){ep(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Hu(t,e),t=t.sibling}function Hu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Wu(t,e),Uu(e),4&r){try{Iu(3,e,e.return),Tu(3,e)}catch(t){ep(e,e.return,t)}try{Iu(5,e,e.return)}catch(t){ep(e,e.return,t)}}break;case 1:Wu(t,e),Uu(e),512&r&&null!==n&&Lu(n,n.return);break;case 5:if(Wu(t,e),Uu(e),512&r&&null!==n&&Lu(n,n.return),32&e.flags){var o=e.stateNode;try{Hn(o,"")}catch(t){ep(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&&Mn(o,a),Yn(l,i);var c=Yn(l,a);for(i=0;i<s.length;i+=2){var u=s[i],d=s[i+1];"style"===u?Kn(o,d):"dangerouslySetInnerHTML"===u?Wn(o,d):"children"===u?Hn(o,d):Zt(o,u,d,c)}switch(l){case"input":In(o,a);break;case"textarea":Dn(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?Nn(o,!!a.multiple,f,!1):p!==!!a.multiple&&(null!=a.defaultValue?Nn(o,!!a.multiple,a.defaultValue,!0):Nn(o,!!a.multiple,a.multiple?[]:"",!1))}o[Ui]=a}catch(t){ep(e,e.return,t)}}break;case 6:if(Wu(t,e),Uu(e),4&r){if(null===e.stateNode)throw Error(At(162));c=e.stateNode,u=e.memoizedProps;try{c.nodeValue=u}catch(t){ep(e,e.return,t)}}break;case 3:if(Wu(t,e),Uu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{So(t.containerInfo)}catch(t){ep(e,e.return,t)}break;case 4:default:Wu(t,e),Uu(e);break;case 13:Wu(t,e),Uu(e),8192&(c=e.child).flags&&null!==c.memoizedState&&(null===c.alternate||null===c.alternate.memoizedState)&&(hd=Mr()),4&r&&Bu(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(ku=(u=ku)||c,Wu(t,e),ku=u):Wu(t,e),Uu(e),8192&r){u=null!==e.memoizedState;e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=p.stateNode,i=null!=(s=p.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=Gn("display",i))}catch(t){ep(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){ep(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}if(u&&!c&&0!=(1&e.mode))for(Ru=e,e=e.child;null!==e;){for(c=Ru=e;null!==Ru;){switch(d=(u=Ru).child,u.tag){case 0:case 11:case 14:case 15:Iu(4,u,u.return);break;case 1:if(Lu(u,u.return),"function"==typeof(a=u.stateNode).componentWillUnmount){p=u,f=u.return;try{o=p,a.props=o.memoizedProps,a.state=o.memoizedState,a.componentWillUnmount()}catch(e){ep(p,f,e)}}break;case 5:Lu(u,u.return);break;case 22:if(null!==u.memoizedState){Xu(c);continue}}null!==d?(d.return=u,Ru=d):Xu(c)}e=e.sibling}}break;case 19:Wu(t,e),Uu(e),4&r&&Bu(e);case 21:}}function Uu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Nu(n)){var r=n;break e}n=n.return}throw Error(At(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(Hn(o,""),r.flags&=-33),Du(e,_u(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;Au(e,_u(e),a);break;default:throw Error(At(161))}}catch(t){ep(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Vu(e,t,n){Ru=e,Gu(e)}function Gu(e,t,n){for(var r=0!=(1&e.mode);null!==Ru;){var o=Ru,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||ku;l=Cu;var c=ku;if(Cu=i,(ku=s)&&!c)for(Ru=o;null!==Ru;)s=(i=Ru).child,22===i.tag&&null!==i.memoizedState?Zu(o):null!==s?(s.return=i,Ru=s):Zu(o);for(;null!==a;)Ru=a,Gu(a),a=a.sibling;Ru=o,Cu=l,ku=c}Ku(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Ru=a):Ku(e)}}function Ku(e){for(;null!==Ru;){var t=Ru;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:ku||Tu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!ku)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:wl(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Fl(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}Fl(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: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&&So(d)}}}break;default:throw Error(At(163))}ku||512&t.flags&&Pu(t)}catch(e){ep(t,t.return,e)}}if(t===e){Ru=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ru=n;break}Ru=t.return}}function Xu(e){for(;null!==Ru;){var t=Ru;if(t===e){Ru=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ru=n;break}Ru=t.return}}function Zu(e){for(;null!==Ru;){var t=Ru;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Tu(4,t)}catch(e){ep(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){ep(t,o,e)}}var a=t.return;try{Pu(t)}catch(e){ep(t,a,e)}break;case 5:var i=t.return;try{Pu(t)}catch(e){ep(t,i,e)}}}catch(e){ep(t,t.return,e)}if(t===e){Ru=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Ru=l;break}Ru=t.return}}var Yu,Qu=Math.ceil,Ju=Yt.ReactCurrentDispatcher,ed=Yt.ReactCurrentOwner,td=Yt.ReactCurrentBatchConfig,nd=0,rd=null,od=null,ad=0,id=0,ld=nl(0),sd=0,cd=null,ud=0,dd=0,pd=0,fd=null,md=null,hd=0,gd=1/0,vd=null,bd=!1,yd=null,xd=null,Sd=!1,wd=null,Cd=0,kd=0,Ed=null,Rd=-1,Ld=0;function Od(){return 0!=(6&nd)?Mr():-1!==Rd?Rd:Rd=Mr()}function Md(e){return 0==(1&e.mode)?1:0!=(2&nd)&&0!==ad?ad&-ad:null!==Sl.transition?(0===Ld&&(Ld=Gr()),Ld):0!==(e=Yr)?e:e=void 0===(e=window.event)?16:Mo(e.type)}function Id(e,t,n){if(50<kd)throw kd=0,Ed=null,Error(At(185));var r=Td(e,t);return null===r?null:(Xr(r,t,n),0!=(2&nd)&&r===rd||(r===rd&&(0==(2&nd)&&(dd|=t),4===sd&&Dd(r,ad)),zd(r,n),1===t&&0===nd&&0==(1&e.mode)&&(gd=Mr()+500,vl&&xl())),r)}function Td(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}function Pd(e){return(null!==rd||null!==Pl)&&0!=(1&e.mode)&&0==(2&nd)}function zd(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-$r(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=Ur(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=Hr(e,e===rd?ad:0);if(0===r)null!==n&&Rr(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Rr(n),1===t)0===e.tag?function(e){vl=!0,yl(e)}($d.bind(null,e)):yl($d.bind(null,e)),$i((function(){0===nd&&xl()})),n=null;else{switch(Qr(r)){case 1:n=Tr;break;case 4:n=Pr;break;case 16:default:n=zr;break;case 536870912:n=_r}n=ap(n,Nd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Nd(e,t){if(Rd=-1,Ld=0,0!=(6&nd))throw Error(At(327));var n=e.callbackNode;if(Qd()&&e.callbackNode!==n)return null;var r=Hr(e,e===rd?ad:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Vd(e,r);else{t=r;var o=nd;nd|=2;var a=Hd();for(rd===e&&ad===t||(vd=null,gd=Mr()+500,Bd(e,t));;)try{Kd();break}catch(t){Wd(e,t)}Ll(),Ju.current=a,nd=o,null!==od?t=0:(rd=null,ad=0,t=sd)}if(0!==t){if(2===t&&(0!==(o=Vr(e))&&(r=o,t=_d(e,o))),1===t)throw n=cd,Bd(e,0),Dd(e,r),zd(e,Mr()),n;if(6===t)Dd(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(!qa(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=Vd(e,r))&&(0!==(a=Vr(e))&&(r=a,t=_d(e,a))),1===t))throw n=cd,Bd(e,0),Dd(e,r),zd(e,Mr()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(At(345));case 2:case 5:Yd(e,md,vd);break;case 3:if(Dd(e,r),(130023424&r)===r&&10<(t=hd+500-Mr())){if(0!==Hr(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Od(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=_i(Yd.bind(null,e,md,vd),t);break}Yd(e,md,vd);break;case 4:if(Dd(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-$r(r);a=1<<i,(i=t[i])>o&&(o=i),r&=~a}if(r=o,10<(r=(120>(r=Mr()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Qu(r/1960))-r)){e.timeoutHandle=_i(Yd.bind(null,e,md,vd),r);break}Yd(e,md,vd);break;default:throw Error(At(329))}}}return zd(e,Mr()),e.callbackNode===n?Nd.bind(null,e):null}function _d(e,t){var n=fd;return e.current.memoizedState.isDehydrated&&(Bd(e,t).flags|=256),2!==(e=Vd(e,t))&&(t=md,md=n,null!==t&&Ad(t)),e}function Ad(e){null===md?md=e:md.push.apply(md,e)}function Dd(e,t){for(t&=~pd,t&=~dd,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-$r(t),r=1<<n;e[n]=-1,t&=~r}}function $d(e){if(0!=(6&nd))throw Error(At(327));Qd();var t=Hr(e,0);if(0==(1&t))return zd(e,Mr()),null;var n=Vd(e,t);if(0!==e.tag&&2===n){var r=Vr(e);0!==r&&(t=r,n=_d(e,r))}if(1===n)throw n=cd,Bd(e,0),Dd(e,t),zd(e,Mr()),n;if(6===n)throw Error(At(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Yd(e,md,vd),zd(e,Mr()),null}function qd(e,t){var n=nd;nd|=1;try{return e(t)}finally{0===(nd=n)&&(gd=Mr()+500,vl&&xl())}}function jd(e){null!==wd&&0===wd.tag&&0==(6&nd)&&Qd();var t=nd;nd|=1;var n=td.transition,r=Yr;try{if(td.transition=null,Yr=1,e)return e()}finally{Yr=r,td.transition=n,0==(6&(nd=t))&&xl()}}function Fd(){id=ld.current,rl(ld)}function Bd(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ai(n)),null!==od)for(n=od.return;null!==n;){var r=n;switch(ls(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&dl();break;case 3:Ps(),rl(ll),rl(il),$s();break;case 5:Ns(r);break;case 4:Ps();break;case 13:case 19:rl(_s);break;case 10:Ol(r.type._context);break;case 22:case 23:Fd()}n=n.return}if(rd=e,od=e=cp(e.current,null),ad=id=t,sd=0,cd=null,pd=dd=ud=0,md=fd=null,null!==Pl){for(t=0;t<Pl.length;t++)if(null!==(r=(n=Pl[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}Pl=null}return e}function Wd(e,t){for(;;){var n=od;try{if(Ll(),qs.current=zc,Us){for(var r=Bs.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Us=!1}if(Fs=0,Hs=Ws=Bs=null,Vs=!1,Gs=0,ed.current=null,null===n||null===n.return){sd=1,cd=t,od=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=ad,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=Vc(i);if(null!==f){f.flags&=-257,Gc(f,i,l,0,t),1&f.mode&&Uc(a,c,t),s=c;var m=(t=f).updateQueue;if(null===m){var h=new Set;h.add(s),t.updateQueue=h}else m.add(s);break e}if(0==(1&t)){Uc(a,c,t),Ud();break e}s=Error(At(426))}else if(us&&1&l.mode){var g=Vc(i);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),Gc(g,i,l,0,t),ys(s);break e}}a=s,4!==sd&&(sd=2),null===fd?fd=[a]:fd.push(a),s=Dc(s,l),l=i;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,ql(l,Wc(0,s,t));break e;case 1:a=s;var v=l.type,b=l.stateNode;if(0==(128&l.flags)&&("function"==typeof v.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===xd||!xd.has(b)))){l.flags|=65536,t&=-t,l.lanes|=t,ql(l,Hc(l,a,t));break e}}l=l.return}while(null!==l)}Zd(n)}catch(e){t=e,od===n&&null!==n&&(od=n=n.return);continue}break}}function Hd(){var e=Ju.current;return Ju.current=zc,null===e?zc:e}function Ud(){0!==sd&&3!==sd&&2!==sd||(sd=4),null===rd||0==(268435455&ud)&&0==(268435455&dd)||Dd(rd,ad)}function Vd(e,t){var n=nd;nd|=2;var r=Hd();for(rd===e&&ad===t||(vd=null,Bd(e,t));;)try{Gd();break}catch(t){Wd(e,t)}if(Ll(),nd=n,Ju.current=r,null!==od)throw Error(At(261));return rd=null,ad=0,sd}function Gd(){for(;null!==od;)Xd(od)}function Kd(){for(;null!==od&&!Lr();)Xd(od)}function Xd(e){var t=Yu(e.alternate,e,id);e.memoizedProps=e.pendingProps,null===t?Zd(e):od=t,ed.current=null}function Zd(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Zc(n,t,id)))return void(od=n)}else{if(null!==(n=wu(n,t)))return n.flags&=32767,void(od=n);if(null===e)return sd=6,void(od=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(od=t);od=t=e}while(null!==t);0===sd&&(sd=5)}function Yd(e,t,n){var r=Yr,o=td.transition;try{td.transition=null,Yr=1,function(e,t,n,r){do{Qd()}while(null!==wd);if(0!=(6&nd))throw Error(At(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(At(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-$r(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,a),e===rd&&(od=rd=null,ad=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Sd||(Sd=!0,ap(zr,(function(){return Qd(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=td.transition,td.transition=null;var i=Yr;Yr=1;var l=nd;nd|=4,ed.current=null,function(e,t){if(Pi=Co,Ua(e=Ha())){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(zi={focusedElem:e,selectionRange:n},Co=!1,Ru=t;null!==Ru;)if(e=(t=Ru).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Ru=e;else for(;null!==Ru;){t=Ru;try{var m=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!==m){var h=m.memoizedProps,g=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?h:wl(t.type,h),g);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;if(1===y.nodeType)y.textContent="";else if(9===y.nodeType){var x=y.body;null!=x&&(x.textContent="")}break;default:throw Error(At(163))}}catch(e){ep(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ru=e;break}Ru=t.return}m=Mu,Mu=!1}(e,n),Hu(n,e),Va(zi),Co=!!Pi,zi=Pi=null,e.current=n,Vu(n),Or(),nd=l,Yr=i,td.transition=a}else e.current=n;if(Sd&&(Sd=!1,wd=e,Cd=o),0===(a=e.pendingLanes)&&(xd=null),function(e){if(Dr&&"function"==typeof Dr.onCommitFiberRoot)try{Dr.onCommitFiberRoot(Ar,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),zd(e,Mr()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r(t[n]);if(bd)throw bd=!1,e=yd,yd=null,e;0!=(1&Cd)&&0!==e.tag&&Qd(),0!=(1&(a=e.pendingLanes))?e===Ed?kd++:(kd=0,Ed=e):kd=0,xl()}(e,t,n,r)}finally{td.transition=o,Yr=r}return null}function Qd(){if(null!==wd){var e=Qr(Cd),t=td.transition,n=Yr;try{if(td.transition=null,Yr=16>e?16:e,null===wd)var r=!1;else{if(e=wd,wd=null,Cd=0,0!=(6&nd))throw Error(At(331));var o=nd;for(nd|=4,Ru=e.current;null!==Ru;){var a=Ru,i=a.child;if(0!=(16&Ru.flags)){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(Ru=c;null!==Ru;){var u=Ru;switch(u.tag){case 0:case 11:case 15:Iu(8,u,a)}var d=u.child;if(null!==d)d.return=u,Ru=d;else for(;null!==Ru;){var p=(u=Ru).sibling,f=u.return;if(zu(u),u===c){Ru=null;break}if(null!==p){p.return=f,Ru=p;break}Ru=f}}}var m=a.alternate;if(null!==m){var h=m.child;if(null!==h){m.child=null;do{var g=h.sibling;h.sibling=null,h=g}while(null!==h)}}Ru=a}}if(0!=(2064&a.subtreeFlags)&&null!==i)i.return=a,Ru=i;else e:for(;null!==Ru;){if(0!=(2048&(a=Ru).flags))switch(a.tag){case 0:case 11:case 15:Iu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Ru=v;break e}Ru=a.return}}var b=e.current;for(Ru=b;null!==Ru;){var y=(i=Ru).child;if(0!=(2064&i.subtreeFlags)&&null!==y)y.return=i,Ru=y;else e:for(i=b;null!==Ru;){if(0!=(2048&(l=Ru).flags))try{switch(l.tag){case 0:case 11:case 15:Tu(9,l)}}catch(e){ep(l,l.return,e)}if(l===i){Ru=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Ru=x;break e}Ru=l.return}}if(nd=o,xl(),Dr&&"function"==typeof Dr.onPostCommitFiberRoot)try{Dr.onPostCommitFiberRoot(Ar,e)}catch(e){}r=!0}return r}finally{Yr=n,td.transition=t}}return!1}function Jd(e,t,n){Dl(e,t=Wc(0,t=Dc(n,t),1)),t=Od(),null!==(e=Td(e,1))&&(Xr(e,1,t),zd(e,t))}function ep(e,t,n){if(3===e.tag)Jd(e,e,n);else for(;null!==t;){if(3===t.tag){Jd(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===xd||!xd.has(r))){Dl(t,e=Hc(t,e=Dc(n,e),1)),e=Od(),null!==(t=Td(t,1))&&(Xr(t,1,e),zd(t,e));break}}t=t.return}}function tp(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Od(),e.pingedLanes|=e.suspendedLanes&n,rd===e&&(ad&n)===n&&(4===sd||3===sd&&(130023424&ad)===ad&&500>Mr()-hd?Bd(e,0):pd|=n),zd(e,t)}function np(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Br,0==(130023424&(Br<<=1))&&(Br=4194304)));var n=Od();null!==(e=Td(e,t))&&(Xr(e,t,n),zd(e,n))}function rp(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),np(e,n)}function op(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(At(314))}null!==r&&r.delete(t),np(e,n)}function ap(e,t){return Er(e,t)}function ip(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 lp(e,t,n,r){return new ip(e,t,n,r)}function sp(e){return!(!(e=e.prototype)||!e.isReactComponent)}function cp(e,t){var n=e.alternate;return null===n?((n=lp(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 up(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)sp(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case en:return dp(n.children,o,a,t);case tn:i=8,o|=8;break;case nn:return(e=lp(12,n,t,2|o)).elementType=nn,e.lanes=a,e;case ln:return(e=lp(13,n,t,o)).elementType=ln,e.lanes=a,e;case sn:return(e=lp(19,n,t,o)).elementType=sn,e.lanes=a,e;case dn:return pp(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case rn:i=10;break e;case on:i=9;break e;case an:i=11;break e;case cn:i=14;break e;case un:i=16,r=null;break e}throw Error(At(130,null==e?e:typeof e,""))}return(t=lp(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function dp(e,t,n,r){return(e=lp(7,e,r,t)).lanes=n,e}function pp(e,t,n,r){return(e=lp(22,e,r,t)).elementType=dn,e.lanes=n,e.stateNode={},e}function fp(e,t,n){return(e=lp(6,e,null,t)).lanes=n,e}function mp(e,t,n){return(t=lp(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hp(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=Kr(0),this.expirationTimes=Kr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kr(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function gp(e,t,n,r,o,a,i,l,s){return e=new hp(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=lp(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Nl(a),e}function vp(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Jt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function bp(e){if(!e)return al;e:{if(xr(e=e._reactInternals)!==e||1!==e.tag)throw Error(At(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ul(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(At(171))}if(1===e.tag){var n=e.type;if(ul(n))return fl(e,n,t)}return t}function yp(e,t,n,r,o,a,i,l,s){return(e=gp(n,r,!0,e,0,a,0,l,s)).context=bp(null),n=e.current,(a=Al(r=Od(),o=Md(n))).callback=null!=t?t:null,Dl(n,a),e.current.lanes=o,Xr(e,o,r),zd(e,r),e}function xp(e,t,n,r){var o=t.current,a=Od(),i=Md(o);return n=bp(n),null===t.context?t.context=n:t.pendingContext=n,(t=Al(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),Dl(o,t),null!==(e=Id(o,i,a))&&$l(e,o,i),i}function Sp(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function wp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Cp(e,t){wp(e,t),(e=e.alternate)&&wp(e,t)}Yu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ll.current)Qc=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return Qc=!1,function(e,t,n){switch(t.tag){case 3:su(t),bs();break;case 5:zs(t);break;case 1:ul(t.type)&&ml(t);break;case 4:Ts(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ol(Cl,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ol(_s,1&_s.current),t.flags|=128,null):0!=(n&t.child.childLanes)?fu(e,t,n):(ol(_s,1&_s.current),null!==(e=Su(e,t,n))?e.sibling:null);ol(_s,1&_s.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return xu(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ol(_s,_s.current),r)break;return null;case 22:case 23:return t.lanes=0,ru(e,t,n)}return Su(e,t,n)}(e,t,n);Qc=0!=(131072&e.flags)}else Qc=!1,us&&0!=(1048576&t.flags)&&as(t,Ql,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps;var o=cl(t,il.current);Il(t,n),o=Ys(null,t,r,e,o,n);var a=Qs();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,ul(r)?(a=!0,ml(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Nl(t),o.updater=Hl,t.stateNode=o,o._reactInternals=t,Kl(t,r,e,n),t=lu(null,t,r,!0,a,n)):(t.tag=0,us&&a&&is(t),Jc(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return sp(e)?1:0;if(null!=e){if((e=e.$$typeof)===an)return 11;if(e===cn)return 14}return 2}(r),e=wl(r,e),o){case 0:t=au(null,t,r,e,n);break e;case 1:t=iu(null,t,r,e,n);break e;case 11:t=eu(null,t,r,e,n);break e;case 14:t=tu(null,t,r,wl(r.type,e),n);break e}throw Error(At(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,au(e,t,r,o=t.elementType===r?o:wl(r,o),n);case 1:return r=t.type,o=t.pendingProps,iu(e,t,r,o=t.elementType===r?o:wl(r,o),n);case 3:e:{if(su(t),null===e)throw Error(At(387));r=t.pendingProps,o=(a=t.memoizedState).element,_l(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=cu(e,t,r,n,o=Error(At(423)));break e}if(r!==o){t=cu(e,t,r,n,o=Error(At(424)));break e}for(cs=Fi(t.stateNode.containerInfo.firstChild),ss=t,us=!0,ds=null,n=Es(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(bs(),r===o){t=Su(e,t,n);break e}Jc(e,t,r,n)}t=t.child}return t;case 5:return zs(t),null===e&&hs(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,Ni(r,o)?i=null:null!==a&&Ni(r,a)&&(t.flags|=32),ou(e,t),Jc(e,t,i,n),t.child;case 6:return null===e&&hs(t),null;case 13:return fu(e,t,n);case 4:return Ts(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ks(t,null,r,n):Jc(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,eu(e,t,r,o=t.elementType===r?o:wl(r,o),n);case 7:return Jc(e,t,t.pendingProps,n),t.child;case 8:case 12:return Jc(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,ol(Cl,r._currentValue),r._currentValue=i,null!==a)if(qa(a.value,i)){if(a.children===o.children&&!ll.current){t=Su(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=Al(-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),Ml(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(At(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),Ml(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}Jc(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Il(t,n),r=r(o=Tl(o)),t.flags|=1,Jc(e,t,r,n),t.child;case 14:return o=wl(r=t.type,t.pendingProps),tu(e,t,r,o=wl(r.type,o),n);case 15:return nu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wl(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ul(r)?(e=!0,ml(t)):e=!1,Il(t,n),Vl(t,r,o),Kl(t,r,o,n),lu(null,t,r,!0,e,n);case 19:return xu(e,t,n);case 22:return ru(e,t,n)}throw Error(At(156,t.tag))};var kp="function"==typeof reportError?reportError:function(e){console.error(e)};function Ep(e){this._internalRoot=e}function Rp(e){this._internalRoot=e}function Lp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Op(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Mp(){}function Ip(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=Sp(i);l.call(e)}}xp(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=Sp(i);a.call(e)}}var i=yp(t,r,e,0,null,!1,0,"",Mp);return e._reactRootContainer=i,e[Vi]=i.current,xi(8===e.nodeType?e.parentNode:e),jd(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Sp(s);l.call(e)}}var s=gp(e,0,!1,null,0,!1,0,"",Mp);return e._reactRootContainer=s,e[Vi]=s.current,xi(8===e.nodeType?e.parentNode:e),jd((function(){xp(t,s,n,r)})),s}(n,t,e,o,r);return Sp(i)}Rp.prototype.render=Ep.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(At(409));xp(e,t,null,null)},Rp.prototype.unmount=Ep.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;jd((function(){xp(null,e,null,null)})),t[Vi]=null}},Rp.prototype.unstable_scheduleHydration=function(e){if(e){var t=no();e={blockedOn:null,target:e,priority:t};for(var n=0;n<po.length&&0!==t&&t<po[n].priority;n++);po.splice(n,0,e),0===n&&go(e)}},Jr=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Wr(t.pendingLanes);0!==n&&(Zr(t,1|n),zd(t,Mr()),0==(6&nd)&&(gd=Mr()+500,xl()))}break;case 13:var r=Od();jd((function(){return Id(e,1,r)})),Cp(e,1)}},eo=function(e){13===e.tag&&(Id(e,134217728,Od()),Cp(e,134217728))},to=function(e){if(13===e.tag){var t=Od(),n=Md(e);Id(e,n,t),Cp(e,n)}},no=function(){return Yr},ro=function(e,t){var n=Yr;try{return Yr=e,t()}finally{Yr=n}},er=function(e,t,n){switch(t){case"input":if(In(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=Ji(r);if(!o)throw Error(At(90));En(r),In(r,o)}}}break;case"textarea":Dn(e,n);break;case"select":null!=(t=n.value)&&Nn(e,!!n.multiple,t,!1)}},ir=qd,lr=jd;var Tp={usingClientEntryPoint:!1,Events:[Yi,Qi,Ji,or,ar,qd]},Pp={findFiberByHostInstance:Zi,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},zp={bundleType:Pp.bundleType,version:Pp.version,rendererPackageName:Pp.rendererPackageName,rendererConfig:Pp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Yt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Cr(e))?null:e.stateNode},findFiberByHostInstance:Pp.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Np=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Np.isDisabled&&Np.supportsFiber)try{Ar=Np.inject(zp),Dr=Np}catch(Bn){}}Tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tp,Tt.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Lp(t))throw Error(At(200));return vp(e,t,null,n)},Tt.createRoot=function(e,t){if(!Lp(e))throw Error(At(299));var n=!1,r="",o=kp;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=gp(e,1,!1,null,0,n,0,r,o),e[Vi]=t.current,xi(8===e.nodeType?e.parentNode:e),new Ep(t)},Tt.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(At(188));throw e=Object.keys(e).join(","),Error(At(268,e))}return e=null===(e=Cr(t))?null:e.stateNode},Tt.flushSync=function(e){return jd(e)},Tt.hydrate=function(e,t,n){if(!Op(t))throw Error(At(200));return Ip(null,e,t,!0,n)},Tt.hydrateRoot=function(e,t,n){if(!Lp(e))throw Error(At(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",i=kp;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=yp(t,null,e,1,null!=n?n:null,o,0,a,i),e[Vi]=t.current,xi(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 Rp(t)},Tt.render=function(e,t,n){if(!Op(t))throw Error(At(200));return Ip(null,e,t,!1,n)},Tt.unmountComponentAtNode=function(e){if(!Op(e))throw Error(At(40));return!!e._reactRootContainer&&(jd((function(){Ip(null,null,e,!1,(function(){e._reactRootContainer=null,e[Vi]=null}))})),!0)},Tt.unstable_batchedUpdates=qd,Tt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Op(n))throw Error(At(200));if(null==e||void 0===e._reactInternals)throw Error(At(38));return Ip(e,t,n,!1,r)},Tt.version="18.1.0-next-22edb9f77-20220426",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=Tt}(It);var _p=n(It.exports);function Ap(){return Ap=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},Ap.apply(this,arguments)}function Dp(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 $p(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var qp=/^((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)-.*))$/,jp=$p((function(e){return qp.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Fp=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}(),Bp="-ms-",Wp="-moz-",Hp="-webkit-",Up="comm",Vp="rule",Gp="decl",Kp="@keyframes",Xp=Math.abs,Zp=String.fromCharCode,Yp=Object.assign;function Qp(e){return e.trim()}function Jp(e,t,n){return e.replace(t,n)}function ef(e,t){return e.indexOf(t)}function tf(e,t){return 0|e.charCodeAt(t)}function nf(e,t,n){return e.slice(t,n)}function rf(e){return e.length}function of(e){return e.length}function af(e,t){return t.push(e),e}var lf=1,sf=1,cf=0,uf=0,df=0,pf="";function ff(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:lf,column:sf,length:i,return:""}}function mf(e,t){return Yp(ff("",null,null,"",null,null,0),e,{length:-e.length},t)}function hf(){return df=uf>0?tf(pf,--uf):0,sf--,10===df&&(sf=1,lf--),df}function gf(){return df=uf<cf?tf(pf,uf++):0,sf++,10===df&&(sf=1,lf++),df}function vf(){return tf(pf,uf)}function bf(){return uf}function yf(e,t){return nf(pf,e,t)}function xf(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 Sf(e){return lf=sf=1,cf=rf(pf=e),uf=0,[]}function wf(e){return pf="",e}function Cf(e){return Qp(yf(uf-1,Rf(91===e?e+2:40===e?e+1:e)))}function kf(e){for(;(df=vf())&&df<33;)gf();return xf(e)>2||xf(df)>3?"":" "}function Ef(e,t){for(;--t&&gf()&&!(df<48||df>102||df>57&&df<65||df>70&&df<97););return yf(e,bf()+(t<6&&32==vf()&&32==gf()))}function Rf(e){for(;gf();)switch(df){case e:return uf;case 34:case 39:34!==e&&39!==e&&Rf(df);break;case 40:41===e&&Rf(e);break;case 92:gf()}return uf}function Lf(e,t){for(;gf()&&e+df!==57&&(e+df!==84||47!==vf()););return"/*"+yf(t,uf-1)+"*"+Zp(47===e?e:gf())}function Of(e){for(;!xf(vf());)gf();return yf(e,uf)}function Mf(e){return wf(If("",null,null,null,[""],e=Sf(e),0,[0],e))}function If(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,h=1,g=1,v=1,b=0,y="",x=o,S=a,w=r,C=y;g;)switch(m=b,b=gf()){case 40:if(108!=m&&58==C.charCodeAt(d-1)){-1!=ef(C+=Jp(Cf(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=Cf(b);break;case 9:case 10:case 13:case 32:C+=kf(m);break;case 92:C+=Ef(bf()-1,7);continue;case 47:switch(vf()){case 42:case 47:af(Pf(Lf(gf(),bf()),t,n),s);break;default:C+="/"}break;case 123*h:l[c++]=rf(C)*v;case 125*h:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:f>0&&rf(C)-d&&af(f>32?zf(C+";",r,n,d-1):zf(Jp(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(af(w=Tf(C,t,n,c,u,o,l,y,x=[],S=[],d),a),123===b)if(0===u)If(C,t,w,w,x,a,d,l,S);else switch(p){case 100:case 109:case 115:If(e,w,w,r&&af(Tf(e,w,w,0,0,o,l,y,o,x=[],d),S),o,S,d,l,r?x:S);break;default:If(C,w,w,w,[""],S,0,l,S)}}c=u=f=0,h=v=1,y=C="",d=i;break;case 58:d=1+rf(C),f=m;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==hf())continue;switch(C+=Zp(b),b*h){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(rf(C)-1)*v,v=1;break;case 64:45===vf()&&(C+=Cf(gf())),p=vf(),u=d=rf(y=C+=Of(bf())),b++;break;case 45:45===m&&2==rf(C)&&(h=0)}}return a}function Tf(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=of(p),m=0,h=0,g=0;m<r;++m)for(var v=0,b=nf(e,d+1,d=Xp(h=i[m])),y=e;v<f;++v)(y=Qp(h>0?p[v]+" "+b:Jp(b,/&\f/g,p[v])))&&(s[g++]=y);return ff(e,t,n,0===o?Vp:l,s,c,u)}function Pf(e,t,n){return ff(e,t,n,Up,Zp(df),nf(e,2,-2),0)}function zf(e,t,n,r){return ff(e,t,n,Gp,nf(e,0,r),nf(e,r+1,-1),r)}function Nf(e,t){switch(function(e,t){return(((t<<2^tf(e,0))<<2^tf(e,1))<<2^tf(e,2))<<2^tf(e,3)}(e,t)){case 5103:return Hp+"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 Hp+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Hp+e+Wp+e+Bp+e+e;case 6828:case 4268:return Hp+e+Bp+e+e;case 6165:return Hp+e+Bp+"flex-"+e+e;case 5187:return Hp+e+Jp(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return Hp+e+Bp+"flex-item-"+Jp(e,/flex-|-self/,"")+e;case 4675:return Hp+e+Bp+"flex-line-pack"+Jp(e,/align-content|flex-|-self/,"")+e;case 5548:return Hp+e+Bp+Jp(e,"shrink","negative")+e;case 5292:return Hp+e+Bp+Jp(e,"basis","preferred-size")+e;case 6060:return Hp+"box-"+Jp(e,"-grow","")+Hp+e+Bp+Jp(e,"grow","positive")+e;case 4554:return Hp+Jp(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return Jp(Jp(Jp(e,/(zoom-|grab)/,Hp+"$1"),/(image-set)/,Hp+"$1"),e,"")+e;case 5495:case 3959:return Jp(e,/(image-set\([^]*)/,Hp+"$1$`$1");case 4968:return Jp(Jp(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+Hp+e+e;case 4095:case 3583:case 4068:case 2532:return Jp(e,/(.+)-inline(.+)/,Hp+"$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(rf(e)-1-t>6)switch(tf(e,t+1)){case 109:if(45!==tf(e,t+4))break;case 102:return Jp(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+Wp+(108==tf(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ef(e,"stretch")?Nf(Jp(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==tf(e,t+1))break;case 6444:switch(tf(e,rf(e)-3-(~ef(e,"!important")&&10))){case 107:return Jp(e,":",":"+Hp)+e;case 101:return Jp(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Hp+(45===tf(e,14)?"inline-":"")+"box$3$1"+Hp+"$2$3$1"+Bp+"$2box$3")+e}break;case 5936:switch(tf(e,t+11)){case 114:return Hp+e+Bp+Jp(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Hp+e+Bp+Jp(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Hp+e+Bp+Jp(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Hp+e+Bp+e+e}return e}function _f(e,t){for(var n="",r=of(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Af(e,t,n,r){switch(e.type){case"@import":case Gp:return e.return=e.return||e.value;case Up:return"";case Kp:return e.return=e.value+"{"+_f(e.children,r)+"}";case Vp:e.value=e.props.join(",")}return rf(n=_f(e.children,r))?e.return=e.value+"{"+n+"}":""}function Df(e){var t=of(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 $f,qf=function(e,t,n){for(var r=0,o=0;r=o,o=vf(),38===r&&12===o&&(t[n]=1),!xf(o);)gf();return yf(e,uf)},jf=function(e,t){return wf(function(e,t){var n=-1,r=44;do{switch(xf(r)){case 0:38===r&&12===vf()&&(t[n]=1),e[n]+=qf(uf-1,t,n);break;case 2:e[n]+=Cf(r);break;case 4:if(44===r){e[++n]=58===vf()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Zp(r)}}while(r=gf());return e}(Sf(e),t))},Ff=new WeakMap,Bf=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)||Ff.get(n))&&!r){Ff.set(e,!0);for(var o=[],a=jf(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]}}},Wf=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Hf="undefined"!=typeof document,Uf=Hf?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 $p((function(){var e={};return function(t){return e[t]}}))})),Vf=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Gp:e.return=Nf(e.value,e.length);break;case Kp:return _f([mf(e,{value:Jp(e.value,"@","@"+Hp)})],r);case Vp: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 _f([mf(e,{props:[Jp(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return _f([mf(e,{props:[Jp(t,/:(plac\w+)/,":-webkit-input-$1")]}),mf(e,{props:[Jp(t,/:(plac\w+)/,":-moz-$1")]}),mf(e,{props:[Jp(t,/:(plac\w+)/,Bp+"input-$1")]})],r)}return""}))}}],Gf=function(e){var t=e.key;if(Hf&&"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||Vf,i={},l=[];Hf&&(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=[Bf,Wf];if(Hf){var u,d=[Af,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Df(c.concat(a,d));o=function(e,t,n,r){u=n,function(e){_f(Mf(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[Af],m=Df(c.concat(a,f)),h=Uf(a)(t),g=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return _f(Mf(e),m)}(e?e+"{"+t.styles+"}":t.styles)),h[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 Fp({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},Kf={exports:{}},Xf={},Zf=Symbol.for("react.element"),Yf=Symbol.for("react.portal"),Qf=Symbol.for("react.fragment"),Jf=Symbol.for("react.strict_mode"),em=Symbol.for("react.profiler"),tm=Symbol.for("react.provider"),nm=Symbol.for("react.context"),rm=Symbol.for("react.server_context"),om=Symbol.for("react.forward_ref"),am=Symbol.for("react.suspense"),im=Symbol.for("react.suspense_list"),lm=Symbol.for("react.memo"),sm=Symbol.for("react.lazy"),cm=Symbol.for("react.offscreen");function um(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Zf:switch(e=e.type){case Qf:case em:case Jf:case am:case im:return e;default:switch(e=e&&e.$$typeof){case rm:case nm:case om:case sm:case lm:case tm:return e;default:return t}}case Yf:return t}}}$f=Symbol.for("react.module.reference"),Xf.ContextConsumer=nm,Xf.ContextProvider=tm,Xf.Element=Zf,Xf.ForwardRef=om,Xf.Fragment=Qf,Xf.Lazy=sm,Xf.Memo=lm,Xf.Portal=Yf,Xf.Profiler=em,Xf.StrictMode=Jf,Xf.Suspense=am,Xf.SuspenseList=im,Xf.isAsyncMode=function(){return!1},Xf.isConcurrentMode=function(){return!1},Xf.isContextConsumer=function(e){return um(e)===nm},Xf.isContextProvider=function(e){return um(e)===tm},Xf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Zf},Xf.isForwardRef=function(e){return um(e)===om},Xf.isFragment=function(e){return um(e)===Qf},Xf.isLazy=function(e){return um(e)===sm},Xf.isMemo=function(e){return um(e)===lm},Xf.isPortal=function(e){return um(e)===Yf},Xf.isProfiler=function(e){return um(e)===em},Xf.isStrictMode=function(e){return um(e)===Jf},Xf.isSuspense=function(e){return um(e)===am},Xf.isSuspenseList=function(e){return um(e)===im},Xf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Qf||e===em||e===Jf||e===am||e===im||e===cm||"object"==typeof e&&null!==e&&(e.$$typeof===sm||e.$$typeof===lm||e.$$typeof===tm||e.$$typeof===nm||e.$$typeof===om||e.$$typeof===$f||void 0!==e.getModuleId)},Xf.typeOf=um,function(e){e.exports=Xf}(Kf);var dm=Kf.exports,pm={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},fm={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},mm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hm={};function gm(e){return dm.isMemo(e)?mm:hm[e.$$typeof]||pm}hm[dm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hm[dm.Memo]=mm;var vm=Object.defineProperty,bm=Object.getOwnPropertyNames,ym=Object.getOwnPropertySymbols,xm=Object.getOwnPropertyDescriptor,Sm=Object.getPrototypeOf,wm=Object.prototype;var Cm=function e(t,n,r){if("string"!=typeof n){if(wm){var o=Sm(n);o&&o!==wm&&e(t,o,r)}var a=bm(n);ym&&(a=a.concat(ym(n)));for(var i=gm(t),l=gm(n),s=0;s<a.length;++s){var c=a[s];if(!(fm[c]||r&&r[c]||l&&l[c]||i&&i[c])){var u=xm(n,c);try{vm(t,c,u)}catch(e){}}}}return t},km="undefined"!=typeof document;function Em(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Rm=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===km&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Lm=function(e,t,n){Rm(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);km||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!km&&0!==o.length)return o}};var Om={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},Mm=/[A-Z]|^ms/g,Im=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Tm=function(e){return 45===e.charCodeAt(1)},Pm=function(e){return null!=e&&"boolean"!=typeof e},zm=$p((function(e){return Tm(e)?e:e.replace(Mm,"-$&").toLowerCase()})),Nm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Im,(function(e,t,n){return Am={name:t,styles:n,next:Am},t}))}return 1===Om[e]||Tm(e)||"number"!=typeof t||0===t?t:t+"px"};function _m(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 Am={name:n.name,styles:n.styles,next:Am},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Am={name:r.name,styles:r.styles,next:Am},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+=_m(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]+"}":Pm(i)&&(r+=zm(a)+":"+Nm(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=_m(e,t,i);switch(a){case"animation":case"animationName":r+=zm(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Pm(i[s])&&(r+=zm(a)+":"+Nm(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Am,a=n(e);return Am=o,_m(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Am,Dm=/label:\s*([^\s;\n{]+)\s*(;|$)/g,$m=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="";Am=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=_m(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=_m(n,t,e[i]),r&&(o+=a[i]);Dm.lastIndex=0;for(var l,s="";null!==(l=Dm.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:Am}},qm="undefined"!=typeof document,jm=Ge.exports.createContext("undefined"!=typeof HTMLElement?Gf({key:"css"}):null),Fm=jm.Provider,Bm=function(e){return Ge.exports.forwardRef((function(t,n){var r=Ge.exports.useContext(jm);return e(t,r,n)}))};qm||(Bm=function(e){return function(t){var n=Ge.exports.useContext(jm);return null===n?(n=Gf({key:"css"}),Ge.exports.createElement(jm.Provider,{value:n},e(t,n))):e(t,n)}});var Wm=Ge.exports.createContext({});Mt.useInsertionEffect&&Mt.useInsertionEffect;var Hm=Mt.useInsertionEffect?Mt.useInsertionEffect:Ge.exports.useLayoutEffect,Um=Bm((function(e,t){var n=e.styles,r=$m([n],void 0,Ge.exports.useContext(Wm));if(!qm){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:Ge.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var u=Ge.exports.useRef();return Hm((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]),Hm((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Lm(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 Vm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $m(t)}var Gm=function(){var e=Vm.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_"}}},Km=jp,Xm=function(e){return"theme"!==e},Zm=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Km:Xm},Ym=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},Qm="undefined"!=typeof document,Jm=Mt.useInsertionEffect?Mt.useInsertionEffect:function(e){e()};var eh="undefined"!=typeof document,th=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Rm(t,n,r);var o=function(e){if(!Qm)return e();Jm(e)}((function(){return Lm(t,n,r)}));if(!eh&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return Ge.exports.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},nh=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=Ym(t,n,a),s=l||Zm(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 m=Bm((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=Ge.exports.useContext(Wm)}"string"==typeof e.className?a=Em(t.registered,u,e.className):null!=e.className&&(a=e.className+" ");var m=$m(d.concat(u),t.registered,p);a+=t.key+"-"+m.name,void 0!==o&&(a+=" "+o);var h=c&&void 0===l?Zm(r):s,g={};for(var v in e)c&&"as"===v||h(v)&&(g[v]=e[v]);return g.className=a,g.ref=n,Ge.exports.createElement(Ge.exports.Fragment,null,Ge.exports.createElement(th,{cache:t,serialized:m,isStringTag:"string"==typeof r}),Ge.exports.createElement(r,g))}));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=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,Ap({},n,r,{shouldForwardProp:Ym(m,r,!0)})).apply(void 0,d)},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){nh[e]=nh(e)}));var rh={exports:{}};function oh(){}function ah(){}ah.resetWarningCache=oh;rh.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ah,resetWarningCache:oh};return n.PropTypes=n,n}();var ih={exports:{}},lh={},sh=Ge.exports,ch=Symbol.for("react.element"),uh=Symbol.for("react.fragment"),dh=Object.prototype.hasOwnProperty,ph=sh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fh={key:!0,ref:!0,__self:!0,__source:!0};function mh(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)dh.call(t,r)&&!fh.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:ch,type:e,key:a,ref:i,props:o,_owner:ph.current}}lh.Fragment=uh,lh.jsx=mh,lh.jsxs=mh,function(e){e.exports=lh}(ih);const hh=Gf({key:"css",prepend:!0});function gh(e){const{injectFirst:t,children:n}=e;return t?ih.exports.jsx(Fm,{value:hh,children:n}):n}function vh(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 ih.exports.jsx(Um,{styles:r})}
|
|
28
|
+
/** @license MUI v5.8.0
|
|
30
29
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* @license MIT
|
|
34
|
-
|
|
35
|
-
var Ip="object"==typeof CSS&&null!=CSS&&"number"in CSS,Pp=function(e){return new _p(e)};Pp();var Np=Date.now(),Tp="fnValues"+Np,Dp="fnStyle"+ ++Np,Mp=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=Rf(e,{},n);return r[Dp]=t,r},onProcessStyle:function(e,t){if(Tp in t||Dp in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[Tp]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Dp];i&&(o.style=i(e)||{});var a=o[Tp];if(a)for(var l in a)o.prop(l,a[l](e),r)}}};function qp(){return(qp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ap="@global",zp="@global ",jp=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ap,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new cp(qp({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Fp=function(){function e(e,t,n){this.type="global",this.at=Ap,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(zp.length);this.rule=n.jss.createRule(r,t,qp({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Bp=/\s*,\s*/g;function Up(e,t){for(var n=e.split(Bp),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function Hp(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Ap)return new jp(e,t,n);if("@"===e[0]&&e.substr(0,zp.length)===zp)return new Fp(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[Ap]:null;if(o){for(var i in o)t.addRule(i,o[i],qp({},n,{selector:Up(i,e.selector)}));delete r[Ap]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,Ap.length)===Ap){var i=Up(o.substr(Ap.length),e.selector);t.addRule(i,r[o],qp({},n,{selector:i})),delete r[o]}}(e,t))}}}function Wp(){return(Wp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Vp=/\s*,\s*/g,$p=/&/g,Gp=/\$([\w-]+)/g;function Kp(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split(Vp),r=e.split(Vp),o="",i=0;i<n.length;i++)for(var a=n[i],l=0;l<r.length;l++){var s=r[l];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace($p,a):a+" "+s}return o}function n(e,t,n){if(n)return Wp({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=Wp({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,l,s=o,c=s.options.parent;for(var u in r){var d=-1!==u.indexOf("&"),f="@"===u[0];if(d||f){if(a=n(s,c,a),d){var p=t(u,s.selector);l||(l=e(c,i)),p=p.replace(Gp,l),c.addRule(p,r[u],Wp({},a,{selector:p}))}else f&&c.addRule(u,{},a).addRule(s.key,r[u],{selector:s.selector});delete r[u]}}return r}}}var Zp=/[A-Z]/g,Xp=/^ms-/,Qp={};function Jp(e){return"-"+e.toLowerCase()}function Yp(e){if(Qp.hasOwnProperty(e))return Qp[e];var t=e.replace(Zp,Jp);return Qp[e]=Xp.test(t)?"-"+t:t}function eh(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Yp(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(eh):t.fallbacks=eh(e.fallbacks)),t}var th=Ip&&CSS?CSS.px:"px",nh=Ip&&CSS?CSS.ms:"ms",rh=Ip&&CSS?CSS.percent:"%";function oh(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var ih=oh({"animation-delay":nh,"animation-duration":nh,"background-position":th,"background-position-x":th,"background-position-y":th,"background-size":th,border:th,"border-bottom":th,"border-bottom-left-radius":th,"border-bottom-right-radius":th,"border-bottom-width":th,"border-left":th,"border-left-width":th,"border-radius":th,"border-right":th,"border-right-width":th,"border-top":th,"border-top-left-radius":th,"border-top-right-radius":th,"border-top-width":th,"border-width":th,"border-block":th,"border-block-end":th,"border-block-end-width":th,"border-block-start":th,"border-block-start-width":th,"border-block-width":th,"border-inline":th,"border-inline-end":th,"border-inline-end-width":th,"border-inline-start":th,"border-inline-start-width":th,"border-inline-width":th,"border-start-start-radius":th,"border-start-end-radius":th,"border-end-start-radius":th,"border-end-end-radius":th,margin:th,"margin-bottom":th,"margin-left":th,"margin-right":th,"margin-top":th,"margin-block":th,"margin-block-end":th,"margin-block-start":th,"margin-inline":th,"margin-inline-end":th,"margin-inline-start":th,padding:th,"padding-bottom":th,"padding-left":th,"padding-right":th,"padding-top":th,"padding-block":th,"padding-block-end":th,"padding-block-start":th,"padding-inline":th,"padding-inline-end":th,"padding-inline-start":th,"mask-position-x":th,"mask-position-y":th,"mask-size":th,height:th,width:th,"min-height":th,"max-height":th,"min-width":th,"max-width":th,bottom:th,left:th,top:th,right:th,inset:th,"inset-block":th,"inset-block-end":th,"inset-block-start":th,"inset-inline":th,"inset-inline-end":th,"inset-inline-start":th,"box-shadow":th,"text-shadow":th,"column-gap":th,"column-rule":th,"column-rule-width":th,"column-width":th,"font-size":th,"font-size-delta":th,"letter-spacing":th,"text-decoration-thickness":th,"text-indent":th,"text-stroke":th,"text-stroke-width":th,"word-spacing":th,motion:th,"motion-offset":th,outline:th,"outline-offset":th,"outline-width":th,perspective:th,"perspective-origin-x":rh,"perspective-origin-y":rh,"transform-origin":rh,"transform-origin-x":rh,"transform-origin-y":rh,"transform-origin-z":rh,"transition-delay":nh,"transition-duration":nh,"vertical-align":th,"flex-basis":th,"shape-margin":th,size:th,gap:th,grid:th,"grid-gap":th,"row-gap":th,"grid-row-gap":th,"grid-column-gap":th,"grid-template-rows":th,"grid-template-columns":th,"grid-auto-rows":th,"grid-auto-columns":th,"box-shadow-x":th,"box-shadow-y":th,"box-shadow-blur":th,"box-shadow-spread":th,"font-line-height":th,"text-shadow-x":th,"text-shadow-y":th,"text-shadow-blur":th});function ah(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=ah(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=ah(o,t[o],n);else for(var i in t)t[i]=ah(e+"-"+i,t[i],n);else if("number"==typeof t&&!Number.isNaN(t)){var a=n[e]||ih[e];return!a||0===t&&a===th?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function lh(e){void 0===e&&(e={});var t=oh(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=ah(r,e[r],t);return e},onChangeValue:function(e,n){return ah(n,e,t)}}}function sh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ch(e){return function(e){if(Array.isArray(e))return sh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return sh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sh(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var uh="",dh="",fh="",ph="",hh=xf&&"ontouchstart"in document.documentElement;if(xf){var mh={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},gh=document.createElement("p").style;for(var vh in mh)if(vh+"Transform"in gh){uh=vh,dh=mh[vh];break}"Webkit"===uh&&"msHyphens"in gh&&(uh="ms",dh=mh.ms,ph="edge"),"Webkit"===uh&&"-apple-trailing-word"in gh&&(fh="apple")}var yh=uh,bh=dh,xh=fh,Eh=ph,Sh=hh;var wh={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===yh?"-webkit-"+e:bh+e)}},Ch={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===yh?bh+"print-"+e:e)}},kh=/[-\s]+(.)?/g;function Lh(e,t){return t?t.toUpperCase():""}function Rh(e){return e.replace(kh,Lh)}function Oh(e){return Rh("-"+e)}var _h,Ih={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===yh){var n="mask-image";if(Rh(n)in t)return e;if(yh+Oh(n)in t)return bh+e}return e}},Ph={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==xh||Sh?e:bh+e)}},Nh={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:bh+e)}},Th={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:bh+e)}},Dh={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===yh||"ms"===yh&&"edge"!==Eh?bh+e:e)}},Mh={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===yh||"ms"===yh||"apple"===xh?bh+e:e)}},qh={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===yh?"WebkitColumn"+Oh(e)in t&&bh+"column-"+e:"Moz"===yh&&("page"+Oh(e)in t&&"page-"+e))}},Ah={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===yh)return e;var n=e.replace("-inline","");return yh+Oh(n)in t&&bh+n}},zh={supportedProperty:function(e,t){return Rh(e)in t&&e}},jh={supportedProperty:function(e,t){var n=Oh(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:yh+n in t?bh+e:"Webkit"!==yh&&"Webkit"+n in t&&"-webkit-"+e}},Fh={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===yh?""+bh+e:e)}},Bh={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===yh?bh+"scroll-chaining":e)}},Uh={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Hh={supportedProperty:function(e,t){var n=Uh[e];return!!n&&(yh+Oh(n)in t&&bh+n)}},Wh={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Vh=Object.keys(Wh),$h=function(e){return bh+e},Gh=[wh,Ch,Ih,Ph,Nh,Th,Dh,Mh,qh,Ah,zh,jh,Fh,Bh,Hh,{supportedProperty:function(e,t,n){var r=n.multiple;if(Vh.indexOf(e)>-1){var o=Wh[e];if(!Array.isArray(o))return yh+Oh(o)in t&&bh+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(yh+Oh(o[0])in t))return!1;return o.map($h)}return!1}}],Kh=Gh.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Zh=Gh.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,ch(t.noPrefill)),e}),[]),Xh={};if(xf){_h=document.createElement("p");var Qh=window.getComputedStyle(document.documentElement,"");for(var Jh in Qh)isNaN(Jh)||(Xh[Qh[Jh]]=Qh[Jh]);Zh.forEach((function(e){return delete Xh[e]}))}function Yh(e,t){if(void 0===t&&(t={}),!_h)return e;if(null!=Xh[e])return Xh[e];"transition"!==e&&"transform"!==e||(t[e]=e in _h.style);for(var n=0;n<Kh.length&&(Xh[e]=Kh[n](e,_h.style,t),!Xh[e]);n++);try{_h.style[e]=""}catch(e){return!1}return Xh[e]}var em,tm={},nm={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},rm=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function om(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Yh(t):", "+Yh(n);return r||(t||n)}function im(e,t){var n=t;if(!em||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=tm[r])return tm[r];try{em.style[e]=n}catch(e){return tm[r]=!1,!1}if(nm[e])n=n.replace(rm,om);else if(""===em.style[e]&&("-ms-flex"===(n=bh+n)&&(em.style[e]="-ms-flexbox"),em.style[e]=n,""===em.style[e]))return tm[r]=!1,!1;return em.style[e]="",tm[r]=n,tm[r]}function am(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=Yh(n);i&&i!==n&&(o=!0);var a=!1,l=im(i,_f(r));l&&l!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=l||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===yh?e:"@"+bh+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return im(t,_f(e))||e}}}function lm(){return{plugins:[Mp(),Hp(),Kp(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=eh(e[t]);return e}return eh(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Yp(t);return t===r?e:(n.prop(r,e),null)}},lh(),"undefined"==typeof window?null:am(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}})]};var e}function sm(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function cm(){return(cm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function um(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(e.Component,!n)return t;var r=cm({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}xf&&(em=document.createElement("p"));var dm={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},fm=Ye.createContext(null);function pm(){return Ye.useContext(fm)}var hm,mm=Pp(lm()),gm={disableGeneration:!1,generateClassName:gf(),jss:mm,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},vm=Ye.createContext(gm);function ym(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,o=e.disableGeneration,i=void 0!==o&&o,a=sm(e,["children","injectFirst","disableGeneration"]),l=cm({},Ye.useContext(vm),{disableGeneration:i},a);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!hm){var s=document.head;hm=document.createComment("mui-inject-first"),s.insertBefore(hm,s.firstChild)}l.jss=Pp({plugins:lm().plugins,insertionPoint:hm})}return Ye.createElement(vm.Provider,{value:l},t)}var bm=-1e9;function xm(){return bm+=1}var Em={};function Sm(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=cm({},o);return Object.keys(i).forEach((function(e){a[e]=Vd(a[e],i[e])})),a},options:{}}}function wm(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=um({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function Cm(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var l=dm.get(o.sheetsManager,i,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},dm.set(o.sheetsManager,i,r,l));var s=cm({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var c=o.sheetsRegistry;if(0===l.refs){var u;o.sheetsCache&&(u=dm.get(o.sheetsCache,i,r));var d=i.create(r,a);u||((u=o.jss.createStyleSheet(d,cm({link:!1},s))).attach(),o.sheetsCache&&dm.set(o.sheetsCache,i,r,u)),c&&c.add(u),l.staticSheet=u,l.dynamicStyles=function e(t){var n=null;for(var r in t){var o=t[r],i=typeof o;if("function"===i)n||(n={}),n[r]=o;else if("object"===i&&null!==o&&!Array.isArray(o)){var a=e(o);a&&(n||(n={}),n[r]=a)}}return n}(d)}if(l.dynamicStyles){var f=o.jss.createStyleSheet(l.dynamicStyles,cm({link:!0},s));f.update(t),f.attach(),n.dynamicSheet=f,n.classes=um({baseClasses:l.staticSheet.classes,newClasses:f.classes}),c&&c.add(f)}else n.classes=l.staticSheet.classes;l.refs+=1}}function km(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Lm(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=dm.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(dm.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function Rm(e,t){var n,r=Ye.useRef([]),o=Ye.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),Ye.useEffect((function(){return function(){n&&n()}}),[o])}function Om(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?Em:i,l=sm(t,["name","classNamePrefix","Component","defaultTheme"]),s=Sm(e),c=n||r||"makeStyles";s.options={index:xm(),name:n,meta:c,classNamePrefix:c};var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=pm()||a,r=cm({},Ye.useContext(vm),l),i=Ye.useRef(),c=Ye.useRef();Rm((function(){var o={name:n,state:{},stylesCreator:s,stylesOptions:r,theme:t};return Cm(o,e),c.current=!1,i.current=o,function(){Lm(o)}}),[t,s]),Ye.useEffect((function(){c.current&&km(i.current,e),c.current=!0}));var u=wm(i.current,e.classes,o);return u};return u}function _m(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=_m(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Im(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=_m(e))&&(r&&(r+=" "),r+=t);return r}var Pm=Zd.exports,Nm={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Tm={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Dm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mm={};function qm(e){return Pm.isMemo(e)?Dm:Mm[e.$$typeof]||Nm}Mm[Pm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Mm[Pm.Memo]=Dm;var Am=Object.defineProperty,zm=Object.getOwnPropertyNames,jm=Object.getOwnPropertySymbols,Fm=Object.getOwnPropertyDescriptor,Bm=Object.getPrototypeOf,Um=Object.prototype;var Hm=function e(t,n,r){if("string"!=typeof n){if(Um){var o=Bm(n);o&&o!==Um&&e(t,o,r)}var i=zm(n);jm&&(i=i.concat(jm(n)));for(var a=qm(t),l=qm(n),s=0;s<i.length;++s){var c=i[s];if(!(Tm[c]||r&&r[c]||l&&l[c]||a&&a[c])){var u=Fm(n,c);try{Am(t,c,u)}catch(e){}}}}return t};function Wm(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function Vm(e){var t=e.children,n=e.theme,r=pm(),o=Ye.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):cm({},e,t)}(r,n);return null!=e&&(e[hf]=null!==r),e}),[n,r]);return Ye.createElement(fm.Provider,{value:o},t)}var $m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,l=sm(t,["defaultTheme","withTheme","name"]),s=a,c=Om(e,cm({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:s},l)),u=Ye.forwardRef((function(e,t){e.classes;var o,l=e.innerRef,s=sm(e,["classes","innerRef"]),u=c(cm({},n.defaultProps,e)),d=s;return("string"==typeof a||i)&&(o=pm()||r,a&&(d=vf({theme:o,name:a,props:s})),i&&!d.theme&&(d.theme=o)),Ye.createElement(n,cm({ref:l||t,classes:u},d))}));return Hm(u,n),u}};function Gm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function Km(e){if(e.type)return e;if("#"===e.charAt(0))return Km(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Kd(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Zm(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function Xm(e){var t="hsl"===(e=Km(e)).type?Km(function(e){var t=(e=Km(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Zm({type:l,values:s})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Qm(e,t){return e=Km(e),t=Gm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,Zm(e)}function Jm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ym(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function eg(){return(eg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var tg=["xs","sm","md","lg","xl"];function ng(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,l=Ym(e,["values","unit","step"]);function s(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=tg.indexOf(t);return r===tg.length-1?s(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[tg[r+1]]?n[tg[r+1]]:t)-a/100).concat(o,")")}return eg({keys:tg,values:n,up:s,down:function(e){var t=tg.indexOf(e)+1,r=n[tg[t]];return t===tg.length?s("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},l)}function rg(e,t,n){var r;return eg({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),eg({paddingLeft:t(2),paddingRight:t(2)},n,Jm({},e.up("sm"),eg({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},Jm(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Jm(r,e.up("sm"),{minHeight:64}),r)},n)}var og={black:"#000",white:"#fff"},ig={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},ag={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},lg={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},sg={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"},cg={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"},ug={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"},dg={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"},fg={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:og.white,default:ig[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},pg={text:{primary:og.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:ig[800],default:"#303030"},action:{active:og.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 hg(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=Km(e),t=Gm(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Zm(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=Km(e),t=Gm(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Zm(e)}(e.main,i)))}function mg(e){var t=e.primary,n=void 0===t?{light:ag[300],main:ag[500],dark:ag[700]}:t,r=e.secondary,o=void 0===r?{light:lg.A200,main:lg.A400,dark:lg.A700}:r,i=e.error,a=void 0===i?{light:sg[300],main:sg[500],dark:sg[700]}:i,l=e.warning,s=void 0===l?{light:cg[300],main:cg[500],dark:cg[700]}:l,c=e.info,u=void 0===c?{light:ug[300],main:ug[500],dark:ug[700]}:c,d=e.success,f=void 0===d?{light:dg[300],main:dg[500],dark:dg[700]}:d,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,g=void 0===m?3:m,v=e.tonalOffset,y=void 0===v?.2:v,b=Ym(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){return function(e,t){var n=Xm(e),r=Xm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,pg.text.primary)>=g?pg.text.primary:fg.text.primary}var E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=eg({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Kd(4,t));if("string"!=typeof e.main)throw new Error(Kd(5,JSON.stringify(e.main)));return hg(e,"light",n,y),hg(e,"dark",r,y),e.contrastText||(e.contrastText=x(e.main)),e},S={dark:pg,light:fg};return Vd(eg({common:og,type:h,primary:E(n),secondary:E(o,"A400","A200","A700"),error:E(a),warning:E(s),info:E(u),success:E(f),grey:ig,contrastThreshold:g,getContrastText:x,augmentColor:E,tonalOffset:y},S[h]),b)}function gg(e){return Math.round(1e5*e)/1e5}function vg(e){return gg(e)}var yg={textTransform:"uppercase"},bg='"Roboto", "Helvetica", "Arial", sans-serif';function xg(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?bg:r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,f=void 0===d?500:d,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,g=void 0===m?16:m,v=n.allVariants,y=n.pxToRem,b=Ym(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,E=y||function(e){return"".concat(e/g*x,"rem")},S=function(e,t,n,r,i){return eg({fontFamily:o,fontWeight:e,fontSize:E(t),lineHeight:n},o===bg?{letterSpacing:"".concat(gg(r/t),"em")}:{},i,v)},w={h1:S(s,96,1.167,-1.5),h2:S(s,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(f,14,1.75,.4,yg),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,yg)};return Vd(eg({htmlFontSize:g,pxToRem:E,round:vg,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:h},w),b,{clone:!1})}function Eg(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Sg=["none",Eg(0,2,1,-1,0,1,1,0,0,1,3,0),Eg(0,3,1,-2,0,2,2,0,0,1,5,0),Eg(0,3,3,-2,0,3,4,0,0,1,8,0),Eg(0,2,4,-1,0,4,5,0,0,1,10,0),Eg(0,3,5,-1,0,5,8,0,0,1,14,0),Eg(0,3,5,-1,0,6,10,0,0,1,18,0),Eg(0,4,5,-2,0,7,10,1,0,2,16,1),Eg(0,5,5,-3,0,8,10,1,0,3,14,2),Eg(0,5,6,-3,0,9,12,1,0,3,16,2),Eg(0,6,6,-3,0,10,14,1,0,4,18,3),Eg(0,6,7,-4,0,11,15,1,0,4,20,3),Eg(0,7,8,-4,0,12,17,2,0,5,22,4),Eg(0,7,8,-4,0,13,19,2,0,5,24,4),Eg(0,7,9,-4,0,14,21,2,0,5,26,4),Eg(0,8,9,-5,0,15,22,2,0,6,28,5),Eg(0,8,10,-5,0,16,24,2,0,6,30,5),Eg(0,8,11,-5,0,17,26,2,0,6,32,5),Eg(0,9,11,-5,0,18,28,2,0,7,34,6),Eg(0,9,12,-6,0,19,29,2,0,7,36,6),Eg(0,10,13,-6,0,20,31,3,0,8,38,7),Eg(0,10,13,-6,0,21,33,3,0,8,40,7),Eg(0,10,14,-6,0,22,35,3,0,8,42,7),Eg(0,11,14,-7,0,23,36,3,0,9,44,8),Eg(0,11,15,-7,0,24,38,3,0,9,46,8)],wg={borderRadius:4};function Cg(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function kg(){return(kg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Lg(e){return(Lg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Rg(e){return(Rg="function"==typeof Symbol&&"symbol"===Lg(Symbol.iterator)?function(e){return Lg(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Lg(e)})(e)}function Og(e,t){return t?Vd(e,t,{clone:!1}):e}var _g={xs:0,sm:600,md:960,lg:1280,xl:1920},Ig={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(_g[e],"px)")}};function Pg(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||Ig;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===Rg(t)){var o=e.theme.breakpoints||Ig;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function Ng(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Tg(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=Ng(e.theme,o)||{};return Pg(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Ng(a,e)||e,i&&(t=i(t))),!1===r?t:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function Dg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Og(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function Mg(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var qg=Dg(Tg({prop:"border",themeKey:"borders",transform:Mg}),Tg({prop:"borderTop",themeKey:"borders",transform:Mg}),Tg({prop:"borderRight",themeKey:"borders",transform:Mg}),Tg({prop:"borderBottom",themeKey:"borders",transform:Mg}),Tg({prop:"borderLeft",themeKey:"borders",transform:Mg}),Tg({prop:"borderColor",themeKey:"palette"}),Tg({prop:"borderRadius",themeKey:"shape"}));function Ag(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var zg=Dg(Tg({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Tg({prop:"display"}),Tg({prop:"overflow"}),Tg({prop:"textOverflow"}),Tg({prop:"visibility"}),Tg({prop:"whiteSpace"})),jg=Dg(Tg({prop:"flexBasis"}),Tg({prop:"flexDirection"}),Tg({prop:"flexWrap"}),Tg({prop:"justifyContent"}),Tg({prop:"alignItems"}),Tg({prop:"alignContent"}),Tg({prop:"order"}),Tg({prop:"flex"}),Tg({prop:"flexGrow"}),Tg({prop:"flexShrink"}),Tg({prop:"alignSelf"}),Tg({prop:"justifyItems"}),Tg({prop:"justifySelf"})),Fg=Dg(Tg({prop:"gridGap"}),Tg({prop:"gridColumnGap"}),Tg({prop:"gridRowGap"}),Tg({prop:"gridColumn"}),Tg({prop:"gridRow"}),Tg({prop:"gridAutoFlow"}),Tg({prop:"gridAutoColumns"}),Tg({prop:"gridAutoRows"}),Tg({prop:"gridTemplateColumns"}),Tg({prop:"gridTemplateRows"}),Tg({prop:"gridTemplateAreas"}),Tg({prop:"gridArea"})),Bg=Dg(Tg({prop:"color",themeKey:"palette"}),Tg({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),Ug=Dg(Tg({prop:"position"}),Tg({prop:"zIndex",themeKey:"zIndex"}),Tg({prop:"top"}),Tg({prop:"right"}),Tg({prop:"bottom"}),Tg({prop:"left"})),Hg=Tg({prop:"boxShadow",themeKey:"shadows"});function Wg(e){return e<=1?"".concat(100*e,"%"):e}var Vg=Tg({prop:"width",transform:Wg}),$g=Tg({prop:"maxWidth",transform:Wg}),Gg=Tg({prop:"minWidth",transform:Wg}),Kg=Tg({prop:"height",transform:Wg}),Zg=Tg({prop:"maxHeight",transform:Wg}),Xg=Tg({prop:"minHeight",transform:Wg});Tg({prop:"size",cssProperty:"width",transform:Wg}),Tg({prop:"size",cssProperty:"height",transform:Wg});var Qg=Dg(Vg,$g,Gg,Kg,Zg,Xg,Tg({prop:"boxSizing"}));function Jg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Yg={m:"margin",p:"padding"},ev={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},tv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},nv=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!tv[e])return[e];e=tv[e]}var t=Jg(e.split(""),2),n=t[0],r=t[1],o=Yg[n],i=ev[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),rv=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function ov(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function iv(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function av(e){var t=ov(e.theme);return Object.keys(e).map((function(n){if(-1===rv.indexOf(n))return null;var r=iv(nv(n),t),o=e[n];return Pg(e,o,r)})).reduce(Og,{})}av.propTypes={},av.filterProps=rv;var lv=Dg(Tg({prop:"fontFamily",themeKey:"typography"}),Tg({prop:"fontSize",themeKey:"typography"}),Tg({prop:"fontStyle",themeKey:"typography"}),Tg({prop:"fontWeight",themeKey:"typography"}),Tg({prop:"letterSpacing"}),Tg({prop:"lineHeight"}),Tg({prop:"textAlign"}));function sv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=ov({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var cv={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)"},uv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function dv(e){return"".concat(Math.round(e),"ms")}var fv={easing:cv,duration:uv,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?uv.standard:n,o=t.easing,i=void 0===o?cv.easeInOut:o,a=t.delay,l=void 0===a?0:a;return Ym(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:dv(r)," ").concat(i," ").concat("string"==typeof l?l:dv(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},pv={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function hv(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,l=e.spacing,s=e.typography,c=void 0===s?{}:s,u=Ym(e,["breakpoints","mixins","palette","spacing","typography"]),d=mg(a),f=ng(n),p=sv(l),h=Vd({breakpoints:f,direction:"ltr",mixins:rg(f,p,o),overrides:{},palette:d,props:{},shadows:Sg,typography:xg(d,c),spacing:p,shape:wg,transitions:fv,zIndex:pv},u),m=arguments.length,g=new Array(m>1?m-1:0),v=1;v<m;v++)g[v-1]=arguments[v];return h=g.reduce((function(e,t){return Vd(e,t)}),h)}var mv=hv();function gv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Om(e,eg({defaultTheme:mv},t))}var vv=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,i=sm(r,["name"]),a=o,l=Om("function"==typeof t?function(e){return{root:function(n){return t(cm({theme:e},n))}}}:{root:t},cm({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&delete t.propTypes;var s=Ye.forwardRef((function(t,r){var o=t.children,i=t.className,a=t.clone,s=t.component,c=sm(t,["children","className","clone","component"]),u=Im(l(t).root,i),d=c;if(n&&(d=Wm(d,n)),a)return Ye.cloneElement(o,cm({className:Im(o.props.className,u)},d));if("function"==typeof o)return o(cm({className:u},d));var f=s||e;return Ye.createElement(f,cm({ref:r,className:u},d),o)}));return Hm(s,e),s}}(e);return function(e,n){return t(e,eg({defaultTheme:mv},n))}};function yv(){return pm()||mv}function bv(e,t){return $m(e,eg({defaultTheme:mv},t))}var xv={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}}};const Ev="#009845",Sv="#3F8AB3",wv="#ffffff",Cv="#404040",kv="#333333",Lv="#1A1A1A",Rv={type:"light",palette:{primary:{main:Cv,contrastText:wv},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Cv,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:Cv,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:wv,default:wv,lightest:wv,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:Sv,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:Ev,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:wv,alternativeContrastText:Cv,excludedContrastText:Cv},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)"}}},Ov={type:"dark",palette:{primary:{main:kv,contrastText:wv},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:wv,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:wv,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:Cv,lighter:kv,darker:"#262626",darkest:Lv},custom:{focusBorder:Sv,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:Ev,alternative:kv,excluded:Lv,mainContrastText:wv,alternativeContrastText:wv,excludedContrastText:wv},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)"}}},_v={},Iv=e=>({MuiTypography:{root:{color:e.palette.text.primary}},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 $notchedOutline":{borderColor:e.palette.btn.border},"&$focused $notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px","&$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","&$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","&$disabled":{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},"&$disabled":{backgroundColor:e.palette.btn.disabled}}},MuiExpansionPanelSummary:{content:{margin:"8px 0"}}});function Pv(e){let t=Rv,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Ov));const o=JSON.stringify(t);if(_v[o])return _v[o];const i={palette:n(n({type:t.type},xv.palette),t.palette),typography:n({},xv.typography),shadows:xv.shadows,props:n({},xv.props),shape:n({},xv.shape)};return _v[o]=hv(n(n({},i),{},{overrides:Iv(i)})),_v[o].name=r,_v[o]}var Nv=Ye.createContext({language:null,theme:null,translator:null,constraints:{}}),Tv=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))}},i=()=>{const[,e]=ye.exports.useState(n);return ye.exports.useEffect(()=>(r.push(e),()=>{const t=r.indexOf(e);r.splice(t,1)}),[e]),[o]};return[i,o]};const[Dv,Mv]=Tv({}),[qv,Av]=Tv({}),[zv,jv]=Tv({}),[Fv,Bv]=Tv({}),[Uv,Hv]=Tv({}),[,Wv]=Tv({}),Vv=e=>{let{type:t,value:n}=e;const r=Wv.get(n.id);Wv.set(n.id,{});const o=()=>{Av.clear(n.id),Hv.set(n.id,{}),Hv.dispatch(!0)},i=()=>{n.removeListener("changed",o),Mv.clear(n.id),Av.clear(n.id),jv.clear(n.id),Bv.clear(n.id),Hv.clear(n.id),Wv.clear(n.id)};switch(t){case"SET":r||(n.on("changed",o),n.once("closed",()=>{i()}))}return i},[$v,Gv]=Tv({},Vv),Kv=(e,t)=>{const{rpcResultStore:r,key:o,method:i}=t;let a;switch(t.type){case"INVALID":a=n(n({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":a={result:n({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":a=n(n({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let l=r.get(o);return l||(l={}),l[i]=a,r.set(o,l),a};function Zv(e,t){const n=e?"".concat(e.id):null,[r]=Dv(),[o,i]=ye.exports.useReducer(Kv,n?r.get(n):null),[a]=Uv(),[l]=qv();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const c=async o=>{let a=s[t];if(!a||a&&a.rpcRetry){a={rpc:e[t](),rpcRetry:!1},s[t]=a,i({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0})}try{const o=await a.rpc;i({type:"VALID",result:o,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||o||(a.rpcRetry||(a.rpcRetry=!0),c(!0))}},u={cancel:async()=>{const o=e.session.getObjectApi({handle:-1});await o.cancelRequest(s[t].rpc.requestId),i({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{s[t].rpcRetry=!0,c()}};return ye.exports.useEffect(()=>{e&&c()},[e,a.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},u]}function Xv(e){return Zv(e,"getLayout")}function Qv(e){return Zv(e,"getAppLayout")}function Jv(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=$v(),[o]=zv(),[i,a]=ye.exports.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 ye.exports.useEffect(()=>{if(!t)return;(async()=>{if(!l){const r=t.createSessionObject(e);l=r,o.set(n,l)}const i=await l;r.set(n,i),a(i)})()},[t,...c]),[i]}const Yv={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function ey(e){return Jv(Yv,e)}function ty(e){const[t]=ey(e),[n]=Xv(t),[r]=Qv(e),[o,i]=ye.exports.useState(null);return ye.exports.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]),ye.exports.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}),i({canGoBack:e,canGoForward:t,canClear:r})},[n]),[o,t,n]}const[ny,ry]=Tv({}),[oy,iy]=Tv({}),[ay,ly]=Tv({}),[sy,cy]=Tv({});function uy(e){if(!e.session)return[];const[t,n,r]=ty(e),[o]=ny(),i=e?e.id:null;let a=o.get(i);return ye.exports.useEffect(()=>{e&&n&&r&&t&&!a&&(a=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const o="".concat(t.id),i=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=cy.get(o);t&&(await t.endSelections(e),cy.clear(o),ly.get(t.id).emit("deactivated"))},a={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===cy.get(o))return;i(r),cy.set(o,e);const a=Array.isArray(n)?n:[n],l=async n=>{try{await e.beginSelections(a),cy.set(o,e)}catch(e){6003!==e.code||n?cy.clear(o):(await t.abortModal(r),l(!0))}};await l()},end:i};return iy.set(o,a),{model:t,isInModal:()=>!!cy.get(o),isModal:e=>e?cy.get(o)===e:!!cy.get(o),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>a.end().then(()=>t.forward()),back:()=>a.end().then(()=>t.back()),clear:()=>a.end().then(()=>t.clearAll()),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return a.end().then(()=>t.getField(e,n).then(e=>e.clear()))}}}({app:e,currentSelectionsLayout:r,navState:t}),o.set(i,a),o.dispatch(!0))},[e,n,r,t]),[a,t]}let dy=0;const fy=ye.exports.forwardRef((e,t)=>{let{initialContext:n,app:r}=e;const[o]=uy(r),[i,a]=ye.exports.useState(n),[l,s]=ye.exports.useState(),{theme:c,generator:u}=ye.exports.useMemo(()=>({theme:Pv(l),generator:gf({productionPrefix:"".concat("fcc9"),disableGlobal:!0,seed:"njs-".concat(dy++)})}),[l]),[d,f]=ye.exports.useState([]);return ye.exports.useImperativeHandle(t,()=>({addComponent(e){f([...d,e])},removeComponent(e){const t=d.indexOf(e);-1!==t&&(d.splice(t,1),f([...d]))},setMuiThemeName:s,setContext:a,getAppSelections:()=>o})),Ye.createElement(ym,{generateClassName:u},Ye.createElement(Vm,{theme:c},Ye.createElement(Nv.Provider,{value:i},d)))});function py(e){let t,{app:n,context:r}=e;const o=new Promise(e=>{t=e}),i=Ye.createRef(),a=document.createElement("div");a.style.display="none",a.setAttribute("data-nebulajs-version","2.10.0"),a.setAttribute("data-app-id",n.id),document.body.appendChild(a),Fd.render(Ye.createElement(fy,{ref:i,app:n,initialContext:r}),a,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},add(e){(async()=>{await o,i.current.addComponent(e)})()},remove(e){(async()=>{await o,i.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await o,i.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,i.current.setContext(e)})()},getAppSelections:async()=>(await o,i.current.getAppSelections())},i,o]}function hy(e){if("string"!=typeof e)throw new Error(Kd(7));return e.charAt(0).toUpperCase()+e.slice(1)}function my(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}var gy=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.color,a=void 0===i?"inherit":i,l=e.component,s=void 0===l?"svg":l,c=e.fontSize,u=void 0===c?"medium":c,d=e.htmlColor,f=e.titleAccess,p=e.viewBox,h=void 0===p?"0 0 24 24":p,m=Ym(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return ye.exports.createElement(s,eg({className:Im(r.root,o,"inherit"!==a&&r["color".concat(hy(a))],"default"!==u&&"medium"!==u&&r["fontSize".concat(hy(u))]),focusable:"false",viewBox:h,color:d,"aria-hidden":!f||void 0,role:f?"img":void 0,ref:t},m),n,f?ye.exports.createElement("title",null,f):null)}));gy.muiName="SvgIcon";var vy=bv((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(gy);function yy(e,t){var n=function(t,n){return Ye.createElement(vy,eg({ref:n},t),e)};return n.muiName=vy.muiName,Ye.memo(Ye.forwardRef(n))}function by(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,l=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(l,n)}return r.clear=function(){clearTimeout(t)},r}function xy(e){return e&&e.ownerDocument||document}function Ey(e){return xy(e).defaultView||window}function Sy(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var wy="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect;function Cy(e){var t=ye.exports.useRef(e);return wy((function(){t.current=e})),ye.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function ky(e,t){return ye.exports.useMemo((function(){return null==e&&null==t?null:function(n){Sy(e,n),Sy(t,n)}}),[e,t])}var Ly=!0,Ry=!1,Oy=null,_y={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 Iy(e){e.metaKey||e.altKey||e.ctrlKey||(Ly=!0)}function Py(){Ly=!1}function Ny(){"hidden"===this.visibilityState&&Ry&&(Ly=!0)}function Ty(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return Ly||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!_y[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Dy(){Ry=!0,window.clearTimeout(Oy),Oy=window.setTimeout((function(){Ry=!1}),100)}function My(){return{isFocusVisible:Ty,onBlurVisible:Dy,ref:ye.exports.useCallback((function(e){var t,n=et.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Iy,!0),t.addEventListener("mousedown",Py,!0),t.addEventListener("pointerdown",Py,!0),t.addEventListener("touchstart",Py,!0),t.addEventListener("visibilitychange",Ny,!0))}),[])}}function qy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Ay(){return(Ay=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function zy(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function jy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Fy=!1,By=Ye.createContext(null),Uy="unmounted",Hy="exited",Wy="entering",Vy="entered",$y="exiting",Gy=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Hy,r.appearStatus=Wy):o=Vy:o=t.unmountOnExit||t.mountOnEnter?Uy:Hy,r.state={status:o},r.nextCallback=null,r}jy(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Uy?{status:Hy}: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!==Wy&&n!==Vy&&(t=Wy):n!==Wy&&n!==Vy||(t=$y)}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){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Wy?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Hy&&this.setState({status:Uy})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Fd.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Fy?this.safeSetState({status:Vy},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Wy},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Vy},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Fd.findDOMNode(this);t&&!Fy?(this.props.onExit(r),this.safeSetState({status:$y},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Hy},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Hy},(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:Fd.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Uy)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=zy(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ye.createElement(By.Provider,{value:null},"function"==typeof n?n(e,r):Ye.cloneElement(Ye.Children.only(n),r))},t}(Ye.Component);function Ky(){}Gy.contextType=By,Gy.propTypes={},Gy.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ky,onEntering:Ky,onEntered:Ky,onExit:Ky,onExiting:Ky,onExited:Ky},Gy.UNMOUNTED=Uy,Gy.EXITED=Hy,Gy.ENTERING=Wy,Gy.ENTERED=Vy,Gy.EXITING=$y;var Zy=Gy;function Xy(e,t){var n=Object.create(null);return e&&ye.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&ye.exports.isValidElement(e)?t(e):e}(e)})),n}function Qy(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Jy(e,t,n){var r=Xy(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(ye.exports.isValidElement(a)){var l=i in t,s=i in r,c=t[i],u=ye.exports.isValidElement(c)&&!c.props.in;!s||l&&!u?s||!l||u?s&&l&&ye.exports.isValidElement(c)&&(o[i]=ye.exports.cloneElement(a,{onExited:n.bind(null,a),in:c.props.in,exit:Qy(a,"exit",e),enter:Qy(a,"enter",e)})):o[i]=ye.exports.cloneElement(a,{in:!1}):o[i]=ye.exports.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Qy(a,"exit",e),enter:Qy(a,"enter",e)})}})),o}var Yy=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},eb=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}jy(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,Xy(n.children,(function(e){return ye.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Qy(e,"appear",n),enter:Qy(e,"enter",n),exit:Qy(e,"exit",n)})}))):Jy(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Xy(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Ay({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=zy(e,["component","childFactory"]),o=this.state.contextValue,i=Yy(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?Ye.createElement(By.Provider,{value:o},i):Ye.createElement(By.Provider,{value:o},Ye.createElement(t,r,i))},t}(Ye.Component);eb.propTypes={},eb.defaultProps={component:"div",childFactory:function(e){return e}};var tb=eb;function nb(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}var rb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.component,i=void 0===o?"div":o,a=e.square,l=void 0!==a&&a,s=e.elevation,c=void 0===s?1:s,u=e.variant,d=void 0===u?"elevation":u,f=Ym(e,["classes","className","component","square","elevation","variant"]);return ye.exports.createElement(i,eg({className:Im(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(c)],!l&&n.rounded),ref:t},f))})),ob=bv((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),eg({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(rb);function ib(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ab="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect;function lb(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,i=e.rippleY,a=e.rippleSize,l=e.in,s=e.onExited,c=void 0===s?function(){}:s,u=e.timeout,d=ye.exports.useState(!1),f=d[0],p=d[1],h=Im(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},g=Im(t.child,f&&t.childLeaving,r&&t.childPulsate),v=Cy(c);return ab((function(){if(!l){p(!0);var e=setTimeout(v,u);return function(){clearTimeout(e)}}}),[v,l,u]),ye.exports.createElement("span",{className:h,style:m},ye.exports.createElement("span",{className:g}))}var sb=ye.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,o=e.classes,i=e.className,a=Ym(e,["center","classes","className"]),l=ye.exports.useState([]),s=l[0],c=l[1],u=ye.exports.useRef(0),d=ye.exports.useRef(null);ye.exports.useEffect((function(){d.current&&(d.current(),d.current=null)}),[s]);var f=ye.exports.useRef(!1),p=ye.exports.useRef(null),h=ye.exports.useRef(null),m=ye.exports.useRef(null);ye.exports.useEffect((function(){return function(){clearTimeout(p.current)}}),[]);var g=ye.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;c((function(e){return[].concat(ib(e),[ye.exports.createElement(lb,{key:u.current,classes:o,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i})])})),u.current+=1,d.current=a}),[o]),v=ye.exports.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=t.pulsate,i=void 0!==o&&o,a=t.center,l=void 0===a?r||t.pulsate:a,s=t.fakeElement,c=void 0!==s&&s;if("mousedown"===e.type&&f.current)f.current=!1;else{"touchstart"===e.type&&(f.current=!0);var u,d,v,y=c?null:m.current,b=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(b.width/2),d=Math.round(b.height/2);else{var x=e.touches?e.touches[0]:e,E=x.clientX,S=x.clientY;u=Math.round(E-b.left),d=Math.round(S-b.top)}if(l)(v=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(v+=1);else{var w=2*Math.max(Math.abs((y?y.clientWidth:0)-u),u)+2,C=2*Math.max(Math.abs((y?y.clientHeight:0)-d),d)+2;v=Math.sqrt(Math.pow(w,2)+Math.pow(C,2))}e.touches?null===h.current&&(h.current=function(){g({pulsate:i,rippleX:u,rippleY:d,rippleSize:v,cb:n})},p.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):g({pulsate:i,rippleX:u,rippleY:d,rippleSize:v,cb:n})}}),[r,g]),y=ye.exports.useCallback((function(){v({},{pulsate:!0})}),[v]),b=ye.exports.useCallback((function(e,t){if(clearTimeout(p.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(p.current=setTimeout((function(){b(e,t)})));h.current=null,c((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return ye.exports.useImperativeHandle(t,(function(){return{pulsate:y,start:v,stop:b}}),[y,v,b]),ye.exports.createElement("span",eg({className:Im(o.root,i),ref:m},a),ye.exports.createElement(tb,{component:null,exit:!0},s))})),cb=bv((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(ye.exports.memo(sb)),ub=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,o=e.centerRipple,i=void 0!==o&&o,a=e.children,l=e.classes,s=e.className,c=e.component,u=void 0===c?"button":c,d=e.disabled,f=void 0!==d&&d,p=e.disableRipple,h=void 0!==p&&p,m=e.disableTouchRipple,g=void 0!==m&&m,v=e.focusRipple,y=void 0!==v&&v,b=e.focusVisibleClassName,x=e.onBlur,E=e.onClick,S=e.onFocus,w=e.onFocusVisible,C=e.onKeyDown,k=e.onKeyUp,L=e.onMouseDown,R=e.onMouseLeave,O=e.onMouseUp,_=e.onTouchEnd,I=e.onTouchMove,P=e.onTouchStart,N=e.onDragLeave,T=e.tabIndex,D=void 0===T?0:T,M=e.TouchRippleProps,q=e.type,A=void 0===q?"button":q,z=Ym(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),j=ye.exports.useRef(null);var F=ye.exports.useRef(null),B=ye.exports.useState(!1),U=B[0],H=B[1];f&&U&&H(!1);var W=My(),V=W.isFocusVisible,$=W.onBlurVisible,G=W.ref;function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return Cy((function(r){return t&&t(r),!n&&F.current&&F.current[e](r),!0}))}ye.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){H(!0),j.current.focus()}}}),[]),ye.exports.useEffect((function(){U&&y&&!h&&F.current.pulsate()}),[h,y,U]);var Z=K("start",L),X=K("stop",N),Q=K("stop",O),J=K("stop",(function(e){U&&e.preventDefault(),R&&R(e)})),Y=K("start",P),ee=K("stop",_),te=K("stop",I),ne=K("stop",(function(e){U&&($(e),H(!1)),x&&x(e)}),!1),re=Cy((function(e){j.current||(j.current=e.currentTarget),V(e)&&(H(!0),w&&w(e)),S&&S(e)})),oe=function(){var e=et.exports.findDOMNode(j.current);return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ie=ye.exports.useRef(!1),ae=Cy((function(e){y&&!ie.current&&U&&F.current&&" "===e.key&&(ie.current=!0,e.persist(),F.current.stop(e,(function(){F.current.start(e)}))),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!f&&(e.preventDefault(),E&&E(e))})),le=Cy((function(e){y&&" "===e.key&&F.current&&U&&!e.defaultPrevented&&(ie.current=!1,e.persist(),F.current.stop(e,(function(){F.current.pulsate(e)}))),k&&k(e),E&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&E(e)})),se=u;"button"===se&&z.href&&(se="a");var ce={};"button"===se?(ce.type=A,ce.disabled=f):("a"===se&&z.href||(ce.role="button"),ce["aria-disabled"]=f);var ue=ky(r,t),de=ky(G,j),fe=ky(ue,de),pe=ye.exports.useState(!1),he=pe[0],me=pe[1];ye.exports.useEffect((function(){me(!0)}),[]);var ge=he&&!h&&!f;return ye.exports.createElement(se,eg({className:Im(l.root,s,U&&[l.focusVisible,b],f&&l.disabled),onBlur:ne,onClick:E,onFocus:re,onKeyDown:ae,onKeyUp:le,onMouseDown:Z,onMouseLeave:J,onMouseUp:Q,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:Y,ref:fe,tabIndex:f?-1:D},ce,z),a,ge?ye.exports.createElement(cb,eg({ref:F,center:i},M)):null)})),db=bv({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(ub),fb=ye.exports.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,o=e.children,i=e.classes,a=e.className,l=e.color,s=void 0===l?"default":l,c=e.disabled,u=void 0!==c&&c,d=e.disableFocusRipple,f=void 0!==d&&d,p=e.size,h=void 0===p?"medium":p,m=Ym(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return ye.exports.createElement(db,eg({className:Im(i.root,a,"default"!==s&&i["color".concat(hy(s))],u&&i.disabled,"small"===h&&i["size".concat(hy(h))],{start:i.edgeStart,end:i.edgeEnd}[r]),centerRipple:!0,focusRipple:!f,disabled:u,ref:t},m),ye.exports.createElement("span",{className:i.label},o))})),pb=bv((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Qm(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Qm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Qm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(fb),hb=ye.exports.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,o=e.badgeContent,i=e.children,a=e.classes,l=e.className,s=e.color,c=void 0===s?"default":s,u=e.component,d=void 0===u?"span":u,f=e.invisible,p=e.max,h=void 0===p?99:p,m=e.overlap,g=void 0===m?"rectangle":m,v=e.showZero,y=void 0!==v&&v,b=e.variant,x=void 0===b?"standard":b,E=Ym(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),S=f;null==f&&(0===o&&!y||null==o&&"dot"!==x)&&(S=!0);var w="";return"dot"!==x&&(w=o>h?"".concat(h,"+"):o),ye.exports.createElement(d,eg({className:Im(a.root,l),ref:t},E),i,ye.exports.createElement("span",{className:Im(a.badge,a["".concat(r.horizontal).concat(hy(r.vertical),"}")],a["anchorOrigin".concat(hy(r.vertical)).concat(hy(r.horizontal)).concat(hy(g))],"default"!==c&&a["color".concat(hy(c))],S&&a.invisible,"dot"===x&&a.dot)},w))})),mb=bv((function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(hb),gb=function(e){var t=function(t){var n=e(t);return t.css?kg({},Og(n,e(kg({theme:t.theme},t.css))),Ag(t.css,[e.filterProps])):t.sx?kg({},Og(n,e(kg({theme:t.theme},t.sx))),Ag(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(Cg(e.filterProps)),t}(Dg(qg,zg,jg,Fg,Ug,Bg,Hg,Qg,av,lv)),vb=vv("div")(gb,{name:"MuiBox"}),yb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},bb=ye.exports.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,o=e.classes,i=e.className,a=e.color,l=void 0===a?"initial":a,s=e.component,c=e.display,u=void 0===c?"initial":c,d=e.gutterBottom,f=void 0!==d&&d,p=e.noWrap,h=void 0!==p&&p,m=e.paragraph,g=void 0!==m&&m,v=e.variant,y=void 0===v?"body1":v,b=e.variantMapping,x=void 0===b?yb:b,E=Ym(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),S=s||(g?"p":x[y]||yb[y])||"span";return ye.exports.createElement(S,eg({className:Im(o.root,i,"inherit"!==y&&o[y],"initial"!==l&&o["color".concat(hy(l))],h&&o.noWrap,f&&o.gutterBottom,g&&o.paragraph,"inherit"!==r&&o["align".concat(hy(r))],"initial"!==u&&o["display".concat(hy(u))]),ref:t},E))})),xb=bv((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(bb),Eb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.color,a=void 0===i?"default":i,l=e.component,s=void 0===l?"button":l,c=e.disabled,u=void 0!==c&&c,d=e.disableElevation,f=void 0!==d&&d,p=e.disableFocusRipple,h=void 0!==p&&p,m=e.endIcon,g=e.focusVisibleClassName,v=e.fullWidth,y=void 0!==v&&v,b=e.size,x=void 0===b?"medium":b,E=e.startIcon,S=e.type,w=void 0===S?"button":S,C=e.variant,k=void 0===C?"text":C,L=Ym(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),R=E&&ye.exports.createElement("span",{className:Im(r.startIcon,r["iconSize".concat(hy(x))])},E),O=m&&ye.exports.createElement("span",{className:Im(r.endIcon,r["iconSize".concat(hy(x))])},m);return ye.exports.createElement(db,eg({className:Im(r.root,r[k],o,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(k).concat(hy(a))],"medium"!==x&&[r["".concat(k,"Size").concat(hy(x))],r["size".concat(hy(x))]],f&&r.disableElevation,u&&r.disabled,y&&r.fullWidth),component:s,disabled:u,focusRipple:!h,focusVisibleClassName:Im(r.focusVisible,g),ref:t,type:w},L),ye.exports.createElement("span",{className:r.label},R,n,O))})),Sb=bv((function(e){return{root:eg({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Qm(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Qm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Qm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Qm(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Qm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Qm(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Qm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(Eb),wb=ye.exports.createContext();function Cb(){return ye.exports.useContext(wb)}var kb=wb;function Lb(){return ye.exports.useContext(kb)}var Rb=ye.exports.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,o=e.checkedIcon,i=e.classes,a=e.className,l=e.defaultChecked,s=e.disabled,c=e.icon,u=e.id,d=e.inputProps,f=e.inputRef,p=e.name,h=e.onBlur,m=e.onChange,g=e.onFocus,v=e.readOnly,y=e.required,b=e.tabIndex,x=e.type,E=e.value,S=Ym(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),w=qy(function(e){var t=e.controlled,n=e.default;e.name,e.state;var r=ye.exports.useRef(void 0!==t).current,o=ye.exports.useState(n),i=o[0],a=o[1];return[r?t:i,ye.exports.useCallback((function(e){r||a(e)}),[])]}({controlled:r,default:Boolean(l),name:"SwitchBase",state:"checked"}),2),C=w[0],k=w[1],L=Lb(),R=s;L&&void 0===R&&(R=L.disabled);var O="checkbox"===x||"radio"===x;return ye.exports.createElement(pb,eg({component:"span",className:Im(i.root,a,C&&i.checked,R&&i.disabled),disabled:R,tabIndex:null,role:void 0,onFocus:function(e){g&&g(e),L&&L.onFocus&&L.onFocus(e)},onBlur:function(e){h&&h(e),L&&L.onBlur&&L.onBlur(e)},ref:t},S),ye.exports.createElement("input",eg({autoFocus:n,checked:r,defaultChecked:l,className:i.input,disabled:R,id:O&&u,name:p,onChange:function(e){var t=e.target.checked;k(t),m&&m(e,t)},readOnly:v,ref:f,required:y,tabIndex:b,type:x,value:E},d)),C?o:c)})),Ob=bv({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(Rb),_b=yy(ye.exports.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),Ib=yy(ye.exports.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),Pb=yy(ye.exports.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"})),Nb=ye.exports.createElement(Ib,null),Tb=ye.exports.createElement(_b,null),Db=ye.exports.createElement(Pb,null),Mb=ye.exports.forwardRef((function(e,t){var n=e.checkedIcon,r=void 0===n?Nb:n,o=e.classes,i=e.color,a=void 0===i?"secondary":i,l=e.icon,s=void 0===l?Tb:l,c=e.indeterminate,u=void 0!==c&&c,d=e.indeterminateIcon,f=void 0===d?Db:d,p=e.inputProps,h=e.size,m=void 0===h?"medium":h,g=Ym(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),v=u?f:s,y=u?f:r;return ye.exports.createElement(Ob,eg({type:"checkbox",classes:{root:Im(o.root,o["color".concat(hy(a))],u&&o.indeterminate),checked:o.checked,disabled:o.disabled},color:a,inputProps:eg({"data-indeterminate":u},p),icon:ye.exports.cloneElement(v,{fontSize:void 0===v.props.fontSize&&"small"===m?m:v.props.fontSize}),checkedIcon:ye.exports.cloneElement(y,{fontSize:void 0===y.props.fontSize&&"small"===m?m:y.props.fontSize}),ref:t},g))})),qb=bv((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Qm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Qm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(Mb),Ab=44,zb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,i=void 0===o?"primary":o,a=e.disableShrink,l=void 0!==a&&a,s=e.size,c=void 0===s?40:s,u=e.style,d=e.thickness,f=void 0===d?3.6:d,p=e.value,h=void 0===p?0:p,m=e.variant,g=void 0===m?"indeterminate":m,v=Ym(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),y={},b={},x={};if("determinate"===g||"static"===g){var E=2*Math.PI*((Ab-f)/2);y.strokeDasharray=E.toFixed(3),x["aria-valuenow"]=Math.round(h),y.strokeDashoffset="".concat(((100-h)/100*E).toFixed(3),"px"),b.transform="rotate(-90deg)"}return ye.exports.createElement("div",eg({className:Im(n.root,r,"inherit"!==i&&n["color".concat(hy(i))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[g]),style:eg({width:c,height:c},b,u),ref:t,role:"progressbar"},x,v),ye.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Ab," ").concat(Ab)},ye.exports.createElement("circle",{className:Im(n.circle,l&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[g]),style:y,cx:Ab,cy:Ab,r:(Ab-f)/2,fill:"none",strokeWidth:f})))})),jb=bv((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(zb);var Fb="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,Bb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,l=ye.exports.useState(null),s=l[0],c=l[1],u=ky(ye.exports.isValidElement(n)?n.ref:null,t);return Fb((function(){i||c(function(e){return e="function"==typeof e?e():e,et.exports.findDOMNode(e)}(r)||document.body)}),[r,i]),Fb((function(){if(s&&!i)return Sy(t,s),function(){Sy(t,null)}}),[t,s,i]),Fb((function(){a&&(s||i)&&a()}),[a,s,i]),i?ye.exports.isValidElement(n)?ye.exports.cloneElement(n,{ref:u}):n:s?et.exports.createPortal(n,s):s}));function Ub(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hb(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function Wb(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Vb(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function $b(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(ib(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&Wb(e,o)}))}function Gb(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Kb(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=xy(e);return t.body===e?Ey(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=Hb();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Vb(i)+a,"px"),n=xy(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Vb(e)+a,"px")}))}var l=i.parentElement,s="HTML"===l.nodeName&&"scroll"===window.getComputedStyle(l)["overflow-y"]?l:i;r.push({value:s.style.overflow,key:"overflow",el:s}),s.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var Zb=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}var t,n,r;return t=e,(n=[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Wb(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);$b(t,e.mountNode,e.modalRef,r,!0);var o=Gb(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Gb(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Kb(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Gb(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Wb(e.modalRef,!0),$b(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&Wb(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}])&&Ub(t.prototype,n),r&&Ub(t,r),e}();function Xb(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,a=e.disableRestoreFocus,l=void 0!==a&&a,s=e.getDoc,c=e.isEnabled,u=e.open,d=ye.exports.useRef(),f=ye.exports.useRef(null),p=ye.exports.useRef(null),h=ye.exports.useRef(),m=ye.exports.useRef(null),g=ye.exports.useCallback((function(e){m.current=et.exports.findDOMNode(e)}),[]),v=ky(t.ref,g),y=ye.exports.useRef();return ye.exports.useEffect((function(){y.current=u}),[u]),!y.current&&u&&"undefined"!=typeof window&&(h.current=s().activeElement),ye.exports.useEffect((function(){if(u){var e=xy(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!i&&c()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!i&&c()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?p.current.focus():f.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval((function(){t()}),50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),l||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}}),[r,i,l,c,u]),ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("div",{tabIndex:0,ref:f,"data-test":"sentinelStart"}),ye.exports.cloneElement(t,{ref:v}),ye.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelEnd"}))}var Qb={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},Jb=ye.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,o=e.open,i=Ym(e,["invisible","open"]);return o?ye.exports.createElement("div",eg({"aria-hidden":!0,ref:t},i,{style:eg({},Qb.root,r?Qb.invisible:{},i.style)})):null}));var Yb=new Zb,ex=ye.exports.forwardRef((function(e,t){var n=pm(),r=vf({name:"MuiModal",props:eg({},e),theme:n}),o=r.BackdropComponent,i=void 0===o?Jb:o,a=r.BackdropProps,l=r.children,s=r.closeAfterTransition,c=void 0!==s&&s,u=r.container,d=r.disableAutoFocus,f=void 0!==d&&d,p=r.disableBackdropClick,h=void 0!==p&&p,m=r.disableEnforceFocus,g=void 0!==m&&m,v=r.disableEscapeKeyDown,y=void 0!==v&&v,b=r.disablePortal,x=void 0!==b&&b,E=r.disableRestoreFocus,S=void 0!==E&&E,w=r.disableScrollLock,C=void 0!==w&&w,k=r.hideBackdrop,L=void 0!==k&&k,R=r.keepMounted,O=void 0!==R&&R,_=r.manager,I=void 0===_?Yb:_,P=r.onBackdropClick,N=r.onClose,T=r.onEscapeKeyDown,D=r.onRendered,M=r.open,q=Ym(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),A=ye.exports.useState(!0),z=A[0],j=A[1],F=ye.exports.useRef({}),B=ye.exports.useRef(null),U=ye.exports.useRef(null),H=ky(U,t),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),V=function(){return xy(B.current)},$=function(){return F.current.modalRef=U.current,F.current.mountNode=B.current,F.current},G=function(){I.mount($(),{disableScrollLock:C}),U.current.scrollTop=0},K=Cy((function(){var e=function(e){return e="function"==typeof e?e():e,et.exports.findDOMNode(e)}(u)||V().body;I.add($(),e),U.current&&G()})),Z=ye.exports.useCallback((function(){return I.isTopModal($())}),[I]),X=Cy((function(e){B.current=e,e&&(D&&D(),M&&Z()?G():Wb(U.current,!0))})),Q=ye.exports.useCallback((function(){I.remove($())}),[I]);if(ye.exports.useEffect((function(){return function(){Q()}}),[Q]),ye.exports.useEffect((function(){M?K():W&&c||Q()}),[M,Q,W,c,K]),!O&&!M&&(!W||z))return null;var J=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:pv}),Y={};return void 0===l.props.tabIndex&&(Y.tabIndex=l.props.tabIndex||"-1"),W&&(Y.onEnter=my((function(){j(!1)}),l.props.onEnter),Y.onExited=my((function(){j(!0),c&&Q()}),l.props.onExited)),ye.exports.createElement(Bb,{ref:X,container:u,disablePortal:x},ye.exports.createElement("div",eg({ref:H,onKeyDown:function(e){"Escape"===e.key&&Z()&&(T&&T(e),y||(e.stopPropagation(),N&&N(e,"escapeKeyDown")))},role:"presentation"},q,{style:eg({},J.root,!M&&z?J.hidden:{},q.style)}),L?null:ye.exports.createElement(i,eg({open:M,onClick:function(e){e.target===e.currentTarget&&(P&&P(e),!h&&N&&N(e,"backdropClick"))}},a)),ye.exports.createElement(Xb,{disableEnforceFocus:g,disableAutoFocus:f,disableRestoreFocus:S,getDoc:V,isEnabled:Z,open:M},ye.exports.cloneElement(l,Y))))})),tx=ye.exports.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,o=e.classes,i=e.className,a=e.component,l=void 0===a?"hr":a,s=e.flexItem,c=void 0!==s&&s,u=e.light,d=void 0!==u&&u,f=e.orientation,p=void 0===f?"horizontal":f,h=e.role,m=void 0===h?"hr"!==l?"separator":void 0:h,g=e.variant,v=void 0===g?"fullWidth":g,y=Ym(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return ye.exports.createElement(l,eg({className:Im(o.root,i,"fullWidth"!==v&&o[v],r&&o.absolute,c&&o.flexItem,d&&o.light,"vertical"===p&&o.vertical),role:m,ref:t},y))})),nx=bv((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Qm(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(tx);function rx(e,t){return parseInt(e[t],10)||0}var ox="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,ix={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},ax=ye.exports.forwardRef((function(e,t){var n=e.onChange,r=e.rows,o=e.rowsMax,i=e.rowsMin,a=e.maxRows,l=e.minRows,s=void 0===l?1:l,c=e.style,u=e.value,d=Ym(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),f=a||o,p=r||i||s,h=ye.exports.useRef(null!=u).current,m=ye.exports.useRef(null),g=ky(t,m),v=ye.exports.useRef(null),y=ye.exports.useRef(0),b=ye.exports.useState({}),x=b[0],E=b[1],S=ye.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=v.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],i=rx(n,"padding-bottom")+rx(n,"padding-top"),a=rx(n,"border-bottom-width")+rx(n,"border-top-width"),l=r.scrollHeight-i;r.value="x";var s=r.scrollHeight-i,c=l;p&&(c=Math.max(Number(p)*s,c)),f&&(c=Math.min(Number(f)*s,c));var u=(c=Math.max(c,s))+("border-box"===o?i+a:0),d=Math.abs(c-l)<=1;E((function(e){return y.current<20&&(u>0&&Math.abs((e.outerHeightStyle||0)-u)>1||e.overflow!==d)?(y.current+=1,{overflow:d,outerHeightStyle:u}):e}))}),[f,p,e.placeholder]);ye.exports.useEffect((function(){var e=by((function(){y.current=0,S()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[S]),ox((function(){S()})),ye.exports.useEffect((function(){y.current=0}),[u]);return ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("textarea",eg({value:u,onChange:function(e){y.current=0,h||S(),n&&n(e)},ref:g,rows:p,style:eg({height:x.outerHeightStyle,overflow:x.overflow?"hidden":null},c)},d)),ye.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:v,tabIndex:-1,style:eg({},ix,c)}))}));function lx(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var sx="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,cx=ye.exports.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,o=e.autoFocus,i=e.classes,a=e.className;e.color;var l=e.defaultValue,s=e.disabled,c=e.endAdornment;e.error;var u=e.fullWidth,d=void 0!==u&&u,f=e.id,p=e.inputComponent,h=void 0===p?"input":p,m=e.inputProps,g=void 0===m?{}:m,v=e.inputRef;e.margin;var y=e.multiline,b=void 0!==y&&y,x=e.name,E=e.onBlur,S=e.onChange,w=e.onClick,C=e.onFocus,k=e.onKeyDown,L=e.onKeyUp,R=e.placeholder,O=e.readOnly,_=e.renderSuffix,I=e.rows,P=e.rowsMax,N=e.rowsMin,T=e.maxRows,D=e.minRows,M=e.startAdornment,q=e.type,A=void 0===q?"text":q,z=e.value,j=Ym(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),F=null!=g.value?g.value:z,B=ye.exports.useRef(null!=F).current,U=ye.exports.useRef(),H=ye.exports.useCallback((function(e){}),[]),W=ky(g.ref,H),V=ky(v,W),$=ky(U,V),G=ye.exports.useState(!1),K=G[0],Z=G[1],X=Cb(),Q=function(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}({props:e,muiFormControl:X,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Q.focused=X?X.focused:K,ye.exports.useEffect((function(){!X&&s&&K&&(Z(!1),E&&E())}),[X,s,K,E]);var J=X&&X.onFilled,Y=X&&X.onEmpty,ee=ye.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(lx(e.value)&&""!==e.value||t&&lx(e.defaultValue)&&""!==e.defaultValue)}(e)?Y&&Y():J&&J()}),[J,Y]);sx((function(){B&&ee({value:F})}),[F,ee,B]);ye.exports.useEffect((function(){ee(U.current)}),[]);var te=h,ne=eg({},g,{ref:$});"string"!=typeof te?ne=eg({inputRef:$,type:A},ne,{ref:null}):b?!I||T||D||P||N?(ne=eg({minRows:I||D,rowsMax:P,maxRows:T},ne),te=ax):te="textarea":ne=eg({type:A},ne);return ye.exports.useEffect((function(){X&&X.setAdornedStart(Boolean(M))}),[X,M]),ye.exports.createElement("div",eg({className:Im(i.root,i["color".concat(hy(Q.color||"primary"))],a,Q.disabled&&i.disabled,Q.error&&i.error,d&&i.fullWidth,Q.focused&&i.focused,X&&i.formControl,b&&i.multiline,M&&i.adornedStart,c&&i.adornedEnd,"dense"===Q.margin&&i.marginDense),onClick:function(e){U.current&&e.currentTarget===e.target&&U.current.focus(),w&&w(e)},ref:t},j),M,ye.exports.createElement(kb.Provider,{value:null},ye.exports.createElement(te,eg({"aria-invalid":Q.error,"aria-describedby":n,autoComplete:r,autoFocus:o,defaultValue:l,disabled:Q.disabled,id:f,onAnimationStart:function(e){ee("mui-auto-fill-cancel"===e.animationName?U.current:{value:"x"})},name:x,placeholder:R,readOnly:O,required:Q.required,rows:I,value:F,onKeyDown:k,onKeyUp:L},ne,{className:Im(i.input,g.className,Q.disabled&&i.disabled,b&&i.inputMultiline,Q.hiddenLabel&&i.inputHiddenLabel,M&&i.inputAdornedStart,c&&i.inputAdornedEnd,"search"===A&&i.inputTypeSearch,"dense"===Q.margin&&i.inputMarginDense),onBlur:function(e){E&&E(e),g.onBlur&&g.onBlur(e),X&&X.onBlur?X.onBlur(e):Z(!1)},onChange:function(e){if(!B){var t=e.target||U.current;if(null==t)throw new Error(Kd(1));ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];g.onChange&&g.onChange.apply(g,[e].concat(r)),S&&S.apply(void 0,[e].concat(r))},onFocus:function(e){Q.disabled?e.stopPropagation():(C&&C(e),g.onFocus&&g.onFocus(e),X&&X.onFocus?X.onFocus(e):Z(!0))}}))),c,_?_(eg({},Q,{startAdornment:M})):null)})),ux=bv((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:eg({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(cx),dx=ye.exports.forwardRef((function(e,t){e.checked;var n=e.classes,r=e.className,o=e.control,i=e.disabled;e.inputRef;var a=e.label,l=e.labelPlacement,s=void 0===l?"end":l;e.name,e.onChange,e.value;var c=Ym(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"]),u=Lb(),d=i;void 0===d&&void 0!==o.props.disabled&&(d=o.props.disabled),void 0===d&&u&&(d=u.disabled);var f={disabled:d};return["checked","name","onChange","value","inputRef"].forEach((function(t){void 0===o.props[t]&&void 0!==e[t]&&(f[t]=e[t])})),ye.exports.createElement("label",eg({className:Im(n.root,r,"end"!==s&&n["labelPlacement".concat(hy(s))],d&&n.disabled),ref:t},c),ye.exports.cloneElement(o,f),ye.exports.createElement(xb,{component:"span",className:Im(n.label,d&&n.disabled)},a))})),fx=bv((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(dx),px=[0,1,2,3,4,5,6,7,8,9,10],hx=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function mx(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var gx=ye.exports.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,o=e.alignItems,i=void 0===o?"stretch":o,a=e.classes,l=e.className,s=e.component,c=void 0===s?"div":s,u=e.container,d=void 0!==u&&u,f=e.direction,p=void 0===f?"row":f,h=e.item,m=void 0!==h&&h,g=e.justify,v=e.justifyContent,y=void 0===v?"flex-start":v,b=e.lg,x=void 0!==b&&b,E=e.md,S=void 0!==E&&E,w=e.sm,C=void 0!==w&&w,k=e.spacing,L=void 0===k?0:k,R=e.wrap,O=void 0===R?"wrap":R,_=e.xl,I=void 0!==_&&_,P=e.xs,N=void 0!==P&&P,T=e.zeroMinWidth,D=void 0!==T&&T,M=Ym(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),q=Im(a.root,l,d&&[a.container,0!==L&&a["spacing-xs-".concat(String(L))]],m&&a.item,D&&a.zeroMinWidth,"row"!==p&&a["direction-xs-".concat(String(p))],"wrap"!==O&&a["wrap-xs-".concat(String(O))],"stretch"!==i&&a["align-items-xs-".concat(String(i))],"stretch"!==r&&a["align-content-xs-".concat(String(r))],"flex-start"!==(g||y)&&a["justify-content-xs-".concat(String(g||y))],!1!==N&&a["grid-xs-".concat(String(N))],!1!==C&&a["grid-sm-".concat(String(C))],!1!==S&&a["grid-md-".concat(String(S))],!1!==x&&a["grid-lg-".concat(String(x))],!1!==I&&a["grid-xl-".concat(String(I))]);return ye.exports.createElement(c,eg({className:q,ref:t},M))})),vx=bv((function(e){return eg({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return px.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(mx(o,2)),width:"calc(100% + ".concat(mx(o),")"),"& > $item":{padding:mx(o,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};hx.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?eg(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(gx);function yx(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var bx={entering:{opacity:1,transform:yx(1)},entered:{opacity:1,transform:"none"}},xx=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,l=e.onEntered,s=e.onEntering,c=e.onExit,u=e.onExited,d=e.onExiting,f=e.style,p=e.timeout,h=void 0===p?"auto":p,m=e.TransitionComponent,g=void 0===m?Zy:m,v=Ym(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),y=ye.exports.useRef(),b=ye.exports.useRef(),x=yv(),E=x.unstable_strictMode&&!o,S=ye.exports.useRef(null),w=ky(n.ref,t),C=ky(E?S:void 0,w),k=function(e){return function(t,n){if(e){var r=qy(E?[S.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},L=k(s),R=k((function(e,t){!function(e){e.scrollTop}(e);var n,r=nb({style:f,timeout:h},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===h?(n=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=o,e.style.transition=[x.transitions.create("opacity",{duration:n,delay:i}),x.transitions.create("transform",{duration:.666*n,delay:i})].join(","),a&&a(e,t)})),O=k(l),_=k(d),I=k((function(e){var t,n=nb({style:f,timeout:h},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===h?(t=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[x.transitions.create("opacity",{duration:t,delay:o}),x.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=yx(.75),c&&c(e)})),P=k(u);return ye.exports.useEffect((function(){return function(){clearTimeout(y.current)}}),[]),ye.exports.createElement(g,eg({appear:!0,in:i,nodeRef:E?S:void 0,onEnter:R,onEntered:O,onEntering:L,onExit:I,onExited:P,onExiting:_,addEndListener:function(e,t){var n=E?e:t;"auto"===h&&(y.current=setTimeout(n,b.current||0))},timeout:"auto"===h?null:h},v),(function(e,t){return ye.exports.cloneElement(n,eg({style:eg({opacity:0,transform:yx(.75),visibility:"exited"!==e||i?void 0:"hidden"},bx[e],f,n.props.style),ref:C},t))}))}));xx.muiSupportAuto=!0;var Ex=xx,Sx=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,i=void 0===o?"inherit":o,a=e.component,l=void 0===a?"span":a,s=e.fontSize,c=void 0===s?"medium":s,u=Ym(e,["classes","className","color","component","fontSize"]);return ye.exports.createElement(l,eg({className:Im("material-icons",n.root,r,"inherit"!==i&&n["color".concat(hy(i))],"default"!==c&&"medium"!==c&&n["fontSize".concat(hy(c))]),"aria-hidden":!0,ref:t},u))}));Sx.muiName="Icon";var wx=bv((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(Sx),Cx=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"div":i,l=e.disablePointerEvents,s=void 0!==l&&l,c=e.disableTypography,u=void 0!==c&&c,d=e.position,f=e.variant,p=Ym(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),h=Cb()||{},m=f;return f&&h.variant,h&&!m&&(m=h.variant),ye.exports.createElement(kb.Provider,{value:null},ye.exports.createElement(a,eg({className:Im(r.root,o,"end"===d?r.positionEnd:r.positionStart,s&&r.disablePointerEvents,h.hiddenLabel&&r.hiddenLabel,"filled"===m&&r.filled,"dense"===h.margin&&r.marginDense),ref:t},p),"string"!=typeof n||u?n:ye.exports.createElement(xb,{color:"textSecondary"},n)))})),kx=bv({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(Cx),Lx=ye.exports.createContext({}),Rx=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"ul":i,l=e.dense,s=void 0!==l&&l,c=e.disablePadding,u=void 0!==c&&c,d=e.subheader,f=Ym(e,["children","classes","className","component","dense","disablePadding","subheader"]),p=ye.exports.useMemo((function(){return{dense:s}}),[s]);return ye.exports.createElement(Lx.Provider,{value:p},ye.exports.createElement(a,eg({className:Im(r.root,o,s&&r.dense,!u&&r.padding,d&&r.subheader),ref:t},f),d,n))})),Ox=bv({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Rx),_x="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Ix=ye.exports.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,o=e.autoFocus,i=void 0!==o&&o,a=e.button,l=void 0!==a&&a,s=e.children,c=e.classes,u=e.className,d=e.component,f=e.ContainerComponent,p=void 0===f?"li":f,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,g=Ym(h,["className"]),v=e.dense,y=void 0!==v&&v,b=e.disabled,x=void 0!==b&&b,E=e.disableGutters,S=void 0!==E&&E,w=e.divider,C=void 0!==w&&w,k=e.focusVisibleClassName,L=e.selected,R=void 0!==L&&L,O=Ym(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),_=ye.exports.useContext(Lx),I={dense:y||_.dense||!1,alignItems:r},P=ye.exports.useRef(null);_x((function(){i&&P.current&&P.current.focus()}),[i]);var N,T,D=ye.exports.Children.toArray(s),M=D.length&&(N=D[D.length-1],T=["ListItemSecondaryAction"],ye.exports.isValidElement(N)&&-1!==T.indexOf(N.type.muiName)),q=ky(ye.exports.useCallback((function(e){P.current=et.exports.findDOMNode(e)}),[]),t),A=eg({className:Im(c.root,u,I.dense&&c.dense,!S&&c.gutters,C&&c.divider,x&&c.disabled,l&&c.button,"center"!==r&&c.alignItemsFlexStart,M&&c.secondaryAction,R&&c.selected),disabled:x},O),z=d||"li";return l&&(A.component=d||"div",A.focusVisibleClassName=Im(c.focusVisible,k),z=db),M?(z=A.component||d?z:"div","li"===p&&("li"===z?z="div":"li"===A.component&&(A.component="div")),ye.exports.createElement(Lx.Provider,{value:I},ye.exports.createElement(p,eg({className:Im(c.container,m),ref:q},g),ye.exports.createElement(z,A,D),D.pop()))):ye.exports.createElement(Lx.Provider,{value:I},ye.exports.createElement(z,eg({ref:q},A),D))})),Px=bv((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(Ix),Nx=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=Ym(e,["classes","className"]),i=ye.exports.useContext(Lx);return ye.exports.createElement("div",eg({className:Im(n.root,r,"flex-start"===i.alignItems&&n.alignItemsFlexStart),ref:t},o))})),Tx=bv((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(Nx);function Dx(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Mx(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function qx(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Ax(e){return"function"==typeof e?e():e}var zx=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,o=e.anchorOrigin,i=void 0===o?{vertical:"top",horizontal:"left"}:o,a=e.anchorPosition,l=e.anchorReference,s=void 0===l?"anchorEl":l,c=e.children,u=e.classes,d=e.className,f=e.container,p=e.elevation,h=void 0===p?8:p,m=e.getContentAnchorEl,g=e.marginThreshold,v=void 0===g?16:g,y=e.onEnter,b=e.onEntered,x=e.onEntering,E=e.onExit,S=e.onExited,w=e.onExiting,C=e.open,k=e.PaperProps,L=void 0===k?{}:k,R=e.transformOrigin,O=void 0===R?{vertical:"top",horizontal:"left"}:R,_=e.TransitionComponent,I=void 0===_?Ex:_,P=e.transitionDuration,N=void 0===P?"auto":P,T=e.TransitionProps,D=void 0===T?{}:T,M=Ym(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),q=ye.exports.useRef(),A=ye.exports.useCallback((function(e){if("anchorPosition"===s)return a;var t=Ax(r),n=(t&&1===t.nodeType?t:xy(q.current).body).getBoundingClientRect(),o=0===e?i.vertical:"center";return{top:n.top+Dx(n,o),left:n.left+Mx(n,i.horizontal)}}),[r,i.horizontal,i.vertical,a,s]),z=ye.exports.useCallback((function(e){var t=0;if(m&&"anchorEl"===s){var n=m(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[i.vertical,s,m]),j=ye.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Dx(e,O.vertical)+t,horizontal:Mx(e,O.horizontal)}}),[O.horizontal,O.vertical]),F=ye.exports.useCallback((function(e){var t=z(e),n={width:e.offsetWidth,height:e.offsetHeight},o=j(n,t);if("none"===s)return{top:null,left:null,transformOrigin:qx(o)};var i=A(t),a=i.top-o.vertical,l=i.left-o.horizontal,c=a+n.height,u=l+n.width,d=Ey(Ax(r)),f=d.innerHeight-v,p=d.innerWidth-v;if(a<v){var h=a-v;a-=h,o.vertical+=h}else if(c>f){var m=c-f;a-=m,o.vertical+=m}if(l<v){var g=l-v;l-=g,o.horizontal+=g}else if(u>p){var y=u-p;l-=y,o.horizontal+=y}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(l),"px"),transformOrigin:qx(o)}}),[r,s,A,z,j,v]),B=ye.exports.useCallback((function(){var e=q.current;if(e){var t=F(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[F]),U=ye.exports.useCallback((function(e){q.current=et.exports.findDOMNode(e)}),[]);ye.exports.useEffect((function(){C&&B()})),ye.exports.useImperativeHandle(n,(function(){return C?{updatePosition:function(){B()}}:null}),[C,B]),ye.exports.useEffect((function(){if(C){var e=by((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[C,B]);var H=N;"auto"!==N||I.muiSupportAuto||(H=void 0);var W=f||(r?xy(Ax(r)).body:void 0);return ye.exports.createElement(ex,eg({container:W,open:C,ref:t,BackdropProps:{invisible:!0},className:Im(u.root,d)},M),ye.exports.createElement(I,eg({appear:!0,in:C,onEnter:y,onEntered:b,onExit:E,onExited:S,onExiting:w,timeout:H},D,{onEntering:my((function(e,t){x&&x(e,t),B()}),D.onEntering)}),ye.exports.createElement(ob,eg({elevation:h,ref:U},L,{className:Im(u.paper,L.className)}),c)))})),jx=bv({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(zx);function Fx(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Bx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ux(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Hx(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Ux(l,i)&&!s)return void l.focus();l=o(e,l,n)}}var Wx="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Vx=ye.exports.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,o=void 0!==r&&r,i=e.autoFocusItem,a=void 0!==i&&i,l=e.children,s=e.className,c=e.disabledItemsFocusable,u=void 0!==c&&c,d=e.disableListWrap,f=void 0!==d&&d,p=e.onKeyDown,h=e.variant,m=void 0===h?"selectedMenu":h,g=Ym(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),v=ye.exports.useRef(null),y=ye.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Wx((function(){o&&v.current.focus()}),[o]),ye.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!v.current.style.width;if(e.clientHeight<v.current.clientHeight&&n){var r="".concat(Hb(),"px");v.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,v.current.style.width="calc(100% + ".concat(r,")")}return v.current}}}),[]);var b=ky(ye.exports.useCallback((function(e){v.current=et.exports.findDOMNode(e)}),[]),t),x=-1;ye.exports.Children.forEach(l,(function(e,t){ye.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===x)&&(x=t))}));var E=ye.exports.Children.map(l,(function(e,t){if(t===x){var n={};return a&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),ye.exports.cloneElement(e,n)}return e}));return ye.exports.createElement(Ox,eg({role:"menu",ref:b,className:s,onKeyDown:function(e){var t=v.current,n=e.key,r=xy(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Hx(t,r,f,u,Fx);else if("ArrowUp"===n)e.preventDefault(),Hx(t,r,f,u,Bx);else if("Home"===n)e.preventDefault(),Hx(t,null,f,u,Fx);else if("End"===n)e.preventDefault(),Hx(t,null,f,u,Bx);else if(1===n.length){var o=y.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&Ux(r,o);o.previousKeyMatched&&(l||Hx(t,r,!1,u,Fx,o))?e.preventDefault():o.previousKeyMatched=!1}p&&p(e)},tabIndex:o?0:-1},g),E)})),$x=ye.exports.forwardRef((function(e,t){var n,r=e.classes,o=e.className,i=e.component,a=void 0===i?"li":i,l=e.disableGutters,s=void 0!==l&&l,c=e.ListItemClasses,u=e.role,d=void 0===u?"menuitem":u,f=e.selected,p=e.tabIndex,h=Ym(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),ye.exports.createElement(Px,eg({button:!0,role:d,tabIndex:n,component:a,selected:f,disableGutters:s,classes:eg({dense:r.dense},c),className:Im(r.root,o,f&&r.selected,!s&&r.gutters),ref:t},h))})),Gx=bv((function(e){return{root:eg({},e.typography.body1,Jm({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:eg({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})($x),Kx=ye.exports.forwardRef((function(e,t){e.children;var n=e.classes,r=e.className,o=e.label,i=e.labelWidth,a=e.notched,l=e.style,s=Ym(e,["children","classes","className","label","labelWidth","notched","style"]),c="rtl"===yv().direction?"right":"left";if(void 0!==o)return ye.exports.createElement("fieldset",eg({"aria-hidden":!0,className:Im(n.root,r),ref:t,style:l},s),ye.exports.createElement("legend",{className:Im(n.legendLabelled,a&&n.legendNotched)},o?ye.exports.createElement("span",null,o):ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var u=i>0?.75*i+8:.01;return ye.exports.createElement("fieldset",eg({"aria-hidden":!0,style:eg(Jm({},"padding".concat(hy(c)),8),l),className:Im(n.root,r),ref:t},s),ye.exports.createElement("legend",{className:n.legend,style:{width:a?u:.01}},ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),Zx=bv((function(e){return{root:{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"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(Kx),Xx=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,o=void 0!==r&&r,i=e.inputComponent,a=void 0===i?"input":i,l=e.label,s=e.labelWidth,c=void 0===s?0:s,u=e.multiline,d=void 0!==u&&u,f=e.notched,p=e.type,h=void 0===p?"text":p,m=Ym(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return ye.exports.createElement(ux,eg({renderSuffix:function(e){return ye.exports.createElement(Zx,{className:n.notchedOutline,label:l,labelWidth:c,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)})},classes:eg({},n,{root:Im(n.root,n.underline),notchedOutline:null}),fullWidth:o,inputComponent:a,multiline:d,ref:t,type:h},m))}));Xx.muiName="Input";var Qx=bv((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(Xx),Jx=yy(ye.exports.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),Yx=yy(ye.exports.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}));var eE=bv((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes,r=e.fontSize;return ye.exports.createElement("div",{className:Im(n.root,t&&n.checked)},ye.exports.createElement(Jx,{fontSize:r}),ye.exports.createElement(Yx,{fontSize:r,className:n.layer}))})),tE=ye.exports.createContext();var nE=ye.exports.createElement(eE,{checked:!0}),rE=ye.exports.createElement(eE,null),oE=ye.exports.forwardRef((function(e,t){var n=e.checked,r=e.classes,o=e.color,i=void 0===o?"secondary":o,a=e.name,l=e.onChange,s=e.size,c=void 0===s?"medium":s,u=Ym(e,["checked","classes","color","name","onChange","size"]),d=ye.exports.useContext(tE),f=n,p=my(l,d&&d.onChange),h=a;return d&&(void 0===f&&(f=d.value===e.value),void 0===h&&(h=d.name)),ye.exports.createElement(Ob,eg({color:i,type:"radio",icon:ye.exports.cloneElement(rE,{fontSize:"small"===c?"small":"medium"}),checkedIcon:ye.exports.cloneElement(nE,{fontSize:"small"===c?"small":"medium"}),classes:{root:Im(r.root,r["color".concat(hy(i))]),checked:r.checked,disabled:r.disabled},name:h,checked:f,onChange:p,ref:t},u))})),iE=bv((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:Qm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:Qm(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(oE);function aE(){const[e,t]=ye.exports.useState(),[n,r]=ye.exports.useState(),o=ye.exports.useCallback(e=>{e&&t(e)},[]),i=()=>{const{left:t,top:n,width:o,height:i}=e.getBoundingClientRect();r({left:t,top:n,width:o,height:i})};return ye.exports.useLayoutEffect(()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(i);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}}},[e]),[o,n,e]}function lE(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function sE(e){let{size:t,style:r={},viewBox:i="0 0 16 16",shapes:a=[]}=e;const l=n({fontSize:lE(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},r);return Ye.createElement("i",{style:l},Ye.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:i,fill:"currentColor"},a.map((e,t)=>{let{type:n,attrs:r}=e;return Ye.createElement(n,o({key:t},r))})))}var cE=e=>sE((e=>n(n({},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 uE=e=>sE((e=>n(n({},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 dE=e=>sE((e=>n(n({},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));function fE(){return(fE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function pE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hE(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function mE(e,t){var n;void 0===t&&(t=hE);var r,o=[],i=!1;return function(){for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];return i&&n===this&&t(l,o)||(r=e.apply(this,l),i=!0,n=this,o=l),r}}var gE="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function vE(e){cancelAnimationFrame(e.id)}var yE=null;function bE(e){if(void 0===e&&(e=!1),null===yE||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?yE="positive-descending":(t.scrollLeft=1,yE=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),yE}return yE}var xE=function(e,t){return e};function EE(e){var t,n,r=e.getItemOffset,o=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,c=e.initInstanceProps,u=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=t=function(e){var t,n;function f(t){var n;return(n=e.call(this,t)||this)._instanceProps=c(n.props,pE(pE(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:pE(pE(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=mE((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=mE((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,o=n.props,a=o.direction,l=o.itemSize,s=o.layout,c=n._getItemStyleCache(u&&l,u&&s,u&&a);if(c.hasOwnProperty(e))t=c[e];else{var d=r(n.props,e,n._instanceProps),f=i(n.props,e,n._instanceProps),p="horizontal"===a||"horizontal"===s,h="rtl"===a,m=p?d:0;c[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:p?0:d,height:p?"100%":f,width:p?f:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=mE((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(bE()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r,o;null!==n._resetIsScrollingTimeoutId&&vE(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=150,r=gE(),o={id:requestAnimationFrame((function n(){gE()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,f.getDerivedStateFromProps=function(e,t){return SE(e,t),d(e),null};var p=f.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.itemCount,r=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1)),this.scrollTo(a(this.props,e,t,r,this._instanceProps))},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 i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(bE()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&vE(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,i=e.height,a=e.innerRef,l=e.innerElementType,s=e.innerTagName,c=e.itemCount,u=e.itemData,d=e.itemKey,f=void 0===d?xE:d,p=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,v=e.useIsScrolling,y=e.width,b=this.state.isScrolling,x="horizontal"===r||"horizontal"===p,E=x?this._onScrollHorizontal:this._onScrollVertical,S=this._getRangeToRender(),w=S[0],C=S[1],k=[];if(c>0)for(var L=w;L<=C;L++)k.push(ye.exports.createElement(t,{data:u,key:f(L,u),index:L,isScrolling:v?b:void 0,style:this._getItemStyle(L)}));var R=o(this.props,this._instanceProps);return ye.exports.createElement(h||m||"div",{className:n,onScroll:E,ref:this._outerRefSetter,style:fE({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},g)},ye.exports.createElement(l||s||"div",{children:k,ref:a,style:{height:x?"100%":R,pointerEvents:b?"none":void 0,width:x?R:"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 i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var c=l(this.props,a,this._instanceProps),u=s(this.props,c,a,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,n),f=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+f)),c,u]},f}(ye.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var SE=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},wE=EE({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){var o=e.direction,i=e.height,a=e.itemCount,l=e.itemSize,s=e.layout,c=e.width,u="horizontal"===o||"horizontal"===s?c:i,d=Math.max(0,a*l-u),f=Math.min(d,t*l),p=Math.max(0,t*l-u+l);switch("smart"===n&&(n=r>=p-u&&r<=f+u?"auto":"center"),n){case"start":return f;case"end":return p;case"center":var h=Math.round(p+(f-p)/2);return h<Math.ceil(u/2)?0:h>d+Math.floor(u/2)?d:h;case"auto":default:return r>=p&&r<=f?r:r<p?p:f}},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,i=e.itemCount,a=e.itemSize,l=e.layout,s=e.width,c=t*a,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/a);return Math.max(0,Math.min(i-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});var CE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},kE=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}}(),LE=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},RE=function(e){function t(){var e,n,r;CE(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=LE(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),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},LE(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),kE(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,i=n.minimumBatchSize,a=void 0===i?10:i,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,i=e.stopIndex,a=[],l=null,s=null,c=o;c<=i;c++)t(c)?null!==s&&(a.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;a.push(l,s)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var f=a[0]-1;if(t(f))break;a[0]=f}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:a,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],i=e[r+1],a=n(o,i);null!=a&&a.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:i})){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}(ye.exports.PureComponent);const OE=["S","XS"],_E=e=>e.reduce((e,t)=>e.concat(t));function IE(e){return OE.includes(e)}function PE(e){return Array.isArray(e)?Array.from(new Set(e)):void 0}async function NE(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 TE(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 DE(e){let{layout:t,selections:r,pages:o=[],checkboxes:i=!1,selectDisabled:a,doc:l=document,isSingleSelect:s=!1}=e;const[c,u]=ye.exports.useState(o),[d,f]=ye.exports.useState(!1),[p,h]=ye.exports.useState(!1),[m,g]=ye.exports.useState(s),[v,y]=ye.exports.useState([]),[b,x]=ye.exports.useState(!1),[E,S]=ye.exports.useState([]),w=function(e){if(!e||!e.length)return[];const t=e.map(e=>e.qMatrix.map(e=>{const[{qElemNumber:t}]=e;return t}));return _E(t)}(o),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 n=t?e.filter(e=>!v.includes(e)):e;await NE({selections:r,elemNumbers:n,isSingleSelect:m}),h(!1),S([])},k=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a()||S(n=>{const r=PE([...n,...e]),o=t?r.filter(e=>!v.includes(e)):r;return t?TE(r,w):o})},L=e=>{(e.ctrlKey||e.metaKey)&&(g(!0),e.currentTarget.focus(),e.preventDefault())},R=ye.exports.useCallback(e=>{if(p||a())return;const t=+e.currentTarget.getAttribute("data-n");S([t]),L(e)},[p,a]),O=ye.exports.useCallback(e=>{if(p||a())return;x(!1),f(!0);const t=+e.currentTarget.getAttribute("data-n");S([t]),L(e)},[p,a]),_=ye.exports.useCallback(e=>{const t=+e.currentTarget.getAttribute("data-n");m||!d||p||1===E.length&&E[0]===t||k([t])},[d,p,E,v,b,a]),I=ye.exports.useCallback(()=>{f(!1),h(!1),x(!1),g(s)},[]),P=ye.exports.useCallback(e=>{if(m||!d||p||a())return;x(!0);const t=+e.currentTarget.getAttribute("data-n");k([t],!0)},[d,p,b,E,v,a,t&&t.qListObject.qDimensionInfo.qIsOneAndOnlyOne]);ye.exports.useEffect(()=>{const e=!d;E&&E.length&&!p&&e&&t&&C(E,b)},[E,d,a()]),ye.exports.useEffect(()=>(l.addEventListener("mouseup",I),()=>{l.removeEventListener("mouseup",I)}),[]),ye.exports.useEffect(()=>{if(p||d)return;const e=function(e){if(!e||!e.length)return[];const t=e.map(e=>e.qMatrix.map(e=>{const[t]=e;return!!IE(t.qState)&&t.qElemNumber}).filter(e=>!1!==e));return _E(t)}(o);y(e)},[o]),ye.exports.useEffect(()=>{if(p||!o||!i&&!d)return;const e=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=e=>t.length<=1&&IE(e)?"A":"S";return e.map(e=>{const i=e.qMatrix.map(e=>{const[i]=e,a=t.includes(i.qElemNumber);let l;return l=r?a?"S":"A":a?o(i.qState):i.qState,[n(n({},i),{},{qState:l}),e.slice(1)]});return n(n({},e),{},{qMatrix:i})})}(o,E,m);u(e)},[E]);const N={};return i?Object.assign(N,{onClick:R}):Object.assign(N,{onMouseUp:_,onMouseDown:O,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];x(!1),f(!0),k(e,t||b);const n=C(e,t||b);return f(!1),n}}}const ME=e=>n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var qE=e=>sE(ME(e));const AE=Om(e=>({cbIcon:{borderRadius:2,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"},cbIconChecked:{borderRadius:2,backgroundColor:e.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:'""'}},cbIconExcluded:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.excluded},cbIconAlternative:{borderRadius:2,width:12,height:12,backgroundColor:e.palette.selected.alternative},checkbox:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},dense:{padding:"4px 8px"}})),zE=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Ye.createElement("span",{className:e.cbIcon},(n||r)&&Ye.createElement("span",{className:[t&&n&&e.cbIconExcluded,t&&r&&e.cbIconAlternative].filter(Boolean).join(" ")}))};function jE(e){let{checked:t,label:n,dense:r,excluded:o,alternative:i,showGray:a=!0}=e;const l=AE();return Ye.createElement(qb,{edge:"start",checked:t,disableRipple:!0,className:[l.checkbox,r&&l.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n},name:n,icon:zE(l,a,o,i),checkedIcon:Ye.createElement("span",{className:l.cbIconChecked})})}const FE=Om(()=>({denseRadioButton:{height:"100%",boxSizing:"border-box","& svg":{width:"0.7em",height:"0.7em"}},radioButton:{right:"5px"}}));function BE(e){let{checked:t,label:n,dense:r}=e;const o=FE();return Ye.createElement(iE,{checked:t,value:n,name:n,inputProps:{"aria-labelledby":n},className:r?o.denseRadioButton:o.radioButton,style:{backgroundColor:"transparent"},disableRipple:!0})}const UE=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===UE.ARROW_UP||e===UE.ARROW_DOWN||e===UE.ARROW_LEFT||e===UE.ARROW_RIGHT});function HE(e){let{setKeyboardActive:t}=e;return e=>{const{keyCode:n}=e.nativeEvent;switch(n){case UE.ENTER:case UE.SPACE:(e=>{const n=e.querySelector(".search input, .value.selector, .value");t(!0),n&&n.focus()})(e.currentTarget);break;case UE.ESCAPE:r=e.currentTarget,t(!1),r.focus();break;default:return}var r;e.preventDefault()}}const WE={width:"100%",overflow:"hidden",textOverflow:"ellipsis"},VE=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}}},$E=Om(e=>({row:{flexWrap:"nowrap",borderBottom:"1px solid ".concat(e.palette.divider),color:e.palette.text.primary},column:{flexWrap:"nowrap",borderRight:"1px solid ".concat(e.palette.divider),color:e.palette.text.primary},fieldRoot:{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},cell:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:"9px"},labelText:n({flexBasis:"max-content",lineHeight:"16px",userSelect:"none",whiteSpace:"pre"},WE),labelDense:{fontSize:12},highlighted:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},checkboxLabel:{margin:0,width:"100%",height:"100%","& > span:nth-child(1)":{paddingRight:"7px"},"& > span:nth-child(2)":n(n({},WE),{},{display:"flex",alignItems:"center",paddingLeft:0})},icon:{display:"flex",padding:e.spacing(1,1,1,0)},S:n({},VE({theme:e})),XS:n(n({},VE({theme:e})),{},{background:e.palette.selected.excluded,color:e.palette.selected.mainContrastText}),A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.mainContrastText},frequencyCount:{paddingLeft:"8px",paddingRight:"8px"},barContainer:{position:"relative"},bar:{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",height:"1em",position:"absolute",zIndex:"-1",alignSelf:"center",left:"".concat(4,"px"),transition:"width 0.2s"},barSelected:{opacity:"30%",zIndex:"0",background:e.palette.background.lighter},barWithCheckbox:{left:"".concat(2,"em")},barSelectedWithCheckbox:{background:"#BFE5D0",borderColor:"#BFE5D0"},excludedTextWithCheckbox:{color:"#828282"}}));function GE(e){let{index:t,style:n,data:r,column:o=!1}=e;const{onClick:i,onMouseDown:a,onMouseUp:l,onMouseEnter:s,pages:c,isLocked:u,checkboxes:d=!1,dense:f=!1,frequencyMode:p="N",isSingleSelect:h,actions:m,frequencyMax:g="",histogram:v=!1,keyboard:y,showGray:b=!0}=r,x=ye.exports.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 i=!1;const a=e=>{i=e};return e=>{let l;const{keyCode:s,shiftKey:c=!1}=e.nativeEvent;switch(s){case UE.SHIFT:a(!0);break;case UE.SPACE:t([+e.currentTarget.getAttribute("data-n")]);break;case UE.ARROW_DOWN:case UE.ARROW_RIGHT:l=o(e.currentTarget,!0),c&&l&&(i&&(t([+e.currentTarget.getAttribute("data-n")],!0),a(!1)),t([+l.getAttribute("data-n")],!0));break;case UE.ARROW_UP:case UE.ARROW_LEFT:l=o(e.currentTarget,!1),c&&l&&(i&&(t([+e.currentTarget.getAttribute("data-n")],!0),a(!1)),t([+l.getAttribute("data-n")],!0));break;case UE.ENTER:n();break;case UE.ESCAPE:return void r();default:return}l&&l.focus(),e.preventDefault(),e.stopPropagation()}}(m),[m]),[E,S]=ye.exports.useState(!1),[w,C]=ye.exports.useState(),k=$E(),[L,R]=ye.exports.useState([]);ye.exports.useEffect(()=>{if(!c)return;let e;const n=c.filter(e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight)[0];if(n){const r=n.qArea;t>=r.qTop&&t<r.qTop+r.qHeight&&([e]=n.qMatrix[t-r.qTop])}C(e)},[c]);const O=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,_=e=>e?"A"===e.qState:null;ye.exports.useEffect(()=>{if(!w)return;const e="S"===w.qState||"XS"===w.qState||"L"===w.qState;S(e);const t=[o?k.column:k.row];d||("XS"===w.qState?t.push(b?k.XS:k.S):"S"===w.qState||"L"===w.qState?t.push(k.S):b&&_(w)?t.push(k.A):b&&O(w)&&t.push(k.X)),R(t)},[w&&w.qState]);const I=e=>e.filter(e=>!!e).join(" ").trim(),P=()=>(_(w)||O(w))&&d,N=e=>{let{lbl:t,ix:n,color:r,highlighted:o=!1}=e;return Ye.createElement(xb,{component:"span",variant:"body2",key:n,className:I([k.labelText,o&&k.highlighted,f&&k.labelDense,b&&P()&&k.excludedTextWithCheckbox]),color:r},Ye.createElement("span",{style:{whiteSpace:"pre"}},t))},T=e=>{let{lbl:t,color:n,qElemNumber:r}=e;const o=Ye.createElement(jE,{label:t,checked:E,dense:f,excluded:O(w),alternative:_(w),showGray:b}),i=Ye.createElement(BE,{label:t,checked:E,dense:f}),a="string"==typeof t?N({lbl:t,color:n,highlighted:!1}):t;return Ye.createElement(fx,{color:n,control:h?i:o,className:k.checkboxLabel,label:a,key:r})},D=w?w.qText:"",M=()=>w?w.qFrequency?w.qFrequency:"0":"",q=w&&w.qHighlightRanges&&w.qHighlightRanges.qRanges.sort((e,t)=>e.qCharPos-t.qCharPos)||[],A=function(e,t){return t.length?t.reduce((n,r,o)=>{const i=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,i=[];return r>n&&i.push([e.slice(n,r),!1]),i.push([e.slice(r,r+o),!0]),i}(e,r,i));const a=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return a&&l<e.length&&n.push([e.slice(l),!1]),n},[]):[]}(D,q),z=d?T:N,j={alignItems:"center",display:"flex"},F=E&&u,B=!d&&E&&!u,U={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,padding:d?0:void 0},H=0===t;return Ye.createElement("div",{className:k.barContainer},Ye.createElement(vx,{container:!0,spacing:0,className:I(["value",...L]),classes:{root:k.fieldRoot},style:n,onClick:i,onMouseDown:a,onMouseUp:l,onMouseEnter:s,onKeyDown:x,onContextMenu:e=>{d&&i(e),e.preventDefault()},role:o?"column":"row",tabIndex:!H||y.enabled&&!y.active?-1:0,"data-n":w&&w.qElemNumber},w&&v&&"0"!==M()&&Ye.createElement("div",{className:I([k.bar,d&&k.barWithCheckbox,E&&(d?k.barSelectedWithCheckbox:k.barSelected)]),style:{width:(e=>{const t=String(e),n="%"===t.substring(t.length-1),r=parseFloat(n?t:e),o=d?"(".concat(2,"em + ").concat(6,"px)"):"".concat(10,"px");return"calc(".concat(n?r:r/g*100,"% - ").concat(o,")")})(w.qFrequency)}}),Ye.createElement(vx,{item:!0,style:U,className:I([k.cell,k.selectedCell]),title:"".concat(D)},0===q.length?z({lbl:D,color:"inherit"}):(e=>{let{lbls:t}=e;const n=t.map((e,t)=>{let[n,r]=e;return N({ix:t,highlighted:r,lbl:n})});return d?T({lbl:n}):n})({lbls:A})),"N"!==p&&Ye.createElement(vx,{item:!0,style:{display:"flex",alignItems:"center"},className:k.frequencyCount},Ye.createElement(xb,{noWrap:!0,color:"inherit",variant:"body2",className:I([f&&k.labelDense,k.labelText,b&&P()&&k.excludedTextWithCheckbox])},M())),(F||B)&&Ye.createElement(vx,{item:!0,className:k.icon},F&&Ye.createElement(uE,{style:j,size:"small"}),B&&Ye.createElement(qE,{style:j,size:"small"}))))}const KE="#BBB",ZE="#f1f1f1",XE=Om(()=>({styledScrollbars:{scrollbarColor:"".concat(KE," ").concat(ZE),"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:ZE},"&::-webkit-scrollbar-thumb":{backgroundColor:KE,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}}}));function QE(e){let{model:t,selections:r,direction:o,height:i,width:a,listLayout:l="vertical",frequencyMode:s="N",histogram:c=!1,checkboxes:u=!1,update:d,fetchStart:f,dense:p=!1,keyboard:h={},showGray:m=!0,selectDisabled:g=(()=>!1)}=e;const[v]=Xv(t),y=!(!v||!v.qListObject.qDimensionInfo.qIsOneAndOnlyOne),[b,x]=ye.exports.useState(null),[E,S]=ye.exports.useState(!1),w=XE(),{instantPages:C=[],interactionEvents:k,select:L}=DE({layout:v,selections:r,pages:b,checkboxes:u,selectDisabled:g,doc:document,isSingleSelect:y}),R=ye.exports.useRef(null),O=ye.exports.useRef({queue:[],validPages:!1}),_=ye.exports.useRef({pages:[]}),I=ye.exports.useCallback(e=>{if(!b||!O.current.validPages)return!1;O.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=b.filter(e=>t(e))[0];return n&&t(n)},[v,b]),P=ye.exports.useCallback((e,n)=>{O.current.queue.push({start:e,stop:n});!!R.current&&R.current._listRef.state.isScrolling;return O.current.queue.length>10&&O.current.queue.shift(),clearTimeout(O.current.timeout),S(!0),new Promise(e=>{O.current.timeout=setTimeout(()=>{const n=O.current.queue.slice(-2).sort((e,t)=>e.start-t.start),r=t.getListObjectData("/qListObjectDef",n.map(e=>({qTop:e.start,qHeight:e.stop-e.start+1,qLeft:0,qWidth:1}))).then(t=>{O.current.validPages=!0,_.current.pages=t,x(t),S(!1),e()});f&&f(r)},0)})},[v]),N=()=>{if(O.current.queue=[],O.current.validPages=!1,R.current){if(R.current.resetloadMoreItemsCache(!0),v&&v.qSelectionInfo.qInSelections)return;R.current._listRef.scrollToItem(0)}};if(d&&d.call(null,N),ye.exports.useEffect(()=>{N()},[v]),ye.exports.useEffect(()=>{C&&!E&&x(C)},[C]),!v)return null;const T="horizontal"!==l,D=v.qListObject.qSize.qcy,{itemSize:M,listHeight:q}=function(e){let{isVertical:t,checkboxes:n,dense:r,height:o}=e,i=n?40:33;r&&(i=24);const a=t?i:200;return{itemSize:a,listHeight:o||8*a}}({isVertical:T,checkboxes:u,dense:p,height:i}),A=v&&v.qListObject.qDimensionInfo.qLocked,{frequencyMax:z}=v;return Ye.createElement(RE,{isItemLoaded:I,itemCount:D,loadMoreItems:P,threshold:0,minimumBatchSize:100,ref:R},e=>{let{onItemsRendered:t,ref:i}=e;return O.current.listRef=i,Ye.createElement(wE,{direction:o,"data-testid":"fixed-size-list",useIsScrolling:!0,style:{},height:q,width:a,itemCount:D,layout:l,className:w.styledScrollbars,itemData:n(n({isLocked:A,column:!T,pages:b},A||g()?{}:k),{},{checkboxes:u,dense:p,frequencyMode:s,isSingleSelect:y,actions:{select:L,confirm:()=>r&&r.confirm.call(r),cancel:()=>r&&r.cancel.call(r)},frequencyMax:z,histogram:c,keyboard:h,showGray:m}),itemSize:M,onItemsRendered:t,ref:i},GE)})}const JE=e=>n(n({},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"}}]}),YE=e=>n(n({},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"}}]}),eS=e=>n(n({},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"}}]}),tS=e=>n(n({},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 nS=e=>{let{layout:t,model:n,translator:r}=e;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:JE,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:eS,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:YE,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:tS,enabled:()=>["qAlternative","qExcluded"].some(e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const rS=e=>n(n({},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 oS(e){const t=pm(),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 iS="njs-cell-action",aS=Ye.forwardRef((e,t)=>{let{item:n,addAnchor:r=!1}=e;const o=pm(),{hidden:i,disabled:a,style:l,hasSvgIconShape:s}=oS(n);if(i)return null;const c=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Ye.createElement(pb,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:c,disabled:a,style:l,className:iS},s&&sE(n.getSvgIconShape()),r&&Ye.createElement("div",{ref:t,style:{bottom:-o.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))}),lS=e=>n(n({},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"}}]}),sS=e=>n(n({},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 cS=e=>sE(sS(e));const uS=gv(e=>({icon:{color:e.palette.text.primary}}));function dS(e){let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:o,hasSvgIconShape:i}=oS(t),{icon:a}=uS();return r?null:Ye.createElement(Gx,{title:t.label,onClick:()=>{t.action(),n()},disabled:o},i&&Ye.createElement(Tx,{className:a},sE(t.getSvgIconShape())),Ye.createElement(xb,{noWrap:!0},t.label))}const fS=Ye.forwardRef((e,t)=>{let{actions:r=[],show:i=!0,alignTo:a,popoverProps:l={},popoverPaperStyle:s={},onCloseOrActionClick:c=(()=>{})}=e;return r.length>0&&Ye.createElement(jx,o({},l,{onClose:c,ref:t,open:i,anchorEl:a.current,getContentAnchorEl:null,container:a.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:n({pointerEvents:"auto",maxWidth:"250px"},s)}}),Ye.createElement(Vx,null,r.map((e,t)=>Ye.createElement(dS,{key:t,item:e,onActionClick:c}))))}),pS="njs-action-toolbar-popover",hS=gv(e=>({itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}})),mS=Ye.forwardRef((e,t)=>{let{actions:n=[],first:r=!1,last:o=!1,addAnchor:i=!1}=e;const{itemSpacing:a,firstItemSpacing:l,lastItemSpacing:s}=hS();return n.length>0?Ye.createElement(vx,{item:!0,container:!0,spacing:0,wrap:"nowrap"},n.map((e,c)=>{let u=[];const d=r&&0===c,f=o&&n.length-1===c;return d&&!f&&(u=[l]),f&&!d&&(u=[...u,s]),d||f||0!==u.length||(u=[a]),Ye.createElement(vx,{item:!0,key:e.key,className:u.join(" ").trim()},Ye.createElement(aS,{key:e.key,item:e,ref:0===c?t:null,addAnchor:i}))})):null}),gS={pointerEvents:"none"},vS={vertical:"top",horizontal:"right"},yS={vertical:"bottom",horizontal:"right"};function bS(e){let{show:t=!0,actions:n=[],maxItems:r=3,selections:o={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:i={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:a={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:i}=ye.exports.useContext(Nv);return[{key:"clear",type:"icon-button",label:i.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:sS},{key:"cancel",type:"icon-button",label:i.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{o(e),r(),t.cancel()},getSvgIconShape:lS},{key:"confirm",type:"icon-button",label:i.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{o(e),n(),t.confirm()},getSvgIconShape:ME}]}(o),{itemSpacing:u}=hS(),{translator:d,keyboardNavigation:f}=ye.exports.useContext(Nv),[p,h]=ye.exports.useState(!1),[m,g]=ye.exports.useState(i.enabled),[v,y]=ye.exports.useState(i.actions),[b,x]=ye.exports.useState(i.alignTo),E=ye.exports.useRef(),S=ye.exports.useRef(),w=pm(),C=ye.exports.useMemo(()=>({margin:w.spacing(.5,0)})),k=e=>{const t=S.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};ye.exports.useEffect(()=>()=>h(!1),[a.show]),ye.exports.useEffect(()=>{g(i.enabled)},[i.enabled]),ye.exports.useEffect(()=>{if(!l)return;l.on("focus_toolbar_first",()=>{const e=k(!1);e&&e.focus()}),l.on("focus_toolbar_last",()=>{const e=k(!0);e&&e.focus()})},[]);const L=ye.exports.useMemo(()=>n.filter(e=>!e.hidden),[n]);if(!o.show&&0===L.length)return null;const R={key:"more",label:d.get("Menu.More"),getSvgIconShape:rS,hidden:!1,enabled:()=>m,action:()=>h(!p)};if(L.length>r){const e=L.splice(-(L.length-r)-1);g(!0),y([...e,...i.actions]),x(E)}const O=f&&l&&l.refocusContent?e=>{if("Tab"!==e.key)return;(e.shiftKey&&k(!1)===e.target||!e.shiftKey&&k(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,_=L.length>0,I=v.length>0,P=_&&o.show||I&&o.show,N=Ye.createElement(vx,{ref:S,onKeyDown:O,container:!0,spacing:0,wrap:"nowrap"},_&&Ye.createElement(mS,{actions:L,first:!0,last:!I&&!o.show}),I&&Ye.createElement(mS,{ref:E,actions:[R],first:!_,last:!o.show,addAnchor:!0}),P&&Ye.createElement(vx,{item:!0,className:u,style:C},Ye.createElement(nx,{orientation:"vertical"})),o.show&&Ye.createElement(mS,{actions:c,first:!_&&!I,last:!0}),p&&Ye.createElement(fS,{show:p,actions:v,alignTo:b,popoverProps:i.popoverProps,popoverPaperStyle:i.popoverPaperStyle,onCloseOrActionClick:()=>{h(!1)}}));return a.show?Ye.createElement(jx,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:a.show,anchorEl:a.anchorEl,anchorOrigin:vS,transformOrigin:yS,hideBackdrop:!0,style:gS,PaperProps:{className:pS,style:{pointerEvents:"auto",padding:w.spacing(1,1)}}},N):t&&N}var xS=e=>sE((e=>n(n({},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 ES=Om(e=>({root:{border:"none",borderRadius:0,"& fieldset":{border:"1px solid ".concat(e.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"}},dense:{fontSize:12,paddingLeft:e.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}})),SS="/qListObjectDef";function wS(e){let{model:t,keyboard:n,dense:r=!1}=e;const{translator:o}=ye.exports.useContext(Nv),[i,a]=ye.exports.useState(""),l=ES();return Ye.createElement(Qx,{startAdornment:Ye.createElement(kx,{position:"start"},Ye.createElement(xS,{size:r?"small":"normal"})),className:["search",l.root,r&&l.dense].filter(Boolean).join(" "),margin:"dense",fullWidth:!0,placeholder:o.get("Listbox.Search"),value:i,onChange:e=>{a(e.target.value),t.searchListObjectFor(SS,e.target.value)},onKeyDown:e=>{switch(e.key){case"Enter":t.acceptListObjectSearch(SS,!0),a("");break;case"Escape":t.abortListObjectSearch(SS)}},inputProps:{tabIndex:!n||n.enabled&&!n.active?-1:0}})}function CS(e){return Object.keys(p.prototype).forEach(t=>{e[t]=p.prototype[t]}),p.init(e),e}function kS(e,t){const[n]=uy(e),[r]=Xv(t),o=t?t.id:null,[i]=oy(),[a]=ay(),l=i.get(e.id);let s=a.get(o);return ye.exports.useEffect(()=>{n&&t&&!s&&(s=function(e){let t,{appSelections:n,appModal:r,model:o}=e,i=!1,a=!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():(i=!0,this.emit("activated"),r.begin(o,e,!0))},clear(){return a=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm(){return a=!1,i=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return a=!1,i=!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 a="resetMadeSelections"!==e.method,!!r||(o.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:a,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:a,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked),isActive:()=>i,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 CS(l),l}({appSelections:n,appModal:l,model:t}),a.set(o,s),a.dispatch(!0))},[n,t]),ye.exports.useEffect(()=>{s&&s.setLayout(r)},[s,r]),[s]}function LS(e){let{alignTo:t,show:n,close:r,app:o,fieldName:i,stateName:a="$"}=e;const l=n&&Boolean(t.current),s=pm(),[c]=Jv({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:a,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[i]}}},o,i,a),u=ye.exports.useCallback(()=>{c.lock("/qListObjectDef")},[c]),d=ye.exports.useCallback(()=>{c.unlock("/qListObjectDef")},[c]),{translator:f}=ye.exports.useContext(Nv),p=ye.exports.useRef(),[h]=kS(o,c),[m]=Xv(c);if(ye.exports.useEffect(()=>{h&&l&&(h.isModal(c)||h.goModal("/qListObjectDef"))},[h,l]),!c||!m||!f)return null;const g=!0===m.qListObject.qDimensionInfo.qLocked,v=(e,t)=>{const n="escapeKeyDown"!==t;h.noModal(n),r()},y=nS({layout:m,model:c,translator:f}),b=m.qListObject.qDimensionInfo.qStateCounts,x=b.qSelected+b.qSelectedExcluded+b.qLocked+b.qLockedExcluded>0;return Ye.createElement(jx,{open:l,onClose:v,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Ye.createElement(vx,{container:!0,direction:"column",spacing:0},Ye.createElement(vx,{item:!0,container:!0,style:{padding:s.spacing(1)}},Ye.createElement(vx,{item:!0},g?Ye.createElement(pb,{onClick:d,disabled:!g},Ye.createElement(uE,{title:f.get("Listbox.Unlock")})):Ye.createElement(pb,{onClick:u,disabled:!x},Ye.createElement(dE,{title:f.get("Listbox.Lock")}))),Ye.createElement(vx,{item:!0,xs:!0}),Ye.createElement(vx,{item:!0},Ye.createElement(bS,{more:{enabled:!g,actions:y,alignTo:p,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:h,onConfirm:v,onCancel:()=>v(0,"escapeKeyDown")}}))),Ye.createElement(vx,{item:!0,xs:!0},Ye.createElement("div",{ref:p}),Ye.createElement(wS,{model:c}),Ye.createElement(QE,{model:c,selections:h,direction:"ltr"}))))}const RS=Om(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}}));function OS(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:i=null,onClose:a=(()=>{})}=e;const{translator:l}=ye.exports.useContext(Nv),s=i||ye.exports.useRef(),c=pm(),[u,d]=ye.exports.useState(!1),f=RS(),p=e=>{e.currentTarget.contains(e.target)&&d(!u)},h=()=>{d(!1),a()},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,E=0===x&&0===m.qTotal;let S="";m.qTotal===x&&m.qTotal>1?S=l.get("CurrentSelections.All"):x>1&&m.qTotal?S=l.get("CurrentSelections.Of",[x,m.qTotal]):m.qSelectedFieldSelectionInfo&&(S=m.qSelectedFieldSelectionInfo.map(e=>e.qName).join(", ")),"$"!==t.states[r]&&(S="".concat(t.states[r],": ").concat(S));const w=[{color:c.palette.selected.main,ratio:v},{color:c.palette.selected.alternative,ratio:y},{color:c.palette.selected.excluded,ratio:b}];w.forEach((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0});let C=null,k=null,L=null,R=null;return i||(C=Ye.createElement(vx,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:m.qLocked?"0.3":""}},Ye.createElement(xb,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},m.qField),Ye.createElement(xb,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},S)),k=m.qLocked?Ye.createElement(vx,{item:!0},Ye.createElement(pb,null,Ye.createElement(uE,null))):Ye.createElement(vx,{item:!0},Ye.createElement(pb,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(m.qField,t.states[r])}},Ye.createElement(cE,null))),L=Ye.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===E&&w.map(e=>Ye.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=Ye.createElement(vx,{container:!0,spacing:0,ref:s,className:f.item,onClick:!1===o&&p||null},C,k,L,u&&Ye.createElement(LS,{alignTo:s,show:u,close:h,app:n.model,fieldName:m.qField,stateName:t.states[r]}))),i?Ye.createElement(LS,{alignTo:s,show:!0,close:h,app:n.model,fieldName:m.qField,stateName:t.states[r]}):R}var _S=e=>sE((e=>n(n({},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 IS=Om(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}));function PS(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const i=IS(),[a,l]=ye.exports.useState(!!r),[s,c]=ye.exports.useState(-1),[u,d]=ye.exports.useState(r?r.current:null),f=r||ye.exports.useRef(),{translator:p}=ye.exports.useContext(Nv),h=p.get("Selection.ClearAllStates"),m=()=>{c(-1),o()};let g=null;r||(g=Ye.createElement(Ye.Fragment,null,Ye.createElement(vx,{item:!0,xs:!0,zeroMinWidth:!0},Ye.createElement(mb,{className:i.badge,color:"secondary",badgeContent:t.states.length},Ye.createElement(xb,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Ye.createElement(vx,{item:!0},Ye.createElement("div",{style:{width:"12px"}})),Ye.createElement(vx,{item:!0},Ye.createElement(pb,null,Ye.createElement(_S,null)))));const v=Ye.createElement(Ox,{dense:!0},Ye.createElement(Px,{title:h,onClick:()=>{t.states.forEach(e=>n.clearField(t.name,e))}},Ye.createElement(Sb,{variant:"contained",fullWidth:!0},h)),t.states.map((e,r)=>Ye.createElement(Px,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),l(!1),c(t)})(e,r)},Ye.createElement(vb,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Ye.createElement(OS,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0}))))),y=Ye.createElement(jx,{open:a,onClose:()=>{l(!1),o()},anchorEl:u,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},v),b=r?y:Ye.createElement(vx,{container:!0,spacing:0,className:i.item,onClick:e=>{e.currentTarget.contains(e.target)&&(d(e.currentTarget),f.current=e.currentTarget,l(!a))}},g,a&&y,s>-1&&Ye.createElement(LS,{alignTo:f,show:s>-1,close:m,app:n.model,fieldName:t.selections[s].qField,stateName:t.states[s]}));return r&&s>-1?Ye.createElement(LS,{alignTo:f,show:s>-1,close:m,app:n.model,fieldName:t.selections[s].qField,stateName:t.states[s]}):b}const NS=Om(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}));function TS(e){let{items:t=[],api:n}=e;const r=NS(),o=pm(),[i,a]=ye.exports.useState(!1),[l,s]=ye.exports.useState(-1),[c,u]=ye.exports.useState(null),d=ye.exports.useRef(),f=()=>{s(-1)};let p=null;return l>-1&&(p=t[l].states.length>1?Ye.createElement(PS,{field:t[l],api:n,moreAlignTo:d,onClose:f}):Ye.createElement(OS,{field:t[l],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:d,onClose:f})),Ye.createElement(vx,{container:!0,spacing:0,className:r.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,a(!i))}},Ye.createElement(vx,{item:!0},Ye.createElement(vb,{borderRadius:o.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:o.palette.selected.main,color:o.palette.selected.mainContrastText}},Ye.createElement(xb,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Ye.createElement(vx,{item:!0},Ye.createElement(pb,null,Ye.createElement(_S,null))),i&&Ye.createElement(jx,{open:i,onClose:()=>{a(!1)},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},Ye.createElement(Ox,{dense:!0},t.map((e,t)=>Ye.createElement(Px,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),s(t)})(e,t)},Ye.createElement(vb,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},e.states.length>1?Ye.createElement(PS,{field:e,api:n}):Ye.createElement(OS,{field:e,api:n})))))),p)}function DS(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 MS(e){let{api:t,app:n}=e;const r=pm(),[o]=ey(n),[i]=Xv(o),[a,l]=ye.exports.useState({items:[],more:[]}),[s]=sy(),[c,u]=aE(),[d,f]=ye.exports.useState(0);return ye.exports.useEffect(()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);f(n)},[u]),ye.exports.useEffect(()=>{if(!(n&&o&&i&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&DS(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach(e=>DS(e.qSelectionObject,t,e.stateName)),Object.keys(t).map(e=>t[e])}(i);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,i,t.isInModal(),d]),Ye.createElement(vx,{ref:c,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},a.items.map(e=>Ye.createElement(vx,{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?Ye.createElement(PS,{field:e,api:t}):Ye.createElement(OS,{field:e,api:t}))),a.more.length>0&&Ye.createElement(vx,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Ye.createElement(TS,{items:a.more,api:t})))}var qS=e=>sE((e=>n(n({},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 AS=e=>sE((e=>n(n({},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 zS(e){let{api:t,app:n}=e;const{translator:r}=ye.exports.useContext(Nv),[o]=ty(n);return Ye.createElement(vx,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Ye.createElement(vx,{item:!0},Ye.createElement(pb,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back()},Ye.createElement(qS,null))),Ye.createElement(vx,{item:!0},Ye.createElement(pb,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward()},Ye.createElement(AS,null))),Ye.createElement(vx,{item:!0},Ye.createElement(pb,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear()},Ye.createElement(cS,null))))}function jS(e){let{app:t}=e;const n=pm(),[r]=uy(t);return r?Ye.createElement(vx,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Ye.createElement(vx,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Ye.createElement(zS,{api:r,app:t})),Ye.createElement(vx,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Ye.createElement(MS,{api:r,app:t}))):null}function FS(e){let{element:t,app:n}=e;return Fd.createPortal(Ye.createElement(jS,{app:n}),t)}var BS=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},US=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}}(),HS=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},WS=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},VS=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,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},$S=void 0;$S="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var GS=null,KS=null,ZS=$S.clearTimeout,XS=$S.setTimeout,QS=$S.cancelAnimationFrame||$S.mozCancelAnimationFrame||$S.webkitCancelAnimationFrame,JS=$S.requestAnimationFrame||$S.mozRequestAnimationFrame||$S.webkitRequestAnimationFrame;function YS(e){var t=void 0,n=void 0,r=void 0,o=void 0,i=void 0,a=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){a=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},i=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;a(this),this.__resizeRAF__&&GS(this.__resizeRAF__),this.__resizeRAF__=KS((function(){i(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(" "),f="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(c=!0),!1===c)for(var h=0;h<d.length;h++)if(void 0!==p.style[d[h]+"AnimationName"]){u="-"+d[h].toLowerCase()+"-",r=f[h],c=!0;break}t="@"+u+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=u+"animation: 1ms "+n+"; "}return{addResizeListener:function(i,c){if(s)i.attachEvent("onresize",c);else{if(!i.__resizeTriggers__){var u=i.ownerDocument,d=$S.getComputedStyle(i);d&&"static"===d.position&&(i.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%; }',i=n.head||n.getElementsByTagName("head")[0],a=n.createElement("style");a.id="detectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(n.createTextNode(r)),i.appendChild(a)}}(u),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=u.createElement("div")).className="resize-triggers";var f=u.createElement("div");f.className="expand-trigger",f.appendChild(u.createElement("div"));var p=u.createElement("div");p.className="contract-trigger",i.__resizeTriggers__.appendChild(f),i.__resizeTriggers__.appendChild(p),i.appendChild(i.__resizeTriggers__),a(i),i.addEventListener("scroll",l,!0),r&&(i.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&a(i)},i.__resizeTriggers__.addEventListener(r,i.__resizeTriggers__.__animationListener__))}i.__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==QS||null==JS?(GS=ZS,KS=function(e){return XS(e,20)}):(GS=function(e){var t=VS(e,2),n=t[0],r=t[1];QS(n),ZS(r)},KS=function(e){var t=JS((function(){ZS(n),e()})),n=XS((function(){QS(t),e()}),20);return[t,n]});var ew=function(e){function t(){var e,n,r;BS(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=WS(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),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 i=r._parentNode.offsetHeight||0,a=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,f=i-u-d,p=a-s-c;(!t&&r.state.height!==f||!n&&r.state.width!==p)&&(r.setState({height:i-u-d,width:a-s-c}),o({height:i,width:a}))}},r._setRef=function(e){r._autoSizer=e},WS(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),US(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=YS(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,i=e.style,a=this.state,l=a.height,s=a.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),ye.exports.createElement("div",{className:n,ref:this._setRef,style:HS({},c,i)},!d&&t(u))}}]),t}(ye.exports.PureComponent);ew.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const tw=Om(()=>({listBoxHeader:{alignSelf:"center",display:"inline-flex"}}));function nw(e){let{app:t,fieldIdentifier:r,stateName:o="$",options:i={},fieldDef:a}=e;const{title:l,direction:s,listLayout:c,search:u=!0,focusSearch:d=!1,toolbar:f=!0,rangeSelect:p=!0,checkboxes:h=!1,properties:m={},sessionModel:g,selectionsApi:v,update:y,fetchStart:b,dense:x=!1,selectDisabled:E=(()=>!1),showGray:S=!0}=i;let{frequencyMode:w,histogram:C=!1}=i;switch(a&&a.failedToFetchFieldDef&&(C=!1,w="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(w):w="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(w):w="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(w):w="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(w):w="R";break;default:w="N"}const k=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:o,qShowAlternatives:!0,qFrequencyMode:C&&"N"===w?"V":w,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:l},m);let L;if(r.qLibraryId?(k.qListObjectDef.qLibraryId=r.qLibraryId,L=r.qLibraryId):(k.qListObjectDef.qDef.qFieldDefs=[r],L=r),"N"!==w||C){const e=r.qLibraryId?a:L;k.frequencyMax={qValueExpression:"Max(AGGR(Count([".concat(e,"]), [").concat(e,"]))")}}let[R]=Jv(k,g?null:t,L,o);g&&(R=g);let O=kS(v?{}:t,R)[0];v&&(O=v);const _=pm(),I=tw(),P=ye.exports.useCallback(()=>{R.lock("/qListObjectDef")},[R]),N=ye.exports.useCallback(()=>{R.unlock("/qListObjectDef")},[R]),{translator:T,keyboardNavigation:D}=ye.exports.useContext(Nv),M=ye.exports.useRef(),[q,A]=(()=>{const[e,t]=ye.exports.useState({});return[e,ye.exports.useCallback(e=>{t({current:e})},[t])]})(),[z]=Xv(R),[j,F]=ye.exports.useState(!1),[B,U]=ye.exports.useState(!1),[H,W]=ye.exports.useState(!1),V=HE({setKeyboardActive:W}),$={enabled:D,active:H};if(ye.exports.useEffect(()=>(O&&(O.isModal(R)||(O.on("deactivated",()=>{F(!1)}),O.on("activated",()=>{F(!0)}))),()=>{O&&(O.off("deactivated"),O.off("activated"))}),[O]),ye.exports.useEffect(()=>{O&&F(O.isActive())},[O]),ye.exports.useEffect(()=>{if(q&&q.current&&(u&&d||"toggle"===u&&B)){const e=q.current.querySelector("input");e&&e.focus()}},[q&&q.current,B,u,d]),!R||!z||!T)return null;const G=!0===z.qListObject.qDimensionInfo.qLocked,K=f?nS({layout:z,model:R,translator:T}):[],Z=z.qListObject.qDimensionInfo.qStateCounts,X=Z.qSelected+Z.qSelectedExcluded+Z.qLocked+Z.qLockedExcluded>0,Q=(!0===u||"toggle"===u&&B)&&!E(),J=49+(Q?40:0)+49,Y=()=>{U(!B)};return Ye.createElement(vx,{container:!0,tabIndex:$.enabled&&!$.active?0:-1,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(J,"px")},onKeyDown:V},f&&Ye.createElement(vx,{item:!0,container:!0,style:{padding:_.spacing(1)}},Ye.createElement(vx,{item:!0},G?Ye.createElement(pb,{tabIndex:-1,onClick:N,disabled:!G},Ye.createElement(uE,{title:T.get("Listbox.Unlock")})):"toggle"!==u||X?Ye.createElement(pb,{onClick:P,tabIndex:-1,disabled:!X},Ye.createElement(dE,null)):Ye.createElement(pb,{onClick:Y,tabIndex:-1,title:T.get("Listbox.Search")},Ye.createElement(xS,null))),Ye.createElement(vx,{item:!0,className:I.listBoxHeader},Ye.createElement(xb,{variant:"h6",noWrap:!0},z.title||z.qListObject.qDimensionInfo.qFallbackTitle)),Ye.createElement(vx,{item:!0,xs:!0}),Ye.createElement(vx,{item:!0},Ye.createElement(bS,{more:{enabled:!G,actions:K,alignTo:M,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:j,api:O,onConfirm:()=>{},onCancel:()=>{}}}))),Q&&Ye.createElement(vx,{item:!0,ref:A},Ye.createElement(wS,{model:R,dense:x,keyboard:$})),Ye.createElement(vx,{item:!0,xs:!0},Ye.createElement("div",{ref:M}),Ye.createElement(ew,null,e=>{let{height:t,width:n}=e;return Ye.createElement(QE,{model:R,selections:O,direction:s,listLayout:c,frequencyMode:w,histogram:C,rangeSelect:p,checkboxes:h,height:t,width:n,update:y,fetchStart:b,dense:x,selectDisabled:E,keyboard:$,showGray:S})})))}function rw(e){let{app:t,fieldIdentifier:n,stateName:r="$",options:o={}}=e;const[i,a]=ye.exports.useState(""),[l,s]=ye.exports.useState(!1);return ye.exports.useEffect(()=>{!async function(){s(!0);try{const e=await t.getDimension(n.qLibraryId),r=await e.getLayout();a(r.qDim.qFieldDefs?r.qDim.qFieldDefs[0]:""),s(!1)}catch(e){throw s(!1),a({failedToFetchFieldDef:!0}),new Error("Disabling frequency count and histogram: ".concat(e&&e.message))}}()},[]),l?null:Ye.createElement(nw,{app:t,fieldIdentifier:n,stateName:r,options:o,fieldDef:i})}function ow(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:i}=e;const a=i.histogram||"N"!==i.frequencyMode,l=n.qLibraryId&&a?rw:nw;return Fd.createPortal(Ye.createElement(l,{app:t,fieldIdentifier:n,stateName:r,element:o,options:i}),o)}const iw=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function aw(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function lw(){return iw.map(aw).join("")}function sw(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function cw(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 uw(e){let{sn:t,properties:r,fields:o}=e;if(!o.length)return;const i=t.qae.data.targets[0];if(!i)return;const{propertyPath:a}=i,l=a.split("/");let s=r;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:r,properties:o}=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 i=o,a={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const o="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):n(n({},e),{},{qDef:e.qDef||{}});o.qDef.cId=o.qDef.cId||lw(),o.qDef.qSortCriterias=o.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],o.qOtherTotalSpec=o.qOtherTotalSpec||{},o.qAttributeExpressions=o.qAttributeExpressions||[],o.qAttributeDimensions=o.qAttributeDimensions||[],t.qDimensions.length<a.maxDimensions()?(t.qDimensions.push(o),sw(t.qInterColumnSortOrder,t.qDimensions.length-1),r.dimensions.added(o,i)):(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(o))},removeDimension(e){const n=t.qDimensions.splice(e,1)[0];cw(t.qInterColumnSortOrder,e),r.dimensions.removed(n,i,e)},addMeasure(e){const o="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):n(n({},e),{},{qDef:e.qDef||{}});o.qDef.cId=o.qDef.cId||lw(),o.qSortBy=o.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},o.qAttributeDimensions=o.qAttributeDimensions||[],o.qAttributeExpressions=o.qAttributeExpressions||[],t.qMeasures.length<a.maxMeasures()?(t.qMeasures.push(o),sw(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),r.measures.added(o,i)):(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(o))},removeMeasure(e){const n=t.qMeasures.splice(e,1)[0];cw(t.qInterColumnSortOrder,t.qDimensions.length+e),r.measures.removed(n,i,e)},maxDimensions:()=>r.dimensions.max(t.qMeasures.length),maxMeasures:()=>r.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<a.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<a.maxMeasures()};return a}({dc:s,def:i,properties:r});o.forEach(e=>{"measure"===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)?c.addMeasure(e):c.addDimension(e)})}var dw=(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},fw=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let i=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==i[t]&&null!==i[t]||(i[t]=Number.isNaN(+r[e+1])?{}:[]),i=i[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?i[o]=n:delete i[o]},pw=e=>0===Object.keys(e).length&&e.constructor===Object;var hw={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 mw=2**53-1;function gw(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function vw(e,t){const n=S(!0,{},t,e);return dw(n,"qOtherTotalSpec.qOtherCounted")||fw(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),dw(n,"qOtherTotalSpec.qOtherLimit")||fw(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function yw(e,t){return S(!0,{},t,e)}function bw(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var xw={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach(t=>{e.qLayoutExclude.changed[t].to===dw(e,t)&&fw(e,t,e.qLayoutExclude.changed[t].from)})},isMasterItemProperty:gw,importCommonProperties:function(e,t,n){const r="masterobject"===dw(t,"properties.qInfo.qType")?"masterobject":dw(n,"qInfo.qType");fw(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:vw,createDefaultMeasure:yw,resolveValue:bw,getHypercubePath:function(e){const t=dw(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 i=n.qInterColumnSortOrder.length;if(i!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());i!==o;)i<o?(hw.indexAdded(n.qInterColumnSortOrder,i),++i):(--i,hw.indexRemoved(n.qInterColumnSortOrder,i))},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=S(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?fw(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||gw(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]}),o=S(!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},i=n.measures||{max:0},a=bw(i.max,r.dimensions.length,mw),l=bw(i.min,r.dimensions.length,0);return{maxDimensions:bw(o.max,a,mw),minDimensions:bw(o.min,l,0),maxMeasures:a,minMeasures:l}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:i}=e;const a=t.data[0];return a.dimensions.length>n&&n>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>r||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!n&&a.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:i,newHyperCubeDef:a}=e;const l=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:o,defaultDimension:i}=e;const a=t.data[0];let l;if(n>0)for(l=0;l<a.dimensions.length;++l)o.qDimensions.length<n?o.qDimensions.push(vw(a.dimensions[l],i)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(vw(a.dimensions[l],i));else if(a.dimensions.length)for(l=0;l<a.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(vw(a.dimensions[l],i));if(a.excludedDimensions.length)for(l=0;l<a.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(vw(a.excludedDimensions[l],i)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(vw(a.excludedDimensions[l],i))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:o,defaultMeasure:i}=e;const a=t.data[0];let l;if(n>0)for(l=0;l<a.measures.length;++l)o.qMeasures.length<n?o.qMeasures.push(yw(a.measures[l],i)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(yw(a.measures[l],i));else if(a.measures.length)for(l=0;l<a.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push(yw(a.measures[l],i));if(a.excludedMeasures.length)for(l=0;l<a.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push(yw(a.excludedMeasures[l],i)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(yw(a.excludedMeasures[l],i))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=dw(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=dw(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach(r=>{e.qMeasures.push(r),n.measures.added(r,t)})}}};var Ew={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,i=dw(o,n||""),a=i.qHyperCubeDef,l=r.data[0];if(a.qInterColumnSortOrder||(a.qInterColumnSortOrder=[]),l.dimensions.push(...a.qDimensions),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qDimensions&&l.excludedDimensions.push(...a.qLayoutExclude.qHyperCubeDef.qDimensions),l.measures.push(...a.qMeasures),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qMeasures&&l.excludedMeasures.push(...a.qLayoutExclude.qHyperCubeDef.qMeasures),l.interColumnSortOrder=a.qInterColumnSortOrder.concat(),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();hw.isOrderedSubset(e,l.interColumnSortOrder)&&(l.interColumnSortOrder=e)}return delete a.qLayoutExclude,Object.keys(o).forEach(e=>{r.properties[e]=o[e]}),n&&(r.properties.qHyperCubeDef=i.qHyperCubeDef,delete i.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&&(xw.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!pw(o.qLayoutExclude.quarantine)||delete o.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:o={},hypercubePath:i}=e;const a={qChildren:[]},l=xw.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:i}),s=dw(n,i||"").qHyperCubeDef,c=dw(l,i||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:f,minMeasures:p}=xw.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:h=xw.getDefaultDimension(),defaultMeasure:m=xw.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,xw.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:f,minMeasures:p})&&xw.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:f,minMeasures:p,newHyperCubeDef:c}),xw.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:h}),xw.addDefaultMeasures({exportFormat:t,maxMeasures:f,minMeasures:p,newHyperCubeDef:c,defaultMeasure:m}),xw.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),xw.copyPropertyIfExist("qMaxStackedCells",s,c),xw.copyPropertyIfExist("qNoOfLeftDims",s,c),xw.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),xw.copyPropertyOrSetDefault("qMode",s,c,"S"),xw.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),xw.copyPropertyOrSetDefault("qSortbyYValue",s,c),xw.copyPropertyOrSetDefault("qIndentMode",s,c),xw.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),xw.importCommonProperties(l,t,n),xw.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:i}),xw.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:i}),a.qProperty=l,a}(e)};const Sw=e=>dw(e,"data.targets.0.propertyPath"),ww=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return Ew.exportProperties})(Sw(e))},Cw=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return Ew.importProperties})(Sw(e))},kw=async e=>{let{halo:t,model:r,cellRef:o,newType:i}=e;const a=await r.getFullPropertyTree(),l=o.current.getQae(),s=ww(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:i})).qae;return Cw(c)({exportFormat:s({propertyTree:a,hypercubePath:xw.getHypercubePath(l)}),initialProperties:n({qInfo:{qType:i},visualization:i},dw(c,"properties.initial",{})),dataDefinition:dw(c,"data.targets.0.",{}),hypercubePath:xw.getHypercubePath(c)})},Lw={hypercube:Ew};var Rw=e=>sE((e=>n(n({},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 Ow(e){let{d:t}=e;const n=pm();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 i={color:o},a=Ye.createElement(xb,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Ye.createElement(wx,null,t.missing||t.error?Ye.createElement(Rw,{style:i}):Ye.createElement(qE,{style:i})));return Ye.createElement(vx,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Ye.createElement(vx,{item:!0},a),Ye.createElement(vx,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Ye.createElement(xb,{noWrap:!0,component:"p"},Ye.createElement(xb,{component:"span",variant:"subtitle2",color:r},t.description),Ye.createElement(xb,{component:"span"}," "),Ye.createElement(xb,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function _w(e){let{data:t}=e;const n=pm();return Ye.createElement(vx,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map((e,t)=>{const r=e.descriptions.map((e,t)=>Ye.createElement(Ow,{d:e,key:t}));return r.length>0&&Ye.createElement(vx,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Ye.createElement(xb,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)}))}function Iw(e){let{title:t="Error",message:n="",data:r=[]}=e;return Ye.createElement(vx,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Ye.createElement(vx,{item:!0},Ye.createElement(Rw,{style:{fontSize:"38px"}})),Ye.createElement(vx,{item:!0},Ye.createElement(xb,{variant:"h6",align:"center","data-tid":"error-title"},t)),Ye.createElement(vx,{item:!0},Ye.createElement(xb,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Ye.createElement(_w,{data:r}))}const Pw=["size"],Nw=Om(e=>({root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}})),Tw={small:16,medium:32,large:64,xlarge:128};function Dw(e){let{size:t="medium"}=e,n=i(e,Pw);const r=Nw(),a=Tw[t];return Ye.createElement("div",{className:r.root},Ye.createElement(jb,o({variant:"determinate",value:100,className:r.back,size:a,thickness:3},n)),Ye.createElement(jb,o({variant:"indeterminate",disableShrink:!0,className:r.front,size:a,thickness:3},n)))}const Mw=["cancel","translator"],qw=["retry","translator"],Aw=gv(()=>({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 zw(e){let{cancel:t,translator:n}=e,r=i(e,Mw);return Ye.createElement(Ye.Fragment,null,Ye.createElement(vx,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},Ye.createElement(vx,{item:!0},Ye.createElement(Dw,null)),Ye.createElement(vx,{item:!0},Ye.createElement(xb,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),Ye.createElement(vx,o({item:!0},r),Ye.createElement(Sb,{variant:"contained",onClick:t},n.get("Cancel"))))}function jw(e){let{retry:t,translator:n}=e,r=i(e,qw);return Ye.createElement(Ye.Fragment,null,Ye.createElement(vx,{item:!0},Ye.createElement(Rw,{style:{fontSize:"38px"}})),Ye.createElement(vx,{item:!0},Ye.createElement(xb,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),Ye.createElement(vx,{item:!0},Ye.createElement(Sb,o({variant:"contained",onClick:t},r),n.get("Retry"))))}function Fw(e){let{canCancel:t,canRetry:n,api:r}=e;const{stripes:o,cancel:i,retry:a}=Aw(),{translator:l}=ye.exports.useContext(Nv);return Ye.createElement(vx,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:o,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},t&&Ye.createElement(zw,{cancel:r.cancel,translator:l,className:i}),n&&Ye.createElement(jw,{retry:r.retry,translator:l,className:a}))}function Bw(){return Ye.createElement(vx,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},Ye.createElement(Dw,{size:"large"}))}const Uw="njs-cell-title",Hw="njs-cell-sub-title",Ww=gv(e=>({containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}}));function Vw(e){let{layout:t,sn:n,anchorEl:r,hovering:o,focusHandler:i}=e;const a=t.showTitles&&!!t.title,l=t.showTitles&&!!t.subtitle,s=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[c,u]=ye.exports.useState([]),{containerStyle:d,containerTitleStyle:f}=Ww(),[p,h]=aE(),[m,g]=ye.exports.useState(!1);ye.exports.useEffect(()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions(e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])})},[n]),ye.exports.useEffect(()=>{if(!h)return;const{width:e}=h;g(e<221)},[h]);const v=a||l,y=[d,...v?[f]:[]],b=(o||s)&&(m||!v),x=v&&!b&&!m,E=Ye.createElement(bS,{show:x,selections:{show:s,api:n.component.selections,onKeyDeactivate:i.refocusContent},actions:c,popover:{show:b,anchorEl:r},focusHandler:i});return Ye.createElement(vx,{ref:p,item:!0,container:!0,wrap:"nowrap",className:y.join(" ")},Ye.createElement(vx,{item:!0,zeroMinWidth:!0,xs:!0},Ye.createElement(vx,{container:!0,wrap:"nowrap",direction:"column"},a&&Ye.createElement(xb,{variant:"h6",noWrap:!0,className:Uw},t.title),l&&Ye.createElement(xb,{variant:"body2",noWrap:!0,className:Hw},t.subtitle))),Ye.createElement(vx,{item:!0},E))}const $w="njs-cell-footer",Gw=gv(e=>({itemStyle:{minWidth:0,paddingTop:e.spacing(1)}}));function Kw(e){let{layout:t}=e;const{itemStyle:n}=Gw();return t&&t.showTitles&&t.footnote?Ye.createElement(vx,{container:!0},Ye.createElement(vx,{item:!0,className:n},Ye.createElement(xb,{noWrap:!0,variant:"body2",className:$w},t.footnote))):null}class Zw{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 Xw="njs-viz";function Qw(e){let{sn:t,snOptions:r,snPlugins:o,layout:i,appLayout:a,halo:l}=e;const{component:s}=t,{theme:c,language:u,constraints:d,keyboardNavigation:f}=ye.exports.useContext(Nv),[p]=ye.exports.useState(()=>new Zw),[h,m]=ye.exports.useState(!1),[g,v]=ye.exports.useState(0),[y,b,x]=aE(),[E,S]=ye.exports.useState(null),w=ye.exports.useCallback(e=>{e&&S(e)},[]);return ye.exports.useEffect(()=>{if(E)return s.created({options:r}),s.mounted(E),m(!0),()=>{p.stop(),s.willUnmount()}},[E,s]),ye.exports.useEffect(()=>{h&&E&&b&&(!s.isHooked&&i&&i.qSelectionInfo&&i.qSelectionInfo.qInSelections||p.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:i,options:r,plugins:o,embed:l.public.nebbie,context:n({constraints:d,theme:l.public.theme,appLayout:a,keyboardNavigation:f},s.isHooked?{}:{logicalSize:t.logicalSize({layout:i}),localeInfo:(a||{}).qLocaleInfo,permissions:e})})).then(e=>{!1!==e&&(0===g&&"function"==typeof r.onInitialRender&&r.onInitialRender.call(null),v(g+1))})}))},[b,r,o,E,x,i,a,c,u,d,h,f]),Ye.createElement("div",{ref:y,"data-render-count":g,style:{position:"relative",height:"100%"},className:Xw},Ye.createElement("div",{ref:w,style:{position:"absolute",width:"100%",height:"100%"}}))}const Jw="njs-cell",Yw=(e,t)=>{switch(t.type){case"LOADING":return n(n({},e),{},{loading:!0});case"LOADED":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return n(n({},e),{},{longRunningQuery:!0});case"ERROR":return n(n({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function eC(e){let{delay:t=750}=e;const[n,r]=ye.exports.useState(!1);return ye.exports.useEffect(()=>{const e=setTimeout(()=>r(!0),t);return()=>clearTimeout(e)},[]),n?Ye.createElement(Bw,null):null}const tC=e=>!e.qError||7005===e.qError.qErrorCode,nC=(e,t,n,r,o)=>[...Array(e).keys()].map(e=>{const i=!(!t||!t[e]),a=i&&t[e].qError&&7005===t[e].qError.qErrorCode,l=i&&!a&&t[e].qError,s=a&&t[e].qCalcCondMsg,c="".concat(l?r:a?s||o:i&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(c.length?":":""):null,label:c,missing:t&&!i&&!l&&e>=t.length||a,error:l}}),rC=e=>e&&(Array.isArray(e)?e:[e])||[],oC=(e,t,n,r)=>{const o=r.dimensions.min(),i=r.measures.min(),a=r.resolveLayout(t);return{reqDimErrors:nC(o,rC(a.qDimensionInfo),e=>r.dimensions.description(n,e),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:nC(i,rC(a.qMeasureInfo),e=>r.measures.description(n,e),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},iC=async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:i,aggMinD:a,aggMinM:l,hasLayoutErrors:s,layoutErrors:c}=((e,t,n)=>{let r=!1,o=0,i=0,a=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),f=u.measures.min(),p=u.resolveLayout(n),h=rC(p.qDimensionInfo).filter(tC),m=rC(p.qMeasureInfo).filter(tC);if(o+=d,i+=f,(h.length<d||m.length<f)&&(r=!0),p.qError){a=!0,l=7005===p.qError.qErrorCode;const t=l&&p.qCalcCondMsg?p.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:i,hasLayoutErrors:a,layoutErrors:s}})(e,o,t),u=[],d=[];let f=null;for(let n=0;n<o.length;++n){const a=o[n];if(!s&&i){const n=f||await r.getProperties();f=n;const o=oC(e,t,n,a);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const p=u.filter(e=>!(e.missing||e.error)).length,h=e.get("Visualization.Incomplete.Dimensions",[p,a]),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||i,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:y}]},aC=ye.exports.forwardRef((e,t)=>{let{halo:r,model:o,initialSnOptions:i,initialSnPlugins:a,initialError:l,onMount:s,currentId:c}=e;const{app:u,types:d}=r,{nebbie:f}=r.public,{disableCellPadding:p=!1}=r.context||{},{translator:h,language:m,keyboardNavigation:g}=ye.exports.useContext(Nv),v=pm(),[y,b,x]=aE(),[E,S]=ye.exports.useReducer(Yw,{loading:!1,loaded:!1,longRunningQuery:!1,error:(w=l)?{title:w.message}:null,sn:null,visualization:null});var w;const[C,{validating:k,canCancel:L,canRetry:R},O]=Xv(o),[_]=Qv(u),[I,P,N]=aE(),[T,D]=ye.exports.useState(i),[M,q]=ye.exports.useState(a),[A]=kS(u,o),[z,j]=ye.exports.useState(!1),F=ye.exports.useRef({enter:null,leave:null}),B=ye.exports.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});ye.exports.useEffect(()=>{CS(B.current)},[]),B.current.blurCallback=e=>{r.root.toggleFocusOfCells(),e&&N&&N.focus()},B.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()};ye.exports.useEffect(()=>{if(l||!_||!C)return;if(E.visualization===C.visualization&&E.sn)return void(async e=>{const[t,n]=await iC(h,C,e.generator.qae.data,o);S(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:C,model:o})})(E.sn);const e=d.getSupportedVersion(C.visualization,C.version);if(e)return(async(e,t)=>{S({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:i,app:a,selections:l,nebbie:s,focusHandler:c}=e;try{return(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})).create({model:i,app:a,selections:l,nebbie:s,focusHandler:c})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:S,types:d,visualization:e,version:t,model:o,app:u,selections:A,nebbie:f,focusHandler:B.current});n&&(S({type:"LOADED",sn:n,visualization:e}),s())})(C.visualization,e),()=>{};S({type:"ERROR",error:{title:"Could not find a version of '".concat(C.visualization,"' that supports current object version. Did you forget to register ").concat(C.visualization,"?")}})},[d,E.sn,o,C,_,m]),ye.exports.useEffect(()=>{if(!k)return;const e=setTimeout(()=>S({type:"LONG_RUNNING_QUERY"}),2e3);return()=>clearTimeout(e)},[k]),ye.exports.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:D,setSnPlugins:q,async takeSnapshot(){const{width:e,height:t}=b;let n=JSON.parse(JSON.stringify(C));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:h.language(),theme:v.name,appLayout:_,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof r.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return r.config.snapshot.capture(e)}}),[E.sn,P,b,C,v.name,_]);let U=null;return E.loading&&!E.longRunningQuery?U=Ye.createElement(eC,null):E.error?U=Ye.createElement(Iw,E.error):E.loaded&&(U=Ye.createElement(Qw,{key:C.visualization,sn:E.sn,halo:r,snOptions:T,snPlugins:M,layout:C,appLayout:_})),Ye.createElement(ob,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:Jw,ref:y,onMouseEnter:()=>{F.current.leave&&clearTimeout(F.current.leave),F.enter||(F.current.enter=setTimeout(()=>{j(!0),F.current.enter=null},250))},onMouseLeave:()=>{F.current.enter&&clearTimeout(F.current.enter),F.current.leave||(F.current.leave=setTimeout(()=>{j(!1),F.current.leave=null},750))}},Ye.createElement(vx,{container:!0,direction:"column",spacing:0,style:n(n({position:"relative",width:"100%",height:"100%"},p?{}:{padding:v.spacing(1)}),E.longRunningQuery?{opacity:"0.3"}:{})},x&&C&&E.sn&&Ye.createElement(Vw,{layout:C,sn:E.sn,anchorEl:x,hovering:z,focusHandler:B.current}," "),Ye.createElement(vx,{tabIndex:g?0:-1,onKeyDown:g?e=>{["Enter"," ","Spacebar"].includes(e.key)&&r.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:I},U),Ye.createElement(Kw,{layout:C})),E.longRunningQuery&&Ye.createElement(Fw,{canCancel:L,canRetry:R,api:O}))});function lC(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:i,onMount:a,initialError:l}=e;const{root:s}=t,c=Ye.createRef(),u=lw(),d=Fd.createPortal(Ye.createElement(aC,{ref:c,halo:t,model:r,currentId:u,initialSnOptions:o,initialSnPlugins:i,initialError:l,onMount:a}),n,r.id),f=()=>{s.remove(d),r.removeListener("closed",f)};return r.on("closed",f),s.add(d),s.addCell(u,c),[f,c]}function sC(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function cC(e,t){return sC(e)&&sC(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function uC(){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 i=t[o];"object"!=typeof n[o]||"object"!=typeof i||Array.isArray(i)?cC(i,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...uC("".concat(e).concat(o,"/"),t[o],n[o]))}),r}function dC(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 fC=()=>{};function pC(){let{model:e,halo:t,initialError:r,onDestroy:o=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=fC,a=null,l=null,s=null;const c=new Promise(e=>{s=e});let u={},d=[];const f=async e=>{l?(async()=>{await c,a.current.setSnOptions(n(n({},u),e))})():u=n(n({},u),e)},p=async e=>{dC(e),l?(async()=>{await c,a.current.setSnPlugins(e)})():d=e},h={id:e.id,async destroy(){await o(),i(),i=fC},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await kw({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(n){if(l)throw new Error("Already mounted");return l=n,[i,a]=lC({halo:t,element:n,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:r,onMount:s}),c},async applyProperties(t){const n=uC("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){f(e)},plugins(e){p(e)},exportImage:()=>a.current.exportImage(),takeSnapshot:()=>a.current.takeSnapshot(),getModel:()=>e}};return h}async function hC(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const i=pC({model:e,halo:n,initialError:r,onDestroy:o});return t.options&&i.__DO_NOT_USE__.options(t.options),t.plugins&&i.__DO_NOT_USE__.plugins(t.plugins),t.element&&await i.__DO_NOT_USE__.mount(t.element),i}async function mC(e,t){let n,{type:r,version:o,fields:i,properties:a,options:l,plugins:s,element:c}=e,u={};try{const e=t.types.get({name:r,version:o});u=await e.initialProperties(a);const n=await e.supernova();i&&uw({sn:n,properties:u,fields:i}),a&&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);Gv.set(d.id,d);const f=(e=>{const t=Vv({type:"SET",value:e});return()=>{t(),Gv.clear(e.id)}})(d);return hC(d,{options:l,plugins:s,element:c},t,n,async()=>{await t.app.destroySessionObject(d.id),f()})}async function gC(e,t){let{id:n,options:r,plugins:o,element:i}=e;const a="".concat(n);let l=Bv.get(a);l||(l=t.app.getObject(n),Bv.set(a,l));const s=await l;return Gv.set(a,s),hC(s,{options:r,plugins:o,element:i},t)}function vC(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const yC=S.bind(null,!0),bC={},{isArray:xC}=Array;function EC(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function SC(e){return void 0===e}function wC(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function CC(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach((t,o)=>{if(o===n.length)return;r=+t;const i=isNaN(r)?{}:[];e[r||t]=SC(e[r||t])?i:e[t],e=e[r||t]}),e}function kC(e,t){let n=!0;if(EC(e)&&EC(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach(r=>{kC(e[r],t[r])||(n=!1)}),n);if(xC(e)&&xC(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!kC(e[n],t[n]))return!1;return!0}return e===t}bC.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach(o=>{const i=function(e){return e?yC({},{val:e}).val:e}(t[o]),a=e[o],l="".concat(n,"/").concat(o);kC(i,a)||wC(t,o)||(SC(a)?r.push({op:"add",path:l,value:i}):EC(i)&&EC(a)?r=r.concat(bC.generate(a,i,l)):xC(i)&&xC(a)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let i=-1;function a(e,t,n){if(e[n]&&SC(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(kC(t,o))return r;if(!SC(t[0])&&SC(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)i=a(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===i?(r.push({op:"remove",path:"".concat(n,"/").concat(e)}),o.splice(e,1)):r=r.concat(bC.generate(o[e],t[i],"".concat(n,"/").concat(e)));for(let e=0,l=t.length;e<l;e+=1)i=a(o,t[e].qInfo&&t[e].qInfo.qId),-1===i?(r.push({op:"add",path:"".concat(n,"/").concat(e),value:t[e]}),o.splice(e,0,t[e])):i!==e&&(r.push({op:"move",path:"".concat(n,"/").concat(e),from:"".concat(n,"/").concat(i)}),o.splice(e,0,o.splice(i,1)[0]));return r}(a,i,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:i}))}),Object.keys(e).forEach(o=>{SC(t[o])&&!wC(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})}),r},bC.apply=function(e,t){t.forEach(t=>{let n=CC(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const i=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(xC(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(xC(o)&&xC(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(EC(o)&&EC(t.value))a=o,Object.keys(a).forEach(e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!wC(a,e)&&delete a[e]}),yC(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=CC(e,t.from);xC(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&(xC(n)?n.splice(+r,1):delete n[r]);var a})},bC.clone=function(e){return yC({},e)},bC.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},bC.updateObject=function(e,t){Object.keys(e).length?bC.apply(e,bC.generate(e,t)):yC(e,t)};const LC=e=>t=>{const r=(o=n(n({},t),{},{action(){"function"==typeof t.action&&t.action.call(r,e),r.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(r,e),active:"function"==typeof t.active?function(){return t.active.call(r,e)}:void 0}),Object.keys(p.prototype).forEach(e=>{o[e]=p.prototype[e]}),p.init(o),o);var o;return r};let RC,OC;function _C(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 IC(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:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function PC(e){TC(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 NC(e){if(e.__hooks.obsolete)return Promise.resolve();OC=-1,RC=e,RC.__hooks.initiated&&RC.__hooks.list.length;try{RC.fn.call(null)}catch(e){console.error(e)}RC.__hooks.initiated=!0;const t=RC.__hooks;return qC(RC),OC=void 0,RC=void 0,t.chain.promise||(t.chain.promise=new Promise(e=>{t.chain.resolve=e})),function(e){TC(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame(()=>{!function(e){TC(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 TC(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 DC(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 MC(e){return e.__hooks.imperativeHandle}function qC(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function AC(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,qC(e))}function zC(e){if(void 0===RC)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=RC.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function jC(e){zC(++OC);return RC.context[e]}function FC(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function BC(e){return{__hooked:!0,fn:e,initiate:IC,run:NC,teardown:PC,runSnaps:DC,focus:GC,blur:KC,observeActions:AC,getImperativeHandle:MC,updateRectOnNextRun:FC}}function UC(e){const t=zC(++OC);if(!t.value){t.component=RC;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,NC(r)},0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function HC(e,t){const n=zC(++OC);_C(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===RC.__hooks.pendingEffects.indexOf(n)&&RC.__hooks.pendingEffects.push(n))}function WC(e,t){const n=zC(++OC);_C(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],RC.__hooks.pendingLayoutEffects.push(n))}function VC(e,t){const n=zC(++OC);return _C(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function $C(){return jC("element")}function GC(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 KC(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 ZC={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},XC=Object.keys(ZC);function QC(e,t){const r=n({},ZC);var o;o=r,Object.keys(p.prototype).forEach(e=>{o[e]=p.prototype[e]}),p.init(o);const i={emit(){r.emit(...arguments)}};Object.keys(e.component||{}).forEach(t=>{-1!==XC.indexOf(t)?r[t]=e.component[t].bind(i):i[t]=e.component[t]});const a=function(e){let{sn:t,component:n}=e;const r={},o=[],i=LC(n);return((t.definition.selectionToolbar||{}).items||[]).forEach(e=>{const t=i(e);r[e.key]=t,o.push(t)}),(t.definition.actions||[]).forEach(e=>{const t=i(e);r[e.key]=t}),{actions:r,selectionToolbarItems:o,destroy(){o.length=0}}}({sn:e,component:i}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(i,{model:t.model,app:t.app,global:l,selections:t.selections,actions:a.actions}),Object.assign(r,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[r,a]}function JC(e,t,r){"function"==typeof e.component&&(e.component=BC(e.component));const[o,i]=e.component&&e.component.__hooked?function(e,t,r){const o=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let i=!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:o,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:r.deviceType,theme:void 0,translator:r.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 r=!i||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(r=!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,r=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let n=!1;Object.keys(t.options).forEach(r=>{e[r]=t.options[r],this.context.options[r]!==t.options[r]&&(n=!0)}),n&&(this.context.options=e,r=!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],r=!0)}l.forEach(e=>{const o=t.context;if(o&&Object.prototype.hasOwnProperty.call(o,e)){let t=JSON.stringify(o[e]);"constraints"===e&&(t=JSON.stringify(n(n({},o[e]),s))),t!==a[e]&&(r=!0,a[e]=t,this.context[e]=JSON.parse(t))}})}else r=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(r=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(r=!0,a.language=c.context.translator.language()),r?(i=!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)},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,r):QC(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 i=bC.clone(o),a=n.map(e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath}));bC.apply(o,a),e.qae.properties.onChange.call({model:t.model},o);const l=bC.generate(i,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:o,selectionToolbar:{items:i?i.selectionToolbarItems:[]},destroy(){a.forEach(e=>e())},logicalSize:e.definition.logicalSize||(()=>!1)}}const YC=()=>{};function ek(e,t){return void 0===e?()=>t:()=>e}function tk(e){const t=e||{};return{min:"function"==typeof t.min?t.min:ek(t.min,0),max:"function"==typeof t.max?t.max:ek(t.max,1e3),added:t.added||t.add||YC,description:t.description||YC,moved:t.moved||t.move||YC,removed:t.removed||t.remove||YC,replaced:t.replaced||t.replace||YC,isDefined:()=>!!e}}function nk(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:tk(e.dimensions),measures:tk(e.measures)}}function rk(){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(nk)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function ok(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:rk(n.qae),component:n.component||{},create:e=>JC(r,e,t),definition:{}};return Object.keys(n).forEach(e=>{r[e]||(r.definition[e]=n[e])}),r}var ik={exports:{}};!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=[],i=t.src=[],a=t.tokens={},l=0;function s(e){a[e]=l++}s("NUMERICIDENTIFIER"),i[a.NUMERICIDENTIFIER]="0|[1-9]\\d*",s("NUMERICIDENTIFIERLOOSE"),i[a.NUMERICIDENTIFIERLOOSE]="[0-9]+",s("NONNUMERICIDENTIFIER"),i[a.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",s("MAINVERSION"),i[a.MAINVERSION]="("+i[a.NUMERICIDENTIFIER]+")\\.("+i[a.NUMERICIDENTIFIER]+")\\.("+i[a.NUMERICIDENTIFIER]+")",s("MAINVERSIONLOOSE"),i[a.MAINVERSIONLOOSE]="("+i[a.NUMERICIDENTIFIERLOOSE]+")\\.("+i[a.NUMERICIDENTIFIERLOOSE]+")\\.("+i[a.NUMERICIDENTIFIERLOOSE]+")",s("PRERELEASEIDENTIFIER"),i[a.PRERELEASEIDENTIFIER]="(?:"+i[a.NUMERICIDENTIFIER]+"|"+i[a.NONNUMERICIDENTIFIER]+")",s("PRERELEASEIDENTIFIERLOOSE"),i[a.PRERELEASEIDENTIFIERLOOSE]="(?:"+i[a.NUMERICIDENTIFIERLOOSE]+"|"+i[a.NONNUMERICIDENTIFIER]+")",s("PRERELEASE"),i[a.PRERELEASE]="(?:-("+i[a.PRERELEASEIDENTIFIER]+"(?:\\."+i[a.PRERELEASEIDENTIFIER]+")*))",s("PRERELEASELOOSE"),i[a.PRERELEASELOOSE]="(?:-?("+i[a.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+i[a.PRERELEASEIDENTIFIERLOOSE]+")*))",s("BUILDIDENTIFIER"),i[a.BUILDIDENTIFIER]="[0-9A-Za-z-]+",s("BUILD"),i[a.BUILD]="(?:\\+("+i[a.BUILDIDENTIFIER]+"(?:\\."+i[a.BUILDIDENTIFIER]+")*))",s("FULL"),s("FULLPLAIN"),i[a.FULLPLAIN]="v?"+i[a.MAINVERSION]+i[a.PRERELEASE]+"?"+i[a.BUILD]+"?",i[a.FULL]="^"+i[a.FULLPLAIN]+"$",s("LOOSEPLAIN"),i[a.LOOSEPLAIN]="[v=\\s]*"+i[a.MAINVERSIONLOOSE]+i[a.PRERELEASELOOSE]+"?"+i[a.BUILD]+"?",s("LOOSE"),i[a.LOOSE]="^"+i[a.LOOSEPLAIN]+"$",s("GTLT"),i[a.GTLT]="((?:<|>)?=?)",s("XRANGEIDENTIFIERLOOSE"),i[a.XRANGEIDENTIFIERLOOSE]=i[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",s("XRANGEIDENTIFIER"),i[a.XRANGEIDENTIFIER]=i[a.NUMERICIDENTIFIER]+"|x|X|\\*",s("XRANGEPLAIN"),i[a.XRANGEPLAIN]="[v=\\s]*("+i[a.XRANGEIDENTIFIER]+")(?:\\.("+i[a.XRANGEIDENTIFIER]+")(?:\\.("+i[a.XRANGEIDENTIFIER]+")(?:"+i[a.PRERELEASE]+")?"+i[a.BUILD]+"?)?)?",s("XRANGEPLAINLOOSE"),i[a.XRANGEPLAINLOOSE]="[v=\\s]*("+i[a.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+i[a.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+i[a.XRANGEIDENTIFIERLOOSE]+")(?:"+i[a.PRERELEASELOOSE]+")?"+i[a.BUILD]+"?)?)?",s("XRANGE"),i[a.XRANGE]="^"+i[a.GTLT]+"\\s*"+i[a.XRANGEPLAIN]+"$",s("XRANGELOOSE"),i[a.XRANGELOOSE]="^"+i[a.GTLT]+"\\s*"+i[a.XRANGEPLAINLOOSE]+"$",s("COERCE"),i[a.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",s("COERCERTL"),o[a.COERCERTL]=new RegExp(i[a.COERCE],"g"),s("LONETILDE"),i[a.LONETILDE]="(?:~>?)",s("TILDETRIM"),i[a.TILDETRIM]="(\\s*)"+i[a.LONETILDE]+"\\s+",o[a.TILDETRIM]=new RegExp(i[a.TILDETRIM],"g");s("TILDE"),i[a.TILDE]="^"+i[a.LONETILDE]+i[a.XRANGEPLAIN]+"$",s("TILDELOOSE"),i[a.TILDELOOSE]="^"+i[a.LONETILDE]+i[a.XRANGEPLAINLOOSE]+"$",s("LONECARET"),i[a.LONECARET]="(?:\\^)",s("CARETTRIM"),i[a.CARETTRIM]="(\\s*)"+i[a.LONECARET]+"\\s+",o[a.CARETTRIM]=new RegExp(i[a.CARETTRIM],"g");s("CARET"),i[a.CARET]="^"+i[a.LONECARET]+i[a.XRANGEPLAIN]+"$",s("CARETLOOSE"),i[a.CARETLOOSE]="^"+i[a.LONECARET]+i[a.XRANGEPLAINLOOSE]+"$",s("COMPARATORLOOSE"),i[a.COMPARATORLOOSE]="^"+i[a.GTLT]+"\\s*("+i[a.LOOSEPLAIN]+")$|^$",s("COMPARATOR"),i[a.COMPARATOR]="^"+i[a.GTLT]+"\\s*("+i[a.FULLPLAIN]+")$|^$",s("COMPARATORTRIM"),i[a.COMPARATORTRIM]="(\\s*)"+i[a.GTLT]+"\\s*("+i[a.LOOSEPLAIN]+"|"+i[a.XRANGEPLAIN]+")",o[a.COMPARATORTRIM]=new RegExp(i[a.COMPARATORTRIM],"g");s("HYPHENRANGE"),i[a.HYPHENRANGE]="^\\s*("+i[a.XRANGEPLAIN]+")\\s+-\\s+("+i[a.XRANGEPLAIN]+")\\s*$",s("HYPHENRANGELOOSE"),i[a.HYPHENRANGELOOSE]="^\\s*("+i[a.XRANGEPLAINLOOSE]+")\\s+-\\s+("+i[a.XRANGEPLAINLOOSE]+")\\s*$",s("STAR"),i[a.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<l;c++)n(c,i[c]),o[c]||(o[c]=new RegExp(i[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[a.LOOSE]:o[a.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 i=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!i)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[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");i[4]?this.prerelease=i[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=i[5]?i[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)),p(this.major,e.major)||p(this.minor,e.minor)||p(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 p(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 p(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 i="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return o+a;return i},t.compareIdentifiers=p;var f=/^[0-9]+$/;function p(e,t){var n=f.test(e),r=f.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 E(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 S(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof S){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof S))return new S(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===w?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return p(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=E,t.Comparator=S;var w={};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 S)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,i,a,l,s,c,u,d,f){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!==w&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function _(e,t,n){try{t=new C(t,n)}catch(e){return!1}return t.test(e)}function I(e,t,n,r){var o,i,a,l,s;switch(e=new d(e,r),t=new C(t,r),n){case">":o=m,i=x,a=g,l=">",s=">=";break;case"<":o=g,i=b,a=m,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_(e,t,r))return!1;for(var c=0;c<t.set.length;++c){var u=t.set[c],f=null,p=null;if(u.forEach((function(e){e.semver===w&&(e=new S(">=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)})),f.operator===l||f.operator===s)return!1;if((!p.operator||p.operator===l)&&i(e,p.semver))return!1;if(p.operator===s&&a(e,p.semver))return!1}return!0}S.prototype.parse=function(e){var t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.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=w},S.prototype.toString=function(){return this.value},S.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===w||e===w)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return E(e,this.operator,this.semver,this.options)},S.prototype.intersects=function(e,t){if(!(e instanceof S))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),_(this.value,n,t));if(""===e.operator)return""===e.value||(n=new C(this.value,t),_(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),l=E(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),s=E(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||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[a.HYPHENRANGELOOSE]:o[a.HYPHENRANGE];e=e.replace(r,R),n("hyphen replace",e),e=e.replace(o[a.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,o[a.COMPARATORTRIM]),e=(e=(e=e.replace(o[a.TILDETRIM],"$1~")).replace(o[a.CARETTRIM],"$1^")).split(/\s+/).join(" ");var i=t?o[a.COMPARATORLOOSE]:o[a.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[a.CARETLOOSE]:o[a.CARET];return e.replace(r,(function(t,r,o,i,a){var l;return n("caret",e,t,r,o,i,a),L(r)?l="":L(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":L(i)?l="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),l="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),l="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+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[a.TILDELOOSE]:o[a.TILDE];return e.replace(r,(function(t,r,o,i,a){var l;return n("tilde",e,t,r,o,i,a),L(r)?l="":L(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":L(i)?l=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":a?(n("replaceTilde pr",a),l=">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0"):l=">="+r+"."+o+"."+i+" <"+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[a.XRANGELOOSE]:o[a.XRANGE];return e.replace(r,(function(r,o,i,a,l,s){n("xRange",e,r,o,i,a,l,s);var c=L(i),u=c||L(a),d=u||L(l),f=d;return"="===o&&f&&(o=""),s=t.includePrerelease?"-0":"",c?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&f?(u&&(a=0),l=0,">"===o?(o=">=",u?(i=+i+1,a=0,l=0):(a=+a+1,l=0)):"<="===o&&(o="<",u?i=+i+1:a=+a+1),r=o+i+"."+a+"."+l+s):u?r=">="+i+".0.0"+s+" <"+(+i+1)+".0.0"+s:d&&(r=">="+i+"."+a+".0"+s+" <"+i+"."+(+a+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[a.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(i)}))),l=l.map((function(e){return new S(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=_,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new C(t,n)}catch(e){return null}return e.forEach((function(e){i.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 i=new C(t,n)}catch(e){return null}return e.forEach((function(e){i.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 I(e,t,"<",n)},t.gtr=function(e,t,n){return I(e,t,">",n)},t.outside=I,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[a.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[a.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;o[a.COERCERTL].lastIndex=-1}else n=e.match(o[a.COERCE]);if(null===n)return null;return u(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(ik,ik.exports);const ak={};async function lk(e,t,n,r){let{config:o}=n;const i="".concat(e,"__").concat(t);if(!ak[i]){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 a=(r||o.load)({name:e,version:t}),l=Promise.resolve(a);ak[i]=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 ak[i]}function sk(e,t){const r={};let o=null;return{get:e=>r[e],register:(i,a)=>{if(r[i])throw new Error("Supernova '".concat(e,"@").concat(i,"' already registered."));r[i]=function(e,t){let r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:a}=i,l={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||ik.exports.satisfies(e,a.deps.properties),supernova:()=>lk(l.name,l.version,t,i.load).then(e=>(r=r||ok(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r)),initialProperties(e){return this.supernova().then(()=>n(n({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(o)),e))}};return l}({name:e,version:i},t,a),o=null},getMatchingVersionFromProperties:e=>{var t;o||(t=Object.keys(r),o=[...t.filter(e=>"undefined"===e),...t.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("."))]);for(let t=o.length-1;t>=0;t--){if(r[o[t]].supportsPropertiesVersion(e))return o[t]}return null},versions:r}}function ck(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=sk(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(ak).forEach(t=>{t.split("__")[0]===e&&(ak[t]=void 0)})}(e)}}}const uk=["__DO_NOT_USE__"],dk=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(n({},e),t)},fk=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)},pk=(e,t)=>({context:dk(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:fk(e.types,t.types),themes:fk(e.themes,t.themes),flags:dk(e.flags,t.flags),anything:dk(e.anything,t.anything)}),hk=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,r=i(e,uk),o={update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0},a=n(n(n({},r),o),t);return a};var mk=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=u(t.context.language);function o(e,i){if(i)return o.createConfiguration(i)(e);let a=n(n({},t.context),{},{translator:r.translator});const[l]=py({app:e,context:a}),s=ge({themes:t.themes,root:l}),c={galaxy:{translator:r.translator,flags:vC(t.flags),deviceType:ve(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:r.translator,nebbie:null},u={app:e,root:l,config:t,public:c,context:a,types:null},d=ck({halo:u});t.types.forEach(e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load}));let f=s.setTheme(t.context.theme),p=null,h=null;const m={render:async e=>(await f,e.id?gC(e,u):mC(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=n(n(n({},a),t),{},{translator:r.translator}),u.context=a,t.theme&&(f=s.setTheme(t.theme),await f),t.language&&u.public.translator.language(t.language),l.context(a))},selections:async()=>(p||(p={mount(t){h||(h=FS({element:t,app:e}),l.add(h))},unmount(){h&&(l.remove(h),h=null)}}),p),field:async t=>{const n="string"==typeof t?t:t.qLibraryId;if(!n)throw new Error("Field identifier must be provided");return{fieldName:n,mount(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r)throw new Error("Element for ".concat(n," not provided"));if(this._instance)throw new Error("Field ".concat(n," already mounted"));this._instance=ow({element:r,app:e,fieldIdentifier:t,options:hk(o),stateName:o.stateName||"$"}),l.add(this._instance)},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}}},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return u.public.nebbie=m,u.types=d,m}return o.createConfiguration=n=>e(pk(t,n)),o.config=t,o}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1,disableCellPadding:!1},load:()=>{},types:[],themes:[],anything:{},snapshot:{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())}}),gk={exports:{}};!function(e,t){e.exports=function(){function e(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}function t(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 n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)},u=function(e){if(!e||"[object Object]"!==a.call(e))return!1;var t,n=i.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&i.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||i.call(e,t)},d=function(e,t){l&&"__proto__"===t.name?l(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},f=function(e,t){if("__proto__"===t){if(!i.call(e,t))return;if(s)return s(e,t).value}return e[t]};function p(){return e=>{const t=e?e._mock:null;let r=e;return t&&(delete e._mock,r=function e(){var t,n,r,o,i,a,l=arguments[0],s=1,p=arguments.length,h=!1;for("boolean"==typeof l&&(h=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<p;++s)if(null!=(t=arguments[s]))for(n in t)r=f(l,n),l!==(o=f(t,n))&&(h&&o&&(u(o)||(i=c(o)))?(i?(i=!1,a=r&&c(r)?r:[]):a=r&&u(r)?r:{},d(l,{name:n,newValue:e(h,a,o)})):void 0!==o&&d(l,{name:n,newValue:o}));return l}({},e,t)),Promise.resolve(n({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(e),getEffectiveProperties:()=>Promise.resolve(e),id:e&&e.qInfo&&e.qInfo.qId?e.qInfo.qId:"sel - ".concat(+Date.now())},e))}}const h=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},m=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,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];const l=h(e,{defaultValue:t,args:i});return n?new Promise(e=>{setTimeout(()=>e(l),r)}):l}},g=["id","session"],v=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function y(e){return!v.includes(e)}function b(e){const t=h(e.getLayout);return t.qInfo&&t.qInfo.qId}function x(e,t){return e.reduce((e,r)=>n(n({},e),function(e,t){const r=b(e),{delay:i}=t,{id:a,session:l}=e,s=o(e,g);return{[r]:n({id:h(a,{defaultValue:"object - ".concat(+Date.now())}),session:h(l,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(s).reduce((e,t)=>{let[r,o]=t;return n(n({},e),{},{[r]:m(o,{async:y(r),delay:i})})},{}))}}(r,t)),{})}function E(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!b(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function S(){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(E);const n=x(e,t);return async e=>Promise.resolve(n[e])}function w(){return()=>Promise.resolve({id:"app-layout"})}return{fromGenericObjects:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new e,o=new p,i=new S(t,n),a=new w,l={id:"app - ".concat(+Date.now()),session:r,createSessionObject:o,getObject:i,getAppLayout:a};return Promise.resolve(l)}}}()}(gk);const vk={generator:ok,hook:BC,theme:he,locale:s,EnigmaMocker:gk.exports};e.__DO_NOT_USE__=vk,e.conversion=Lw,e.embed=mk,e.onTakeSnapshot=function(e){const t=zC(++OC);t.value||(t.value=1,RC.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=UC({action(){n._config.action.call(null)}});return n.component||(n.component=RC,RC.__hooks.actions.list.push(n)),VC(()=>{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=jC("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return jC("appLayout")},e.useConstraints=function(){return jC("constraints")},e.useDeviceType=function(){return jC("deviceType")},e.useEffect=HC,e.useElement=$C,e.useEmbed=function(){return jC("nebbie")},e.useGlobal=function(){const e=jC("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=zC(++OC);if(n.imperative||(n.imperative=!0),_C(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],RC.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=jC("keyboardNavigation"),t=jC("focusHandler");if(!RC.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(KC(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(RC);RC.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),GC(this))}.bind(RC);RC.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(RC);RC.__hooks.accessibility.focusSelectionFunction=r}const n=RC.__hooks.accessibility.focusFunction,r=RC.__hooks.accessibility.exitFunction,o=RC.__hooks.accessibility.focusSelectionFunction,[i,a]=UC({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return RC.__hooks.accessibility.setter=a,RC.__hooks.accessibility.enabled=e,HC(()=>a({active:!1,enabled:e,blur:r,focus:n,focusSelection:o}),[e]),i},e.useLayout=function(){return jC("layout")},e.useMemo=VC,e.useModel=function(){const e=jC("model");return e&&e.session?e:void 0},e.useOptions=function(){return jC("options")},e.usePlugins=function(){return jC("plugins")},e.usePromise=function(e,t){const[n,r]=UC(()=>({resolved:void 0,rejected:void 0,state:"pending"})),o=zC(++OC);return o.component||(o.component=RC),WC(()=>{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=$C(),t=RC.__hooks.resizer,[n,r]=UC(()=>{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()),WC(()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:i}=e.getBoundingClientRect(),a=t.current;a.width===o&&a.height===i&&a.left===n&&a.top===r||t.setters.forEach(e=>e({left:n,top:r,width:o,height:i}))};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(){zC(++OC);const e=RC.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return jC("selections")},e.useStaleLayout=function(){const e=jC("layout"),[t]=UC({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=UC,e.useTheme=function(){return jC("theme")},e.useTranslator=function(){return jC("translator")},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
30
|
+
* This source code is licensed under the MIT license found in the
|
|
31
|
+
* LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/function bh(e,t){return nh(e,t)}function yh(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function xh(e,t,n={clone:!0}){const r=n.clone?Ap({},e):e;return yh(e)&&yh(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(yh(t[o])&&o in e&&yh(e[o])?r[o]=xh(e[o],t[o],n):r[o]=t[o])})),r}function Sh(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."}function wh(e){if("string"!=typeof e)throw new Error(Sh(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ch(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function kh(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Eh(e,t){return Ge.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Rh(e){return e&&e.ownerDocument||document}function Lh(e){return Rh(e).defaultView||window}function Oh(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(rh.exports.element,()=>null).isRequired=(rh.exports.element.isRequired,()=>null),rh.exports.elementType,"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),rh.exports.oneOfType([rh.exports.func,rh.exports.object]);const Mh="undefined"!=typeof window?Ge.exports.useLayoutEffect:Ge.exports.useEffect;function Ih({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=Ge.exports.useRef(void 0!==e),[a,i]=Ge.exports.useState(t);return[o?e:a,Ge.exports.useCallback((e=>{o||i(e)}),[])]}function Th(e){const t=Ge.exports.useRef(e);return Mh((()=>{t.current=e})),Ge.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function Ph(e,t){return Ge.exports.useMemo((()=>null==e&&null==t?null:n=>{Oh(e,n),Oh(t,n)}),[e,t])}Mt.useId;let zh,Nh=!0,_h=!1;const Ah={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 Dh(e){e.metaKey||e.altKey||e.ctrlKey||(Nh=!0)}function $h(){Nh=!1}function qh(){"hidden"===this.visibilityState&&_h&&(Nh=!0)}function jh(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Nh||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Ah[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Fh(){const e=Ge.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Dh,!0),t.addEventListener("mousedown",$h,!0),t.addEventListener("pointerdown",$h,!0),t.addEventListener("touchstart",$h,!0),t.addEventListener("visibilitychange",qh,!0))}),[]),t=Ge.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!jh(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(_h=!0,window.clearTimeout(zh),zh=window.setTimeout((()=>{_h=!1}),100),t.current=!1,!0)},ref:e}}function Bh(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const Wh=e=>{const t=Ge.exports.useRef({});return Ge.exports.useEffect((()=>{t.current=e})),t.current},Hh={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Uh(){return null}function Vh(e,t){const n=Ap({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Gh(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e)),[]).join(" ")})),r}Uh.isRequired=Uh;const Kh=e=>e,Xh=(()=>{let e=Kh;return{configure(t){e=t},generate:t=>e(t),reset(){e=Kh}}})(),Zh={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function Yh(e,t){return Zh[t]||`${Xh.generate(e)}-${t}`}function Qh(e,t){const n={};return t.forEach((t=>{n[t]=Yh(e,t)})),n}function Jh(e,t){return t?xh(e,t,{clone:!1}):e}const eg={xs:0,sm:600,md:900,lg:1200,xl:1536},tg={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${eg[e]}px)`};function ng(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||tg;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||tg;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||eg).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function rg({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):(t[n]=null!=e[n]?e[n]:e[a]||e,a=n),t)),{})}function og(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 ag(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:og(e,n)||r,t&&(o=t(o)),o}function ig(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=og(e.theme,r)||{};return ng(e,a,(e=>{let r=ag(i,o,e);return e===r&&"string"==typeof e&&(r=ag(i,o,`${t}${"default"===e?"":wh(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes={},a.filterProps=[t],a}function lg(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?Jh(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}const sg={m:"margin",p:"padding"},cg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ug={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},dg=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!ug[e])return[e];e=ug[e]}const[t,n]=e.split(""),r=sg[t],o=cg[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),pg=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function fg(e,t,n,r){var o;const a=null!=(o=og(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 mg(e){return fg(e,"spacing",8)}function hg(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 gg(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=hg(t,n),e)),{})}(dg(n),r);return ng(e,e[n],o)}function vg(e){return function(e,t){const n=mg(e.theme);return Object.keys(e).map((r=>gg(e,t,r,n))).reduce(Jh,{})}(e,pg)}function bg(e){return"number"!=typeof e?e:`${e}px solid`}vg.propTypes={},vg.filterProps=pg;const yg=ig({prop:"border",themeKey:"borders",transform:bg}),xg=ig({prop:"borderTop",themeKey:"borders",transform:bg}),Sg=ig({prop:"borderRight",themeKey:"borders",transform:bg}),wg=ig({prop:"borderBottom",themeKey:"borders",transform:bg}),Cg=ig({prop:"borderLeft",themeKey:"borders",transform:bg}),kg=ig({prop:"borderColor",themeKey:"palette"}),Eg=ig({prop:"borderTopColor",themeKey:"palette"}),Rg=ig({prop:"borderRightColor",themeKey:"palette"}),Lg=ig({prop:"borderBottomColor",themeKey:"palette"}),Og=ig({prop:"borderLeftColor",themeKey:"palette"}),Mg=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=fg(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:hg(t,e)});return ng(e,e.borderRadius,n)}return null};Mg.propTypes={},Mg.filterProps=["borderRadius"];const Ig=lg(yg,xg,Sg,wg,Cg,kg,Eg,Rg,Lg,Og,Mg);var Tg=lg(ig({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),ig({prop:"display"}),ig({prop:"overflow"}),ig({prop:"textOverflow"}),ig({prop:"visibility"}),ig({prop:"whiteSpace"}));const Pg=lg(ig({prop:"flexBasis"}),ig({prop:"flexDirection"}),ig({prop:"flexWrap"}),ig({prop:"justifyContent"}),ig({prop:"alignItems"}),ig({prop:"alignContent"}),ig({prop:"order"}),ig({prop:"flex"}),ig({prop:"flexGrow"}),ig({prop:"flexShrink"}),ig({prop:"alignSelf"}),ig({prop:"justifyItems"}),ig({prop:"justifySelf"})),zg=e=>{if(void 0!==e.gap&&null!==e.gap){const t=fg(e.theme,"spacing",8),n=e=>({gap:hg(t,e)});return ng(e,e.gap,n)}return null};zg.propTypes={},zg.filterProps=["gap"];const Ng=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=fg(e.theme,"spacing",8),n=e=>({columnGap:hg(t,e)});return ng(e,e.columnGap,n)}return null};Ng.propTypes={},Ng.filterProps=["columnGap"];const _g=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=fg(e.theme,"spacing",8),n=e=>({rowGap:hg(t,e)});return ng(e,e.rowGap,n)}return null};_g.propTypes={},_g.filterProps=["rowGap"];const Ag=lg(zg,Ng,_g,ig({prop:"gridColumn"}),ig({prop:"gridRow"}),ig({prop:"gridAutoFlow"}),ig({prop:"gridAutoColumns"}),ig({prop:"gridAutoRows"}),ig({prop:"gridTemplateColumns"}),ig({prop:"gridTemplateRows"}),ig({prop:"gridTemplateAreas"}),ig({prop:"gridArea"})),Dg=lg(ig({prop:"color",themeKey:"palette"}),ig({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),ig({prop:"backgroundColor",themeKey:"palette"}));var $g=lg(ig({prop:"position"}),ig({prop:"zIndex",themeKey:"zIndex"}),ig({prop:"top"}),ig({prop:"right"}),ig({prop:"bottom"}),ig({prop:"left"}));const qg=ig({prop:"boxShadow",themeKey:"shadows"});function jg(e){return e<=1&&0!==e?100*e+"%":e}const Fg=ig({prop:"width",transform:jg}),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])||eg[t]||jg(t)}};return ng(e,e.maxWidth,t)}return null};Bg.filterProps=["maxWidth"];const Wg=ig({prop:"minWidth",transform:jg}),Hg=ig({prop:"height",transform:jg}),Ug=ig({prop:"maxHeight",transform:jg}),Vg=ig({prop:"minHeight",transform:jg});ig({prop:"size",cssProperty:"width",transform:jg}),ig({prop:"size",cssProperty:"height",transform:jg});const Gg=lg(Fg,Bg,Wg,Hg,Ug,Vg,ig({prop:"boxSizing"})),Kg=ig({prop:"fontFamily",themeKey:"typography"}),Xg=ig({prop:"fontSize",themeKey:"typography"}),Zg=ig({prop:"fontStyle",themeKey:"typography"}),Yg=ig({prop:"fontWeight",themeKey:"typography"}),Qg=ig({prop:"letterSpacing"}),Jg=ig({prop:"textTransform"}),ev=ig({prop:"lineHeight"}),tv=ig({prop:"textAlign"}),nv=lg(ig({prop:"typography",cssProperty:!1,themeKey:"typography"}),Kg,Xg,Zg,Yg,Qg,ev,tv,Jg),rv={borders:Ig.filterProps,display:Tg.filterProps,flexbox:Pg.filterProps,grid:Ag.filterProps,positions:$g.filterProps,palette:Dg.filterProps,shadows:qg.filterProps,sizing:Gg.filterProps,spacing:vg.filterProps,typography:nv.filterProps},ov={borders:Ig,display:Tg,flexbox:Pg,grid:Ag,positions:$g,palette:Dg,shadows:qg,sizing:Gg,spacing:vg,typography:nv},av=Object.keys(rv).reduce(((e,t)=>(rv[t].forEach((n=>{e[n]=ov[t]})),e)),{});const iv=function(e=ov){const t=Object.keys(e).reduce(((t,n)=>(e[n].filterProps.forEach((r=>{t[r]=e[n]})),t)),{});function n(e,n,r){const o={[e]:n,theme:r},a=t[e];return a?a(o):{[e]:n}}return function e(r){const{sx:o,theme:a={}}=r||{};if(!o)return null;function i(r){let o=r;if("function"==typeof r)o=r(a);else if("object"!=typeof r)return r;if(!o)return null;const i=function(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(a.breakpoints),l=Object.keys(i);let s=i;return Object.keys(o).forEach((r=>{const i=(l=o[r],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=i)if("object"==typeof i)if(t[r])s=Jh(s,n(r,i,a));else{const t=ng({theme:a},i,(e=>({[r]: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))}(t,i)?s=Jh(s,t):s[r]=e({sx:i,theme:a})}else s=Jh(s,n(r,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(i):i(o)}}();iv.filterProps=["sx"];const lv=["sx"];function sv(e){const{sx:t}=e,n=Dp(e,lv),{systemProps:r,otherProps:o}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((n=>{av[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]})),t})(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return yh(n)?Ap({},r,n):r}:Ap({},r,t),Ap({},o,{sx:a})}function cv(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=cv(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function uv(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=cv(e))&&(r&&(r+=" "),r+=t);return r}const dv=["values","unit","step"];function pv(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Dp(e,dv),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)=>Ap({},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 Ap({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)}const fv={borderRadius:4};function mv(e=8){if(e.mui)return e;const t=mg({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 hv=["breakpoints","palette","spacing","shape"];function gv(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=Dp(e,hv),l=pv(n),s=mv(o);let c=xh({breakpoints:l,direction:"ltr",components:{},palette:Ap({mode:"light"},r),spacing:s,shape:Ap({},fv,a)},i);return c=t.reduce(((e,t)=>xh(e,t)),c),c}const vv=Ge.exports.createContext(null);function bv(){return Ge.exports.useContext(vv)}var yv="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function xv(e){const{children:t,theme:n}=e,r=bv(),o=Ge.exports.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return Ap({},e,t)}(r,n);return null!=e&&(e[yv]=null!==r),e}),[n,r]);return ih.exports.jsx(vv.Provider,{value:o,children:t})}function Sv(e=null){const t=bv();return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const wv=gv();function Cv(e=wv){return Sv(e)}const kv=["className","component"];function Ev(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r,styleFunctionSx:o=iv}=e,a=bh("div")(o),i=Ge.exports.forwardRef((function(e,o){const i=Cv(t),l=sv(e),{className:s,component:c="div"}=l,u=Dp(l,kv);return ih.exports.jsx(a,Ap({as:c,ref:o,className:uv(s,r?r(n):n),theme:i},u))}));return i}Ev();const Rv=["variant"];function Lv(e){return 0===e.length}function Ov(e){const{variant:t}=e,n=Dp(e,Rv);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?Lv(r)?e[t]:wh(e[t]):`${Lv(r)?t:wh(t)}${wh(e[t].toString())}`})),r}const Mv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Iv=["theme"],Tv=["theme"];function Pv(e){return 0===Object.keys(e).length}function zv(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Nv=gv();function _v(e={}){const{defaultTheme:t=Nv,rootShouldForwardProp:n=zv,slotShouldForwardProp:r=zv,styleFunctionSx:o=iv}=e;return(e,a={})=>{const{name:i,slot:l,skipVariantsResolver:s,skipSx:c,overridesResolver:u}=a,d=Dp(a,Mv),p=void 0!==s?s:l&&"Root"!==l||!1,f=c||!1;let m=zv;"Root"===l?m=n:l&&(m=r);const h=bh(e,Ap({shouldForwardProp:m,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=Dp(n,Iv);return e(Ap({theme:Pv(r)?t:r},o))}:e)):[];let a=e;i&&u&&r.push((e=>{const n=Pv(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(Ap({},e,{theme:n})):o})),u(e,t)}return null})),i&&!p&&r.push((e=>{const n=Pv(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[Ov(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=Ov(e.props);r[t]=e.style})),r})(i,n),n,i)})),f||r.push((e=>{const n=Pv(e.theme)?t:e.theme;return o(Ap({},e,{theme:n}))}));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=Dp(n,Tv);return e(Ap({theme:Pv(r)?t:r},o))});return h(a,...r)};return h.withConfig&&(g.withConfig=h.withConfig),g}}const Av=_v();function Dv(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Vh(t.components[n].defaultProps,r):r}function $v({props:e,name:t,defaultTheme:n}){return Dv({theme:Cv(n),name:t,props:e})}function qv(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function jv(e){if(e.type)return e;if("#"===e.charAt(0))return jv(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(Sh(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(Sh(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const Fv=e=>{const t=jv(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function Bv(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 Wv(e){let t="hsl"===(e=jv(e)).type?jv(function(e){e=jv(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])),Bv({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 Hv(e,t){return e=jv(e),t=qv(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Bv(e)}function Uv(e,t){if(e=jv(e),t=qv(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 Bv(e)}function Vv(e,t){if(e=jv(e),t=qv(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 Bv(e)}function Gv(e,t=.15){return Wv(e)>.5?Uv(e,t):Vv(e,t)}function Kv(e){const t=Cv();return ih.exports.jsx(Wm.Provider,{value:"object"==typeof t?t:{},children:e.children})}function Xv(e){const{children:t,theme:n}=e;return ih.exports.jsx(xv,{theme:n,children:ih.exports.jsx(Kv,{children:t})})}const Zv="mode",Yv="color-scheme",Qv="data-color-scheme";const Jv=["className","component","disableGutters","fixed","maxWidth","classes"],eb=gv(),tb=Av("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${wh(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),nb=e=>$v({props:e,name:"MuiContainer",defaultTheme:eb});function rb(e={}){const{createStyledComponent:t=tb,useThemeProps:n=nb,componentName:r="MuiContainer"}=e,o=t((({theme:e,ownerState:t})=>Ap({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const r=n,o=e.breakpoints.values[r];return 0!==o&&(t[e.breakpoints.up(r)]={maxWidth:`${o}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>Ap({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}))),a=Ge.exports.forwardRef((function(e,t){const a=n(e),{className:i,component:l="div",disableGutters:s=!1,fixed:c=!1,maxWidth:u="lg"}=a,d=Dp(a,Jv),p=Ap({},a,{component:l,disableGutters:s,fixed:c,maxWidth:u}),f=((e,t)=>{const{classes:n,fixed:r,disableGutters:o,maxWidth:a}=e;return Gh({root:["root",a&&`maxWidth${wh(String(a))}`,r&&"fixed",o&&"disableGutters"]},(e=>Yh(t,e)),n)})(p,r);return ih.exports.jsx(o,Ap({as:l,ownerState:p,className:uv(f.root,i),ref:t},d))}));return a}rb(),Qh("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const ob=["defaultProps","mixins","overrides","palette","props","styleOverrides"],ab=["type","mode"];function ib(e){return"string"==typeof e}function lb(e,t={},n){return ib(e)?t:Ap({},t,{ownerState:Ap({},t.ownerState,n)})}function sb(e){return Yh("BaseBadge",e)}Qh("BaseBadge",["root","badge","invisible"]);const cb=["badgeContent","component","children","className","components","componentsProps","invisible","max","showZero"],ub=Ge.exports.forwardRef((function(e,t){var n,r;const{component:o,children:a,className:i,components:l={},componentsProps:s={},max:c=99,showZero:u=!1}=e,d=Dp(e,cb),{badgeContent:p,max:f,displayValue:m,invisible:h}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=Wh({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}}(Ap({},e,{max:c})),g=Ap({},e,{badgeContent:p,invisible:h,max:f,showZero:u}),v=(e=>{const{invisible:t}=e;return Gh({root:["root"],badge:["badge",t&&"invisible"]},sb,void 0)})(g),b=o||l.Root||"span",y=lb(b,Ap({},d,s.root,{ref:t,className:uv(v.root,null==(n=s.root)?void 0:n.className,i)}),g),x=l.Badge||"span",S=lb(x,Ap({},s.badge,{className:uv(v.badge,null==(r=s.badge)?void 0:r.className)}),g);return ih.exports.jsxs(b,Ap({},y,{children:[a,ih.exports.jsx(x,Ap({},S,{children:m}))]}))}));var db;Qh("ButtonUnstyled",["root","active","disabled","focusVisible"]),Qh("BaseFormControl",["root","disabled","error","filled","focused","required"]),Qh("MuiInput",["root","formControl","focused","disabled","error","multiline","input","inputMultiline","inputTypeSearch","adornedStart","adornedEnd"]),function(e){e.blur="blur",e.focus="focus",e.keyDown="keyDown",e.optionClick="optionClick",e.optionHover="optionHover",e.optionsChange="optionsChange",e.setValue="setValue",e.setHighlight="setHighlight",e.textNavigation="textNagivation"}(db||(db={}));Ge.exports.createContext(null).displayName="MenuUnstyledContext",Qh("MuiMenuUnstyled",["root","listbox","expanded"]);var pb="top",fb="bottom",mb="right",hb="left",gb="auto",vb=[pb,fb,mb,hb],bb="start",yb="end",xb="viewport",Sb="popper",wb=vb.reduce((function(e,t){return e.concat([t+"-"+bb,t+"-"+yb])}),[]),Cb=[].concat(vb,[gb]).reduce((function(e,t){return e.concat([t,t+"-"+bb,t+"-"+yb])}),[]),kb=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Eb(e){return e?(e.nodeName||"").toLowerCase():null}function Rb(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Lb(e){return e instanceof Rb(e).Element||e instanceof Element}function Ob(e){return e instanceof Rb(e).HTMLElement||e instanceof HTMLElement}function Mb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Rb(e).ShadowRoot||e instanceof ShadowRoot)}var Ib={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];Ob(o)&&Eb(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}),{});Ob(r)&&Eb(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Tb(e){return e.split("-")[0]}var Pb=Math.max,zb=Math.min,Nb=Math.round;function _b(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(Ob(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=Nb(n.width)/i||1),a>0&&(o=Nb(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function Ab(e){var t=_b(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 Db(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Mb(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function $b(e){return Rb(e).getComputedStyle(e)}function qb(e){return["table","td","th"].indexOf(Eb(e))>=0}function jb(e){return((Lb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fb(e){return"html"===Eb(e)?e:e.assignedSlot||e.parentNode||(Mb(e)?e.host:null)||jb(e)}function Bb(e){return Ob(e)&&"fixed"!==$b(e).position?e.offsetParent:null}function Wb(e){for(var t=Rb(e),n=Bb(e);n&&qb(n)&&"static"===$b(n).position;)n=Bb(n);return n&&("html"===Eb(n)||"body"===Eb(n)&&"static"===$b(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Ob(e)&&"fixed"===$b(e).position)return null;var n=Fb(e);for(Mb(n)&&(n=n.host);Ob(n)&&["html","body"].indexOf(Eb(n))<0;){var r=$b(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 Hb(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ub(e,t,n){return Pb(e,zb(t,n))}function Vb(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Gb(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Kb={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=Tb(n.placement),s=Hb(l),c=[hb,mb].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Vb("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Gb(e,vb))}(o.padding,n),d=Ab(a),p="y"===s?pb:hb,f="y"===s?fb:mb,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],h=i[s]-n.rects.reference[s],g=Wb(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=m/2-h/2,y=u[p],x=v-d[c]-u[f],S=v/2-d[c]/2+b,w=Ub(y,S,x),C=s;n.modifiersData[r]=((t={})[C]=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)))&&Db(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xb(e){return e.split("-")[1]}var Zb={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yb(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,m=i.y,h=void 0===m?0:m,g="function"==typeof u?u({x:f,y:h}):{x:f,y:h};f=g.x,h=g.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=hb,x=pb,S=window;if(c){var w=Wb(n),C="clientHeight",k="clientWidth";if(w===Rb(n)&&"static"!==$b(w=jb(n)).position&&"absolute"===l&&(C="scrollHeight",k="scrollWidth"),o===pb||(o===hb||o===mb)&&a===yb)x=fb,h-=(d&&w===S&&S.visualViewport?S.visualViewport.height:w[C])-r.height,h*=s?1:-1;if(o===hb||(o===pb||o===fb)&&a===yb)y=mb,f-=(d&&w===S&&S.visualViewport?S.visualViewport.width:w[k])-r.width,f*=s?1:-1}var E,R=Object.assign({position:l},c&&Zb),L=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Nb(t*r)/r||0,y:Nb(n*r)/r||0}}({x:f,y:h}):{x:f,y:h};return f=L.x,h=L.y,s?Object.assign({},R,((E={})[x]=b?"0":"",E[y]=v?"0":"",E.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",E)):Object.assign({},R,((t={})[x]=b?h+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var Qb={passive:!0};var Jb={left:"right",right:"left",bottom:"top",top:"bottom"};function ey(e){return e.replace(/left|right|bottom|top/g,(function(e){return Jb[e]}))}var ty={start:"end",end:"start"};function ny(e){return e.replace(/start|end/g,(function(e){return ty[e]}))}function ry(e){var t=Rb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function oy(e){return _b(jb(e)).left+ry(e).scrollLeft}function ay(e){var t=$b(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function iy(e){return["html","body","#document"].indexOf(Eb(e))>=0?e.ownerDocument.body:Ob(e)&&ay(e)?e:iy(Fb(e))}function ly(e,t){var n;void 0===t&&(t=[]);var r=iy(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Rb(r),i=o?[a].concat(a.visualViewport||[],ay(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(ly(Fb(i)))}function sy(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function cy(e,t){return t===xb?sy(function(e){var t=Rb(e),n=jb(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,l=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,l=r.offsetTop)),{width:o,height:a,x:i+oy(e),y:l}}(e)):Lb(t)?function(e){var t=_b(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):sy(function(e){var t,n=jb(e),r=ry(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Pb(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Pb(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+oy(e),s=-r.scrollTop;return"rtl"===$b(o||n).direction&&(l+=Pb(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(jb(e)))}function uy(e,t,n){var r="clippingParents"===t?function(e){var t=ly(Fb(e)),n=["absolute","fixed"].indexOf($b(e).position)>=0&&Ob(e)?Wb(e):e;return Lb(n)?t.filter((function(e){return Lb(e)&&Db(e,n)&&"body"!==Eb(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=cy(e,n);return t.top=Pb(r.top,t.top),t.right=zb(r.right,t.right),t.bottom=zb(r.bottom,t.bottom),t.left=Pb(r.left,t.left),t}),cy(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function dy(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Tb(o):null,i=o?Xb(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case pb:t={x:l,y:n.y-r.height};break;case fb:t={x:l,y:n.y+n.height};break;case mb:t={x:n.x+n.width,y:s};break;case hb:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Hb(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case bb:t[c]=t[c]-(n[u]/2-r[u]/2);break;case yb:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function py(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?"clippingParents":a,l=n.rootBoundary,s=void 0===l?xb:l,c=n.elementContext,u=void 0===c?Sb:c,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,m=void 0===f?0:f,h=Vb("number"!=typeof m?m:Gb(m,vb)),g=u===Sb?"reference":Sb,v=e.rects.popper,b=e.elements[p?g:u],y=uy(Lb(b)?b:b.contextElement||jb(e.elements.popper),i,s),x=_b(e.elements.reference),S=dy({reference:x,element:v,strategy:"absolute",placement:o}),w=sy(Object.assign({},v,S)),C=u===Sb?w:x,k={top:y.top-C.top+h.top,bottom:C.bottom-y.bottom+h.bottom,left:y.left-C.left+h.left,right:C.right-y.right+h.right},E=e.modifiersData.offset;if(u===Sb&&E){var R=E[o];Object.keys(k).forEach((function(e){var t=[mb,fb].indexOf(e)>=0?1:-1,n=[pb,fb].indexOf(e)>=0?"y":"x";k[e]+=R[n]*t}))}return k}function fy(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?Cb:s,u=Xb(r),d=u?l?wb:wb.filter((function(e){return Xb(e)===u})):vb,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]=py(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Tb(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var my={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,m=void 0===f||f,h=n.allowedAutoPlacements,g=t.options.placement,v=Tb(g),b=s||(v===g||!m?[ey(g)]:function(e){if(Tb(e)===gb)return[];var t=ey(e);return[ny(e),t,ny(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Tb(n)===gb?fy(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,S=t.rects.popper,w=new Map,C=!0,k=y[0],E=0;E<y.length;E++){var R=y[E],L=Tb(R),O=Xb(R)===bb,M=[pb,fb].indexOf(L)>=0,I=M?"width":"height",T=py(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),P=M?O?mb:hb:O?fb:pb;x[I]>S[I]&&(P=ey(P));var z=ey(P),N=[];if(a&&N.push(T[L]<=0),l&&N.push(T[P]<=0,T[z]<=0),N.every((function(e){return e}))){k=R,C=!1;break}w.set(R,N)}if(C)for(var _=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},A=m?3:1;A>0;A--){if("break"===_(A))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function hy(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 gy(e){return[pb,mb,fb,hb].some((function(t){return e[t]>=0}))}var vy={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=Cb.reduce((function(e,n){return e[n]=function(e,t,n){var r=Tb(e),o=[hb,pb].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,[hb,mb].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 by={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,m=n.tetherOffset,h=void 0===m?0:m,g=py(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Tb(t.placement),b=Xb(t.placement),y=!b,x=Hb(v),S="x"===x?"y":"x",w=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,E="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,R="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(w){if(a){var M,I="y"===x?pb:hb,T="y"===x?fb:mb,P="y"===x?"height":"width",z=w[x],N=z+g[I],_=z-g[T],A=f?-k[P]/2:0,D=b===bb?C[P]:k[P],$=b===bb?-k[P]:-C[P],q=t.elements.arrow,j=f&&q?Ab(q):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[I],W=F[T],H=Ub(0,C[P],j[P]),U=y?C[P]/2-A-H-B-R.mainAxis:D-H-B-R.mainAxis,V=y?-C[P]/2+A+H+W+R.mainAxis:$+H+W+R.mainAxis,G=t.elements.arrow&&Wb(t.elements.arrow),K=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,X=null!=(M=null==L?void 0:L[x])?M:0,Z=z+V-X,Y=Ub(f?zb(N,z+U-X-K):N,z,f?Pb(_,Z):_);w[x]=Y,O[x]=Y-z}if(l){var Q,J="x"===x?pb:hb,ee="x"===x?fb:mb,te=w[S],ne="y"===S?"height":"width",re=te+g[J],oe=te-g[ee],ae=-1!==[pb,hb].indexOf(v),ie=null!=(Q=null==L?void 0:L[S])?Q:0,le=ae?re:te-C[ne]-k[ne]-ie+R.altAxis,se=ae?te+C[ne]+k[ne]-ie-R.altAxis:oe,ce=f&&ae?function(e,t,n){var r=Ub(e,t,n);return r>n?n:r}(le,te,se):Ub(f?le:re,te,f?se:oe);w[S]=ce,O[S]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};function yy(e,t,n){void 0===n&&(n=!1);var r=Ob(t),o=Ob(t)&&function(e){var t=e.getBoundingClientRect(),n=Nb(t.width)/e.offsetWidth||1,r=Nb(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=jb(t),i=_b(e,o),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Eb(t)||ay(a))&&(l=function(e){return e!==Rb(e)&&Ob(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:ry(e);var t}(t)),Ob(t)?((s=_b(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=oy(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function xy(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 Sy={placement:"bottom",modifiers:[],strategy:"absolute"};function wy(){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 Cy(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Sy:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Sy,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:Lb(e)?ly(e):e.contextElement?ly(e.contextElement):[],popper:ly(t)};var i,c,p=function(e){var t=xy(e);return kb.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(wy(t,n)){l.rects={reference:yy(t,Wb(n),"fixed"===l.options.strategy),popper:Ab(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(!wy(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 ky=Cy({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=Rb(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,Qb)})),l&&s.addEventListener("resize",n.update,Qb),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Qb)})),l&&s.removeEventListener("resize",n.update,Qb)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=dy({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:Tb(t.placement),variation:Xb(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,Yb(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,Yb(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:{}},Ib,vy,my,by,Kb,{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=py(t,{elementContext:"reference"}),l=py(t,{altBoundary:!0}),s=hy(i,r),c=hy(l,o,a),u=gy(s),d=gy(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})}}]});const Ey=Ge.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=Ge.exports.useState(null),l=Ph(Ge.exports.isValidElement(n)?n.ref:null,t);return Mh((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),Mh((()=>{if(a&&!o)return Oh(t,a),()=>{Oh(t,null)}}),[t,a,o]),o?Ge.exports.isValidElement(n)?Ge.exports.cloneElement(n,{ref:l}):n:a?It.exports.createPortal(n,a):a})),Ry=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Ly=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Oy(e){return"function"==typeof e?e():e}const My={},Iy=Ge.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,direction:o,disablePortal:a,modifiers:i,open:l,placement:s,popperOptions:c,popperRef:u,TransitionProps:d}=e,p=Dp(e,Ry),f=Ge.exports.useRef(null),m=Ph(f,t),h=Ge.exports.useRef(null),g=Ph(h,u),v=Ge.exports.useRef(g);Mh((()=>{v.current=g}),[g]),Ge.exports.useImperativeHandle(u,(()=>h.current),[]);const b=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}}(s,o),[y,x]=Ge.exports.useState(b);Ge.exports.useEffect((()=>{h.current&&h.current.forceUpdate()})),Mh((()=>{if(!n||!l)return;Oy(n);let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{x(e.placement)}}];null!=i&&(e=e.concat(i)),c&&null!=c.modifiers&&(e=e.concat(c.modifiers));const t=ky(Oy(n),f.current,Ap({placement:b},c,{modifiers:e}));return v.current(t),()=>{t.destroy(),v.current(null)}}),[n,a,i,l,c,b]);const S={placement:y};return null!==d&&(S.TransitionProps=d),ih.exports.jsx("div",Ap({ref:m,role:"tooltip"},p,{children:"function"==typeof r?r(S):r}))})),Ty=Ge.exports.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:d=My,popperRef:p,style:f,transition:m=!1}=e,h=Dp(e,Ly),[g,v]=Ge.exports.useState(!0);if(!l&&!c&&(!m||g))return null;const b=o||(n?Rh(Oy(n)).body:void 0);return ih.exports.jsx(Ey,{disablePortal:i,container:b,children:ih.exports.jsx(Iy,Ap({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:m?!g:c,placement:u,popperOptions:d,popperRef:p},h,{style:Ap({position:"fixed",top:0,left:0,display:c||!l||m&&!g?null:"none"},f),TransitionProps:m?{in:c,onEnter:()=>{v(!1)},onExited:()=>{v(!0)}}:null,children:r}))})}));function Py(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function zy(e){return parseInt(Lh(e).getComputedStyle(e).paddingRight,10)||0}function Ny(e,t,n,r=[],o){const a=[t,n,...r],i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(e=>{-1===a.indexOf(e)&&-1===i.indexOf(e.tagName)&&Py(e,o)}))}function _y(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Ay(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Rh(e);return t.body===e?Lh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Bh(Rh(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${zy(r)+e}px`;const t=Rh(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${zy(t)+e}px`}))}const e=r.parentElement,t=Lh(r),o="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:r;n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}Qh("MuiMenuItemUnstyled",["root","disabled","focusVisible"]);const Dy=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $y(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 qy(){return!0}function jy(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=$y,isEnabled:i=qy,open:l}=e,s=Ge.exports.useRef(),c=Ge.exports.useRef(null),u=Ge.exports.useRef(null),d=Ge.exports.useRef(null),p=Ge.exports.useRef(null),f=Ge.exports.useRef(!1),m=Ge.exports.useRef(null),h=Ph(t.ref,m),g=Ge.exports.useRef(null);Ge.exports.useEffect((()=>{l&&m.current&&(f.current=!n)}),[n,l]),Ge.exports.useEffect((()=>{if(!l||!m.current)return;const e=Rh(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),f.current&&m.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),Ge.exports.useEffect((()=>{if(!l||!m.current)return;const e=Rh(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&&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(m.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];e?n.focus():t.focus()}else n.focus()}}else s.current=!1},n=t=>{g.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(s.current=!0,u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),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 ih.exports.jsxs(Ge.exports.Fragment,{children:[ih.exports.jsx("div",{tabIndex:0,onFocus:v,ref:c,"data-test":"sentinelStart"}),Ge.exports.cloneElement(t,{ref:h,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),ih.exports.jsx("div",{tabIndex:0,onFocus:v,ref:u,"data-test":"sentinelEnd"})]})}function Fy(e){return Yh("MuiModal",e)}Qh("MuiModal",["root","hidden"]);const By=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];const Wy=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&&Py(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);Ny(t,e.mount,e.modalRef,r,!0);const o=_y(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=_y(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Ay(r,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const n=_y(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Py(e.modalRef,!0),Ny(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&Py(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},Hy=Ge.exports.forwardRef((function(e,t){const{BackdropComponent:n,BackdropProps:r,children:o,classes:a,className:i,closeAfterTransition:l=!1,component:s="div",components:c={},componentsProps:u={},container:d,disableAutoFocus:p=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:m=!1,disablePortal:h=!1,disableRestoreFocus:g=!1,disableScrollLock:v=!1,hideBackdrop:b=!1,keepMounted:y=!1,manager:x=Wy,onBackdropClick:S,onClose:w,onKeyDown:C,open:k,theme:E,onTransitionEnter:R,onTransitionExited:L}=e,O=Dp(e,By),[M,I]=Ge.exports.useState(!0),T=Ge.exports.useRef({}),P=Ge.exports.useRef(null),z=Ge.exports.useRef(null),N=Ph(z,t),_=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),A=()=>(T.current.modalRef=z.current,T.current.mountNode=P.current,T.current),D=()=>{x.mount(A(),{disableScrollLock:v}),z.current.scrollTop=0},$=Th((()=>{const e=function(e){return"function"==typeof e?e():e}(d)||Rh(P.current).body;x.add(A(),e),z.current&&D()})),q=Ge.exports.useCallback((()=>x.isTopModal(A())),[x]),j=Th((e=>{P.current=e,e&&(k&&q()?D():Py(z.current,!0))})),F=Ge.exports.useCallback((()=>{x.remove(A())}),[x]);Ge.exports.useEffect((()=>()=>{F()}),[F]),Ge.exports.useEffect((()=>{k?$():_&&l||F()}),[k,F,_,l,$]);const B=Ap({},e,{classes:a,closeAfterTransition:l,disableAutoFocus:p,disableEnforceFocus:f,disableEscapeKeyDown:m,disablePortal:h,disableRestoreFocus:g,disableScrollLock:v,exited:M,hideBackdrop:b,keepMounted:y}),W=(e=>{const{open:t,exited:n,classes:r}=e;return Gh({root:["root",!t&&n&&"hidden"]},Fy,r)})(B);if(!y&&!k&&(!_||M))return null;const H=()=>{I(!1),R&&R()},U=()=>{I(!0),L&&L(),l&&F()},V={};void 0===o.props.tabIndex&&(V.tabIndex="-1"),_&&(V.onEnter=Ch(H,o.props.onEnter),V.onExited=Ch(U,o.props.onExited));const G=c.Root||s,K=u.root||{};return ih.exports.jsx(Ey,{ref:j,container:d,disablePortal:h,children:ih.exports.jsxs(G,Ap({role:"presentation"},K,!ib(G)&&{as:s,ownerState:Ap({},B,K.ownerState),theme:E},O,{ref:N,onKeyDown:e=>{C&&C(e),"Escape"===e.key&&q()&&(m||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))},className:uv(W.root,K.className,i),children:[!b&&n?ih.exports.jsx(n,Ap({"aria-hidden":!0,open:k,onClick:e=>{e.target===e.currentTarget&&(S&&S(e),w&&w(e,"backdropClick"))}},r)):null,ih.exports.jsx(jy,{disableEnforceFocus:f,disableAutoFocus:p,disableRestoreFocus:g,isEnabled:q,open:k,children:Ge.exports.cloneElement(o,V)})]}))})}));Qh("MuiSelectUnstyled",["root","button","listbox","popper","active","expanded","disabled","focusVisible"]),Qh("MuiOptionGroupUnstyled",["root","label","list"]),Qh("MuiOptionUnstyled",["root","disabled","selected","highlighted"]);const Uy=Qh("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);Qh("MuiSwitch",["root","input","track","thumb","checked","disabled","focusVisible","readOnly"]),Qh("TabPanelUnstyled",["root","hidden"]),Qh("TabsUnstyled",["root","horizontal","vertical"]),Qh("TabsListUnstyled",["root","horizontal","vertical"]),Qh("TabUnstyled",["root","selected","disabled"]);const Vy=["onChange","maxRows","minRows","style","value"];function Gy(e,t){return parseInt(e[t],10)||0}const Ky={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},Xy=Ge.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=Dp(e,Vy),{current:s}=Ge.exports.useRef(null!=i),c=Ge.exports.useRef(null),u=Ph(t,c),d=Ge.exports.useRef(null),p=Ge.exports.useRef(0),[f,m]=Ge.exports.useState({}),h=Ge.exports.useCallback((()=>{const t=c.current,n=Lh(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=Gy(n,"padding-bottom")+Gy(n,"padding-top"),s=Gy(n,"border-bottom-width")+Gy(n,"border-top-width"),u=a.scrollHeight;a.value="x";const f=a.scrollHeight;let h=u;o&&(h=Math.max(Number(o)*f,h)),r&&(h=Math.min(Number(r)*f,h)),h=Math.max(h,f);const g=h+("border-box"===i?l+s:0),v=Math.abs(h-u)<=1;m((e=>p.current<20&&(g>0&&Math.abs((e.outerHeightStyle||0)-g)>1||e.overflow!==v)?(p.current+=1,{overflow:v,outerHeightStyle:g}):e))}),[r,o,e.placeholder]);Ge.exports.useEffect((()=>{const e=kh((()=>{p.current=0,h()})),t=Lh(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()}}),[h]),Mh((()=>{h()})),Ge.exports.useEffect((()=>{p.current=0}),[i]);return ih.exports.jsxs(Ge.exports.Fragment,{children:[ih.exports.jsx("textarea",Ap({value:i,onChange:e=>{p.current=0,s||h(),n&&n(e)},ref:u,rows:o,style:Ap({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},l)),ih.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:Ap({},Ky,a,{padding:0})})]})}));const Zy={black:"#000",white:"#fff"},Yy={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"},Qy="#f3e5f5",Jy="#ce93d8",ex="#ba68c8",tx="#ab47bc",nx="#9c27b0",rx="#7b1fa2",ox="#e57373",ax="#ef5350",ix="#f44336",lx="#d32f2f",sx="#c62828",cx="#ffb74d",ux="#ffa726",dx="#ff9800",px="#f57c00",fx="#e65100",mx="#e3f2fd",hx="#90caf9",gx="#42a5f5",vx="#1976d2",bx="#1565c0",yx="#4fc3f7",xx="#29b6f6",Sx="#03a9f4",wx="#0288d1",Cx="#01579b",kx="#81c784",Ex="#66bb6a",Rx="#4caf50",Lx="#388e3c",Ox="#2e7d32",Mx="#1b5e20",Ix=["mode","contrastThreshold","tonalOffset"],Tx={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:Zy.white,default:Zy.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}},Px={text:{primary:Zy.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:Zy.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 zx(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=Vv(e.main,o):"dark"===t&&(e.dark=Uv(e.main,a)))}function Nx(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Dp(e,Ix),a=e.primary||function(e="light"){return"dark"===e?{main:hx,light:mx,dark:gx}:{main:vx,light:gx,dark:bx}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:Jy,light:Qy,dark:tx}:{main:nx,light:ex,dark:rx}}(t),l=e.error||function(e="light"){return"dark"===e?{main:ix,light:ox,dark:lx}:{main:lx,light:ax,dark:sx}}(t),s=e.info||function(e="light"){return"dark"===e?{main:xx,light:yx,dark:wx}:{main:wx,light:Sx,dark:Cx}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Ex,light:kx,dark:Lx}:{main:Ox,light:Rx,dark:Mx}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:ux,light:cx,dark:px}:{main:"#ed6c02",light:dx,dark:fx}}(t);function d(e){const t=function(e,t){const n=Wv(e),r=Wv(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Px.text.primary)>=n?Px.text.primary:Tx.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=Ap({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Sh(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Sh(12,t?` (${t})`:"",JSON.stringify(e.main)));return zx(e,"light",o,r),zx(e,"dark",a,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Px,light:Tx};return xh(Ap({common:Ap({},Zy),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:Yy,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const _x=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Ax={textTransform:"uppercase"},Dx='"Roboto", "Helvetica", "Arial", sans-serif';function $x(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Dx,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Dp(n,_x),f=o/14,m=d||(e=>e/c*f+"rem"),h=(e,t,n,o,a)=>{return Ap({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n},r===Dx?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,u);var i},g={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(l,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(l,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(l,14,1.75,.4,Ax),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Ax)};return xh(Ap({htmlFontSize:c,pxToRem:m,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function qx(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const jx=["none",qx(0,2,1,-1,0,1,1,0,0,1,3,0),qx(0,3,1,-2,0,2,2,0,0,1,5,0),qx(0,3,3,-2,0,3,4,0,0,1,8,0),qx(0,2,4,-1,0,4,5,0,0,1,10,0),qx(0,3,5,-1,0,5,8,0,0,1,14,0),qx(0,3,5,-1,0,6,10,0,0,1,18,0),qx(0,4,5,-2,0,7,10,1,0,2,16,1),qx(0,5,5,-3,0,8,10,1,0,3,14,2),qx(0,5,6,-3,0,9,12,1,0,3,16,2),qx(0,6,6,-3,0,10,14,1,0,4,18,3),qx(0,6,7,-4,0,11,15,1,0,4,20,3),qx(0,7,8,-4,0,12,17,2,0,5,22,4),qx(0,7,8,-4,0,13,19,2,0,5,24,4),qx(0,7,9,-4,0,14,21,2,0,5,26,4),qx(0,8,9,-5,0,15,22,2,0,6,28,5),qx(0,8,10,-5,0,16,24,2,0,6,30,5),qx(0,8,11,-5,0,17,26,2,0,6,32,5),qx(0,9,11,-5,0,18,28,2,0,7,34,6),qx(0,9,12,-6,0,19,29,2,0,7,36,6),qx(0,10,13,-6,0,20,31,3,0,8,38,7),qx(0,10,13,-6,0,21,33,3,0,8,40,7),qx(0,10,14,-6,0,22,35,3,0,8,42,7),qx(0,11,14,-7,0,23,36,3,0,9,44,8),qx(0,11,15,-7,0,24,38,3,0,9,46,8)],Fx=["duration","easing","delay"],Bx={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)"},Wx={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hx(e){return`${Math.round(e)}ms`}function Ux(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Vx(e){const t=Ap({},Bx,e.easing),n=Ap({},Wx,e.duration);return Ap({getAutoHeightDuration:Ux,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0}=r;return Dp(r,Fx),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Hx(o)} ${a} ${"string"==typeof i?i:Hx(i)}`)).join(",")}},e,{easing:t,duration:n})}const Gx={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Kx=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Xx(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,i=Dp(e,Kx),l=Nx(r),s=gv(e);let c=xh(s,{mixins:(u=s.breakpoints,d=n,Ap({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:jx.slice(),typography:$x(l,a),transitions:Vx(o),zIndex:Ap({},Gx)});var u,d;return c=xh(c,i),c=t.reduce(((e,t)=>xh(e,t)),c),c}const Zx=Xx();function Yx(){return Cv(Zx)}function Qx({props:e,name:t}){return $v({props:e,name:t,defaultTheme:Zx})}const Jx=e=>zv(e)&&"classes"!==e,eS=zv,tS=_v({defaultTheme:Zx,rootShouldForwardProp:Jx});function nS(e){return Yh("MuiPaper",e)}Qh("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 rS=["className","component","elevation","square","variant"],oS=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},aS=tS("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 Ap({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&&Ap({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Hv("#fff",oS(t.elevation))}, ${Hv("#fff",oS(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),iS=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=Dp(n,rS),c=Ap({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return Gh({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},nS,o)})(c);return ih.exports.jsx(aS,Ap({as:o,ownerState:c,className:uv(u.root,r),ref:t},s))})),lS=["colorSchemes"],sS=["palette"],cS=[...Array(25)].map(((e,t)=>{if(0===t)return;const n=oS(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));const uS=function(e={},...t){var n,r,o,a,i,l;const{colorSchemes:s={}}=e,c=Xx(Ap({},Dp(e,lS),s.light&&{palette:null==(n=s.light)?void 0:n.palette})),{palette:u}=c,d=Dp(c,sS),{palette:p}=Xx({palette:Ap({mode:"dark"},null==(r=s.dark)?void 0:r.palette)});let f=Ap({},d,{colorSchemes:Ap({},s,{light:Ap({},s.light,{palette:u,opacity:Ap({placeholder:.42,inputTouchBottomLine:.42},null==(o=s.light)?void 0:o.opacity),overlays:(null==(a=s.light)?void 0:a.overlays)||[]}),dark:Ap({},s.dark,{palette:p,opacity:Ap({placeholder:.5,inputTouchBottomLine:.7},null==(i=s.dark)?void 0:i.opacity),overlays:(null==(l=s.dark)?void 0:l.overlays)||cS})})});return Object.keys(f.colorSchemes).forEach((e=>{const t=f.colorSchemes[e].palette;"dark"===e?(t.common.background=t.common.background||"#000",t.common.onBackground=t.common.onBackground||"#fff"):(t.common.background=t.common.background||"#fff",t.common.onBackground=t.common.onBackground||"#000"),t.common.backgroundChannel=Fv(t.common.background),t.common.onBackgroundChannel=Fv(t.common.onBackground),t.dividerChannel=Fv(t.divider),t.grey.dark||(t.grey.dark=t.grey[700]),Object.keys(t).forEach((e=>{const n=t[e];n.main&&(t[e].mainChannel=Fv(n.main)),n.light&&(t[e].lightChannel=Fv(n.light)),n.dark&&(t[e].darkChannel=Fv(n.dark)),n.contrastText&&(t[e].contrastTextChannel=Fv(n.contrastText)),n.primary&&(t[e].primaryChannel=Fv(n.primary)),n.secondary&&(t[e].secondaryChannel=Fv(n.secondary)),n.active&&(t[e].activeChannel=Fv(n.active))}))})),f=t.reduce(((e,t)=>xh(e,t)),f),f}();function dS(e,t){return dS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dS(e,t)}function pS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,dS(e,t)}function fS(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}!function(e){const{theme:t={},attribute:n=Qv,modeStorageKey:r=Zv,colorSchemeStorageKey:o=Yv,defaultMode:a="light",defaultColorScheme:i,disableTransitionOnChange:l=!1,enableColorScheme:s=!0,prefix:c="",shouldSkipGeneratingVar:u,resolveTheme:d}=e;(!t.colorSchemes||"string"==typeof i&&!t.colorSchemes[i]||"object"==typeof i&&!t.colorSchemes[null==i?void 0:i.light]||"object"==typeof i&&!t.colorSchemes[null==i?void 0:i.dark])&&console.error(`MUI: \`${i}\` does not exist in \`theme.colorSchemes\`.`);const p=Ge.exports.createContext(void 0)}({theme:uS,attribute:"data-mui-color-scheme",modeStorageKey:"mui-mode",colorSchemeStorageKey:"mui-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},prefix:"md",resolveTheme:e=>Ap({},e,{typography:$x(e.palette,e.typography)}),shouldSkipGeneratingVar:e=>!!e[0].match(/(typography|mixins|breakpoints|direction|transitions)/)});var mS=!1,hS=Ot.createContext(null),gS="unmounted",vS="exited",bS="entering",yS="entered",xS="exiting",SS=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=vS,r.appearStatus=bS):o=yS:o=t.unmountOnExit||t.mountOnEnter?gS:vS,r.state={status:o},r.nextCallback=null,r}pS(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===gS?{status:vS}: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!==bS&&n!==yS&&(t=bS):n!==bS&&n!==yS||(t=xS)}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){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===bS?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===vS&&this.setState({status:gS})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[_p.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||mS?this.safeSetState({status:yS},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:bS},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:yS},(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:_p.findDOMNode(this);t&&!mS?(this.props.onExit(r),this.safeSetState({status:xS},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:vS},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:vS},(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:_p.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===gS)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=Dp(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ot.createElement(hS.Provider,{value:null},"function"==typeof n?n(e,r):Ot.cloneElement(Ot.Children.only(n),r))},t}(Ot.Component);function wS(){}SS.contextType=hS,SS.propTypes={},SS.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:wS,onEntering:wS,onEntered:wS,onExit:wS,onExiting:wS,onExited:wS},SS.UNMOUNTED=gS,SS.EXITED=vS,SS.ENTERING=bS,SS.ENTERED=yS,SS.EXITING=xS;var CS=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},kS=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=fS(n.className,r):n.setAttribute("class",fS(n.className&&n.className.baseVal||"",r)));var n,r}))},ES=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}pS(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,CS(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,a=n.done;this.appliedClasses[t]={},r&&kS(e,r),o&&kS(e,o),a&&kS(e,a)},n.render=function(){var e=this.props;e.classNames;var t=Dp(e,["classNames"]);return Ot.createElement(SS,Ap({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(Ot.Component);function RS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LS(e,t){var n=Object.create(null);return e&&Ge.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Ge.exports.isValidElement(e)?t(e):e}(e)})),n}function OS(e,t,n){return null!=n[t]?n[t]:e.props[t]}function MS(e,t,n){var r=LS(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(Ge.exports.isValidElement(i)){var l=a in t,s=a in r,c=t[a],u=Ge.exports.isValidElement(c)&&!c.props.in;!s||l&&!u?s||!l||u?s&&l&&Ge.exports.isValidElement(c)&&(o[a]=Ge.exports.cloneElement(i,{onExited:n.bind(null,i),in:c.props.in,exit:OS(i,"exit",e),enter:OS(i,"enter",e)})):o[a]=Ge.exports.cloneElement(i,{in:!1}):o[a]=Ge.exports.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:OS(i,"exit",e),enter:OS(i,"enter",e)})}})),o}ES.defaultProps={classNames:""},ES.propTypes={};var IS=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},TS=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(RS(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}pS(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,LS(n.children,(function(e){return Ge.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:OS(e,"appear",n),enter:OS(e,"enter",n),exit:OS(e,"exit",n)})}))):MS(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=LS(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Ap({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Dp(e,["component","childFactory"]),o=this.state.contextValue,a=IS(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?Ot.createElement(hS.Provider,{value:o},a):Ot.createElement(hS.Provider,{value:o},Ot.createElement(t,r,a))},t}(Ot.Component);TS.propTypes={},TS.defaultProps={component:"div",childFactory:function(e){return e}};var PS,zS,NS=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}pS(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,a=Ot.Children.toArray(o)[t];if(a.props[e]&&(r=a.props)[e].apply(r,n),this.props[e]){var i=a.props.nodeRef?void 0:_p.findDOMNode(this);this.props[e](i)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=Dp(e,["children","in"]),o=Ot.Children.toArray(t),a=o[0],i=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,Ot.createElement(TS,r,n?Ot.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):Ot.cloneElement(i,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(Ot.Component);NS.propTypes={};var _S="out-in",AS="in-out",DS=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},$S=((PS={})[_S]=function(e){var t=e.current,n=e.changeState;return Ot.cloneElement(t,{in:!1,onExited:DS(t,"onExited",(function(){n(bS,null)}))})},PS[AS]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,Ot.cloneElement(r,{in:!0,onEntered:DS(r,"onEntered",(function(){n(bS)}))})]},PS),qS=((zS={})[_S]=function(e){var t=e.children,n=e.changeState;return Ot.cloneElement(t,{in:!0,onEntered:DS(t,"onEntered",(function(){n(yS,Ot.cloneElement(t,{in:!0}))}))})},zS[AS]=function(e){var t=e.current,n=e.children,r=e.changeState;return[Ot.cloneElement(t,{in:!1,onExited:DS(t,"onExited",(function(){r(yS,Ot.cloneElement(n,{in:!0}))}))}),Ot.cloneElement(n,{in:!0})]},zS),jS=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:yS,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}pS(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===bS&&e.mode===AS?{status:bS}:!t.current||(n=t.current,r=e.children,n===r||Ot.isValidElement(n)&&Ot.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:Ot.cloneElement(e.children,{in:!0})}:{status:xS};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,a=o.status,i=o.current,l={children:n,current:i,changeState:this.changeState,status:a};switch(a){case bS:e=qS[r](l);break;case xS:e=$S[r](l);break;case yS:e=i}return Ot.createElement(hS.Provider,{value:{isMounting:!this.appeared}},e)},t}(Ot.Component);jS.propTypes={},jS.defaultProps={mode:_S};const FS=Qh("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),BS=["center","classes","className"];let WS,HS,US,VS,GS=e=>e;const KS=Gm(WS||(WS=GS`
|
|
33
|
+
0% {
|
|
34
|
+
transform: scale(0);
|
|
35
|
+
opacity: 0.1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
100% {
|
|
39
|
+
transform: scale(1);
|
|
40
|
+
opacity: 0.3;
|
|
41
|
+
}
|
|
42
|
+
`)),XS=Gm(HS||(HS=GS`
|
|
43
|
+
0% {
|
|
44
|
+
opacity: 1;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
100% {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
`)),ZS=Gm(US||(US=GS`
|
|
51
|
+
0% {
|
|
52
|
+
transform: scale(1);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
50% {
|
|
56
|
+
transform: scale(0.92);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
100% {
|
|
60
|
+
transform: scale(1);
|
|
61
|
+
}
|
|
62
|
+
`)),YS=tS("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),QS=tS((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:a,rippleSize:i,in:l,onExited:s,timeout:c}=e,[u,d]=Ge.exports.useState(!1),p=uv(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:i,height:i,top:-i/2+a,left:-i/2+o},m=uv(n.child,u&&n.childLeaving,r&&n.childPulsate);return l||u||d(!0),Ge.exports.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,c);return()=>{clearTimeout(e)}}}),[s,l,c]),ih.exports.jsx("span",{className:p,style:f,children:ih.exports.jsx("span",{className:m})})}),{name:"MuiTouchRipple",slot:"Ripple"})(VS||(VS=GS`
|
|
63
|
+
opacity: 0;
|
|
64
|
+
position: absolute;
|
|
65
|
+
|
|
66
|
+
&.${0} {
|
|
67
|
+
opacity: 0.3;
|
|
68
|
+
transform: scale(1);
|
|
69
|
+
animation-name: ${0};
|
|
70
|
+
animation-duration: ${0}ms;
|
|
71
|
+
animation-timing-function: ${0};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.${0} {
|
|
75
|
+
animation-duration: ${0}ms;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
& .${0} {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
display: block;
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
border-radius: 50%;
|
|
84
|
+
background-color: currentColor;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
& .${0} {
|
|
88
|
+
opacity: 0;
|
|
89
|
+
animation-name: ${0};
|
|
90
|
+
animation-duration: ${0}ms;
|
|
91
|
+
animation-timing-function: ${0};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
& .${0} {
|
|
95
|
+
position: absolute;
|
|
96
|
+
/* @noflip */
|
|
97
|
+
left: 0px;
|
|
98
|
+
top: 0;
|
|
99
|
+
animation-name: ${0};
|
|
100
|
+
animation-duration: 2500ms;
|
|
101
|
+
animation-timing-function: ${0};
|
|
102
|
+
animation-iteration-count: infinite;
|
|
103
|
+
animation-delay: 200ms;
|
|
104
|
+
}
|
|
105
|
+
`),FS.rippleVisible,KS,550,(({theme:e})=>e.transitions.easing.easeInOut),FS.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),FS.child,FS.childLeaving,XS,550,(({theme:e})=>e.transitions.easing.easeInOut),FS.childPulsate,ZS,(({theme:e})=>e.transitions.easing.easeInOut)),JS=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=Dp(n,BS),[l,s]=Ge.exports.useState([]),c=Ge.exports.useRef(0),u=Ge.exports.useRef(null);Ge.exports.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[l]);const d=Ge.exports.useRef(!1),p=Ge.exports.useRef(null),f=Ge.exports.useRef(null),m=Ge.exports.useRef(null);Ge.exports.useEffect((()=>()=>{clearTimeout(p.current)}),[]);const h=Ge.exports.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,ih.exports.jsx(QS,{classes:{ripple:uv(o.ripple,FS.ripple),rippleVisible:uv(o.rippleVisible,FS.rippleVisible),ripplePulsate:uv(o.ripplePulsate,FS.ripplePulsate),child:uv(o.child,FS.child),childLeaving:uv(o.childLeaving,FS.childLeaving),childPulsate:uv(o.childPulsate,FS.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),g=Ge.exports.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:m.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[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=()=>{h({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):h({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,h]),v=Ge.exports.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=Ge.exports.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((()=>{b(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),u.current=t}),[]);return Ge.exports.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),ih.exports.jsx(YS,Ap({className:uv(o.root,FS.root,a),ref:m},i,{children:ih.exports.jsx(TS,{component:null,exit:!0,children:l})}))}));function ew(e){return Yh("MuiButtonBase",e)}const tw=Qh("MuiButtonBase",["root","disabled","focusVisible"]),nw=["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"],rw=tS("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"},[`&.${tw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ow=Ge.exports.forwardRef((function(e,t){const n=Qx({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:m,onContextMenu:h,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:S,onMouseLeave:w,onMouseUp:C,onTouchEnd:k,onTouchMove:E,onTouchStart:R,tabIndex:L=0,TouchRippleProps:O,touchRippleRef:M,type:I}=n,T=Dp(n,nw),P=Ge.exports.useRef(null),z=Ge.exports.useRef(null),N=Ph(z,M),{isFocusVisibleRef:_,onFocus:A,onBlur:D,ref:$}=Fh(),[q,j]=Ge.exports.useState(!1);s&&q&&j(!1),Ge.exports.useImperativeHandle(r,(()=>({focusVisible:()=>{j(!0),P.current.focus()}})),[]);const[F,B]=Ge.exports.useState(!1);Ge.exports.useEffect((()=>{B(!0)}),[]);const W=F&&!c&&!s;function H(e,t,n=u){return Th((r=>{t&&t(r);return!n&&z.current&&z.current[e](r),!0}))}Ge.exports.useEffect((()=>{q&&d&&!c&&F&&z.current.pulsate()}),[c,d,q,F]);const U=H("start",S),V=H("stop",h),G=H("stop",g),K=H("stop",C),X=H("stop",(e=>{q&&e.preventDefault(),w&&w(e)})),Z=H("start",R),Y=H("stop",k),Q=H("stop",E),J=H("stop",(e=>{D(e),!1===_.current&&j(!1),f&&f(e)}),!1),ee=Th((e=>{P.current||(P.current=e.currentTarget),A(e),!0===_.current&&(j(!0),b&&b(e)),v&&v(e)})),te=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ne=Ge.exports.useRef(!1),re=Th((e=>{d&&!ne.current&&q&&z.current&&" "===e.key&&(ne.current=!0,z.current.stop(e,(()=>{z.current.start(e)}))),e.target===e.currentTarget&&te()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&te()&&"Enter"===e.key&&!s&&(e.preventDefault(),m&&m(e))})),oe=Th((e=>{d&&" "===e.key&&z.current&&q&&!e.defaultPrevented&&(ne.current=!1,z.current.stop(e,(()=>{z.current.pulsate(e)}))),x&&x(e),m&&e.target===e.currentTarget&&te()&&" "===e.key&&!e.defaultPrevented&&m(e)}));let ae=l;"button"===ae&&(T.href||T.to)&&(ae=p);const ie={};"button"===ae?(ie.type=void 0===I?"button":I,ie.disabled=s):(T.href||T.to||(ie.role="button"),s&&(ie["aria-disabled"]=s));const le=Ph($,P),se=Ph(t,le),ce=Ap({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:L,focusVisible:q}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Gh({root:["root",t&&"disabled",n&&"focusVisible"]},ew,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return ih.exports.jsxs(rw,Ap({as:ae,className:uv(ue.root,i),ownerState:ce,onBlur:J,onClick:m,onContextMenu:V,onFocus:ee,onKeyDown:re,onKeyUp:oe,onMouseDown:U,onMouseLeave:X,onMouseUp:K,onDragLeave:G,onTouchEnd:Y,onTouchMove:Q,onTouchStart:Z,ref:se,tabIndex:s?-1:L,type:I},ie,T,{children:[a,W?ih.exports.jsx(JS,Ap({ref:N,center:o},O)):null]}))}));function aw(e){return Yh("MuiButton",e)}const iw=Qh("MuiButton",["root","text","textInherit","textPrimary","textSecondary","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","contained","containedInherit","containedPrimary","containedSecondary","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),lw=Ge.exports.createContext({}),sw=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],cw=e=>Ap({},"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}}),uw=tS(ow,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${wh(n.color)}`],t[`size${wh(n.size)}`],t[`${n.variant}Size${wh(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;return Ap({},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":Ap({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Hv(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})`:Hv(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})`:Hv(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":Ap({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${iw.focusVisible}`]:Ap({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${iw.disabled}`]:Ap({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 ${Hv(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"},[`&.${iw.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${iw.disabled}`]:{boxShadow:"none"}})),dw=tS("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${wh(n.size)}`]]}})((({ownerState:e})=>Ap({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},cw(e)))),pw=tS("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${wh(n.size)}`]]}})((({ownerState:e})=>Ap({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},cw(e)))),fw=Ge.exports.forwardRef((function(e,t){const n=Ge.exports.useContext(lw),r=Qx({props:Vh(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:m="medium",startIcon:h,type:g,variant:v="text"}=r,b=Dp(r,sw),y=Ap({},r,{color:a,component:i,disabled:s,disableElevation:c,disableFocusRipple:u,fullWidth:f,size:m,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return Ap({},i,Gh({root:["root",a,`${a}${wh(t)}`,`size${wh(o)}`,`${a}Size${wh(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${wh(o)}`],endIcon:["endIcon",`iconSize${wh(o)}`]},aw,i))})(y),S=h&&ih.exports.jsx(dw,{className:x.startIcon,ownerState:y,children:h}),w=d&&ih.exports.jsx(pw,{className:x.endIcon,ownerState:y,children:d});return ih.exports.jsxs(uw,Ap({ownerState:y,className:uv(l,n.className),component:i,disabled:s,focusRipple:!u,focusVisibleClassName:uv(x.focusVisible,p),ref:t,type:g},b,{classes:x,children:[S,o,w]}))}));var mw={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 hw="#009845",gw="#3F8AB3",vw="#ffffff",bw="#404040",yw="#333333",xw="#1A1A1A",Sw={mode:"light",palette:{primary:{main:bw,contrastText:vw},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:bw,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:bw,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:vw,default:vw,lightest:vw,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:gw,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:hw,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:vw,alternativeContrastText:bw,excludedContrastText:bw},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)"}}},ww={mode:"dark",palette:{primary:{main:yw,contrastText:vw},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:vw,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:vw,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:bw,lighter:yw,darker:"#262626",darkest:xw},custom:{focusBorder:gw,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:hw,alternative:yw,excluded:xw,mainContrastText:vw,alternativeContrastText:vw,excludedContrastText:vw},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)"}}},Cw={},kw=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(iw.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(iw.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(iw.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(iw.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function Ew(e){let t=Sw,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=ww));const r=JSON.stringify(t);if(Cw[r])return Cw[r];const a={palette:o(o({type:t.mode},mw.palette),t.palette),typography:o({},mw.typography),shadows:mw.shadows,props:o({},mw.props),shape:o({},mw.shape)};return Cw[r]=Xx(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:a={},styleOverrides:i={}}=e,l=Ap({},Dp(e,ob),{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=mv(e.spacing);const s=pv(e.breakpoints||{}),c=l.spacing;l.mixins=Ap({gutters:(e={})=>Ap({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:Ap({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=Dp(o,ab),f=d||u||"light";return l.palette=Ap({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(o(o({},a),{},{overrides:kw(a)}))),Cw[r].name=n,Cw[r]}Xh.configure((e=>"njs-".concat("30d9","-").concat(e.replace("Mui",""))));var Rw=Ot.createContext({language:null,theme:null,translator:null,constraints:{}}),Lw=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]=Ge.exports.useState(n);return Ge.exports.useEffect((()=>(r.push(e),()=>{const t=r.indexOf(e);r.splice(t,1)})),[e]),[o]};return[a,o]};const[Ow,Mw]=Lw({}),[Iw,Tw]=Lw({}),[Pw,zw]=Lw({}),[Nw,_w]=Lw({}),[Aw,Dw]=Lw({}),[,$w]=Lw({}),qw=e=>{let{type:t,value:n}=e;const r=$w.get(n.id);$w.set(n.id,{});const o=()=>{Tw.clear(n.id),Dw.set(n.id,{}),Dw.dispatch(!0)},a=()=>{n.removeListener("changed",o),Mw.clear(n.id),Tw.clear(n.id),zw.clear(n.id),_w.clear(n.id),Dw.clear(n.id),$w.clear(n.id)};if("SET"===t)r||(n.on("changed",o),n.once("closed",(()=>{a()})));return a},[jw,Fw]=Lw({},qw),Bw=(e,t)=>{const{rpcResultStore:n,key:r,method:a}=t;let i;switch(t.type){case"INVALID":i=o(o({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":i={result:o({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":i=o(o({},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[a]=i,n.set(r,l),i};function Ww(e,t){const n=e?"".concat(e.id):null,[r]=Ow(),[o,a]=Ge.exports.useReducer(Bw,n?r.get(n):null),[i]=Aw(),[l]=Iw();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 Ge.exports.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 Hw(e){return Ww(e,"getLayout")}function Uw(e){return Ww(e,"getAppLayout")}function Vw(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=jw(),[o]=Pw(),[a,i]=Ge.exports.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 Ge.exports.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 Gw={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function Kw(e){return Vw(Gw,e)}function Xw(e){const[t]=Kw(e),[n]=Hw(t),[r]=Uw(e),[o,a]=Ge.exports.useState(null);return Ge.exports.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]),Ge.exports.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[Zw,Yw]=Lw({}),[Qw,Jw]=Lw({}),[eC,tC]=Lw({}),[nC,rC]=Lw({});function oC(e){if(!e.session)return[];const[t,n,r]=Xw(e),[o]=Zw(),a=e?e.id:null;let i=o.get(a);return Ge.exports.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=rC.get(o);t&&(await t.endSelections(e),rC.clear(o),tC.get(t.id).emit("deactivated"))},i={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===rC.get(o))return;a(r),rC.set(o,e);const i=Array.isArray(n)?n:[n],l=async n=>{try{await e.beginSelections(i),rC.set(o,e)}catch(e){6003!==e.code||n?rC.clear(o):(await t.abortModal(r),l(!0))}};await l()},end:a};Jw.set(o,i);const l={model:t,isInModal:()=>!!rC.get(o),isModal:e=>e?rC.get(o)===e:!!rC.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 aC=Ge.exports.forwardRef(((e,t)=>{let{initialContext:n,app:r}=e;const[o]=oC(r),[a,i]=Ge.exports.useState(n),[l,s]=Ge.exports.useState(),{theme:c}=Ge.exports.useMemo((()=>({theme:Ew(l)})),[l]),[u,d]=Ge.exports.useState([]);return Ge.exports.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}))),Ot.createElement(gh,{injectFirst:!0},Ot.createElement(Xv,{theme:c},Ot.createElement(Rw.Provider,{value:a},u)))}));function iC(e){let t,{app:n,context:r}=e;const o=new Promise((e=>{t=e})),a=Ot.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","3.0.0-alpha0"),i.setAttribute("data-app-id",n.id),document.body.appendChild(i),_p.render(Ot.createElement(aC,{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},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 lC(e){return Yh("MuiSvgIcon",e)}Qh("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const sC=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],cC=tS("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${wh(n.color)}`],t[`fontSize${wh(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,c,u,d,p,f,m,h,g,v,b;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.1875"}[t.fontSize],color:null!=(p=null==(f=(e.vars||e).palette)||null==(m=f[t.color])?void 0:m.main)?p:{action:null==(h=(e.vars||e).palette)||null==(g=h.action)?void 0:g.active,disabled:null==(v=(e.vars||e).palette)||null==(b=v.action)?void 0:b.disabled,inherit:void 0}[t.color]}})),uC=Ge.exports.forwardRef((function(e,t){const n=Qx({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=Dp(n,sC),f=Ap({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d}),m={};c||(m.viewBox=d);const h=(e=>{const{color:t,fontSize:n,classes:r}=e;return Gh({root:["root","inherit"!==t&&`color${wh(t)}`,`fontSize${wh(n)}`]},lC,r)})(f);return ih.exports.jsxs(cC,Ap({as:i,className:uv(h.root,o),ownerState:f,focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,{children:[r,u?ih.exports.jsx("title",{children:u}):null]}))}));function dC(e,t){const n=(n,r)=>ih.exports.jsx(uC,Ap({"data-testid":`${t}Icon`,ref:r},n,{children:e}));return n.muiName=uC.muiName,Ge.exports.memo(Ge.exports.forwardRef(n))}uC.muiName="SvgIcon";const pC=e=>e.scrollTop;function fC(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 mC(e){return Yh("MuiCollapse",e)}Qh("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const hC=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],gC=tS("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>Ap({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&Ap({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),vC=tS("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>Ap({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),bC=tS("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>Ap({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),yC=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:a,collapsedSize:i="0px",component:l,easing:s,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:m,onExiting:h,orientation:g="vertical",style:v,timeout:b=Wx.standard,TransitionComponent:y=SS}=n,x=Dp(n,hC),S=Ap({},n,{orientation:g,collapsedSize:i}),w=(e=>{const{orientation:t,classes:n}=e;return Gh({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},mC,n)})(S),C=Yx(),k=Ge.exports.useRef(),E=Ge.exports.useRef(null),R=Ge.exports.useRef(),L="number"==typeof i?`${i}px`:i,O="horizontal"===g,M=O?"width":"height";Ge.exports.useEffect((()=>()=>{clearTimeout(k.current)}),[]);const I=Ge.exports.useRef(null),T=Ph(t,I),P=e=>t=>{if(e){const n=I.current;void 0===t?e(n):e(n,t)}},z=()=>E.current?E.current[O?"clientWidth":"clientHeight"]:0,N=P(((e,t)=>{E.current&&O&&(E.current.style.position="absolute"),e.style[M]=L,u&&u(e,t)})),_=P(((e,t)=>{const n=z();E.current&&O&&(E.current.style.position="");const{duration:r,easing:o}=fC({style:v,timeout:b,easing:s},{mode:"enter"});if("auto"===b){const t=C.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,R.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[M]=`${n}px`,e.style.transitionTimingFunction=o,p&&p(e,t)})),A=P(((e,t)=>{e.style[M]="auto",d&&d(e,t)})),D=P((e=>{e.style[M]=`${z()}px`,f&&f(e)})),$=P(m),q=P((e=>{const t=z(),{duration:n,easing:r}=fC({style:v,timeout:b,easing:s},{mode:"exit"});if("auto"===b){const n=C.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,R.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[M]=L,e.style.transitionTimingFunction=r,h&&h(e)}));return ih.exports.jsx(y,Ap({in:c,onEnter:N,onEntered:A,onEntering:_,onExit:D,onExited:$,onExiting:q,addEndListener:e=>{"auto"===b&&(k.current=setTimeout(e,R.current||0)),r&&r(I.current,e)},nodeRef:I,timeout:"auto"===b?null:b},x,{children:(e,t)=>ih.exports.jsx(gC,Ap({as:l,className:uv(w.root,a,{entered:w.entered,exited:!c&&"0px"===L&&w.hidden}[e]),style:Ap({[O?"minWidth":"minHeight"]:L},v),ownerState:Ap({},S,{state:e}),ref:T},t,{children:ih.exports.jsx(vC,{ownerState:Ap({},S,{state:e}),className:w.wrapper,ref:E,children:ih.exports.jsx(bC,{ownerState:Ap({},S,{state:e}),className:w.wrapperInner,children:o})})}))}))}));yC.muiSupportAuto=!0;const xC=Qh("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);tS(iS,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${xC.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${xC.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${xC.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>Ap({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${xC.expanded}`]:{margin:"16px 0"}}))),Qh("MuiAccordionActions",["root","spacing"]),tS("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>Ap({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),Qh("MuiAccordionDetails",["root"]),tS("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));const SC=Qh("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);tS(ow,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return Ap({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),[`&.${SC.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${SC.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${SC.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${SC.expanded}`]:{minHeight:64}})})),tS("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>Ap({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${SC.expanded}`]:{margin:"20px 0"}}))),tS("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${SC.expanded}`]:{transform:"rotate(180deg)"}})));const wC=Qh("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function CC(e){return Yh("MuiIconButton",e)}const kC=Qh("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),EC=["edge","children","className","color","disabled","disableFocusRipple","size"],RC=tS(ow,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${wh(n.color)}`],n.edge&&t[`edge${wh(n.edge)}`],t[`size${wh(n.size)}`]]}})((({theme:e,ownerState:t})=>Ap({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.active} / ${e.vars.palette.action.hoverOpacity})`:Hv(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})=>Ap({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&Ap({color:(e.vars||e).palette[t.color].main},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Hv(e.palette[t.color].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)},{[`&.${kC.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),LC=Ge.exports.forwardRef((function(e,t){const n=Qx({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=Dp(n,EC),d=Ap({},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 Gh({root:["root",n&&"disabled","default"!==r&&`color${wh(r)}`,o&&`edge${wh(o)}`,`size${wh(a)}`]},CC,t)})(d);return ih.exports.jsx(RC,Ap({className:uv(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))}));function OC(e){return Yh("MuiTypography",e)}dC(ih.exports.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),dC(ih.exports.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),dC(ih.exports.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),dC(ih.exports.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),dC(ih.exports.jsx("path",{d:"M19 6.41L17.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"),tS(iS,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${wh(n.color||n.severity)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?Uv:Vv,r="light"===e.palette.mode?Vv:Uv,o=t.color||t.severity;return Ap({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===t.variant&&{color:n(e.palette[o].light,.6),backgroundColor:r(e.palette[o].light,.9),[`& .${wC.icon}`]:{color:"dark"===e.palette.mode?e.palette[o].main:e.palette[o].light}},o&&"outlined"===t.variant&&{color:n(e.palette[o].light,.6),border:`1px solid ${e.palette[o].light}`,[`& .${wC.icon}`]:{color:"dark"===e.palette.mode?e.palette[o].main:e.palette[o].light}},o&&"filled"===t.variant&&{color:"#fff",fontWeight:e.typography.fontWeightMedium,backgroundColor:"dark"===e.palette.mode?e.palette[o].dark:e.palette[o].main})})),tS("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),tS("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),tS("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Qh("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const MC=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],IC=tS("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${wh(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>Ap({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}))),TC={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},PC={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},zC=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiTypography"}),r=(e=>PC[e]||e)(n.color),o=sv(Ap({},n,{color:r})),{align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=TC}=o,f=Dp(o,MC),m=Ap({},o,{align:a,color:r,className:i,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),h=l||(u?"p":p[d]||TC[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:i}=e;return Gh({root:["root",a,"inherit"!==e.align&&`align${wh(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},OC,i)})(m);return ih.exports.jsx(IC,Ap({as:h,ref:t,ownerState:m,className:uv(g.root,i)},f))}));Qh("MuiAlertTitle",["root"]),tS(zC,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),Qh("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]),tS(iS,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${wh(n.position)}`],t[`color${wh(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Ap({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:e.zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&Ap({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"}))}));const NC=tS(Ty,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_C=Ge.exports.forwardRef((function(e,t){const n=Sv(),r=Qx({props:e,name:"MuiPopper"});return ih.exports.jsx(NC,Ap({direction:null==n?void 0:n.direction},r,{ref:t}))}));function AC(e){return Yh("MuiListSubheader",e)}Qh("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const DC=["className","color","component","disableGutters","disableSticky","inset"],$C=tS("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${wh(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>Ap({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),qC=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiListSubheader"}),{className:r,color:o="default",component:a="li",disableGutters:i=!1,disableSticky:l=!1,inset:s=!1}=n,c=Dp(n,DC),u=Ap({},n,{color:o,component:a,disableGutters:i,disableSticky:l,inset:s}),d=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e;return Gh({root:["root","default"!==n&&`color${wh(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]},AC,t)})(u);return ih.exports.jsx($C,Ap({as:a,className:uv(d.root,r),ref:t,ownerState:u},c))}));dC(ih.exports.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");const jC=Qh("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","focusVisible"]);function FC({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)),{})}tS("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,clickable:o,onDelete:a,size:i,variant:l}=n;return[{[`& .${jC.avatar}`]:t.avatar},{[`& .${jC.avatar}`]:t[`avatar${wh(i)}`]},{[`& .${jC.avatar}`]:t[`avatarColor${wh(r)}`]},{[`& .${jC.icon}`]:t.icon},{[`& .${jC.icon}`]:t[`icon${wh(i)}`]},{[`& .${jC.icon}`]:t[`iconColor${wh(r)}`]},{[`& .${jC.deleteIcon}`]:t.deleteIcon},{[`& .${jC.deleteIcon}`]:t[`deleteIcon${wh(i)}`]},{[`& .${jC.deleteIcon}`]:t[`deleteIconColor${wh(r)}`]},{[`& .${jC.deleteIcon}`]:t[`deleteIconOutlinedColor${wh(r)}`]},t.root,t[`size${wh(i)}`],t[`color${wh(r)}`],o&&t.clickable,o&&"default"!==r&&t[`clickableColor${wh(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${wh(r)}`],t[l],"outlined"===l&&t[`outlined${wh(r)}`]]}})((({theme:e,ownerState:t})=>{const n=Hv(e.palette.text.primary,.26);return Ap({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.text.primary,backgroundColor:e.palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${jC.disabled}`]:{opacity:e.palette.action.disabledOpacity,pointerEvents:"none"},[`& .${jC.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},[`& .${jC.avatarColorPrimary}`]:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},[`& .${jC.avatarColorSecondary}`]:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},[`& .${jC.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${jC.icon}`]:Ap({color:"light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},"default"!==t.color&&{color:"inherit"}),[`& .${jC.deleteIcon}`]:Ap({WebkitTapHighlightColor:"transparent",color:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:Hv(n,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:Hv(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:e.palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.onDelete&&{[`&.${jC.focusVisible}`]:{backgroundColor:Hv(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${jC.focusVisible}`]:{backgroundColor:e.palette[t.color].dark}})}),(({theme:e,ownerState:t})=>Ap({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:Hv(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${jC.focusVisible}`]:{backgroundColor:Hv(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:e.shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${jC.focusVisible}`]:{backgroundColor:e.palette[t.color].dark}})),(({theme:e,ownerState:t})=>Ap({},"outlined"===t.variant&&{backgroundColor:"transparent",border:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${jC.clickable}:hover`]:{backgroundColor:e.palette.action.hover},[`&.${jC.focusVisible}`]:{backgroundColor:e.palette.action.focus},[`& .${jC.avatar}`]:{marginLeft:4},[`& .${jC.avatarSmall}`]:{marginLeft:2},[`& .${jC.icon}`]:{marginLeft:4},[`& .${jC.iconSmall}`]:{marginLeft:2},[`& .${jC.deleteIcon}`]:{marginRight:5},[`& .${jC.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:e.palette[t.color].main,border:`1px solid ${Hv(e.palette[t.color].main,.7)}`,[`&.${jC.clickable}:hover`]:{backgroundColor:Hv(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${jC.focusVisible}`]:{backgroundColor:Hv(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${jC.deleteIcon}`]:{color:Hv(e.palette[t.color].main,.7),"&:hover, &:active":{color:e.palette[t.color].main}}}))),tS("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${wh(r)}`]]}})((({ownerState:e})=>Ap({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===e.size&&{paddingLeft:8,paddingRight:8})));const BC=Ge.exports.createContext();function WC(){return Ge.exports.useContext(BC)}function HC(e){return ih.exports.jsx(vh,Ap({},e,{defaultTheme:Zx}))}function UC(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function VC(e,t=!1){return e&&(UC(e.value)&&""!==e.value||t&&UC(e.defaultValue)&&""!==e.defaultValue)}function GC(e){return Yh("MuiInputBase",e)}const KC=Qh("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),XC=["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","startAdornment","type","value"],ZC=(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${wh(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},YC=(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]},QC=tS("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ZC})((({theme:e,ownerState:t})=>Ap({},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",[`&.${KC.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Ap({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),JC=tS("input",{name:"MuiInputBase",slot:"Input",overridesResolver:YC})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=Ap({color:"currentColor"},e.vars?{opacity:e.vars.opacity.placeholder}:{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.placeholder}:{opacity:n?.42:.5};return Ap({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] + .${KC.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},[`&.${KC.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"})})),ek=ih.exports.jsx(HC,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),tk=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:o,autoFocus:a,className:i,components:l={},componentsProps:s={},defaultValue:c,disabled:u,disableInjectingGlobalStyles:d,endAdornment:p,fullWidth:f=!1,id:m,inputComponent:h="input",inputProps:g={},inputRef:v,maxRows:b,minRows:y,multiline:x=!1,name:S,onBlur:w,onChange:C,onClick:k,onFocus:E,onKeyDown:R,onKeyUp:L,placeholder:O,readOnly:M,renderSuffix:I,rows:T,startAdornment:P,type:z="text",value:N}=n,_=Dp(n,XC),A=null!=g.value?g.value:N,{current:D}=Ge.exports.useRef(null!=A),$=Ge.exports.useRef(),q=Ge.exports.useCallback((e=>{}),[]),j=Ph(g.ref,q),F=Ph(v,j),B=Ph($,F),[W,H]=Ge.exports.useState(!1),U=WC(),V=FC({props:n,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});V.focused=U?U.focused:W,Ge.exports.useEffect((()=>{!U&&u&&W&&(H(!1),w&&w())}),[U,u,W,w]);const G=U&&U.onFilled,K=U&&U.onEmpty,X=Ge.exports.useCallback((e=>{VC(e)?G&&G():K&&K()}),[G,K]);Mh((()=>{D&&X({value:A})}),[A,X,D]);Ge.exports.useEffect((()=>{X($.current)}),[]);let Z=h,Y=g;x&&"input"===Z&&(Y=Ap(T?{type:void 0,minRows:T,maxRows:T}:{type:void 0,maxRows:b,minRows:y},Y),Z=Xy);Ge.exports.useEffect((()=>{U&&U.setAdornedStart(Boolean(P))}),[U,P]);const Q=Ap({},n,{color:V.color||"primary",disabled:V.disabled,endAdornment:p,error:V.error,focused:V.focused,formControl:U,fullWidth:f,hiddenLabel:V.hiddenLabel,multiline:x,size:V.size,startAdornment:P,type:z}),J=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,size:d,startAdornment:p,type:f}=e;return Gh({root:["root",`color${wh(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===d&&"sizeSmall",u&&"multiline",p&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled","search"===f&&"inputTypeSearch",u&&"inputMultiline","small"===d&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",a&&"inputAdornedEnd"]},GC,t)})(Q),ee=l.Root||QC,te=s.root||{},ne=l.Input||JC;return Y=Ap({},Y,s.input),ih.exports.jsxs(Ge.exports.Fragment,{children:[!d&&ek,ih.exports.jsxs(ee,Ap({},te,!ib(ee)&&{ownerState:Ap({},Q,te.ownerState)},{ref:t,onClick:e=>{$.current&&e.currentTarget===e.target&&$.current.focus(),k&&k(e)}},_,{className:uv(J.root,te.className,i),children:[P,ih.exports.jsx(BC.Provider,{value:null,children:ih.exports.jsx(ne,Ap({ownerState:Q,"aria-invalid":V.error,"aria-describedby":r,autoComplete:o,autoFocus:a,defaultValue:c,disabled:V.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?$.current:{value:"x"})},name:S,placeholder:O,readOnly:M,required:V.required,rows:T,value:A,onKeyDown:R,onKeyUp:L,type:z},Y,!ib(ne)&&{as:Z,ownerState:Ap({},Q,Y.ownerState)},{ref:B,className:uv(J.input,Y.className),onBlur:e=>{w&&w(e),g.onBlur&&g.onBlur(e),U&&U.onBlur?U.onBlur(e):H(!1)},onChange:(e,...t)=>{if(!D){const t=e.target||$.current;if(null==t)throw new Error(Sh(1));X({value:t.value})}g.onChange&&g.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{V.disabled?e.stopPropagation():(E&&E(e),g.onFocus&&g.onFocus(e),U&&U.onFocus?U.onFocus(e):H(!0))}}))}),p,I?I(Ap({},V,{startAdornment:P})):null]}))]})}));function nk(e){return Yh("MuiInput",e)}const rk=Ap({},KC,Qh("MuiInput",["root","underline","input"]));function ok(e){return Yh("MuiOutlinedInput",e)}const ak=Ap({},KC,Qh("MuiOutlinedInput",["root","notchedOutline","input"]));function ik(e){return Yh("MuiFilledInput",e)}const lk=Ap({},KC,Qh("MuiFilledInput",["root","underline","input"]));var sk=dC(ih.exports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const ck=Qh("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);tS("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:i,size:l}=n;return[{[`& .${ck.tag}`]:t.tag},{[`& .${ck.tag}`]:t[`tagSize${wh(l)}`]},{[`& .${ck.inputRoot}`]:t.inputRoot},{[`& .${ck.input}`]:t.input},{[`& .${ck.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})((({ownerState:e})=>Ap({[`&.${ck.focused} .${ck.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${ck.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${ck.tag}`]:Ap({margin:3,maxWidth:"calc(100% - 6px)"},"small"===e.size&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${ck.inputRoot}`]:{flexWrap:"wrap",[`.${ck.hasPopupIcon}&, .${ck.hasClearIcon}&`]:{paddingRight:30},[`.${ck.hasPopupIcon}.${ck.hasClearIcon}&`]:{paddingRight:56},[`& .${ck.input}`]:{width:0,minWidth:30}},[`& .${rk.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${rk.root}.${KC.sizeSmall}`]:{[`& .${rk.input}`]:{padding:"2px 4px 3px 0"}},[`& .${ak.root}`]:{padding:9,[`.${ck.hasPopupIcon}&, .${ck.hasClearIcon}&`]:{paddingRight:39},[`.${ck.hasPopupIcon}.${ck.hasClearIcon}&`]:{paddingRight:65},[`& .${ck.input}`]:{padding:"7.5px 4px 7.5px 6px"},[`& .${ck.endAdornment}`]:{right:9}},[`& .${ak.root}.${KC.sizeSmall}`]:{padding:6,[`& .${ck.input}`]:{padding:"2.5px 4px 2.5px 6px"}},[`& .${lk.root}`]:{paddingTop:19,paddingLeft:8,[`.${ck.hasPopupIcon}&, .${ck.hasClearIcon}&`]:{paddingRight:39},[`.${ck.hasPopupIcon}.${ck.hasClearIcon}&`]:{paddingRight:65},[`& .${lk.input}`]:{padding:"7px 4px"},[`& .${ck.endAdornment}`]:{right:9}},[`& .${lk.root}.${KC.sizeSmall}`]:{paddingBottom:1,[`& .${lk.input}`]:{padding:"2.5px 4px"}},[`& .${KC.hiddenLabel}`]:{paddingTop:8},[`& .${ck.input}`]:Ap({flexGrow:1,textOverflow:"ellipsis",opacity:0},e.inputFocused&&{opacity:1})}))),tS("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),tS(LC,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),tS(LC,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>Ap({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})((({ownerState:e})=>Ap({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"}))),tS(_C,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ck.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e,ownerState:t})=>Ap({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"}))),tS(iS,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>Ap({},e.typography.body1,{overflow:"auto"}))),tS("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),tS("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),tS("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",[`& .${ck.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${ck.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${ck.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ck.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${ck.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),tS(qC,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),tS("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${ck.option}`]:{paddingLeft:24}});var uk=dC(ih.exports.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function dk(e){return Yh("MuiAvatar",e)}const pk=Qh("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),fk=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],mk=tS("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>Ap({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:e.shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&{color:e.palette.background.default,backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}))),hk=tS("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),gk=tS(uk,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const vk=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiAvatar"}),{alt:r,children:o,className:a,component:i="div",imgProps:l,sizes:s,src:c,srcSet:u,variant:d="circular"}=n,p=Dp(n,fk);let f=null;const m=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,a]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{if(!n&&!r)return;a(!1);let o=!0;const i=new Image;return i.onload=()=>{o&&a("loaded")},i.onerror=()=>{o&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=n,r&&(i.srcset=r),()=>{o=!1}}),[e,t,n,r]),o}(Ap({},l,{src:c,srcSet:u})),h=c||u,g=h&&"error"!==m,v=Ap({},n,{colorDefault:!g,component:i,variant:d}),b=(e=>{const{classes:t,variant:n,colorDefault:r}=e;return Gh({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},dk,t)})(v);return f=g?ih.exports.jsx(hk,Ap({alt:r,src:c,srcSet:u,sizes:s,ownerState:v,className:b.img},l)):null!=o?o:h&&r?r[0]:ih.exports.jsx(gk,{className:b.fallback}),ih.exports.jsx(mk,Ap({as:i,ownerState:v,className:uv(b.root,a),ref:t},p,{children:f}))})),bk=Qh("MuiAvatarGroup",["root","avatar"]);tS("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>Ap({[`& .${bk.avatar}`]:t.avatar},t.root)})((({theme:e})=>({[`& .${pk.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"}))),tS(vk,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})((({theme:e})=>({border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}})));const yk=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],xk={entering:{opacity:1},entered:{opacity:1}},Sk=Ge.exports.forwardRef((function(e,t){const n=Yx(),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:m,style:h,timeout:g=r,TransitionComponent:v=SS}=e,b=Dp(e,yk),y=Ge.exports.useRef(null),x=Ph(i.ref,t),S=Ph(y,x),w=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},C=w(d),k=w(((e,t)=>{pC(e);const r=fC({style:h,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)})),E=w(u),R=w(m),L=w((e=>{const t=fC({style:h,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)})),O=w(f);return ih.exports.jsx(v,Ap({appear:a,in:s,nodeRef:y,onEnter:k,onEntered:E,onEntering:C,onExit:L,onExited:O,onExiting:R,addEndListener:e=>{o&&o(y.current,e)},timeout:g},b,{children:(e,t)=>Ge.exports.cloneElement(i,Ap({style:Ap({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},xk[e],h,i.props.style),ref:S},t))}))}));function wk(e){return Yh("MuiBackdrop",e)}Qh("MuiBackdrop",["root","invisible"]);const Ck=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],kk=tS("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Ap({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"}))),Ek=Ge.exports.forwardRef((function(e,t){var n,r;const o=Qx({props:e,name:"MuiBackdrop"}),{children:a,component:i="div",components:l={},componentsProps:s={},className:c,invisible:u=!1,open:d,transitionDuration:p,TransitionComponent:f=Sk}=o,m=Dp(o,Ck),h=Ap({},o,{component:i,invisible:u}),g=(e=>{const{classes:t,invisible:n}=e;return Gh({root:["root",n&&"invisible"]},wk,t)})(h);return ih.exports.jsx(f,Ap({in:d,timeout:p},m,{children:ih.exports.jsx(kk,{"aria-hidden":!0,as:null!=(n=l.Root)?n:i,className:uv(g.root,c),ownerState:Ap({},h,null==(r=s.root)?void 0:r.ownerState),classes:g,ref:t,children:a})}))})),Rk=e=>!e||!ib(e);function Lk(e){return Yh("MuiBadge",e)}const Ok=Qh("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"]),Mk=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],Ik=tS("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Tk=tS("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${wh(n.anchorOrigin.vertical)}${wh(n.anchorOrigin.horizontal)}${wh(n.overlap)}`],"default"!==n.color&&t[`color${wh(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>Ap({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%",[`&.${Ok.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%",[`&.${Ok.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%",[`&.${Ok.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%",[`&.${Ok.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%",[`&.${Ok.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%",[`&.${Ok.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%",[`&.${Ok.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%",[`&.${Ok.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),Pk=Ge.exports.forwardRef((function(e,t){var n,r,o,a;const i=Qx({props:e,name:"MuiBadge"}),{anchorOrigin:l={vertical:"top",horizontal:"right"},className:s,component:c="span",components:u={},componentsProps:d={},overlap:p="rectangular",color:f="default",invisible:m=!1,max:h,badgeContent:g,showZero:v=!1,variant:b="standard"}=i,y=Dp(i,Mk),x=Wh({anchorOrigin:l,color:f,overlap:p,variant:b});let S=m;!1===m&&(0===g&&!v||null==g&&"dot"!==b)&&(S=!0);const{color:w=f,overlap:C=p,anchorOrigin:k=l,variant:E=b}=S?x:i,R=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return Gh({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${wh(n.vertical)}${wh(n.horizontal)}`,`anchorOrigin${wh(n.vertical)}${wh(n.horizontal)}${wh(o)}`,`overlap${wh(o)}`,"default"!==t&&`color${wh(t)}`]},Lk,i)})(Ap({},i,{anchorOrigin:k,invisible:S,color:w,overlap:C,variant:E}));let L;return"dot"!==E&&(L=g&&Number(g)>h?`${h}+`:g),ih.exports.jsx(ub,Ap({invisible:m,badgeContent:L,showZero:v,max:h},y,{components:Ap({Root:Ik,Badge:Tk},u),className:uv(s,R.root,null==(n=d.root)?void 0:n.className),componentsProps:{root:Ap({},d.root,Rk(u.Root)&&{as:c,ownerState:Ap({},null==(r=d.root)?void 0:r.ownerState,{anchorOrigin:k,color:w,overlap:C,variant:E})}),badge:Ap({},d.badge,{className:uv(R.badge,null==(o=d.badge)?void 0:o.className)},Rk(u.Badge)&&{ownerState:Ap({},null==(a=d.badge)?void 0:a.ownerState,{anchorOrigin:k,color:w,overlap:C,variant:E})})},ref:t}))}));Qh("MuiBottomNavigation",["root"]),tS("div",{name:"MuiBottomNavigation",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",height:56,backgroundColor:(e.vars||e).palette.background.paper})));const zk=Qh("MuiBottomNavigationAction",["root","iconOnly","selected","label"]);tS(ow,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.showLabel&&!n.selected&&t.iconOnly]}})((({theme:e,ownerState:t})=>Ap({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${zk.selected}`]:{color:(e.vars||e).palette.primary.main}}))),tS("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e,ownerState:t})=>Ap({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${zk.selected}`]:{fontSize:e.typography.pxToRem(14)}})));const Nk=Ev({defaultTheme:Xx(),defaultClassName:"MuiBox-root",generateClassName:Xh.generate});var _k=dC(ih.exports.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");tS(ow)((({theme:e})=>Ap({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":Ap({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":Ap({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:Gv(e.palette.grey[200],.12)}:{backgroundColor:Gv(e.palette.grey[600],.12)})}))),tS(_k)({width:24,height:16});const Ak=Qh("MuiBreadcrumbs",["root","ol","li","separator"]);tS(zC,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${Ak.li}`]:t.li},t.root]})({}),tS("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),tS("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});const Dk=Qh("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]);tS("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Dk.grouped}`]:t.grouped},{[`& .${Dk.grouped}`]:t[`grouped${wh(n.orientation)}`]},{[`& .${Dk.grouped}`]:t[`grouped${wh(n.variant)}`]},{[`& .${Dk.grouped}`]:t[`grouped${wh(n.variant)}${wh(n.orientation)}`]},{[`& .${Dk.grouped}`]:t[`grouped${wh(n.variant)}${wh(n.color)}`]},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((({theme:e,ownerState:t})=>Ap({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${Dk.grouped}`]:Ap({minWidth:40,"&:not(:first-of-type)":Ap({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1}),"&:not(:last-of-type)":Ap({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"inherit"!==t.color&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Hv(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Dk.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Dk.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":Ap({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":Ap({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"})}))),Qh("MuiCard",["root"]),tS(iS,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"})));const $k=Qh("MuiCardActionArea",["root","focusVisible","focusHighlight"]);tS(ow,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",textAlign:"inherit",width:"100%",[`&:hover .${$k.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${$k.focusVisible} .${$k.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),tS("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})((({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),Qh("MuiCardActions",["root","spacing"]),tS("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>Ap({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),Qh("MuiCardContent",["root"]),tS("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}})));const qk=Qh("MuiCardHeader",["root","avatar","action","content","title","subheader"]);function jk(e){return Yh("PrivateSwitchBase",e)}tS("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>Ap({[`& .${qk.title}`]:t.title,[`& .${qk.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),tS("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),tS("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),tS("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),Qh("MuiCardMedia",["root","media","img"]),tS("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>Ap({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),Qh("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Fk=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Bk=tS(ow)((({ownerState:e})=>Ap({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Wk=tS("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Hk=Ge.exports.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:m,onBlur:h,onChange:g,onFocus:v,readOnly:b,required:y,tabIndex:x,type:S,value:w}=e,C=Dp(e,Fk),[k,E]=Ih({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=WC();let L=l;R&&void 0===L&&(L=R.disabled);const O="checkbox"===S||"radio"===S,M=Ap({},e,{checked:k,disabled:L,disableFocusRipple:s,edge:c}),I=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return Gh({root:["root",n&&"checked",r&&"disabled",o&&`edge${wh(o)}`],input:["input"]},jk,t)})(M);return ih.exports.jsxs(Bk,Ap({component:"span",className:uv(I.root,a),centerRipple:!0,focusRipple:!s,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{h&&h(e),R&&R.onBlur&&R.onBlur(e)},ownerState:M,ref:t},C,{children:[ih.exports.jsx(Wk,Ap({autoFocus:n,checked:r,defaultChecked:i,className:I.input,disabled:L,id:O&&d,name:m,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;E(t),g&&g(e,t)},readOnly:b,ref:f,required:y,ownerState:M,tabIndex:x,type:S},"checkbox"===S&&void 0===w?{}:{value:w},p)),k?o:u]}))}));var Uk=dC(ih.exports.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"),Vk=dC(ih.exports.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"),Gk=dC(ih.exports.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 Kk(e){return Yh("MuiCheckbox",e)}const Xk=Qh("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),Zk=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],Yk=tS(Hk,{shouldForwardProp:e=>Jx(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${wh(n.color)}`]]}})((({theme:e,ownerState:t})=>Ap({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})`:Hv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Xk.checked}, &.${Xk.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Xk.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),Qk=ih.exports.jsx(Vk,{}),Jk=ih.exports.jsx(Uk,{}),eE=ih.exports.jsx(Gk,{}),tE=Ge.exports.forwardRef((function(e,t){var n,r;const o=Qx({props:e,name:"MuiCheckbox"}),{checkedIcon:a=Qk,color:i="primary",icon:l=Jk,indeterminate:s=!1,indeterminateIcon:c=eE,inputProps:u,size:d="medium"}=o,p=Dp(o,Zk),f=s?c:l,m=s?c:a,h=Ap({},o,{color:i,indeterminate:s,size:d}),g=(e=>{const{classes:t,indeterminate:n,color:r}=e;return Ap({},t,Gh({root:["root",n&&"indeterminate",`color${wh(r)}`]},Kk,t))})(h);return ih.exports.jsx(Yk,Ap({type:"checkbox",inputProps:Ap({"data-indeterminate":s},u),icon:Ge.exports.cloneElement(f,{fontSize:null!=(n=f.props.fontSize)?n:d}),checkedIcon:Ge.exports.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:h,ref:t},p,{classes:g}))}));function nE(e){return Yh("MuiCircularProgress",e)}Qh("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const rE=["className","color","disableShrink","size","style","thickness","value","variant"];let oE,aE,iE,lE,sE=e=>e;const cE=44,uE=Gm(oE||(oE=sE`
|
|
106
|
+
0% {
|
|
107
|
+
transform: rotate(0deg);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
100% {
|
|
111
|
+
transform: rotate(360deg);
|
|
112
|
+
}
|
|
113
|
+
`)),dE=Gm(aE||(aE=sE`
|
|
114
|
+
0% {
|
|
115
|
+
stroke-dasharray: 1px, 200px;
|
|
116
|
+
stroke-dashoffset: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
50% {
|
|
120
|
+
stroke-dasharray: 100px, 200px;
|
|
121
|
+
stroke-dashoffset: -15px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
100% {
|
|
125
|
+
stroke-dasharray: 100px, 200px;
|
|
126
|
+
stroke-dashoffset: -125px;
|
|
127
|
+
}
|
|
128
|
+
`)),pE=tS("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${wh(n.color)}`]]}})((({ownerState:e,theme:t})=>Ap({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&&Vm(iE||(iE=sE`
|
|
129
|
+
animation: ${0} 1.4s linear infinite;
|
|
130
|
+
`),uE))),fE=tS("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),mE=tS("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${wh(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>Ap({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&&Vm(lE||(lE=sE`
|
|
131
|
+
animation: ${0} 1.4s ease-in-out infinite;
|
|
132
|
+
`),dE))),hE=Ge.exports.forwardRef((function(e,t){const n=Qx({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=Dp(n,rE),p=Ap({},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 Gh({root:["root",n,`color${wh(r)}`],svg:["svg"],circle:["circle",`circle${wh(n)}`,o&&"circleDisableShrink"]},nE,t)})(p),m={},h={},g={};if("determinate"===u){const e=2*Math.PI*((cE-s)/2);m.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,h.transform="rotate(-90deg)"}return ih.exports.jsx(pE,Ap({className:uv(f.root,r),style:Ap({width:i,height:i},h,l),ownerState:p,ref:t,role:"progressbar"},g,d,{children:ih.exports.jsx(fE,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:ih.exports.jsx(mE,{className:f.circle,style:m,ownerState:p,cx:cE,cy:cE,r:(cE-s)/2,fill:"none",strokeWidth:s})})}))}));rb({createStyledComponent:tS("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${wh(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Qx({props:e,name:"MuiContainer"})}),Qh("MuiContainer",["root","disableGutters","fixed","maxWidthXs","maxWidthSm","maxWidthMd","maxWidthLg","maxWidthXl"]);const gE=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],vE=tS("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})=>Ap({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),bE=tS(Ek,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),yE=Ge.exports.forwardRef((function(e,t){var n;const r=Qx({name:"MuiModal",props:e}),{BackdropComponent:o=bE,closeAfterTransition:a=!1,children:i,components:l={},componentsProps:s={},disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:f=!1,disableScrollLock:m=!1,hideBackdrop:h=!1,keepMounted:g=!1}=r,v=Dp(r,gE),[b,y]=Ge.exports.useState(!0),x={closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:h,keepMounted:g},S=(e=>e.classes)(Ap({},r,x,{exited:b}));return ih.exports.jsx(Hy,Ap({components:Ap({Root:vE},l),componentsProps:{root:Ap({},s.root,(!l.Root||!ib(l.Root))&&{ownerState:Ap({},null==(n=s.root)?void 0:n.ownerState)})},BackdropComponent:o,onTransitionEnter:()=>y(!1),onTransitionExited:()=>y(!0),ref:t},v,{classes:S},x,{children:i}))})),xE=Qh("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);tS(Ek,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),tS(yE,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),tS("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${wh(n.scroll)}`]]}})((({ownerState:e})=>Ap({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}))),tS(iS,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${wh(n.scroll)}`],t[`paperWidth${wh(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>Ap({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${xE.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${xE.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${xE.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),Qh("MuiDialogActions",["root","spacing"]),tS("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>Ap({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}}))),Qh("MuiDialogContent",["root","dividers"]);const SE=Qh("MuiDialogTitle",["root"]);function wE(e){return Yh("MuiDivider",e)}tS("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((({theme:e,ownerState:t})=>Ap({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${SE.root} + &`]:{paddingTop:0}}))),Qh("MuiDialogContentText",["root"]),tS(zC,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),tS(zC,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"});const CE=Qh("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),kE=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],EE=tS("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})=>Ap({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)`:Hv(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})=>Ap({},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})=>Ap({},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})=>Ap({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),RE=tS("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>Ap({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)`}))),LE=Ge.exports.forwardRef((function(e,t){const n=Qx({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=Dp(n,kE),m=Ap({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:p}),h=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e;return Gh({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)})(m);return ih.exports.jsx(EE,Ap({as:i,className:uv(h.root,a),role:u,ref:t,ownerState:m},f,{children:o?ih.exports.jsx(RE,{className:h.wrapper,ownerState:m,children:o}):null}))}));Qh("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const OE=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]};function ME(e){return Yh("MuiFab",e)}tS(yE,{name:"MuiDrawer",slot:"Root",overridesResolver:OE})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),tS("div",{shouldForwardProp:Jx,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:OE})({flex:"0 0 auto"}),tS(iS,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${wh(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${wh(n.anchor)}`]]}})((({theme:e,ownerState:t})=>Ap({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})));const IE=Qh("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),TE=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],PE=tS(ow,{name:"MuiFab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${wh(n.size)}`],"inherit"===n.color&&t.colorInherit,t[wh(n.size)],t[n.color]]}})((({theme:e,ownerState:t})=>{var n,r;return Ap({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},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],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${IE.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${IE.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}},"small"===t.size&&{width:40,height:40},"medium"===t.size&&{width:48,height:48},"extended"===t.variant&&{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},"extended"===t.variant&&"small"===t.size&&{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"extended"===t.variant&&"medium"===t.size&&{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40},"inherit"===t.color&&{color:"inherit"})}),(({theme:e,ownerState:t})=>Ap({},"inherit"!==t.color&&"default"!==t.color&&null!=(e.vars||e).palette[t.color]&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}))),zE=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiFab"}),{children:r,className:o,color:a="default",component:i="button",disabled:l=!1,disableFocusRipple:s=!1,focusVisibleClassName:c,size:u="large",variant:d="circular"}=n,p=Dp(n,TE),f=Ap({},n,{color:a,component:i,disabled:l,disableFocusRipple:s,size:u,variant:d}),m=(e=>{const{color:t,variant:n,classes:r,size:o}=e;return Gh({root:["root",n,`size${wh(o)}`,"inherit"===t?"colorInherit":t]},ME,r)})(f);return ih.exports.jsx(PE,Ap({className:uv(m.root,o),component:i,disabled:l,focusRipple:!s,focusVisibleClassName:uv(m.focusVisible,c),ownerState:f,ref:t},p,{children:r}))})),NE=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],_E=tS(QC,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ZC(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return Ap({position:"relative",backgroundColor:a,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:a}},[`&.${lk.focused}`]:{backgroundColor:a},[`&.${lk.disabled}`]:{backgroundColor:r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${null==(n=e.palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${lk.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${lk.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${lk.disabled}):before`]:{borderBottom:`1px solid ${e.palette.text.primary}`},[`&.${lk.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&Ap({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),AE=tS(JC,{name:"MuiFilledInput",slot:"Input",overridesResolver:YC})((({theme:e,ownerState:t})=>Ap({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-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",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))),DE=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiFilledInput"}),{components:r={},componentsProps:o,fullWidth:a=!1,inputComponent:i="input",multiline:l=!1,type:s="text"}=n,c=Dp(n,NE),u=Ap({},n,{fullWidth:a,inputComponent:i,multiline:l,type:s}),d=(e=>{const{classes:t,disableUnderline:n}=e;return Ap({},t,Gh({root:["root",!n&&"underline"],input:["input"]},ik,t))})(n),p={root:{ownerState:u},input:{ownerState:u}},f=o?xh(o,p):p;return ih.exports.jsx(tk,Ap({components:Ap({Root:_E,Input:AE},r),componentsProps:f,fullWidth:a,inputComponent:i,multiline:l,ref:t,type:s},c,{classes:d}))}));function $E(e){return Yh("MuiFormControl",e)}DE.muiName="Input",Qh("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const qE=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],jE=tS("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>Ap({},t.root,t[`margin${wh(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>Ap({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),FE=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiFormControl"}),{children:r,className:o,color:a="primary",component:i="div",disabled:l=!1,error:s=!1,focused:c,fullWidth:u=!1,hiddenLabel:d=!1,margin:p="none",required:f=!1,size:m="medium",variant:h="outlined"}=n,g=Dp(n,qE),v=Ap({},n,{color:a,component:i,disabled:l,error:s,fullWidth:u,hiddenLabel:d,margin:p,required:f,size:m,variant:h}),b=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return Gh({root:["root","none"!==n&&`margin${wh(n)}`,r&&"fullWidth"]},$E,t)})(v),[y,x]=Ge.exports.useState((()=>{let e=!1;return r&&Ge.exports.Children.forEach(r,(t=>{if(!Eh(t,["Input","Select"]))return;const n=Eh(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)})),e})),[S,w]=Ge.exports.useState((()=>{let e=!1;return r&&Ge.exports.Children.forEach(r,(t=>{Eh(t,["Input","Select"])&&VC(t.props,!0)&&(e=!0)})),e})),[C,k]=Ge.exports.useState(!1);l&&C&&k(!1);const E=void 0===c||l?C:c;const R=Ge.exports.useCallback((()=>{w(!0)}),[]),L={adornedStart:y,setAdornedStart:x,color:a,disabled:l,error:s,filled:S,focused:E,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{k(!1)},onEmpty:Ge.exports.useCallback((()=>{w(!1)}),[]),onFilled:R,onFocus:()=>{k(!0)},registerEffect:undefined,required:f,variant:h};return ih.exports.jsx(BC.Provider,{value:L,children:ih.exports.jsx(jE,Ap({as:i,ownerState:v,className:uv(b.root,o),ref:t},g,{children:r}))})}));function BE(e){return Yh("MuiFormControlLabel",e)}const WE=Qh("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]),HE=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],UE=tS("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${WE.label}`]:t.label},t.root,t[`labelPlacement${wh(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>Ap({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${WE.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},{[`& .${WE.label}`]:{[`&.${WE.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),VE=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiFormControlLabel"}),{className:r,componentsProps:o={},control:a,disabled:i,disableTypography:l,label:s,labelPlacement:c="end"}=n,u=Dp(n,HE),d=WC();let p=i;void 0===p&&void 0!==a.props.disabled&&(p=a.props.disabled),void 0===p&&d&&(p=d.disabled);const f={disabled:p};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===a.props[e]&&void 0!==n[e]&&(f[e]=n[e])}));const m=FC({props:n,muiFormControl:d,states:["error"]}),h=Ap({},n,{disabled:p,labelPlacement:c,error:m.error}),g=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o}=e;return Gh({root:["root",n&&"disabled",`labelPlacement${wh(r)}`,o&&"error"],label:["label",n&&"disabled"]},BE,t)})(h);let v=s;return null==v||v.type===zC||l||(v=ih.exports.jsx(zC,Ap({component:"span",className:g.label},o.typography,{children:v}))),ih.exports.jsxs(UE,Ap({className:uv(g.root,r),ownerState:h,ref:t},u,{children:[Ge.exports.cloneElement(a,f),v]}))}));Qh("MuiFormGroup",["root","row","error"]),tS("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})((({ownerState:e})=>Ap({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})));const GE=Qh("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);function KE(e){return Yh("MuiFormLabel",e)}tS("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${wh(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>Ap({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${GE.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${GE.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})));const XE=Qh("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ZE=["children","className","color","component","disabled","error","filled","focused","required"],YE=tS("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>Ap({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>Ap({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${XE.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${XE.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${XE.error}`]:{color:(e.vars||e).palette.error.main}}))),QE=tS("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${XE.error}`]:{color:(e.vars||e).palette.error.main}}))),JE=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiFormLabel"}),{children:r,className:o,component:a="label"}=n,i=Dp(n,ZE),l=FC({props:n,muiFormControl:WC(),states:["color","required","focused","disabled","error","filled"]}),s=Ap({},n,{color:l.color||"primary",component:a,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),c=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:a,filled:i,required:l}=e;return Gh({root:["root",`color${wh(n)}`,o&&"disabled",a&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]},KE,t)})(s);return ih.exports.jsxs(YE,Ap({as:a,ownerState:s,className:uv(c.root,o),ref:t},i,{children:[r,l.required&&ih.exports.jsxs(QE,{ownerState:s,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))})),eR=Ge.exports.createContext();function tR(e){return Yh("MuiGrid",e)}const nR=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],rR=Qh("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}`)),...nR.map((e=>`grid-xs-${e}`)),...nR.map((e=>`grid-sm-${e}`)),...nR.map((e=>`grid-md-${e}`)),...nR.map((e=>`grid-lg-${e}`)),...nR.map((e=>`grid-xl-${e}`))]),oR=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function aR(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function iR(e,t,n={}){if(!t||!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]||`spacing-xs-${String(e)}`];const{xs:r,sm:o,md:a,lg:i,xl:l}=e;return[Number(r)>0&&(n[`spacing-xs-${String(r)}`]||`spacing-xs-${String(r)}`),Number(o)>0&&(n[`spacing-sm-${String(o)}`]||`spacing-sm-${String(o)}`),Number(a)>0&&(n[`spacing-md-${String(a)}`]||`spacing-md-${String(a)}`),Number(i)>0&&(n[`spacing-lg-${String(i)}`]||`spacing-lg-${String(i)}`),Number(l)>0&&(n[`spacing-xl-${String(l)}`]||`spacing-xl-${String(l)}`)]}const lR=tS("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{container:n,direction:r,item:o,lg:a,md:i,sm:l,spacing:s,wrap:c,xl:u,xs:d,zeroMinWidth:p}=e.ownerState;return[t.root,n&&t.container,o&&t.item,p&&t.zeroMinWidth,...iR(s,n,t),"row"!==r&&t[`direction-xs-${String(r)}`],"wrap"!==c&&t[`wrap-xs-${String(c)}`],!1!==d&&t[`grid-xs-${String(d)}`],!1!==l&&t[`grid-sm-${String(l)}`],!1!==i&&t[`grid-md-${String(i)}`],!1!==a&&t[`grid-lg-${String(a)}`],!1!==u&&t[`grid-xl-${String(u)}`]]}})((({ownerState:e})=>Ap({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 ng({theme:e},rg({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${rR.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=rg({values:r,breakpoints:e.breakpoints.values});o=ng({theme:e},t,(t=>{const n=e.spacing(t);return"0px"!==n?{marginTop:`-${aR(n)}`,[`& > .${rR.item}`]:{paddingTop:aR(n)}}:{}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=rg({values:r,breakpoints:e.breakpoints.values});o=ng({theme:e},t,(t=>{const n=e.spacing(t);return"0px"!==n?{width:`calc(100% + ${aR(n)})`,marginLeft:`-${aR(n)}`,[`& > .${rR.item}`]:{paddingLeft:aR(n)}}:{}}))}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=rg({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} + ${aR(n)})`;c={flexBasis:e,maxWidth:e}}}a=Ap({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===e.breakpoints.values[o]?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r}),{})})),sR=Ge.exports.forwardRef((function(e,t){const n=sv(Qx({props:e,name:"MuiGrid"})),{className:r,columns:o,columnSpacing:a,component:i="div",container:l=!1,direction:s="row",item:c=!1,lg:u=!1,md:d=!1,rowSpacing:p,sm:f=!1,spacing:m=0,wrap:h="wrap",xl:g=!1,xs:v=!1,zeroMinWidth:b=!1}=n,y=Dp(n,oR),x=p||m,S=a||m,w=Ge.exports.useContext(eR),C=l?o||12:w,k=Ap({},n,{columns:C,container:l,direction:s,item:c,lg:u,md:d,sm:f,rowSpacing:x,columnSpacing:S,wrap:h,xl:g,xs:v,zeroMinWidth:b}),E=(e=>{const{classes:t,container:n,direction:r,item:o,lg:a,md:i,sm:l,spacing:s,wrap:c,xl:u,xs:d,zeroMinWidth:p}=e;return Gh({root:["root",n&&"container",o&&"item",p&&"zeroMinWidth",...iR(s,n),"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==c&&`wrap-xs-${String(c)}`,!1!==d&&`grid-xs-${String(d)}`,!1!==l&&`grid-sm-${String(l)}`,!1!==i&&`grid-md-${String(i)}`,!1!==a&&`grid-lg-${String(a)}`,!1!==u&&`grid-xl-${String(u)}`]},tR,t)})(k);return ih.exports.jsx(eR.Provider,{value:C,children:ih.exports.jsx(lR,Ap({ownerState:k,className:uv(E.root,r),as:i,ref:t},y))})})),cR=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function uR(e){return`scale(${e}, ${e**2})`}const dR={entering:{opacity:1,transform:uR(1)},entered:{opacity:1,transform:"none"}},pR="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)[4-9]/i.test(navigator.userAgent),fR=Ge.exports.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:m="auto",TransitionComponent:h=SS}=e,g=Dp(e,cR),v=Ge.exports.useRef(),b=Ge.exports.useRef(),y=Yx(),x=Ge.exports.useRef(null),S=Ph(o.ref,t),w=Ph(x,S),C=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},k=C(c),E=C(((e,t)=>{pC(e);const{duration:n,delay:r,easing:o}=fC({style:f,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=i):i=n,e.style.transition=[y.transitions.create("opacity",{duration:i,delay:r}),y.transitions.create("transform",{duration:pR?i:.666*i,delay:r,easing:o})].join(","),l&&l(e,t)})),R=C(s),L=C(p),O=C((e=>{const{duration:t,delay:n,easing:r}=fC({style:f,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:n}),y.transitions.create("transform",{duration:pR?o:.666*o,delay:pR?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=uR(.75),u&&u(e)})),M=C(d);return Ge.exports.useEffect((()=>()=>{clearTimeout(v.current)}),[]),ih.exports.jsx(h,Ap({appear:r,in:i,nodeRef:x,onEnter:E,onEntered:R,onEntering:k,onExit:O,onExited:M,onExiting:L,addEndListener:e=>{"auto"===m&&(v.current=setTimeout(e,b.current||0)),n&&n(x.current,e)},timeout:"auto"===m?null:m},g,{children:(e,t)=>Ge.exports.cloneElement(o,Ap({style:Ap({opacity:0,transform:uR(.75),visibility:"exited"!==e||i?void 0:"hidden"},dR[e],f,o.props.style),ref:w},t))}))}));function mR(e,t,n,r,o){const a="undefined"!=typeof window&&void 0!==window.matchMedia,[i,l]=Ge.exports.useState((()=>o&&a?n(e).matches:r?r(e).matches:t));return Mh((()=>{let t=!0;if(!a)return;const r=n(e),o=()=>{t&&l(r.matches)};return o(),r.addListener(o),()=>{t=!1,r.removeListener(o)}}),[e,n,a]),i}fR.muiSupportAuto=!0;const hR=Mt.useSyncExternalStore;function gR(e,t,n,r){const o=Ge.exports.useCallback((()=>t),[t]),a=Ge.exports.useMemo((()=>{if(null!==r){const{matches:t}=r(e);return()=>t}return o}),[o,e,r]),[i,l]=Ge.exports.useMemo((()=>{if(null===n)return[o,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[o,n,e]);return hR(l,i,a)}const vR=["initialWidth","width"],bR=["xs","sm","md","lg","xl"],yR=(e,t,n=!0)=>n?bR.indexOf(e)<=bR.indexOf(t):bR.indexOf(e)<bR.indexOf(t),xR=(e,t,n=!1)=>n?bR.indexOf(t)<=bR.indexOf(e):bR.indexOf(t)<bR.indexOf(e);function SR(e){const{children:t,only:n,width:r}=e,o=Yx();let a=!0;if(n)if(Array.isArray(n))for(let e=0;e<n.length;e+=1){if(r===n[e]){a=!1;break}}else n&&r===n&&(a=!1);if(a)for(let t=0;t<o.breakpoints.keys.length;t+=1){const n=o.breakpoints.keys[t],i=e[`${n}Up`],l=e[`${n}Down`];if(i&&yR(n,r)||l&&xR(n,r)){a=!1;break}}return a?t:null}function wR(e){return Yh("MuiIcon",e)}SR.propTypes={children:rh.exports.node,className:rh.exports.string,implementation:rh.exports.oneOf(["js","css"]),initialWidth:rh.exports.oneOf(["xs","sm","md","lg","xl"]),lgDown:rh.exports.bool,lgUp:rh.exports.bool,mdDown:rh.exports.bool,mdUp:rh.exports.bool,only:rh.exports.oneOfType([rh.exports.oneOf(["xs","sm","md","lg","xl"]),rh.exports.arrayOf(rh.exports.oneOf(["xs","sm","md","lg","xl"]))]),smDown:rh.exports.bool,smUp:rh.exports.bool,width:rh.exports.string.isRequired,xlDown:rh.exports.bool,xlUp:rh.exports.bool,xsDown:rh.exports.bool,xsUp:rh.exports.bool},((e={})=>t=>{const{withTheme:n=!1,noSSR:r=!1,initialWidth:o}=e;function a(e){const a=Yx(),i=e.theme||a,l=Dv({theme:i,name:"MuiWithWidth",props:e}),{initialWidth:s,width:c}=l,u=Dp(l,vR),[d,p]=Ge.exports.useState(!1);Mh((()=>{p(!0)}),[]);const f=i.breakpoints.keys.slice().reverse().reduce(((e,t)=>{const n=function(e,t={}){const n=Sv(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:a=(r?window.matchMedia:null),ssrMatchMedia:i=null,noSsr:l}=Dv({name:"MuiUseMediaQuery",props:t,theme:n});let s="function"==typeof e?e(n):e;return s=s.replace(/^@media( ?)/m,""),(void 0!==hR?gR:mR)(s,o,a,i,l)}(i.breakpoints.up(t));return!e&&n?t:e}),null),m=Ap({width:c||(d||r?f:void 0)||s||o},n?{theme:i}:{},u);return void 0===m.width?null:ih.exports.jsx(t,Ap({},m))}return Cm(a,t),a})()(SR),Qh("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]),tS("div",{name:"PrivateHiddenCss",slot:"Root"})((({theme:e,ownerState:t})=>{const n={display:"none"};return Ap({},t.breakpoints.map((({breakpoint:t,dir:r})=>"only"===r?{[e.breakpoints.only(t)]:n}:"up"===r?{[e.breakpoints.up(t)]:n}:{[e.breakpoints.down(t)]:n})).reduce(((e,t)=>(Object.keys(t).forEach((n=>{e[n]=t[n]})),e)),{}))})),Qh("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const CR=["baseClassName","className","color","component","fontSize"],kR=tS("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${wh(n.color)}`],t[`fontSize${wh(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]}))),ER=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=Dp(n,CR),c=Ap({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e;return Gh({root:["root","inherit"!==t&&`color${wh(t)}`,`fontSize${wh(n)}`]},wR,r)})(c);return ih.exports.jsx(kR,Ap({as:i,className:uv(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));ER.muiName="Icon",Qh("MuiImageList",["root","masonry","quilted","standard","woven"]),tS("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})((({ownerState:e})=>Ap({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"},"masonry"===e.variant&&{display:"block"})));const RR=Qh("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]);tS("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${RR.img}`]:t.img},t.root,t[n.variant]]}})((({ownerState:e})=>Ap({display:"inline-block",position:"relative",lineHeight:0},"standard"===e.variant&&{display:"flex",flexDirection:"column"},"woven"===e.variant&&{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}},{[`& .${RR.img}`]:Ap({objectFit:"cover",width:"100%",height:"100%"},"standard"===e.variant&&{height:"auto",flexGrow:1})}))),Qh("MuiImageListItemBar",["root","positionBottom","positionTop","positionBelow","titleWrap","titleWrapBottom","titleWrapTop","titleWrapBelow","titleWrapActionPosLeft","titleWrapActionPosRight","title","subtitle","actionIcon","actionIconActionPosLeft","actionIconActionPosRight"]),tS("div",{name:"MuiImageListItemBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${wh(n.position)}`]]}})((({theme:e,ownerState:t})=>Ap({position:"absolute",left:0,right:0,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},"bottom"===t.position&&{bottom:0},"top"===t.position&&{top:0},"below"===t.position&&{position:"relative",background:"transparent",alignItems:"normal"}))),tS("div",{name:"MuiImageListItemBar",slot:"TitleWrap",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.titleWrap,t[`titleWrap${wh(n.position)}`],n.actionIcon&&t[`titleWrapActionPos${wh(n.actionPosition)}`]]}})((({theme:e,ownerState:t})=>Ap({flexGrow:1,padding:"12px 16px",color:(e.vars||e).palette.common.white,overflow:"hidden"},"below"===t.position&&{padding:"6px 0 12px",color:"inherit"},t.actionIcon&&"left"===t.actionPosition&&{paddingLeft:0},t.actionIcon&&"right"===t.actionPosition&&{paddingRight:0}))),tS("div",{name:"MuiImageListItemBar",slot:"Title",overridesResolver:(e,t)=>t.title})((({theme:e})=>({fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),tS("div",{name:"MuiImageListItemBar",slot:"Subtitle",overridesResolver:(e,t)=>t.subtitle})((({theme:e})=>({fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"}))),tS("div",{name:"MuiImageListItemBar",slot:"ActionIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actionIcon,t[`actionIconActionPos${wh(n.actionPosition)}`]]}})((({ownerState:e})=>Ap({},"left"===e.actionPosition&&{order:-1})));const LR=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],OR=tS(QC,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ZC(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputTouchBottomLine})`),Ap({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${rk.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${rk.error}:after`]:{borderBottomColor:(e.vars||e).palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${rk.disabled}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${rk.disabled}:before`]:{borderBottomStyle:"dotted"}})})),MR=tS(JC,{name:"MuiInput",slot:"Input",overridesResolver:YC})({}),IR=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiInput"}),{disableUnderline:r,components:o={},componentsProps:a,fullWidth:i=!1,inputComponent:l="input",multiline:s=!1,type:c="text"}=n,u=Dp(n,LR),d=(e=>{const{classes:t,disableUnderline:n}=e;return Ap({},t,Gh({root:["root",!n&&"underline"],input:["input"]},nk,t))})(n),p={root:{ownerState:{disableUnderline:r}}},f=a?xh(a,p):p;return ih.exports.jsx(tk,Ap({components:Ap({Root:OR,Input:MR},o),componentsProps:f,fullWidth:i,inputComponent:l,multiline:s,ref:t,type:c},u,{classes:d}))}));function TR(e){return Yh("MuiInputAdornment",e)}IR.muiName="Input";const PR=Qh("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var zR;const NR=["children","className","component","disablePointerEvents","disableTypography","position","variant"],_R=tS("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${wh(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>Ap({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${PR.positionStart}&:not(.${PR.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),AR=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:a="div",disablePointerEvents:i=!1,disableTypography:l=!1,position:s,variant:c}=n,u=Dp(n,NR),d=WC()||{};let p=c;c&&d.variant,d&&!p&&(p=d.variant);const f=Ap({},n,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:i,position:s,variant:p}),m=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e;return Gh({root:["root",n&&"disablePointerEvents",o&&`position${wh(o)}`,i,r&&"hiddenLabel",a&&`size${wh(a)}`]},TR,t)})(f);return ih.exports.jsx(BC.Provider,{value:null,children:ih.exports.jsx(_R,Ap({as:a,ownerState:f,className:uv(m.root,o),ref:t},u,{children:"string"!=typeof r||l?ih.exports.jsxs(Ge.exports.Fragment,{children:["start"===s?zR||(zR=ih.exports.jsx("span",{className:"notranslate",children:""})):null,r]}):ih.exports.jsx(zC,{color:"text.secondary",children:r})}))})}));function DR(e){return Yh("MuiLinearProgress",e)}Qh("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]),tS(JE,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${XE.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})((({theme:e,ownerState:t})=>Ap({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&Ap({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&Ap({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&Ap({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"})))),Qh("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const $R=["className","color","value","valueBuffer","variant"];let qR,jR,FR,BR,WR,HR,UR=e=>e;const VR=Gm(qR||(qR=UR`
|
|
133
|
+
0% {
|
|
134
|
+
left: -35%;
|
|
135
|
+
right: 100%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
60% {
|
|
139
|
+
left: 100%;
|
|
140
|
+
right: -90%;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
100% {
|
|
144
|
+
left: 100%;
|
|
145
|
+
right: -90%;
|
|
146
|
+
}
|
|
147
|
+
`)),GR=Gm(jR||(jR=UR`
|
|
148
|
+
0% {
|
|
149
|
+
left: -200%;
|
|
150
|
+
right: 100%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
60% {
|
|
154
|
+
left: 107%;
|
|
155
|
+
right: -8%;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
100% {
|
|
159
|
+
left: 107%;
|
|
160
|
+
right: -8%;
|
|
161
|
+
}
|
|
162
|
+
`)),KR=Gm(FR||(FR=UR`
|
|
163
|
+
0% {
|
|
164
|
+
opacity: 1;
|
|
165
|
+
background-position: 0 -23px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
60% {
|
|
169
|
+
opacity: 0;
|
|
170
|
+
background-position: 0 -23px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
100% {
|
|
174
|
+
opacity: 1;
|
|
175
|
+
background-position: -200px -23px;
|
|
176
|
+
}
|
|
177
|
+
`)),XR=(e,t)=>"inherit"===t?"currentColor":"light"===e.palette.mode?Vv(e.palette[t].main,.62):Uv(e.palette[t].main,.5),ZR=tS("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${wh(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>Ap({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:XR(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),YR=tS("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${wh(n.color)}`]]}})((({ownerState:e,theme:t})=>{const n=XR(t,e.color);return Ap({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),Vm(BR||(BR=UR`
|
|
178
|
+
animation: ${0} 3s infinite linear;
|
|
179
|
+
`),KR)),QR=tS("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${wh(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((({ownerState:e,theme:t})=>Ap({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":t.palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&Vm(WR||(WR=UR`
|
|
180
|
+
width: auto;
|
|
181
|
+
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
182
|
+
`),VR))),JR=tS("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${wh(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((({ownerState:e,theme:t})=>Ap({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":t.palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:XR(t,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&Vm(HR||(HR=UR`
|
|
183
|
+
width: auto;
|
|
184
|
+
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
185
|
+
`),GR))),eL=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiLinearProgress"}),{className:r,color:o="primary",value:a,valueBuffer:i,variant:l="indeterminate"}=n,s=Dp(n,$R),c=Ap({},n,{color:o,variant:l}),u=(e=>{const{classes:t,variant:n,color:r}=e;return Gh({root:["root",`color${wh(r)}`,n],dashed:["dashed",`dashedColor${wh(r)}`],bar1:["bar",`barColor${wh(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${wh(r)}`,"buffer"===n&&`color${wh(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]},DR,t)})(c),d=Yx(),p={},f={bar1:{},bar2:{}};if(("determinate"===l||"buffer"===l)&&void 0!==a){p["aria-valuenow"]=Math.round(a),p["aria-valuemin"]=0,p["aria-valuemax"]=100;let e=a-100;"rtl"===d.direction&&(e=-e),f.bar1.transform=`translateX(${e}%)`}if("buffer"===l&&void 0!==i){let e=(i||0)-100;"rtl"===d.direction&&(e=-e),f.bar2.transform=`translateX(${e}%)`}return ih.exports.jsxs(ZR,Ap({className:uv(u.root,r),ownerState:c,role:"progressbar"},p,{ref:t},s,{children:["buffer"===l?ih.exports.jsx(YR,{className:u.dashed,ownerState:c}):null,ih.exports.jsx(QR,{className:u.bar1,ownerState:c,style:f.bar1}),"determinate"===l?null:ih.exports.jsx(JR,{className:u.bar2,ownerState:c,style:f.bar2})]}))})),tL=Qh("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),nL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};tS(zC,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${wh(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>{const n=og(e,`palette.${(e=>nL[e]||e)(t.color)}`)||t.color;return Ap({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==n?Hv(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${tL.focusVisible}`]:{outline:"auto"}})}));const rL=Ge.exports.createContext({});function oL(e){return Yh("MuiList",e)}Qh("MuiList",["root","padding","dense","subheader"]);const aL=["children","className","component","dense","disablePadding","subheader"],iL=tS("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})=>Ap({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),lL=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,c=Dp(n,aL),u=Ge.exports.useMemo((()=>({dense:i})),[i]),d=Ap({},n,{component:a,dense:i,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Gh({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},oL,t)})(d);return ih.exports.jsx(rL.Provider,{value:u,children:ih.exports.jsxs(iL,Ap({as:a,className:uv(p.root,o),ref:t,ownerState:d},c,{children:[s,r]}))})}));function sL(e){return Yh("MuiListItem",e)}const cL=Qh("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),uL=Qh("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function dL(e){return Yh("MuiListItemSecondaryAction",e)}tS(ow,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>Ap({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${uL.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${uL.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${uL.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Hv(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})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${uL.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${uL.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4}))),Qh("MuiListItemSecondaryAction",["root","disableGutters"]);const pL=["className"],fL=tS("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>Ap({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),mL=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=Dp(n,pL),a=Ap({},n,{disableGutters:Ge.exports.useContext(rL).disableGutters}),i=(e=>{const{disableGutters:t,classes:n}=e;return Gh({root:["root",t&&"disableGutters"]},dL,n)})(a);return ih.exports.jsx(fL,Ap({className:uv(i.root,r),ownerState:a,ref:t},o))}));mL.muiName="ListItemSecondaryAction";const hL=["className"],gL=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],vL=tS("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})=>Ap({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Ap({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${uL.root}`]:{paddingRight:48}},{[`&.${cL.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${cL.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${cL.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${cL.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"}},[`&.${cL.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Hv(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})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),bL=tS("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),yL=Ge.exports.forwardRef((function(e,t){const n=Qx({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:m=!1,disableGutters:h=!1,disablePadding:g=!1,divider:v=!1,focusVisibleClassName:b,secondaryAction:y,selected:x=!1}=n,S=Dp(n.ContainerProps,hL),w=Dp(n,gL),C=Ge.exports.useContext(rL),k={dense:f||C.dense||!1,alignItems:r,disableGutters:h},E=Ge.exports.useRef(null);Mh((()=>{o&&E.current&&E.current.focus()}),[o]);const R=Ge.exports.Children.toArray(i),L=R.length&&Eh(R[R.length-1],["ListItemSecondaryAction"]),O=Ap({},n,{alignItems:r,autoFocus:o,button:a,dense:k.dense,disabled:m,disableGutters:h,disablePadding:g,divider:v,hasSecondaryAction:L,selected:x}),M=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:a,disableGutters:i,disablePadding:l,divider:s,hasSecondaryAction:c,selected:u}=e;return Gh({root:["root",o&&"dense",!i&&"gutters",!l&&"padding",s&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},sL,r)})(O),I=Ph(E,t),T=c.Root||vL,P=u.root||{},z=Ap({className:uv(M.root,P.className,l),disabled:m},w);let N=s||"li";return a&&(z.component=s||"div",z.focusVisibleClassName=uv(cL.focusVisible,b),N=ow),L?(N=z.component||s?N:"div","li"===d&&("li"===N?N="div":"li"===z.component&&(z.component="div")),ih.exports.jsx(rL.Provider,{value:k,children:ih.exports.jsxs(bL,Ap({as:d,className:uv(M.container,p),ref:I,ownerState:O},S,{children:[ih.exports.jsx(T,Ap({},P,!ib(T)&&{as:N,ownerState:Ap({},O,P.ownerState)},z,{children:R})),R.pop()]}))})):ih.exports.jsx(rL.Provider,{value:k,children:ih.exports.jsxs(T,Ap({},P,{as:N,ref:I,ownerState:O},!ib(T)&&{ownerState:Ap({},O,P.ownerState)},z,{children:[R,y&&ih.exports.jsx(mL,{children:y})]}))})}));function xL(e){return Yh("MuiListItemIcon",e)}Qh("MuiListItemAvatar",["root","alignItemsFlexStart"]),tS("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({ownerState:e})=>Ap({minWidth:56,flexShrink:0},"flex-start"===e.alignItems&&{marginTop:8})));const SL=Qh("MuiListItemIcon",["root","alignItemsFlexStart"]),wL=["className"],CL=tS("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})=>Ap({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),kL=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Dp(n,wL),a=Ap({},n,{alignItems:Ge.exports.useContext(rL).alignItems}),i=(e=>{const{alignItems:t,classes:n}=e;return Gh({root:["root","flex-start"===t&&"alignItemsFlexStart"]},xL,n)})(a);return ih.exports.jsx(CL,Ap({className:uv(i.root,r),ownerState:a,ref:t},o))})),EL=Qh("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);tS("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${EL.primary}`]:t.primary},{[`& .${EL.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((({ownerState:e})=>Ap({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})));const RL=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function LL(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function OL(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function ML(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 IL(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")&&ML(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const TL=Ge.exports.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=Dp(e,RL),p=Ge.exports.useRef(null),f=Ge.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Mh((()=>{r&&p.current.focus()}),[r]),Ge.exports.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Bh(Rh(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const m=Ph(p,t);let h=-1;Ge.exports.Children.forEach(a,((e,t)=>{Ge.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===h)&&(h=t))}));const g=Ge.exports.Children.map(a,((e,t)=>{if(t===h){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),Ge.exports.cloneElement(e,t)}return e}));return ih.exports.jsx(lL,Ap({role:"menu",ref:m,className:i,onKeyDown:e=>{const t=p.current,n=e.key,r=Rh(t).activeElement;if("ArrowDown"===n)e.preventDefault(),IL(t,r,s,l,LL);else if("ArrowUp"===n)e.preventDefault(),IL(t,r,s,l,OL);else if("Home"===n)e.preventDefault(),IL(t,null,s,l,LL);else if("End"===n)e.preventDefault(),IL(t,null,s,l,OL);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&&ML(r,o);o.previousKeyMatched&&(s||IL(t,r,!1,l,LL,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:r?0:-1},d,{children:g}))}));function PL(e){return Yh("MuiPopover",e)}Qh("MuiPopover",["root","paper"]);const zL=["onEntering"],NL=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function _L(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function AL(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function DL(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function $L(e){return"function"==typeof e?e():e}const qL=tS(yE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jL=tS(iS,{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}),FL=Ge.exports.forwardRef((function(e,t){const n=Qx({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:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:g=fR,transitionDuration:v="auto",TransitionProps:{onEntering:b}={}}=n,y=Dp(n.TransitionProps,zL),x=Dp(n,NL),S=Ge.exports.useRef(),w=Ph(S,m.ref),C=Ap({},n,{anchorOrigin:a,anchorReference:l,elevation:d,marginThreshold:p,PaperProps:m,transformOrigin:h,TransitionComponent:g,transitionDuration:v,TransitionProps:y}),k=(e=>{const{classes:t}=e;return Gh({root:["root"],paper:["paper"]},PL,t)})(C),E=Ge.exports.useCallback((()=>{if("anchorPosition"===l)return i;const e=$L(o),t=(e&&1===e.nodeType?e:Rh(S.current).body).getBoundingClientRect();return{top:t.top+_L(t,a.vertical),left:t.left+AL(t,a.horizontal)}}),[o,a.horizontal,a.vertical,i,l]),R=Ge.exports.useCallback((e=>({vertical:_L(e,h.vertical),horizontal:AL(e,h.horizontal)})),[h.horizontal,h.vertical]),L=Ge.exports.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=R(t);if("none"===l)return{top:null,left:null,transformOrigin:DL(n)};const r=E();let a=r.top-n.vertical,i=r.left-n.horizontal;const s=a+t.height,c=i+t.width,u=Lh($L(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:DL(n)}}),[o,l,E,R,p]),O=Ge.exports.useCallback((()=>{const e=S.current;if(!e)return;const t=L(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[L]);Ge.exports.useEffect((()=>{f&&O()})),Ge.exports.useImperativeHandle(r,(()=>f?{updatePosition:()=>{O()}}:null),[f,O]),Ge.exports.useEffect((()=>{if(!f)return;const e=kh((()=>{O()})),t=Lh(o);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[o,f,O]);let M=v;"auto"!==v||g.muiSupportAuto||(M=void 0);const I=u||(o?Rh($L(o)).body:void 0);return ih.exports.jsx(qL,Ap({BackdropProps:{invisible:!0},className:uv(k.root,c),container:I,open:f,ref:t,ownerState:C},x,{children:ih.exports.jsx(g,Ap({appear:!0,in:f,onEntering:(e,t)=>{b&&b(e,t),O()},timeout:M},y,{children:ih.exports.jsx(jL,Ap({elevation:d},m,{ref:w,className:uv(k.paper,m.className),children:s}))}))}))}));function BL(e){return Yh("MuiMenu",e)}Qh("MuiMenu",["root","paper","list"]);const WL=["onEntering"],HL=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],UL={vertical:"top",horizontal:"right"},VL={vertical:"top",horizontal:"left"},GL=tS(FL,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),KL=tS(iS,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),XL=tS(TL,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),ZL=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:o,disableAutoFocusItem:a=!1,MenuListProps:i={},onClose:l,open:s,PaperProps:c={},PopoverClasses:u,transitionDuration:d="auto",TransitionProps:{onEntering:p}={},variant:f="selectedMenu"}=n,m=Dp(n.TransitionProps,WL),h=Dp(n,HL),g=Yx(),v="rtl"===g.direction,b=Ap({},n,{autoFocus:r,disableAutoFocusItem:a,MenuListProps:i,onEntering:p,PaperProps:c,transitionDuration:d,TransitionProps:m,variant:f}),y=(e=>{const{classes:t}=e;return Gh({root:["root"],paper:["paper"],list:["list"]},BL,t)})(b),x=r&&!a&&s,S=Ge.exports.useRef(null);let w=-1;return Ge.exports.Children.map(o,((e,t)=>{Ge.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===f&&e.props.selected||-1===w)&&(w=t))})),ih.exports.jsx(GL,Ap({classes:u,onClose:l,anchorOrigin:{vertical:"bottom",horizontal:v?"right":"left"},transformOrigin:v?UL:VL,PaperProps:Ap({component:KL},c,{classes:Ap({},c.classes,{root:y.paper})}),className:y.root,open:s,ref:t,transitionDuration:d,TransitionProps:Ap({onEntering:(e,t)=>{S.current&&S.current.adjustStyleForScrollbar(e,g),p&&p(e,t)}},m),ownerState:b},h,{children:ih.exports.jsx(XL,Ap({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),l&&l(e,"tabKeyDown"))},actions:S,autoFocus:r&&(-1===w||a),autoFocusItem:x,variant:f},i,{className:uv(y.list,i.className),children:o}))}))}));function YL(e){return Yh("MuiMenuItem",e)}const QL=Qh("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),JL=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],eO=tS(ow,{shouldForwardProp:e=>Jx(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})=>Ap({},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"}},[`&.${QL.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${QL.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${QL.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Hv(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})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${QL.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${QL.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${CE.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${CE.inset}`]:{marginLeft:52},[`& .${EL.root}`]:{marginTop:0,marginBottom:0},[`& .${EL.inset}`]:{paddingLeft:36},[`& .${SL.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Ap({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${SL.root} svg`]:{fontSize:"1.25rem"}})))),tO=Ge.exports.forwardRef((function(e,t){const n=Qx({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}=n,d=Dp(n,JL),p=Ge.exports.useContext(rL),f={dense:a||p.dense||!1,disableGutters:l},m=Ge.exports.useRef(null);Mh((()=>{r&&m.current&&m.current.focus()}),[r]);const h=Ap({},n,{dense:f.dense,divider:i,disableGutters:l}),g=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e;return Ap({},i,Gh({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},YL,i))})(n),v=Ph(m,t);let b;return n.disabled||(b=void 0!==u?u:-1),ih.exports.jsx(rL.Provider,{value:f,children:ih.exports.jsx(eO,Ap({ref:v,role:c,tabIndex:b,component:o,focusVisibleClassName:uv(g.focusVisible,s)},d,{ownerState:h,classes:g}))})}));function nO(e){return Yh("MuiNativeSelect",e)}Qh("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]),tS(iS,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${wh(n.position)}`]]}})((({theme:e,ownerState:t})=>Ap({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:(e.vars||e).palette.background.default,padding:8},"bottom"===t.position&&{position:"fixed",bottom:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper},"top"===t.position&&{position:"fixed",top:0,left:0,right:0,zIndex:(e.vars||e).zIndex.mobileStepper}))),tS("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:(e,t)=>t.dots})((({ownerState:e})=>Ap({},"dots"===e.variant&&{display:"flex",flexDirection:"row"}))),tS("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>eS(e)&&"dotActive"!==e,overridesResolver:(e,t)=>{const{dotActive:n}=e;return[t.dot,n&&t.dotActive]}})((({theme:e,ownerState:t,dotActive:n})=>Ap({},"dots"===t.variant&&Ap({transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),backgroundColor:(e.vars||e).palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},n&&{backgroundColor:(e.vars||e).palette.primary.main})))),tS(eL,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:(e,t)=>t.progress})((({ownerState:e})=>Ap({},"progress"===e.variant&&{width:"50%"})));const rO=Qh("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),oO=["className","disabled","IconComponent","inputRef","variant"],aO=({ownerState:e,theme:t})=>Ap({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},[`&.${rO.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),iO=tS("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Jx,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${rO.multiple}`]:t.multiple}]}})(aO),lO=({ownerState:e,theme:t})=>Ap({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,[`&.${rO.disabled}`]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),sO=tS("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${wh(n.variant)}`],n.open&&t.iconOpen]}})(lO),cO=Ge.exports.forwardRef((function(e,t){const{className:n,disabled:r,IconComponent:o,inputRef:a,variant:i="standard"}=e,l=Dp(e,oO),s=Ap({},e,{disabled:r,variant:i}),c=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return Gh({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${wh(n)}`,a&&"iconOpen",r&&"disabled"]},nO,t)})(s);return ih.exports.jsxs(Ge.exports.Fragment,{children:[ih.exports.jsx(iO,Ap({ownerState:s,className:uv(c.select,n),disabled:r,ref:a||t},l)),e.multiple?null:ih.exports.jsx(sO,{as:o,ownerState:s,className:c.icon})]})})),uO=["className","children","classes","IconComponent","input","inputProps","variant"],dO=["root"],pO=ih.exports.jsx(IR,{}),fO=Ge.exports.forwardRef((function(e,t){const n=Qx({name:"MuiNativeSelect",props:e}),{className:r,children:o,classes:a={},IconComponent:i=sk,input:l=pO,inputProps:s}=n,c=Dp(n,uO),u=FC({props:n,muiFormControl:WC(),states:["variant"]}),d=(e=>{const{classes:t}=e;return Gh({root:["root"]},nO,t)})(Ap({},n,{classes:a})),p=Dp(a,dO);return Ge.exports.cloneElement(l,Ap({inputComponent:cO,inputProps:Ap({children:o,classes:p,IconComponent:i,variant:u.variant,type:void 0},s,l?l.props.inputProps:{}),ref:t},c,{className:uv(d.root,l.props.className,r)}))}));var mO;fO.muiName="Select";const hO=["children","classes","className","label","notched"],gO=tS("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%"}),vO=tS("legend")((({ownerState:e,theme:t})=>Ap({float:"unset",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Ap({display:"block",width:"auto",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 bO=["components","fullWidth","inputComponent","label","multiline","notched","type"],yO=tS(QC,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:ZC})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Ap({position:"relative",borderRadius:e.shape.borderRadius,[`&:hover .${ak.notchedOutline}`]:{borderColor:e.palette.text.primary},"@media (hover: none)":{[`&:hover .${ak.notchedOutline}`]:{borderColor:n}},[`&.${ak.focused} .${ak.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${ak.error} .${ak.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${ak.disabled} .${ak.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Ap({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),xO=tS((function(e){const{className:t,label:n,notched:r}=e,o=Dp(e,hO),a=null!=n&&""!==n,i=Ap({},e,{notched:r,withLabel:a});return ih.exports.jsx(gO,Ap({"aria-hidden":!0,className:t,ownerState:i},o,{children:ih.exports.jsx(vO,{ownerState:i,children:a?ih.exports.jsx("span",{children:n}):mO||(mO=ih.exports.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>({borderColor:"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}))),SO=tS(JC,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:YC})((({theme:e,ownerState:t})=>Ap({padding:"16.5px 14px","&:-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"}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),wO=Ge.exports.forwardRef((function(e,t){var n;const r=Qx({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:a=!1,inputComponent:i="input",label:l,multiline:s=!1,notched:c,type:u="text"}=r,d=Dp(r,bO),p=(e=>{const{classes:t}=e;return Ap({},t,Gh({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ok,t))})(r),f=FC({props:r,muiFormControl:WC(),states:["required"]});return ih.exports.jsx(tk,Ap({components:Ap({Root:yO,Input:SO},o),renderSuffix:e=>ih.exports.jsx(xO,{className:p.notchedOutline,label:null!=l&&""!==l&&f.required?n||(n=ih.exports.jsxs(Ge.exports.Fragment,{children:[l," ","*"]})):l,notched:void 0!==c?c:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:i,multiline:s,ref:t,type:u},d,{classes:Ap({},p,{notchedOutline:null})}))}));wO.muiName="Input",Qh("MuiPagination",["root","ul","outlined","text"]);const CO=Qh("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]);dC(ih.exports.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),dC(ih.exports.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),dC(ih.exports.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),dC(ih.exports.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");const kO=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${wh(n.size)}`],"text"===n.variant&&t[`text${wh(n.color)}`],"outlined"===n.variant&&t[`outlined${wh(n.color)}`],"rounded"===n.shape&&t.rounded,"page"===n.type&&t.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&t.ellipsis,("previous"===n.type||"next"===n.type)&&t.previousNext,("first"===n.type||"last"===n.type)&&t.firstLast]};tS("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:kO})((({theme:e,ownerState:t})=>Ap({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${CO.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"small"===t.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}))),tS(ow,{name:"MuiPaginationItem",slot:"Root",overridesResolver:kO})((({theme:e,ownerState:t})=>Ap({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${CO.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${CO.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${CO.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selected} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Hv(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${CO.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selected} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Hv(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${CO.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},"small"===t.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)},"rounded"===t.shape&&{borderRadius:(e.vars||e).shape.borderRadius})),(({theme:e,ownerState:t})=>Ap({},"text"===t.variant&&{[`&.${CO.selected}`]:Ap({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${CO.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${CO.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},"outlined"===t.variant&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${CO.selected}`]:Ap({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Hv(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Hv(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Hv(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${CO.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Hv(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${CO.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})}))),tS("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})((({theme:e,ownerState:t})=>Ap({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(22)}))),tS("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),tS("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});var EO=dC(ih.exports.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"),RO=dC(ih.exports.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 LO=tS("span")({position:"relative",display:"flex"}),OO=tS(EO)({transform:"scale(1)"}),MO=tS(RO)((({theme:e,ownerState:t})=>Ap({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 IO(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=Ap({},e,{checked:t});return ih.exports.jsxs(LO,{className:n.root,ownerState:o,children:[ih.exports.jsx(OO,{fontSize:r,className:n.background,ownerState:o}),ih.exports.jsx(MO,{fontSize:r,className:n.dot,ownerState:o})]})}const TO=Ge.exports.createContext(void 0);function PO(e){return Yh("MuiRadio",e)}const zO=Qh("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]),NO=["checked","checkedIcon","color","icon","name","onChange","size"],_O=tS(Hk,{shouldForwardProp:e=>Jx(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${wh(n.color)}`]]}})((({theme:e,ownerState:t})=>Ap({color:(e.vars||e).palette.text.secondary,"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Hv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${zO.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${zO.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const AO=ih.exports.jsx(IO,{checked:!0}),DO=ih.exports.jsx(IO,{}),$O=Ge.exports.forwardRef((function(e,t){var n,r;const o=Qx({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=AO,color:l="primary",icon:s=DO,name:c,onChange:u,size:d="medium"}=o,p=Dp(o,NO),f=Ap({},o,{color:l,size:d}),m=(e=>{const{classes:t,color:n}=e;return Ap({},t,Gh({root:["root",`color${wh(n)}`]},PO,t))})(f),h=Ge.exports.useContext(TO);let g=a;const v=Ch(u,h&&h.onChange);let b=c;return h&&(void 0===g&&(g=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(h.value,o.value)),void 0===b&&(b=h.name)),ih.exports.jsx(_O,Ap({type:"radio",icon:Ge.exports.cloneElement(s,{fontSize:null!=(n=DO.props.fontSize)?n:d}),checkedIcon:Ge.exports.cloneElement(i,{fontSize:null!=(r=AO.props.fontSize)?r:d}),ownerState:f,classes:m,name:b,checked:g,onChange:v,ref:t},p))}));dC(ih.exports.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),dC(ih.exports.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");const qO=Qh("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function jO(e){return Yh("MuiSelect",e)}tS("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${qO.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${wh(n.size)}`],n.readOnly&&t.readOnly]}})((({theme:e,ownerState:t})=>Ap({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",WebkitTapHighlightColor:"transparent",[`&.${qO.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${qO.focusVisible} .${qO.iconActive}`]:{outline:"1px solid #999"},[`& .${qO.visuallyHidden}`]:Hh},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(30)},t.readOnly&&{pointerEvents:"none"}))),tS("label",{name:"MuiRating",slot:"Label",overridesResolver:(e,t)=>t.label})((({ownerState:e})=>Ap({cursor:"inherit"},e.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}))),tS("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.iconEmpty&&t.iconEmpty,n.iconFilled&&t.iconFilled,n.iconHover&&t.iconHover,n.iconFocus&&t.iconFocus,n.iconActive&&t.iconActive]}})((({theme:e,ownerState:t})=>Ap({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none"},t.iconActive&&{transform:"scale(1.2)"},t.iconEmpty&&{color:(e.vars||e).palette.action.disabled}))),tS("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>eS(e)&&"iconActive"!==e,overridesResolver:(e,t)=>{const{iconActive:n}=e;return[t.decimal,n&&t.iconActive]}})((({iconActive:e})=>Ap({position:"relative"},e&&{transform:"scale(1.2)"}))),Qh("MuiScopedCssBaseline",["root"]),tS("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>Ap({},((e,t)=>Ap({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&{colorScheme:e.palette.mode}))(e,t.enableColorScheme),(e=>Ap({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}))(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}})));const FO=Qh("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var BO;const WO=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],HO=tS("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${FO.select}`]:t.select},{[`&.${FO.select}`]:t[n.variant]},{[`&.${FO.multiple}`]:t.multiple}]}})(aO,{[`&.${FO.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),UO=tS("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${wh(n.variant)}`],n.open&&t.iconOpen]}})(lO),VO=tS("input",{shouldForwardProp:e=>eS(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function GO(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function KO(e){return null==e||"string"==typeof e&&!e.trim()}const XO=Ge.exports.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:o,autoWidth:a,children:i,className:l,defaultOpen:s,defaultValue:c,disabled:u,displayEmpty:d,IconComponent:p,inputRef:f,labelId:m,MenuProps:h={},multiple:g,name:v,onBlur:b,onChange:y,onClose:x,onFocus:S,onOpen:w,open:C,readOnly:k,renderValue:E,SelectDisplayProps:R={},tabIndex:L,value:O,variant:M="standard"}=e,I=Dp(e,WO),[T,P]=Ih({controlled:O,default:c,name:"Select"}),[z,N]=Ih({controlled:C,default:s,name:"Select"}),_=Ge.exports.useRef(null),A=Ge.exports.useRef(null),[D,$]=Ge.exports.useState(null),{current:q}=Ge.exports.useRef(null!=C),[j,F]=Ge.exports.useState(),B=Ph(t,f),W=Ge.exports.useCallback((e=>{A.current=e,e&&$(e)}),[]);Ge.exports.useImperativeHandle(B,(()=>({focus:()=>{A.current.focus()},node:_.current,value:T})),[T]),Ge.exports.useEffect((()=>{s&&z&&D&&!q&&(F(a?null:D.clientWidth),A.current.focus())}),[D,a]),Ge.exports.useEffect((()=>{o&&A.current.focus()}),[o]),Ge.exports.useEffect((()=>{if(!m)return;const e=Rh(A.current).getElementById(m);if(e){const t=()=>{getSelection().isCollapsed&&A.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[m]);const H=(e,t)=>{e?w&&w(t):x&&x(t),q||(F(a?null:D.clientWidth),N(e))},U=Ge.exports.Children.toArray(i),V=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(g){n=Array.isArray(T)?T.slice():[];const t=T.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),T!==n&&(P(n),y)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:v}}),y(o,e)}g||H(!1,t)}},G=null!==D&&z;let K,X;delete I["aria-invalid"];const Z=[];let Y=!1;(VC({value:T})||d)&&(E?K=E(T):Y=!0);const Q=U.map(((e,t,n)=>{if(!Ge.exports.isValidElement(e))return null;let r;if(g){if(!Array.isArray(T))throw new Error(Sh(2));r=T.some((t=>GO(t,e.props.value))),r&&Y&&Z.push(e.props.children)}else r=GO(T,e.props.value),r&&Y&&(X=e.props.children);if(void 0===e.props.value)return Ge.exports.cloneElement(e,{"aria-readonly":!0,role:"option"});return Ge.exports.cloneElement(e,{"aria-selected":r?"true":"false",onClick:V(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:void 0===n[0].props.value||!0===n[0].props.disabled?(()=>{if(T)return r;const t=n.find((e=>void 0!==e.props.value&&!0!==e.props.disabled));return e===t||r})():r,value:void 0,"data-value":e.props.value})}));Y&&(K=g?0===Z.length?null:Z.reduce(((e,t,n)=>(e.push(t),n<Z.length-1&&e.push(", "),e)),[]):X);let J,ee=j;!a&&q&&D&&(ee=D.clientWidth),J=void 0!==L?L:u?null:0;const te=R.id||(v?`mui-component-select-${v}`:void 0),ne=Ap({},e,{variant:M,value:T,open:G}),re=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:a}=e;return Gh({select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon",`icon${wh(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},jO,t)})(ne);return ih.exports.jsxs(Ge.exports.Fragment,{children:[ih.exports.jsx(HO,Ap({ref:W,tabIndex:J,role:"button","aria-disabled":u?"true":void 0,"aria-expanded":G?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[m,te].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!k){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),H(!0,e))}},onMouseDown:u||k?null:e=>{0===e.button&&(e.preventDefault(),A.current.focus(),H(!0,e))},onBlur:e=>{!G&&b&&(Object.defineProperty(e,"target",{writable:!0,value:{value:T,name:v}}),b(e))},onFocus:S},R,{ownerState:ne,className:uv(re.select,l,R.className),id:te,children:KO(K)?BO||(BO=ih.exports.jsx("span",{className:"notranslate",children:""})):K})),ih.exports.jsx(VO,Ap({value:Array.isArray(T)?T.join(","):T,name:v,ref:_,"aria-hidden":!0,onChange:e=>{const t=U.map((e=>e.props.value)).indexOf(e.target.value);if(-1===t)return;const n=U[t];P(n.props.value),y&&y(e,n)},tabIndex:-1,disabled:u,className:re.nativeInput,autoFocus:o,ownerState:ne},I)),ih.exports.jsx(UO,{as:p,className:re.icon,ownerState:ne}),ih.exports.jsx(ZL,Ap({id:`menu-${v||""}`,anchorEl:D,open:G,onClose:e=>{H(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},h,{MenuListProps:Ap({"aria-labelledby":m,role:"listbox",disableListWrap:!0},h.MenuListProps),PaperProps:Ap({},h.PaperProps,{style:Ap({minWidth:ee},null!=h.PaperProps?h.PaperProps.style:null)}),children:Q}))]})}));var ZO,YO;const QO=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],JO={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Jx(e)&&"variant"!==e,slot:"Root"},eM=tS(IR,JO)(""),tM=tS(wO,JO)(""),nM=tS(DE,JO)(""),rM=Ge.exports.forwardRef((function(e,t){const n=Qx({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:a={},className:i,defaultOpen:l=!1,displayEmpty:s=!1,IconComponent:c=sk,id:u,input:d,inputProps:p,label:f,labelId:m,MenuProps:h,multiple:g=!1,native:v=!1,onClose:b,onOpen:y,open:x,renderValue:S,SelectDisplayProps:w,variant:C="outlined"}=n,k=Dp(n,QO),E=v?cO:XO,R=FC({props:n,muiFormControl:WC(),states:["variant"]}).variant||C,L=d||{standard:ZO||(ZO=ih.exports.jsx(eM,{})),outlined:ih.exports.jsx(tM,{label:f}),filled:YO||(YO=ih.exports.jsx(nM,{}))}[R],O=(e=>{const{classes:t}=e;return t})(Ap({},n,{variant:R,classes:a})),M=Ph(t,L.ref);return Ge.exports.cloneElement(L,Ap({inputComponent:E,inputProps:Ap({children:o,IconComponent:c,variant:R,type:void 0,multiple:g},v?{id:u}:{autoWidth:r,defaultOpen:l,displayEmpty:s,labelId:m,MenuProps:h,onClose:b,onOpen:y,open:x,renderValue:S,SelectDisplayProps:Ap({id:u},w)},p,{classes:p?xh(O,p.classes):O},d?d.props.inputProps:{})},g&&v&&"outlined"===R?{notched:!0}:{},{ref:M,className:uv(L.props.className,i),variant:R},k))}));rM.muiName="Select",Qh("MuiSkeleton",["root","text","rectangular","circular","pulse","wave","withChildren","fitContent","heightAuto"]);let oM,aM,iM,lM,sM=e=>e;const cM=Gm(oM||(oM=sM`
|
|
186
|
+
0% {
|
|
187
|
+
opacity: 1;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
50% {
|
|
191
|
+
opacity: 0.4;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
100% {
|
|
195
|
+
opacity: 1;
|
|
196
|
+
}
|
|
197
|
+
`)),uM=Gm(aM||(aM=sM`
|
|
198
|
+
0% {
|
|
199
|
+
transform: translateX(-100%);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
50% {
|
|
203
|
+
/* +0.5s of delay between each loop */
|
|
204
|
+
transform: translateX(100%);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
100% {
|
|
208
|
+
transform: translateX(100%);
|
|
209
|
+
}
|
|
210
|
+
`));tS("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const n=(r=e.shape.borderRadius,String(r).match(/[\d.\-+]*\s*(.*)/)[1]||""||"px");var r;const o=function(e){return parseFloat(e)}(e.shape.borderRadius);return Ap({display:"block",backgroundColor:Hv(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${o}${n}/${Math.round(o/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&Vm(iM||(iM=sM`
|
|
211
|
+
animation: ${0} 1.5s ease-in-out 0.5s infinite;
|
|
212
|
+
`),cM)),(({ownerState:e,theme:t})=>"wave"===e.animation&&Vm(lM||(lM=sM`
|
|
213
|
+
position: relative;
|
|
214
|
+
overflow: hidden;
|
|
215
|
+
|
|
216
|
+
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
|
|
217
|
+
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
218
|
+
|
|
219
|
+
&::after {
|
|
220
|
+
animation: ${0} 1.6s linear 0.5s infinite;
|
|
221
|
+
background: linear-gradient(90deg, transparent, ${0}, transparent);
|
|
222
|
+
content: '';
|
|
223
|
+
position: absolute;
|
|
224
|
+
transform: translateX(-100%); /* Avoid flash during server-side hydration */
|
|
225
|
+
bottom: 0;
|
|
226
|
+
left: 0;
|
|
227
|
+
right: 0;
|
|
228
|
+
top: 0;
|
|
229
|
+
}
|
|
230
|
+
`),uM,t.palette.action.hover)));const dM=Ap({},Uy,Qh("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"]));tS("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${wh(n.color)}`],"medium"!==n.size&&t[`size${wh(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((({theme:e,ownerState:t})=>Ap({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&Ap({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&Ap({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${dM.disabled}`]:{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},[`&.${dM.dragging}`]:{[`& .${dM.thumb}, & .${dM.track}`]:{transition:"none"}}}))),tS("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})((({ownerState:e})=>Ap({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1}))),tS("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?Vv(e.palette[t.color].main,.62):Uv(e.palette[t.color].main,.5);return Ap({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:n,borderColor:n})})),tS("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${wh(n.color)}`],"medium"!==n.size&&t[`thumbSize${wh(n.size)}`]]}})((({theme:e,ownerState:t})=>Ap({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":Ap({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:e.shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${dM.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${Hv(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${dM.active}`]:{boxShadow:`0px 0px 0px 14px ${Hv(e.palette[t.color].main,.16)}`},[`&.${dM.disabled}`]:{"&:hover":{boxShadow:"none"}}}))),tS((function(e){const{children:t,className:n,value:r,theme:o}=e,a=(e=>{const{open:t}=e;return{offset:uv(t&&Uy.valueLabelOpen),circle:Uy.valueLabelCircle,label:Uy.valueLabelLabel}})(e);return Ge.exports.cloneElement(t,{className:uv(t.props.className)},ih.exports.jsxs(Ge.exports.Fragment,{children:[t.props.children,ih.exports.jsx("span",{className:uv(a.offset,n),theme:o,"aria-hidden":!0,children:ih.exports.jsx("span",{className:a.circle,children:ih.exports.jsx("span",{className:a.label,children:r})})})]}))}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e,ownerState:t})=>Ap({[`&.${dM.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transformOrigin:"bottom center",transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:e.palette.grey[600],borderRadius:2,color:e.palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===t.orientation&&{top:"-10px","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===t.orientation&&{right:"30px",top:"25px","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",right:"-20%",top:"25%"}},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}))),tS("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>eS(e)&&"markActive"!==e,overridesResolver:(e,t)=>t.mark})((({theme:e,ownerState:t,markActive:n})=>Ap({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:e.palette.background.paper,opacity:.8}))),tS("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>eS(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e,ownerState:t,markLabelActive:n})=>Ap({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:e.palette.text.primary}))),Qh("MuiSnackbarContent",["root","message","action"]),tS(iS,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=Gv(e.palette.background.default,t);return Ap({},e.typography.body2,{color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),tS("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),tS("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Qh("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]),tS("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${wh(n.anchorOrigin.vertical)}${wh(n.anchorOrigin.horizontal)}`]]}})((({theme:e,ownerState:t})=>{const n=Ap({},!t.isRtl&&{left:"50%",right:"auto",transform:"translateX(-50%)"},t.isRtl&&{right:"50%",left:"auto",transform:"translateX(50%)"});return Ap({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:Ap({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&n,"left"===t.anchorOrigin.horizontal&&Ap({},!t.isRtl&&{left:24,right:"auto"},t.isRtl&&{right:24,left:"auto"}),"right"===t.anchorOrigin.horizontal&&Ap({},!t.isRtl&&{right:24,left:"auto"},t.isRtl&&{left:24,right:"auto"}))})}));const pM=Qh("MuiSpeedDial",["root","fab","directionUp","directionDown","directionLeft","directionRight","actions","actionsClosed"]);tS("div",{name:"MuiSpeedDial",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`direction${wh(n.direction)}`]]}})((({theme:e,ownerState:t})=>Ap({zIndex:(e.vars||e).zIndex.speedDial,display:"flex",alignItems:"center",pointerEvents:"none"},"up"===t.direction&&{flexDirection:"column-reverse",[`& .${pM.actions}`]:{flexDirection:"column-reverse",marginBottom:-32,paddingBottom:48}},"down"===t.direction&&{flexDirection:"column",[`& .${pM.actions}`]:{flexDirection:"column",marginTop:-32,paddingTop:48}},"left"===t.direction&&{flexDirection:"row-reverse",[`& .${pM.actions}`]:{flexDirection:"row-reverse",marginRight:-32,paddingRight:48}},"right"===t.direction&&{flexDirection:"row",[`& .${pM.actions}`]:{flexDirection:"row",marginLeft:-32,paddingLeft:48}}))),tS(zE,{name:"MuiSpeedDial",slot:"Fab",overridesResolver:(e,t)=>t.fab})((()=>({pointerEvents:"auto"}))),tS("div",{name:"MuiSpeedDial",slot:"Actions",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.actions,!n.open&&t.actionsClosed]}})((({ownerState:e})=>Ap({display:"flex",pointerEvents:"auto"},!e.open&&{transition:"top 0s linear 0.2s",pointerEvents:"none"})));const fM=Qh("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);tS(_C,{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})=>Ap({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${fM.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${fM.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${fM.arrow}`]:Ap({},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"] .${fM.arrow}`]:Ap({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),tS("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${wh(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return Ap({backgroundColor:e.vars?`rgba(${e.vars.palette.grey.darkChannel} / 0.92)`:Hv(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},{[`.${fM.popper}[data-popper-placement*="left"] &`]:Ap({transformOrigin:"right center"},t.isRtl?Ap({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Ap({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${fM.popper}[data-popper-placement*="right"] &`]:Ap({transformOrigin:"left center"},t.isRtl?Ap({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Ap({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${fM.popper}[data-popper-placement*="top"] &`]:Ap({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${fM.popper}[data-popper-placement*="bottom"] &`]:Ap({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),tS("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?`rgba(${e.vars.palette.grey.darkChannel} / 0.9)`:Hv(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));const mM=Qh("MuiSpeedDialAction",["fab","fabClosed","staticTooltip","staticTooltipClosed","staticTooltipLabel","tooltipPlacementLeft","tooltipPlacementRight"]);tS(zE,{name:"MuiSpeedDialAction",slot:"Fab",skipVariantsResolver:!1,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.fab,!n.open&&t.fabClosed]}})((({theme:e,ownerState:t})=>Ap({margin:8,color:e.palette.text.secondary,backgroundColor:e.palette.background.paper,"&:hover":{backgroundColor:Gv(e.palette.background.paper,.15)},transition:`${e.transitions.create("transform",{duration:e.transitions.duration.shorter})}, opacity 0.8s`,opacity:1},!t.open&&{opacity:0,transform:"scale(0)"}))),tS("span",{name:"MuiSpeedDialAction",slot:"StaticTooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.staticTooltip,!n.open&&t.staticTooltipClosed,t[`tooltipPlacement${wh(n.tooltipPlacement)}`]]}})((({theme:e,ownerState:t})=>({position:"relative",display:"flex",alignItems:"center",[`& .${mM.staticTooltipLabel}`]:Ap({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.shorter}),opacity:1},!t.open&&{opacity:0,transform:"scale(0.5)"},"left"===t.tooltipPlacement&&{transformOrigin:"100% 50%",right:"100%",marginRight:8},"right"===t.tooltipPlacement&&{transformOrigin:"0% 50%",left:"100%",marginLeft:8})}))),tS("span",{name:"MuiSpeedDialAction",slot:"StaticTooltipLabel",overridesResolver:(e,t)=>t.staticTooltipLabel})((({theme:e})=>Ap({position:"absolute"},e.typography.body1,{backgroundColor:e.palette.background.paper,borderRadius:e.shape.borderRadius,boxShadow:e.shadows[1],color:e.palette.text.secondary,padding:"4px 16px",wordBreak:"keep-all"})));var hM=dC(ih.exports.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");function gM(e){return Yh("MuiSpeedDialIcon",e)}const vM=Qh("MuiSpeedDialIcon",["root","icon","iconOpen","iconWithOpenIconOpen","openIcon","openIconOpen"]),bM=["className","icon","open","openIcon"],yM=tS("span",{name:"MuiSpeedDialIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${vM.icon}`]:t.icon},{[`& .${vM.icon}`]:n.open&&t.iconOpen},{[`& .${vM.icon}`]:n.open&&n.openIcon&&t.iconWithOpenIconOpen},{[`& .${vM.openIcon}`]:t.openIcon},{[`& .${vM.openIcon}`]:n.open&&t.openIconOpen},t.root]}})((({theme:e,ownerState:t})=>({height:24,[`& .${vM.icon}`]:Ap({transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short})},t.open&&Ap({transform:"rotate(45deg)"},t.openIcon&&{opacity:0})),[`& .${vM.openIcon}`]:Ap({position:"absolute",transition:e.transitions.create(["transform","opacity"],{duration:e.transitions.duration.short}),opacity:0,transform:"rotate(-45deg)"},t.open&&{transform:"rotate(0deg)",opacity:1})}))),xM=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiSpeedDialIcon"}),{className:r,icon:o,openIcon:a}=n,i=Dp(n,bM),l=n,s=(e=>{const{classes:t,open:n,openIcon:r}=e;return Gh({root:["root"],icon:["icon",n&&"iconOpen",r&&n&&"iconWithOpenIconOpen"],openIcon:["openIcon",n&&"openIconOpen"]},gM,t)})(l);function c(e,t){return Ge.exports.isValidElement(e)?Ge.exports.cloneElement(e,{className:t}):e}return ih.exports.jsxs(yM,Ap({className:uv(s.root,r),ref:t,ownerState:l},i,{children:[a?c(a,s.openIcon):null,o?c(o,s.icon):ih.exports.jsx(hM,{className:s.icon})]}))}));xM.muiName="SpeedDialIcon";tS("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>[t.root]})((({ownerState:e,theme:t})=>{let n=Ap({display:"flex"},ng({theme:t},rg({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=mg(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(null==e.spacing[n]&&null==e.direction[n]||(t[n]=!0),t)),{}),a=rg({values:e.direction,base:o});n=xh(n,ng({theme:t},rg({values:e.spacing,base:o}),((t,n)=>{return{"& > :not(style) + :not(style)":{margin:0,[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:hg(r,t)}};var o})))}return n}));const SM=Ge.exports.createContext({}),wM=Ge.exports.createContext({});Qh("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]),tS("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>Ap({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})));var CM=dC(ih.exports.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),kM=dC(ih.exports.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function EM(e){return Yh("MuiStepIcon",e)}const RM=Qh("MuiStepIcon",["root","active","completed","error","text"]);var LM;const OM=["active","className","completed","error","icon"],MM=tS(uC,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${RM.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${RM.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${RM.error}`]:{color:(e.vars||e).palette.error.main}}))),IM=tS("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),TM=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiStepIcon"}),{active:r=!1,className:o,completed:a=!1,error:i=!1,icon:l}=n,s=Dp(n,OM),c=Ap({},n,{active:r,completed:a,error:i}),u=(e=>{const{classes:t,active:n,completed:r,error:o}=e;return Gh({root:["root",n&&"active",r&&"completed",o&&"error"],text:["text"]},EM,t)})(c);if("number"==typeof l||"string"==typeof l){const e=uv(o,u.root);return i?ih.exports.jsx(MM,Ap({as:kM,className:e,ref:t,ownerState:c},s)):a?ih.exports.jsx(MM,Ap({as:CM,className:e,ref:t,ownerState:c},s)):ih.exports.jsxs(MM,Ap({className:e,ref:t,ownerState:c},s,{children:[LM||(LM=ih.exports.jsx("circle",{cx:"12",cy:"12",r:"12"})),ih.exports.jsx(IM,{className:u.text,x:"12",y:"16",textAnchor:"middle",ownerState:c,children:l})]}))}return l}));function PM(e){return Yh("MuiStepLabel",e)}const zM=Qh("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),NM=["children","className","componentsProps","error","icon","optional","StepIconComponent","StepIconProps"],_M=tS("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})((({ownerState:e})=>Ap({display:"flex",alignItems:"center",[`&.${zM.alternativeLabel}`]:{flexDirection:"column"},[`&.${zM.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),AM=tS("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>Ap({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${zM.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${zM.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${zM.alternativeLabel}`]:{textAlign:"center",marginTop:16},[`&.${zM.error}`]:{color:(e.vars||e).palette.error.main}}))),DM=tS("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${zM.alternativeLabel}`]:{paddingRight:0}}))),$M=tS("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary}))),qM=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiStepLabel"}),{children:r,className:o,componentsProps:a={},error:i=!1,icon:l,optional:s,StepIconComponent:c,StepIconProps:u}=n,d=Dp(n,NM),{alternativeLabel:p,orientation:f}=Ge.exports.useContext(SM),{active:m,disabled:h,completed:g,icon:v}=Ge.exports.useContext(wM),b=l||v;let y=c;b&&!y&&(y=TM);const x=Ap({},n,{active:m,alternativeLabel:p,completed:g,disabled:h,error:i,orientation:f}),S=(e=>{const{classes:t,orientation:n,active:r,completed:o,error:a,disabled:i,alternativeLabel:l}=e;return Gh({root:["root",n,a&&"error",i&&"disabled",l&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",a&&"error",i&&"disabled",l&&"alternativeLabel"],iconContainer:["iconContainer",l&&"alternativeLabel"],labelContainer:["labelContainer"]},PM,t)})(x);return ih.exports.jsxs(_M,Ap({className:uv(S.root,o),ref:t,ownerState:x},d,{children:[b||y?ih.exports.jsx(DM,{className:S.iconContainer,ownerState:x,children:ih.exports.jsx(y,Ap({completed:g,active:m,error:i,icon:b},u))}):null,ih.exports.jsxs($M,{className:S.labelContainer,ownerState:x,children:[r?ih.exports.jsx(AM,Ap({className:S.label,ownerState:x},a.label,{children:r})):null,s]})]}))}));qM.muiName="StepLabel";const jM=Qh("MuiStepButton",["root","horizontal","vertical","touchRipple"]);tS(ow,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${jM.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})((({ownerState:e})=>Ap({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${jM.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}}))),Qh("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]),tS("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>Ap({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),tS("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${wh(n.orientation)}`]]}})((({ownerState:e,theme:t})=>Ap({display:"block",borderColor:"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}))),Qh("MuiStepContent",["root","last","transition"]),tS("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})((({ownerState:e,theme:t})=>Ap({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"}))),tS(yC,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),Qh("MuiStepper",["root","horizontal","vertical","alternativeLabel"]),tS("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>Ap({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),tS("div")((({theme:e,ownerState:t})=>Ap({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},"left"===t.anchor&&{right:"auto"},"right"===t.anchor&&{left:"auto",right:0},"top"===t.anchor&&{bottom:"auto",right:0},"bottom"===t.anchor&&{top:"auto",bottom:0,right:0}))),"undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent);const FM=Qh("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);tS("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${wh(n.edge)}`],t[`size${wh(n.size)}`]]}})((({ownerState:e})=>Ap({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,[`& .${FM.thumb}`]:{width:16,height:16},[`& .${FM.switchBase}`]:{padding:4,[`&.${FM.checked}`]:{transform:"translateX(16px)"}}}))),tS(Hk,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${FM.input}`]:t.input},"default"!==n.color&&t[`color${wh(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${FM.checked}`]:{transform:"translateX(20px)"},[`&.${FM.disabled}`]:{color:"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]},[`&.${FM.checked} + .${FM.track}`]:{opacity:.5},[`&.${FM.disabled} + .${FM.track}`]:{opacity:"light"===e.palette.mode?.12:.2},[`& .${FM.input}`]:{left:"-100%",width:"300%"}})),(({theme:e,ownerState:t})=>Ap({"&:hover":{backgroundColor:Hv(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${FM.checked}`]:{color:e.palette[t.color].main,"&:hover":{backgroundColor:Hv(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${FM.disabled}`]:{color:"light"===e.palette.mode?Vv(e.palette[t.color].main,.62):Uv(e.palette[t.color].main,.55)}},[`&.${FM.checked} + .${FM.track}`]:{backgroundColor:e.palette[t.color].main}}))),tS("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3}))),tS("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})));const BM=Qh("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);tS(ow,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${wh(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>Ap({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${BM.iconWrapper}`]:Ap({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${BM.selected}`]:{opacity:1},[`&.${BM.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${BM.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${BM.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${BM.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${BM.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})));const WM=Ge.exports.createContext();Qh("MuiTable",["root","stickyHeader"]),tS("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>Ap({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Ap({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})));const HM=Ge.exports.createContext();function UM(e){return Yh("MuiTableCell",e)}Qh("MuiTableBody",["root"]),tS("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"});const VM=Qh("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),GM=["align","className","component","padding","scope","size","sortDirection","variant"],KM=tS("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${wh(n.size)}`],"normal"!==n.padding&&t[`padding${wh(n.padding)}`],"inherit"!==n.align&&t[`align${wh(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>Ap({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:`1px solid\n ${"light"===e.palette.mode?Vv(Hv(e.palette.divider,1),.88):Uv(Hv(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:e.palette.text.primary},"footer"===t.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${VM.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default}))),XM=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:i,scope:l,size:s,sortDirection:c,variant:u}=n,d=Dp(n,GM),p=Ge.exports.useContext(WM),f=Ge.exports.useContext(HM),m=f&&"head"===f.variant;let h;h=a||(m?"th":"td");let g=l;!g&&m&&(g="col");const v=u||f&&f.variant,b=Ap({},n,{align:r,component:h,padding:i||(p&&p.padding?p.padding:"normal"),size:s||(p&&p.size?p.size:"medium"),sortDirection:c,stickyHeader:"head"===v&&p&&p.stickyHeader,variant:v}),y=(e=>{const{classes:t,variant:n,align:r,padding:o,size:a,stickyHeader:i}=e;return Gh({root:["root",n,i&&"stickyHeader","inherit"!==r&&`align${wh(r)}`,"normal"!==o&&`padding${wh(o)}`,`size${wh(a)}`]},UM,t)})(b);let x=null;return c&&(x="asc"===c?"ascending":"descending"),ih.exports.jsx(KM,Ap({as:h,ref:t,className:uv(y.root,o),"aria-sort":x,scope:g,ownerState:b},d))}));function ZM(e){return Yh("MuiToolbar",e)}Qh("MuiTableContainer",["root"]),tS("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),Qh("MuiTableFooter",["root"]),tS("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),Qh("MuiTableHead",["root"]),tS("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),Qh("MuiToolbar",["root","gutters","regular","dense"]);const YM=["className","component","disableGutters","variant"],QM=tS("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>Ap({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),JM=Ge.exports.forwardRef((function(e,t){const n=Qx({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:a=!1,variant:i="regular"}=n,l=Dp(n,YM),s=Ap({},n,{component:o,disableGutters:a,variant:i}),c=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return Gh({root:["root",!n&&"gutters",r]},ZM,t)})(s);return ih.exports.jsx(QM,Ap({as:o,className:uv(c.root,r),ref:t,ownerState:s},l))}));dC(ih.exports.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),dC(ih.exports.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");const eI=Qh("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);tS(XM,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),tS(JM,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>Ap({[`& .${eI.actions}`]:t.actions},t.toolbar)})((({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${eI.actions}`]:{flexShrink:0,marginLeft:20}}))),tS("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),tS("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})((({theme:e})=>Ap({},e.typography.body2,{flexShrink:0}))),tS(rM,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>Ap({[`& .${eI.selectIcon}`]:t.selectIcon,[`& .${eI.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${eI.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),tS(tO,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),tS("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})((({theme:e})=>Ap({},e.typography.body2,{flexShrink:0})));const tI=Qh("MuiTableRow",["root","selected","hover","head","footer"]);tS("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${tI.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${tI.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Hv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),dC(ih.exports.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");const nI=Qh("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]);tS(ow,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${nI.icon}`]:{opacity:.5}},[`&.${nI.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${nI.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),tS("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${wh(n.direction)}`]]}})((({theme:e,ownerState:t})=>Ap({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"})));const rI=["onChange"],oI={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};const aI=Qh("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);tS(ow,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>Ap({width:40,flexShrink:0,opacity:.8,[`&.${aI.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})));const iI=Qh("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);tS("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${iI.scrollButtons}`]:t.scrollButtons},{[`& .${iI.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>Ap({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${iI.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),tS("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>Ap({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),tS("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>Ap({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),tS("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>Ap({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),tS((function(e){const{onChange:t}=e,n=Dp(e,rI),r=Ge.exports.useRef(),o=Ge.exports.useRef(null),a=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return Ge.exports.useEffect((()=>{const e=kh((()=>{const e=r.current;a(),e!==r.current&&t(r.current)})),n=Lh(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),Ge.exports.useEffect((()=>{a(),t(r.current)}),[t]),ih.exports.jsx("div",Ap({style:oI,ref:o},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Qh("MuiTextField",["root"]),tS(FE,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({});const lI=Qh("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]);tS(ow,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${wh(n.size)}`]]}})((({theme:e,ownerState:t})=>{let n,r="standard"===t.color?e.palette.text.primary:e.palette[t.color].main;return e.vars&&(r="standard"===t.color?e.vars.palette.text.primary:e.vars.palette[t.color].main,n="standard"===t.color?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),Ap({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${lI.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Hv(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${lI.selected}`]:{color:r,backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:Hv(r,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${n} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Hv(r,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${n} / ${e.vars.palette.action.selectedOpacity})`:Hv(r,e.palette.action.selectedOpacity)}}}},"small"===t.size&&{padding:7,fontSize:e.typography.pxToRem(13)},"large"===t.size&&{padding:15,fontSize:e.typography.pxToRem(15)})}));const sI=Qh("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]);function cI(){const[e,t]=Ge.exports.useState(),[n,r]=Ge.exports.useState(),o=Ge.exports.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 Ge.exports.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 uI(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function dI(e){let{size:t,style:n={},viewBox:r="0 0 16 16",shapes:a=[]}=e;const l=o({fontSize:uI(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},n);return Ot.createElement("i",{style:l},Ot.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},a.map(((e,t)=>{let{type:n,attrs:r}=e;return Ot.createElement(n,i({key:t},r))}))))}tS("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${sI.grouped}`]:t.grouped},{[`& .${sI.grouped}`]:t[`grouped${wh(n.orientation)}`]},t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})((({ownerState:e,theme:t})=>Ap({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius},"vertical"===e.orientation&&{flexDirection:"column"},e.fullWidth&&{width:"100%"},{[`& .${sI.grouped}`]:Ap({},"horizontal"===e.orientation?{"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0},[`&.${sI.selected} + .${sI.grouped}.${sI.selected}`]:{borderLeft:0,marginLeft:0}}:{"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`&.${sI.selected} + .${sI.grouped}.${sI.selected}`]:{borderTop:0,marginTop:0}})})));var pI=e=>dI((e=>o(o({},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 fI=e=>dI((e=>o(o({},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 mI=e=>dI((e=>o(o({},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)),hI=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function gI(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||hI(r)&&hI(o)))return!1;var r,o;return!0}function vI(e,t){var n;void 0===t&&(t=gI);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 bI="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function yI(e){cancelAnimationFrame(e.id)}var xI=null;function SI(e){if(void 0===e&&(e=!1),null===xI||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?xI="positive-descending":(t.scrollLeft=1,xI=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),xI}return xI}var wI=function(e,t){return e};function CI(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,RS(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:RS(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=vI((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=vI((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,m="rtl"===i,h=f?d:0;u[e]=t={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=vI((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(SI()){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&&yI(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=function(e,t){var n=bI(),r={id:requestAnimationFrame((function o(){bI()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}pS(t,e),t.getDerivedStateFromProps=function(e,t){return kI(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.itemCount,r=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1)),this.scrollTo(a(this.props,e,t,r,this._instanceProps))},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(SI()){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&&yI(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?wI:d,f=e.layout,m=e.outerElementType,h=e.outerTagName,g=e.style,v=e.useIsScrolling,b=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),C=w[0],k=w[1],E=[];if(c>0)for(var R=C;R<=k;R++)E.push(Ge.exports.createElement(t,{data:u,key:p(R,u),index:R,isScrolling:v?y:void 0,style:this._getItemStyle(R)}));var L=r(this.props,this._instanceProps);return Ge.exports.createElement(m||h||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:Ap({position:"relative",height:a,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},Ge.exports.createElement(l||s||"div",{children:E,ref:i,style:{height:x?"100%":L,pointerEvents:y?"none":void 0,width:x?L:"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}(Ge.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var kI=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},EI=CI({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){var o=e.direction,a=e.height,i=e.itemCount,l=e.itemSize,s=e.layout,c=e.width,u="horizontal"===o||"horizontal"===s?c:a,d=Math.max(0,i*l-u),p=Math.min(d,t*l),f=Math.max(0,t*l-u+l);switch("smart"===n&&(n=r>=f-u&&r<=p+u?"auto":"center"),n){case"start":return p;case"end":return f;case"center":var m=Math.round(f+(p-f)/2);return m<Math.ceil(u/2)?0:m>d+Math.floor(u/2)?d:m;default:return r>=f&&r<=p?r:r<f?f:p}},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}});var RI=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},LI=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}}(),OI=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},MI=function(e){function t(){var e,n,r;RI(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=OI(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},OI(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),LI(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}(Ge.exports.PureComponent);const II=["S","XS"],TI=e=>e.reduce(((e,t)=>e.concat(t)));function PI(e){return II.includes(e)}function zI(e){return Array.isArray(e)?Array.from(new Set(e)):void 0}async function NI(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 _I(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 AI(e){let{layout:t,selections:n,pages:r=[],checkboxes:a=!1,selectDisabled:i,doc:l=document,isSingleSelect:s=!1}=e;const[c,u]=Ge.exports.useState(r),[d,p]=Ge.exports.useState(!1),[f,m]=Ge.exports.useState(!1),[h,g]=Ge.exports.useState(s),[v,b]=Ge.exports.useState([]),[y,x]=Ge.exports.useState(!1),[S,w]=Ge.exports.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 TI(t)}(r);Ge.exports.useEffect((()=>{g(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(i())return;m(!0);const r=t?e.filter((e=>!v.includes(e))):e;await NI({selections:n,elemNumbers:r,isSingleSelect:h}),m(!1),w([])},E=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i()||w((n=>{const r=zI([...n,...e]),o=t?r.filter((e=>!v.includes(e))):r;return t?_I(r,C):o}))},R=e=>{(e.ctrlKey||e.metaKey)&&(g(!0),e.currentTarget.focus(),e.preventDefault())},L=Ge.exports.useCallback((e=>{if(f||i())return;const t=+e.currentTarget.getAttribute("data-n");w([t]),R(e)}),[f,i]),O=Ge.exports.useCallback((e=>{if(f||i())return;x(!1),p(!0);const t=+e.currentTarget.getAttribute("data-n");w([t]),R(e)}),[f,i]),M=Ge.exports.useCallback((e=>{const t=+e.currentTarget.getAttribute("data-n");h||!d||f||1===S.length&&S[0]===t||E([t])}),[d,f,S,v,y,i]),I=Ge.exports.useCallback((()=>{p(!1),m(!1),x(!1),g(s)}),[s]),T=Ge.exports.useCallback((e=>{if(h||!d||f||i())return;x(!0);const t=+e.currentTarget.getAttribute("data-n");E([t],!0)}),[d,f,y,S,v,i,t&&t.qListObject.qDimensionInfo.qIsOneAndOnlyOne]);Ge.exports.useEffect((()=>{const e=!d;S&&S.length&&!f&&e&&t&&k(S,y)}),[S,d,i()]),Ge.exports.useEffect((()=>(l.addEventListener("mouseup",I),()=>{l.removeEventListener("mouseup",I)})),[I]),Ge.exports.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!!PI(t.qState)&&t.qElemNumber}));return t.filter((e=>!1!==e))}));return TI(t)}(r);b(e)}),[r]),Ge.exports.useEffect((()=>{if(f||!r||!a&&!d)return;const e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e=>t.length<=1&&PI(e)?"A":"S",a=e.map((e=>{const a=e.qMatrix.map((e=>{const[a]=e,i=t.includes(a.qElemNumber);let l;return l=n?i?"S":"A":i?r(a.qState):a.qState,[o(o({},a),{},{qState:l}),e.slice(1)]}));return o(o({},e),{},{qMatrix:a})}));return a}(r,S,h);u(e)}),[S]);const P={};return a?Object.assign(P,{onClick:L}):Object.assign(P,{onMouseUp:M,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),E(e,t||y);const n=k(e,t||y);return p(!1),n}}}const DI=e=>o(o({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var $I=e=>dI(DI(e));const qI="ListBoxCheckbox",jI={cbIcon:"".concat(qI,"-cbIcon"),cbIconChecked:"".concat(qI,"-cbIconChecked"),cbIconExcluded:"".concat(qI,"-cbIconExcluded"),cbIconAlternative:"".concat(qI,"-cbIconAlternative"),checkbox:"".concat(qI,"-checkbox"),dense:"".concat(qI,"-dense")},FI=tS(tE)((e=>{let{theme:t}=e;return{["& .".concat(jI.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(jI.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(jI.cbIconExcluded)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.excluded},["& .".concat(jI.cbIconAlternative)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.alternative},["&.".concat(jI.checkbox)]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},["&.".concat(jI.dense)]:{padding:"4px 8px"}}})),BI=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Ot.createElement("span",{className:e.cbIcon},n&&Ot.createElement("span",{className:t&&n?e.cbIconExcluded:""}))};function WI(e){let{checked:t,label:n,dense:r,excluded:o,showGray:a=!0}=e;return Ot.createElement(FI,{edge:"start",checked:t,disableRipple:!0,className:[jI.checkbox,r&&jI.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":n},name:n,icon:BI(jI,a,o),checkedIcon:Ot.createElement("span",{className:jI.cbIconChecked})})}const HI="ListBoxRadioButton",UI={denseRadioButton:"".concat(HI,"-denseRadioButton"),radioButton:"".concat(HI,"-radioButton")},VI=tS($O)((()=>({["&.".concat(UI.radioButton)]:{right:"5px"}})));function GI(e){let{checked:t,label:n,dense:r}=e;return Ot.createElement(VI,{checked:t,value:n,name:n,className:UI.radioButton,style:{backgroundColor:"transparent"},disableRipple:!0,size:r?"small":"medium",sx:r&&{padding:"0px",paddingLeft:"6px"}})}const KI=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===KI.ARROW_UP||e===KI.ARROW_DOWN||e===KI.ARROW_LEFT||e===KI.ARROW_RIGHT});function XI(e){let{setKeyboardActive:t}=e;return e=>{const{keyCode:n}=e.nativeEvent;switch(n){case KI.ENTER:case KI.SPACE:(e=>{const n=e.querySelector(".search input, .value.selector, .value");t(!0),n&&n.focus()})(e.currentTarget);break;case KI.ESCAPE:r=e.currentTarget,t(!1),r.focus();break;default:return}var r;e.preventDefault()}}const ZI="RowColumn",YI={row:"".concat(ZI,"-row"),rowBorderBottom:"".concat(ZI,"-rowBorderBottom"),column:"".concat(ZI,"-column"),fieldRoot:"".concat(ZI,"-fieldRoot"),cell:"".concat(ZI,"-cell"),labelText:"".concat(ZI,"-labelText"),labelDense:"".concat(ZI,"-labelDense"),highlighted:"".concat(ZI,"-highlighted"),checkboxLabel:"".concat(ZI,"-checkboxLabel"),icon:"".concat(ZI,"-icon"),S:"".concat(ZI,"-S"),XS:"".concat(ZI,"-XS"),A:"".concat(ZI,"-A"),X:"".concat(ZI,"-X"),frequencyCount:"".concat(ZI,"-frequencyCount"),barContainer:"".concat(ZI,"-barContainer"),bar:"".concat(ZI,"-bar"),barSelected:"".concat(ZI,"-barSelected"),barWithCheckbox:"".concat(ZI,"-barWithCheckbox"),barSelectedWithCheckbox:"".concat(ZI,"-barSelectedWithCheckbox"),excludedTextWithCheckbox:"".concat(ZI,"-excludedTextWithCheckbox")},QI={width:"100%",overflow:"hidden",textOverflow:"ellipsis"},JI=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}}},eT=tS("div")((e=>{let{theme:t}=e;return{["& .".concat(YI.row)]:{flexWrap:"nowrap",color:t.palette.text.primary},["& .".concat(YI.rowBorderBottom)]:{borderBottom:"1px solid ".concat(t.palette.divider)},["& .".concat(YI.column)]:{flexWrap:"nowrap",borderRight:"1px solid ".concat(t.palette.divider),color:t.palette.text.primary},["& .".concat(YI.fieldRoot)]:{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},["& .".concat(YI.cell)]:{display:"flex",alignItems:"center",minWidth:0,flexGrow:1,paddingLeft:"9px",paddingRight:"9px"},["& .".concat(YI.labelText)]:o({flexBasis:"max-content",lineHeight:"16px",userSelect:"none",whiteSpace:"pre"},QI),["& .".concat(YI.labelDense)]:{fontSize:12},["& .".concat(YI.highlighted)]:{overflow:"visible",width:"100%","& > span":{width:"100%",backgroundColor:"#FFC72A"}},["& .".concat(YI.checkboxLabel)]:{margin:0,width:"100%",height:"100%","& > span:nth-child(1)":{paddingRight:"8px"},"& > span:nth-child(2)":o(o({},QI),{},{display:"flex",alignItems:"center",paddingLeft:0})},["& .".concat(YI.icon)]:{display:"flex",padding:t.spacing(1,1,1,0)},["& .".concat(YI.S)]:o({},JI({theme:t})),["& .".concat(YI.XS)]:o(o({},JI({theme:t})),{},{background:t.palette.selected.excluded,color:t.palette.selected.mainContrastText}),["& .".concat(YI.A)]:{background:t.palette.selected.alternative,color:t.palette.selected.alternativeContrastText},["& .".concat(YI.X)]:{background:t.palette.selected.excluded,color:t.palette.selected.excludedContrastText},["& .".concat(YI.frequencyCount)]:{paddingLeft:"8px",paddingRight:"8px"},["&.".concat(YI.barContainer)]:{position:"relative"},["& .".concat(YI.bar)]:{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",height:"16px",position:"absolute",zIndex:"-1",alignSelf:"center",left:"".concat(4,"px"),transition:"width 0.2s",backgroundColor:"#FAFAFA"},["& .".concat(YI.barSelected)]:{opacity:"30%",zIndex:"0",background:t.palette.background.lighter},["& .".concat(YI.barWithCheckbox)]:{left:"".concat(29,"px")},["& .".concat(YI.barSelectedWithCheckbox)]:{background:"#BFE5D0",borderColor:"#BFE5D0"},["& .".concat(YI.excludedTextWithCheckbox)]:{color:"#828282"}}}));function tT(e){let{index:t,style:n,data:r,column:o=!1}=e;const{onClick:a,onMouseDown:i,onMouseUp:l,onMouseEnter:s,pages:c,isLocked:u,checkboxes:d=!1,dense:p=!1,frequencyMode:f="N",isSingleSelect:m,actions:h,frequencyMax:g="",histogram:v=!1,keyboard:b,showGray:y=!0}=r,x=Ge.exports.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 KI.SHIFT:i(!0);break;case KI.SPACE:t([+e.currentTarget.getAttribute("data-n")]);break;case KI.ARROW_DOWN:case KI.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 KI.ARROW_UP:case KI.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 KI.ENTER:n();break;case KI.ESCAPE:return void r();default:return}l&&l.focus(),e.preventDefault(),e.stopPropagation()}}(h),[h]),[S,w]=Ge.exports.useState(!1),[C,k]=Ge.exports.useState(),[E,R]=Ge.exports.useState([]);Ge.exports.useEffect((()=>{if(!c)return;let e;const n=c.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(n){const r=n.qArea;t>=r.qTop&&t<r.qTop+r.qHeight&&([e]=n.qMatrix[t-r.qTop])}k(e)}),[c]);const L=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,O=e=>e?"A"===e.qState:null;Ge.exports.useEffect((()=>{if(!C)return;const e="S"===C.qState||"XS"===C.qState||"L"===C.qState;w(e);const t=[o?YI.column:YI.row];v&&p||t.push(YI.rowBorderBottom),d||("XS"===C.qState?t.push(y?YI.XS:YI.S):"S"===C.qState||"L"===C.qState?t.push(YI.S):y&&O(C)?t.push(YI.A):y&&L(C)&&t.push(YI.X)),R(t)}),[C&&C.qState]);const M=e=>e.filter((e=>!!e)).join(" ").trim(),I=()=>(O(C)||L(C))&&d,T=e=>{let{lbl:t,ix:n,color:r,highlighted:o=!1}=e;return Ot.createElement(zC,{component:"span",variant:"body2",key:n,className:M([YI.labelText,o&&YI.highlighted,p&&YI.labelDense,y&&I()&&YI.excludedTextWithCheckbox]),color:r},Ot.createElement("span",{style:{whiteSpace:"pre"}},t))},P=e=>{let{lbl:t,color:n,qElemNumber:r}=e;const o=Ot.createElement(WI,{label:t,checked:S,dense:p,excluded:L(C),showGray:y}),a=Ot.createElement(GI,{label:t,checked:S,dense:p}),i="string"==typeof t?T({lbl:t,color:n,highlighted:!1}):t;return Ot.createElement(VE,{color:n,control:m?a:o,className:YI.checkboxLabel,label:i,key:r})},z=C?C.qText:"",N=()=>C?C.qFrequency?C.qFrequency:"0":"",_=C&&C.qHighlightRanges&&C.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[],A=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}(z,_),D=d?P:T,$={alignItems:"center",display:"flex"},q=S&&u,j=!d&&S&&!u,F={display:"flex",alignItems:"center",minWidth:0,flexGrow:1,padding:d?0:void 0},B=0===t;return Ot.createElement(eT,{className:YI.barContainer},Ot.createElement(sR,{container:!0,gap:0,className:M(["value",...E]),classes:{root:YI.fieldRoot},style:n,onClick:a,onMouseDown:i,onMouseUp:l,onMouseEnter:s,onKeyDown:x,onContextMenu:e=>{d&&a(e),e.preventDefault()},role:o?"column":"row",tabIndex:!B||b.enabled&&!b.active?-1:0,"data-n":C&&C.qElemNumber},C&&v&&"0"!==N()&&Ot.createElement("div",{className:M([YI.bar,d&&YI.barWithCheckbox,S&&(d?YI.barSelectedWithCheckbox:YI.barSelected)]),style:{width:(e=>{const t=String(e),n="%"===t.substring(t.length-1),r=parseFloat(n?t:e),o=d?"(".concat(29,"px + ").concat(6,"px)"):"".concat(10,"px");return"calc(".concat(n?r:r/g*100,"% - ").concat(o,")")})(C.qFrequency)}}),Ot.createElement(sR,{item:!0,style:F,className:M([YI.cell,YI.selectedCell]),title:"".concat(z)},0===_.length?D({lbl:z,color:"inherit"}):(e=>{let{lbls:t}=e;const n=t.map(((e,t)=>{let[n,r]=e;return T({ix:t,highlighted:r,lbl:n})}));return d?P({lbl:n}):n})({lbls:A})),"N"!==f&&Ot.createElement(sR,{item:!0,style:{display:"flex",alignItems:"center"},className:YI.frequencyCount},Ot.createElement(zC,{noWrap:!0,color:"inherit",variant:"body2",className:M([p&&YI.labelDense,YI.labelText,y&&I()&&YI.excludedTextWithCheckbox])},N())),(q||j)&&Ot.createElement(sR,{item:!0,className:YI.icon},q&&Ot.createElement(fI,{style:$,size:"small"}),j&&Ot.createElement($I,{style:$,size:"small"}))))}const nT="#BBB",rT="#f1f1f1",oT={styledScrollbars:"".concat("ListBox","-styledScrollbars")},aT=tS(MI)((()=>({["& .".concat(oT.styledScrollbars)]:{scrollbarColor:"".concat(nT," ").concat(rT),"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:rT},"&::-webkit-scrollbar-thumb":{backgroundColor:nT,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}}})));function iT(e){let{model:t,selections:n,direction:r,height:a,width:i,listLayout:l="vertical",frequencyMode:s="N",histogram:c=!1,checkboxes:u=!1,update:d,fetchStart:p,postProcessPages:f,calculatePagesHeight:m=!1,dense:h=!1,keyboard:g={},showGray:v=!0,scrollState:b,sortByState:y,selectDisabled:x=(()=>!1),setCount:S}=e;const[w]=Hw(t),C=!(!w||!w.qListObject.qDimensionInfo.qIsOneAndOnlyOne),[k,E]=Ge.exports.useState(null),[R,L]=Ge.exports.useState(!1),{instantPages:O=[],interactionEvents:M,select:I}=AI({layout:w,selections:n,pages:k,checkboxes:u,selectDisabled:x,doc:document,isSingleSelect:C}),T=Ge.exports.useRef(null),P=Ge.exports.useRef({queue:[],validPages:!1}),z=Ge.exports.useRef({pages:[]}),N=Ge.exports.useCallback((e=>{if(!k||!P.current.validPages)return!1;P.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=k.filter((e=>t(e)))[0];return n&&t(n)}),[w,k]),_=Ge.exports.useCallback(((e,n)=>{P.current.queue.push({start:e,stop:n});!!T.current&&T.current._listRef.state.isScrolling;return P.current.queue.length>10&&P.current.queue.shift(),clearTimeout(P.current.timeout),L(!0),new Promise((e=>{P.current.timeout=setTimeout((()=>{const n=P.current.queue.slice(-2).sort(((e,t)=>e.start-t.start)),r=t.getListObjectData("/qListObjectDef",n.map((e=>({qTop:e.start,qHeight:e.stop-e.start+1,qLeft:0,qWidth:1})))).then((t=>{const n=f?f(t):t;P.current.validPages=!0,z.current.pages=n,E(n),L(!1),e()}));p&&p(r)}),0)}))}),[w]),A=()=>{if(P.current.queue=[],P.current.validPages=!1,T.current){if(T.current.resetloadMoreItemsCache(!0),w&&w.qSelectionInfo.qInSelections||0===y)return;T.current._listRef.scrollToItem(0)}};d&&d.call(null,A),Ge.exports.useEffect((()=>{A(),"function"==typeof S&&w&&S(w.qListObject.qSize.qcy)}),[w]),Ge.exports.useEffect((()=>{O&&!R&&E(O)}),[O]);const[D,$]=Ge.exports.useState(!1);if(Ge.exports.useEffect((()=>{b&&!D&&T.current&&(T.current._listRef.scrollToItem(b.initScrollPos),$(!0))}),[T.current]),!w)return null;const q="horizontal"!==l,j=w.qListObject.qSize.qcy,F=k&&k.length&&m?(e=>{const t=e.some((e=>e.qArea.qHeight<100)),n=Math.max(...e.map((e=>e.qArea.qTop+e.qArea.qHeight)));return t?n:j})(k):j,{itemSize:B,listHeight:W}=function(e){let{isVertical:t,checkboxes:n,dense:r,height:o}=e,a=n?40:33;r&&(a=20);const i=t?a:200;return{itemSize:i,listHeight:o||8*i}}({isVertical:q,checkboxes:u,dense:h,height:a}),H=w&&w.qListObject.qDimensionInfo.qLocked,{frequencyMax:U}=w;return Ot.createElement(aT,{isItemLoaded:N,itemCount:j,loadMoreItems:_,threshold:0,minimumBatchSize:100,ref:T},(e=>{let{onItemsRendered:t,ref:a}=e;return P.current.listRef=a,Ot.createElement(EI,{direction:r,"data-testid":"fixed-size-list",useIsScrolling:!0,style:{},height:W,width:i,itemCount:F,layout:l,className:oT.styledScrollbars,itemData:o(o({isLocked:H,column:!q,pages:k},H||x()?{}:M),{},{checkboxes:u,dense:h,frequencyMode:s,isSingleSelect:C,actions:{select:I,confirm:()=>n&&n.confirm.call(n),cancel:()=>n&&n.cancel.call(n)},frequencyMax:U,histogram:c,keyboard:g,showGray:v}),itemSize:B,onItemsRendered:e=>{b&&b.setScrollPos(e.visibleStopIndex),t(o({},e))},ref:a},tT)}))}const lT=e=>o(o({},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"}}]}),sT=e=>o(o({},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"}}]}),cT=e=>o(o({},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"}}]}),uT=e=>o(o({},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 dT=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:lT,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:cT,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:sT,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:uT,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const pT=e=>o(o({},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 fT(e){const t=Yx(),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 mT="njs-cell-action",hT=Ot.forwardRef(((e,t)=>{let{item:n,addAnchor:r=!1}=e;const o=Yx(),{hidden:a,disabled:i,style:l,hasSvgIconShape:s}=fT(n);if(a)return null;const c=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Ot.createElement(LC,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:c,disabled:i,style:l,className:mT,size:"large"},s&&dI(n.getSvgIconShape()),r&&Ot.createElement("div",{ref:t,style:{bottom:-o.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))})),gT=e=>o(o({},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"}}]}),vT=e=>o(o({},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 bT=e=>dI(vT(e));const yT={icon:"".concat("More","-icon")},xT=tS(FL)((e=>{let{theme:t}=e;return{["& .".concat(yT.icon)]:{color:t.palette.text.primary}}}));function ST(e){let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:o,hasSvgIconShape:a}=fT(t);return r?null:Ot.createElement(tO,{title:t.label,onClick:()=>{t.action(),n()},disabled:o},a&&Ot.createElement(kL,{className:yT.icon},dI(t.getSvgIconShape())),Ot.createElement(zC,{noWrap:!0},t.label))}const wT=Ot.forwardRef(((e,t)=>{let{actions:n=[],show:r=!0,alignTo:a,popoverProps:l={},popoverPaperStyle:s={},onCloseOrActionClick:c=(()=>{})}=e;return n.length>0&&Ot.createElement(xT,i({},l,{onClose:c,ref:t,open:r,anchorEl:a.current,getContentAnchorEl:null,container:a.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:o({pointerEvents:"auto",maxWidth:"250px"},s)}}),Ot.createElement(TL,null,n.map(((e,t)=>Ot.createElement(ST,{key:t,item:e,onActionClick:c})))))})),CT="ActionsToolbar",kT={itemSpacing:"".concat(CT,"-itemSpacing"),firstItemSpacing:"".concat(CT,"-firstItemSpacing"),lastItemSpacing:"".concat(CT,"-lastItemSpacing")},ET=tS(FL)((e=>{let{theme:t}=e;return{["& .".concat(kT.itemSpacing)]:{padding:t.spacing(0,.5)},["& .".concat(kT.firstItemSpacing)]:{padding:t.spacing(0,.5,0,0)},["& .".concat(kT.lastItemSpacing)]:{padding:t.spacing(0,0,0,.5)}}})),RT="njs-action-toolbar-popover",LT=Ot.forwardRef(((e,t)=>{let{actions:n=[],first:r=!1,last:o=!1,addAnchor:a=!1}=e;return n.length>0?Ot.createElement(sR,{item:!0,container:!0,gap:0,wrap:"nowrap"},n.map(((e,i)=>{let l=[];const s=r&&0===i,c=o&&n.length-1===i;return s&&!c&&(l=[kT.firstItemSpacing]),c&&!s&&(l=[...l,kT.lastItemSpacing]),s||c||0!==l.length||(l=[kT.itemSpacing]),Ot.createElement(sR,{item:!0,key:e.key,className:l.join(" ").trim()},Ot.createElement(hT,{key:e.key,item:e,ref:0===i?t:null,addAnchor:a}))}))):null})),OT={pointerEvents:"none"},MT={vertical:"top",horizontal:"right"},IT={vertical:"bottom",horizontal:"right"};function TT(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}=Ge.exports.useContext(Rw);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:vT},{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:gT},{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:DI}]}(o),{translator:u,keyboardNavigation:d}=Ge.exports.useContext(Rw),[p,f]=Ge.exports.useState(!1),[m,h]=Ge.exports.useState(a.enabled),[g,v]=Ge.exports.useState(a.actions),[b,y]=Ge.exports.useState(a.alignTo),x=Ge.exports.useRef(),S=Ge.exports.useRef(),w=Yx(),C=Ge.exports.useMemo((()=>({margin:w.spacing(.5,0)}))),k=e=>{const t=S.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};Ge.exports.useEffect((()=>()=>f(!1)),[i.show]),Ge.exports.useEffect((()=>{h(a.enabled)}),[a.enabled]),Ge.exports.useEffect((()=>{if(!l)return;l.on("focus_toolbar_first",(()=>{const e=k(!1);e&&e.focus()})),l.on("focus_toolbar_last",(()=>{const e=k(!0);e&&e.focus()}))}),[]);const E=Ge.exports.useMemo((()=>n.filter((e=>!e.hidden))),[n]);if(!o.show&&0===E.length)return null;const R={key:"more",label:u.get("Menu.More"),getSvgIconShape:pT,hidden:!1,enabled:()=>m,action:()=>f(!p)};if(E.length>r){const e=E.splice(-(E.length-r)-1);h(!0),v([...e,...a.actions]),y(x)}const L=d&&l&&l.refocusContent?e=>{if("Tab"!==e.key)return;(e.shiftKey&&k(!1)===e.target||!e.shiftKey&&k(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,O=E.length>0,M=g.length>0,I=O&&o.show||M&&o.show,T=Ot.createElement(sR,{ref:S,onKeyDown:L,container:!0,gap:0,wrap:"nowrap"},O&&Ot.createElement(LT,{actions:E,first:!0,last:!M&&!o.show}),M&&Ot.createElement(LT,{ref:x,actions:[R],first:!O,last:!o.show,addAnchor:!0}),I&&Ot.createElement(sR,{item:!0,className:kT.itemSpacing,style:C},Ot.createElement(LE,{orientation:"vertical"})),o.show&&Ot.createElement(LT,{actions:c,first:!O&&!M,last:!0}),p&&Ot.createElement(wT,{show:p,actions:g,alignTo:b,popoverProps:a.popoverProps,popoverPaperStyle:a.popoverPaperStyle,onCloseOrActionClick:()=>{f(!1)}}));return i.show?Ot.createElement(ET,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:i.show,anchorEl:i.anchorEl,anchorOrigin:MT,transformOrigin:IT,hideBackdrop:!0,style:OT,PaperProps:{className:RT,style:{pointerEvents:"auto",padding:w.spacing(1,1)}}},T):t&&T}var PT=e=>dI((e=>o(o({},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 zT="/qListObjectDef";function NT(e){let{model:t,keyboard:n,dense:r=!1}=e;const{translator:o}=Ge.exports.useContext(Rw),[a,i]=Ge.exports.useState(""),l=Yx();return Ot.createElement(wO,{startAdornment:Ot.createElement(AR,{position:"start"},Ot.createElement(PT,{size:r?"small":"normal"})),className:"search",sx:[{border:"none",borderRadius:0,"& fieldset":{border:"1px solid ".concat(l.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"}},r&&{fontSize:12,paddingLeft:l.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}}],size:"small",fullWidth:!0,placeholder:o.get("Listbox.Search"),value:a,onChange:e=>{i(e.target.value),t.searchListObjectFor(zT,e.target.value)},onKeyDown:e=>{switch(e.key){case"Enter":t.acceptListObjectSearch(zT,!0),i("");break;case"Escape":t.abortListObjectSearch(zT)}},inputProps:{tabIndex:!n||n.enabled&&!n.active?-1:0}})}function _T(e){return Object.keys(h.prototype).forEach((t=>{e[t]=h.prototype[t]})),h.init(e),e}function AT(e,t){const[n]=oC(e),[r]=Hw(t),o=t?t.id:null,[a]=Qw(),[i]=eC(),l=a.get(e.id);let s=i.get(o);return Ge.exports.useEffect((()=>{n&&t&&!s&&(s=function(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 _T(l),l}({appSelections:n,appModal:l,model:t}),i.set(o,s),i.dispatch(!0))}),[n,t]),Ge.exports.useEffect((()=>{s&&s.setLayout(r)}),[s,r]),[s]}function DT(e){let{alignTo:t,show:n,close:r,app:o,fieldName:a,stateName:i="$"}=e;const l=n&&Boolean(t.current),s=Yx(),[c]=Vw({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),u=Ge.exports.useCallback((()=>{c.lock("/qListObjectDef")}),[c]),d=Ge.exports.useCallback((()=>{c.unlock("/qListObjectDef")}),[c]),{translator:p}=Ge.exports.useContext(Rw),f=Ge.exports.useRef(),[m]=AT(o,c),[h]=Hw(c);if(Ge.exports.useEffect((()=>{m&&l&&(m.isModal(c)||m.goModal("/qListObjectDef"))}),[m,l]),!c||!h||!p)return null;const g=!0===h.qListObject.qDimensionInfo.qLocked,v=(e,t)=>{const n="escapeKeyDown"!==t;m.noModal(n),r()},b=dT({layout:h,model:c,translator:p}),y=h.qListObject.qDimensionInfo.qStateCounts,x=y.qSelected+y.qSelectedExcluded+y.qLocked+y.qLockedExcluded>0;return Ot.createElement(FL,{open:l,onClose:v,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Ot.createElement(sR,{container:!0,direction:"column",gap:0},Ot.createElement(sR,{item:!0,container:!0,style:{padding:s.spacing(1)}},Ot.createElement(sR,{item:!0},g?Ot.createElement(LC,{onClick:d,disabled:!g,size:"large"},Ot.createElement(fI,{title:p.get("Listbox.Unlock")})):Ot.createElement(LC,{onClick:u,disabled:!x,size:"large"},Ot.createElement(mI,{title:p.get("Listbox.Lock")}))),Ot.createElement(sR,{item:!0,xs:!0}),Ot.createElement(sR,{item:!0},Ot.createElement(TT,{more:{enabled:!g,actions:b,alignTo:f,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:m,onConfirm:v,onCancel:()=>v(0,"escapeKeyDown")}}))),Ot.createElement(sR,{item:!0,xs:!0},Ot.createElement("div",{ref:f}),Ot.createElement(NT,{model:c}),Ot.createElement(iT,{model:c,selections:m,direction:"ltr"}))))}function $T(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}=e;const{translator:l}=Ge.exports.useContext(Rw),s=a||Ge.exports.useRef(),c=Yx(),[u,d]=Ge.exports.useState(!1),p=e=>{e.currentTarget.contains(e.target)&&d(!u)},f=()=>{d(!1),i()},m=t.selections[r];void 0===m.qTotal&&(m.qTotal=0);const h=m.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},g=(h.qSelected+h.qLocked)/m.qTotal,v=h.qAlternative/m.qTotal,b=(h.qExcluded+h.qLockedExcluded+h.qSelectedExcluded)/m.qTotal,y=h.qSelected+h.qSelectedExcluded+h.qLocked+h.qLockedExcluded,x=0===y&&0===m.qTotal;let S="";m.qTotal===y&&m.qTotal>1?S=l.get("CurrentSelections.All"):y>1&&m.qTotal?S=l.get("CurrentSelections.Of",[y,m.qTotal]):m.qSelectedFieldSelectionInfo&&(S=m.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:b}];w.forEach(((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0}));let C=null,k=null,E=null,R=null;return a||(C=Ot.createElement(sR,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:m.qLocked?"0.3":""}},Ot.createElement(zC,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},m.qField),Ot.createElement(zC,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},S)),m.qLocked?k=Ot.createElement(sR,{item:!0},Ot.createElement(LC,{size:"large"},Ot.createElement(fI,null))):m.qOneAndOnlyOne||(k=Ot.createElement(sR,{item:!0},Ot.createElement(LC,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(m.qField,t.states[r])},size:"large"},Ot.createElement(pI,null)))),E=Ot.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===x&&w.map((e=>Ot.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=Ot.createElement(sR,{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},C,k,E,u&&Ot.createElement(DT,{alignTo:s,show:u,close:f,app:n.model,fieldName:m.qField,stateName:t.states[r]}))),a?Ot.createElement(DT,{alignTo:s,show:!0,close:f,app:n.model,fieldName:m.qField,stateName:t.states[r]}):R}var qT=e=>dI((e=>o(o({},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 jT="MultiState",FT={item:"".concat(jT,"-item"),badge:"".concat(jT,"-badge")},BT=tS(DT)((e=>{let{theme:t}=e;return{["& .".concat(FT.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(FT.badge)]:{padding:t.spacing(0,1)}}}));function WT(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const[a,i]=Ge.exports.useState(!!r),[l,s]=Ge.exports.useState(-1),[c,u]=Ge.exports.useState(r?r.current:null),d=r||Ge.exports.useRef(),{translator:p}=Ge.exports.useContext(Rw),f=p.get("Selection.ClearAllStates"),m=()=>{s(-1),o()};let h=null;r||(h=Ot.createElement(Ot.Fragment,null,Ot.createElement(sR,{item:!0,xs:!0,zeroMinWidth:!0},Ot.createElement(Pk,{className:FT.badge,color:"secondary",badgeContent:t.states.length},Ot.createElement(zC,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Ot.createElement(sR,{item:!0},Ot.createElement("div",{style:{width:"12px"}})),Ot.createElement(sR,{item:!0},Ot.createElement(LC,{size:"large"},Ot.createElement(qT,null)))));const g=Ot.createElement(lL,{dense:!0},Ot.createElement(yL,{title:f,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},Ot.createElement(fw,{variant:"contained",fullWidth:!0},f)),t.states.map(((e,r)=>Ot.createElement(yL,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,r)},Ot.createElement(Nk,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},Ot.createElement($T,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),v=Ot.createElement(FL,{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),b=r?v:Ot.createElement(sR,{container:!0,gap:0,className:FT.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},h,a&&v,l>-1&&Ot.createElement(BT,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?Ot.createElement(BT,{alignTo:d,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const HT="More",UT={item:"".concat(HT,"-item"),badge:"".concat(HT,"-badge")},VT=tS(sR)((e=>{let{theme:t}=e;return{["&.".concat(UT.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(UT.badge)]:{padding:t.spacing(0,1)}}}));function GT(e){let{items:t=[],api:n}=e;const r=Yx(),[o,a]=Ge.exports.useState(!1),[i,l]=Ge.exports.useState(-1),[s,c]=Ge.exports.useState(null),u=Ge.exports.useRef(),d=()=>{l(-1)};let p=null;return i>-1&&(p=t[i].states.length>1?Ot.createElement(WT,{field:t[i],api:n,moreAlignTo:u,onClose:d}):Ot.createElement($T,{field:t[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),Ot.createElement(VT,{container:!0,gap:0,className:UT.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},Ot.createElement(sR,{item:!0},Ot.createElement(Nk,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},Ot.createElement(zC,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Ot.createElement(sR,{item:!0},Ot.createElement(LC,{size:"large"},Ot.createElement(qT,null))),o&&Ot.createElement(FL,{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"}}},Ot.createElement(lL,{dense:!0},t.map(((e,t)=>Ot.createElement(yL,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,t)},Ot.createElement(Nk,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?Ot.createElement(WT,{field:e,api:n}):Ot.createElement($T,{field:e,api:n}))))))),p)}function KT(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 XT(e){let{api:t,app:n}=e;const r=Yx(),[o]=Kw(n),[a]=Hw(o),[i,l]=Ge.exports.useState({items:[],more:[]}),[s]=nC(),[c,u]=cI(),[d,p]=Ge.exports.useState(0);return Ge.exports.useEffect((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-72,n=Math.floor(t/120);p(n)}),[u]),Ge.exports.useEffect((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&KT(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>KT(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]),Ot.createElement(sR,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((e=>Ot.createElement(sR,{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?Ot.createElement(WT,{field:e,api:t}):Ot.createElement($T,{field:e,api:t})))),i.more.length>0&&Ot.createElement(sR,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Ot.createElement(GT,{items:i.more,api:t})))}var ZT=e=>dI((e=>o(o({},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 YT=e=>dI((e=>o(o({},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 QT(e){let{api:t,app:n}=e;const{translator:r}=Ge.exports.useContext(Rw),[o]=Xw(n);return Ot.createElement(sR,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Ot.createElement(sR,{item:!0},Ot.createElement(LC,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back(),size:"large"},Ot.createElement(ZT,null))),Ot.createElement(sR,{item:!0},Ot.createElement(LC,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward(),size:"large"},Ot.createElement(YT,null))),Ot.createElement(sR,{item:!0},Ot.createElement(LC,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear(),size:"large"},Ot.createElement(bT,null))))}function JT(e){let{app:t}=e;const n=Yx(),[r]=oC(t);return r?Ot.createElement(sR,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Ot.createElement(sR,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Ot.createElement(QT,{api:r,app:t})),Ot.createElement(sR,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Ot.createElement(XT,{api:r,app:t}))):null}function eP(e){let{element:t,app:n}=e;return _p.createPortal(Ot.createElement(JT,{app:n}),t)}var tP=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},nP=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}}(),rP=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},oP=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},aP=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")},iP=void 0;iP="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var lP=null,sP=null,cP=iP.clearTimeout,uP=iP.setTimeout,dP=iP.cancelAnimationFrame||iP.mozCancelAnimationFrame||iP.webkitCancelAnimationFrame,pP=iP.requestAnimationFrame||iP.mozRequestAnimationFrame||iP.webkitRequestAnimationFrame;function fP(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__&&lP(this.__resizeRAF__),this.__resizeRAF__=sP((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 m=0;m<d.length;m++)if(void 0!==f.style[d[m]+"AnimationName"]){u="-"+d[m].toLowerCase()+"-",r=p[m],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=iP.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==dP||null==pP?(lP=cP,sP=function(e){return uP(e,20)}):(lP=function(e){var t=aP(e,2),n=t[0],r=t[1];dP(n),cP(r)},sP=function(e){var t=pP((function(){cP(n),e()})),n=uP((function(){dP(t),e()}),20);return[t,n]});var mP=function(e){function t(){var e,n,r;tP(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=oP(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},oP(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),nP(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=fP(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),Ge.exports.createElement("div",{className:n,ref:this._setRef,style:rP({},c,a)},!d&&t(u))}}]),t}(Ge.exports.PureComponent);mP.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const hP={listBoxHeader:"".concat("ListBoxInline","-listBoxHeader")},gP=tS(sR)((()=>({["& .".concat(hP.listBoxHeader)]:{alignSelf:"center",display:"inline-flex"}})));function vP(e){let{app:t,fieldIdentifier:n,stateName:r="$",options:a={},fieldDef:i}=e;const{title:l,direction:s,listLayout:c,search:u=!0,focusSearch:d=!1,toolbar:p=!0,rangeSelect:f=!0,checkboxes:m=!1,properties:h={},sessionModel:g,selectionsApi:v,update:b,fetchStart:y,dense:x=!1,selectDisabled:S=(()=>!1),postProcessPages:w,calculatePagesHeight:C,showGray:k=!0,sortByState:E=1,scrollState:R,setCount:L}=a;let{frequencyMode:O,histogram:M=!1}=a;switch(i&&i.failedToFetchFieldDef&&(M=!1,O="N"),!0){case["none","N","NX_FREQUENCY_NONE"].includes(O):O="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(O):O="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(O):O="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(O):O="R";break;default:O="N"}const I=o({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:r,qShowAlternatives:!0,qFrequencyMode:M&&"N"===O?"V":O,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:E,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:l},h);let T;if(n.qLibraryId?(I.qListObjectDef.qLibraryId=n.qLibraryId,T=n.qLibraryId):(I.qListObjectDef.qDef.qFieldDefs=[n],T=n),"N"!==O||M){const e=n.qLibraryId?i:T;I.frequencyMax={qValueExpression:"Max(AGGR(Count([".concat(e,"]), [").concat(e,"]))")}}let[P]=Vw(I,g?null:t,T,r);g&&(P=g);let z=AT(v?{}:t,P)[0];v&&(z=v);const N=Yx(),_=Ge.exports.useCallback((()=>{P.lock("/qListObjectDef")}),[P]),A=Ge.exports.useCallback((()=>{P.unlock("/qListObjectDef")}),[P]),{translator:D,keyboardNavigation:$}=Ge.exports.useContext(Rw),q=Ge.exports.useRef(),[j,F]=(()=>{const[e,t]=Ge.exports.useState({}),n=Ge.exports.useCallback((e=>{t({current:e})}),[t]);return[e,n]})(),[B]=Hw(P),[W,H]=Ge.exports.useState(!1),[U,V]=Ge.exports.useState(!1),[G,K]=Ge.exports.useState(!1),X=XI({setKeyboardActive:K}),Z={enabled:$,active:G};Ge.exports.useEffect((()=>{const e=()=>H(!0),t=()=>H(!1);return z&&(z.isModal(P)||(z.on("deactivated",t),z.on("activated",e))),()=>{z&&(z.removeListener("deactivated",e),z.removeListener("activated",t))}}),[z]),Ge.exports.useEffect((()=>{z&&H(z.isActive())}),[z]);const Y=Ge.exports.useRef(null);if(function(e,t){const[n,r]=Ge.exports.useState(!1),o=Ge.exports.useRef(n),a=e=>{o.current=e,r(e)};Ge.exports.useEffect((()=>{const n=n=>{const r=e.current&&e.current.contains(n.target),i=o.current;r||i?r&&a(!1):(t&&t.confirm.call(t),a(!0))};return document.addEventListener("mousedown",n),document.addEventListener("keydown",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("keydown",n)}}),[e,t])}(Y,z),Ge.exports.useEffect((()=>{if(j&&j.current&&(u&&d||"toggle"===u&&U)){const e=j.current.querySelector("input");e&&e.focus()}}),[j&&j.current,U,u,d]),!P||!B||!D)return null;const Q=!0===B.qListObject.qDimensionInfo.qLocked,J=p?dT({layout:B,model:P,translator:D}):[],ee=B.qListObject.qDimensionInfo.qStateCounts,te=ee.qSelected+ee.qSelectedExcluded+ee.qLocked+ee.qLockedExcluded>0,ne=(!0===u||"toggle"===u&&U)&&!S(),re=49+(ne?40:0)+49,oe=()=>{V(!U)};return Ot.createElement(gP,{container:!0,tabIndex:Z.enabled&&!Z.active?0:-1,direction:"column",gap:0,style:{height:"100%",minHeight:"".concat(re,"px")},onKeyDown:X,ref:Y},p&&Ot.createElement(sR,{item:!0,container:!0,style:{padding:N.spacing(1)}},Ot.createElement(sR,{item:!0},Q?Ot.createElement(LC,{tabIndex:-1,onClick:A,disabled:!Q,size:"large"},Ot.createElement(fI,{title:D.get("Listbox.Unlock")})):"toggle"!==u||te?Ot.createElement(LC,{onClick:_,tabIndex:-1,disabled:!te,size:"large"},Ot.createElement(mI,null)):Ot.createElement(LC,{onClick:oe,tabIndex:-1,title:D.get("Listbox.Search"),size:"large"},Ot.createElement(PT,null))),Ot.createElement(sR,{item:!0,className:hP.listBoxHeader},Ot.createElement(zC,{variant:"h6",noWrap:!0},B.title||B.qListObject.qDimensionInfo.qFallbackTitle)),Ot.createElement(sR,{item:!0,xs:!0}),Ot.createElement(sR,{item:!0},Ot.createElement(TT,{more:{enabled:!Q,actions:J,alignTo:q,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:W,api:z,onConfirm:()=>{},onCancel:()=>{}}}))),ne&&Ot.createElement(sR,{item:!0,ref:F},Ot.createElement(NT,{model:P,dense:x,keyboard:Z})),Ot.createElement(sR,{item:!0,xs:!0},Ot.createElement("div",{ref:q}),Ot.createElement(mP,null,(e=>{let{height:t,width:n}=e;return Ot.createElement(iT,{model:P,selections:z,direction:s,listLayout:c,frequencyMode:O,histogram:M,rangeSelect:f,checkboxes:m,height:t,width:n,update:b,fetchStart:y,postProcessPages:w,calculatePagesHeight:C,dense:x,selectDisabled:S,keyboard:Z,showGray:k,scrollState:R,sortByState:E,setCount:L})}))))}function bP(e){let{app:t,fieldIdentifier:n,stateName:r="$",options:o={}}=e;const[a,i]=Ge.exports.useState(""),[l,s]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{!async function(){s(!0);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))}}()}),[]),l?null:Ot.createElement(vP,{app:t,fieldIdentifier:n,stateName:r,options:o,fieldDef:a})}function yP(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:a}=e;const i=a.histogram||"N"!==a.frequencyMode,l=n.qLibraryId&&i?bP:vP;return _p.createPortal(Ot.createElement(l,{app:t,fieldIdentifier:n,stateName:r,element:o,options:a}),o)}const xP=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function SP(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function wP(){return xP.map(SP).join("")}function CP(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function kP(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 EP(e){let{sn:t,properties:n,fields:r}=e;if(!r.length)return;const a=t.qae.data.targets[0];if(!a)return;const{propertyPath:i}=a,l=i.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 a=r,i={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const r="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):o(o({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||wP(),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<i.maxDimensions()?(t.qDimensions.push(r),CP(t.qInterColumnSortOrder,t.qDimensions.length-1),n.dimensions.added(r,a)):(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))},removeDimension(e){const r=t.qDimensions.splice(e,1)[0];kP(t.qInterColumnSortOrder,e),n.dimensions.removed(r,a,e)},addMeasure(e){const r="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):o(o({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||wP(),r.qSortBy=r.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},r.qAttributeDimensions=r.qAttributeDimensions||[],r.qAttributeExpressions=r.qAttributeExpressions||[],t.qMeasures.length<i.maxMeasures()?(t.qMeasures.push(r),CP(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),n.measures.added(r,a)):(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];kP(t.qInterColumnSortOrder,t.qDimensions.length+e),n.measures.removed(r,a,e)},maxDimensions:()=>n.dimensions.max(t.qMeasures.length),maxMeasures:()=>n.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<i.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<i.maxMeasures()};return i}({dc:s,def:a,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 RP=(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},LP=(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]},OP=e=>0===Object.keys(e).length&&e.constructor===Object;var MP={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 IP=2**53-1;function TP(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function PP(e,t){const n=k(!0,{},t,e);return RP(n,"qOtherTotalSpec.qOtherCounted")||LP(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),RP(n,"qOtherTotalSpec.qOtherLimit")||LP(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function zP(e,t){return k(!0,{},t,e)}function NP(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var _P={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===RP(e,t)&&LP(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:TP,importCommonProperties:function(e,t,n){const r="masterobject"===RP(t,"properties.qInfo.qType")?"masterobject":RP(n,"qInfo.qType");LP(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:PP,createDefaultMeasure:zP,resolveValue:NP,getHypercubePath:function(e){const t=RP(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?(MP.indexAdded(n.qInterColumnSortOrder,a),++a):(--a,MP.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=k(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?LP(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||TP(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=k(!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=NP(a.max,r.dimensions.length,IP),l=NP(a.min,r.dimensions.length,0);return{maxDimensions:NP(o.max,i,IP),minDimensions:NP(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(PP(i.dimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(PP(i.dimensions[l],a));else if(i.dimensions.length)for(l=0;l<i.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(PP(i.dimensions[l],a));if(i.excludedDimensions.length)for(l=0;l<i.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(PP(i.excludedDimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(PP(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(zP(i.measures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(zP(i.measures[l],a));else if(i.measures.length)for(l=0;l<i.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push(zP(i.measures[l],a));if(i.excludedMeasures.length)for(l=0;l<i.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push(zP(i.excludedMeasures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(zP(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=RP(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=RP(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}};var AP={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=RP(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();MP.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&&(_P.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!OP(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=_P.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:a}),s=RP(n,a||"").qHyperCubeDef,c=RP(l,a||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f}=_P.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:m=_P.getDefaultDimension(),defaultMeasure:h=_P.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,_P.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f})&&_P.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:c}),_P.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:m}),_P.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:c,defaultMeasure:h}),_P.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),_P.copyPropertyIfExist("qMaxStackedCells",s,c),_P.copyPropertyIfExist("qNoOfLeftDims",s,c),_P.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),_P.copyPropertyOrSetDefault("qMode",s,c,"S"),_P.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),_P.copyPropertyOrSetDefault("qSortbyYValue",s,c),_P.copyPropertyOrSetDefault("qIndentMode",s,c),_P.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),_P.importCommonProperties(l,t,n),_P.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),_P.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),i.qProperty=l,i}(e)};const DP=e=>RP(e,"data.targets.0.propertyPath"),$P=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return AP.exportProperties})(DP(e))},qP=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return AP.importProperties})(DP(e))},jP=async e=>{let{halo:t,model:n,cellRef:r,newType:a}=e;const i=await n.getFullPropertyTree(),l=r.current.getQae(),s=$P(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:a}),u=c.qae;return qP(u)({exportFormat:s({propertyTree:i,hypercubePath:_P.getHypercubePath(l)}),initialProperties:o({qInfo:{qType:a},visualization:a},RP(u,"properties.initial",{})),dataDefinition:RP(u,"data.targets.0.",{}),hypercubePath:_P.getHypercubePath(u)})},FP={hypercube:AP};var BP=e=>dI((e=>o(o({},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 WP(e){let{d:t}=e;const n=Yx();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=Ot.createElement(zC,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Ot.createElement(ER,null,t.missing||t.error?Ot.createElement(BP,{style:a}):Ot.createElement($I,{style:a})));return Ot.createElement(sR,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Ot.createElement(sR,{item:!0},i),Ot.createElement(sR,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Ot.createElement(zC,{noWrap:!0,component:"p"},Ot.createElement(zC,{component:"span",variant:"subtitle2",color:r},t.description),Ot.createElement(zC,{component:"span"}," "),Ot.createElement(zC,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function HP(e){let{data:t}=e;const n=Yx();return Ot.createElement(sR,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>Ot.createElement(WP,{d:e,key:t})));return r.length>0&&Ot.createElement(sR,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Ot.createElement(zC,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))}function UP(e){let{title:t="Error",message:n="",data:r=[]}=e;return Ot.createElement(sR,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Ot.createElement(sR,{item:!0},Ot.createElement(BP,{style:{fontSize:"38px"}})),Ot.createElement(sR,{item:!0},Ot.createElement(zC,{variant:"h6",align:"center","data-tid":"error-title"},t)),Ot.createElement(sR,{item:!0},Ot.createElement(zC,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Ot.createElement(HP,{data:r}))}const VP=["size"],GP="Progress",KP={root:"".concat(GP,"-root"),front:"".concat(GP,"-front"),back:"".concat(GP,"-back")},XP=tS("div")((e=>{let{theme:t}=e;return{["&.".concat(KP.root)]:{position:"relative",display:"inline-block"},["& .".concat(KP.front)]:{color:t.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},["& .".concat(KP.back)]:{color:t.palette.divider}}})),ZP={small:16,medium:32,large:64,xlarge:128};function YP(e){let{size:t="medium"}=e,n=l(e,VP);const r=ZP[t];return Ot.createElement(XP,{className:KP.root},Ot.createElement(hE,i({variant:"determinate",value:100,className:KP.back,size:r,thickness:3},n)),Ot.createElement(hE,i({variant:"indeterminate",disableShrink:!0,className:KP.front,size:r,thickness:3},n)))}const QP=["cancel","translator"],JP=["retry","translator"],ez={stripes:"".concat("LongRunningQuery","-stripes")},tz=tS(sR)((()=>({["& .".concat(ez.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 nz(e){let{cancel:t,translator:n}=e,r=l(e,QP);return Ot.createElement(Ot.Fragment,null,Ot.createElement(tz,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},Ot.createElement(sR,{item:!0},Ot.createElement(YP,null)),Ot.createElement(sR,{item:!0},Ot.createElement(zC,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),Ot.createElement(sR,i({item:!0},r),Ot.createElement(fw,{variant:"contained",onClick:t},n.get("Cancel"))))}function rz(e){let{retry:t,translator:n}=e,r=l(e,JP);return Ot.createElement(Ot.Fragment,null,Ot.createElement(sR,{item:!0},Ot.createElement(BP,{style:{fontSize:"38px"}})),Ot.createElement(sR,{item:!0},Ot.createElement(zC,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),Ot.createElement(sR,{item:!0},Ot.createElement(fw,i({variant:"contained",onClick:t},r),n.get("Retry"))))}function oz(e){let{canCancel:t,canRetry:n,api:r}=e;const{translator:o}=Ge.exports.useContext(Rw);return Ot.createElement(sR,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:ez.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t&&Ot.createElement(nz,{cancel:r.cancel,translator:o,className:ez.cancel}),n&&Ot.createElement(rz,{retry:r.retry,translator:o,className:ez.retry}))}function az(){return Ot.createElement(sR,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},Ot.createElement(YP,{size:"large"}))}const iz="Header",lz={containerStyle:"".concat(iz,"-containerStyle"),containerTitleStyle:"".concat(iz,"-containerTitleStyle")},sz=tS(sR)((e=>{let{theme:t}=e;return{["& .".concat(lz.containerStyle)]:{flexGrow:0},["& .".concat(lz.containerTitleStyle)]:{paddingBottom:t.spacing(1)}}})),cz="njs-cell-title",uz="njs-cell-sub-title";function dz(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]=Ge.exports.useState([]),[d,p]=cI(),[f,m]=Ge.exports.useState(!1);Ge.exports.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{u([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),Ge.exports.useEffect((()=>{if(!p)return;const{width:e}=p;m(e<221)}),[p]);const h=i||l,g=[lz.containerStyle,...h?[lz.containerTitleStyle]:[]],v=(o||s)&&(f||!h),b=h&&!v&&!f,y=Ot.createElement(TT,{show:b,selections:{show:s,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:c,popover:{show:v,anchorEl:r},focusHandler:a});return Ot.createElement(sz,{ref:d,item:!0,container:!0,wrap:"nowrap",className:g.join(" ")},Ot.createElement(sR,{item:!0,zeroMinWidth:!0,xs:!0},Ot.createElement(sR,{container:!0,wrap:"nowrap",direction:"column"},i&&Ot.createElement(zC,{variant:"h6",noWrap:!0,className:cz},t.title),l&&Ot.createElement(zC,{variant:"body2",noWrap:!0,className:uz},t.subtitle))),Ot.createElement(sR,{item:!0},y))}const pz={itemStyle:"".concat("Footer","-itemStyle")},fz=tS(sR)((e=>{let{theme:t}=e;return{["& .".concat(pz.itemStyle)]:{minWidth:0,paddingTop:t.spacing(1)}}})),mz="njs-cell-footer";function hz(e){let{layout:t}=e;return t&&t.showTitles&&t.footnote?Ot.createElement(fz,{container:!0},Ot.createElement(sR,{item:!0,className:pz.itemStyle},Ot.createElement(zC,{noWrap:!0,variant:"body2",className:mz},t.footnote))):null}class gz{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 vz="njs-viz";function bz(e){let{sn:t,snOptions:n,snPlugins:r,layout:a,appLayout:i,halo:l}=e;const{component:s}=t,{theme:c,language:u,constraints:d,keyboardNavigation:p}=Ge.exports.useContext(Rw),[f]=Ge.exports.useState((()=>new gz)),[m,h]=Ge.exports.useState(!1),[g,v]=Ge.exports.useState(0),[b,y,x]=cI(),[S,w]=Ge.exports.useState(null),C=Ge.exports.useCallback((e=>{e&&w(e)}),[]);return Ge.exports.useEffect((()=>{if(S)return s.created({options:n}),s.mounted(S),h(!0),()=>{f.stop(),s.willUnmount()}}),[S,s]),Ge.exports.useEffect((()=>{m&&S&&y&&(!s.isHooked&&a&&a.qSelectionInfo&&a.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:a,options:n,plugins:r,embed:l.public.nebbie,context:o({constraints:d,theme:l.public.theme,appLayout:i,keyboardNavigation:p},s.isHooked?{}:{logicalSize:t.logicalSize({layout:a}),localeInfo:(i||{}).qLocaleInfo,permissions:e})})).then((e=>{!1!==e&&(0===g&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),v(g+1))}))})))}),[y,n,r,S,x,a,i,c,u,d,m,p]),Ot.createElement("div",{ref:b,"data-render-count":g,style:{position:"relative",height:"100%"},className:vz},Ot.createElement("div",{ref:C,style:{position:"absolute",width:"100%",height:"100%"}}))}const yz="njs-cell",xz=(e,t)=>{switch(t.type){case"LOADING":return o(o({},e),{},{loading:!0});case"LOADED":return o(o({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return o(o({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return o(o({},e),{},{longRunningQuery:!0});case"ERROR":return o(o({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function Sz(e){let{delay:t=750}=e;const[n,r]=Ge.exports.useState(!1);return Ge.exports.useEffect((()=>{const e=setTimeout((()=>r(!0)),t);return()=>clearTimeout(e)}),[]),n?Ot.createElement(az,null):null}const wz=e=>!e.qError||7005===e.qError.qErrorCode,Cz=(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}})),kz=e=>e&&(Array.isArray(e)?e:[e])||[],Ez=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:Cz(o,kz(i.qDimensionInfo),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:Cz(a,kz(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},Rz=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),m=kz(f.qDimensionInfo).filter(wz),h=kz(f.qMeasureInfo).filter(wz);if(o+=d,a+=p,(m.length<d||h.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=Ez(e,t,n,i);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=u.filter((e=>!(e.missing||e.error))).length,m=e.get("Visualization.Incomplete.Dimensions",[f,i]),h=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[h,l]),v=[{title:m,descriptions:[...u]},{title:g,descriptions:[...d]}],b=s?c:v;return[s||a,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:b}]},Lz=Ge.exports.forwardRef(((e,t)=>{let{halo:n,model:r,initialSnOptions:a,initialSnPlugins:i,initialError:l,onMount:s,currentId:c}=e;const{app:u,types:d}=n,{nebbie:p}=n.public,{disableCellPadding:f=!1}=n.context||{},{translator:m,language:h,keyboardNavigation:g}=Ge.exports.useContext(Rw),v=Yx(),[b,y,x]=cI(),[S,w]=Ge.exports.useReducer(xz,{loading:!1,loaded:!1,longRunningQuery:!1,error:(C=l)?{title:C.message}:null,sn:null,visualization:null});var C;const[k,{validating:E,canCancel:R,canRetry:L},O]=Hw(r),[M]=Uw(u),[I,T,P]=cI(),[z,N]=Ge.exports.useState(a),[_,A]=Ge.exports.useState(i),[D]=AT(u,r),[$,q]=Ge.exports.useState(!1),j=Ge.exports.useRef({enter:null,leave:null}),F=Ge.exports.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});Ge.exports.useEffect((()=>{_T(F.current)}),[]),F.current.blurCallback=e=>{n.root.toggleFocusOfCells(),e&&P&&P.focus()},F.current.refocusContent=()=>{S.sn.component&&"function"==typeof S.sn.component.focus&&S.sn.component.focus()};Ge.exports.useEffect((()=>{if(l||!M||!k)return;if(S.visualization===k.visualization&&S.sn)return void(async e=>{const[t,n]=await Rz(m,k,e.generator.qae.data,r);w(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:S.sn,layout:k,model:r})})(S.sn);const e=d.getSupportedVersion(k.visualization,k.version);if(e)return(async(e,t)=>{w({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:w,types:d,visualization:e,version:t,model:r,app:u,selections:D,nebbie:p,focusHandler:F.current});n&&(w({type:"LOADED",sn:n,visualization:e}),s())})(k.visualization,e),()=>{};w({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,S.sn,r,k,M,h]),Ge.exports.useEffect((()=>{if(!E)return;const e=setTimeout((()=>w({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[E]),Ge.exports.useImperativeHandle(t,(()=>({getQae:()=>S.sn.generator.qae,toggleFocus(e){"function"==typeof S.sn.component.focus&&(e?S.sn.component.focus():S.sn.component.blur())},setSnOptions:N,setSnPlugins:A,async takeSnapshot(){const{width:e,height:t}=y;let n=JSON.parse(JSON.stringify(k));return"function"==typeof S.sn.component.setSnapshotData&&(n=await S.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:v.name,appLayout:M,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)}})),[S.sn,T,y,k,v.name,M]);let B=null;return S.loading&&!S.longRunningQuery?B=Ot.createElement(Sz,null):S.error?B=Ot.createElement(UP,S.error):S.loaded&&(B=Ot.createElement(bz,{key:k.visualization,sn:S.sn,halo:n,snOptions:z,snPlugins:_,layout:k,appLayout:M})),Ot.createElement(iS,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:yz,ref:b,onMouseEnter:()=>{j.current.leave&&clearTimeout(j.current.leave),j.enter||(j.current.enter=setTimeout((()=>{q(!0),j.current.enter=null}),250))},onMouseLeave:()=>{j.current.enter&&clearTimeout(j.current.enter),j.current.leave||(j.current.leave=setTimeout((()=>{q(!1),j.current.leave=null}),750))}},Ot.createElement(sR,{container:!0,direction:"column",gap:0,style:o(o({position:"relative",width:"100%",height:"100%"},f?{}:{padding:v.spacing(1)}),S.longRunningQuery?{opacity:"0.3"}:{})},x&&k&&S.sn&&Ot.createElement(dz,{layout:k,sn:S.sn,anchorEl:x,hovering:$,focusHandler:F.current}," "),Ot.createElement(sR,{tabIndex:g?0:-1,onKeyDown:g?e=>{["Enter"," ","Spacebar"].includes(e.key)&&n.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:I},B),Ot.createElement(hz,{layout:k})),S.longRunningQuery&&Ot.createElement(oz,{canCancel:R,canRetry:L,api:O}))}));function Oz(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=Ot.createRef(),u=wP(),d=_p.createPortal(Ot.createElement(Lz,{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 Mz(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Iz(e,t){return Mz(e)&&Mz(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function Tz(){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)?Iz(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...Tz("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function Pz(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 zz=()=>{};function Nz(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=zz,i=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p=async e=>{l?(async()=>{await c,i.current.setSnOptions(o(o({},u),e))})():u=o(o({},u),e)},f=async e=>{Pz(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e},m={id:e.id,async destroy(){await r(),a(),a=zz},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await jP({halo:t,model:e,cellRef:i,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,[a,i]=Oz({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=Tz("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage:()=>i.current.exportImage(),takeSnapshot:()=>i.current.takeSnapshot(),getModel:()=>e}};return m}async function _z(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const a=Nz({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 Az(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&&EP({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);Fw.set(d.id,d);const p=(e=>{const t=qw({type:"SET",value:e});return()=>{t(),Fw.clear(e.id)}})(d);return _z(d,{options:l,plugins:s,element:c},t,n,(async()=>{await t.app.destroySessionObject(d.id),p()}))}async function Dz(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=_w.get(i);l||(l=t.app.getObject(n),_w.set(i,l));const s=await l;return Fw.set(i,s),_z(s,{options:r,plugins:o,element:a},t)}function $z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const qz=k.bind(null,!0),jz={},{isArray:Fz}=Array;function Bz(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Wz(e){return void 0===e}function Hz(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Uz(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]=Wz(e[r||t])?a:e[t],e=e[r||t]})),e}function Vz(e,t){let n=!0;if(Bz(e)&&Bz(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{Vz(e[r],t[r])||(n=!1)})),n);if(Fz(e)&&Fz(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Vz(e[n],t[n]))return!1;return!0}return e===t}jz.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?qz({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);Vz(a,i)||Hz(t,o)||(Wz(i)?r.push({op:"add",path:l,value:a}):Bz(a)&&Bz(i)?r=r.concat(jz.generate(i,a,l)):Fz(a)&&Fz(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]&&Wz(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(Vz(t,o))return r;if(!Wz(t[0])&&Wz(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(jz.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=>{Wz(t[o])&&!Hz(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},jz.apply=function(e,t){t.forEach((t=>{let n=Uz(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(Fz(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Fz(o)&&Fz(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Bz(o)&&Bz(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!Hz(i,e)&&delete i[e]})),qz(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=Uz(e,t.from);Fz(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(Fz(n)?n.splice(+r,1):delete n[r]);var i}))},jz.clone=function(e){return qz({},e)},jz.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},jz.updateObject=function(e,t){Object.keys(e).length?jz.apply(e,jz.generate(e,t)):qz(e,t)};const Gz=e=>t=>{const n=(r=o(o({},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(h.prototype).forEach((e=>{r[e]=h.prototype[e]})),h.init(r),r);var r;return n};let Kz,Xz;function Zz(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 Yz(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:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function Qz(e){eN(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 Jz(e){if(e.__hooks.obsolete)return Promise.resolve();Xz=-1,Kz=e,Kz.__hooks.initiated&&Kz.__hooks.list.length;try{Kz.fn.call(null)}catch(e){console.error(e)}Kz.__hooks.initiated=!0;const t=Kz.__hooks;return rN(Kz),Xz=void 0,Kz=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){eN(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame((()=>{!function(e){eN(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 eN(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 tN(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 nN(e){return e.__hooks.imperativeHandle}function rN(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function oN(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,rN(e))}function aN(e){if(void 0===Kz)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Kz.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function iN(e){aN(++Xz);return Kz.context[e]}function lN(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function sN(e){return{__hooked:!0,fn:e,initiate:Yz,run:Jz,teardown:Qz,runSnaps:tN,focus:mN,blur:hN,observeActions:oN,getImperativeHandle:nN,updateRectOnNextRun:lN}}function cN(e){const t=aN(++Xz);if(!t.value){t.component=Kz;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,Jz(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function uN(e,t){const n=aN(++Xz);Zz(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Kz.__hooks.pendingEffects.indexOf(n)&&Kz.__hooks.pendingEffects.push(n))}function dN(e,t){const n=aN(++Xz);Zz(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Kz.__hooks.pendingLayoutEffects.push(n))}function pN(e,t){const n=aN(++Xz);return Zz(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function fN(){return iN("element")}function mN(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 hN(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 gN={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},vN=Object.keys(gN);function bN(e,t){const n=o({},gN);var r;r=n,Object.keys(h.prototype).forEach((e=>{r[e]=h.prototype[e]})),h.init(r);const a={emit(){n.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==vN.indexOf(t)?n[t]=e.component[t].bind(a):a[t]=e.component[t]}));const i=function(e){let{sn:t,component:n}=e;const r={},o=[],a=Gz(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:a}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(a,{model:t.model,app:t.app,global:l,selections:t.selections,actions:i.actions}),Object.assign(n,{actions:i.actions,model:t.model,app:t.app,selections:t.selections}),[n,i]}function yN(e,t,n){"function"==typeof e.component&&(e.component=sN(e.component));const[r,a]=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 a=!1;const i={},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=!a||!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(o(o({},r[e]),s))),t!==i[e]&&(n=!0,i[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==i.themeName&&(n=!0,i.themeName=this.context.theme.name()),this.context.translator.language()!==i.language&&(n=!0,i.language=c.context.translator.language()),n?(a=!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)},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=>{i[e]=JSON.stringify(c.context[e])})),i.themeName=c.context.theme?c.context.theme.name():void 0,i.language=c.context.translator?c.context.translator.language():void 0,Object.assign(c,{selections:t.selections}),[c,null]}(e,t,n):bN(e,t),i=[];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=jz.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));jz.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=jz.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},i.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:a?a.selectionToolbarItems:[]},destroy(){i.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const xN=()=>{};function SN(e,t){return void 0===e?()=>t:()=>e}function wN(e){const t=e||{};return{min:"function"==typeof t.min?t.min:SN(t.min,0),max:"function"==typeof t.max?t.max:SN(t.max,1e3),added:t.added||t.add||xN,description:t.description||xN,moved:t.moved||t.move||xN,removed:t.removed||t.remove||xN,replaced:t.replaced||t.replace||xN,isDefined:()=>!!e}}function CN(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:wN(e.dimensions),measures:wN(e.measures)}}function kN(){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(CN)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function EN(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:kN(n.qae),component:n.component||{},create:e=>yN(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var RN={exports:{}};!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 m(e,t,n){return new d(e,n).compare(new d(t,n))}function h(e,t,n){return m(e,t,n)>0}function g(e,t,n){return m(e,t,n)<0}function v(e,t,n){return 0===m(e,t,n)}function b(e,t,n){return 0!==m(e,t,n)}function y(e,t,n){return m(e,t,n)>=0}function x(e,t,n){return m(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 b(e,n,r);case">":return h(e,n,r);case">=":return y(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===C?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=m,t.compareLoose=function(e,t){return m(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 m(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=h,t.lt=g,t.eq=v,t.neq=b,t.gte=y,t.lte=x,t.cmp=S,t.Comparator=w;var C={};function k(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof k)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new k(e.raw,t);if(e instanceof w)return new k(e.value,t);if(!(this instanceof k))return new k(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 E(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 R(e){return!e||"x"===e.toLowerCase()||"*"===e}function L(e,t,n,r,o,a,i,l,s,c,u,d,p){return((t=R(n)?"":R(r)?">="+n+".0.0":R(o)?">="+n+"."+r+".0":">="+t)+" "+(l=R(s)?"":R(c)?"<"+(+s+1)+".0.0":R(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!==C&&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 M(e,t,n){try{t=new k(t,n)}catch(e){return!1}return t.test(e)}function I(e,t,n,r){var o,a,i,l,s;switch(e=new d(e,r),t=new k(t,r),n){case">":o=h,a=x,i=g,l=">",s=">=";break;case"<":o=g,a=y,i=h,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(M(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===C&&(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=C},w.prototype.toString=function(){return this.value},w.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===C||e===C)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 k(e.value,t),M(this.value,n,t));if(""===e.operator)return""===e.value||(n=new k(this.value,t),M(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=k,k.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},k.prototype.toString=function(){return this.range},k.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,L),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),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(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),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(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=R(a),u=c||R(i),d=u||R(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)},k.prototype.intersects=function(e,t){if(!(e instanceof k))throw new TypeError("a Range is required");return this.set.some((function(n){return E(n,t)&&e.set.some((function(e){return E(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new k(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},k.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=M,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var a=new k(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 k(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 k(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&&!h(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 k(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return I(e,t,"<",n)},t.gtr=function(e,t,n){return I(e,t,">",n)},t.outside=I,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 k(e,n),t=new k(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)}}(RN,RN.exports);const LN={};async function ON(e,t,n,r){let{config:o}=n;const a="".concat(e,"__").concat(t);if(!LN[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);LN[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 LN[a]}function MN(e,t){const n={};let r=null;return{get:e=>n[e],register:(a,i)=>{if(n[a])throw new Error("Supernova '".concat(e,"@").concat(a,"' already registered."));n[a]=function(e,t){let n,r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:i}=a,l={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&i&&i.deps&&i.deps.properties)||RN.exports.satisfies(e,i.deps.properties),supernova:()=>ON(l.name,l.version,t,a.load).then((e=>(n=n||EN(e,t.public.galaxy),r=JSON.stringify(n.qae.properties.initial),n))),initialProperties(e){return this.supernova().then((()=>o(o({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(r)),e)))}};return l}({name:e,version:a},t,i),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 IN(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=MN(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(LN).forEach((t=>{t.split("__")[0]===e&&(LN[t]=void 0)}))}(e)}}}const TN=["__DO_NOT_USE__"],PN={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()))},zN=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(o({},e),t)},NN=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))},_N=(e,t)=>({context:zN(e.context,t.context),load:t.load||e.load,snapshot:o({},t.snapshot||e.snapshot),types:NN(e.types,t.types),themes:NN(e.themes,t.themes),flags:zN(e.flags,t.flags),anything:zN(e.anything,t.anything)}),AN=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,n=l(e,TN),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},a=o(o(o({},n),r),t);return a};var DN=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=p(t.context.language);function r(e,a){if(a)return r.createConfiguration(a)(e);let i=o(o({},t.context),{},{translator:n.translator});const[l]=iC({app:e,context:i}),s=Ue({themes:t.themes,root:l}),c={galaxy:{translator:n.translator,flags:$z(t.flags),deviceType:Ve(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:n.translator,nebbie:null},u={app:e,root:l,config:t,public:c,context:i,types:null},d=IN({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,m=null;const h={render:async e=>(await p,e.id?Dz(e,u):Az(e,u)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==i[n]&&(t||(t={}),t[n]=e[n])})),t&&(i=o(o(o({},i),t),{},{translator:n.translator}),u.context=i,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(i))},selections:async()=>(f||(f={mount(t){m||(m=eP({element:t,app:e}),l.add(m))},unmount(){m&&(l.remove(m),m=null)}}),f),field:async t=>{const n="string"==typeof t?t:t.qLibraryId;if(!n)throw new Error("Field identifier must be provided");const r={fieldName:n,mount(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!r)throw new Error("Element for ".concat(n," not provided"));if(this._instance)throw new Error("Field ".concat(n," already mounted"));this._instance=yP({element:r,app:e,fieldIdentifier:t,options:AN(o),stateName:o.stateName||"$"}),l.add(this._instance)},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return r},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return u.public.nebbie=h,u.types=d,h}return r.createConfiguration=n=>e(_N(t,n)),r.config=t,r}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1,disableCellPadding:!1},load:()=>{},types:[],themes:[],anything:{},snapshot:PN}),$N={exports:{}},qN={exports:{}};!function(e,t){e.exports=function(){function e(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}function t(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 n(e){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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}var a=Object.prototype.hasOwnProperty,i=Object.prototype.toString,l=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},u=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=a.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&a.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||a.call(e,t)},d=function(e,t){l&&"__proto__"===t.name?l(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},p=function(e,t){if("__proto__"===t){if(!a.call(e,t))return;if(s)return s(e,t).value}return e[t]},f=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,f=arguments.length,m=!1;for("boolean"==typeof l&&(m=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<f;++s)if(null!=(t=arguments[s]))for(n in t)r=p(l,n),l!==(o=p(t,n))&&(m&&o&&(u(o)||(a=c(o)))?(a?(a=!1,i=r&&c(r)?r:[]):i=r&&u(r)?r:{},d(l,{name:n,newValue:e(m,i,o)})):void 0!==o&&d(l,{name:n,newValue:o}));return l};const m=globalThis.crypto||{getRandomValues:()=>123456};function h(){return e=>{const t=f({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||"mock-".concat(([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^m.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))));const r=t._mock;let o=t;return r&&(delete t._mock,o=f({},t,r)),Promise.resolve(n({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(o),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId},t))}}const g=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},v=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=g(e,{defaultValue:t,args:a});return n?new Promise((e=>{setTimeout((()=>e(l)),r)})):l}},b=["id","session"],y=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function x(e){return!y.includes(e)}function S(e){const t=g(e.getLayout);return t.qInfo&&t.qInfo.qId}function w(e,t){return e.reduce(((e,r)=>n(n({},e),function(e,t){const r=S(e),{delay:a}=t,{id:i,session:l}=e,s=o(e,b);return{[r]:n({id:g(i,{defaultValue:"object - ".concat(+Date.now())}),session:g(l,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(s).reduce(((e,t)=>{let[r,o]=t;return n(n({},e),{},{[r]:v(o,{async:x(r),delay:a})})}),{}))}}(r,t))),{})}function C(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!S(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function k(){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(C);const n=w(e,t);return async e=>Promise.resolve(n[e])}function E(){return()=>Promise.resolve({id:"app-layout"})}var R={fromGenericObjects:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new e,o=new h,a=new k(t,n),i=new E,l={id:"app - ".concat(+Date.now()),session:r,createSessionObject:o,getObject:a,getAppLayout:i};return Promise.resolve(l)}};return R}()}(qN),function(e){e.exports=qN.exports}($N);const jN={generator:EN,hook:sN,theme:We,locale:u,EnigmaMocker:n($N.exports)};e.__DO_NOT_USE__=jN,e.conversion=FP,e.embed=DN,e.onTakeSnapshot=function(e){const t=aN(++Xz);t.value||(t.value=1,Kz.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=cN({action(){n._config.action.call(null)}});return n.component||(n.component=Kz,Kz.__hooks.actions.list.push(n)),pN((()=>{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=iN("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return iN("appLayout")},e.useConstraints=function(){return iN("constraints")},e.useDeviceType=function(){return iN("deviceType")},e.useEffect=uN,e.useElement=fN,e.useEmbed=function(){return iN("nebbie")},e.useGlobal=function(){const e=iN("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=aN(++Xz);if(n.imperative||(n.imperative=!0),Zz(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Kz.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=iN("keyboardNavigation"),t=iN("focusHandler");if(!Kz.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(hN(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Kz);Kz.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),mN(this))}.bind(Kz);Kz.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Kz);Kz.__hooks.accessibility.focusSelectionFunction=r}const n=Kz.__hooks.accessibility.focusFunction,r=Kz.__hooks.accessibility.exitFunction,o=Kz.__hooks.accessibility.focusSelectionFunction,[a,i]=cN({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Kz.__hooks.accessibility.setter=i,Kz.__hooks.accessibility.enabled=e,uN((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a},e.useLayout=function(){return iN("layout")},e.useMemo=pN,e.useModel=function(){const e=iN("model");return e&&e.session?e:void 0},e.useOptions=function(){return iN("options")},e.usePlugins=function(){return iN("plugins")},e.usePromise=function(e,t){const[n,r]=cN((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=aN(++Xz);return o.component||(o.component=Kz),dN((()=>{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=fN(),t=Kz.__hooks.resizer,[n,r]=cN((()=>{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()),dN((()=>{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(){aN(++Xz);const e=Kz.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return iN("selections")},e.useStaleLayout=function(){const e=iN("layout"),[t]=cN({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=cN,e.useTheme=function(){return iN("theme")},e.useTranslator=function(){return iN("translator")},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
36
231
|
//# sourceMappingURL=stardust.js.map
|