@nebula.js/cli-serve 2.0.0-beta.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +3 -1
- package/dist/226.js +1 -0
- package/dist/{68664da4962ed33db33eb4d2b892c198.ttf → 59002d8cc9a0e78be5b7cd556cb07281.ttf} +0 -0
- package/dist/eDev.html +1 -1
- package/dist/eDev.js +1 -1
- package/dist/eDev.js.LICENSE.txt +2 -0
- package/dist/eHub.js +1 -1
- package/dist/eRender.html +1 -1
- package/dist/eRender.js +1 -2
- package/dist/editor.worker.js +1 -1
- package/dist/fixtures.js +1 -0
- package/dist/json.worker.js +1 -1
- package/dist/stardust.js +2 -0
- package/dist/stardust.js.LICENSE.txt +26 -0
- package/dist/stardust.js.map +1 -0
- package/lib/fixtures.js +36 -0
- package/lib/init-config.js +8 -3
- package/lib/serve.js +0 -7
- package/lib/webpack.build.js +16 -3
- package/lib/webpack.prod.js +10 -2
- package/lib/webpack.serve.js +1 -0
- package/package.json +25 -23
- package/dist/525.js +0 -1
- package/dist/eRender.js.LICENSE.txt +0 -51
- package/docker-compose.yml +0 -13
- package/lib/engine.js +0 -49
- package/lib/sn.js +0 -1
package/dist/stardust.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see stardust.js.LICENSE.txt */
|
|
2
|
+
!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){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 u(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===f)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=f;var s=c(e,t,n);if("normal"===s.type){if(r=n.done?h:p,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 c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",p="suspendedYield",f="executing",h="completed",m={};function g(){}function y(){}function v(){}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 w=v.prototype=g.prototype=Object.create(b);function C(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(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=c(e[o],e,i);if("throw"!==s.type){var u=s.arg,d=u.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){u.value=e,a(u)}),(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=c(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 y.prototype=v,s(w,"constructor",v),s(v,"constructor",y),y.displayName=s(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},C(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(w),s(w,l,"Generator"),s(w,i,(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=_,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"),u=r.call(a,"finallyLoc");if(s&&u){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(!u)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}({});try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}();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 u={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_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":"在清單方塊中搜尋"}},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 c(e){const t=s({initial:e});return Object.keys(u).forEach((e=>{t.translator.add(u[e])})),{translator:t.translator}}var d={};function p(){p.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 f=p;p.EventEmitter=p,p.prototype._events=void 0,p.prototype._maxListeners=void 0,p.defaultMaxListeners=10,p.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},p.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},p.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},p.prototype.addListener=function(e,t){var n;if(!d.isFunction(t))throw TypeError("listener must be a function");return 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)?p.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()),this},p.prototype.on=p.prototype.addListener,p.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},p.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},p.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},p.prototype.listeners=function(e){return this._events&&this._events[e]?d.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},p.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,y=Object.getOwnPropertyDescriptor,v=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(y)return y(e,t).value}return e[t]},w=function e(){var t,n,r,o,i,a,l=arguments[0],s=1,u=arguments.length,c=!1;for("boolean"==typeof l&&(c=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<u;++s)if(null!=(t=arguments[s]))for(n in t)r=E(l,n),l!==(o=E(t,n))&&(c&&o&&(b(o)||(i=v(o)))?(i?(i=!1,a=r&&v(r)?r:[]):a=r&&b(r)?r:{},x(l,{name:n,newValue:e(c,a,o)})):void 0!==o&&x(l,{name:n,newValue:o}));return l},C={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"]}]}},S={_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*",T="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",N="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",q=/^#([0-9a-f]{3,8})$/,M=new RegExp("^rgb\\("+[P,P,P]+"\\)$"),D=new RegExp("^rgb\\("+[N,N,N]+"\\)$"),A=new RegExp("^rgba\\("+[P,P,P,T]+"\\)$"),z=new RegExp("^rgba\\("+[N,N,N,T]+"\\)$"),j=new RegExp("^hsl\\("+[T,N,N]+"\\)$"),F=new RegExp("^hsla\\("+[T,N,N,T]+"\\)$"),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=q.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=D.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 K(e){return e instanceof O||(e=W(e)),e?new Z((e=e.rgb()).r,e.g,e.b,e.opacity):new Z}function G(e,t,n,r){return 1===arguments.length?K(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,G,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];return e===this.min?l:e===this.max?a:function(e,t,n){return G(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){let n=e;for(let e=0;e<t.length;e++){if(!n[t[e]])return null;n=n[t[e]]}return n}function ue(e,t){const n=e.split(".");return{getStyle:(e,r)=>function(e,t,n,r){let o;return o=function(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}(""===e?null:e.split("."),n),function(e,t,n){for(let r=0;r<e.length;r++){const o=se(n,e[r]);if(null!==o&&o[t])return o[t]}}(o,t,r)}(e,r,n.concat(),t)}}function ce(e){const t=W(e).rgb(),{r:n,g:r,b:o}=t,[i,a,l]=[n,r,o].map((e=>e/255)),[s,u,c]=[i,a,l].map((e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4));return+(.2126*s+.7152*u+.0722*c).toFixed(5)}function de(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}function pe(){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]=ue(t,e)),r[t].getStyle(n,o,!1))},i={setTheme(i,a){e=function(e,t){const n="dark"===e.type?k:S,r=w(!0,{},C,n),o=w(!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,ue.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=ce(l);n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(ce);return{getBestContrastColor(o){if(!t[o]){n>1e3&&(t={},n=0);const i=ce(o),a=r.map((e=>de(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(f.prototype).forEach((e=>{o[e]=f.prototype[e]})),f.init(o),i.setTheme({},"light"),{externalAPI:o,internalAPI:i}}ue.resolveRawTheme=e=>{const t=w(!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};const fe=(e,t)=>new Promise((n=>setTimeout((()=>n(t)),e)));function he(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=pe(),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(),fe(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 me(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:{}},ye={},ve=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;function Ee(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var we=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=Ee(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))be.call(n,a)&&(o[a]=n[a]);if(ve){r=ve(n);for(var l=0;l<r.length;l++)xe.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Ce=we,Se=60103,ke=60106;ye.Fragment=60107,ye.StrictMode=60108,ye.Profiler=60114;var Le=60109,Re=60110,Oe=60112;ye.Suspense=60113;var _e=60115,Ie=60116;if("function"==typeof Symbol&&Symbol.for){var Pe=Symbol.for;Se=Pe("react.element"),ke=Pe("react.portal"),ye.Fragment=Pe("react.fragment"),ye.StrictMode=Pe("react.strict_mode"),ye.Profiler=Pe("react.profiler"),Le=Pe("react.provider"),Re=Pe("react.context"),Oe=Pe("react.forward_ref"),ye.Suspense=Pe("react.suspense"),_e=Pe("react.memo"),Ie=Pe("react.lazy")}var Te="function"==typeof Symbol&&Symbol.iterator;function Ne(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 qe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Me={};function De(e,t,n){this.props=e,this.context=t,this.refs=Me,this.updater=n||qe}function Ae(){}function ze(e,t,n){this.props=e,this.context=t,this.refs=Me,this.updater=n||qe}De.prototype.isReactComponent={},De.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Ne(85));this.updater.enqueueSetState(this,e,t,"setState")},De.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Ae.prototype=De.prototype;var je=ze.prototype=new Ae;je.constructor=ze,Ce(je,De.prototype),je.isPureReactComponent=!0;var Fe={current:null},Be=Object.prototype.hasOwnProperty,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)Be.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),u=0;u<l;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:Se,type:e,key:i,ref:a,props:o,_owner:Fe.current}}function We(e){return"object"==typeof e&&null!==e&&e.$$typeof===Se}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 Ke(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 Se:case ke:a=!0}}if(a)return o=o(a=e),e=""===r?"."+$e(a,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(Ve,"$&/")+"/"),Ke(o,t,n,"",(function(e){return e}))):null!=o&&(We(o)&&(o=function(e,t){return{$$typeof:Se,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+":",Array.isArray(e))for(var l=0;l<e.length;l++){var s=r+$e(i=e[l],l);a+=Ke(i,t,n,s,o)}else if("function"==typeof(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Te&&e[Te]||e["@@iterator"])?e:null}(e)))for(e=s.call(e),l=0;!(i=e.next()).done;)a+=Ke(i=i.value,t,n,s=r+$e(i,l++),o);else if("object"===i)throw t=""+e,Error(Ne(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function Ge(e,t,n){if(null==e)return e;var r=[],o=0;return Ke(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function Ze(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var Xe={current:null};function Qe(){var e=Xe.current;if(null===e)throw Error(Ne(321));return e}var Je={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:Fe,IsSomeRendererActing:{current:!1},assign:Ce};ye.Children={map:Ge,forEach:function(e,t,n){Ge(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Ge(e,(function(){t++})),t},toArray:function(e){return Ge(e,(function(e){return e}))||[]},only:function(e){if(!We(e))throw Error(Ne(143));return e}},ye.Component=De,ye.PureComponent=ze,ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Je,ye.cloneElement=function(e,t,n){if(null==e)throw Error(Ne(267,e));var r=Ce({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Fe.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)Be.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 u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Se,type:e.type,key:o,ref:i,props:r,_owner:a}},ye.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:Re,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:Le,_context:e},e.Consumer=e},ye.createElement=He,ye.createFactory=function(e){var t=He.bind(null,e);return t.type=e,t},ye.createRef=function(){return{current:null}},ye.forwardRef=function(e){return{$$typeof:Oe,render:e}},ye.isValidElement=We,ye.lazy=function(e){return{$$typeof:Ie,_payload:{_status:-1,_result:e},_init:Ze}},ye.memo=function(e,t){return{$$typeof:_e,type:e,compare:void 0===t?null:t}},ye.useCallback=function(e,t){return Qe().useCallback(e,t)},ye.useContext=function(e,t){return Qe().useContext(e,t)},ye.useDebugValue=function(){},ye.useEffect=function(e,t){return Qe().useEffect(e,t)},ye.useImperativeHandle=function(e,t,n){return Qe().useImperativeHandle(e,t,n)},ye.useLayoutEffect=function(e,t){return Qe().useLayoutEffect(e,t)},ye.useMemo=function(e,t){return Qe().useMemo(e,t)},ye.useReducer=function(e,t,n){return Qe().useReducer(e,t,n)},ye.useRef=function(e){return Qe().useRef(e)},ye.useState=function(e){return Qe().useState(e)},ye.version="17.0.2",ge.exports=ye;var Ye=ge.exports,et={exports:{}},tt={},nt={exports:{}},rt={};!function(e){var t,n,r,o;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,c=function(){if(null!==s)try{var t=e.unstable_now();s(!0,t),s=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==s?setTimeout(t,0,e):(s=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var f=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof f&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,g=-1,y=5,v=0;e.unstable_shouldYield=function(){return e.unstable_now()>=v},o=function(){},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"):y=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();v=t+y;try{m(!0,t)?x.postMessage(null):(h=!1,m=null)}catch(e){throw x.postMessage(null),e}}else h=!1},t=function(e){m=e,h||(h=!0,x.postMessage(null))},n=function(t,n){g=d((function(){t(e.unstable_now())}),n)},r=function(){p(g),g=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<S(o,t)))break e;e[r]=t,e[n]=o,n=r}}function w(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,s=e[l];if(void 0!==a&&0>S(a,n))void 0!==s&&0>S(s,a)?(e[r]=s,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==s&&0>S(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],L=[],R=1,O=null,_=3,I=!1,P=!1,T=!1;function N(e){for(var t=w(L);null!==t;){if(null===t.callback)C(L);else{if(!(t.startTime<=e))break;C(L),t.sortIndex=t.expirationTime,E(k,t)}t=w(L)}}function q(e){if(T=!1,N(e),!P)if(null!==w(k))P=!0,t(M);else{var r=w(L);null!==r&&n(q,r.startTime-e)}}function M(t,o){P=!1,T&&(T=!1,r()),I=!0;var i=_;try{for(N(o),O=w(k);null!==O&&(!(O.expirationTime>o)||t&&!e.unstable_shouldYield());){var a=O.callback;if("function"==typeof a){O.callback=null,_=O.priorityLevel;var l=a(O.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?O.callback=l:O===w(k)&&C(k),N(o)}else C(k);O=w(k)}if(null!==O)var s=!0;else{var u=w(L);null!==u&&n(q,u.startTime-o),s=!1}return s}finally{O=null,_=i,I=!1}}var D=o;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(){P||I||(P=!0,t(M))},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_getFirstCallbackNode=function(){return w(k)},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=D,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(o,i,a){var l=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?l+a:l,o){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return o={id:R++,callback:i,priorityLevel:o,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>l?(o.sortIndex=a,E(L,o),null===w(k)&&o===w(L)&&(T?r():T=!0,n(q,a-l))):(o.sortIndex=s,E(k,o),P||I||(P=!0,t(M))),o},e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}}}(rt),nt.exports=rt;var ot=ge.exports,it=we,at=nt.exports;function lt(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."}if(!ot)throw Error(lt(227));var st=new Set,ut={};function ct(e,t){dt(e,t),dt(e+"Capture",t)}function dt(e,t){for(ut[e]=t,e=0;e<t.length;e++)st.add(t[e])}var pt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ft=/^[: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=Object.prototype.hasOwnProperty,mt={},gt={};function yt(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 yt(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 yt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){vt[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){vt[e]=new yt(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 yt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){vt[e]=new yt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){vt[e]=new yt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){vt[e]=new yt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){vt[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var bt=/[\-:]([a-z])/g;function xt(e){return e[1].toUpperCase()}function Et(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!!ht.call(gt,e)||!ht.call(mt,e)&&(ft.test(e)?gt[e]=!0:(mt[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(bt,xt);vt[t]=new yt(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(bt,xt);vt[t]=new yt(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(bt,xt);vt[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){vt[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)})),vt.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){vt[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var wt=ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ct=60103,St=60106,kt=60107,Lt=60108,Rt=60114,Ot=60109,_t=60110,It=60112,Pt=60113,Tt=60120,Nt=60115,qt=60116,Mt=60121,Dt=60128,At=60129,zt=60130,jt=60131;if("function"==typeof Symbol&&Symbol.for){var Ft=Symbol.for;Ct=Ft("react.element"),St=Ft("react.portal"),kt=Ft("react.fragment"),Lt=Ft("react.strict_mode"),Rt=Ft("react.profiler"),Ot=Ft("react.provider"),_t=Ft("react.context"),It=Ft("react.forward_ref"),Pt=Ft("react.suspense"),Tt=Ft("react.suspense_list"),Nt=Ft("react.memo"),qt=Ft("react.lazy"),Mt=Ft("react.block"),Ft("react.scope"),Dt=Ft("react.opaque.id"),At=Ft("react.debug_trace_mode"),zt=Ft("react.offscreen"),jt=Ft("react.legacy_hidden")}var Bt,Ut="function"==typeof Symbol&&Symbol.iterator;function Ht(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ut&&e[Ut]||e["@@iterator"])?e:null}function Wt(e){if(void 0===Bt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Bt=t&&t[1]||""}return"\n"+Bt+e}var Vt=!1;function $t(e,t){if(!e||Vt)return"";Vt=!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(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.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])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{Vt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wt(e):""}function Kt(e){switch(e.tag){case 5:return Wt(e.type);case 16:return Wt("Lazy");case 13:return Wt("Suspense");case 19:return Wt("SuspenseList");case 0:case 2:case 15:return $t(e.type,!1);case 11:return $t(e.type.render,!1);case 22:return $t(e.type._render,!1);case 1:return $t(e.type,!0);default:return""}}function Gt(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 kt:return"Fragment";case St:return"Portal";case Rt:return"Profiler";case Lt:return"StrictMode";case Pt:return"Suspense";case Tt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _t:return(e.displayName||"Context")+".Consumer";case Ot:return(e._context.displayName||"Context")+".Provider";case It:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Nt:return Gt(e.type);case Mt:return Gt(e._render);case qt:t=e._payload,e=e._init;try{return Gt(e(t))}catch(e){}}return null}function Zt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Xt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Qt(e){e._valueTracker||(e._valueTracker=function(e){var t=Xt(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 Jt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Xt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Yt(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 en(e,t){var n=t.checked;return it({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function tn(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Zt(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 nn(e,t){null!=(t=t.checked)&&Et(e,"checked",t,!1)}function rn(e,t){nn(e,t);var n=Zt(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")?an(e,t.type,n):t.hasOwnProperty("defaultValue")&&an(e,t.type,Zt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function on(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 an(e,t,n){"number"===t&&Yt(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ln(e,t){return e=it({children:void 0},t),(t=function(e){var t="";return ot.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function sn(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=""+Zt(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 un(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(lt(91));return it({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function cn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(lt(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(lt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Zt(n)}}function dn(e,t){var n=Zt(t.value),r=Zt(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 pn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fn="http://www.w3.org/1999/xhtml";function hn(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 mn(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?hn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var gn,yn,vn=(yn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((gn=gn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gn.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 yn(e,t)}))}:yn);function bn(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 xn={animationIterationCount:!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},En=["Webkit","ms","Moz","O"];function wn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||xn.hasOwnProperty(e)&&xn[e]?(""+t).trim():t+"px"}function Cn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=wn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(xn).forEach((function(e){En.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xn[t]=xn[e]}))}));var Sn=it({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 kn(e,t){if(t){if(Sn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(lt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(lt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(lt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(lt(62))}}function Ln(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}}function Rn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var On=null,_n=null,In=null;function Pn(e){if(e=ea(e)){if("function"!=typeof On)throw Error(lt(280));var t=e.stateNode;t&&(t=na(t),On(e.stateNode,e.type,t))}}function Tn(e){_n?In?In.push(e):In=[e]:_n=e}function Nn(){if(_n){var e=_n,t=In;if(In=_n=null,Pn(e),t)for(e=0;e<t.length;e++)Pn(t[e])}}function qn(e,t){return e(t)}function Mn(e,t,n,r,o){return e(t,n,r,o)}function Dn(){}var An=qn,zn=!1,jn=!1;function Fn(){null===_n&&null===In||(Dn(),Nn())}function Bn(e,t){var n=e.stateNode;if(null===n)return null;var r=na(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(lt(231,t,typeof n));return n}var Un=!1;if(pt)try{var Hn={};Object.defineProperty(Hn,"passive",{get:function(){Un=!0}}),window.addEventListener("test",Hn,Hn),window.removeEventListener("test",Hn,Hn)}catch(yn){Un=!1}function Wn(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Vn=!1,$n=null,Kn=!1,Gn=null,Zn={onError:function(e){Vn=!0,$n=e}};function Xn(e,t,n,r,o,i,a,l,s){Vn=!1,$n=null,Wn.apply(Zn,arguments)}function Qn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Jn(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 Yn(e){if(Qn(e)!==e)throw Error(lt(188))}function er(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qn(e)))throw Error(lt(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 Yn(o),e;if(i===r)return Yn(o),t;i=i.sibling}throw Error(lt(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(lt(189))}}if(n.alternate!==r)throw Error(lt(190))}if(3!==n.tag)throw Error(lt(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function tr(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var nr,rr,or,ir,ar=!1,lr=[],sr=null,ur=null,cr=null,dr=new Map,pr=new Map,fr=[],hr="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 mr(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function gr(e,t){switch(e){case"focusin":case"focusout":sr=null;break;case"dragenter":case"dragleave":ur=null;break;case"mouseover":case"mouseout":cr=null;break;case"pointerover":case"pointerout":dr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pr.delete(t.pointerId)}}function yr(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=mr(t,n,r,o,i),null!==t&&null!==(t=ea(t))&&rr(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function vr(e){var t=Yi(e.target);if(null!==t){var n=Qn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Jn(n)))return e.blockedOn=t,void ir(e.lanePriority,(function(){at.unstable_runWithPriority(e.priority,(function(){or(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function br(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=eo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ea(n))&&rr(t),e.blockedOn=n,!1;t.shift()}return!0}function xr(e,t,n){br(e)&&n.delete(t)}function Er(){for(ar=!1;0<lr.length;){var e=lr[0];if(null!==e.blockedOn){null!==(e=ea(e.blockedOn))&&nr(e);break}for(var t=e.targetContainers;0<t.length;){var n=eo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&lr.shift()}null!==sr&&br(sr)&&(sr=null),null!==ur&&br(ur)&&(ur=null),null!==cr&&br(cr)&&(cr=null),dr.forEach(xr),pr.forEach(xr)}function wr(e,t){e.blockedOn===t&&(e.blockedOn=null,ar||(ar=!0,at.unstable_scheduleCallback(at.unstable_NormalPriority,Er)))}function Cr(e){function t(t){return wr(t,e)}if(0<lr.length){wr(lr[0],e);for(var n=1;n<lr.length;n++){var r=lr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==sr&&wr(sr,e),null!==ur&&wr(ur,e),null!==cr&&wr(cr,e),dr.forEach(t),pr.forEach(t),n=0;n<fr.length;n++)(r=fr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<fr.length&&null===(n=fr[0]).blockedOn;)vr(n),null===n.blockedOn&&fr.shift()}function Sr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:Sr("Animation","AnimationEnd"),animationiteration:Sr("Animation","AnimationIteration"),animationstart:Sr("Animation","AnimationStart"),transitionend:Sr("Transition","TransitionEnd")},Lr={},Rr={};function Or(e){if(Lr[e])return Lr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Rr)return Lr[e]=n[t];return e}pt&&(Rr=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var _r=Or("animationend"),Ir=Or("animationiteration"),Pr=Or("animationstart"),Tr=Or("transitionend"),Nr=new Map,qr=new Map,Mr=["abort","abort",_r,"animationEnd",Ir,"animationIteration",Pr,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Tr,"transitionEnd","waiting","waiting"];function Dr(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),qr.set(r,t),Nr.set(r,o),ct(o,[r])}}(0,at.unstable_now)();var Ar=8;function zr(e){if(0!=(1&e))return Ar=15,1;if(0!=(2&e))return Ar=14,2;if(0!=(4&e))return Ar=13,4;var t=24&e;return 0!==t?(Ar=12,t):0!=(32&e)?(Ar=11,32):0!=(t=192&e)?(Ar=10,t):0!=(256&e)?(Ar=9,256):0!=(t=3584&e)?(Ar=8,t):0!=(4096&e)?(Ar=7,4096):0!=(t=4186112&e)?(Ar=6,t):0!=(t=62914560&e)?(Ar=5,t):67108864&e?(Ar=4,67108864):0!=(134217728&e)?(Ar=3,134217728):0!=(t=805306368&e)?(Ar=2,t):0!=(1073741824&e)?(Ar=1,1073741824):(Ar=8,e)}function jr(e,t){var n=e.pendingLanes;if(0===n)return Ar=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=Ar=15;else if(0!=(i=134217727&n)){var s=i&~a;0!==s?(r=zr(s),o=Ar):0!=(l&=i)&&(r=zr(l),o=Ar)}else 0!=(i=n&~a)?(r=zr(i),o=Ar):0!==l&&(r=zr(l),o=Ar);if(0===r)return 0;if(r=n&((0>(r=31-Vr(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(zr(t),o<=Ar)return t;Ar=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Vr(t)),r|=e[n],t&=~o;return r}function Fr(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Br(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ur(24&~t))?Br(10,t):e;case 10:return 0===(e=Ur(192&~t))?Br(8,t):e;case 8:return 0===(e=Ur(3584&~t))&&0===(e=Ur(4186112&~t))&&(e=512),e;case 2:return 0===(t=Ur(805306368&~t))&&(t=268435456),t}throw Error(lt(358,e))}function Ur(e){return e&-e}function Hr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wr(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Vr(t)]=n}var Vr=Math.clz32?Math.clz32:function(e){return 0===e?32:31-($r(e)/Kr|0)|0},$r=Math.log,Kr=Math.LN2,Gr=at.unstable_UserBlockingPriority,Zr=at.unstable_runWithPriority,Xr=!0;function Qr(e,t,n,r){zn||Dn();var o=Yr,i=zn;zn=!0;try{Mn(o,e,t,n,r)}finally{(zn=i)||Fn()}}function Jr(e,t,n,r){Zr(Gr,Yr.bind(null,e,t,n,r))}function Yr(e,t,n,r){var o;if(Xr)if((o=0==(4&t))&&0<lr.length&&-1<hr.indexOf(e))e=mr(null,e,t,n,r),lr.push(e);else{var i=eo(e,t,n,r);if(null===i)o&&gr(e,r);else{if(o){if(-1<hr.indexOf(e))return e=mr(i,e,t,n,r),void lr.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return sr=yr(sr,e,t,n,r,o),!0;case"dragenter":return ur=yr(ur,e,t,n,r,o),!0;case"mouseover":return cr=yr(cr,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return dr.set(i,yr(dr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,pr.set(i,yr(pr.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;gr(e,r)}Ti(e,t,r,null,n)}}}function eo(e,t,n,r){var o=Rn(r);if(null!==(o=Yi(o))){var i=Qn(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Jn(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Ti(e,t,r,o,n),null}var to=null,no=null,ro=null;function oo(){if(ro)return ro;var e,t,n=no,r=n.length,o="value"in to?to.value:to.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 ro=o.slice(e,1<t?1-t:void 0)}function io(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 ao(){return!0}function lo(){return!1}function so(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)?ao:lo,this.isPropagationStopped=lo,this}return it(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=ao)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ao)},persist:function(){},isPersistent:ao}),t}var uo,co,po,fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ho=so(fo),mo=it({},fo,{view:0,detail:0}),go=so(mo),yo=it({},mo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oo,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!==po&&(po&&"mousemove"===e.type?(uo=e.screenX-po.screenX,co=e.screenY-po.screenY):co=uo=0,po=e),uo)},movementY:function(e){return"movementY"in e?e.movementY:co}}),vo=so(yo),bo=so(it({},yo,{dataTransfer:0})),xo=so(it({},mo,{relatedTarget:0})),Eo=so(it({},fo,{animationName:0,elapsedTime:0,pseudoElement:0})),wo=so(it({},fo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Co=so(it({},fo,{data:0})),So={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ko={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"},Lo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ro(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Lo[e])&&!!t[e]}function Oo(){return Ro}var _o=so(it({},mo,{key:function(e){if(e.key){var t=So[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=io(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ko[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oo,charCode:function(e){return"keypress"===e.type?io(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?io(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Io=so(it({},yo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Po=so(it({},mo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oo})),To=so(it({},fo,{propertyName:0,elapsedTime:0,pseudoElement:0})),No=so(it({},yo,{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})),qo=[9,13,27,32],Mo=pt&&"CompositionEvent"in window,Do=null;pt&&"documentMode"in document&&(Do=document.documentMode);var Ao=pt&&"TextEvent"in window&&!Do,zo=pt&&(!Mo||Do&&8<Do&&11>=Do),jo=String.fromCharCode(32),Fo=!1;function Bo(e,t){switch(e){case"keyup":return-1!==qo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Uo(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ho=!1,Wo={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 Vo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wo[e.type]:"textarea"===t}function $o(e,t,n,r){Tn(r),0<(t=qi(t,"onChange")).length&&(n=new ho("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ko=null,Go=null;function Zo(e){Li(e,0)}function Xo(e){if(Jt(ta(e)))return e}function Qo(e,t){if("change"===e)return t}var Jo=!1;if(pt){var Yo;if(pt){var ei="oninput"in document;if(!ei){var ti=document.createElement("div");ti.setAttribute("oninput","return;"),ei="function"==typeof ti.oninput}Yo=ei}else Yo=!1;Jo=Yo&&(!document.documentMode||9<document.documentMode)}function ni(){Ko&&(Ko.detachEvent("onpropertychange",ri),Go=Ko=null)}function ri(e){if("value"===e.propertyName&&Xo(Go)){var t=[];if($o(t,Go,e,Rn(e)),e=Zo,zn)e(t);else{zn=!0;try{qn(e,t)}finally{zn=!1,Fn()}}}}function oi(e,t,n){"focusin"===e?(ni(),Go=n,(Ko=t).attachEvent("onpropertychange",ri)):"focusout"===e&&ni()}function ii(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xo(Go)}function ai(e,t){if("click"===e)return Xo(t)}function li(e,t){if("input"===e||"change"===e)return Xo(t)}var si="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ui=Object.prototype.hasOwnProperty;function ci(e,t){if(si(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++)if(!ui.call(t,n[r])||!si(e[n[r]],t[n[r]]))return!1;return!0}function di(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pi(e,t){var n,r=di(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=di(r)}}function fi(){for(var e=window,t=Yt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Yt((e=t.contentWindow).document)}return t}function hi(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)}var mi=pt&&"documentMode"in document&&11>=document.documentMode,gi=null,yi=null,vi=null,bi=!1;function xi(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;bi||null==gi||gi!==Yt(r)||(r="selectionStart"in(r=gi)&&hi(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vi&&ci(vi,r)||(vi=r,0<(r=qi(yi,"onSelect")).length&&(t=new ho("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gi)))}Dr("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dr("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dr(Mr,2);for(var Ei="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),wi=0;wi<Ei.length;wi++)qr.set(Ei[wi],0);dt("onMouseEnter",["mouseout","mouseover"]),dt("onMouseLeave",["mouseout","mouseover"]),dt("onPointerEnter",["pointerout","pointerover"]),dt("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 Ci="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Si=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ci));function ki(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(Xn.apply(this,arguments),Vn){if(!Vn)throw Error(lt(198));var u=$n;Vn=!1,$n=null,Kn||(Kn=!0,Gn=u)}}(r,t,void 0,e),e.currentTarget=null}function Li(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,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;ki(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;ki(o,l,u),i=s}}}if(Kn)throw e=Gn,Kn=!1,Gn=null,e}function Ri(e,t){var n=ra(t),r=e+"__bubble";n.has(r)||(Pi(t,e,2,!1),n.add(r))}var Oi="_reactListening"+Math.random().toString(36).slice(2);function _i(e){e[Oi]||(e[Oi]=!0,st.forEach((function(t){Si.has(t)||Ii(t,!1,e,null),Ii(t,!0,e,null)})))}function Ii(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Si.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=ra(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),Pi(i,e,o,t),a.add(l))}function Pi(e,t,n,r){var o=qr.get(t);switch(void 0===o?2:o){case 0:o=Qr;break;case 1:o=Jr;break;default:o=Yr}n=o.bind(null,t,n,e),o=void 0,!Un||"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 Ti(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=Yi(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(jn)return e();jn=!0;try{An(e,void 0,void 0)}finally{jn=!1,Fn()}}((function(){var r=i,o=Rn(n),a=[];e:{var l=Nr.get(e);if(void 0!==l){var s=ho,u=e;switch(e){case"keypress":if(0===io(n))break e;case"keydown":case"keyup":s=_o;break;case"focusin":u="focus",s=xo;break;case"focusout":u="blur",s=xo;break;case"beforeblur":case"afterblur":s=xo;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=bo;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Po;break;case _r:case Ir:case Pr:s=Eo;break;case Tr:s=To;break;case"scroll":s=go;break;case"wheel":s=No;break;case"copy":case"cut":case"paste":s=wo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Io}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&null!=(m=Bn(h,p))&&c.push(Ni(h,m,f))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!Yi(u)&&!u[Qi])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?Yi(u):null)&&(u!==(d=Qn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=vo,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Io,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:ta(s),f=null==u?l:ta(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Yi(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=Mi(f))h++;for(f=0,m=p;m;m=Mi(m))f++;for(;0<h-f;)c=Mi(c),h--;for(;0<f-h;)p=Mi(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Mi(c),p=Mi(p)}c=null}else c=null;null!==s&&Di(a,l,s,c,!1),null!==u&&null!==d&&Di(a,d,u,c,!0)}if("select"===(s=(l=r?ta(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Qo;else if(Vo(l))if(Jo)g=li;else{g=ii;var y=oi}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=ai);switch(g&&(g=g(e,r))?$o(a,g,n,o):(y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&an(l,"number",l.value)),y=r?ta(r):window,e){case"focusin":(Vo(y)||"true"===y.contentEditable)&&(gi=y,yi=r,vi=null);break;case"focusout":vi=yi=gi=null;break;case"mousedown":bi=!0;break;case"contextmenu":case"mouseup":case"dragend":bi=!1,xi(a,n,o);break;case"selectionchange":if(mi)break;case"keydown":case"keyup":xi(a,n,o)}var v;if(Mo)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 Ho?Bo(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(zo&&"ko"!==n.locale&&(Ho||"onCompositionStart"!==b?"onCompositionEnd"===b&&Ho&&(v=oo()):(no="value"in(to=o)?to.value:to.textContent,Ho=!0)),0<(y=qi(r,b)).length&&(b=new Co(b,e,null,n,o),a.push({event:b,listeners:y}),(v||null!==(v=Uo(n)))&&(b.data=v))),(v=Ao?function(e,t){switch(e){case"compositionend":return Uo(t);case"keypress":return 32!==t.which?null:(Fo=!0,jo);case"textInput":return(e=t.data)===jo&&Fo?null:e;default:return null}}(e,n):function(e,t){if(Ho)return"compositionend"===e||!Mo&&Bo(e,t)?(e=oo(),ro=no=to=null,Ho=!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 zo&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=qi(r,"onBeforeInput")).length&&(o=new Co("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=v)}Li(a,t)}))}function Ni(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qi(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=Bn(e,n))&&r.unshift(Ni(e,i,o)),null!=(i=Bn(e,t))&&r.push(Ni(e,i,o))),e=e.return}return r}function Mi(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Di(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Bn(n,i))&&a.unshift(Ni(n,s,l)):o||null!=(s=Bn(n,i))&&a.push(Ni(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Ai(){}var zi=null,ji=null;function Fi(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Bi(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Ui="function"==typeof setTimeout?setTimeout:void 0,Hi="function"==typeof clearTimeout?clearTimeout:void 0;function Wi(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Vi(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function $i(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 Ki=0,Gi=Math.random().toString(36).slice(2),Zi="__reactFiber$"+Gi,Xi="__reactProps$"+Gi,Qi="__reactContainer$"+Gi,Ji="__reactEvents$"+Gi;function Yi(e){var t=e[Zi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qi]||n[Zi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=$i(e);null!==e;){if(n=e[Zi])return n;e=$i(e)}return t}n=(e=n).parentNode}return null}function ea(e){return!(e=e[Zi]||e[Qi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ta(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(lt(33))}function na(e){return e[Xi]||null}function ra(e){var t=e[Ji];return void 0===t&&(t=e[Ji]=new Set),t}var oa=[],ia=-1;function aa(e){return{current:e}}function la(e){0>ia||(e.current=oa[ia],oa[ia]=null,ia--)}function sa(e,t){ia++,oa[ia]=e.current,e.current=t}var ua={},ca=aa(ua),da=aa(!1),pa=ua;function fa(e,t){var n=e.type.contextTypes;if(!n)return ua;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 ha(e){return null!=e.childContextTypes}function ma(){la(da),la(ca)}function ga(e,t,n){if(ca.current!==ua)throw Error(lt(168));sa(ca,t),sa(da,n)}function ya(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(lt(108,Gt(t)||"Unknown",o));return it({},n,r)}function va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ua,pa=ca.current,sa(ca,e),sa(da,da.current),!0}function ba(e,t,n){var r=e.stateNode;if(!r)throw Error(lt(169));n?(e=ya(e,t,pa),r.__reactInternalMemoizedMergedChildContext=e,la(da),la(ca),sa(ca,e)):la(da),sa(da,n)}var xa=null,Ea=null,wa=at.unstable_runWithPriority,Ca=at.unstable_scheduleCallback,Sa=at.unstable_cancelCallback,ka=at.unstable_shouldYield,La=at.unstable_requestPaint,Ra=at.unstable_now,Oa=at.unstable_getCurrentPriorityLevel,_a=at.unstable_ImmediatePriority,Ia=at.unstable_UserBlockingPriority,Pa=at.unstable_NormalPriority,Ta=at.unstable_LowPriority,Na=at.unstable_IdlePriority,qa={},Ma=void 0!==La?La:function(){},Da=null,Aa=null,za=!1,ja=Ra(),Fa=1e4>ja?Ra:function(){return Ra()-ja};function Ba(){switch(Oa()){case _a:return 99;case Ia:return 98;case Pa:return 97;case Ta:return 96;case Na:return 95;default:throw Error(lt(332))}}function Ua(e){switch(e){case 99:return _a;case 98:return Ia;case 97:return Pa;case 96:return Ta;case 95:return Na;default:throw Error(lt(332))}}function Ha(e,t){return e=Ua(e),wa(e,t)}function Wa(e,t,n){return e=Ua(e),Ca(e,t,n)}function Va(){if(null!==Aa){var e=Aa;Aa=null,Sa(e)}$a()}function $a(){if(!za&&null!==Da){za=!0;var e=0;try{var t=Da;Ha(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Da=null}catch(t){throw null!==Da&&(Da=Da.slice(e+1)),Ca(_a,Va),t}finally{za=!1}}}var Ka=wt.ReactCurrentBatchConfig;function Ga(e,t){if(e&&e.defaultProps){for(var n in t=it({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Za=aa(null),Xa=null,Qa=null,Ja=null;function Ya(){Ja=Qa=Xa=null}function el(e){var t=Za.current;la(Za),e.type._context._currentValue=t}function tl(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function nl(e,t){Xa=e,Ja=Qa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ns=!0),e.firstContext=null)}function rl(e,t){if(Ja!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Ja=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Qa){if(null===Xa)throw Error(lt(308));Qa=t,Xa.dependencies={lanes:0,firstContext:t,responders:null}}else Qa=Qa.next=t;return e._currentValue}var ol=!1;function il(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function al(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 ll(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sl(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ul(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 cl(e,t,n,r){var o=e.updateQueue;ol=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==a&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==i){for(d=o.baseState,a=0,c=u=s=null;;){l=i.lane;var p=i.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var f=e,h=i;switch(l=t,p=n,h.tag){case 1:if("function"==typeof(f=h.payload)){d=f.call(p,d,l);break e}d=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=h.payload)?f.call(p,d,l):f))break e;d=it({},d,l);break e;case 2:ol=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else p={eventTime:p,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,Nu|=a,e.lanes=a,e.memoizedState=d}}function dl(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(lt(191,o));o.call(r)}}}var pl=(new ot.Component).refs;function fl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:it({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var hl={isMounted:function(e){return!!(e=e._reactInternals)&&Qn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=oc(),o=ic(e),i=ll(r,o);i.payload=t,null!=n&&(i.callback=n),sl(e,i),ac(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=oc(),o=ic(e),i=ll(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),sl(e,i),ac(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=oc(),r=ic(e),o=ll(n,r);o.tag=2,null!=t&&(o.callback=t),sl(e,o),ac(e,r,n)}};function ml(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&ci(n,r)&&ci(o,i))}function gl(e,t,n){var r=!1,o=ua,i=t.contextType;return"object"==typeof i&&null!==i?i=rl(i):(o=ha(t)?pa:ca.current,i=(r=null!=(r=t.contextTypes))?fa(e,o):ua),t=new t(n,i),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=i),t}function yl(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 vl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=pl,il(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=rl(i):(i=ha(t)?pa:ca.current,o.context=fa(e,i)),cl(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(fl(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&&hl.enqueueReplaceState(o,o.state,null),cl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var bl=Array.isArray;function xl(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(lt(309));var r=n.stateNode}if(!r)throw Error(lt(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===pl&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(lt(284));if(!n._owner)throw Error(lt(290,e))}return e}function El(e,t){if("textarea"!==e.type)throw Error(lt(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function wl(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}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=zc(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):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=Uc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=xl(e,t,n),r.return=e,r):((r=jc(n.type,n.key,n.props,null,e.mode,r)).ref=xl(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Hc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=Fc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Uc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ct:return(n=jc(t.type,t.key,t.props,null,e.mode,n)).ref=xl(e,null,t),n.return=e,n;case St:return(t=Hc(t,e.mode,n)).return=e,t}if(bl(t)||Ht(t))return(t=Fc(t,e.mode,n,null)).return=e,t;El(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ct:return n.key===o?n.type===kt?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case St:return n.key===o?u(e,t,n,r):null}if(bl(n)||Ht(n))return null!==o?null:c(e,t,n,r,null);El(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ct:return e=e.get(null===r.key?n:r.key)||null,r.type===kt?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case St:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(bl(r)||Ht(r))return c(t,e=e.get(n)||null,r,o,null);El(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var y=p(o,h,l[m],s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,h=g}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,a,l,s){var u=Ht(l);if("function"!=typeof u)throw Error(lt(150));if(null==(l=u.call(l)))throw Error(lt(151));for(var c=u=null,h=a,m=a=0,g=null,y=l.next();null!==h&&!y.done;m++,y=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,y.value,s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,h=g}if(y.done)return n(o,h),u;if(null===h){for(;!y.done;m++,y=l.next())null!==(y=d(o,y.value,s))&&(a=i(y,a,m),null===c?u=y:c.sibling=y,c=y);return u}for(h=r(o,h);!y.done;m++,y=l.next())null!==(y=f(h,o,m,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?m:y.key),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===kt&&null===i.key;s&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Ct:e:{for(u=i.key,s=r;null!==s;){if(s.key===u){switch(s.tag){case 7:if(i.type===kt){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}break;default:if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=xl(e,s,i),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}i.type===kt?((r=Fc(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=jc(i.type,i.key,i.props,null,e.mode,l)).ref=xl(e,r,i),l.return=e,e=l)}return a(e);case St:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Hc(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Uc(i,e.mode,l)).return=e,e=r),a(e);if(bl(i))return h(e,r,i,l);if(Ht(i))return m(e,r,i,l);if(u&&El(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(lt(152,Gt(e.type)||"Component"))}return n(e,r)}}var Cl=wl(!0),Sl=wl(!1),kl={},Ll=aa(kl),Rl=aa(kl),Ol=aa(kl);function _l(e){if(e===kl)throw Error(lt(174));return e}function Il(e,t){switch(sa(Ol,t),sa(Rl,e),sa(Ll,kl),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mn(null,"");break;default:t=mn(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}la(Ll),sa(Ll,t)}function Pl(){la(Ll),la(Rl),la(Ol)}function Tl(e){_l(Ol.current);var t=_l(Ll.current),n=mn(t,e.type);t!==n&&(sa(Rl,e),sa(Ll,n))}function Nl(e){Rl.current===e&&(la(Ll),la(Rl))}var ql=aa(0);function Ml(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!=(64&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 Dl=null,Al=null,zl=!1;function jl(e,t){var n=Dc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Fl(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,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Bl(e){if(zl){var t=Al;if(t){var n=t;if(!Fl(e,t)){if(!(t=Vi(n.nextSibling))||!Fl(e,t))return e.flags=-1025&e.flags|2,zl=!1,void(Dl=e);jl(Dl,n)}Dl=e,Al=Vi(t.firstChild)}else e.flags=-1025&e.flags|2,zl=!1,Dl=e}}function Ul(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Dl=e}function Hl(e){if(e!==Dl)return!1;if(!zl)return Ul(e),zl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Bi(t,e.memoizedProps))for(t=Al;t;)jl(e,t),t=Vi(t.nextSibling);if(Ul(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(lt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Al=Vi(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Al=null}}else Al=Dl?Vi(e.stateNode.nextSibling):null;return!0}function Wl(){Al=Dl=null,zl=!1}var Vl=[];function $l(){for(var e=0;e<Vl.length;e++)Vl[e]._workInProgressVersionPrimary=null;Vl.length=0}var Kl=wt.ReactCurrentDispatcher,Gl=wt.ReactCurrentBatchConfig,Zl=0,Xl=null,Ql=null,Jl=null,Yl=!1,es=!1;function ts(){throw Error(lt(321))}function ns(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!si(e[n],t[n]))return!1;return!0}function rs(e,t,n,r,o,i){if(Zl=i,Xl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Kl.current=null===e||null===e.memoizedState?_s:Is,e=n(r,o),es){i=0;do{if(es=!1,!(25>i))throw Error(lt(301));i+=1,Jl=Ql=null,t.updateQueue=null,Kl.current=Ps,e=n(r,o)}while(es)}if(Kl.current=Os,t=null!==Ql&&null!==Ql.next,Zl=0,Jl=Ql=Xl=null,Yl=!1,t)throw Error(lt(300));return e}function os(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Jl?Xl.memoizedState=Jl=e:Jl=Jl.next=e,Jl}function is(){if(null===Ql){var e=Xl.alternate;e=null!==e?e.memoizedState:null}else e=Ql.next;var t=null===Jl?Xl.memoizedState:Jl.next;if(null!==t)Jl=t,Ql=e;else{if(null===e)throw Error(lt(310));e={memoizedState:(Ql=e).memoizedState,baseState:Ql.baseState,baseQueue:Ql.baseQueue,queue:Ql.queue,next:null},null===Jl?Xl.memoizedState=Jl=e:Jl=Jl.next=e}return Jl}function as(e,t){return"function"==typeof t?t(e):t}function ls(e){var t=is(),n=t.queue;if(null===n)throw Error(lt(311));n.lastRenderedReducer=e;var r=Ql,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){o=o.next,r=r.baseState;var l=a=i=null,s=o;do{var u=s.lane;if((Zl&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(a=l=c,i=r):l=l.next=c,Xl.lanes|=u,Nu|=u}s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=a,si(r,t.memoizedState)||(Ns=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ss(e){var t=is(),n=t.queue;if(null===n)throw Error(lt(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);si(i,t.memoizedState)||(Ns=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function us(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Zl&e)===e)&&(t._workInProgressVersionPrimary=r,Vl.push(t))),e)return n(t._source);throw Vl.push(t),Error(lt(350))}function cs(e,t,n,r){var o=ku;if(null===o)throw Error(lt(349));var i=t._getVersion,a=i(t._source),l=Kl.current,s=l.useState((function(){return us(o,t,n)})),u=s[1],c=s[0];s=Jl;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=Xl;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=i(t._source);if(!si(a,e)){e=n(t._source),si(c,e)||(u(e),e=ic(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Vr(l),d=1<<s;r[s]|=e,l&=~d}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ic(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),si(f,n)&&si(h,t)&&si(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:as,lastRenderedState:c}).dispatch=u=Rs.bind(null,Xl,e),s.queue=e,s.baseQueue=null,c=us(o,t,n),s.memoizedState=s.baseState=c),c}function ds(e,t,n){return cs(is(),e,t,n)}function ps(e){var t=os();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:as,lastRenderedState:e}).dispatch=Rs.bind(null,Xl,e),[t.memoizedState,e]}function fs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Xl.updateQueue)?(t={lastEffect:null},Xl.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 hs(e){return e={current:e},os().memoizedState=e}function ms(){return is().memoizedState}function gs(e,t,n,r){var o=os();Xl.flags|=e,o.memoizedState=fs(1|t,n,void 0,void 0===r?null:r)}function ys(e,t,n,r){var o=is();r=void 0===r?null:r;var i=void 0;if(null!==Ql){var a=Ql.memoizedState;if(i=a.destroy,null!==r&&ns(r,a.deps))return void fs(t,n,i,r)}Xl.flags|=e,o.memoizedState=fs(1|t,n,i,r)}function vs(e,t){return gs(516,4,e,t)}function bs(e,t){return ys(516,4,e,t)}function xs(e,t){return ys(4,2,e,t)}function Es(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 ws(e,t,n){return n=null!=n?n.concat([e]):null,ys(4,2,Es.bind(null,t,e),n)}function Cs(){}function Ss(e,t){var n=is();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ns(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ks(e,t){var n=is();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ns(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ls(e,t){var n=Ba();Ha(98>n?98:n,(function(){e(!0)})),Ha(97<n?97:n,(function(){var n=Gl.transition;Gl.transition=1;try{e(!1),t()}finally{Gl.transition=n}}))}function Rs(e,t,n){var r=oc(),o=ic(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Xl||null!==a&&a===Xl)es=Yl=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=a(l,n);if(i.eagerReducer=a,i.eagerState=s,si(s,l))return}catch(e){}ac(e,o,r)}}var Os={readContext:rl,useCallback:ts,useContext:ts,useEffect:ts,useImperativeHandle:ts,useLayoutEffect:ts,useMemo:ts,useReducer:ts,useRef:ts,useState:ts,useDebugValue:ts,useDeferredValue:ts,useTransition:ts,useMutableSource:ts,useOpaqueIdentifier:ts,unstable_isNewReconciler:!1},_s={readContext:rl,useCallback:function(e,t){return os().memoizedState=[e,void 0===t?null:t],e},useContext:rl,useEffect:vs,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,gs(4,2,Es.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gs(4,2,e,t)},useMemo:function(e,t){var n=os();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=os();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Rs.bind(null,Xl,e),[r.memoizedState,e]},useRef:hs,useState:ps,useDebugValue:Cs,useDeferredValue:function(e){var t=ps(e),n=t[0],r=t[1];return vs((function(){var t=Gl.transition;Gl.transition=1;try{r(e)}finally{Gl.transition=t}}),[e]),n},useTransition:function(){var e=ps(!1),t=e[0];return hs(e=Ls.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=os();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},cs(r,e,t,n)},useOpaqueIdentifier:function(){if(zl){var e=!1,t=function(e){return{$$typeof:Dt,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Ki++).toString(36))),Error(lt(355))})),n=ps(t)[1];return 0==(2&Xl.mode)&&(Xl.flags|=516,fs(5,(function(){n("r:"+(Ki++).toString(36))}),void 0,null)),t}return ps(t="r:"+(Ki++).toString(36)),t},unstable_isNewReconciler:!1},Is={readContext:rl,useCallback:Ss,useContext:rl,useEffect:bs,useImperativeHandle:ws,useLayoutEffect:xs,useMemo:ks,useReducer:ls,useRef:ms,useState:function(){return ls(as)},useDebugValue:Cs,useDeferredValue:function(e){var t=ls(as),n=t[0],r=t[1];return bs((function(){var t=Gl.transition;Gl.transition=1;try{r(e)}finally{Gl.transition=t}}),[e]),n},useTransition:function(){var e=ls(as)[0];return[ms().current,e]},useMutableSource:ds,useOpaqueIdentifier:function(){return ls(as)[0]},unstable_isNewReconciler:!1},Ps={readContext:rl,useCallback:Ss,useContext:rl,useEffect:bs,useImperativeHandle:ws,useLayoutEffect:xs,useMemo:ks,useReducer:ss,useRef:ms,useState:function(){return ss(as)},useDebugValue:Cs,useDeferredValue:function(e){var t=ss(as),n=t[0],r=t[1];return bs((function(){var t=Gl.transition;Gl.transition=1;try{r(e)}finally{Gl.transition=t}}),[e]),n},useTransition:function(){var e=ss(as)[0];return[ms().current,e]},useMutableSource:ds,useOpaqueIdentifier:function(){return ss(as)[0]},unstable_isNewReconciler:!1},Ts=wt.ReactCurrentOwner,Ns=!1;function qs(e,t,n,r){t.child=null===e?Sl(t,null,n,r):Cl(t,e.child,n,r)}function Ms(e,t,n,r,o){n=n.render;var i=t.ref;return nl(t,o),r=rs(e,t,n,r,i,o),null===e||Ns?(t.flags|=1,qs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Ys(e,t,o))}function Ds(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Ac(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=jc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,As(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:ci)(o,r)&&e.ref===t.ref)?Ys(e,t,i):(t.flags|=1,(e=zc(a,r)).ref=t.ref,e.return=t,t.child=e)}function As(e,t,n,r,o,i){if(null!==e&&ci(e.memoizedProps,r)&&e.ref===t.ref){if(Ns=!1,0==(i&o))return t.lanes=e.lanes,Ys(e,t,i);0!=(16384&e.flags)&&(Ns=!0)}return Fs(e,t,n,r,i)}function zs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},hc(0,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},hc(0,e),null;t.memoizedState={baseLanes:0},hc(0,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,hc(0,r);return qs(e,t,o,n),t.child}function js(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Fs(e,t,n,r,o){var i=ha(n)?pa:ca.current;return i=fa(t,i),nl(t,o),n=rs(e,t,n,r,i,o),null===e||Ns?(t.flags|=1,qs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,Ys(e,t,o))}function Bs(e,t,n,r,o){if(ha(n)){var i=!0;va(t)}else i=!1;if(nl(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),gl(t,n,r),vl(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;u="object"==typeof u&&null!==u?rl(u):fa(t,u=ha(n)?pa:ca.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&yl(t,a,r,u),ol=!1;var p=t.memoizedState;a.state=p,cl(t,r,a,o),s=t.memoizedState,l!==r||p!==s||da.current||ol?("function"==typeof c&&(fl(t,n,c,r),s=t.memoizedState),(l=ol||ml(t,n,l,r,p,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,al(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Ga(t.type,l),a.props=u,d=t.pendingProps,p=a.context,s="object"==typeof(s=n.contextType)&&null!==s?rl(s):fa(t,s=ha(n)?pa:ca.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||p!==s)&&yl(t,a,r,s),ol=!1,p=t.memoizedState,a.state=p,cl(t,r,a,o);var h=t.memoizedState;l!==d||p!==h||da.current||ol?("function"==typeof f&&(fl(t,n,f,r),h=t.memoizedState),(u=ol||ml(t,n,u,r,p,h,s))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),r=!1)}return Us(e,t,n,r,i,o)}function Us(e,t,n,r,o,i){js(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&ba(t,n,!1),Ys(e,t,i);r=t.stateNode,Ts.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Cl(t,e.child,null,i),t.child=Cl(t,null,l,i)):qs(e,t,l,i),t.memoizedState=r.state,o&&ba(t,n,!0),t.child}function Hs(e){var t=e.stateNode;t.pendingContext?ga(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ga(0,t.context,!1),Il(e,t.containerInfo)}var Ws,Vs,$s,Ks={dehydrated:null,retryLane:0};function Gs(e,t,n){var r,o=t.pendingProps,i=ql.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),sa(ql,1&i),null===e?(void 0!==o.fallback&&Bl(t),e=o.children,i=o.fallback,a?(e=Zs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ks,e):"number"==typeof o.unstable_expectedLoadTime?(e=Zs(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ks,t.lanes=33554432,e):((n=Bc({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=function(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=zc(a,l),null!==e?r=zc(e,r):(r=Fc(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Ks,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=zc(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n))}function Zs(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Bc(t,o,0,null),n=Fc(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function Xs(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),tl(e.return,t)}function Qs(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function Js(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(qs(e,t,r.children,n),0!=(2&(r=ql.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xs(e,n);else if(19===e.tag)Xs(e,n);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(sa(ql,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ml(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Qs(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ml(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Qs(t,!0,n,null,i,t.lastEffect);break;case"together":Qs(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ys(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Nu|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(lt(153));if(null!==t.child){for(n=zc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function eu(e,t){if(!zl)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 tu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ha(t.type)&&ma(),null;case 3:return Pl(),la(da),la(ca),$l(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Hl(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Nl(t);var o=_l(Ol.current);if(n=t.type,null!==e&&null!=t.stateNode)Vs(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(lt(166));return null}if(e=_l(Ll.current),Hl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Zi]=t,r[Xi]=i,n){case"dialog":Ri("cancel",r),Ri("close",r);break;case"iframe":case"object":case"embed":Ri("load",r);break;case"video":case"audio":for(e=0;e<Ci.length;e++)Ri(Ci[e],r);break;case"source":Ri("error",r);break;case"img":case"image":case"link":Ri("error",r),Ri("load",r);break;case"details":Ri("toggle",r);break;case"input":tn(r,i),Ri("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ri("invalid",r);break;case"textarea":cn(r,i),Ri("invalid",r)}for(var a in kn(n,i),e=null,i)i.hasOwnProperty(a)&&(o=i[a],"children"===a?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):ut.hasOwnProperty(a)&&null!=o&&"onScroll"===a&&Ri("scroll",r));switch(n){case"input":Qt(r),on(r,i,!0);break;case"textarea":Qt(r),pn(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Ai)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(a=9===o.nodeType?o:o.ownerDocument,e===fn&&(e=hn(n)),e===fn?"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[Zi]=t,e[Xi]=r,Ws(e,t),t.stateNode=e,a=Ln(n,r),n){case"dialog":Ri("cancel",e),Ri("close",e),o=r;break;case"iframe":case"object":case"embed":Ri("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ci.length;o++)Ri(Ci[o],e);o=r;break;case"source":Ri("error",e),o=r;break;case"img":case"image":case"link":Ri("error",e),Ri("load",e),o=r;break;case"details":Ri("toggle",e),o=r;break;case"input":tn(e,r),o=en(e,r),Ri("invalid",e);break;case"option":o=ln(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=it({},r,{value:void 0}),Ri("invalid",e);break;case"textarea":cn(e,r),o=un(e,r),Ri("invalid",e);break;default:o=r}kn(n,o);var l=o;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?Cn(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&vn(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&bn(e,s):"number"==typeof s&&bn(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(ut.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Ri("scroll",e):null!=s&&Et(e,i,s,a))}switch(n){case"input":Qt(e),on(e,r,!1);break;case"textarea":Qt(e),pn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Zt(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?sn(e,!!r.multiple,i,!1):null!=r.defaultValue&&sn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ai)}Fi(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)$s(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(lt(166));n=_l(Ol.current),_l(Ll.current),Hl(t)?(r=t.stateNode,n=t.memoizedProps,r[Zi]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Zi]=t,t.stateNode=r)}return null;case 13:return la(ql),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Hl(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&ql.current)?0===Iu&&(Iu=3):(0!==Iu&&3!==Iu||(Iu=4),null===ku||0==(134217727&Nu)&&0==(134217727&qu)||cc(ku,Ru))),(r||n)&&(t.flags|=4),null);case 4:return Pl(),null===e&&_i(t.stateNode.containerInfo),null;case 10:return el(t),null;case 17:return ha(t.type)&&ma(),null;case 19:if(la(ql),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)eu(r,!1);else{if(0!==Iu||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Ml(e))){for(t.flags|=64,eu(r,!1),null!==(i=a.updateQueue)&&(t.updateQueue=i,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,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.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 sa(ql,1&ql.current|2),t.child}e=e.sibling}null!==r.tail&&Fa()>zu&&(t.flags|=64,i=!0,eu(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=Ml(a))){if(t.flags|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),eu(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!zl)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Fa()-r.renderingStartTime>zu&&1073741824!==n&&(t.flags|=64,i=!0,eu(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Fa(),n.sibling=null,t=ql.current,sa(ql,i?1&t|2:1&t),n):null;case 23:case 24:return mc(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(lt(156,t.tag))}function nu(e){switch(e.tag){case 1:ha(e.type)&&ma();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Pl(),la(da),la(ca),$l(),0!=(64&(t=e.flags)))throw Error(lt(285));return e.flags=-4097&t|64,e;case 5:return Nl(e),null;case 13:return la(ql),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return la(ql),null;case 4:return Pl(),null;case 10:return el(e),null;case 23:case 24:return mc(),null;default:return null}}function ru(e,t){try{var n="",r=t;do{n+=Kt(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 ou(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ws=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}},Vs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,_l(Ll.current);var i,a=null;switch(n){case"input":o=en(e,o),r=en(e,r),a=[];break;case"option":o=ln(e,o),r=ln(e,r),a=[];break;case"select":o=it({},o,{value:void 0}),r=it({},r,{value:void 0}),a=[];break;case"textarea":o=un(e,o),r=un(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ai)}for(u in kn(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(ut.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(ut.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&Ri("scroll",e),a||l===s||(a=[])):"object"==typeof s&&null!==s&&s.$$typeof===Dt?s.toString():(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},$s=function(e,t,n,r){n!==r&&(t.flags|=4)};var iu="function"==typeof WeakMap?WeakMap:Map;function au(e,t,n){(n=ll(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Uu||(Uu=!0,Hu=r),ou(0,t)},n}function lu(e,t,n){(n=ll(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ou(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Wu?Wu=new Set([this]):Wu.add(this),ou(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var su="function"==typeof WeakSet?WeakSet:Set;function uu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Tc(e,t)}else t.current=null}function cu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ga(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wi(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(lt(163))}function du(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(_c(n,e),Oc(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ga(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&dl(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}dl(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Fi(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Cr(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(lt(163))}function pu(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=wn("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function fu(e,t){if(Ea&&"function"==typeof Ea.onCommitFiberUnmount)try{Ea.onCommitFiberUnmount(xa,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))_c(t,n);else{r=t;try{o()}catch(e){Tc(r,e)}}n=n.next}while(n!==e)}break;case 1:if(uu(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Tc(t,e)}break;case 5:uu(t);break;case 4:yu(e,t)}}function hu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function mu(e){return 5===e.tag||3===e.tag||4===e.tag}function gu(e){e:{for(var t=e.return;null!==t;){if(mu(t))break e;t=t.return}throw Error(lt(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(lt(161))}16&n.flags&&(bn(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||mu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,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=Ai));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,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,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,t)}function yu(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(lt(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var a=e,l=o,s=l;;)if(fu(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(a=n,l=o.stateNode,8===a.nodeType?a.parentNode.removeChild(l):a.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(fu(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function vu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Xi]=r,"input"===e&&"radio"===r.type&&null!=r.name&&nn(n,r),Ln(e,o),t=Ln(e,r),o=0;o<i.length;o+=2){var a=i[o],l=i[o+1];"style"===a?Cn(n,l):"dangerouslySetInnerHTML"===a?vn(n,l):"children"===a?bn(n,l):Et(n,a,l,t)}switch(e){case"input":rn(n,r);break;case"textarea":dn(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?sn(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?sn(n,!!r.multiple,r.defaultValue,!0):sn(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(lt(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Cr(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Au=Fa(),pu(t.child,!0)),void bu(t);case 19:return void bu(t);case 17:return;case 23:case 24:return void pu(t,null!==t.memoizedState)}throw Error(lt(163))}function bu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new su),t.forEach((function(t){var r=qc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function xu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Eu=Math.ceil,wu=wt.ReactCurrentDispatcher,Cu=wt.ReactCurrentOwner,Su=0,ku=null,Lu=null,Ru=0,Ou=0,_u=aa(0),Iu=0,Pu=null,Tu=0,Nu=0,qu=0,Mu=0,Du=null,Au=0,zu=1/0;function ju(){zu=Fa()+500}var Fu,Bu=null,Uu=!1,Hu=null,Wu=null,Vu=!1,$u=null,Ku=90,Gu=[],Zu=[],Xu=null,Qu=0,Ju=null,Yu=-1,ec=0,tc=0,nc=null,rc=!1;function oc(){return 0!=(48&Su)?Fa():-1!==Yu?Yu:Yu=Fa()}function ic(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ba()?1:2;if(0===ec&&(ec=Tu),0!==Ka.transition){0!==tc&&(tc=null!==Du?Du.pendingLanes:0),e=ec;var t=4186112&~tc;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Ba(),Br(0!=(4&Su)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ec)}function ac(e,t,n){if(50<Qu)throw Qu=0,Ju=null,Error(lt(185));if(null===(e=lc(e,t)))return null;Wr(e,t,n),e===ku&&(qu|=t,4===Iu&&cc(e,Ru));var r=Ba();1===t?0!=(8&Su)&&0==(48&Su)?dc(e):(sc(e,n),0===Su&&(ju(),Va())):(0==(4&Su)||98!==r&&99!==r||(null===Xu?Xu=new Set([e]):Xu.add(e)),sc(e,n)),Du=e}function lc(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 sc(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-Vr(a),s=1<<l,u=i[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,zr(s);var c=Ar;i[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(r=jr(e,e===ku?Ru:0),t=Ar,0===r)null!==n&&(n!==qa&&Sa(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==qa&&Sa(n)}15===t?(n=dc.bind(null,e),null===Da?(Da=[n],Aa=Ca(_a,$a)):Da.push(n),n=qa):n=14===t?Wa(99,dc.bind(null,e)):Wa(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(lt(358,e))}}(t),uc.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function uc(e){if(Yu=-1,tc=ec=0,0!=(48&Su))throw Error(lt(327));var t=e.callbackNode;if(Rc()&&e.callbackNode!==t)return null;var n=jr(e,e===ku?Ru:0);if(0===n)return null;var r=n,o=Su;Su|=16;var i=vc();for(ku===e&&Ru===r||(ju(),gc(e,r));;)try{Ec();break}catch(t){yc(e,t)}if(Ya(),wu.current=i,Su=o,null!==Lu?r=0:(ku=null,Ru=0,r=Iu),0!=(Tu&qu))gc(e,0);else if(0!==r){if(2===r&&(Su|=64,e.hydrate&&(e.hydrate=!1,Wi(e.containerInfo)),0!==(n=Fr(e))&&(r=bc(e,n))),1===r)throw t=Pu,gc(e,0),cc(e,n),sc(e,Fa()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(lt(345));case 2:Sc(e);break;case 3:if(cc(e,n),(62914560&n)===n&&10<(r=Au+500-Fa())){if(0!==jr(e,0))break;if(((o=e.suspendedLanes)&n)!==n){oc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ui(Sc.bind(null,e),r);break}Sc(e);break;case 4:if(cc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var a=31-Vr(n);i=1<<a,(a=r[a])>o&&(o=a),n&=~i}if(n=o,10<(n=(120>(n=Fa()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Eu(n/1960))-n)){e.timeoutHandle=Ui(Sc.bind(null,e),n);break}Sc(e);break;case 5:Sc(e);break;default:throw Error(lt(329))}}return sc(e,Fa()),e.callbackNode===t?uc.bind(null,e):null}function cc(e,t){for(t&=~Mu,t&=~qu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vr(t),r=1<<n;e[n]=-1,t&=~r}}function dc(e){if(0!=(48&Su))throw Error(lt(327));if(Rc(),e===ku&&0!=(e.expiredLanes&Ru)){var t=Ru,n=bc(e,t);0!=(Tu&qu)&&(n=bc(e,t=jr(e,t)))}else n=bc(e,t=jr(e,0));if(0!==e.tag&&2===n&&(Su|=64,e.hydrate&&(e.hydrate=!1,Wi(e.containerInfo)),0!==(t=Fr(e))&&(n=bc(e,t))),1===n)throw n=Pu,gc(e,0),cc(e,t),sc(e,Fa()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sc(e),sc(e,Fa()),null}function pc(e,t){var n=Su;Su|=1;try{return e(t)}finally{0===(Su=n)&&(ju(),Va())}}function fc(e,t){var n=Su;Su&=-2,Su|=8;try{return e(t)}finally{0===(Su=n)&&(ju(),Va())}}function hc(e,t){sa(_u,Ou),Ou|=t,Tu|=t}function mc(){Ou=_u.current,la(_u)}function gc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Hi(n)),null!==Lu)for(n=Lu.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ma();break;case 3:Pl(),la(da),la(ca),$l();break;case 5:Nl(r);break;case 4:Pl();break;case 13:case 19:la(ql);break;case 10:el(r);break;case 23:case 24:mc()}n=n.return}ku=e,Lu=zc(e.current,null),Ru=Ou=Tu=t,Iu=0,Pu=null,Mu=qu=Nu=0}function yc(e,t){for(;;){var n=Lu;try{if(Ya(),Kl.current=Os,Yl){for(var r=Xl.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Yl=!1}if(Zl=0,Jl=Ql=Xl=null,es=!1,Cu.current=null,null===n||null===n.return){Iu=1,Pu=t,Lu=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Ru,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&ql.current),p=a;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var g=p.updateQueue;if(null===g){var y=new Set;y.add(u),p.updateQueue=y}else g.add(u);if(0==(2&p.mode)){if(p.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=ll(-1,1);v.tag=2,sl(l,v)}l.lanes|=1;break e}s=void 0,l=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new iu,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=Nc.bind(null,i,u,l);u.then(x,x)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);s=Error((Gt(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Iu&&(Iu=2),s=ru(s,l),p=a;do{switch(p.tag){case 3:i=s,p.flags|=4096,t&=-t,p.lanes|=t,ul(p,au(0,i,t));break e;case 1:i=s;var E=p.type,w=p.stateNode;if(0==(64&p.flags)&&("function"==typeof E.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Wu||!Wu.has(w)))){p.flags|=4096,t&=-t,p.lanes|=t,ul(p,lu(p,i,t));break e}}p=p.return}while(null!==p)}Cc(n)}catch(e){t=e,Lu===n&&null!==n&&(Lu=n=n.return);continue}break}}function vc(){var e=wu.current;return wu.current=Os,null===e?Os:e}function bc(e,t){var n=Su;Su|=16;var r=vc();for(ku===e&&Ru===t||gc(e,t);;)try{xc();break}catch(t){yc(e,t)}if(Ya(),Su=n,wu.current=r,null!==Lu)throw Error(lt(261));return ku=null,Ru=0,Iu}function xc(){for(;null!==Lu;)wc(Lu)}function Ec(){for(;null!==Lu&&!ka();)wc(Lu)}function wc(e){var t=Fu(e.alternate,e,Ou);e.memoizedProps=e.pendingProps,null===t?Cc(e):Lu=t,Cu.current=null}function Cc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=tu(n,t,Ou)))return void(Lu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ou)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=nu(t)))return n.flags&=2047,void(Lu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Lu=t);Lu=t=e}while(null!==t);0===Iu&&(Iu=5)}function Sc(e){var t=Ba();return Ha(99,kc.bind(null,e,t)),null}function kc(e,t){do{Rc()}while(null!==$u);if(0!=(48&Su))throw Error(lt(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(lt(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<i;){var s=31-Vr(i),u=1<<s;o[s]=0,a[s]=-1,l[s]=-1,i&=~u}if(null!==Xu&&0==(24&r)&&Xu.has(e)&&Xu.delete(e),e===ku&&(Lu=ku=null,Ru=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Su,Su|=32,Cu.current=null,zi=Xr,hi(a=fi())){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,d=-1,p=-1,f=0,h=0,m=a,g=null;t:for(;;){for(var y;m!==l||0!==i&&3!==m.nodeType||(d=c+i),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(y=m.firstChild);)g=m,m=y;for(;;){if(m===a)break t;if(g===l&&++f===i&&(d=c),g===s&&++h===u&&(p=c),null!==(y=m.nextSibling))break;g=(m=g).parentNode}m=y}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;ji={focusedElem:a,selectionRange:l},Xr=!1,nc=null,rc=!1,Bu=r;do{try{Lc()}catch(e){if(null===Bu)throw Error(lt(330));Tc(Bu,e),Bu=Bu.nextEffect}}while(null!==Bu);nc=null,Bu=r;do{try{for(a=e;null!==Bu;){var v=Bu.flags;if(16&v&&bn(Bu.stateNode,""),128&v){var b=Bu.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&v){case 2:gu(Bu),Bu.flags&=-3;break;case 6:gu(Bu),Bu.flags&=-3,vu(Bu.alternate,Bu);break;case 1024:Bu.flags&=-1025;break;case 1028:Bu.flags&=-1025,vu(Bu.alternate,Bu);break;case 4:vu(Bu.alternate,Bu);break;case 8:yu(a,l=Bu);var E=l.alternate;hu(l),null!==E&&hu(E)}Bu=Bu.nextEffect}}catch(e){if(null===Bu)throw Error(lt(330));Tc(Bu,e),Bu=Bu.nextEffect}}while(null!==Bu);if(x=ji,b=fi(),v=x.focusedElem,a=x.selectionRange,b!==v&&v&&v.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))))}(v.ownerDocument.documentElement,v)){null!==a&&hi(v)&&(b=a.start,void 0===(x=a.end)&&(x=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(x,v.value.length)):(x=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=v.textContent.length,E=Math.min(a.start,l),a=void 0===a.end?E:Math.min(a.end,l),!x.extend&&E>a&&(l=a,a=E,E=l),l=pi(v,E),i=pi(v,a),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),E>a?(x.addRange(b),x.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),x.addRange(b))))),b=[];for(x=v;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(x=b[v]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Xr=!!zi,ji=zi=null,e.current=n,Bu=r;do{try{for(v=e;null!==Bu;){var w=Bu.flags;if(36&w&&du(v,Bu.alternate,Bu),128&w){b=void 0;var C=Bu.ref;if(null!==C){var S=Bu.stateNode;switch(Bu.tag){case 5:b=S;break;default:b=S}"function"==typeof C?C(b):C.current=b}}Bu=Bu.nextEffect}}catch(e){if(null===Bu)throw Error(lt(330));Tc(Bu,e),Bu=Bu.nextEffect}}while(null!==Bu);Bu=null,Ma(),Su=o}else e.current=n;if(Vu)Vu=!1,$u=e,Ku=t;else for(Bu=r;null!==Bu;)t=Bu.nextEffect,Bu.nextEffect=null,8&Bu.flags&&((w=Bu).sibling=null,w.stateNode=null),Bu=t;if(0===(r=e.pendingLanes)&&(Wu=null),1===r?e===Ju?Qu++:(Qu=0,Ju=e):Qu=0,n=n.stateNode,Ea&&"function"==typeof Ea.onCommitFiberRoot)try{Ea.onCommitFiberRoot(xa,n,void 0,64==(64&n.current.flags))}catch(e){}if(sc(e,Fa()),Uu)throw Uu=!1,e=Hu,Hu=null,e;return 0!=(8&Su)||Va(),null}function Lc(){for(;null!==Bu;){var e=Bu.alternate;rc||null===nc||(0!=(8&Bu.flags)?tr(Bu,nc)&&(rc=!0):13===Bu.tag&&xu(e,Bu)&&tr(Bu,nc)&&(rc=!0));var t=Bu.flags;0!=(256&t)&&cu(e,Bu),0==(512&t)||Vu||(Vu=!0,Wa(97,(function(){return Rc(),null}))),Bu=Bu.nextEffect}}function Rc(){if(90!==Ku){var e=97<Ku?97:Ku;return Ku=90,Ha(e,Ic)}return!1}function Oc(e,t){Gu.push(t,e),Vu||(Vu=!0,Wa(97,(function(){return Rc(),null})))}function _c(e,t){Zu.push(t,e),Vu||(Vu=!0,Wa(97,(function(){return Rc(),null})))}function Ic(){if(null===$u)return!1;var e=$u;if($u=null,0!=(48&Su))throw Error(lt(331));var t=Su;Su|=32;var n=Zu;Zu=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],a=o.destroy;if(o.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===i)throw Error(lt(330));Tc(i,e)}}for(n=Gu,Gu=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(lt(330));Tc(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Su=t,Va(),!0}function Pc(e,t,n){sl(e,t=au(0,t=ru(n,t),1)),t=oc(),null!==(e=lc(e,1))&&(Wr(e,1,t),sc(e,t))}function Tc(e,t){if(3===e.tag)Pc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Pc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wu||!Wu.has(r))){var o=lu(n,e=ru(t,e),1);if(sl(n,o),o=oc(),null!==(n=lc(n,1)))Wr(n,1,o),sc(n,o);else if("function"==typeof r.componentDidCatch&&(null===Wu||!Wu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Nc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=oc(),e.pingedLanes|=e.suspendedLanes&n,ku===e&&(Ru&n)===n&&(4===Iu||3===Iu&&(62914560&Ru)===Ru&&500>Fa()-Au?gc(e,0):Mu|=n),sc(e,t)}function qc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Ba()?1:2:(0===ec&&(ec=Tu),0===(t=Ur(62914560&~ec))&&(t=4194304))),n=oc(),null!==(e=lc(e,t))&&(Wr(e,t,n),sc(e,n))}function Mc(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Dc(e,t,n,r){return new Mc(e,t,n,r)}function Ac(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zc(e,t){var n=e.alternate;return null===n?((n=Dc(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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),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 jc(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Ac(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case kt:return Fc(n.children,o,i,t);case At:a=8,o|=16;break;case Lt:a=8,o|=1;break;case Rt:return(e=Dc(12,n,t,8|o)).elementType=Rt,e.type=Rt,e.lanes=i,e;case Pt:return(e=Dc(13,n,t,o)).type=Pt,e.elementType=Pt,e.lanes=i,e;case Tt:return(e=Dc(19,n,t,o)).elementType=Tt,e.lanes=i,e;case zt:return Bc(n,o,i,t);case jt:return(e=Dc(24,n,t,o)).elementType=jt,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ot:a=10;break e;case _t:a=9;break e;case It:a=11;break e;case Nt:a=14;break e;case qt:a=16,r=null;break e;case Mt:a=22;break e}throw Error(lt(130,null==e?e:typeof e,""))}return(t=Dc(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Fc(e,t,n,r){return(e=Dc(7,e,r,t)).lanes=n,e}function Bc(e,t,n,r){return(e=Dc(23,e,r,t)).elementType=zt,e.lanes=n,e}function Uc(e,t,n){return(e=Dc(6,e,null,t)).lanes=n,e}function Hc(e,t,n){return(t=Dc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Hr(0),this.expirationTimes=Hr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hr(0),this.mutableSourceEagerHydrationData=null}function Vc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:St,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function $c(e,t,n,r){var o=t.current,i=oc(),a=ic(o);e:if(n){t:{if(Qn(n=n._reactInternals)!==n||1!==n.tag)throw Error(lt(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ha(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(lt(171))}if(1===n.tag){var s=n.type;if(ha(s)){n=ya(n,s,l);break e}}n=l}else n=ua;return null===t.context?t.context=n:t.pendingContext=n,(t=ll(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),sl(o,t),ac(o,a,i),a}function Kc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Gc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zc(e,t){Gc(e,t),(e=e.alternate)&&Gc(e,t)}function Xc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Wc(e,t,null!=n&&!0===n.hydrate),t=Dc(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,il(t),e[Qi]=n.current,_i(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Kc(a);l.call(e)}}$c(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Xc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=Kc(a);s.call(e)}}fc((function(){$c(t,a,e,o)}))}return Kc(a)}function Yc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(t))throw Error(lt(200));return Vc(e,t,null,n)}Fu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||da.current)Ns=!0;else{if(0==(n&r)){switch(Ns=!1,t.tag){case 3:Hs(t),Wl();break;case 5:Tl(t);break;case 1:ha(t.type)&&va(t);break;case 4:Il(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;sa(Za,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Gs(e,t,n):(sa(ql,1&ql.current),null!==(t=Ys(e,t,n))?t.sibling:null);sa(ql,1&ql.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Js(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),sa(ql,ql.current),r)break;return null;case 23:case 24:return t.lanes=0,zs(e,t,n)}return Ys(e,t,n)}Ns=0!=(16384&e.flags)}else Ns=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=fa(t,ca.current),nl(t,n),o=rs(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ha(r)){var i=!0;va(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,il(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&fl(t,r,a,e),o.updater=hl,t.stateNode=o,o._reactInternals=t,vl(t,r,e,n),t=Us(null,t,r,!0,i,n)}else t.tag=0,qs(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Ac(e)?1:0;if(null!=e){if((e=e.$$typeof)===It)return 11;if(e===Nt)return 14}return 2}(o),e=Ga(o,e),i){case 0:t=Fs(null,t,o,e,n);break e;case 1:t=Bs(null,t,o,e,n);break e;case 11:t=Ms(null,t,o,e,n);break e;case 14:t=Ds(null,t,o,Ga(o.type,e),r,n);break e}throw Error(lt(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Fs(e,t,r,o=t.elementType===r?o:Ga(r,o),n);case 1:return r=t.type,o=t.pendingProps,Bs(e,t,r,o=t.elementType===r?o:Ga(r,o),n);case 3:if(Hs(t),r=t.updateQueue,null===e||null===r)throw Error(lt(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,al(e,t),cl(t,r,null,n),(r=t.memoizedState.element)===o)Wl(),t=Ys(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Al=Vi(t.stateNode.containerInfo.firstChild),Dl=t,i=zl=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Vl.push(i);for(n=Sl(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else qs(e,t,r,n),Wl();t=t.child}return t;case 5:return Tl(t),null===e&&Bl(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Bi(r,o)?a=null:null!==i&&Bi(r,i)&&(t.flags|=16),js(e,t),qs(e,t,a,n),t.child;case 6:return null===e&&Bl(t),null;case 13:return Gs(e,t,n);case 4:return Il(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Cl(t,null,r,n):qs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ms(e,t,r,o=t.elementType===r?o:Ga(r,o),n);case 7:return qs(e,t,t.pendingProps,n),t.child;case 8:case 12:return qs(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var l=t.type._context;if(sa(Za,l._currentValue),l._currentValue=i,null!==a)if(l=a.value,0==(i=si(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(a.children===o.children&&!da.current){t=Ys(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){a=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=ll(-1,n&-n)).tag=2,sl(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),tl(l.return,n),s.lanes|=n;break}u=u.next}}else a=10===l.tag&&l.type===t.type?null:l.child;if(null!==a)a.return=l;else for(a=l;null!==a;){if(a===t){a=null;break}if(null!==(l=a.sibling)){l.return=a.return,a=l;break}a=a.return}l=a}qs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,nl(t,n),r=r(o=rl(o,i.unstable_observedBits)),t.flags|=1,qs(e,t,r,n),t.child;case 14:return i=Ga(o=t.type,t.pendingProps),Ds(e,t,o,i=Ga(o.type,i),r,n);case 15:return As(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ga(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ha(r)?(e=!0,va(t)):e=!1,nl(t,n),gl(t,r,o),vl(t,r,o,n),Us(null,t,r,!0,e,n);case 19:return Js(e,t,n);case 23:case 24:return zs(e,t,n)}throw Error(lt(156,t.tag))},Xc.prototype.render=function(e){$c(e,this._internalRoot,null,null)},Xc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;$c(null,e,null,(function(){t[Qi]=null}))},nr=function(e){13===e.tag&&(ac(e,4,oc()),Zc(e,4))},rr=function(e){13===e.tag&&(ac(e,67108864,oc()),Zc(e,67108864))},or=function(e){if(13===e.tag){var t=oc(),n=ic(e);ac(e,n,t),Zc(e,n)}},ir=function(e,t){return t()},On=function(e,t,n){switch(t){case"input":if(rn(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=na(r);if(!o)throw Error(lt(90));Jt(r),rn(r,o)}}}break;case"textarea":dn(e,n);break;case"select":null!=(t=n.value)&&sn(e,!!n.multiple,t,!1)}},qn=pc,Mn=function(e,t,n,r,o){var i=Su;Su|=4;try{return Ha(98,e.bind(null,t,n,r,o))}finally{0===(Su=i)&&(ju(),Va())}},Dn=function(){0==(49&Su)&&(function(){if(null!==Xu){var e=Xu;Xu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,sc(e,Fa())}))}Va()}(),Rc())},An=function(e,t){var n=Su;Su|=2;try{return e(t)}finally{0===(Su=n)&&(ju(),Va())}};var ed={Events:[ea,ta,na,Tn,Nn,Rc,{current:!1}]},td={findFiberByHostInstance:Yi,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},nd={bundleType:td.bundleType,version:td.version,rendererPackageName:td.rendererPackageName,rendererConfig:td.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=er(e))?null:e.stateNode},findFiberByHostInstance:td.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rd.isDisabled&&rd.supportsFiber)try{xa=rd.inject(nd),Ea=rd}catch(yn){}}tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ed,tt.createPortal=Yc,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(lt(188));throw Error(lt(268,Object.keys(e)))}return null===(e=er(t))?null:e.stateNode},tt.flushSync=function(e,t){var n=Su;if(0!=(48&n))return e(t);Su|=1;try{if(e)return Ha(99,e.bind(null,t))}finally{Su=n,Va()}},tt.hydrate=function(e,t,n){if(!Qc(t))throw Error(lt(200));return Jc(null,e,t,!0,n)},tt.render=function(e,t,n){if(!Qc(t))throw Error(lt(200));return Jc(null,e,t,!1,n)},tt.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(lt(40));return!!e._reactRootContainer&&(fc((function(){Jc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Qi]=null}))})),!0)},tt.unstable_batchedUpdates=pc,tt.unstable_createPortal=function(e,t){return Yc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},tt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(lt(200));if(null==e||void 0===e._reactInternals)throw Error(lt(38));return Jc(e,t,n,!1,r)},tt.version="17.0.2",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 od=et.exports;function id(){return(id=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 ad(e){return(ad="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 ld(e){return(ld="function"==typeof Symbol&&"symbol"===ad(Symbol.iterator)?function(e){return ad(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":ad(e)})(e)}function sd(e){return e&&"object"===ld(e)&&e.constructor===Object}function ud(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?id({},e):e;return sd(e)&&sd(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(sd(t[o])&&o in e?r[o]=ud(e[o],t[o],n):r[o]=t[o])})),r}function cd(){}function dd(){}function pd(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."}dd.resetWarningCache=cd,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:dd,resetWarningCache:cd};n.PropTypes=n}();var fd={exports:{}},hd={},md=60103,gd=60106,yd=60107,vd=60108,bd=60114,xd=60109,Ed=60110,wd=60112,Cd=60113,Sd=60120,kd=60115,Ld=60116,Rd=60121,Od=60122,_d=60117,Id=60129,Pd=60131;if("function"==typeof Symbol&&Symbol.for){var Td=Symbol.for;md=Td("react.element"),gd=Td("react.portal"),yd=Td("react.fragment"),vd=Td("react.strict_mode"),bd=Td("react.profiler"),xd=Td("react.provider"),Ed=Td("react.context"),wd=Td("react.forward_ref"),Cd=Td("react.suspense"),Sd=Td("react.suspense_list"),kd=Td("react.memo"),Ld=Td("react.lazy"),Rd=Td("react.block"),Od=Td("react.server.block"),_d=Td("react.fundamental"),Id=Td("react.debug_trace_mode"),Pd=Td("react.legacy_hidden")}function Nd(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case md:switch(e=e.type){case yd:case bd:case vd:case Cd:case Sd:return e;default:switch(e=e&&e.$$typeof){case Ed:case wd:case Ld:case kd:case xd:return e;default:return t}}case gd:return t}}}var qd=xd,Md=md,Dd=wd,Ad=yd,zd=Ld,jd=kd,Fd=gd,Bd=bd,Ud=vd,Hd=Cd;hd.ContextConsumer=Ed,hd.ContextProvider=qd,hd.Element=Md,hd.ForwardRef=Dd,hd.Fragment=Ad,hd.Lazy=zd,hd.Memo=jd,hd.Portal=Fd,hd.Profiler=Bd,hd.StrictMode=Ud,hd.Suspense=Hd,hd.isAsyncMode=function(){return!1},hd.isConcurrentMode=function(){return!1},hd.isContextConsumer=function(e){return Nd(e)===Ed},hd.isContextProvider=function(e){return Nd(e)===xd},hd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===md},hd.isForwardRef=function(e){return Nd(e)===wd},hd.isFragment=function(e){return Nd(e)===yd},hd.isLazy=function(e){return Nd(e)===Ld},hd.isMemo=function(e){return Nd(e)===kd},hd.isPortal=function(e){return Nd(e)===gd},hd.isProfiler=function(e){return Nd(e)===bd},hd.isStrictMode=function(e){return Nd(e)===vd},hd.isSuspense=function(e){return Nd(e)===Cd},hd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===yd||e===bd||e===Id||e===vd||e===Cd||e===Sd||e===Pd||"object"==typeof e&&null!==e&&(e.$$typeof===Ld||e.$$typeof===kd||e.$$typeof===xd||e.$$typeof===Ed||e.$$typeof===wd||e.$$typeof===_d||e.$$typeof===Rd||e[0]===Od)},hd.typeOf=Nd,fd.exports=hd;var Wd="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Vd=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function $d(){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,u=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!==Vd.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(l).concat(r,"-").concat(e.key);return t.options.theme[Wd]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(l).concat(o).concat(u())}}function Kd(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 Gd(){return(Gd=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 Zd="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},Xd="object"===("undefined"==typeof window?"undefined":Zd(window))&&"object"===("undefined"==typeof document?"undefined":Zd(document))&&9===document.nodeType;function Qd(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 Jd(e,t,n){return t&&Qd(e.prototype,t),n&&Qd(e,n),e}function Yd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ep(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var tp={}.constructor;function np(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(np);if(e.constructor!==tp)return e;var t={};for(var n in e)t[n]=np(e[n]);return t}function rp(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=np(t);return r.plugins.onCreateRule(e,o,n)||(e[0],null)}var op=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},ip=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+=op(e[r]," ");else n=op(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function ap(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function lp(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 u in s){var c=s[u];null!=c&&(r&&(r+="\n"),r+=""+ap(u+": "+ip(c)+";",i))}}else for(var d in a){var p=a[d];null!=p&&(r&&(r+="\n"),r+=""+ap(d+": "+ip(p)+";",i))}for(var f in t){var h=t[f];null!=h&&"fallbacks"!==f&&(r&&(r+="\n"),r+=""+ap(f+": "+ip(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),ap(e+" {"+r,--i)+ap("}",i)):r}var sp=/([[\].#*$><+~=|^:(),"'`\s])/g,up="undefined"!=typeof CSS&&CSS.escape,cp=function(e){return up?up(e):e.replace(sp,"\\$1")},dp=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}(),pp=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(ep(ep(o)),l),o.selectorText="."+cp(o.id)),o}Yd(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]=ip(n))}return e},n.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?Gd({},e,{allowEmpty:!0}):e;return lp(this.selectorText,this.style,n)},Jd(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;n&&t&&(t.setSelector(n,e)||t.replaceRule(n,this))}},get:function(){return this.selectorText}}]),t}(dp),fp={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new pp(e,t,n)}},hp={indent:1,children:!0},mp=/@([\w-]+)/,gp=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(mp);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new jp(Gd({},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=hp),null==e.indent&&(e.indent=hp.indent),null==e.children&&(e.children=hp.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),yp=/@media|@supports\s+/,vp={onCreateRule:function(e,t,n){return yp.test(e)?new gp(e,t,n):null}},bp={indent:1,children:!0},xp=/@keyframes\s+([\w-]+)/,Ep=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(xp);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:cp(a(this,i)),this.rules=new jp(Gd({},n,{parent:this})),t)this.rules.add(l,t[l],Gd({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=bp),null==e.indent&&(e.indent=bp.indent),null==e.children&&(e.children=bp.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}(),wp=/@keyframes\s+/,Cp=/\$([\w-]+)/g,Sp=function(e,t){return"string"==typeof e?e.replace(Cp,(function(e,n){return n in t?t[n]:e})):e},kp=function(e,t,n){var r=e[t],o=Sp(r,n);o!==r&&(e[t]=o)},Lp={onCreateRule:function(e,t,n){return"string"==typeof e&&wp.test(e)?new Ep(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&kp(e,"animation-name",n.keyframes),"animation"in e&&kp(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 Sp(e,r.keyframes);default:return e}}},Rp=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 Yd(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?Gd({},e,{allowEmpty:!0}):e;return lp(this.key,this.style,n)},t}(dp),Op={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Rp(e,t,n):null}},_p=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+=lp(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return lp(this.at,this.style,e)},e}(),Ip=/@font-face/,Pp={onCreateRule:function(e,t,n){return Ip.test(e)?new _p(e,t,n):null}},Tp=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 lp(this.key,this.style,e)},e}(),Np={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Tp(e,t,n):null}},qp=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}(),Mp={"@charset":!0,"@import":!0,"@namespace":!0},Dp=[fp,vp,Lp,Op,Pp,Np,{onCreateRule:function(e,t,n){return e in Mp?new qp(e,t,n):null}}],Ap={process:!0},zp={force:!0,process:!0},jp=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,u=r.scoped,c=Gd({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:l,generateId:s,scoped:u,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&&(c.selector="."+cp(this.classes[d]));var p=rp(d,t,c);if(!p)return null;this.register(p);var f=void 0===c.index?this.index.length:c.index;return this.index.splice(f,0,p),p},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 pp?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Ep&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof pp?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Ep&&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=Ap);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 u in i.onProcessStyle(l.style,l,a),l.style){var c=l.style[u];c!==s[u]&&l.prop(u,c,zp)}for(var d in s){var p=l.style[d],f=s[d];null==p&&p!==f&&l.prop(d,null,zp)}}}},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}(),Fp=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=Gd({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new jp(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}(),Bp=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}(),Up=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},Jd(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Hp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Wp="2f1acc6c3a606b082e5eef5e54414ffb";null==Hp[Wp]&&(Hp[Wp]=0);var Vp=Hp[Wp]++,$p=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")+Vp+o+t:i+n.key+"-"+Vp+(o?"-"+o:"")+"-"+t}},Kp=function(e){var t;return function(){return t||(t=e()),t}},Gp=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Zp=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=ip(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){}},Qp=function(e,t){return e.selectorText=t,e.selectorText===t},Jp=Kp((function(){return document.querySelector("head")})),Yp=Kp((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ef=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},tf=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},nf=function(){function e(e){this.getPropertyValue=Gp,this.setProperty=Zp,this.removeProperty=Xp,this.setSelector=Qp,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&Up.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=Yp();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=function(e){var t=Up.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=Jp(),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}(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 Jp().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=tf(n,t);if(!1===(o=ef(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=tf(n,t),s=ef(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 Fp&&(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}(),rf=0,of=function(){function e(e){this.id=rf++,this.version="10.5.1",this.plugins=new Bp,this.options={id:{minify:!1},createGenerateId:$p,Renderer:Xd?nf:null,plugins:[]},this.generateId=$p({minify:!1});for(var t=0;t<Dp.length;t++)this.plugins.use(Dp[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=Gd({},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===Up.index?0:Up.index+1);var r=new Fp(e,Gd({},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(),Up.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=Gd({},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=rp(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}(),af="object"==typeof CSS&&null!=CSS&&"number"in CSS,lf=function(e){return new of(e)};lf();var sf=Date.now(),uf="fnValues"+sf,cf="fnStyle"+ ++sf;function df(){return(df=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 pf="@global",ff="@global ",hf=function(){function e(e,t,n){for(var r in this.type="global",this.at=pf,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new jp(df({},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}(),mf=function(){function e(e,t,n){this.type="global",this.at=pf,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(ff.length);this.rule=n.jss.createRule(r,t,df({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),gf=/\s*,\s*/g;function yf(e,t){for(var n=e.split(gf),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function vf(){return(vf=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=/\s*,\s*/g,xf=/&/g,Ef=/\$([\w-]+)/g;function wf(){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(bf),r=e.split(bf),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(xf,a):a+" "+s}return o}function n(e,t,n){if(n)return vf({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=vf({},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,u=s.options.parent;for(var c in r){var d=-1!==c.indexOf("&"),p="@"===c[0];if(d||p){if(a=n(s,u,a),d){var f=t(c,s.selector);l||(l=e(u,i)),f=f.replace(Ef,l),u.addRule(f,r[c],vf({},a,{selector:f}))}else p&&u.addRule(c,{},a).addRule(s.key,r[c],{selector:s.selector});delete r[c]}}return r}}}var Cf=/[A-Z]/g,Sf=/^ms-/,kf={};function Lf(e){return"-"+e.toLowerCase()}function Rf(e){if(kf.hasOwnProperty(e))return kf[e];var t=e.replace(Cf,Lf);return kf[e]=Sf.test(t)?"-"+t:t}function Of(e){var t={};for(var n in e)t[0===n.indexOf("--")?n:Rf(n)]=e[n];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Of):t.fallbacks=Of(e.fallbacks)),t}var _f=af&&CSS?CSS.px:"px",If=af&&CSS?CSS.ms:"ms",Pf=af&&CSS?CSS.percent:"%";function Tf(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 Nf=Tf({"animation-delay":If,"animation-duration":If,"background-position":_f,"background-position-x":_f,"background-position-y":_f,"background-size":_f,border:_f,"border-bottom":_f,"border-bottom-left-radius":_f,"border-bottom-right-radius":_f,"border-bottom-width":_f,"border-left":_f,"border-left-width":_f,"border-radius":_f,"border-right":_f,"border-right-width":_f,"border-top":_f,"border-top-left-radius":_f,"border-top-right-radius":_f,"border-top-width":_f,"border-width":_f,"border-block":_f,"border-block-end":_f,"border-block-end-width":_f,"border-block-start":_f,"border-block-start-width":_f,"border-block-width":_f,"border-inline":_f,"border-inline-end":_f,"border-inline-end-width":_f,"border-inline-start":_f,"border-inline-start-width":_f,"border-inline-width":_f,"border-start-start-radius":_f,"border-start-end-radius":_f,"border-end-start-radius":_f,"border-end-end-radius":_f,margin:_f,"margin-bottom":_f,"margin-left":_f,"margin-right":_f,"margin-top":_f,"margin-block":_f,"margin-block-end":_f,"margin-block-start":_f,"margin-inline":_f,"margin-inline-end":_f,"margin-inline-start":_f,padding:_f,"padding-bottom":_f,"padding-left":_f,"padding-right":_f,"padding-top":_f,"padding-block":_f,"padding-block-end":_f,"padding-block-start":_f,"padding-inline":_f,"padding-inline-end":_f,"padding-inline-start":_f,"mask-position-x":_f,"mask-position-y":_f,"mask-size":_f,height:_f,width:_f,"min-height":_f,"max-height":_f,"min-width":_f,"max-width":_f,bottom:_f,left:_f,top:_f,right:_f,inset:_f,"inset-block":_f,"inset-block-end":_f,"inset-block-start":_f,"inset-inline":_f,"inset-inline-end":_f,"inset-inline-start":_f,"box-shadow":_f,"text-shadow":_f,"column-gap":_f,"column-rule":_f,"column-rule-width":_f,"column-width":_f,"font-size":_f,"font-size-delta":_f,"letter-spacing":_f,"text-decoration-thickness":_f,"text-indent":_f,"text-stroke":_f,"text-stroke-width":_f,"word-spacing":_f,motion:_f,"motion-offset":_f,outline:_f,"outline-offset":_f,"outline-width":_f,perspective:_f,"perspective-origin-x":Pf,"perspective-origin-y":Pf,"transform-origin":Pf,"transform-origin-x":Pf,"transform-origin-y":Pf,"transform-origin-z":Pf,"transition-delay":If,"transition-duration":If,"vertical-align":_f,"flex-basis":_f,"shape-margin":_f,size:_f,gap:_f,grid:_f,"grid-gap":_f,"row-gap":_f,"grid-row-gap":_f,"grid-column-gap":_f,"grid-template-rows":_f,"grid-template-columns":_f,"grid-auto-rows":_f,"grid-auto-columns":_f,"box-shadow-x":_f,"box-shadow-y":_f,"box-shadow-blur":_f,"box-shadow-spread":_f,"font-line-height":_f,"text-shadow-x":_f,"text-shadow-y":_f,"text-shadow-blur":_f});function qf(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=qf(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=qf(o,t[o],n);else for(var i in t)t[i]=qf(e+"-"+i,t[i],n);else if("number"==typeof t&&!Number.isNaN(t)){var a=n[e]||Nf[e];return!a||0===t&&a===_f?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function Mf(e){void 0===e&&(e={});var t=Tf(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=qf(r,e[r],t);return e},onChangeValue:function(e,n){return qf(n,e,t)}}}function Df(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}var Af="",zf="",jf="",Ff="",Bf=Xd&&"ontouchstart"in document.documentElement;if(Xd){var Uf={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Hf=document.createElement("p").style;for(var Wf in Uf)if(Wf+"Transform"in Hf){Af=Wf,zf=Uf[Wf];break}"Webkit"===Af&&"msHyphens"in Hf&&(Af="ms",zf=Uf.ms,Ff="edge"),"Webkit"===Af&&"-apple-trailing-word"in Hf&&(jf="apple")}var Vf=Af,$f=zf,Kf=jf,Gf=Ff,Zf=Bf,Xf={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Vf?"-webkit-"+e:$f+e)}},Qf={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Vf?$f+"print-"+e:e)}},Jf=/[-\s]+(.)?/g;function Yf(e,t){return t?t.toUpperCase():""}function eh(e){return e.replace(Jf,Yf)}function th(e){return eh("-"+e)}var nh,rh={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Vf){var n="mask-image";if(eh(n)in t)return e;if(Vf+th(n)in t)return $f+e}return e}},oh={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Kf||Zf?e:$f+e)}},ih={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:$f+e)}},ah={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:$f+e)}},lh={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Vf||"ms"===Vf&&"edge"!==Gf?$f+e:e)}},sh={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Vf||"ms"===Vf||"apple"===Kf?$f+e:e)}},uh={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Vf?"WebkitColumn"+th(e)in t&&$f+"column-"+e:"Moz"===Vf&&"page"+th(e)in t&&"page-"+e)}},ch={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Vf)return e;var n=e.replace("-inline","");return Vf+th(n)in t&&$f+n}},dh={supportedProperty:function(e,t){return eh(e)in t&&e}},ph={supportedProperty:function(e,t){var n=th(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Vf+n in t?$f+e:"Webkit"!==Vf&&"Webkit"+n in t&&"-webkit-"+e}},fh={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Vf?""+$f+e:e)}},hh={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Vf?$f+"scroll-chaining":e)}},mh={"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"},gh={supportedProperty:function(e,t){var n=mh[e];return!!n&&Vf+th(n)in t&&$f+n}},yh={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(yh),bh=function(e){return $f+e},xh=[Xf,Qf,rh,oh,ih,ah,lh,sh,uh,ch,dh,ph,fh,hh,gh,{supportedProperty:function(e,t,n){var r=n.multiple;if(vh.indexOf(e)>-1){var o=yh[e];if(!Array.isArray(o))return Vf+th(o)in t&&$f+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(Vf+th(o[0])in t))return!1;return o.map(bh)}return!1}}],Eh=xh.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),wh=xh.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,function(e){return function(e){if(Array.isArray(e))return Df(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 Df(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)?Df(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.")}()}(t.noPrefill)),e}),[]),Ch={};if(Xd){nh=document.createElement("p");var Sh=window.getComputedStyle(document.documentElement,"");for(var kh in Sh)isNaN(kh)||(Ch[Sh[kh]]=Sh[kh]);wh.forEach((function(e){return delete Ch[e]}))}function Lh(e,t){if(void 0===t&&(t={}),!nh)return e;if(null!=Ch[e])return Ch[e];"transition"!==e&&"transform"!==e||(t[e]=e in nh.style);for(var n=0;n<Eh.length&&(Ch[e]=Eh[n](e,nh.style,t),!Ch[e]);n++);try{nh.style[e]=""}catch(e){return!1}return Ch[e]}var Rh,Oh={},_h={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ih=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Ph(e,t,n){return"var"===t?"var":"all"===t?"all":"all"===n?", all":(t?Lh(t):", "+Lh(n))||t||n}function Th(e,t){var n=t;if(!Rh||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Oh[r])return Oh[r];try{Rh.style[e]=n}catch(e){return Oh[r]=!1,!1}if(_h[e])n=n.replace(Ih,Ph);else if(""===Rh.style[e]&&("-ms-flex"===(n=$f+n)&&(Rh.style[e]="-ms-flexbox"),Rh.style[e]=n,""===Rh.style[e]))return Oh[r]=!1,!1;return Rh.style[e]="",Oh[r]=n,Oh[r]}function Nh(){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=Lh(n);i&&i!==n&&(o=!0);var a=!1,l=Th(i,ip(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"===Vf?e:"@"+$f+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Th(t,ip(e))||e}}}function qh(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=rp(e,{},n);return r[cf]=t,r},onProcessStyle:function(e,t){if(uf in t||cf 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[uf]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[cf];i&&(o.style=i(e)||{});var a=o[uf];if(a)for(var l in a)o.prop(l,a[l](e),r)}},{onCreateRule:function(e,t,n){if(!e)return null;if(e===pf)return new hf(e,t,n);if("@"===e[0]&&e.substr(0,ff.length)===ff)return new mf(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[pf]:null;if(o){for(var i in o)t.addRule(i,o[i],df({},n,{selector:yf(i,e.selector)}));delete r[pf]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,pf.length)===pf){var i=yf(o.substr(pf.length),e.selector);t.addRule(i,r[o],df({},n,{selector:i})),delete r[o]}}(e,t))}},wf(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Of(e[t]);return e}return Of(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Rf(t);return t===r?e:(n.prop(r,e),null)}},Mf(),"undefined"==typeof window?null:Nh(),(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 Mh(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 Dh(){return(Dh=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 Ah(){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=Dh({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}Xd&&(Rh=document.createElement("p"));var zh=function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},jh=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},Fh=Ye.createContext(null);function Bh(){return Ye.useContext(Fh)}var Uh,Hh=lf(qh()),Wh={disableGeneration:!1,generateClassName:$d(),jss:Hh,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Vh=Ye.createContext(Wh);function $h(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,o=e.disableGeneration,i=void 0!==o&&o,a=Mh(e,["children","injectFirst","disableGeneration"]),l=Dh({},Ye.useContext(Vh),{disableGeneration:i},a);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!Uh){var s=document.head;Uh=document.createComment("mui-inject-first"),s.insertBefore(Uh,s.firstChild)}l.jss=lf({plugins:qh().plugins,insertionPoint:Uh})}return Ye.createElement(Vh.Provider,{value:l},t)}var Kh=-1e9;function Gh(){return Kh+=1}var Zh={};function Xh(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=Dh({},o);return Object.keys(i).forEach((function(e){a[e]=ud(a[e],i[e])})),a},options:{}}}function Qh(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=Ah({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function Jh(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var l=jh(o.sheetsManager,i,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},zh(o.sheetsManager,i,r,l));var s=Dh({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=o.sheetsRegistry;if(0===l.refs){var c;o.sheetsCache&&(c=jh(o.sheetsCache,i,r));var d=i.create(r,a);c||((c=o.jss.createStyleSheet(d,Dh({link:!1},s))).attach(),o.sheetsCache&&zh(o.sheetsCache,i,r,c)),u&&u.add(c),l.staticSheet=c,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 p=o.jss.createStyleSheet(l.dynamicStyles,Dh({link:!0},s));p.update(t),p.attach(),n.dynamicSheet=p,n.classes=Ah({baseClasses:l.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else n.classes=l.staticSheet.classes;l.refs+=1}}function Yh(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function em(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=jh(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(function(e,t,n){e.get(t).delete(n)}(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 tm(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 nm(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?Zh:i,l=Mh(t,["name","classNamePrefix","Component","defaultTheme"]),s=Xh(e),u=n||r||"makeStyles";s.options={index:Gh(),name:n,meta:u,classNamePrefix:u};var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Bh()||a,r=Dh({},Ye.useContext(Vh),l),i=Ye.useRef(),u=Ye.useRef();tm((function(){var o={name:n,state:{},stylesCreator:s,stylesOptions:r,theme:t};return Jh(o,e),u.current=!1,i.current=o,function(){em(o)}}),[t,s]),Ye.useEffect((function(){u.current&&Yh(i.current,e),u.current=!0}));var c=Qh(i.current,e.classes,o);return c};return c}function rm(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=rm(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function om(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=rm(e))&&(r&&(r+=" "),r+=t);return r}var im=fd.exports,am={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},lm={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},sm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},um={};function cm(e){return im.isMemo(e)?sm:um[e.$$typeof]||am}um[im.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},um[im.Memo]=sm;var dm=Object.defineProperty,pm=Object.getOwnPropertyNames,fm=Object.getOwnPropertySymbols,hm=Object.getOwnPropertyDescriptor,mm=Object.getPrototypeOf,gm=Object.prototype,ym=function e(t,n,r){if("string"!=typeof n){if(gm){var o=mm(n);o&&o!==gm&&e(t,o,r)}var i=pm(n);fm&&(i=i.concat(fm(n)));for(var a=cm(t),l=cm(n),s=0;s<i.length;++s){var u=i[s];if(!(lm[u]||r&&r[u]||l&&l[u]||a&&a[u])){var c=hm(n,u);try{dm(t,u,c)}catch(e){}}}}return t};function vm(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function bm(e){var t=e.children,n=e.theme,r=Bh(),o=Ye.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):Dh({},e,t)}(r,n);return null!=e&&(e[Wd]=null!==r),e}),[n,r]);return Ye.createElement(Fh.Provider,{value:o},t)}function xm(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 Em(e){if(e.type)return e;if("#"===e.charAt(0))return Em(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(pd(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 wm(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 Cm(e){var t="hsl"===(e=Em(e)).type?Em(function(e){var t=(e=Em(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])),wm({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 Sm(e,t){return e=Em(e),t=xm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,wm(e)}function km(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lm(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 Rm(){return(Rm=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 Om=["xs","sm","md","lg","xl"];function _m(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=Lm(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 u(e,t){var r=Om.indexOf(t);return r===Om.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[Om[r+1]]?n[Om[r+1]]:t)-a/100).concat(o,")")}return Rm({keys:Om,values:n,up:s,down:function(e){var t=Om.indexOf(e)+1,r=n[Om[t]];return t===Om.length?s("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:u,only:function(e){return u(e,e)},width:function(e){return n[e]}},l)}function Im(e,t,n){var r;return Rm({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")),Rm({paddingLeft:t(2),paddingRight:t(2)},n,km({},e.up("sm"),Rm({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},km(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),km(r,e.up("sm"),{minHeight:64}),r)},n)}var Pm={black:"#000",white:"#fff"},Tm={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"},Nm={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:Pm.white,default:Tm[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}},qm={text:{primary:Pm.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:Tm[800],default:"#303030"},action:{active:Pm.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 Mm(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=Em(e),t=xm(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 wm(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=Em(e),t=xm(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 wm(e)}(e.main,i)))}function Dm(e){var t=e.primary,n=void 0===t?{light:"#7986cb",main:"#3f51b5",dark:"#303f9f"}:t,r=e.secondary,o=void 0===r?{light:"#ff4081",main:"#f50057",dark:"#c51162"}:r,i=e.error,a=void 0===i?{light:"#e57373",main:"#f44336",dark:"#d32f2f"}:i,l=e.warning,s=void 0===l?{light:"#ffb74d",main:"#ff9800",dark:"#f57c00"}:l,u=e.info,c=void 0===u?{light:"#64b5f6",main:"#2196f3",dark:"#1976d2"}:u,d=e.success,p=void 0===d?{light:"#81c784",main:"#4caf50",dark:"#388e3c"}:d,f=e.type,h=void 0===f?"light":f,m=e.contrastThreshold,g=void 0===m?3:m,y=e.tonalOffset,v=void 0===y?.2:y,b=Lm(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){return function(e,t){var n=Cm(e),r=Cm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,qm.text.primary)>=g?qm.text.primary:Nm.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=Rm({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(pd(4,t));if("string"!=typeof e.main)throw new Error(pd(5,JSON.stringify(e.main)));return Mm(e,"light",n,v),Mm(e,"dark",r,v),e.contrastText||(e.contrastText=x(e.main)),e},w={dark:qm,light:Nm};return ud(Rm({common:Pm,type:h,primary:E(n),secondary:E(o,"A400","A200","A700"),error:E(a),warning:E(s),info:E(c),success:E(p),grey:Tm,contrastThreshold:g,getContrastText:x,augmentColor:E,tonalOffset:v},w[h]),b)}function Am(e){return Math.round(1e5*e)/1e5}function zm(e){return Am(e)}var jm={textTransform:"uppercase"},Fm='"Roboto", "Helvetica", "Arial", sans-serif';function Bm(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?Fm:r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,u=n.fontWeightRegular,c=void 0===u?400:u,d=n.fontWeightMedium,p=void 0===d?500:d,f=n.fontWeightBold,h=void 0===f?700:f,m=n.htmlFontSize,g=void 0===m?16:m,y=n.allVariants,v=n.pxToRem,b=Lm(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,E=v||function(e){return"".concat(e/g*x,"rem")},w=function(e,t,n,r,i){return Rm({fontFamily:o,fontWeight:e,fontSize:E(t),lineHeight:n},o===Fm?{letterSpacing:"".concat(Am(r/t),"em")}:{},i,y)},C={h1:w(s,96,1.167,-1.5),h2:w(s,60,1.2,-.5),h3:w(c,48,1.167,0),h4:w(c,34,1.235,.25),h5:w(c,24,1.334,0),h6:w(p,20,1.6,.15),subtitle1:w(c,16,1.75,.15),subtitle2:w(p,14,1.57,.1),body1:w(c,16,1.5,.15),body2:w(c,14,1.43,.15),button:w(p,14,1.75,.4,jm),caption:w(c,12,1.66,.4),overline:w(c,12,2.66,1,jm)};return ud(Rm({htmlFontSize:g,pxToRem:E,round:zm,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:c,fontWeightMedium:p,fontWeightBold:h},C),b,{clone:!1})}function Um(){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 Hm=["none",Um(0,2,1,-1,0,1,1,0,0,1,3,0),Um(0,3,1,-2,0,2,2,0,0,1,5,0),Um(0,3,3,-2,0,3,4,0,0,1,8,0),Um(0,2,4,-1,0,4,5,0,0,1,10,0),Um(0,3,5,-1,0,5,8,0,0,1,14,0),Um(0,3,5,-1,0,6,10,0,0,1,18,0),Um(0,4,5,-2,0,7,10,1,0,2,16,1),Um(0,5,5,-3,0,8,10,1,0,3,14,2),Um(0,5,6,-3,0,9,12,1,0,3,16,2),Um(0,6,6,-3,0,10,14,1,0,4,18,3),Um(0,6,7,-4,0,11,15,1,0,4,20,3),Um(0,7,8,-4,0,12,17,2,0,5,22,4),Um(0,7,8,-4,0,13,19,2,0,5,24,4),Um(0,7,9,-4,0,14,21,2,0,5,26,4),Um(0,8,9,-5,0,15,22,2,0,6,28,5),Um(0,8,10,-5,0,16,24,2,0,6,30,5),Um(0,8,11,-5,0,17,26,2,0,6,32,5),Um(0,9,11,-5,0,18,28,2,0,7,34,6),Um(0,9,12,-6,0,19,29,2,0,7,36,6),Um(0,10,13,-6,0,20,31,3,0,8,38,7),Um(0,10,13,-6,0,21,33,3,0,8,40,7),Um(0,10,14,-6,0,22,35,3,0,8,42,7),Um(0,11,14,-7,0,23,36,3,0,9,44,8),Um(0,11,15,-7,0,24,38,3,0,9,46,8)],Wm={borderRadius:4};function Vm(){return(Vm=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 $m(e){return($m="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 Km(e){return(Km="function"==typeof Symbol&&"symbol"===$m(Symbol.iterator)?function(e){return $m(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":$m(e)})(e)}function Gm(e,t){return t?ud(e,t,{clone:!1}):e}var Zm={xs:0,sm:600,md:960,lg:1280,xl:1920},Xm={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Zm[e],"px)")}};function Qm(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||Xm;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===Km(t)){var o=e.theme.breakpoints||Xm;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function Jm(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Ym(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=Jm(e.theme,o)||{};return Qm(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Jm(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 eg(){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?Gm(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function tg(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var ng=eg(Ym({prop:"border",themeKey:"borders",transform:tg}),Ym({prop:"borderTop",themeKey:"borders",transform:tg}),Ym({prop:"borderRight",themeKey:"borders",transform:tg}),Ym({prop:"borderBottom",themeKey:"borders",transform:tg}),Ym({prop:"borderLeft",themeKey:"borders",transform:tg}),Ym({prop:"borderColor",themeKey:"palette"}),Ym({prop:"borderRadius",themeKey:"shape"}));function rg(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var og=eg(Ym({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Ym({prop:"display"}),Ym({prop:"overflow"}),Ym({prop:"textOverflow"}),Ym({prop:"visibility"}),Ym({prop:"whiteSpace"})),ig=eg(Ym({prop:"flexBasis"}),Ym({prop:"flexDirection"}),Ym({prop:"flexWrap"}),Ym({prop:"justifyContent"}),Ym({prop:"alignItems"}),Ym({prop:"alignContent"}),Ym({prop:"order"}),Ym({prop:"flex"}),Ym({prop:"flexGrow"}),Ym({prop:"flexShrink"}),Ym({prop:"alignSelf"}),Ym({prop:"justifyItems"}),Ym({prop:"justifySelf"})),ag=eg(Ym({prop:"gridGap"}),Ym({prop:"gridColumnGap"}),Ym({prop:"gridRowGap"}),Ym({prop:"gridColumn"}),Ym({prop:"gridRow"}),Ym({prop:"gridAutoFlow"}),Ym({prop:"gridAutoColumns"}),Ym({prop:"gridAutoRows"}),Ym({prop:"gridTemplateColumns"}),Ym({prop:"gridTemplateRows"}),Ym({prop:"gridTemplateAreas"}),Ym({prop:"gridArea"})),lg=eg(Ym({prop:"color",themeKey:"palette"}),Ym({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),sg=eg(Ym({prop:"position"}),Ym({prop:"zIndex",themeKey:"zIndex"}),Ym({prop:"top"}),Ym({prop:"right"}),Ym({prop:"bottom"}),Ym({prop:"left"})),ug=Ym({prop:"boxShadow",themeKey:"shadows"});function cg(e){return e<=1?"".concat(100*e,"%"):e}var dg=Ym({prop:"width",transform:cg}),pg=Ym({prop:"maxWidth",transform:cg}),fg=Ym({prop:"minWidth",transform:cg}),hg=Ym({prop:"height",transform:cg}),mg=Ym({prop:"maxHeight",transform:cg}),gg=Ym({prop:"minHeight",transform:cg});Ym({prop:"size",cssProperty:"width",transform:cg}),Ym({prop:"size",cssProperty:"height",transform:cg});var yg=eg(dg,pg,fg,hg,mg,gg,Ym({prop:"boxSizing"})),vg={m:"margin",p:"padding"},bg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Eg=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){if(e.length>2){if(!xg[e])return[e];e=xg[e]}var t=function(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),2!==n.length);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(e.split("")),n=t[0],r=t[1],o=vg[n],i=bg[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]}(e)),t[e]}}(),wg=["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 Cg(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 Sg(e){var t=Cg(e.theme);return Object.keys(e).map((function(n){if(-1===wg.indexOf(n))return null;var r=function(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}),{})}}(Eg(n),t),o=e[n];return Qm(e,o,r)})).reduce(Gm,{})}Sg.propTypes={},Sg.filterProps=wg;var kg=eg(Ym({prop:"fontFamily",themeKey:"typography"}),Ym({prop:"fontSize",themeKey:"typography"}),Ym({prop:"fontStyle",themeKey:"typography"}),Ym({prop:"fontWeight",themeKey:"typography"}),Ym({prop:"letterSpacing"}),Ym({prop:"lineHeight"}),Ym({prop:"textAlign"}));function Lg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Cg({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 Rg={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)"},Og={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _g(e){return"".concat(Math.round(e),"ms")}var Ig={easing:Rg,duration:Og,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?Og.standard:n,o=t.easing,i=void 0===o?Rg.easeInOut:o,a=t.delay,l=void 0===a?0:a;return Lm(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:_g(r)," ").concat(i," ").concat("string"==typeof l?l:_g(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))}},Pg={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Tg(){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,u=void 0===s?{}:s,c=Lm(e,["breakpoints","mixins","palette","spacing","typography"]),d=Dm(a),p=_m(n),f=Lg(l),h=ud({breakpoints:p,direction:"ltr",mixins:Im(p,f,o),overrides:{},palette:d,props:{},shadows:Hm,typography:Bm(d,u),spacing:f,shape:Wm,transitions:Ig,zIndex:Pg},c),m=arguments.length,g=new Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return g.reduce((function(e,t){return ud(e,t)}),h)}var Ng=Tg();function qg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return nm(e,Rm({defaultTheme:Ng},t))}function Mg(){return Bh()||Ng}function Dg(e,t){return 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=Mh(t,["defaultTheme","withTheme","name"]),s=a,u=nm(e,Dh({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:s},l)),c=Ye.forwardRef((function(e,t){e.classes;var o,l=e.innerRef,s=Mh(e,["classes","innerRef"]),c=u(Dh({},n.defaultProps,e)),d=s;return("string"==typeof a||i)&&(o=Bh()||r,a&&(d=Kd({theme:o,name:a,props:s})),i&&!d.theme&&(d.theme=o)),Ye.createElement(n,Dh({ref:l||t,classes:c},d))}));return ym(c,n),c}}(e,Rm({defaultTheme:Ng},t))}var Ag={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 zg="#009845",jg="#3F8AB3",Fg="#ffffff",Bg="#404040",Ug="#333333",Hg="#1A1A1A",Wg={type:"light",palette:{primary:{main:Bg,contrastText:Fg},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Bg,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:Bg,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:Fg,default:Fg,lightest:Fg,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:jg,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:zg,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:Fg,alternativeContrastText:Bg,excludedContrastText:Bg},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)"}}},Vg={type:"dark",palette:{primary:{main:Ug,contrastText:Fg},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Fg,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:Fg,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:Bg,lighter:Ug,darker:"#262626",darkest:Hg},custom:{focusBorder:jg,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:zg,alternative:Ug,excluded:Hg,mainContrastText:Fg,alternativeContrastText:Fg,excludedContrastText:Fg},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)"}}},$g={},Kg=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 Gg(e){let t=Wg,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Vg));const o=JSON.stringify(t);if($g[o])return $g[o];const i={palette:n(n({type:t.type},Ag.palette),t.palette),typography:n({},Ag.typography),shadows:Ag.shadows,props:n({},Ag.props),shape:n({},Ag.shape)};return $g[o]=Tg(n(n({},i),{},{overrides:Kg(i)})),$g[o].name=r,$g[o]}var Zg=Ye.createContext({language:null,theme:null,translator:null,constraints:{}}),Xg=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]=ge.exports.useState(n);return ge.exports.useEffect((()=>(r.push(e),()=>{const t=r.indexOf(e);r.splice(t,1)})),[e]),[o]};return[i,o]};const[Qg,Jg]=Xg({}),[Yg,ey]=Xg({}),[ty,ny]=Xg({}),[ry,oy]=Xg({}),[iy,ay]=Xg({}),[,ly]=Xg({}),sy=e=>{let{type:t,value:n}=e;const r=ly.get(n.id);ly.set(n.id,{});const o=()=>{ey.clear(n.id),ay.set(n.id,{}),ay.dispatch(!0)},i=()=>{n.removeListener("changed",o),Jg.clear(n.id),ey.clear(n.id),ny.clear(n.id),oy.clear(n.id),ay.clear(n.id),ly.clear(n.id)};switch(t){case"SET":r||(n.on("changed",o),n.once("closed",(()=>{i()})))}return i},[uy,cy]=Xg({},sy),dy=(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 py(e,t){const n=e?"".concat(e.id):null,[r]=Qg(),[o,i]=ge.exports.useReducer(dy,n?r.get(n):null),[a]=iy(),[l]=Yg();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const u=async o=>{let a=s[t];(!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),u(!0))}},c={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,u()}};return ge.exports.useEffect((()=>{e&&u()}),[e,a.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},c]}function fy(e){return py(e,"getLayout")}function hy(e){return py(e,"getAppLayout")}function my(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=uy(),[o]=ty(),[i,a]=ge.exports.useState();let l;n&&(l=o.get(n));for(var s=arguments.length,u=new Array(s>2?s-2:0),c=2;c<s;c++)u[c-2]=arguments[c];return ge.exports.useEffect((()=>{t&&(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,...u]),[i]}const gy={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function yy(e){return my(gy,e)}function vy(e){const[t]=yy(e),[n]=fy(t),[r]=hy(e),[o,i]=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})),i({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[o,t,n]}const[by,xy]=Xg({}),[Ey,wy]=Xg({}),[Cy,Sy]=Xg({}),[ky,Ly]=Xg({});function Ry(e){if(!e.session)return[];const[t,n,r]=vy(e),[o]=by(),i=e?e.id:null;let a=o.get(i);return ge.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=Ly.get(o);t&&(await t.endSelections(e),Ly.clear(o),Sy.get(t.id).emit("deactivated"))},a={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===Ly.get(o))return;i(r),Ly.set(o,e);const a=Array.isArray(n)?n:[n],l=async n=>{try{await e.beginSelections(a),Ly.set(o,e)}catch(e){6003!==e.code||n?Ly.clear(o):(await t.abortModal(r),l(!0))}};await l()},end:i};return wy.set(o,a),{model:t,isInModal:()=>!!Ly.get(o),isModal:e=>e?Ly.get(o)===e:!!Ly.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 Oy=0;const _y=ge.exports.forwardRef(((e,t)=>{let{initialContext:n,app:r}=e;const[o]=Ry(r),[i,a]=ge.exports.useState(n),[l,s]=ge.exports.useState(),{theme:u,generator:c}=ge.exports.useMemo((()=>({theme:Gg(l),generator:$d({productionPrefix:"".concat("70e2"),disableGlobal:!0,seed:"njs-".concat(Oy++)})})),[l]),[d,p]=ge.exports.useState([]);return ge.exports.useImperativeHandle(t,(()=>({addComponent(e){p([...d,e])},removeComponent(e){const t=d.indexOf(e);-1!==t&&(d.splice(t,1),p([...d]))},setMuiThemeName:s,setContext:a,getAppSelections:()=>o}))),Ye.createElement($h,{generateClassName:c},Ye.createElement(bm,{theme:u},Ye.createElement(Zg.Provider,{value:i},Ye.createElement(Ye.Fragment,null,d))))}));function Iy(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.3.0"),a.setAttribute("data-app-id",n.id),document.body.appendChild(a),od.render(Ye.createElement(_y,{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 Py(e){if("string"!=typeof e)throw new Error(pd(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ty(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function Ny(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 qy(e){return e&&e.ownerDocument||document}function My(e){return qy(e).defaultView||window}function Dy(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Ay="undefined"!=typeof window?ge.exports.useLayoutEffect:ge.exports.useEffect;function zy(e){var t=ge.exports.useRef(e);return Ay((function(){t.current=e})),ge.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function jy(e,t){return ge.exports.useMemo((function(){return null==e&&null==t?null:function(n){Dy(e,n),Dy(t,n)}}),[e,t])}var Fy=!0,By=!1,Uy=null,Hy={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 Wy(e){e.metaKey||e.altKey||e.ctrlKey||(Fy=!0)}function Vy(){Fy=!1}function $y(){"hidden"===this.visibilityState&&By&&(Fy=!0)}function Ky(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return Fy||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!Hy[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Gy(){By=!0,window.clearTimeout(Uy),Uy=window.setTimeout((function(){By=!1}),100)}function Zy(){return(Zy=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 Xy(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 Qy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Jy=Ye.createContext(null),Yy="unmounted",ev="exited",tv="entering",nv="entered",rv="exiting",ov=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=ev,r.appearStatus=tv):o=nv:o=t.unmountOnExit||t.mountOnEnter?Yy:ev,r.state={status:o},r.nextCallback=null,r}Qy(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Yy?{status:ev}: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!==tv&&n!==nv&&(t=tv):n!==tv&&n!==nv||(t=rv)}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===tv?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===ev&&this.setState({status:Yy})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[od.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;e||n?(this.props.onEnter(i,a),this.safeSetState({status:tv},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:nv},(function(){t.props.onEntered(i,a)}))}))}))):this.safeSetState({status:nv},(function(){t.props.onEntered(i)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:od.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:rv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:ev},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:ev},(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:od.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===Yy)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=Xy(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ye.createElement(Jy.Provider,{value:null},"function"==typeof n?n(e,r):Ye.cloneElement(Ye.Children.only(n),r))},t}(Ye.Component);function iv(){}ov.contextType=Jy,ov.propTypes={},ov.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:iv,onEntering:iv,onEntered:iv,onExit:iv,onExiting:iv,onExited:iv},ov.UNMOUNTED=Yy,ov.EXITED=ev,ov.ENTERING=tv,ov.ENTERED=nv,ov.EXITING=rv;var av=ov;function lv(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 sv(e,t,n){return null!=n[t]?n[t]:e.props[t]}function uv(e,t,n){var r=lv(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(ge.exports.isValidElement(a)){var l=i in t,s=i in r,u=t[i],c=ge.exports.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&ge.exports.isValidElement(u)&&(o[i]=ge.exports.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:sv(a,"exit",e),enter:sv(a,"enter",e)})):o[i]=ge.exports.cloneElement(a,{in:!1}):o[i]=ge.exports.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:sv(a,"exit",e),enter:sv(a,"enter",e)})}})),o}var cv=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},dv=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}Qy(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,lv(n.children,(function(e){return ge.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:sv(e,"appear",n),enter:sv(e,"enter",n),exit:sv(e,"exit",n)})}))):uv(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=lv(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Zy({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Xy(e,["component","childFactory"]),o=this.state.contextValue,i=cv(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?Ye.createElement(Jy.Provider,{value:o},i):Ye.createElement(Jy.Provider,{value:o},Ye.createElement(t,r,i))},t}(Ye.Component);dv.propTypes={},dv.defaultProps={component:"div",childFactory:function(e){return e}};var pv=dv;function fv(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 hv=ge.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,u=void 0===s?1:s,c=e.variant,d=void 0===c?"elevation":c,p=Lm(e,["classes","className","component","square","elevation","variant"]);return ge.exports.createElement(i,Rm({className:om(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(u)],!l&&n.rounded),ref:t},p))})),mv=Dg((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Rm({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"})(hv);function gv(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 yv="undefined"==typeof window?ge.exports.useEffect:ge.exports.useLayoutEffect;function vv(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,u=void 0===s?function(){}:s,c=e.timeout,d=ge.exports.useState(!1),p=d[0],f=d[1],h=om(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},g=om(t.child,p&&t.childLeaving,r&&t.childPulsate),y=zy(u);return yv((function(){if(!l){f(!0);var e=setTimeout(y,c);return function(){clearTimeout(e)}}}),[y,l,c]),ge.exports.createElement("span",{className:h,style:m},ge.exports.createElement("span",{className:g}))}var bv=ge.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,o=e.classes,i=e.className,a=Lm(e,["center","classes","className"]),l=ge.exports.useState([]),s=l[0],u=l[1],c=ge.exports.useRef(0),d=ge.exports.useRef(null);ge.exports.useEffect((function(){d.current&&(d.current(),d.current=null)}),[s]);var p=ge.exports.useRef(!1),f=ge.exports.useRef(null),h=ge.exports.useRef(null),m=ge.exports.useRef(null);ge.exports.useEffect((function(){return function(){clearTimeout(f.current)}}),[]);var g=ge.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;u((function(e){return[].concat(gv(e),[ge.exports.createElement(vv,{key:c.current,classes:o,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i})])})),c.current+=1,d.current=a}),[o]),y=ge.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,u=void 0!==s&&s;if("mousedown"===e.type&&p.current)p.current=!1;else{"touchstart"===e.type&&(p.current=!0);var c,d,y,v=u?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),d=Math.round(b.height/2);else{var x=e.touches?e.touches[0]:e,E=x.clientX,w=x.clientY;c=Math.round(E-b.left),d=Math.round(w-b.top)}if(l)(y=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(y+=1);else{var C=2*Math.max(Math.abs((v?v.clientWidth:0)-c),c)+2,S=2*Math.max(Math.abs((v?v.clientHeight:0)-d),d)+2;y=Math.sqrt(Math.pow(C,2)+Math.pow(S,2))}e.touches?null===h.current&&(h.current=function(){g({pulsate:i,rippleX:c,rippleY:d,rippleSize:y,cb:n})},f.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):g({pulsate:i,rippleX:c,rippleY:d,rippleSize:y,cb:n})}}),[r,g]),v=ge.exports.useCallback((function(){y({},{pulsate:!0})}),[y]),b=ge.exports.useCallback((function(e,t){if(clearTimeout(f.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(f.current=setTimeout((function(){b(e,t)})));h.current=null,u((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return ge.exports.useImperativeHandle(t,(function(){return{pulsate:v,start:y,stop:b}}),[v,y,b]),ge.exports.createElement("span",Rm({className:om(o.root,i),ref:m},a),ge.exports.createElement(pv,{component:null,exit:!0},s))})),xv=Dg((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"})(ge.exports.memo(bv)),Ev=ge.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,u=e.component,c=void 0===u?"button":u,d=e.disabled,p=void 0!==d&&d,f=e.disableRipple,h=void 0!==f&&f,m=e.disableTouchRipple,g=void 0!==m&&m,y=e.focusRipple,v=void 0!==y&&y,b=e.focusVisibleClassName,x=e.onBlur,E=e.onClick,w=e.onFocus,C=e.onFocusVisible,S=e.onKeyDown,k=e.onKeyUp,L=e.onMouseDown,R=e.onMouseLeave,O=e.onMouseUp,_=e.onTouchEnd,I=e.onTouchMove,P=e.onTouchStart,T=e.onDragLeave,N=e.tabIndex,q=void 0===N?0:N,M=e.TouchRippleProps,D=e.type,A=void 0===D?"button":D,z=Lm(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=ge.exports.useRef(null),F=ge.exports.useRef(null),B=ge.exports.useState(!1),U=B[0],H=B[1];p&&U&&H(!1);var W={isFocusVisible:Ky,onBlurVisible:Gy,ref:ge.exports.useCallback((function(e){var t,n=et.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Wy,!0),t.addEventListener("mousedown",Vy,!0),t.addEventListener("pointerdown",Vy,!0),t.addEventListener("touchstart",Vy,!0),t.addEventListener("visibilitychange",$y,!0))}),[])},V=W.isFocusVisible,$=W.onBlurVisible,K=W.ref;function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return zy((function(r){return t&&t(r),!n&&F.current&&F.current[e](r),!0}))}ge.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){H(!0),j.current.focus()}}}),[]),ge.exports.useEffect((function(){U&&v&&!h&&F.current.pulsate()}),[h,v,U]);var Z=G("start",L),X=G("stop",T),Q=G("stop",O),J=G("stop",(function(e){U&&e.preventDefault(),R&&R(e)})),Y=G("start",P),ee=G("stop",_),te=G("stop",I),ne=G("stop",(function(e){U&&($(e),H(!1)),x&&x(e)}),!1),re=zy((function(e){j.current||(j.current=e.currentTarget),V(e)&&(H(!0),C&&C(e)),w&&w(e)})),oe=function(){var e=et.exports.findDOMNode(j.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},ie=ge.exports.useRef(!1),ae=zy((function(e){v&&!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(),S&&S(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!p&&(e.preventDefault(),E&&E(e))})),le=zy((function(e){v&&" "===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=c;"button"===se&&z.href&&(se="a");var ue={};"button"===se?(ue.type=A,ue.disabled=p):("a"===se&&z.href||(ue.role="button"),ue["aria-disabled"]=p);var ce=jy(r,t),de=jy(K,j),pe=jy(ce,de),fe=ge.exports.useState(!1),he=fe[0],me=fe[1];ge.exports.useEffect((function(){me(!0)}),[]);var ye=he&&!h&&!p;return ge.exports.createElement(se,Rm({className:om(l.root,s,U&&[l.focusVisible,b],p&&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:pe,tabIndex:p?-1:q},ue,z),a,ye?ge.exports.createElement(xv,Rm({ref:F,center:i},M)):null)})),wv=Dg({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"})(Ev),Cv=ge.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,u=e.disabled,c=void 0!==u&&u,d=e.disableFocusRipple,p=void 0!==d&&d,f=e.size,h=void 0===f?"medium":f,m=Lm(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return ge.exports.createElement(wv,Rm({className:om(i.root,a,"default"!==s&&i["color".concat(Py(s))],c&&i.disabled,"small"===h&&i["size".concat(Py(h))],{start:i.edgeStart,end:i.edgeEnd}[r]),centerRipple:!0,focusRipple:!p,disabled:c,ref:t},m),ge.exports.createElement("span",{className:i.label},o))})),Sv=Dg((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:Sm(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:Sm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Sm(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"})(Cv),kv=ge.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,u=void 0===s?"default":s,c=e.component,d=void 0===c?"span":c,p=e.invisible,f=e.max,h=void 0===f?99:f,m=e.overlap,g=void 0===m?"rectangle":m,y=e.showZero,v=void 0!==y&&y,b=e.variant,x=void 0===b?"standard":b,E=Lm(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),w=p;null==p&&(0===o&&!v||null==o&&"dot"!==x)&&(w=!0);var C="";return"dot"!==x&&(C=o>h?"".concat(h,"+"):o),ge.exports.createElement(d,Rm({className:om(a.root,l),ref:t},E),i,ge.exports.createElement("span",{className:om(a.badge,a["".concat(r.horizontal).concat(Py(r.vertical),"}")],a["anchorOrigin".concat(Py(r.vertical)).concat(Py(r.horizontal)).concat(Py(g))],"default"!==u&&a["color".concat(Py(u))],w&&a.invisible,"dot"===x&&a.dot)},C))})),Lv=Dg((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"})(kv),Rv=function(e){var t=function(t){var n=e(t);return t.css?Vm({},Gm(n,e(Vm({theme:t.theme},t.css))),rg(t.css,[e.filterProps])):t.sx?Vm({},Gm(n,e(Vm({theme:t.theme},t.sx))),rg(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(function(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")}()}(e.filterProps)),t}(eg(ng,og,ig,ag,sg,lg,ug,yg,Sg,kg)),Ov=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=Mh(r,["name"]),a=o,l=nm("function"==typeof t?function(e){return{root:function(n){return t(Dh({theme:e},n))}}}:{root:t},Dh({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,u=Mh(t,["children","className","clone","component"]),c=om(l(t).root,i),d=u;if(n&&(d=vm(d,n)),a)return Ye.cloneElement(o,Dh({className:om(o.props.className,c)},d));if("function"==typeof o)return o(Dh({className:c},d));var p=s||e;return Ye.createElement(p,Dh({ref:r,className:c},d),o)}));return ym(s,e),s}}("div");return function(e,n){return t(e,Rm({defaultTheme:Ng},n))}}()(Rv,{name:"MuiBox"}),_v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Iv=ge.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,u=e.display,c=void 0===u?"initial":u,d=e.gutterBottom,p=void 0!==d&&d,f=e.noWrap,h=void 0!==f&&f,m=e.paragraph,g=void 0!==m&&m,y=e.variant,v=void 0===y?"body1":y,b=e.variantMapping,x=void 0===b?_v:b,E=Lm(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),w=s||(g?"p":x[v]||_v[v])||"span";return ge.exports.createElement(w,Rm({className:om(o.root,i,"inherit"!==v&&o[v],"initial"!==l&&o["color".concat(Py(l))],h&&o.noWrap,p&&o.gutterBottom,g&&o.paragraph,"inherit"!==r&&o["align".concat(Py(r))],"initial"!==c&&o["display".concat(Py(c))]),ref:t},E))})),Pv=Dg((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"})(Iv),Tv=ge.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,u=e.disabled,c=void 0!==u&&u,d=e.disableElevation,p=void 0!==d&&d,f=e.disableFocusRipple,h=void 0!==f&&f,m=e.endIcon,g=e.focusVisibleClassName,y=e.fullWidth,v=void 0!==y&&y,b=e.size,x=void 0===b?"medium":b,E=e.startIcon,w=e.type,C=void 0===w?"button":w,S=e.variant,k=void 0===S?"text":S,L=Lm(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),R=E&&ge.exports.createElement("span",{className:om(r.startIcon,r["iconSize".concat(Py(x))])},E),O=m&&ge.exports.createElement("span",{className:om(r.endIcon,r["iconSize".concat(Py(x))])},m);return ge.exports.createElement(wv,Rm({className:om(r.root,r[k],o,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(k).concat(Py(a))],"medium"!==x&&[r["".concat(k,"Size").concat(Py(x))],r["size".concat(Py(x))]],p&&r.disableElevation,c&&r.disabled,v&&r.fullWidth),component:s,disabled:c,focusRipple:!h,focusVisibleClassName:om(r.focusVisible,g),ref:t,type:C},L),ge.exports.createElement("span",{className:r.label},R,n,O))})),Nv=Dg((function(e){return{root:Rm({},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:Sm(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:Sm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Sm(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(Sm(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Sm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Sm(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Sm(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"})(Tv),qv=ge.exports.createContext();function Mv(){return ge.exports.useContext(qv)}var Dv=qv,Av=44,zv=ge.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,u=void 0===s?40:s,c=e.style,d=e.thickness,p=void 0===d?3.6:d,f=e.value,h=void 0===f?0:f,m=e.variant,g=void 0===m?"indeterminate":m,y=Lm(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),v={},b={},x={};if("determinate"===g||"static"===g){var E=2*Math.PI*((Av-p)/2);v.strokeDasharray=E.toFixed(3),x["aria-valuenow"]=Math.round(h),v.strokeDashoffset="".concat(((100-h)/100*E).toFixed(3),"px"),b.transform="rotate(-90deg)"}return ge.exports.createElement("div",Rm({className:om(n.root,r,"inherit"!==i&&n["color".concat(Py(i))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[g]),style:Rm({width:u,height:u},b,c),ref:t,role:"progressbar"},x,y),ge.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Av," ").concat(Av)},ge.exports.createElement("circle",{className:om(n.circle,l&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[g]),style:v,cx:Av,cy:Av,r:(Av-p)/2,fill:"none",strokeWidth:p})))})),jv=Dg((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})(zv),Fv="undefined"!=typeof window?ge.exports.useLayoutEffect:ge.exports.useEffect,Bv=ge.exports.forwardRef((function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,l=ge.exports.useState(null),s=l[0],u=l[1],c=jy(ge.exports.isValidElement(n)?n.ref:null,t);return Fv((function(){i||u(function(e){return e="function"==typeof e?e():e,et.exports.findDOMNode(e)}(r)||document.body)}),[r,i]),Fv((function(){if(s&&!i)return Dy(t,s),function(){Dy(t,null)}}),[t,s,i]),Fv((function(){a&&(s||i)&&a()}),[a,s,i]),i?ge.exports.isValidElement(n)?ge.exports.cloneElement(n,{ref:c}):n:s?et.exports.createPortal(n,s):s}));function Uv(){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 Hv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Wv(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Vv(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(gv(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&Hv(e,o)}))}function $v(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}var Kv=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;return(t=[{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&&Hv(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);Vv(t,e.mountNode,e.modalRef,r,!0);var o=$v(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=$v(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=function(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=qy(e);return t.body===e?My(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=Uv();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Wv(i)+a,"px"),n=qy(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Wv(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)}))}}(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=$v(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&&Hv(e.modalRef,!0),Vv(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&&Hv(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}])&&function(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)}}(e.prototype,t),e}();function Gv(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,u=e.isEnabled,c=e.open,d=ge.exports.useRef(),p=ge.exports.useRef(null),f=ge.exports.useRef(null),h=ge.exports.useRef(),m=ge.exports.useRef(null),g=ge.exports.useCallback((function(e){m.current=et.exports.findDOMNode(e)}),[]),y=jy(t.ref,g),v=ge.exports.useRef();return ge.exports.useEffect((function(){v.current=c}),[c]),!v.current&&c&&"undefined"!=typeof window&&(h.current=s().activeElement),ge.exports.useEffect((function(){if(c){var e=qy(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&&u()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!i&&u()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?f.current.focus():p.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,u,c]),ge.exports.createElement(ge.exports.Fragment,null,ge.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelStart"}),ge.exports.cloneElement(t,{ref:y}),ge.exports.createElement("div",{tabIndex:0,ref:f,"data-test":"sentinelEnd"}))}var Zv={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"}},Xv=ge.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,o=e.open,i=Lm(e,["invisible","open"]);return o?ge.exports.createElement("div",Rm({"aria-hidden":!0,ref:t},i,{style:Rm({},Zv.root,r?Zv.invisible:{},i.style)})):null})),Qv=new Kv,Jv=ge.exports.forwardRef((function(e,t){var n=Bh(),r=Kd({name:"MuiModal",props:Rm({},e),theme:n}),o=r.BackdropComponent,i=void 0===o?Xv:o,a=r.BackdropProps,l=r.children,s=r.closeAfterTransition,u=void 0!==s&&s,c=r.container,d=r.disableAutoFocus,p=void 0!==d&&d,f=r.disableBackdropClick,h=void 0!==f&&f,m=r.disableEnforceFocus,g=void 0!==m&&m,y=r.disableEscapeKeyDown,v=void 0!==y&&y,b=r.disablePortal,x=void 0!==b&&b,E=r.disableRestoreFocus,w=void 0!==E&&E,C=r.disableScrollLock,S=void 0!==C&&C,k=r.hideBackdrop,L=void 0!==k&&k,R=r.keepMounted,O=void 0!==R&&R,_=r.manager,I=void 0===_?Qv:_,P=r.onBackdropClick,T=r.onClose,N=r.onEscapeKeyDown,q=r.onRendered,M=r.open,D=Lm(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),A=ge.exports.useState(!0),z=A[0],j=A[1],F=ge.exports.useRef({}),B=ge.exports.useRef(null),U=ge.exports.useRef(null),H=jy(U,t),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),V=function(){return qy(B.current)},$=function(){return F.current.modalRef=U.current,F.current.mountNode=B.current,F.current},K=function(){I.mount($(),{disableScrollLock:S}),U.current.scrollTop=0},G=zy((function(){var e=function(e){return e="function"==typeof e?e():e,et.exports.findDOMNode(e)}(c)||V().body;I.add($(),e),U.current&&K()})),Z=ge.exports.useCallback((function(){return I.isTopModal($())}),[I]),X=zy((function(e){B.current=e,e&&(q&&q(),M&&Z()?K():Hv(U.current,!0))})),Q=ge.exports.useCallback((function(){I.remove($())}),[I]);if(ge.exports.useEffect((function(){return function(){Q()}}),[Q]),ge.exports.useEffect((function(){M?G():W&&u||Q()}),[M,Q,W,u,G]),!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:Pg}),Y={};return void 0===l.props.tabIndex&&(Y.tabIndex=l.props.tabIndex||"-1"),W&&(Y.onEnter=Ty((function(){j(!1)}),l.props.onEnter),Y.onExited=Ty((function(){j(!0),u&&Q()}),l.props.onExited)),ge.exports.createElement(Bv,{ref:X,container:c,disablePortal:x},ge.exports.createElement("div",Rm({ref:H,onKeyDown:function(e){"Escape"===e.key&&Z()&&(N&&N(e),v||(e.stopPropagation(),T&&T(e,"escapeKeyDown")))},role:"presentation"},D,{style:Rm({},J.root,!M&&z?J.hidden:{},D.style)}),L?null:ge.exports.createElement(i,Rm({open:M,onClick:function(e){e.target===e.currentTarget&&(P&&P(e),!h&&T&&T(e,"backdropClick"))}},a)),ge.exports.createElement(Gv,{disableEnforceFocus:g,disableAutoFocus:p,disableRestoreFocus:w,getDoc:V,isEnabled:Z,open:M},ge.exports.cloneElement(l,Y))))})),Yv=ge.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,u=void 0!==s&&s,c=e.light,d=void 0!==c&&c,p=e.orientation,f=void 0===p?"horizontal":p,h=e.role,m=void 0===h?"hr"!==l?"separator":void 0:h,g=e.variant,y=void 0===g?"fullWidth":g,v=Lm(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return ge.exports.createElement(l,Rm({className:om(o.root,i,"fullWidth"!==y&&o[y],r&&o.absolute,u&&o.flexItem,d&&o.light,"vertical"===f&&o.vertical),role:m,ref:t},v))})),eb=Dg((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:Sm(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"})(Yv);function tb(e,t){return parseInt(e[t],10)||0}var nb="undefined"!=typeof window?ge.exports.useLayoutEffect:ge.exports.useEffect,rb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},ob=ge.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,u=e.style,c=e.value,d=Lm(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),p=a||o,f=r||i||s,h=ge.exports.useRef(null!=c).current,m=ge.exports.useRef(null),g=jy(t,m),y=ge.exports.useRef(null),v=ge.exports.useRef(0),b=ge.exports.useState({}),x=b[0],E=b[1],w=ge.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=y.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=tb(n,"padding-bottom")+tb(n,"padding-top"),a=tb(n,"border-bottom-width")+tb(n,"border-top-width"),l=r.scrollHeight-i;r.value="x";var s=r.scrollHeight-i,u=l;f&&(u=Math.max(Number(f)*s,u)),p&&(u=Math.min(Number(p)*s,u));var c=(u=Math.max(u,s))+("border-box"===o?i+a:0),d=Math.abs(u-l)<=1;E((function(e){return v.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==d)?(v.current+=1,{overflow:d,outerHeightStyle:c}):e}))}),[p,f,e.placeholder]);return ge.exports.useEffect((function(){var e=Ny((function(){v.current=0,w()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[w]),nb((function(){w()})),ge.exports.useEffect((function(){v.current=0}),[c]),ge.exports.createElement(ge.exports.Fragment,null,ge.exports.createElement("textarea",Rm({value:c,onChange:function(e){v.current=0,h||w(),n&&n(e)},ref:g,rows:f,style:Rm({height:x.outerHeightStyle,overflow:x.overflow?"hidden":null},u)},d)),ge.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:y,tabIndex:-1,style:Rm({},rb,u)}))}));function ib(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var ab="undefined"==typeof window?ge.exports.useEffect:ge.exports.useLayoutEffect,lb=ge.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,u=e.endAdornment;e.error;var c=e.fullWidth,d=void 0!==c&&c,p=e.id,f=e.inputComponent,h=void 0===f?"input":f,m=e.inputProps,g=void 0===m?{}:m,y=e.inputRef;e.margin;var v=e.multiline,b=void 0!==v&&v,x=e.name,E=e.onBlur,w=e.onChange,C=e.onClick,S=e.onFocus,k=e.onKeyDown,L=e.onKeyUp,R=e.placeholder,O=e.readOnly,_=e.renderSuffix,I=e.rows,P=e.rowsMax,T=e.rowsMin,N=e.maxRows,q=e.minRows,M=e.startAdornment,D=e.type,A=void 0===D?"text":D,z=e.value,j=Lm(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=ge.exports.useRef(null!=F).current,U=ge.exports.useRef(),H=ge.exports.useCallback((function(e){}),[]),W=jy(g.ref,H),V=jy(y,W),$=jy(U,V),K=ge.exports.useState(!1),G=K[0],Z=K[1],X=Mv(),Q=function(e){var t=e.props,n=e.muiFormControl;return e.states.reduce((function(e,r){return e[r]=t[r],n&&void 0===t[r]&&(e[r]=n[r]),e}),{})}({props:e,muiFormControl:X,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Q.focused=X?X.focused:G,ge.exports.useEffect((function(){!X&&s&&G&&(Z(!1),E&&E())}),[X,s,G,E]);var J=X&&X.onFilled,Y=X&&X.onEmpty,ee=ge.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(ib(e.value)&&""!==e.value||t&&ib(e.defaultValue)&&""!==e.defaultValue)}(e)?Y&&Y():J&&J()}),[J,Y]);ab((function(){B&&ee({value:F})}),[F,ee,B]),ge.exports.useEffect((function(){ee(U.current)}),[]);var te=h,ne=Rm({},g,{ref:$});return"string"!=typeof te?ne=Rm({inputRef:$,type:A},ne,{ref:null}):b?!I||N||q||P||T?(ne=Rm({minRows:I||q,rowsMax:P,maxRows:N},ne),te=ob):te="textarea":ne=Rm({type:A},ne),ge.exports.useEffect((function(){X&&X.setAdornedStart(Boolean(M))}),[X,M]),ge.exports.createElement("div",Rm({className:om(i.root,i["color".concat(Py(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,u&&i.adornedEnd,"dense"===Q.margin&&i.marginDense),onClick:function(e){U.current&&e.currentTarget===e.target&&U.current.focus(),C&&C(e)},ref:t},j),M,ge.exports.createElement(Dv.Provider,{value:null},ge.exports.createElement(te,Rm({"aria-invalid":Q.error,"aria-describedby":n,autoComplete:r,autoFocus:o,defaultValue:l,disabled:Q.disabled,id:p,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:om(i.input,g.className,Q.disabled&&i.disabled,b&&i.inputMultiline,Q.hiddenLabel&&i.inputHiddenLabel,M&&i.inputAdornedStart,u&&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(pd(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)),w&&w.apply(void 0,[e].concat(r))},onFocus:function(e){Q.disabled?e.stopPropagation():(S&&S(e),g.onFocus&&g.onFocus(e),X&&X.onFocus?X.onFocus(e):Z(!0))}}))),u,_?_(Rm({},Q,{startAdornment:M})):null)})),sb=Dg((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:Rm({},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"})(lb),ub=[0,1,2,3,4,5,6,7,8,9,10],cb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function db(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 pb=ge.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,u=void 0===s?"div":s,c=e.container,d=void 0!==c&&c,p=e.direction,f=void 0===p?"row":p,h=e.item,m=void 0!==h&&h,g=e.justify,y=e.justifyContent,v=void 0===y?"flex-start":y,b=e.lg,x=void 0!==b&&b,E=e.md,w=void 0!==E&&E,C=e.sm,S=void 0!==C&&C,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,T=void 0!==P&&P,N=e.zeroMinWidth,q=void 0!==N&&N,M=Lm(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),D=om(a.root,l,d&&[a.container,0!==L&&a["spacing-xs-".concat(String(L))]],m&&a.item,q&&a.zeroMinWidth,"row"!==f&&a["direction-xs-".concat(String(f))],"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||v)&&a["justify-content-xs-".concat(String(g||v))],!1!==T&&a["grid-xs-".concat(String(T))],!1!==S&&a["grid-sm-".concat(String(S))],!1!==w&&a["grid-md-".concat(String(w))],!1!==x&&a["grid-lg-".concat(String(x))],!1!==I&&a["grid-xl-".concat(String(I))]);return ge.exports.createElement(u,Rm({className:D,ref:t},M))})),fb=Dg((function(e){return Rm({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 ub.forEach((function(t){var r=e.spacing(t);0!==r&&(n["spacing-".concat("xs","-").concat(t)]={margin:"-".concat(db(r,2)),width:"calc(100% + ".concat(db(r),")"),"& > $item":{padding:db(r,2)}})})),n}(e),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};cb.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?Rm(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(pb);function hb(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var mb={entering:{opacity:1,transform:hb(1)},entered:{opacity:1,transform:"none"}},gb=ge.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,u=e.onExit,c=e.onExited,d=e.onExiting,p=e.style,f=e.timeout,h=void 0===f?"auto":f,m=e.TransitionComponent,g=void 0===m?av:m,y=Lm(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=ge.exports.useRef(),b=ge.exports.useRef(),x=Mg(),E=x.unstable_strictMode&&!o,w=ge.exports.useRef(null),C=jy(n.ref,t),S=jy(E?w:void 0,C),k=function(e){return function(t,n){if(e){var r=function(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),2!==n.length);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(E?[w.current,t]:[t,n]),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=fv({style:p,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=fv({style:p,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=hb(.75),u&&u(e)})),P=k(c);return ge.exports.useEffect((function(){return function(){clearTimeout(v.current)}}),[]),ge.exports.createElement(g,Rm({appear:!0,in:i,nodeRef:E?w:void 0,onEnter:R,onEntered:O,onEntering:L,onExit:I,onExited:P,onExiting:_,addEndListener:function(e,t){var n=E?e:t;"auto"===h&&(v.current=setTimeout(n,b.current||0))},timeout:"auto"===h?null:h},y),(function(e,t){return ge.exports.cloneElement(n,Rm({style:Rm({opacity:0,transform:hb(.75),visibility:"exited"!==e||i?void 0:"hidden"},mb[e],p,n.props.style),ref:S},t))}))}));gb.muiSupportAuto=!0;var yb=gb,vb=ge.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,u=void 0===s?"medium":s,c=Lm(e,["classes","className","color","component","fontSize"]);return ge.exports.createElement(l,Rm({className:om("material-icons",n.root,r,"inherit"!==i&&n["color".concat(Py(i))],"default"!==u&&"medium"!==u&&n["fontSize".concat(Py(u))]),"aria-hidden":!0,ref:t},c))}));vb.muiName="Icon";var bb=Dg((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"})(vb),xb=ge.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,u=e.disableTypography,c=void 0!==u&&u,d=e.position,p=e.variant,f=Lm(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),h=Mv()||{},m=p;return p&&h.variant,h&&!m&&(m=h.variant),ge.exports.createElement(Dv.Provider,{value:null},ge.exports.createElement(a,Rm({className:om(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},f),"string"!=typeof n||c?n:ge.exports.createElement(Pv,{color:"textSecondary"},n)))})),Eb=Dg({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"})(xb),wb=ge.exports.createContext({}),Cb=ge.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,u=e.disablePadding,c=void 0!==u&&u,d=e.subheader,p=Lm(e,["children","classes","className","component","dense","disablePadding","subheader"]),f=ge.exports.useMemo((function(){return{dense:s}}),[s]);return ge.exports.createElement(wb.Provider,{value:f},ge.exports.createElement(a,Rm({className:om(r.root,o,s&&r.dense,!c&&r.padding,d&&r.subheader),ref:t},p),d,n))})),Sb=Dg({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Cb),kb="undefined"==typeof window?ge.exports.useEffect:ge.exports.useLayoutEffect,Lb=ge.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,u=e.classes,c=e.className,d=e.component,p=e.ContainerComponent,f=void 0===p?"li":p,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,g=Lm(h,["className"]),y=e.dense,v=void 0!==y&&y,b=e.disabled,x=void 0!==b&&b,E=e.disableGutters,w=void 0!==E&&E,C=e.divider,S=void 0!==C&&C,k=e.focusVisibleClassName,L=e.selected,R=void 0!==L&&L,O=Lm(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),_=ge.exports.useContext(wb),I={dense:v||_.dense||!1,alignItems:r},P=ge.exports.useRef(null);kb((function(){i&&P.current&&P.current.focus()}),[i]);var T,N,q=ge.exports.Children.toArray(s),M=q.length&&(T=q[q.length-1],N=["ListItemSecondaryAction"],ge.exports.isValidElement(T)&&-1!==N.indexOf(T.type.muiName)),D=jy(ge.exports.useCallback((function(e){P.current=et.exports.findDOMNode(e)}),[]),t),A=Rm({className:om(u.root,c,I.dense&&u.dense,!w&&u.gutters,S&&u.divider,x&&u.disabled,l&&u.button,"center"!==r&&u.alignItemsFlexStart,M&&u.secondaryAction,R&&u.selected),disabled:x},O),z=d||"li";return l&&(A.component=d||"div",A.focusVisibleClassName=om(u.focusVisible,k),z=wv),M?(z=A.component||d?z:"div","li"===f&&("li"===z?z="div":"li"===A.component&&(A.component="div")),ge.exports.createElement(wb.Provider,{value:I},ge.exports.createElement(f,Rm({className:om(u.container,m),ref:D},g),ge.exports.createElement(z,A,q),q.pop()))):ge.exports.createElement(wb.Provider,{value:I},ge.exports.createElement(z,Rm({ref:D},A),q))})),Rb=Dg((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"})(Lb),Ob=ge.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=Lm(e,["classes","className"]),i=ge.exports.useContext(wb);return ge.exports.createElement("div",Rm({className:om(n.root,r,"flex-start"===i.alignItems&&n.alignItemsFlexStart),ref:t},o))})),_b=Dg((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(Ob);function Ib(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Pb(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Tb(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Nb(e){return"function"==typeof e?e():e}var qb=ge.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,u=e.children,c=e.classes,d=e.className,p=e.container,f=e.elevation,h=void 0===f?8:f,m=e.getContentAnchorEl,g=e.marginThreshold,y=void 0===g?16:g,v=e.onEnter,b=e.onEntered,x=e.onEntering,E=e.onExit,w=e.onExited,C=e.onExiting,S=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===_?yb:_,P=e.transitionDuration,T=void 0===P?"auto":P,N=e.TransitionProps,q=void 0===N?{}:N,M=Lm(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"]),D=ge.exports.useRef(),A=ge.exports.useCallback((function(e){if("anchorPosition"===s)return a;var t=Nb(r),n=(t&&1===t.nodeType?t:qy(D.current).body).getBoundingClientRect(),o=0===e?i.vertical:"center";return{top:n.top+Ib(n,o),left:n.left+Pb(n,i.horizontal)}}),[r,i.horizontal,i.vertical,a,s]),z=ge.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=ge.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Ib(e,O.vertical)+t,horizontal:Pb(e,O.horizontal)}}),[O.horizontal,O.vertical]),F=ge.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:Tb(o)};var i=A(t),a=i.top-o.vertical,l=i.left-o.horizontal,u=a+n.height,c=l+n.width,d=My(Nb(r)),p=d.innerHeight-y,f=d.innerWidth-y;if(a<y){var h=a-y;a-=h,o.vertical+=h}else if(u>p){var m=u-p;a-=m,o.vertical+=m}if(l<y){var g=l-y;l-=g,o.horizontal+=g}else if(c>f){var v=c-f;l-=v,o.horizontal+=v}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(l),"px"),transformOrigin:Tb(o)}}),[r,s,A,z,j,y]),B=ge.exports.useCallback((function(){var e=D.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=ge.exports.useCallback((function(e){D.current=et.exports.findDOMNode(e)}),[]);ge.exports.useEffect((function(){S&&B()})),ge.exports.useImperativeHandle(n,(function(){return S?{updatePosition:function(){B()}}:null}),[S,B]),ge.exports.useEffect((function(){if(S){var e=Ny((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[S,B]);var H=T;"auto"!==T||I.muiSupportAuto||(H=void 0);var W=p||(r?qy(Nb(r)).body:void 0);return ge.exports.createElement(Jv,Rm({container:W,open:S,ref:t,BackdropProps:{invisible:!0},className:om(c.root,d)},M),ge.exports.createElement(I,Rm({appear:!0,in:S,onEnter:v,onEntered:b,onExit:E,onExited:w,onExiting:C,timeout:H},q,{onEntering:Ty((function(e,t){x&&x(e,t),B()}),q.onEntering)}),ge.exports.createElement(mv,Rm({elevation:h,ref:U},L,{className:om(c.paper,L.className)}),u)))})),Mb=Dg({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(qb);function Db(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ab(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function zb(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 jb(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")&&zb(l,i)&&!s)return void l.focus();l=o(e,l,n)}}var Fb="undefined"==typeof window?ge.exports.useEffect:ge.exports.useLayoutEffect,Bb=ge.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,u=e.disabledItemsFocusable,c=void 0!==u&&u,d=e.disableListWrap,p=void 0!==d&&d,f=e.onKeyDown,h=e.variant,m=void 0===h?"selectedMenu":h,g=Lm(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),y=ge.exports.useRef(null),v=ge.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Fb((function(){o&&y.current.focus()}),[o]),ge.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!y.current.style.width;if(e.clientHeight<y.current.clientHeight&&n){var r="".concat(Uv(),"px");y.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,y.current.style.width="calc(100% + ".concat(r,")")}return y.current}}}),[]);var b=jy(ge.exports.useCallback((function(e){y.current=et.exports.findDOMNode(e)}),[]),t),x=-1;ge.exports.Children.forEach(l,(function(e,t){ge.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===x)&&(x=t))}));var E=ge.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),ge.exports.cloneElement(e,n)}return e}));return ge.exports.createElement(Sb,Rm({role:"menu",ref:b,className:s,onKeyDown:function(e){var t=y.current,n=e.key,r=qy(t).activeElement;if("ArrowDown"===n)e.preventDefault(),jb(t,r,p,c,Db);else if("ArrowUp"===n)e.preventDefault(),jb(t,r,p,c,Ab);else if("Home"===n)e.preventDefault(),jb(t,null,p,c,Db);else if("End"===n)e.preventDefault(),jb(t,null,p,c,Ab);else if(1===n.length){var o=v.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&&zb(r,o);o.previousKeyMatched&&(l||jb(t,r,!1,c,Db,o))?e.preventDefault():o.previousKeyMatched=!1}f&&f(e)},tabIndex:o?0:-1},g),E)})),Ub=ge.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,u=e.ListItemClasses,c=e.role,d=void 0===c?"menuitem":c,p=e.selected,f=e.tabIndex,h=Lm(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==f?f:-1),ge.exports.createElement(Rb,Rm({button:!0,role:d,tabIndex:n,component:a,selected:p,disableGutters:s,classes:Rm({dense:r.dense},u),className:om(r.root,o,p&&r.selected,!s&&r.gutters),ref:t},h))})),Hb=Dg((function(e){return{root:Rm({},e.typography.body1,km({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Rm({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(Ub),Wb=ge.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=Lm(e,["children","classes","className","label","labelWidth","notched","style"]),u="rtl"===Mg().direction?"right":"left";if(void 0!==o)return ge.exports.createElement("fieldset",Rm({"aria-hidden":!0,className:om(n.root,r),ref:t,style:l},s),ge.exports.createElement("legend",{className:om(n.legendLabelled,a&&n.legendNotched)},o?ge.exports.createElement("span",null,o):ge.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=i>0?.75*i+8:.01;return ge.exports.createElement("fieldset",Rm({"aria-hidden":!0,style:Rm(km({},"padding".concat(Py(u)),8),l),className:om(n.root,r),ref:t},s),ge.exports.createElement("legend",{className:n.legend,style:{width:a?c:.01}},ge.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),Vb=Dg((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"})(Wb),$b=ge.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,u=void 0===s?0:s,c=e.multiline,d=void 0!==c&&c,p=e.notched,f=e.type,h=void 0===f?"text":f,m=Lm(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return ge.exports.createElement(sb,Rm({renderSuffix:function(e){return ge.exports.createElement(Vb,{className:n.notchedOutline,label:l,labelWidth:u,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Rm({},n,{root:om(n.root,n.underline),notchedOutline:null}),fullWidth:o,inputComponent:a,multiline:d,ref:t,type:h},m))}));$b.muiName="Input";var Kb=Dg((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"})($b);function Gb(){const[e,t]=ge.exports.useState(),[n,r]=ge.exports.useState(),o=ge.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 ge.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 Zb(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Xb(e){let{size:t,style:r={},viewBox:i="0 0 16 16",shapes:a=[]}=e;const l=n({fontSize:Zb(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 Qb=e=>Xb((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)),Jb=e=>Xb((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)),Yb=e=>Xb((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 ex(){return(ex=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 tx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nx(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 rx(e,t){var n;void 0===t&&(t=nx);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 ox="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function ix(e){cancelAnimationFrame(e.id)}var ax=null;function lx(e){if(void 0===e&&(e=!1),null===ax||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?ax="positive-descending":(t.scrollLeft=1,ax=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),ax}return ax}var sx=function(e,t){return e},ux=function(e){var t,n,r=e.getItemOffset,o=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=t=function(e){var t,n;function p(t){var n;return(n=e.call(this,t)||this)._instanceProps=u(n.props,tx(tx(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:tx(tx(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=rx((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=rx((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,u=n._getItemStyleCache(c&&l,c&&s,c&&a);if(u.hasOwnProperty(e))t=u[e];else{var d=r(n.props,e,n._instanceProps),p=i(n.props,e,n._instanceProps),f="horizontal"===a||"horizontal"===s,h="rtl"===a,m=f?d:0;u[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=rx((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(lx()){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;null!==n._resetIsScrollingTimeoutId&&ix(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=ox(),r={id:requestAnimationFrame((function n(){ox()-t>=150?e.call(null):r.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}n=e,(t=p).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,p.getDerivedStateFromProps=function(e,t){return function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance}(e,t),d(e),null};var f=p.prototype;return f.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)},f.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))},f.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()},f.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(lx()){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()},f.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&ix(this._resetIsScrollingTimeoutId)},f.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,u=e.itemCount,c=e.itemData,d=e.itemKey,p=void 0===d?sx:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,y=e.useIsScrolling,v=e.width,b=this.state.isScrolling,x="horizontal"===r||"horizontal"===f,E=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),C=w[0],S=w[1],k=[];if(u>0)for(var L=C;L<=S;L++)k.push(ge.exports.createElement(t,{data:c,key:p(L,c),index:L,isScrolling:y?b:void 0,style:this._getItemStyle(L)}));var R=o(this.props,this._instanceProps);return ge.exports.createElement(h||m||"div",{className:n,onScroll:E,ref:this._outerRefSetter,style:ex({position:"relative",height:i,width:v,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},g)},ge.exports.createElement(l||s||"div",{children:k,ref:a,style:{height:x?"100%":R,pointerEvents:b?"none":void 0,width:x?R:"100%"}}))},f._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)}},f._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 u=l(this.props,a,this._instanceProps),c=s(this.props,u,a,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,n),p=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+p)),u,c]},p}(ge.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}({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,u=e.width,c="horizontal"===o||"horizontal"===s?u:i,d=Math.max(0,a*l-c),p=Math.min(d,t*l),f=Math.max(0,t*l-c+l);switch("smart"===n&&(n=r>=f-c&&r<=p+c?"auto":"center"),n){case"start":return p;case"end":return f;case"center":var h=Math.round(f+(p-f)/2);return h<Math.ceil(c/2)?0:h>d+Math.floor(c/2)?d:h;case"auto":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,i=e.itemCount,a=e.itemSize,l=e.layout,s=e.width,u=t*a,c="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((c+n-u)/a);return Math.max(0,Math.min(i-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}}),cx=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},dx=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}}(),px=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},fx=function(e){function t(){var e,n,r;cx(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=px(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},px(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),dx(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,u=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.stopIndex,i=[],a=null,l=null,s=e.startIndex;s<=o;s++)t(s)?null!==l&&(i.push(a,l),a=l=null):(l=s,null===a&&(a=s));if(null!==l){for(var u=Math.min(Math.max(l,a+r-1),n-1),c=l+1;c<=u&&!t(c);c++)l=c;i.push(a,l)}if(i.length)for(;i[1]-i[0]+1<r&&i[0]>0;){var d=i[0]-1;if(t(d))break;i[0]=d}return i}({isItemLoaded:r,itemCount:o,minimumBatchSize:a,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==u.length||this._memoizedUnloadedRanges.some((function(e,t){return u[t]!==e})))&&(this._memoizedUnloadedRanges=u,this._loadUnloadedRanges(u))}},{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){return!(e.startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)}({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}(ge.exports.PureComponent);const hx=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 mx=e=>Xb(hx(e));const gx=nm((e=>({row:{flexWrap:"nowrap",borderBottom:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}})));function yx(e){let{index:t,style:n,data:r}=e;const o=gx(),i=[o.row];let a="";const{onClick:l,pages:s}=r;let u;if(s){const e=s.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(e){const n=e.qArea;t>=n.qTop&&t<n.qTop+n.qHeight&&([u]=e.qMatrix[t-n.qTop])}}let c=!1,d=!1;u&&(a=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?i.push(o.S):"A"===u.qState?i.push(o.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||i.push(o.X));const p=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[],f=p.reduce(((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([a.slice(0,t.qCharPos)]);const r=p[n-1];return r&&e.push([a.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([a.slice(t.qCharPos,t.qCharPos+t.qCharCount),o.highlighted]),n===p.length-1&&t.qCharPos+t.qCharCount<a.length&&e.push([a.slice(t.qCharPos+t.qCharCount)]),e}),[]);return Ye.createElement(fb,{container:!0,spacing:0,className:i.join(" ").trim(),style:n,onClick:l,role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Ye.createElement(fb,{item:!0,style:{minWidth:0,flexGrow:1},className:o.cell,title:"".concat(a)},0===p.length?Ye.createElement(Pv,{component:"span",noWrap:!0,color:"inherit"},"".concat(a)):f.map(((e,t)=>{let[n,r]=e;return Ye.createElement(Pv,{component:"span",key:t,className:r,noWrap:!0},n)}))),Ye.createElement(fb,{item:!0,className:o.icon},c&&Ye.createElement(Jb,{size:"small"}),d&&Ye.createElement(mx,{size:"small"})))}const vx=nm((e=>({column:{flexWrap:"nowrap",borderRight:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}})));function bx(e){let{index:t,style:n,data:r}=e;const o=vx(),i=[o.column];let a="";const{onClick:l,pages:s}=r;let u;if(s){const e=s.filter((e=>e.qArea.qTop<=t&&t<e.qArea.qTop+e.qArea.qHeight))[0];if(e){const n=e.qArea;t>=n.qTop&&t<n.qTop+n.qHeight&&([u]=e.qMatrix[t-n.qTop])}}let c=!1,d=!1;u&&(a=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?i.push(o.S):"A"===u.qState?i.push(o.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||i.push(o.X));const p=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[],f=p.reduce(((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([a.slice(0,t.qCharPos)]);const r=p[n-1];return r&&e.push([a.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([a.slice(t.qCharPos,t.qCharPos+t.qCharCount),o.highlighted]),n===p.length-1&&t.qCharPos+t.qCharCount<a.length&&e.push([a.slice(t.qCharPos+t.qCharCount)]),e}),[]);return Ye.createElement(fb,{container:!0,spacing:0,className:i.join(" ").trim(),style:n,onClick:l,alignItems:"center",role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Ye.createElement(fb,{item:!0,style:{minWidth:0,flexGrow:1},className:o.cell,title:"".concat(a)},0===p.length?Ye.createElement(Pv,{component:"span",noWrap:!0,color:"inherit"},"".concat(a)):f.map(((e,t)=>{let[n,r]=e;return Ye.createElement(Pv,{component:"span",key:t,className:r,noWrap:!0},n)}))),Ye.createElement(fb,{item:!0,className:o.icon},c&&Ye.createElement(Jb,{size:"small"}),d&&Ye.createElement(mx,{size:"small"})))}function xx(e){let{model:t,selections:n,direction:r,height:o,width:i,listLayout:a="vertical"}=e;const[l]=fy(t),[s,u]=ge.exports.useState(null),c=ge.exports.useRef(null),d=ge.exports.useRef({queue:[],validPages:!1}),p=ge.exports.useRef({pages:[]}),f=ge.exports.useCallback((e=>{if(l&&l.qListObject.qDimensionInfo.qLocked)return;const t=+e.currentTarget.getAttribute("data-n");Number.isNaN(t)||n.select({method:"selectListObjectValues",params:["/qListObjectDef",[t],!l.qListObject.qDimensionInfo.qIsOneAndOnlyOne]})}),[t,l&&!!l.qListObject.qDimensionInfo.qLocked,l&&!!l.qListObject.qDimensionInfo.qIsOneAndOnlyOne]),h=ge.exports.useCallback((e=>{if(!s||!d.current.validPages)return!1;d.current.checkIdx=e;const t=s.filter((t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight))[0];return t&&t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight}),[l,s]),m=ge.exports.useCallback(((e,n)=>{d.current.queue.push({start:e,stop:n});const r=!!c.current&&c.current._listRef.state.isScrolling;return d.current.queue.length>10&&d.current.queue.shift(),clearTimeout(d.current.timeout),new Promise((e=>{d.current.timeout=setTimeout((()=>{const n=d.current.queue.slice(-2).sort(((e,t)=>e.start-t.start));t.getListObjectData("/qListObjectDef",n.map((e=>({qTop:e.start,qHeight:e.stop-e.start+1,qLeft:0,qWidth:1})))).then((t=>{d.current.validPages=!0,p.current.pages=t,u(t),e()}))}),r?500:0)}))}),[l]);if(ge.exports.useEffect((()=>{if(d.current.queue=[],d.current.validPages=!1,c.current){if(c.current.resetloadMoreItemsCache(!0),l&&l.qSelectionInfo.qInSelections)return;c.current._listRef.scrollToItem(0)}}),[l]),!l)return null;const g="horizontal"!==a,y=l.qListObject.qSize.qcy,v=g?33:200,b=o||8*v;return Ye.createElement(fx,{isItemLoaded:h,itemCount:y,loadMoreItems:m,threshold:0,minimumBatchSize:100,ref:c},(e=>{let{onItemsRendered:t,ref:n}=e;return d.current.listRef=n,Ye.createElement(ux,{direction:r,useIsScrolling:!0,style:{},height:b,width:i,itemCount:y,layout:a,itemData:{onClick:f,pages:s},itemSize:v,onItemsRendered:t,ref:n},g?yx:bx)}))}const Ex=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"}}]}),wx=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"}}]}),Cx=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"}}]}),Sx=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 kx=e=>{let{layout:t,model:n,translator:r}=e;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:Ex,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:Cx,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:wx,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:Sx,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const Lx=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 Rx(e){const t=Bh(),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 Ox=Ye.forwardRef(((e,t)=>{let{item:n,addAnchor:r=!1}=e;const o=Bh(),{hidden:i,disabled:a,style:l,hasSvgIconShape:s}=Rx(n);if(i)return null;const u=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Ye.createElement(Sv,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:u,disabled:a,style:l,className:"njs-cell-action"},s&&Xb(n.getSvgIconShape()),r&&Ye.createElement("div",{ref:t,style:{bottom:-o.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))})),_x=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"}}]}),Ix=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 Px=e=>Xb(Ix(e));const Tx=qg((e=>({icon:{color:e.palette.text.primary}}))),Nx=e=>{let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:o,hasSvgIconShape:i}=Rx(t),{icon:a}=Tx();return r?null:Ye.createElement(Hb,{title:t.label,onClick:()=>{t.action(),n()},disabled:o},i&&Ye.createElement(_b,{className:a},Xb(t.getSvgIconShape())),Ye.createElement(Pv,{noWrap:!0},t.label))},qx=Ye.forwardRef(((e,t)=>{let{actions:r=[],show:i=!0,alignTo:a,popoverProps:l={},popoverPaperStyle:s={},onCloseOrActionClick:u=(()=>{})}=e;return r.length>0&&Ye.createElement(Mb,o({},l,{onClose:u,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(Bb,null,r.map(((e,t)=>Ye.createElement(Nx,{key:t,item:e,onActionClick:u})))))})),Mx=qg((e=>({itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}}))),Dx=Ye.forwardRef(((e,t)=>{let{actions:n=[],first:r=!1,last:o=!1,addAnchor:i=!1}=e;const{itemSpacing:a,firstItemSpacing:l,lastItemSpacing:s}=Mx();return n.length>0?Ye.createElement(fb,{item:!0,container:!0,spacing:0,wrap:"nowrap"},n.map(((e,u)=>{let c=[];const d=r&&0===u,p=o&&n.length-1===u;return d&&!p&&(c=[l]),p&&!d&&(c=[...c,s]),d||p||0!==c.length||(c=[a]),Ye.createElement(fb,{item:!0,key:e.key,className:c.join(" ").trim()},Ye.createElement(Ox,{key:e.key,item:e,ref:0===u?t:null,addAnchor:i}))}))):null})),Ax={pointerEvents:"none"},zx={vertical:"top",horizontal:"right"},jx={vertical:"bottom",horizontal:"right"},Fx=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 u=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}=e;const{translator:i}=ge.exports.useContext(Zg);return[{key:"clear",type:"icon-button",label:i.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:Ix},{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:_x},{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:hx}]}(o),{itemSpacing:c}=Mx(),{translator:d,keyboardNavigation:p}=ge.exports.useContext(Zg),[f,h]=ge.exports.useState(!1),[m,g]=ge.exports.useState(i.enabled),[y,v]=ge.exports.useState(i.actions),[b,x]=ge.exports.useState(i.alignTo),E=ge.exports.useRef(),w=ge.exports.useRef(),C=Bh(),S=ge.exports.useMemo((()=>({margin:C.spacing(.5,0)}))),k=e=>{const t=w.current||s;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};ge.exports.useEffect((()=>()=>h(!1)),[a.show]),ge.exports.useEffect((()=>{g(i.enabled)}),[i.enabled]),ge.exports.useEffect((()=>{l&&(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=ge.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:Lx,hidden:!1,enabled:()=>m,action:()=>h(!f)};if(L.length>r){const e=L.splice(-(L.length-r)-1);g(!0),v([...e,...i.actions]),x(E)}const O=p&&l&&l.refocusContent?e=>{"Tab"===e.key&&(e.shiftKey&&k(!1)===e.target||!e.shiftKey&&k(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),l.refocusContent())}:null,_=L.length>0,I=y.length>0,P=_&&o.show||I&&o.show,T=Ye.createElement(fb,{ref:w,onKeyDown:O,container:!0,spacing:0,wrap:"nowrap"},_&&Ye.createElement(Dx,{actions:L,first:!0,last:!I&&!o.show}),I&&Ye.createElement(Dx,{ref:E,actions:[R],first:!_,last:!o.show,addAnchor:!0}),P&&Ye.createElement(fb,{item:!0,className:c,style:S},Ye.createElement(eb,{orientation:"vertical"})),o.show&&Ye.createElement(Dx,{actions:u,first:!_&&!I,last:!0}),f&&Ye.createElement(qx,{show:f,actions:y,alignTo:b,popoverProps:i.popoverProps,popoverPaperStyle:i.popoverPaperStyle,onCloseOrActionClick:()=>{h(!1)}}));return a.show?Ye.createElement(Mb,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:a.show,anchorEl:a.anchorEl,anchorOrigin:zx,transformOrigin:jx,hideBackdrop:!0,style:Ax,PaperProps:{className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:C.spacing(1,1)}}},T):t&&T};var Bx=e=>Xb((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 Ux=nm((e=>({root:{"& fieldset":{borderRadius:0,borderColor:"".concat(e.palette.divider," transparent")}}}))),Hx="/qListObjectDef";function Wx(e){let{model:t,autoFocus:n=!0}=e;const{translator:r}=ge.exports.useContext(Zg),[o,i]=ge.exports.useState(""),a=Ux();return Ye.createElement(Kb,{startAdornment:Ye.createElement(Eb,{position:"start"},Ye.createElement(Bx,null)),className:[a.root].join(" "),autoFocus:n,margin:"dense",fullWidth:!0,placeholder:r.get("Listbox.Search"),value:o,onChange:e=>{i(e.target.value),t.searchListObjectFor(Hx,e.target.value)},onKeyDown:e=>{switch(e.key){case"Enter":t.acceptListObjectSearch(Hx,!0),i("");break;case"Escape":t.abortListObjectSearch(Hx)}}})}function Vx(e){return Object.keys(f.prototype).forEach((t=>{e[t]=f.prototype[t]})),f.init(e),e}function $x(e,t){const[n]=Ry(e),[r]=fy(t),o=t?t.id:null,[i]=Ey(),[a]=Cy(),l=i.get(e.id);let s=a.get(o);return ge.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 Vx(l),l}({appSelections:n,appModal:l,model:t}),a.set(o,s),a.dispatch(!0))}),[n,t]),ge.exports.useEffect((()=>{s&&s.setLayout(r)}),[s,r]),[s]}function Kx(e){let{alignTo:t,show:n,close:r,app:o,fieldName:i,stateName:a="$"}=e;const l=n&&Boolean(t.current),s=Bh(),[u]=my({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),c=ge.exports.useCallback((()=>{u.lock("/qListObjectDef")}),[u]),d=ge.exports.useCallback((()=>{u.unlock("/qListObjectDef")}),[u]),{translator:p}=ge.exports.useContext(Zg),f=ge.exports.useRef(),[h]=$x(o,u),[m]=fy(u);if(ge.exports.useEffect((()=>{h&&l&&(h.isModal(u)||h.goModal("/qListObjectDef"))}),[h,l]),!u||!m||!p)return null;const g=!0===m.qListObject.qDimensionInfo.qLocked,y=(e,t)=>{const n="escapeKeyDown"!==t;h.noModal(n),r()},v=kx({layout:m,model:u,translator:p}),b=m.qListObject.qDimensionInfo.qStateCounts,x=b.qSelected+b.qSelectedExcluded+b.qLocked+b.qLockedExcluded>0;return Ye.createElement(Mb,{open:l,onClose:y,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Ye.createElement(fb,{container:!0,direction:"column",spacing:0},Ye.createElement(fb,{item:!0,container:!0,style:{padding:s.spacing(1)}},Ye.createElement(fb,{item:!0},g?Ye.createElement(Sv,{onClick:d,disabled:!g},Ye.createElement(Jb,null)):Ye.createElement(Sv,{onClick:c,disabled:!x},Ye.createElement(Yb,null))),Ye.createElement(fb,{item:!0,xs:!0}),Ye.createElement(fb,{item:!0},Ye.createElement(Fx,{more:{enabled:!g,actions:v,alignTo:f,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:h,onConfirm:y,onCancel:()=>y(0,"escapeKeyDown")}}))),Ye.createElement(fb,{item:!0,xs:!0},Ye.createElement("div",{ref:f}),Ye.createElement(Wx,{model:u}),Ye.createElement(xx,{model:u,selections:h,direction:"ltr"}))))}const Gx=nm((e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}})));function Zx(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:i=null,onClose:a=(()=>{})}=e;const{translator:l}=ge.exports.useContext(Zg),s=i||ge.exports.useRef(),u=Bh(),[c,d]=ge.exports.useState(!1),p=Gx(),f=()=>{d(!1),a()},h=t.selections[r];void 0===h.qTotal&&(h.qTotal=0);const m=h.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},g=(m.qSelected+m.qLocked)/h.qTotal,y=m.qAlternative/h.qTotal,v=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/h.qTotal,b=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,x=0===b&&0===h.qTotal;let E="";h.qTotal===b&&h.qTotal>1?E=l.get("CurrentSelections.All"):b>1&&h.qTotal?E=l.get("CurrentSelections.Of",[b,h.qTotal]):h.qSelectedFieldSelectionInfo&&(E=h.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==t.states[r]&&(E="".concat(t.states[r],": ").concat(E));const w=[{color:u.palette.selected.main,ratio:g},{color:u.palette.selected.alternative,ratio:y},{color:u.palette.selected.excluded,ratio:v}];w.forEach(((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0}));let C=null,S=null,k=null,L=null;return i||(C=Ye.createElement(fb,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:h.qLocked?"0.3":""}},Ye.createElement(Pv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},h.qField),Ye.createElement(Pv,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},E)),S=h.qLocked?Ye.createElement(fb,{item:!0},Ye.createElement(Sv,null,Ye.createElement(Jb,null))):Ye.createElement(fb,{item:!0},Ye.createElement(Sv,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(h.qField,t.states[r])}},Ye.createElement(Qb,null))),k=Ye.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===x&&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,"%")}})))),L=Ye.createElement(fb,{container:!0,spacing:0,ref:s,className:p.item,onClick:!1===o&&(e=>{e.currentTarget.contains(e.target)&&d(!c)})||null},C,S,k,c&&Ye.createElement(Kx,{alignTo:s,show:c,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}))),i?Ye.createElement(Kx,{alignTo:s,show:!0,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}):L}var Xx=e=>Xb((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 Qx=nm((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 Jx(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const i=Qx(),[a,l]=ge.exports.useState(!!r),[s,u]=ge.exports.useState(-1),[c,d]=ge.exports.useState(r?r.current:null),p=r||ge.exports.useRef(),{translator:f}=ge.exports.useContext(Zg),h=f.get("Selection.ClearAllStates"),m=()=>{u(-1),o()};let g=null;r||(g=Ye.createElement(Ye.Fragment,null,Ye.createElement(fb,{item:!0,xs:!0,zeroMinWidth:!0},Ye.createElement(Lv,{className:i.badge,color:"secondary",badgeContent:t.states.length},Ye.createElement(Pv,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Ye.createElement(fb,{item:!0},Ye.createElement("div",{style:{width:"12px"}})),Ye.createElement(fb,{item:!0},Ye.createElement(Sv,null,Ye.createElement(Xx,null)))));const y=Ye.createElement(Sb,{dense:!0},Ye.createElement(Rb,{title:h,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},Ye.createElement(Nv,{variant:"contained",fullWidth:!0},h)),t.states.map(((e,r)=>Ye.createElement(Rb,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),l(!1),u(t)})(e,r)},Ye.createElement(Ov,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Ye.createElement(Zx,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),v=Ye.createElement(Mb,{open:a,onClose:()=>{l(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},y),b=r?v:Ye.createElement(fb,{container:!0,spacing:0,className:i.item,onClick:e=>{e.currentTarget.contains(e.target)&&(d(e.currentTarget),p.current=e.currentTarget,l(!a))}},g,a&&v,s>-1&&Ye.createElement(Kx,{alignTo:p,show:s>-1,close:m,app:n.model,fieldName:t.selections[s].qField,stateName:t.states[s]}));return r&&s>-1?Ye.createElement(Kx,{alignTo:p,show:s>-1,close:m,app:n.model,fieldName:t.selections[s].qField,stateName:t.states[s]}):b}const Yx=nm((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 eE(e){let{items:t=[],api:n}=e;const r=Yx(),o=Bh(),[i,a]=ge.exports.useState(!1),[l,s]=ge.exports.useState(-1),[u,c]=ge.exports.useState(null),d=ge.exports.useRef(),p=()=>{s(-1)};let f=null;return l>-1&&(f=t[l].states.length>1?Ye.createElement(Jx,{field:t[l],api:n,moreAlignTo:d,onClose:p}):Ye.createElement(Zx,{field:t[l],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:d,onClose:p})),Ye.createElement(fb,{container:!0,spacing:0,className:r.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),d.current=e.currentTarget,a(!i))}},Ye.createElement(fb,{item:!0},Ye.createElement(Ov,{borderRadius:o.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:o.palette.selected.main,color:o.palette.selected.mainContrastText}},Ye.createElement(Pv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Ye.createElement(fb,{item:!0},Ye.createElement(Sv,null,Ye.createElement(Xx,null))),i&&Ye.createElement(Mb,{open:i,onClose:()=>{a(!1)},anchorEl:u,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},Ye.createElement(Sb,{dense:!0},t.map(((e,t)=>Ye.createElement(Rb,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),s(t)})(e,t)},Ye.createElement(Ov,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},e.states.length>1?Ye.createElement(Jx,{field:e,api:n}):Ye.createElement(Zx,{field:e,api:n}))))))),f)}function tE(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 nE(e){let{api:t,app:n}=e;const r=Bh(),[o]=yy(n),[i]=fy(o),[a,l]=ge.exports.useState({items:[],more:[]}),[s]=ky(),[u,c]=Gb(),[d,p]=ge.exports.useState(0);return ge.exports.useEffect((()=>{if(!c)return;const{width:e}=c,t=Math.floor(e)-72,n=Math.floor(t/120);p(n)}),[c]),ge.exports.useEffect((()=>{if(!(n&&o&&i&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&tE(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>tE(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(fb,{ref:u,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},a.items.map((e=>Ye.createElement(fb,{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(Jx,{field:e,api:t}):Ye.createElement(Zx,{field:e,api:t})))),a.more.length>0&&Ye.createElement(fb,{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(eE,{items:a.more,api:t})))}var rE=e=>Xb((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)),oE=e=>Xb((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 iE(e){let{api:t,app:n}=e;const{translator:r}=ge.exports.useContext(Zg),[o]=vy(n);return Ye.createElement(fb,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Ye.createElement(fb,{item:!0},Ye.createElement(Sv,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back()},Ye.createElement(rE,null))),Ye.createElement(fb,{item:!0},Ye.createElement(Sv,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward()},Ye.createElement(oE,null))),Ye.createElement(fb,{item:!0},Ye.createElement(Sv,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear()},Ye.createElement(Px,null))))}const aE=e=>{let{app:t}=e;const n=Bh(),[r]=Ry(t);return r?Ye.createElement(fb,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Ye.createElement(fb,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Ye.createElement(iE,{api:r,app:t})),Ye.createElement(fb,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Ye.createElement(nE,{api:r,app:t}))):null};function lE(e){let{element:t,app:n}=e;return od.createPortal(Ye.createElement(aE,{app:n}),t)}var sE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},uE=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}}(),cE=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},dE=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},pE=void 0;pE="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var fE=null,hE=null,mE=pE.clearTimeout,gE=pE.setTimeout,yE=pE.cancelAnimationFrame||pE.mozCancelAnimationFrame||pE.webkitCancelAnimationFrame,vE=pE.requestAnimationFrame||pE.mozRequestAnimationFrame||pE.webkitRequestAnimationFrame;null==yE||null==vE?(fE=mE,hE=function(e){return gE(e,20)}):(fE=function(e){var t=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),2!==n.length);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e),n=t[0],r=t[1];yE(n),mE(r)},hE=function(e){var t=vE((function(){mE(n),e()})),n=gE((function(){yE(t),e()}),20);return[t,n]});var bE=function(e){function t(){var e,n,r;sE(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=dE(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,u=parseInt(l.paddingRight,10)||0,c=parseInt(l.paddingTop,10)||0,d=parseInt(l.paddingBottom,10)||0,p=i-c-d,f=a-s-u;(!t&&r.state.height!==p||!n&&r.state.width!==f)&&(r.setState({height:i-c-d,width:a-s-u}),o({height:i,width:a}))}},r._setRef=function(e){r._autoSizer=e},dE(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),uE(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=function(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__&&fE(this.__resizeRAF__),this.__resizeRAF__=hE((function(){i(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var u=!1,c="";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&&(u=!0),!1===u)for(var h=0;h<d.length;h++)if(void 0!==f.style[d[h]+"AnimationName"]){c="-"+d[h].toLowerCase()+"-",r=p[h],u=!0;break}t="@"+c+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=c+"animation: 1ms "+n+"; "}return{addResizeListener:function(i,u){if(s)i.attachEvent("onresize",u);else{if(!i.__resizeTriggers__){var c=i.ownerDocument,d=pE.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)}}(c),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=c.createElement("div")).className="resize-triggers";var p=c.createElement("div");p.className="expand-trigger",p.appendChild(c.createElement("div"));var f=c.createElement("div");f.className="contract-trigger",i.__resizeTriggers__.appendChild(p),i.__resizeTriggers__.appendChild(f),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(u)}},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){}}}}}(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,u={overflow:"visible"},c={},d=!1;return r||(0===l&&(d=!0),u.height=0,c.height=l),o||(0===s&&(d=!0),u.width=0,c.width=s),ge.exports.createElement("div",{className:n,ref:this._setRef,style:cE({},u,i)},!d&&t(c))}}]),t}(ge.exports.PureComponent);function xE(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:i}=e;return od.createPortal(Ye.createElement(EE,{app:t,fieldIdentifier:n,stateName:r,options:i}),o)}function EE(e){let{app:t,fieldIdentifier:r,stateName:o="$",options:i={}}=e;const{title:a,direction:l,listLayout:s,search:u=!0,properties:c={}}=i,d=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:o,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:a},c);let p;r.qLibraryId?(d.qListObjectDef.qLibraryId=r.qLibraryId,p=r.qLibraryId):(d.qListObjectDef.qDef.qFieldDefs=[r],p=r);const f=Bh(),[h]=my(d,t,p,o),m=ge.exports.useCallback((()=>{h.lock("/qListObjectDef")}),[h]),g=ge.exports.useCallback((()=>{h.unlock("/qListObjectDef")}),[h]),{translator:y}=ge.exports.useContext(Zg),v=ge.exports.useRef(),[b]=$x(t,h),[x]=fy(h),[E,w]=ge.exports.useState(!1);if(ge.exports.useEffect((()=>{b&&(b.isModal(h)||(b.on("deactivated",(()=>{w(!1)})),b.on("activated",(()=>{w(!0)}))))}),[b]),ge.exports.useEffect((()=>{b&&w(b.isActive())}),[b]),!h||!x||!y)return null;const C=!0===x.qListObject.qDimensionInfo.qLocked,S=kx({layout:x,model:h,translator:y}),k=x.qListObject.qDimensionInfo.qStateCounts,L=k.qSelected+k.qSelectedExcluded+k.qLocked+k.qLockedExcluded>0,R=49+(u?40:0)+49;return Ye.createElement(fb,{container:!0,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(R,"px")}},Ye.createElement(fb,{item:!0,container:!0,style:{padding:f.spacing(1),borderBottom:"1px solid ".concat(f.palette.divider)}},Ye.createElement(fb,{item:!0},C?Ye.createElement(Sv,{onClick:g,disabled:!C},Ye.createElement(Jb,null)):Ye.createElement(Sv,{onClick:m,disabled:!L},Ye.createElement(Yb,null))),Ye.createElement(fb,{item:!0},Ye.createElement(Pv,{variant:"h6",noWrap:!0},x.title||x.qListObject.qDimensionInfo.qFallbackTitle)),Ye.createElement(fb,{item:!0,xs:!0}),Ye.createElement(fb,{item:!0},Ye.createElement(Fx,{more:{enabled:!C,actions:S,alignTo:v,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:E,api:b,onConfirm:()=>{},onCancel:()=>{}}}))),u?Ye.createElement(fb,{item:!0},Ye.createElement(Wx,{model:h,autoFocus:!1})):"",Ye.createElement(fb,{item:!0,xs:!0},Ye.createElement("div",{ref:v}),Ye.createElement(bE,null,(e=>{let{height:t,width:n}=e;return Ye.createElement(xx,{model:h,selections:b,direction:l,listLayout:s,height:t,width:n})}))))}bE.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const wE=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function CE(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function SE(){return wE.map(CE).join("")}function kE(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function LE(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 RE(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 u=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||SE(),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),kE(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];LE(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||SE(),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),kE(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];LE(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)?u.addMeasure(e):u.addDimension(e)}))}var OE=(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},_E=(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?i[o]=n:delete i[o]},IE=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},PE=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 TE=2**53-1;function NE(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function qE(e,t){const n=w(!0,{},t,e);return OE(n,"qOtherTotalSpec.qOtherCounted")||_E(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),OE(n,"qOtherTotalSpec.qOtherLimit")||_E(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function ME(e,t){return w(!0,{},t,e)}function DE(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var AE={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===OE(e,t)&&_E(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:NE,importCommonProperties:function(e,t,n){const r="masterobject"===OE(t,"properties.qInfo.qType")?"masterobject":OE(n,"qInfo.qType");_E(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:qE,createDefaultMeasure:ME,resolveValue:DE,getHypercubePath:function(e){const t=OE(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?(IE(n.qInterColumnSortOrder,i),++i):(--i,PE(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=w(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?_E(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||NE(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=w(!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=DE(i.max,r.dimensions.length,TE),l=DE(i.min,r.dimensions.length,0);return{maxDimensions:DE(o.max,a,TE),minDimensions:DE(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(qE(a.dimensions[l],i)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(qE(a.dimensions[l],i));else if(a.dimensions.length)for(l=0;l<a.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(qE(a.dimensions[l],i));if(a.excludedDimensions.length)for(l=0;l<a.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(qE(a.excludedDimensions[l],i)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(qE(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(ME(a.measures[l],i)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(ME(a.measures[l],i));else if(a.measures.length)for(l=0;l<a.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push(ME(a.measures[l],i));if(a.excludedMeasures.length)for(l=0;l<a.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push(ME(a.excludedMeasures[l],i)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push(ME(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=OE(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=OE(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}},zE={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=OE(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();(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})(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&&(AE.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!(e=>0===Object.keys(e).length&&e.constructor===Object)(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=AE.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:i}),s=OE(n,i||"").qHyperCubeDef,u=OE(l,i||"").qHyperCubeDef,{maxDimensions:c,minDimensions:d,maxMeasures:p,minMeasures:f}=AE.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:h=AE.getDefaultDimension(),defaultMeasure:m=AE.getDefaultMeasure()}=o;return u.qDimensions.length=0,u.qMeasures.length=0,AE.shouldInitLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:p,minMeasures:f})&&AE.initLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:u}),AE.addDefaultDimensions({exportFormat:t,maxDimensions:c,minDimensions:d,newHyperCubeDef:u,defaultDimension:h}),AE.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:u,defaultMeasure:m}),AE.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:u}),AE.copyPropertyIfExist("qMaxStackedCells",s,u),AE.copyPropertyIfExist("qNoOfLeftDims",s,u),AE.copyPropertyOrSetDefault("qInitialDataFetch",s,u,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),AE.copyPropertyOrSetDefault("qMode",s,u,"S"),AE.copyPropertyOrSetDefault("qReductionMode",s,u,"N"),AE.copyPropertyOrSetDefault("qSortbyYValue",s,u),AE.copyPropertyOrSetDefault("qIndentMode",s,u),AE.copyPropertyOrSetDefault("qShowTotalsAbove",s,u),AE.importCommonProperties(l,t,n),AE.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:i}),AE.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:i}),a.qProperty=l,a}(e)};const jE=e=>OE(e,"data.targets.0.propertyPath"),FE=async e=>{let{halo:t,model:r,cellRef:o,newType:i}=e;const a=await r.getFullPropertyTree(),l=o.current.getQae(),s=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return zE.exportProperties})(jE(e)))(l),u=(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(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return zE.importProperties})(jE(e)))(u)({exportFormat:s({propertyTree:a,hypercubePath:AE.getHypercubePath(l)}),initialProperties:n({qInfo:{qType:i},visualization:i},OE(u,"properties.initial",{})),dataDefinition:OE(u,"data.targets.0.",{}),hypercubePath:AE.getHypercubePath(u)})},BE={hypercube:zE};var UE=e=>Xb((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));const HE=e=>{let{d:t}=e;const n=Bh();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(Pv,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Ye.createElement(bb,null,t.missing||t.error?Ye.createElement(UE,{style:i}):Ye.createElement(mx,{style:i})));return Ye.createElement(fb,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Ye.createElement(fb,{item:!0},a),Ye.createElement(fb,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Ye.createElement(Pv,{noWrap:!0,component:"p"},Ye.createElement(Pv,{component:"span",variant:"subtitle2",color:r},t.description),Ye.createElement(Pv,{component:"span"}," "),Ye.createElement(Pv,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))},WE=e=>{let{data:t}=e;const n=Bh();return Ye.createElement(fb,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>Ye.createElement(HE,{d:e,key:t})));return r.length>0&&Ye.createElement(fb,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Ye.createElement(Pv,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))};function VE(e){let{title:t="Error",message:n="",data:r=[]}=e;return Ye.createElement(fb,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Ye.createElement(fb,{item:!0},Ye.createElement(UE,{style:{fontSize:"38px"}})),Ye.createElement(fb,{item:!0},Ye.createElement(Pv,{variant:"h6",align:"center","data-tid":"error-title"},t)),Ye.createElement(fb,{item:!0},Ye.createElement(Pv,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Ye.createElement(WE,{data:r}))}const $E=["size"],KE=nm((e=>({root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}}))),GE={small:16,medium:32,large:64,xlarge:128};function ZE(e){let{size:t="medium"}=e,n=i(e,$E);const r=KE(),a=GE[t];return Ye.createElement("div",{className:r.root},Ye.createElement(jv,o({variant:"determinate",value:100,className:r.back,size:a,thickness:3},n)),Ye.createElement(jv,o({variant:"indeterminate",disableShrink:!0,className:r.front,size:a,thickness:3},n)))}const XE=["cancel","translator"],QE=["retry","translator"],JE=qg((()=>({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}}}))),YE=e=>{let{cancel:t,translator:n}=e,r=i(e,XE);return Ye.createElement(Ye.Fragment,null,Ye.createElement(fb,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},Ye.createElement(fb,{item:!0},Ye.createElement(ZE,null)),Ye.createElement(fb,{item:!0},Ye.createElement(Pv,{variant:"h6",align:"center"},n.get("Object.Update.Active")))),Ye.createElement(fb,o({item:!0},r),Ye.createElement(Nv,{variant:"contained",onClick:t},n.get("Cancel"))))},ew=e=>{let{retry:t,translator:n}=e,r=i(e,QE);return Ye.createElement(Ye.Fragment,null,Ye.createElement(fb,{item:!0},Ye.createElement(UE,{style:{fontSize:"38px"}})),Ye.createElement(fb,{item:!0},Ye.createElement(Pv,{variant:"h6",align:"center"},n.get("Object.Update.Cancelled"))),Ye.createElement(fb,{item:!0},Ye.createElement(Nv,o({variant:"contained",onClick:t},r),n.get("Retry"))))};function tw(e){let{canCancel:t,canRetry:n,api:r}=e;const{stripes:o,cancel:i,retry:a}=JE(),{translator:l}=ge.exports.useContext(Zg);return Ye.createElement(fb,{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(YE,{cancel:r.cancel,translator:l,className:i}),n&&Ye.createElement(ew,{retry:r.retry,translator:l,className:a}))}function nw(){return Ye.createElement(fb,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},Ye.createElement(ZE,{size:"large"}))}const rw=qg((e=>({containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}}))),ow=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,[u,c]=ge.exports.useState([]),{containerStyle:d,containerTitleStyle:p}=rw(),[f,h]=Gb(),[m,g]=ge.exports.useState(!1);ge.exports.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{c([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),ge.exports.useEffect((()=>{if(!h)return;const{width:e}=h;g(e<221)}),[h]);const y=a||l,v=[d,...y?[p]:[]],b=(o||s)&&(m||!y),x=y&&!b&&!m,E=Ye.createElement(Fx,{show:x,selections:{show:s,api:n.component.selections,onKeyDeactivate:i.refocusContent},actions:u,popover:{show:b,anchorEl:r},focusHandler:i});return Ye.createElement(fb,{ref:f,item:!0,container:!0,wrap:"nowrap",className:v.join(" ")},Ye.createElement(fb,{item:!0,zeroMinWidth:!0,xs:!0},Ye.createElement(fb,{container:!0,wrap:"nowrap",direction:"column"},a&&Ye.createElement(Pv,{variant:"h6",noWrap:!0,className:"njs-cell-title"},t.title),l&&Ye.createElement(Pv,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title"},t.subtitle))),Ye.createElement(fb,{item:!0},E))},iw=qg((e=>({itemStyle:{minWidth:0,paddingTop:e.spacing(1)}}))),aw=e=>{let{layout:t}=e;const{itemStyle:n}=iw();return t&&t.showTitles&&t.footnote?Ye.createElement(fb,{container:!0},Ye.createElement(fb,{item:!0,className:n},Ye.createElement(Pv,{noWrap:!0,variant:"body2",className:"njs-cell-footer"},t.footnote))):null};class lw{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 sw=e=>{let{sn:t,snOptions:r,snPlugins:o,layout:i,appLayout:a,halo:l}=e;const{component:s}=t,{theme:u,language:c,constraints:d,keyboardNavigation:p}=ge.exports.useContext(Zg),[f]=ge.exports.useState((()=>new lw)),[h,m]=ge.exports.useState(!1),[g,y]=ge.exports.useState(0),[v,b,x]=Gb(),[E,w]=ge.exports.useState(null),C=ge.exports.useCallback((e=>{e&&w(e)}),[]);return ge.exports.useEffect((()=>{if(E)return s.created({options:r}),s.mounted(E),m(!0),()=>{f.stop(),s.willUnmount()}}),[E,s]),ge.exports.useEffect((()=>{h&&E&&b&&(!s.isHooked&&i&&i.qSelectionInfo&&i.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:i,options:r,plugins:o,embed:l.public.nebbie,context:n({constraints:d,theme:l.public.theme,appLayout:a,keyboardNavigation:p},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),y(g+1))}))})))}),[b,r,o,E,x,i,a,u,c,d,h,p]),Ye.createElement("div",{ref:v,"data-render-count":g,style:{position:"relative",height:"100%"},className:"njs-viz"},Ye.createElement("div",{ref:C,style:{position:"absolute",width:"100%",height:"100%"}}))},uw=(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))}},cw=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?Ye.createElement(nw,null):null},dw=e=>!e.qError||7005===e.qError.qErrorCode,pw=(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,u="".concat(l?r:a?s||o:i&&t[e].qFallbackTitle||""),c=n(e);return{description:c?"".concat(c).concat(u.length?":":""):null,label:u,missing:t&&!i&&!l&&e>=t.length||a,error:l}})),fw=e=>e&&(Array.isArray(e)?e:[e])||[],hw=(e,t,n,r)=>{const o=r.dimensions.min(),i=r.measures.min(),a=r.resolveLayout(t);return{reqDimErrors:pw(o,fw(a.qDimensionInfo),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:pw(i,fw(a.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},mw=ge.exports.forwardRef(((e,t)=>{let{halo:r,model:o,initialSnOptions:i,initialSnPlugins:a,initialError:l,onMount:s,currentId:u}=e;const{app:c,types:d}=r,{nebbie:p}=r.public,{translator:f,language:h,keyboardNavigation:m}=ge.exports.useContext(Zg),g=Bh(),[y,v,b]=Gb(),[x,E]=ge.exports.useReducer(uw,{loading:!1,loaded:!1,longRunningQuery:!1,error:(w=l)?{title:w.message}:null,sn:null,visualization:null});var w;const[C,{validating:S,canCancel:k,canRetry:L},R]=fy(o),[O]=hy(c),[_,I,P]=Gb(),[T,N]=ge.exports.useState(i),[q,M]=ge.exports.useState(a),[D]=$x(c,o),[A,z]=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((()=>{Vx(F.current)}),[]),F.current.blurCallback=e=>{r.root.toggleFocusOfCells(),e&&P&&P.focus()},F.current.refocusContent=()=>{x.sn.component&&"function"==typeof x.sn.component.focus&&x.sn.component.focus()},ge.exports.useEffect((()=>{if(l||!O||!C)return;if(x.visualization===C.visualization&&x.sn)return void(async e=>{const[t,n]=await(async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:i,aggMinD:a,aggMinM:l,hasLayoutErrors:s,layoutErrors:u}=((e,t,n)=>{let r=!1,o=0,i=0,a=!1,l=!1;const s=[];for(let u=0;u<t.length;++u){const c=t[u],d=c.dimensions.min(),p=c.measures.min(),f=c.resolveLayout(n),h=fw(f.qDimensionInfo).filter(dw),m=fw(f.qMeasureInfo).filter(dw);if(o+=d,i+=p,(h.length<d||m.length<p)&&(r=!0),f.qError){a=!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:i,hasLayoutErrors:a,layoutErrors:s}})(e,o,t),c=[],d=[];let p=null;for(let n=0;n<o.length;++n){const a=o[n];if(!s&&i){const n=p||await r.getProperties();p=n;const o=hw(e,t,n,a);c.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=c.filter((e=>!(e.missing||e.error))).length,h=e.get("Visualization.Incomplete.Dimensions",[f,a]),m=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[m,l]),y=[{title:h,descriptions:[...c]},{title:g,descriptions:[...d]}],v=s?u:y;return[s||i,{title:s?u[0].title:e.get("Visualization.Incomplete"),data:v}]})(f,C,e.generator.qae.data,o);E(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){const{targets:e}=t.generator.qae.data,n=e[0].propertyPath;o.goModal(n)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}})({sn:x.sn,layout:C,model:o})})(x.sn);const e=d.getSupportedVersion(C.visualization,C.version);if(e)return(async(e,t)=>{E({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:i,app:a,selections:l,nebbie:s,focusHandler:u}=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:u})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:E,types:d,visualization:e,version:t,model:o,app:c,selections:D,nebbie:p,focusHandler:F.current});n&&(E({type:"LOADED",sn:n,visualization:e}),s())})(C.visualization,e),()=>{};E({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,x.sn,o,C,O,h]),ge.exports.useEffect((()=>{if(!S)return;const e=setTimeout((()=>E({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[S]),ge.exports.useImperativeHandle(t,(()=>({getQae:()=>x.sn.generator.qae,toggleFocus(e){"function"==typeof x.sn.component.focus&&(e?x.sn.component.focus():x.sn.component.blur())},setSnOptions:N,setSnPlugins:M,async takeSnapshot(){const{width:e,height:t}=v;let n=JSON.parse(JSON.stringify(C));return"function"==typeof x.sn.component.setSnapshotData&&(n=await x.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:f.language(),theme:g.name,appLayout:O,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)}})),[x.sn,I,v,C,g.name,O]);let B=null;return x.loading&&!x.longRunningQuery?B=Ye.createElement(cw,null):x.error?B=Ye.createElement(VE,x.error):x.loaded&&(B=Ye.createElement(sw,{key:C.visualization,sn:x.sn,halo:r,snOptions:T,snPlugins:q,layout:C,appLayout:O})),Ye.createElement(mv,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:"njs-cell",ref:y,onMouseEnter:()=>{j.current.leave&&clearTimeout(j.current.leave),j.enter||(j.current.enter=setTimeout((()=>{z(!0),j.current.enter=null}),250))},onMouseLeave:()=>{j.current.enter&&clearTimeout(j.current.enter),j.current.leave||(j.current.leave=setTimeout((()=>{z(!1),j.current.leave=null}),750))}},Ye.createElement(fb,{container:!0,direction:"column",spacing:0,style:n({position:"relative",width:"100%",height:"100%",padding:g.spacing(1)},x.longRunningQuery?{opacity:"0.3"}:{})},b&&C&&x.sn&&Ye.createElement(ow,{layout:C,sn:x.sn,anchorEl:b,hovering:A,focusHandler:F.current}," "),Ye.createElement(fb,{tabIndex:m?0:-1,onKeyDown:m?e=>{["Enter"," ","Spacebar"].includes(e.key)&&r.root.toggleFocusOfCells(u)}:null,item:!0,xs:!0,style:{height:"100%"},ref:_},B),Ye.createElement(aw,{layout:C})),x.longRunningQuery&&Ye.createElement(tw,{canCancel:k,canRetry:L,api:R}))}));function gw(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:i,onMount:a,initialError:l}=e;const{root:s}=t,u=Ye.createRef(),c=SE(),d=od.createPortal(Ye.createElement(mw,{ref:u,halo:t,model:r,currentId:c,initialSnOptions:o,initialSnPlugins:i,initialError:l,onMount:a}),n,r.id),p=()=>{s.remove(d),r.removeListener("closed",p)};return r.on("closed",p),s.add(d),s.addCell(c,u),[p,u]}function yw(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function vw(e,t){return yw(e)&&yw(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function bw(){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)?vw(i,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...bw("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function xw(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 Ew=()=>{};function ww(){let{model:e,halo:t,initialError:r,onDestroy:o=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=Ew,a=null,l=null,s=null;const u=new Promise((e=>{s=e}));let c={},d=[];const p=async e=>{l?(async()=>{await u,a.current.setSnOptions(n(n({},c),e))})():c=n(n({},c),e)},f=async e=>{xw(e),l?(async()=>{await u,a.current.setSnPlugins(e)})():d=e},h={id:e.id,async destroy(){await o(),i(),i=Ew},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await FE({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]=gw({halo:t,element:n,model:e,initialSnOptions:c,initialSnPlugins:d,initialError:r,onMount:s}),u},async applyProperties(t){const n=bw("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){p(e)},plugins(e){f(e)},exportImage:()=>a.current.exportImage(),takeSnapshot:()=>a.current.takeSnapshot()}};return h}async function Cw(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{};const i=ww({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 Sw(e,t){let n,{type:r,version:o,fields:i,properties:a,options:l,plugins:s,element:u}=e,c={};try{const e=t.types.get({name:r,version:o});c=await e.initialProperties(a);const n=await e.supernova();i&&RE({sn:n,properties:c,fields:i}),a&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},c)}catch(e){n=e,c={qInfo:{qType:r},visualization:r}}const d=await t.app.createSessionObject(c);cy.set(d.id,d);const p=(e=>{const t=sy({type:"SET",value:e});return()=>{t(),cy.clear(e.id)}})(d);return Cw(d,{options:l,plugins:s,element:u},t,n,(async()=>{await t.app.destroySessionObject(d.id),p()}))}async function kw(e,t){let{id:n,options:r,plugins:o,element:i}=e;const a="".concat(n);let l=oy.get(a);l||(l=t.app.getObject(n),oy.set(a,l));const s=await l;return cy.set(a,s),Cw(s,{options:r,plugins:o,element:i},t)}function Lw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const Rw=w.bind(null,!0),Ow={},{isArray:_w}=Array;function Iw(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Pw(e){return void 0===e}function Tw(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Nw(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]=Pw(e[r||t])?i:e[t],e=e[r||t]})),e}function qw(e,t){let n=!0;if(Iw(e)&&Iw(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{qw(e[r],t[r])||(n=!1)})),n);if(_w(e)&&_w(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!qw(e[n],t[n]))return!1;return!0}return e===t}Ow.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const i=function(e){return e?Rw({},{val:e}).val:e}(t[o]),a=e[o],l="".concat(n,"/").concat(o);qw(i,a)||Tw(t,o)||(Pw(a)?r.push({op:"add",path:l,value:i}):Iw(i)&&Iw(a)?r=r.concat(Ow.generate(a,i,l)):_w(i)&&_w(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]&&Pw(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(qw(t,o))return r;if(!Pw(t[0])&&Pw(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(Ow.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=>{Pw(t[o])&&!Tw(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},Ow.apply=function(e,t){t.forEach((t=>{let n=Nw(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(_w(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(_w(o)&&_w(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Iw(o)&&Iw(t.value))a=o,Object.keys(a).forEach((e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!Tw(a,e)&&delete a[e]})),Rw(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=Nw(e,t.from);_w(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&(_w(n)?n.splice(+r,1):delete n[r]);var a}))},Ow.clone=function(e){return Rw({},e)},Ow.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},Ow.updateObject=function(e,t){Object.keys(e).length?Ow.apply(e,Ow.generate(e,t)):Rw(e,t)};const Mw=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(f.prototype).forEach((e=>{o[e]=f.prototype[e]})),f.init(o),o);var o;return r};let Dw,Aw;function zw(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 jw(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 Fw(e){Uw(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 Bw(e){if(e.__hooks.obsolete)return Promise.resolve();Aw=-1,Dw=e,Dw.__hooks.initiated&&Dw.__hooks.list.length;try{Dw.fn.call(null)}catch(e){console.error(e)}Dw.__hooks.initiated=!0;const t=Dw.__hooks;return Vw(Dw),Aw=void 0,Dw=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){Uw(e.pendingLayoutEffects)}(t),function(e){e.macro||(e.macro=requestAnimationFrame((()=>{!function(e){Uw(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve(!e.waitForData))}(e)}(e)})))}(t),t.chain.promise}function Uw(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 Hw(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 Ww(e){return e.__hooks.imperativeHandle}function Vw(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function $w(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Vw(e))}function Kw(e){if(void 0===Dw)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Dw.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function Gw(e){return Kw(++Aw),Dw.context[e]}function Zw(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Xw(e){return{__hooked:!0,fn:e,initiate:jw,run:Bw,teardown:Fw,runSnaps:Hw,focus:nC,blur:rC,observeActions:$w,getImperativeHandle:Ww,updateRectOnNextRun:Zw}}function Qw(e){const t=Kw(++Aw);if(!t.value){t.component=Dw;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,Bw(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Jw(e,t){const n=Kw(++Aw);zw(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Dw.__hooks.pendingEffects.indexOf(n)&&Dw.__hooks.pendingEffects.push(n))}function Yw(e,t){const n=Kw(++Aw);zw(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Dw.__hooks.pendingLayoutEffects.push(n))}function eC(e,t){const n=Kw(++Aw);return zw(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function tC(){return Gw("element")}function nC(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 rC(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 oC={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},iC=Object.keys(oC);function aC(e,t,r){"function"==typeof e.component&&(e.component=Xw(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 u={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(u,{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=u.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(u.context[e])})),a.themeName=u.context.theme?u.context.theme.name():void 0,a.language=u.context.translator?u.context.translator.language():void 0,Object.assign(u,{selections:t.selections}),[u,null]}(e,t,r):function(e,t){const r=n({},oC);var o;o=r,Object.keys(f.prototype).forEach((e=>{o[e]=f.prototype[e]})),f.init(o);const i={emit(){r.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==iC.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=Mw(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]}(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=Ow.clone(o),a=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));Ow.apply(o,a),e.qae.properties.onChange.call({model:t.model},o);const l=Ow.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 lC=()=>{};function sC(e,t){return void 0===e?()=>t:()=>e}function uC(e){const t=e||{};return{min:"function"==typeof t.min?t.min:sC(t.min,0),max:"function"==typeof t.max?t.max:sC(t.max,1e3),added:t.added||t.add||lC,description:t.description||lC,moved:t.moved||t.move||lC,removed:t.removed||t.remove||lC,replaced:t.replaced||t.replace||lC,isDefined:()=>!!e}}function cC(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:uC(e.dimensions),measures:uC(e.measures)}}function dC(){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(cC)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function pC(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:dC(n.qae),component:n.component||{},create:e=>aC(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var fC={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 u=0;u<l;u++)n(u,i[u]),o[u]||(o[u]=new RegExp(i[u]));function c(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=c,t.valid=function(e,t){var n=c(e,t);return n?n.version:null},t.clean=function(e,t){var n=c(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(y(e,t))return null;var n=c(e),r=c(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=f;var p=/^[0-9]+$/;function f(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function h(e,t,n){return new d(e,n).compare(new d(t,n))}function m(e,t,n){return h(e,t,n)>0}function g(e,t,n){return h(e,t,n)<0}function y(e,t,n){return 0===h(e,t,n)}function v(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 y(e,n,r);case"!=":return v(e,n,r);case">":return m(e,n,r);case">=":return b(e,n,r);case"<":return g(e,n,r);case"<=":return x(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function w(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof w){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof w))return new w(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===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=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=y,t.neq=v,t.gte=b,t.lte=x,t.cmp=E,t.Comparator=w;var C={};function S(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof S)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new S(e.raw,t);if(e instanceof w)return new S(e.value,t);if(!(this instanceof S))return new S(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,u,c,d,p){return((t=L(n)?"":L(r)?">="+n+".0.0":L(o)?">="+n+"."+r+".0":">="+t)+" "+(l=L(s)?"":L(u)?"<"+(+s+1)+".0.0":L(c)?"<"+s+"."+(+u+1)+".0":d?"<="+s+"."+u+"."+c+"-"+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 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 S(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 S(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 u=0;u<t.set.length;++u){var c=t.set[u],p=null,f=null;if(c.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:a(e.semver,f.semver,r)&&(f=e)})),p.operator===l||p.operator===s)return!1;if((!f.operator||f.operator===l)&&i(e,f.semver))return!1;if(f.operator===s&&a(e,f.semver))return!1}return!0}w.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=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 E(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 S(e.value,t),_(this.value,n,t));if(""===e.operator)return""===e.value||(n=new S(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=S,S.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},S.prototype.toString=function(){return this.range},S.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 u=L(i),c=u||L(a),d=c||L(l),p=d;return"="===o&&p&&(o=""),s=t.includePrerelease?"-0":"",u?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(c&&(a=0),l=0,">"===o?(o=">=",c?(i=+i+1,a=0,l=0):(a=+a+1,l=0)):"<="===o&&(o="<",c?i=+i+1:a=+a+1),r=o+i+"."+a+"."+l+s):c?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.map((function(e){return new w(e,this.options)}),this)},S.prototype.intersects=function(e,t){if(!(e instanceof S))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 S(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},S.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 S(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 S(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 S(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)}}));return n&&e.test(n)?n:null},t.validRange=function(e,t){try{return new S(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=c(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new S(e,n),t=new S(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;if("number"==typeof e&&(e=String(e)),"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]);return null===n?null:c(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(fC,fC.exports);const hC={};async function mC(e,t,n,r){let{config:o}=n;const i="".concat(e,"__").concat(t);if(!hC[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);hC[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 hC[i]}function gC(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)||fC.exports.satisfies(e,a.deps.properties),supernova:()=>mC(l.name,l.version,t,i.load).then((e=>(r=r||pC(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 yC(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=gC(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;return r[t]?r[t].versions[n]||(n=Object.keys(r[t].versions)[0]):this.register({name:t,version:n}),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(hC).forEach((t=>{t.split("__")[0]===e&&(hC[t]=void 0)}))}(e)}}}const vC=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)},bC=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))},xC=(e,t)=>({context:vC(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:bC(e.types,t.types),themes:bC(e.themes,t.themes),flags:vC(e.flags,t.flags),anything:vC(e.anything,t.anything)});var EC=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=c(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]=Iy({app:e,context:a}),s=he({themes:t.themes,root:l}),u={galaxy:{translator:r.translator,flags:Lw(t.flags),deviceType:me(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:r.translator,nebbie:null},c={app:e,root:l,config:t,public:u,context:a,types:null},d=yC({halo:c});t.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(t.context.theme),f=null,h=null;const m={render:async e=>(await p,e.id?kw(e,c):Sw(e,c)),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}),c.context=a,t.theme&&(p=s.setTheme(t.theme),await p),t.language&&c.public.translator.language(t.language),l.context(a))},selections:async()=>(f||(f={mount(t){h||(h=lE({element:t,app:e}),l.add(h))},unmount(){h&&(l.remove(h),h=null)}}),f),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=xE({element:r,app:e,fieldIdentifier:t,options: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 c.public.nebbie=m,c.types=d,m}return o.createConfiguration=n=>e(xC(t,n)),o.config=t,o}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!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()))}});const wC={generator:pC,hook:Xw,theme:pe,locale:s};e.__DO_NOT_USE__=wC,e.conversion=BE,e.embed=EC,e.onTakeSnapshot=function(e){const t=Kw(++Aw);t.value||(t.value=1,Dw.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=Qw({action(){n._config.action.call(null)}});return n.component||(n.component=Dw,Dw.__hooks.actions.list.push(n)),eC((()=>{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=Gw("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return Gw("appLayout")},e.useConstraints=function(){return Gw("constraints")},e.useDeviceType=function(){return Gw("deviceType")},e.useEffect=Jw,e.useElement=tC,e.useEmbed=function(){return Gw("nebbie")},e.useGlobal=function(){const e=Gw("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=Kw(++Aw);if(n.imperative||(n.imperative=!0),zw(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Dw.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=Gw("keyboardNavigation"),t=Gw("focusHandler");if(!Dw.__hooks.accessibility.exitFunction){const e=function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(rC(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(Dw);Dw.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),nC(this))}.bind(Dw);Dw.__hooks.accessibility.focusFunction=n;const r=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(Dw);Dw.__hooks.accessibility.focusSelectionFunction=r}const n=Dw.__hooks.accessibility.focusFunction,r=Dw.__hooks.accessibility.exitFunction,o=Dw.__hooks.accessibility.focusSelectionFunction,[i,a]=Qw({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return Dw.__hooks.accessibility.setter=a,Dw.__hooks.accessibility.enabled=e,Jw((()=>a({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),i},e.useLayout=function(){return Gw("layout")},e.useMemo=eC,e.useModel=function(){const e=Gw("model");return e&&e.session?e:void 0},e.useOptions=function(){return Gw("options")},e.usePlugins=function(){return Gw("plugins")},e.usePromise=function(e,t){const[n,r]=Qw((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=Kw(++Aw);return o.component||(o.component=Dw),Yw((()=>{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=tC(),t=Dw.__hooks.resizer,[n,r]=Qw((()=>{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()),Yw((()=>{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(){Kw(++Aw);const e=Dw.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return Gw("selections")},e.useStaleLayout=function(){const e=Gw("layout"),[t]=Qw({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=Qw,e.useTheme=function(){return Gw("theme")},e.useTranslator=function(){return Gw("translator")},Object.defineProperty(e,"__esModule",{value:!0})}));
|