@drayman/elements 1.4.30 → 1.6.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/README.md +1 -0
- package/dist/code-editor/3rdpartylicenses.txt +634 -0
- package/dist/code-editor/favicon.ico +0 -0
- package/dist/code-editor/main.js +1 -0
- package/dist/code-editor/polyfills.js +1 -0
- package/dist/code-editor/styles.css +0 -0
- package/dist/grid/main.js +1 -1
- package/dist/monaco-editor/3rdpartylicenses.txt +406 -0
- package/dist/monaco-editor/favicon.ico +0 -0
- package/dist/monaco-editor/main.js +1 -0
- package/dist/monaco-editor/polyfills.js +1 -0
- package/dist/monaco-editor/styles.css +1 -0
- package/dist/nebula/main.js +1 -1
- package/dist/ngx-graph/3rdpartylicenses.txt +25 -0
- package/dist/ngx-graph/favicon.ico +0 -0
- package/dist/ngx-graph/main.js +1 -1
- package/dist/select/main.js +1 -1
- package/dist/table/main.js +1 -1
- package/dist/text-field/main.js +1 -1
- package/dist/types/code-editor/src/app/models/code-editor-options.d.ts +29 -0
- package/dist/types/nebula/src/app/models/nebula-options.d.ts +11 -14
- package/dist/types/ngx-graph/src/app/models/ngx-graph-options.d.ts +14 -0
- package/dist/types/select/src/app/models/select-options.d.ts +4 -0
- package/dist/types/table/src/app/models/table-options.d.ts +1 -0
- package/dist/types/text-field/src/app/models/text-field-options.d.ts +1 -0
- package/package.json +10 -2
- package/types/index.d.ts +31 -0
package/dist/nebula/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({0:function(e,t,n){e.exports=n("zUnb")},eteH:function(e,t,n){e.exports=n("j4WE")},j4WE:function(e,t,n){!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 i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,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 i(){return(i=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 o(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=Object.create((t&&t.prototype instanceof y?t:y).prototype),o=new O(r||[]);return i._invoke=function(e,t,n){var r=d;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===i)throw o;return I()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=C(s,n);if(a){if(a===m)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?f:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}(e,n,o),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",h="suspendedYield",p="executing",f="completed",m={};function y(){}function g(){}function v(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(L([])));E&&E!==n&&r.call(E,o)&&(b=E);var x=v.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var n;this._invoke=function(i,o){function s(){return new t((function(n,s){!function n(i,o,s,a){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}(i,o,n,s)}))}return n=n?n.then(s,s):s()}}function C(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,C(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 i=c(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,s=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}return{next:I}}function I(){return{value:t,done:!0}}return g.prototype=v,l(x,"constructor",v),l(v,"constructor",g),g.displayName=l(v,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,a,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},_(S.prototype),l(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var s=new S(u(t,n,r,i),o);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},_(x),l(x,a,"Generator"),l(x,o,(function(){return this})),l(x,"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=L,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(T),!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 i(r,i){return a.type="throw",a.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),u=r.call(s,"finallyLoc");if(l&&u){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(s)},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),T(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 i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(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 s=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const t="string"==typeof e||"number"==typeof e?[e]:e;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\{(\d+)\}/g,(e,n)=>void 0!==t[n]?t[n]:e)};function a(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={};let r=e;return{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,i){let o;return o=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==i?s(o,i):o}}}const l=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{translator:a({initial:e,fallback:t})}};var u={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\ucde8\uc18c","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0430","sv-SE":"Avbryt","tr-TR":"\u0130ptal","zh-CN":"\u53d6\u6d88","zh-TW":"\u53d6\u6d88"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"\u3059\u3079\u3066","ko-KR":"\ubaa8\ub450","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"\u0412\u0421\u0415","sv-SE":"ALLA","tr-TR":"T\xdcM\xdc","zh-CN":"\u5168\u90e8","zh-TW":"\u5168\u90e8"}},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} \u0438\u0437 {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\xe9lection","it-IT":"Cerca nella casella di elenco","ja-JP":"\u30ea\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u5185\u3092\u691c\u7d22","ko-KR":"\ubaa9\ub85d \uc0c1\uc790\uc5d0\uc11c \uac80\uc0c9","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w li\u015bcie warto\u015bci","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"\u041f\u043e\u0438\u0441\u043a \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","sv-SE":"S\xf6k i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"\u5728\u5217\u8868\u6846\u4e2d\u641c\u7d22","zh-TW":"\u5728\u6e05\u55ae\u65b9\u584a\u4e2d\u641c\u5c0b"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"M\xe1s","fr-FR":"Plus","it-IT":"Altro","ja-JP":"\u8a73\u7d30","ko-KR":"\uc790\uc138\ud788","nl-NL":"Meer","pl-PL":"Wi\u0119cej","pt-BR":"Mais","ru-RU":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"\u66f4\u591a","zh-TW":"\u66f4\u591a"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zur\xfcck","en-US":"Step back","es-ES":"Atr\xe1s","fr-FR":"Retour en arri\xe8re","it-IT":"Torna indietro","ja-JP":"1 \u6bb5\u968e\u623b\u308b","ko-KR":"\uc774\uc804 \ub2e8\uacc4","nl-NL":"Stap terug","pl-PL":"Krok do ty\u0142u","pt-BR":"Voltar uma etapa","ru-RU":"\u0428\u0430\u0433 \u043d\u0430\u0437\u0430\u0434","sv-SE":"G\xe5 bak\xe5t","tr-TR":"Bir ad\u0131m geri","zh-CN":"\u540e\u9000","zh-TW":"\u5012\u9000"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"\xc9tape suivante","it-IT":"Vai avanti","ja-JP":"1\u6bb5\u968e\u9032\u3080","ko-KR":"\ub2e4\uc74c \ub2e8\uacc4","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avan\xe7ar uma etapa","ru-RU":"\u0428\u0430\u0433 \u0432\u043f\u0435\u0440\u0435\u0434","sv-SE":"G\xe5 fram\xe5t","tr-TR":"Bir ad\u0131m ileri","zh-CN":"\u524d\u8fdb","zh-TW":"\u524d\u9032"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"\ud655\uc778","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"\u041e\u041a","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"\u786e\u5b9a","zh-TW":"\u78ba\u5b9a"}},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\xe9es en cours","it-IT":"Caricamento dati in corso","ja-JP":"\u30c7\u30fc\u30bf\u306e\u30ed\u30fc\u30c9\u4e2d","ko-KR":"\ub370\uc774\ud130 \ub85c\ub4dc \uc911","nl-NL":"Gegevens worden geladen","pl-PL":"\u0141adowanie danych","pt-BR":"Carregando dados","ru-RU":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445","sv-SE":"Laddar data","tr-TR":"Veriler y\xfckleniyor","zh-CN":"\u52a0\u8f7d\u6570\u636e","zh-TW":"\u6b63\u5728\u8f09\u5165\u8cc7\u6599"}},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\xf3n de datos","fr-FR":"Mise \xe0 jour des donn\xe9es annul\xe9e","it-IT":"Aggiornamento dati annullato","ja-JP":"\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u304c\u30ad\u30e3\u30f3\u30bb\u30eb\u3055\u308c\u307e\u3057\u305f","ko-KR":"\ub370\uc774\ud130 \uc5c5\ub370\uc774\ud2b8\uac00 \ucde8\uc18c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych zosta\u0142a anulowana","pt-BR":"A atualiza\xe7\xe3o de dados foi cancelada","ru-RU":"\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043e","sv-SE":"Datauppdateringen avbr\xf6ts.","tr-TR":"Veri g\xfcncelle\u015ftirme iptal edildi","zh-CN":"\u6570\u636e\u66f4\u65b0\u5df2\u53d6\u6d88","zh-TW":"\u8cc7\u6599\u66f4\u65b0\u5df2\u53d6\u6d88"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"R\xe9essayer","it-IT":"Riprova","ja-JP":"\u518d\u8a66\u884c","ko-KR":"\ub2e4\uc2dc \uc2dc\ub3c4","nl-NL":"Opnieuw","pl-PL":"Pon\xf3w pr\xf3b\u0119","pt-BR":"Tentar novamente","ru-RU":"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u043f\u044b\u0442\u043a\u0443","sv-SE":"F\xf6rs\xf6k igen","tr-TR":"Yeniden dene","zh-CN":"\u91cd\u8bd5","zh-TW":"\u91cd\u8a66"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selecci\xf3n","fr-FR":"Annuler la s\xe9lection","it-IT":"Annulla selezione","ja-JP":"\u9078\u629e\u306e\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\uc120\ud0dd \ucde8\uc18c","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcj\u0119","pt-BR":"Cancelar sele\xe7\xe3o","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Avbryt urval","tr-TR":"Se\xe7imi iptal et","zh-CN":"\u53d6\u6d88\u9009\u62e9","zh-TW":"\u53d6\u6d88\u9078\u53d6"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl l\xf6schen","en-US":"Clear selection","es-ES":"Borrar selecci\xf3n","fr-FR":"Effacer la s\xe9lection","it-IT":"Cancella selezione","ja-JP":"\u9078\u629e\u3092\u30af\u30ea\u30a2","ko-KR":"\uc120\ud0dd \ud574\uc81c","nl-NL":"Selectie wissen","pl-PL":"Wyczy\u015b\u0107 selekcj\u0119","pt-BR":"Limpar sele\xe7\xe3o","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440","sv-SE":"Rensa urval","tr-TR":"Se\xe7imi temizle","zh-CN":"\u6e05\u9664\u9009\u62e9","zh-TW":"\u6e05\u9664\u9078\u9805"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen l\xf6schen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les s\xe9lections","it-IT":"Cancella tutte le selezioni","ja-JP":"\u9078\u629e\u3092\u3059\u3079\u3066\u30af\u30ea\u30a2\u3059\u308b","ko-KR":"\ubaa8\ub4e0 \uc120\ud0dd \ud574\uc81c","nl-NL":"Alle selecties wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie selekcje","pt-BR":"Limpar todas as sele\xe7\xf5es","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043e\u0442 \u0432\u0441\u0435\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u043a","sv-SE":"Radera alla urval","tr-TR":"T\xfcm se\xe7imleri temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u9009\u62e9\u9879","zh-TW":"\u6e05\u9664\u6240\u6709\u9078\u9805"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status l\xf6schen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les \xe9tats","it-IT":"Cancella tutti gli stati","ja-JP":"\u5168\u30b9\u30c6\u30fc\u30c8\u3092\u30af\u30ea\u30a2","ko-KR":"\ubaa8\ub4e0 \uc0c1\ud0dc \uc9c0\uc6b0\uae30","nl-NL":"Alle states wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f","sv-SE":"Rensa alla tillst\xe5nd","tr-TR":"T\xfcm durumlar\u0131 temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u72b6\u6001","zh-TW":"\u6e05\u9664\u6240\u6709\u72c0\u614b"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl best\xe4tigen","en-US":"Confirm selection","es-ES":"Confirmar selecci\xf3n","fr-FR":"Confirmer la s\xe9lection","it-IT":"Conferma selezione","ja-JP":"\u9078\u629e\u306e\u78ba\u8a8d","ko-KR":"\uc120\ud0dd \ud655\uc778","nl-NL":"Selectie bevestigen","pl-PL":"Potwierd\u017a selekcj\u0119","pt-BR":"Confirmar sele\xe7\xe3o","ru-RU":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Bekr\xe4fta urval","tr-TR":"Se\xe7imi onayla","zh-CN":"\u786e\u8ba4\u9009\u62e9","zh-TW":"\u78ba\u8a8d\u9078\u53d6"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmen\xfc","en-US":"Selection menu","es-ES":"Men\xfa de selecci\xf3n","fr-FR":"Menu S\xe9lection","it-IT":"Menu Selezione","ja-JP":"\u9078\u629e\u30e1\u30cb\u30e5\u30fc","ko-KR":"\uc120\ud0dd \uba54\ub274","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de sele\xe7\xe3o","ru-RU":'\u041c\u0435\u043d\u044e "\u0412\u044b\u0431\u043e\u0440\u043a\u0430"',"sv-SE":"Urvalsmeny","tr-TR":"Se\xe7im men\xfcs\xfc","zh-CN":"\u9009\u62e9\u83dc\u5355","zh-TW":"\u9078\u9805\u529f\u80fd\u8868"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle ausw\xe4hlen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"S\xe9lectionner tout","it-IT":"Seleziona tutto","ja-JP":"\u3059\u3079\u3066\u9078\u629e","ko-KR":"\ubaa8\ub450 \uc120\ud0dd","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435","sv-SE":"V\xe4lj alla","tr-TR":"T\xfcm\xfcn\xfc se\xe7","zh-CN":"\u5168\u9009","zh-TW":"\u5168\u9078"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte ausw\xe4hlen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"S\xe9lectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"\u4ee3\u66ff\u5024\u3092\u9078\u629e","ko-KR":"\ub300\uc548 \uc120\ud0dd","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatyw\u0119","pt-BR":"Selecionar alternativa","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435","sv-SE":"V\xe4lj alternativ","tr-TR":"Alternatifi se\xe7","zh-CN":"\u9009\u62e9\u66ff\u4ee3\u9879","zh-TW":"\u9078\u53d6\u66ff\u4ee3\u9078\u9805"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte ausw\xe4hlen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"S\xe9lectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"\u9664\u5916\u5024\u3092\u9078\u629e","ko-KR":"\uc81c\uc678 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar exclu\xeddo","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435","sv-SE":"V\xe4lj uteslutna","tr-TR":"Hari\xe7 tutulan\u0131 se\xe7","zh-CN":"\u9009\u62e9\u6392\u9664\u9879","zh-TW":"\u9078\u53d6\u6392\u9664\u503c"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"W\xe4hlbare Werte ausw\xe4hlen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"S\xe9lectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"\u7d5e\u8fbc\u5024\u3092\u9078\u629e","ko-KR":"\uc0ac\uc6a9 \uac00\ub2a5 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz mo\u017cliwe","pt-BR":"Selecionar poss\xedvel","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435","sv-SE":"V\xe4lj m\xf6jliga","tr-TR":"Olas\u0131y\u0131 se\xe7","zh-CN":"\u9009\u62e9\u53ef\u80fd\u503c","zh-TW":"\u9078\u53d6\u53ef\u80fd\u503c"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollst\xe4ndige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualizaci\xf3n incompleta","fr-FR":"Visualisation incompl\xe8te","it-IT":"Visualizzazione incompleta","ja-JP":"\u672a\u5b8c\u4e86\u306e\u30d3\u30b8\u30e5\u30a2\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3","ko-KR":"\uc644\ub8cc\ub418\uc9c0 \uc54a\uc740 \uc2dc\uac01\ud654","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualiza\xe7\xe3o incompleta","ru-RU":"\u041d\u0435\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u0430\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f","sv-SE":"Ofullst\xe4ndig visualisering","tr-TR":"Tamamlanmam\u0131\u015f g\xf6rselle\u015ftirme","zh-CN":"\u4e0d\u5b8c\u6574\u7684\u53ef\u89c6\u5316","zh-TW":"\u8996\u89ba\u5316\u672a\u5b8c\u6210"}},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} \u8ef8","ko-KR":"{1} \ucc28\uc6d0\uc758 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiar\xf3w","pt-BR":"{0} de {1} dimens\xf5es","ru-RU":"\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} \u4e2a\u7ef4\u5ea6","zh-TW":"{1} \u500b\u7dad\u5ea6\u4e2d\u7684 {0} \u500b"}},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} \u30e1\u30b8\u30e3\u30fc","ko-KR":"{1} \uce21\uc815\uac12\uc758 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"\u041c\u0435\u0440\u044b: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} m\xe5tt","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} \u4e2a\u5ea6\u91cf","zh-TW":"{1} \u500b\u91cf\u503c\u4e2d\u7684 {0} \u500b"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ung\xfcltige Dimension","en-US":"Invalid dimension","es-ES":"Dimensi\xf3n no v\xe1lida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"\u7121\u52b9\u306a\u8ef8\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \ucc28\uc6d0","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawid\u0142owy wymiar","pt-BR":"Dimens\xe3o inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435","sv-SE":"Ogiltig dimension","tr-TR":"Ge\xe7ersiz boyut","zh-CN":"\u65e0\u6548\u7ef4\u5ea6","zh-TW":"\u7dad\u5ea6\u7121\u6548"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ung\xfcltige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no v\xe1lida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"\u7121\u52b9\u306a\u30e1\u30b8\u30e3\u30fc\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \uce21\uc815\uac12","nl-NL":"Ongeldige meting","pl-PL":"Nieprawid\u0142owa miara","pt-BR":"Medida inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u043c\u0435\u0440\u0430","sv-SE":"Ogiltigt m\xe5tt","tr-TR":"Ge\xe7ersiz hesaplama","zh-CN":"\u65e0\u6548\u5ea6\u91cf\u9879","zh-TW":"\u91cf\u503c\u7121\u6548"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"\u30a8\u30e9\u30fc","ko-KR":"\uc624\ub958","nl-NL":"Fout","pl-PL":"B\u0142\u0105d","pt-BR":"Erro","ru-RU":"\u041e\u0448\u0438\u0431\u043a\u0430","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"\u9519\u8bef","zh-TW":"\u932f\u8aa4"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erf\xfcllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condici\xf3n de c\xe1lculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non \xe8 soddisfatta","ja-JP":"\u6f14\u7b97\u5b9f\u884c\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u3066\u3044\u307e\u305b\u3093","ko-KR":"\uacc4\uc0b0 \uc870\uac74\uc774 \ucda9\uc871\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spe\u0142niony","pt-BR":"A condi\xe7\xe3o de c\xe1lculo n\xe3o foi atendida","ru-RU":"\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e","sv-SE":"Ber\xe4kningsvillkoret uppfylls inte","tr-TR":"Hesaplama ko\u015fulu yerine getirilmedi","zh-CN":"\u4e0d\u6ee1\u8db3\u8ba1\u7b97\u6761\u4ef6","zh-TW":"\u4e0d\u7b26\u8a08\u7b97\u689d\u4ef6"}}};function c(e){const t=l({initial:e});return Object.keys(u).forEach(e=>{t.translator.add(u[e])}),{translator:t.translator}}var d={};function h(){h.init.call(this)}d.isObject=function(e){return"object"==typeof e&&null!==e},d.isNumber=function(e){return"number"==typeof e},d.isUndefined=function(e){return void 0===e},d.isFunction=function(e){return"function"==typeof e};var p=h;h.EventEmitter=h,h.prototype._events=void 0,h.prototype._maxListeners=void 0,h.defaultMaxListeners=10,h.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},h.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},h.prototype.emit=function(e){var t,n,r,i,o,s;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(d.isUndefined(n=this._events[e]))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,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];n.apply(this,i)}else if(d.isObject(n)){for(r=arguments.length,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];for(r=(s=n.slice()).length,o=0;o<r;o++)s[o].apply(this,i)}return!0},h.prototype.on=h.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)?h.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},h.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},h.prototype.removeListener=function(e,t){var n,r,i,o;if(!d.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(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(o=i;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){r=o;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},h.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(d.isFunction(n=this._events[e]))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},h.prototype.listeners=function(e){return this._events&&this._events[e]?d.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},h.listenerCount=function(e,t){return e._events&&e._events[t]?d.isFunction(e._events[t])?1:e._events[t].length:0};var f=Object.prototype.hasOwnProperty,m=Object.prototype.toString,y=Object.defineProperty,g=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=f.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&f.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||f.call(e,t)},w=function(e,t){y&&"__proto__"===t.name?y(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(!f.call(e,t))return;if(g)return g(e,t).value}return e[t]},x=function e(){var t,n,r,i,o,s,a=arguments[0],l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});l<u;++l)if(null!=(t=arguments[l]))for(n in t)r=E(a,n),a!==(i=E(t,n))&&(c&&i&&(b(i)||(o=v(i)))?(o?(o=!1,s=r&&v(r)?r:[]):s=r&&b(r)?r:{},w(a,{name:n,newValue:e(c,s,i)})):void 0!==i&&w(a,{name:n,newValue:i}));return a},_={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"},C={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};function k(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function T(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function O(){}var L=.7,I=1/L,R="\\s*([+-]?\\d+)\\s*",P="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",N="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A=/^#([0-9a-f]{3,8})$/,D=new RegExp("^rgb\\("+[R,R,R]+"\\)$"),M=new RegExp("^rgb\\("+[N,N,N]+"\\)$"),q=new RegExp("^rgba\\("+[R,R,R,P]+"\\)$"),j=new RegExp("^rgba\\("+[N,N,N,P]+"\\)$"),F=new RegExp("^hsl\\("+[P,N,N]+"\\)$"),z=new RegExp("^hsla\\("+[P,N,N,P]+"\\)$"),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 H(){return this.rgb().formatHex()}function V(){return this.rgb().formatRgb()}function W(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=A.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?U(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=D.exec(e))?new Z(t[1],t[2],t[3],1):(t=M.exec(e))?new Z(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=q.exec(e))?$(t[1],t[2],t[3],t[4]):(t=j.exec(e))?$(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=F.exec(e))?Y(t[1],t[2]/100,t[3]/100,1):(t=z.exec(e))?Y(t[1],t[2]/100,t[3]/100,t[4]):B.hasOwnProperty(e)?U(B[e]):"transparent"===e?new Z(NaN,NaN,NaN,0):null}function U(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 Q(e){return e instanceof O||(e=W(e)),e?new Z((e=e.rgb()).r,e.g,e.b,e.opacity):new Z}function K(e,t,n,r){return 1===arguments.length?Q(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 G(){return"#"+J(this.r)+J(this.g)+J(this.b)}function X(){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,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,l=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=l<.5?o+i:2-o-i,s*=60):a=l>0&&l<1?0:s,new te(s,a,l,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)}k(O,W,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:H,formatHex:H,formatHsl:function(){return ee(this).formatHsl()},formatRgb:V,toString:V}),k(Z,K,T(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?L:Math.pow(L,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:G,formatHex:G,formatRgb:X,toString:X})),k(te,(function(e,t,n,r){return 1===arguments.length?ee(e):new te(e,t,n,null==r?1:r)}),T(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?L:Math.pow(L,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,i=2*n-r;return new Z(ne(e>=240?e-240:e+120,i,r),ne(e,i,r),ne(e<120?e+240:e-120,i,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 i=Math.floor(r);i=i===r?i-1:i;const o=this.colorParts[t][i],s=o[0],a=o[1];return e===this.min?a:e===this.max?s:function(e,t,n){return K(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(s,a,r-i)}}function ie(e,t,n){const r=.25+(t+1)/n*.25,i=.5-r;return i+e/1*(.5+r-i)}function oe(e,t,n){const r=[],i=new re(t);r.push(e[0]),n||r.push(e[0]);let o=1;for(;o<e.length-1;o++)r.push(e[o]),r.push(e[o]);r.push(e[o]),n||r.push(e[o]);for(let s=0;s<r.length;s+=2)i.addColorPart(r[s],r[s+1]);return i}function se(e,t,n){const r=[];for(let i=0;i<t+1;i++){let o;switch(t){case 0:o=e.getColor(.5);break;default:{const r=ie(1/t*i,t,n);o=e.getColor(r);break}}r.push(W(o).formatHex())}return r}function ae(e,t,n){const r=oe(e,n,!0),i=oe(se(r,t-1,t),n,!1),o=[null];for(let s=0;s<t;s++)o.push(se(i,s,t));return o}function le(e,t){let n=e;for(let r=0;r<t.length;r++){if(!n[t[r]])return null;n=n[t[r]]}return n}function ue(e,t){const n=e.split(".");return{getStyle:(e,r)=>function(e,t,n,r){let i;return i=function(e,t){const n=[];let r,i;if(e){let o=e.length;for(;o>=0;){for(r=t.slice(),i=r.length;i>=0;)n.push(r.concat(e)),r.pop(),i--;e.pop(),o--}}else for(r=t.slice(),i=r.length;i>=0;)n.push(r.concat()),r.pop(),i--;return n}(""===e?null:e.split("."),n),function(e,t,n){for(let r=0;r<e.length;r++){const i=le(n,e[r]);if(null!==i&&i[t])return i[t]}}(i,t,r)}(e,r,n.concat(),t)}}function ce(e){const t=W(e).rgb(),{r:n,g:r,b:i}=t,[o,s,a]=[n,r,i].map(e=>e/255),[l,u,c]=[o,s,a].map(e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4);return+(.2126*l+.7152*u+.0722*c).toFixed(5)}function de(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}function he(){let e,t,n,r={};const i={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,i)=>(r[t]||(r[t]=ue(t,e)),r[t].getStyle(n,i,!1))},o={setTheme(o,s){e=function(e,t){const n=x(!0,{},_,"dark"===e.type?C:S),r=x(!0,{},n,{scales:null,palettes:{data:null,ui:null}},e);return r.palettes.data&&r.palettes.data.length||(r.palettes.data=n.palettes.data),r.palettes.ui&&r.palettes.ui.length||(r.palettes.ui=n.palettes.ui),r.scales&&r.scales.length||(r.scales=n.scales),t(r)}(o,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 a=i.getStyle("","","color"),l=ce(a);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(i){if(!t[i]){n>1e3&&(t={},n=0);const o=ce(i),s=r.map(e=>de(o,e)),a=e[s.indexOf(Math.max(...s))];t[i]=a,n++}return t[i]}}}([a,l<.2?"#ffffff":"#333333"]),i.emit("changed"),i.name=()=>s}};return Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i),o.setTheme({},"light"),{externalAPI:i,internalAPI:o}}ue.resolveRawTheme=e=>{const t=x(!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=ae(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 pe=(e,t)=>new Promise(n=>setTimeout(()=>n(t),e));function fe(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=he();return{setTheme:async r=>{const i=e.filter(e=>e.id===r)[0];let o="dark"===r?"dark":"light";if(i&&i.load)try{const e=await Promise.race([i.load(),pe(5e3,{__timedOut:!0})]);e.__timedOut||(o="dark"===e.type?"dark":"light",n.internalAPI.setTheme(e,r),t.setMuiThemeName(o))}catch(e){}else n.internalAPI.setTheme({type:o},r),t.setMuiThemeName(o)},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 ye={exports:{}},ge={},ve=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,we=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 xe=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,i=Ee(e),o=1;o<arguments.length;o++){for(var s in n=Object(arguments[o]))be.call(n,s)&&(i[s]=n[s]);if(ve){r=ve(n);for(var a=0;a<r.length;a++)we.call(n,r[a])&&(i[r[a]]=n[r[a]])}}return i},_e=xe,Se=60103,Ce=60106;ge.Fragment=60107,ge.StrictMode=60108,ge.Profiler=60114;var ke=60109,Te=60110,Oe=60112;ge.Suspense=60113;var Le=60115,Ie=60116;if("function"==typeof Symbol&&Symbol.for){var Re=Symbol.for;Se=Re("react.element"),Ce=Re("react.portal"),ge.Fragment=Re("react.fragment"),ge.StrictMode=Re("react.strict_mode"),ge.Profiler=Re("react.profiler"),ke=Re("react.provider"),Te=Re("react.context"),Oe=Re("react.forward_ref"),ge.Suspense=Re("react.suspense"),Le=Re("react.memo"),Ie=Re("react.lazy")}var Pe="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 Ae={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},De={};function Me(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ae}function qe(){}function je(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ae}Me.prototype.isReactComponent={},Me.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")},Me.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},qe.prototype=Me.prototype;var Fe=je.prototype=new qe;Fe.constructor=je,_e(Fe,Me.prototype),Fe.isPureReactComponent=!0;var ze={current:null},Be=Object.prototype.hasOwnProperty,He={key:!0,ref:!0,__self:!0,__source:!0};function Ve(e,t,n){var r,i={},o=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)Be.call(t,r)&&!He.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return{$$typeof:Se,type:e,key:o,ref:s,props:i,_owner:ze.current}}function We(e){return"object"==typeof e&&null!==e&&e.$$typeof===Se}var Ue=/\/+/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 Qe(e,t,n){if(null==e)return e;var r=[],i=0;return function e(t,n,r,i,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var a=!1;if(null===t)a=!0;else switch(s){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Se:case Ce:a=!0}}if(a)return o=o(a=t),t=""===i?"."+$e(a,0):i,Array.isArray(o)?(r="",null!=t&&(r=t.replace(Ue,"$&/")+"/"),e(o,n,r,"",(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,r+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Ue,"$&/")+"/")+t)),n.push(o)),1;if(a=0,i=""===i?".":i+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=i+$e(s=t[l],l);a+=e(s,n,r,u,o)}else if("function"==typeof(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Pe&&e[Pe]||e["@@iterator"])?e:null}(t)))for(t=u.call(t),l=0;!(s=t.next()).done;)a+=e(s=s.value,n,r,u=i+$e(s,l++),o);else if("object"===s)throw n=""+t,Error(Ne(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n));return a}(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function Ke(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 Ze={current:null};function Ge(){var e=Ze.current;if(null===e)throw Error(Ne(321));return e}var Xe={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:ze,IsSomeRendererActing:{current:!1},assign:_e};ge.Children={map:Qe,forEach:function(e,t,n){Qe(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Qe(e,(function(){t++})),t},toArray:function(e){return Qe(e,(function(e){return e}))||[]},only:function(e){if(!We(e))throw Error(Ne(143));return e}},ge.Component=Me,ge.PureComponent=je,ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xe,ge.cloneElement=function(e,t,n){if(null==e)throw Error(Ne(267,e));var r=_e({},e.props),i=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=ze.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Be.call(t,l)&&!He.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==a?a[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Se,type:e.type,key:i,ref:o,props:r,_owner:s}},ge.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:Te,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:ke,_context:e},e.Consumer=e},ge.createElement=Ve,ge.createFactory=function(e){var t=Ve.bind(null,e);return t.type=e,t},ge.createRef=function(){return{current:null}},ge.forwardRef=function(e){return{$$typeof:Oe,render:e}},ge.isValidElement=We,ge.lazy=function(e){return{$$typeof:Ie,_payload:{_status:-1,_result:e},_init:Ke}},ge.memo=function(e,t){return{$$typeof:Le,type:e,compare:void 0===t?null:t}},ge.useCallback=function(e,t){return Ge().useCallback(e,t)},ge.useContext=function(e,t){return Ge().useContext(e,t)},ge.useDebugValue=function(){},ge.useEffect=function(e,t){return Ge().useEffect(e,t)},ge.useImperativeHandle=function(e,t,n){return Ge().useImperativeHandle(e,t,n)},ge.useLayoutEffect=function(e,t){return Ge().useLayoutEffect(e,t)},ge.useMemo=function(e,t){return Ge().useMemo(e,t)},ge.useReducer=function(e,t,n){return Ge().useReducer(e,t,n)},ge.useRef=function(e){return Ge().useRef(e)},ge.useState=function(e){return Ge().useState(e)},ge.version="17.0.2",ye.exports=ge;var Je=ye.exports,Ye={exports:{}},et={},tt={exports:{}},nt={};!function(e){var t,n,r,i;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,c=function(){if(null!==l)try{var t=e.unstable_now();l(!0,t),l=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==l?setTimeout(t,0,e):(l=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var p=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 p&&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 f=!1,m=null,y=-1,g=5,v=0;e.unstable_shouldYield=function(){return e.unstable_now()>=v},i=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"):g=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,w=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();v=t+g;try{m(!0,t)?w.postMessage(null):(f=!1,m=null)}catch(e){throw w.postMessage(null),e}}else f=!1},t=function(e){m=e,f||(f=!0,w.postMessage(null))},n=function(t,n){y=d((function(){t(e.unstable_now())}),n)},r=function(){h(y),y=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<S(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,s=e[o],a=o+1,l=e[a];if(void 0!==s&&0>S(s,n))void 0!==l&&0>S(l,s)?(e[r]=l,e[a]=n,r=a):(e[r]=s,e[o]=n,r=o);else{if(!(void 0!==l&&0>S(l,n)))break e;e[r]=l,e[a]=n,r=a}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],k=[],T=1,O=null,L=3,I=!1,R=!1,P=!1;function N(e){for(var t=x(k);null!==t;){if(null===t.callback)_(k);else{if(!(t.startTime<=e))break;_(k),t.sortIndex=t.expirationTime,E(C,t)}t=x(k)}}function A(e){if(P=!1,N(e),!R)if(null!==x(C))R=!0,t(D);else{var r=x(k);null!==r&&n(A,r.startTime-e)}}function D(t,i){R=!1,P&&(P=!1,r()),I=!0;var o=L;try{for(N(i),O=x(C);null!==O&&(!(O.expirationTime>i)||t&&!e.unstable_shouldYield());){var s=O.callback;if("function"==typeof s){O.callback=null,L=O.priorityLevel;var a=s(O.expirationTime<=i);i=e.unstable_now(),"function"==typeof a?O.callback=a:O===x(C)&&_(C),N(i)}else _(C);O=x(C)}if(null!==O)var l=!0;else{var u=x(k);null!==u&&n(A,u.startTime-i),l=!1}return l}finally{O=null,L=o,I=!1}}var M=i;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(){R||I||(R=!0,t(D))},e.unstable_getCurrentPriorityLevel=function(){return L},e.unstable_getFirstCallbackNode=function(){return x(C)},e.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=M,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},e.unstable_scheduleCallback=function(i,o,s){var a=e.unstable_now();switch(s="object"==typeof s&&null!==s&&"number"==typeof(s=s.delay)&&0<s?a+s:a,i){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return i={id:T++,callback:o,priorityLevel:i,startTime:s,expirationTime:l=s+l,sortIndex:-1},s>a?(i.sortIndex=s,E(k,i),null===x(C)&&i===x(k)&&(P?r():P=!0,n(A,s-a))):(i.sortIndex=l,E(C,i),R||I||(R=!0,t(D))),i},e.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}}(nt),tt.exports=nt;var rt=ye.exports,it=xe,ot=tt.exports;function st(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(!rt)throw Error(st(227));var at=new Set,lt={};function ut(e,t){ct(e,t),ct(e+"Capture",t)}function ct(e,t){for(lt[e]=t,e=0;e<t.length;e++)at.add(t[e])}var dt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ht=/^[: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]*$/,pt=Object.prototype.hasOwnProperty,ft={},mt={};function yt(e,t,n,r,i,o,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){gt[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];gt[t]=new yt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){gt[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){gt[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){gt[e]=new yt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){gt[e]=new yt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){gt[e]=new yt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){gt[e]=new yt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){gt[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var vt=/[\-:]([a-z])/g;function bt(e){return e[1].toUpperCase()}function wt(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(null!==i?0===i.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,i,r)&&(n=null),r||null===i?function(e){return!!pt.call(mt,e)||!pt.call(ft,e)&&(ht.test(e)?mt[e]=!0:(ft[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!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(vt,bt);gt[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(vt,bt);gt[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(vt,bt);gt[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){gt[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)})),gt.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){gt[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Et=rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xt=60103,_t=60106,St=60107,Ct=60108,kt=60114,Tt=60109,Ot=60110,Lt=60112,It=60113,Rt=60120,Pt=60115,Nt=60116,At=60121,Dt=60128,Mt=60129,qt=60130,jt=60131;if("function"==typeof Symbol&&Symbol.for){var Ft=Symbol.for;xt=Ft("react.element"),_t=Ft("react.portal"),St=Ft("react.fragment"),Ct=Ft("react.strict_mode"),kt=Ft("react.profiler"),Tt=Ft("react.provider"),Ot=Ft("react.context"),Lt=Ft("react.forward_ref"),It=Ft("react.suspense"),Rt=Ft("react.suspense_list"),Pt=Ft("react.memo"),Nt=Ft("react.lazy"),At=Ft("react.block"),Ft("react.scope"),Dt=Ft("react.opaque.id"),Mt=Ft("react.debug_trace_mode"),qt=Ft("react.offscreen"),jt=Ft("react.legacy_hidden")}var zt,Bt="function"==typeof Symbol&&Symbol.iterator;function Ht(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Bt&&e[Bt]||e["@@iterator"])?e:null}function Vt(e){if(void 0===zt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);zt=t&&t[1]||""}return"\n"+zt+e}var Wt=!1;function Ut(e,t){if(!e||Wt)return"";Wt=!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 i=e.stack.split("\n"),o=r.stack.split("\n"),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(1!==s||1!==a)do{if(s--,0>--a||i[s]!==o[a])return"\n"+i[s].replace(" at new "," at ")}while(1<=s&&0<=a);break}}}finally{Wt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vt(e):""}function $t(e){switch(e.tag){case 5:return Vt(e.type);case 16:return Vt("Lazy");case 13:return Vt("Suspense");case 19:return Vt("SuspenseList");case 0:case 2:case 15:return Ut(e.type,!1);case 11:return Ut(e.type.render,!1);case 22:return Ut(e.type._render,!1);case 1:return Ut(e.type,!0);default:return""}}function Qt(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 St:return"Fragment";case _t:return"Portal";case kt:return"Profiler";case Ct:return"StrictMode";case It:return"Suspense";case Rt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ot:return(e.displayName||"Context")+".Consumer";case Tt:return(e._context.displayName||"Context")+".Provider";case Lt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Pt:return Qt(e.type);case At:return Qt(e._render);case Nt:t=e._payload,e=e._init;try{return Qt(e(t))}catch(e){}}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Zt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Gt(e){e._valueTracker||(e._valueTracker=function(e){var t=Zt(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.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 Xt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Zt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Jt(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 Yt(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 en(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Kt(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 tn(e,t){null!=(t=t.checked)&&wt(e,"checked",t,!1)}function nn(e,t){tn(e,t);var n=Kt(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")?on(e,t.type,n):t.hasOwnProperty("defaultValue")&&on(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function rn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&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 on(e,t,n){"number"===t&&Jt(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function sn(e,t){return e=it({children:void 0},t),(t=function(e){var t="";return rt.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function an(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Kt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ln(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(st(91));return it({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function un(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(st(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(st(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function cn(e,t){var n=Kt(t.value),r=Kt(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 dn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var hn="http://www.w3.org/1999/xhtml";function pn(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 fn(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var mn,yn,gn=(yn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((mn=mn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=mn.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 vn(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 bn={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},wn=["Webkit","ms","Moz","O"];function En(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||bn.hasOwnProperty(e)&&bn[e]?(""+t).trim():t+"px"}function xn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=En(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(bn).forEach((function(e){wn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bn[t]=bn[e]}))}));var _n=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 Sn(e,t){if(t){if(_n[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(st(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(st(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(st(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(st(62))}}function Cn(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 kn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Tn=null,On=null,Ln=null;function In(e){if(e=Jo(e)){if("function"!=typeof Tn)throw Error(st(280));var t=e.stateNode;t&&(t=es(t),Tn(e.stateNode,e.type,t))}}function Rn(e){On?Ln?Ln.push(e):Ln=[e]:On=e}function Pn(){if(On){var e=On,t=Ln;if(Ln=On=null,In(e),t)for(e=0;e<t.length;e++)In(t[e])}}function Nn(e,t){return e(t)}function An(e,t,n,r,i){return e(t,n,r,i)}function Dn(){}var Mn=Nn,qn=!1,jn=!1;function Fn(){null===On&&null===Ln||(Dn(),Pn())}function zn(e,t){var n=e.stateNode;if(null===n)return null;var r=es(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(st(231,t,typeof n));return n}var Bn=!1;if(dt)try{var Hn={};Object.defineProperty(Hn,"passive",{get:function(){Bn=!0}}),window.addEventListener("test",Hn,Hn),window.removeEventListener("test",Hn,Hn)}catch(yn){Bn=!1}function Vn(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Wn=!1,Un=null,$n=!1,Qn=null,Kn={onError:function(e){Wn=!0,Un=e}};function Zn(e,t,n,r,i,o,s,a,l){Wn=!1,Un=null,Vn.apply(Kn,arguments)}function Gn(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 Xn(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 Jn(e){if(Gn(e)!==e)throw Error(st(188))}function Yn(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Gn(e)))throw Error(st(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Jn(i),e;if(o===r)return Jn(i),t;o=o.sibling}throw Error(st(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(st(189))}}if(n.alternate!==r)throw Error(st(190))}if(3!==n.tag)throw Error(st(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 er(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tr,nr,rr,ir,or=!1,sr=[],ar=null,lr=null,ur=null,cr=new Map,dr=new Map,hr=[],pr="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 fr(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function mr(e,t){switch(e){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":lr=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dr.delete(t.pointerId)}}function yr(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=fr(t,n,r,i,o),null!==t&&null!==(t=Jo(t))&&nr(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function gr(e){var t=Xo(e.target);if(null!==t){var n=Gn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xn(n)))return e.blockedOn=t,void ir(e.lanePriority,(function(){ot.unstable_runWithPriority(e.priority,(function(){rr(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Jo(n))&&nr(t),e.blockedOn=n,!1;t.shift()}return!0}function br(e,t,n){vr(e)&&n.delete(t)}function wr(){for(or=!1;0<sr.length;){var e=sr[0];if(null!==e.blockedOn){null!==(e=Jo(e.blockedOn))&&tr(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&sr.shift()}null!==ar&&vr(ar)&&(ar=null),null!==lr&&vr(lr)&&(lr=null),null!==ur&&vr(ur)&&(ur=null),cr.forEach(br),dr.forEach(br)}function Er(e,t){e.blockedOn===t&&(e.blockedOn=null,or||(or=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,wr)))}function xr(e){function t(t){return Er(t,e)}if(0<sr.length){Er(sr[0],e);for(var n=1;n<sr.length;n++){var r=sr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ar&&Er(ar,e),null!==lr&&Er(lr,e),null!==ur&&Er(ur,e),cr.forEach(t),dr.forEach(t),n=0;n<hr.length;n++)(r=hr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<hr.length&&null===(n=hr[0]).blockedOn;)gr(n),null===n.blockedOn&&hr.shift()}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Cr={},kr={};function Tr(e){if(Cr[e])return Cr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return Cr[e]=n[t];return e}dt&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Or=Tr("animationend"),Lr=Tr("animationiteration"),Ir=Tr("animationstart"),Rr=Tr("transitionend"),Pr=new Map,Nr=new Map,Ar=["abort","abort",Or,"animationEnd",Lr,"animationIteration",Ir,"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",Rr,"transitionEnd","waiting","waiting"];function Dr(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Nr.set(r,t),Pr.set(r,i),ut(i,[r])}}(0,ot.unstable_now)();var Mr=8;function qr(e){if(0!=(1&e))return Mr=15,1;if(0!=(2&e))return Mr=14,2;if(0!=(4&e))return Mr=13,4;var t=24&e;return 0!==t?(Mr=12,t):0!=(32&e)?(Mr=11,32):0!=(t=192&e)?(Mr=10,t):0!=(256&e)?(Mr=9,256):0!=(t=3584&e)?(Mr=8,t):0!=(4096&e)?(Mr=7,4096):0!=(t=4186112&e)?(Mr=6,t):0!=(t=62914560&e)?(Mr=5,t):67108864&e?(Mr=4,67108864):0!=(134217728&e)?(Mr=3,134217728):0!=(t=805306368&e)?(Mr=2,t):0!=(1073741824&e)?(Mr=1,1073741824):(Mr=8,e)}function jr(e,t){var n=e.pendingLanes;if(0===n)return Mr=0;var r=0,i=0,o=e.expiredLanes,s=e.suspendedLanes,a=e.pingedLanes;if(0!==o)r=o,i=Mr=15;else if(0!=(o=134217727&n)){var l=o&~s;0!==l?(r=qr(l),i=Mr):0!=(a&=o)&&(r=qr(a),i=Mr)}else 0!=(o=n&~s)?(r=qr(o),i=Mr):0!==a&&(r=qr(a),i=Mr);if(0===r)return 0;if(r=n&((0>(r=31-Vr(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&s)){if(qr(t),i<=Mr)return t;Mr=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Vr(t)),r|=e[n],t&=~i;return r}function Fr(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zr(e){return e&-e}function Br(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hr(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-(Wr(e)/Ur|0)|0},Wr=Math.log,Ur=Math.LN2,$r=ot.unstable_UserBlockingPriority,Qr=ot.unstable_runWithPriority,Kr=!0;function Zr(e,t,n,r){qn||Dn();var i=Xr,o=qn;qn=!0;try{An(i,e,t,n,r)}finally{(qn=o)||Fn()}}function Gr(e,t,n,r){Qr($r,Xr.bind(null,e,t,n,r))}function Xr(e,t,n,r){var i;if(Kr)if((i=0==(4&t))&&0<sr.length&&-1<pr.indexOf(e))e=fr(null,e,t,n,r),sr.push(e);else{var o=Jr(e,t,n,r);if(null===o)i&&mr(e,r);else{if(i){if(-1<pr.indexOf(e))return e=fr(o,e,t,n,r),void sr.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return ar=yr(ar,e,t,n,r,i),!0;case"dragenter":return lr=yr(lr,e,t,n,r,i),!0;case"mouseover":return ur=yr(ur,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return cr.set(o,yr(cr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return dr.set(o=i.pointerId,yr(dr.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;mr(e,r)}Io(e,t,r,null,n)}}}function Jr(e,t,n,r){var i=kn(r);if(null!==(i=Xo(i))){var o=Gn(i);if(null===o)i=null;else{var s=o.tag;if(13===s){if(null!==(i=Xn(o)))return i;i=null}else if(3===s){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Io(e,t,r,i,n),null}var Yr=null,ei=null,ti=null;function ni(){if(ti)return ti;var e,t,n=ei,r=n.length,i="value"in Yr?Yr.value:Yr.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===i[o-t];t++);return ti=i.slice(e,1<t?1-t:void 0)}function ri(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 ii(){return!0}function oi(){return!1}function si(e){function t(t,n,r,i,o){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(s)&&(this[s]=(t=e[s])?t(i):i[s]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?ii:oi,this.isPropagationStopped=oi,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=ii)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ii)},persist:function(){},isPersistent:ii}),t}var ai,li,ui,ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},di=si(ci),hi=it({},ci,{view:0,detail:0}),pi=si(hi),fi=it({},hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ci,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!==ui&&(ui&&"mousemove"===e.type?(ai=e.screenX-ui.screenX,li=e.screenY-ui.screenY):li=ai=0,ui=e),ai)},movementY:function(e){return"movementY"in e?e.movementY:li}}),mi=si(fi),yi=si(it({},fi,{dataTransfer:0})),gi=si(it({},hi,{relatedTarget:0})),vi=si(it({},ci,{animationName:0,elapsedTime:0,pseudoElement:0})),bi=si(it({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),wi=si(it({},ci,{data:0})),Ei={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xi={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"},_i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Si(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_i[e])&&!!t[e]}function Ci(){return Si}var ki=si(it({},hi,{key:function(e){if(e.key){var t=Ei[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ri(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ci,charCode:function(e){return"keypress"===e.type?ri(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ri(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ti=si(it({},fi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Oi=si(it({},hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ci})),Li=si(it({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ii=si(it({},fi,{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})),Ri=[9,13,27,32],Pi=dt&&"CompositionEvent"in window,Ni=null;dt&&"documentMode"in document&&(Ni=document.documentMode);var Ai=dt&&"TextEvent"in window&&!Ni,Di=dt&&(!Pi||Ni&&8<Ni&&11>=Ni),Mi=String.fromCharCode(32),qi=!1;function ji(e,t){switch(e){case"keyup":return-1!==Ri.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fi(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var zi=!1,Bi={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 Hi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bi[e.type]:"textarea"===t}function Vi(e,t,n,r){Rn(r),0<(t=Po(t,"onChange")).length&&(n=new di("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wi=null,Ui=null;function $i(e){So(e,0)}function Qi(e){if(Xt(Yo(e)))return e}function Ki(e,t){if("change"===e)return t}var Zi=!1;if(dt){var Gi;if(dt){var Xi="oninput"in document;if(!Xi){var Ji=document.createElement("div");Ji.setAttribute("oninput","return;"),Xi="function"==typeof Ji.oninput}Gi=Xi}else Gi=!1;Zi=Gi&&(!document.documentMode||9<document.documentMode)}function Yi(){Wi&&(Wi.detachEvent("onpropertychange",eo),Ui=Wi=null)}function eo(e){if("value"===e.propertyName&&Qi(Ui)){var t=[];if(Vi(t,Ui,e,kn(e)),e=$i,qn)e(t);else{qn=!0;try{Nn(e,t)}finally{qn=!1,Fn()}}}}function to(e,t,n){"focusin"===e?(Yi(),Ui=n,(Wi=t).attachEvent("onpropertychange",eo)):"focusout"===e&&Yi()}function no(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qi(Ui)}function ro(e,t){if("click"===e)return Qi(t)}function io(e,t){if("input"===e||"change"===e)return Qi(t)}var oo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},so=Object.prototype.hasOwnProperty;function ao(e,t){if(oo(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(!so.call(t,n[r])||!oo(e[n[r]],t[n[r]]))return!1;return!0}function lo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function uo(e,t){var n,r=lo(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=lo(r)}}function co(){for(var e=window,t=Jt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Jt((e=t.contentWindow).document)}return t}function ho(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 po=dt&&"documentMode"in document&&11>=document.documentMode,fo=null,mo=null,yo=null,go=!1;function vo(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;go||null==fo||fo!==Jt(r)||(r="selectionStart"in(r=fo)&&ho(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},yo&&ao(yo,r)||(yo=r,0<(r=Po(mo,"onSelect")).length&&(t=new di("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fo)))}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(Ar,2);for(var bo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),wo=0;wo<bo.length;wo++)Nr.set(bo[wo],0);ct("onMouseEnter",["mouseout","mouseover"]),ct("onMouseLeave",["mouseout","mouseover"]),ct("onPointerEnter",["pointerout","pointerover"]),ct("onPointerLeave",["pointerout","pointerover"]),ut("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ut("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ut("onBeforeInput",["compositionend","keypress","textInput","paste"]),ut("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ut("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ut("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eo));function _o(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,a,l){if(Zn.apply(this,arguments),Wn){if(!Wn)throw Error(st(198));var u=Un;Wn=!1,Un=null,$n||($n=!0,Qn=u)}}(r,t,void 0,e),e.currentTarget=null}function So(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;_o(i,a,u),o=l}else for(s=0;s<r.length;s++){if(l=(a=r[s]).instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;_o(i,a,u),o=l}}}if($n)throw e=Qn,$n=!1,Qn=null,e}function Co(e,t){var n=ts(t),r=e+"__bubble";n.has(r)||(Lo(t,e,2,!1),n.add(r))}var ko="_reactListening"+Math.random().toString(36).slice(2);function To(e){e[ko]||(e[ko]=!0,at.forEach((function(t){xo.has(t)||Oo(t,!1,e,null),Oo(t,!0,e,null)})))}function Oo(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&xo.has(e)){if("scroll"!==e)return;i|=2,o=r}var s=ts(o),a=e+"__"+(t?"capture":"bubble");s.has(a)||(t&&(i|=4),Lo(o,e,i,t),s.add(a))}function Lo(e,t,n,r){var i=Nr.get(t);switch(void 0===i?2:i){case 0:i=Zr;break;case 1:i=Gr;break;default:i=Xr}n=i.bind(null,t,n,e),i=void 0,!Bn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),e.addEventListener(t,n,r?void 0===i||{capture:!0,passive:i}:void 0!==i&&{passive:i})}function Io(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var a=r.stateNode.containerInfo;if(a===i||8===a.nodeType&&a.parentNode===i)break;if(4===s)for(s=r.return;null!==s;){var l=s.tag;if((3===l||4===l)&&((l=s.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;s=s.return}for(;null!==a;){if(null===(s=Xo(a)))return;if(5===(l=s.tag)||6===l){r=o=s;continue e}a=a.parentNode}}r=r.return}!function(e,t,n){if(jn)return e();jn=!0;try{Mn(e,void 0,void 0)}finally{jn=!1,Fn()}}((function(){var r=o,i=kn(n),s=[];e:{var a=Pr.get(e);if(void 0!==a){var l=di,u=e;switch(e){case"keypress":if(0===ri(n))break e;case"keydown":case"keyup":l=ki;break;case"focusin":u="focus",l=gi;break;case"focusout":u="blur",l=gi;break;case"beforeblur":case"afterblur":l=gi;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":l=mi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Oi;break;case Or:case Lr:case Ir:l=vi;break;case Rr:l=Li;break;case"scroll":l=pi;break;case"wheel":l=Ii;break;case"copy":case"cut":case"paste":l=bi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Ti}var c=0!=(4&t),d=!c&&"scroll"===e,h=c?null!==a?a+"Capture":null:a;c=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&null!=(m=zn(f,h))&&c.push(Ro(f,m,p))),d)break;f=f.return}0<c.length&&(a=new l(a,u,null,n,i),s.push({event:a,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!Xo(u)&&!u[Zo])&&(l||a)&&(a=i.window===i?i:(a=i.ownerDocument)?a.defaultView||a.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Xo(u):null)&&(u!==(d=Gn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=mi,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ti,m="onPointerLeave",h="onPointerEnter",f="pointer"),d=null==l?a:Yo(l),p=null==u?a:Yo(u),(a=new c(m,f+"leave",l,n,i)).target=d,a.relatedTarget=p,m=null,Xo(i)===r&&((c=new c(h,f+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(h=u,f=0,p=c=l;p;p=No(p))f++;for(p=0,m=h;m;m=No(m))p++;for(;0<f-p;)c=No(c),f--;for(;0<p-f;)h=No(h),p--;for(;f--;){if(c===h||null!==h&&c===h.alternate)break e;c=No(c),h=No(h)}c=null}else c=null;null!==l&&Ao(s,a,l,c,!1),null!==u&&null!==d&&Ao(s,d,u,c,!0)}if("select"===(l=(a=r?Yo(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===l&&"file"===a.type)var y=Ki;else if(Hi(a))if(Zi)y=io;else{y=no;var g=to}else(l=a.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(y=ro);switch(y&&(y=y(e,r))?Vi(s,y,n,i):(g&&g(e,a,r),"focusout"===e&&(g=a._wrapperState)&&g.controlled&&"number"===a.type&&on(a,"number",a.value)),g=r?Yo(r):window,e){case"focusin":(Hi(g)||"true"===g.contentEditable)&&(fo=g,mo=r,yo=null);break;case"focusout":yo=mo=fo=null;break;case"mousedown":go=!0;break;case"contextmenu":case"mouseup":case"dragend":go=!1,vo(s,n,i);break;case"selectionchange":if(po)break;case"keydown":case"keyup":vo(s,n,i)}var v;if(Pi)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 zi?ji(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Di&&"ko"!==n.locale&&(zi||"onCompositionStart"!==b?"onCompositionEnd"===b&&zi&&(v=ni()):(ei="value"in(Yr=i)?Yr.value:Yr.textContent,zi=!0)),0<(g=Po(r,b)).length&&(b=new wi(b,e,null,n,i),s.push({event:b,listeners:g}),(v||null!==(v=Fi(n)))&&(b.data=v))),(v=Ai?function(e,t){switch(e){case"compositionend":return Fi(t);case"keypress":return 32!==t.which?null:(qi=!0,Mi);case"textInput":return(e=t.data)===Mi&&qi?null:e;default:return null}}(e,n):function(e,t){if(zi)return"compositionend"===e||!Pi&&ji(e,t)?(e=ni(),ti=ei=Yr=null,zi=!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 Di&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Po(r,"onBeforeInput")).length&&(i=new wi("onBeforeInput","beforeinput",null,n,i),s.push({event:i,listeners:r}),i.data=v)}So(s,t)}))}function Ro(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Po(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=zn(e,n))&&r.unshift(Ro(e,o,i)),null!=(o=zn(e,t))&&r.push(Ro(e,o,i))),e=e.return}return r}function No(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ao(e,t,n,r,i){for(var o=t._reactName,s=[];null!==n&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(null!==l&&l===r)break;5===a.tag&&null!==u&&(a=u,i?null!=(l=zn(n,o))&&s.unshift(Ro(n,l,a)):i||null!=(l=zn(n,o))&&s.push(Ro(n,l,a))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}function Do(){}var Mo=null,qo=null;function jo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Fo(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 zo="function"==typeof setTimeout?setTimeout:void 0,Bo="function"==typeof clearTimeout?clearTimeout:void 0;function Ho(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Vo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Wo(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 Uo=0,$o=Math.random().toString(36).slice(2),Qo="__reactFiber$"+$o,Ko="__reactProps$"+$o,Zo="__reactContainer$"+$o,Go="__reactEvents$"+$o;function Xo(e){var t=e[Qo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zo]||n[Qo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Wo(e);null!==e;){if(n=e[Qo])return n;e=Wo(e)}return t}n=(e=n).parentNode}return null}function Jo(e){return!(e=e[Qo]||e[Zo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Yo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(st(33))}function es(e){return e[Ko]||null}function ts(e){var t=e[Go];return void 0===t&&(t=e[Go]=new Set),t}var ns=[],rs=-1;function is(e){return{current:e}}function os(e){0>rs||(e.current=ns[rs],ns[rs]=null,rs--)}function ss(e,t){rs++,ns[rs]=e.current,e.current=t}var as={},ls=is(as),us=is(!1),cs=as;function ds(e,t){var n=e.type.contextTypes;if(!n)return as;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function hs(e){return null!=e.childContextTypes}function ps(){os(us),os(ls)}function fs(e,t,n){if(ls.current!==as)throw Error(st(168));ss(ls,t),ss(us,n)}function ms(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(st(108,Qt(t)||"Unknown",i));return it({},n,r)}function ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||as,cs=ls.current,ss(ls,e),ss(us,us.current),!0}function gs(e,t,n){var r=e.stateNode;if(!r)throw Error(st(169));n?(e=ms(e,t,cs),r.__reactInternalMemoizedMergedChildContext=e,os(us),os(ls),ss(ls,e)):os(us),ss(us,n)}var vs=null,bs=null,ws=ot.unstable_runWithPriority,Es=ot.unstable_scheduleCallback,xs=ot.unstable_cancelCallback,_s=ot.unstable_shouldYield,Ss=ot.unstable_requestPaint,Cs=ot.unstable_now,ks=ot.unstable_getCurrentPriorityLevel,Ts=ot.unstable_ImmediatePriority,Os=ot.unstable_UserBlockingPriority,Ls=ot.unstable_NormalPriority,Is=ot.unstable_LowPriority,Rs=ot.unstable_IdlePriority,Ps={},Ns=void 0!==Ss?Ss:function(){},As=null,Ds=null,Ms=!1,qs=Cs(),js=1e4>qs?Cs:function(){return Cs()-qs};function Fs(){switch(ks()){case Ts:return 99;case Os:return 98;case Ls:return 97;case Is:return 96;case Rs:return 95;default:throw Error(st(332))}}function zs(e){switch(e){case 99:return Ts;case 98:return Os;case 97:return Ls;case 96:return Is;case 95:return Rs;default:throw Error(st(332))}}function Bs(e,t){return e=zs(e),ws(e,t)}function Hs(e,t,n){return e=zs(e),Es(e,t,n)}function Vs(){if(null!==Ds){var e=Ds;Ds=null,xs(e)}Ws()}function Ws(){if(!Ms&&null!==As){Ms=!0;var e=0;try{var t=As;Bs(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),As=null}catch(t){throw null!==As&&(As=As.slice(e+1)),Es(Ts,Vs),t}finally{Ms=!1}}}var Us=Et.ReactCurrentBatchConfig;function $s(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 Qs=is(null),Ks=null,Zs=null,Gs=null;function Xs(){Gs=Zs=Ks=null}function Js(e){var t=Qs.current;os(Qs),e.type._context._currentValue=t}function Ys(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 ea(e,t){Ks=e,Gs=Zs=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Rl=!0),e.firstContext=null)}function ta(e,t){if(Gs!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Gs=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zs){if(null===Ks)throw Error(st(308));Zs=t,Ks.dependencies={lanes:0,firstContext:t,responders:null}}else Zs=Zs.next=t;return e._currentValue}var na=!1;function ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ia(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sa(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 aa(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=s:o=o.next=s,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects}}}function la(e,t,n,r){var i=e.updateQueue;na=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var l=a,u=l.next;l.next=null,null===s?o=u:s.next=u,s=l;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==s&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=l)}}if(null!==o){for(d=i.baseState,s=0,c=u=l=null;;){var h=o.eventTime;if((r&(a=o.lane))===a){null!==c&&(c=c.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,f=o;switch(a=t,h=n,f.tag){case 1:if("function"==typeof(p=f.payload)){d=p.call(h,d,a);break e}d=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(a="function"==typeof(p=f.payload)?p.call(h,d,a):p))break e;d=it({},d,a);break e;case 2:na=!0}}null!==o.callback&&(e.flags|=32,null===(a=i.effects)?i.effects=[o]:a.push(o))}else h={eventTime:h,lane:a,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,s|=a;if(null===(o=o.next)){if(null===(a=i.shared.pending))break;o=a.next,a.next=null,i.lastBaseUpdate=a,i.shared.pending=null}}null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,Ru|=s,e.lanes=s,e.memoizedState=d}}function ua(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(st(191,i));i.call(r)}}}var ca=(new rt.Component).refs;function da(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 ha={isMounted:function(e){return!!(e=e._reactInternals)&&Gn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nc(),i=rc(e),o=oa(r,i);o.payload=t,null!=n&&(o.callback=n),sa(e,o),ic(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nc(),i=rc(e),o=oa(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),sa(e,o),ic(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nc(),r=rc(e),i=oa(n,r);i.tag=2,null!=t&&(i.callback=t),sa(e,i),ic(e,r,n)}};function pa(e,t,n,r,i,o,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,s):!(t.prototype&&t.prototype.isPureReactComponent&&ao(n,r)&&ao(i,o))}function fa(e,t,n){var r=!1,i=as,o=t.contextType;return"object"==typeof o&&null!==o?o=ta(o):(i=hs(t)?cs:ls.current,o=(r=null!=(r=t.contextTypes))?ds(e,i):as),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=ha,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ma(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&&ha.enqueueReplaceState(t,t.state,null)}function ya(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=ca,ra(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=ta(o):(o=hs(t)?cs:ls.current,i.context=ds(e,o)),la(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(da(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ha.enqueueReplaceState(i,i.state,null),la(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var ga=Array.isArray;function va(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(st(309));var r=n.stateNode}if(!r)throw Error(st(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===ca&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(st(284));if(!n._owner)throw Error(st(290,e))}return e}function ba(e,t){if("textarea"!==e.type)throw Error(st(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function wa(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;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function o(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 s(t){return e&&null===t.alternate&&(t.flags=2),t}function a(e,t,n,r){return null===t||6!==t.tag?((t=zc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=va(e,t,n),r.return=e,r):((r=qc(n.type,n.key,n.props,null,e.mode,r)).ref=va(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=Bc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=jc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=zc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case xt:return(n=qc(t.type,t.key,t.props,null,e.mode,n)).ref=va(e,null,t),n.return=e,n;case _t:return(t=Bc(t,e.mode,n)).return=e,t}if(ga(t)||Ht(t))return(t=jc(t,e.mode,n,null)).return=e,t;ba(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:a(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case xt:return n.key===i?n.type===St?c(e,t,n.props.children,r,i):l(e,t,n,r):null;case _t:return n.key===i?u(e,t,n,r):null}if(ga(n)||Ht(n))return null!==i?null:c(e,t,n,r,null);ba(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return a(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case xt:return e=e.get(null===r.key?n:r.key)||null,r.type===St?c(t,e,r.props.children,i,r.key):l(t,e,r,i);case _t:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(ga(r)||Ht(r))return c(t,e=e.get(n)||null,r,i,null);ba(t,r)}return null}function f(i,s,a,l){for(var u=null,c=null,f=s,m=s=0,y=null;null!==f&&m<a.length;m++){f.index>m?(y=f,f=null):y=f.sibling;var g=h(i,f,a[m],l);if(null===g){null===f&&(f=y);break}e&&f&&null===g.alternate&&t(i,f),s=o(g,s,m),null===c?u=g:c.sibling=g,c=g,f=y}if(m===a.length)return n(i,f),u;if(null===f){for(;m<a.length;m++)null!==(f=d(i,a[m],l))&&(s=o(f,s,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(i,f);m<a.length;m++)null!==(y=p(f,i,m,a[m],l))&&(e&&null!==y.alternate&&f.delete(null===y.key?m:y.key),s=o(y,s,m),null===c?u=y:c.sibling=y,c=y);return e&&f.forEach((function(e){return t(i,e)})),u}function m(i,s,a,l){var u=Ht(a);if("function"!=typeof u)throw Error(st(150));if(null==(a=u.call(a)))throw Error(st(151));for(var c=u=null,f=s,m=s=0,y=null,g=a.next();null!==f&&!g.done;m++,g=a.next()){f.index>m?(y=f,f=null):y=f.sibling;var v=h(i,f,g.value,l);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),s=o(v,s,m),null===c?u=v:c.sibling=v,c=v,f=y}if(g.done)return n(i,f),u;if(null===f){for(;!g.done;m++,g=a.next())null!==(g=d(i,g.value,l))&&(s=o(g,s,m),null===c?u=g:c.sibling=g,c=g);return u}for(f=r(i,f);!g.done;m++,g=a.next())null!==(g=p(f,i,m,g.value,l))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),s=o(g,s,m),null===c?u=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(i,e)})),u}return function(e,r,o,a){var l="object"==typeof o&&null!==o&&o.type===St&&null===o.key;l&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case xt:e:{for(u=o.key,l=r;null!==l;){if(l.key===u){switch(l.tag){case 7:if(o.type===St){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}break;default:if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=va(e,l,o),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}o.type===St?((r=jc(o.props.children,e.mode,a,o.key)).return=e,e=r):((a=qc(o.type,o.key,o.props,null,e.mode,a)).ref=va(e,r,o),a.return=e,e=a)}return s(e);case _t:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Bc(o,e.mode,a)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=zc(o,e.mode,a)).return=e,e=r),s(e);if(ga(o))return f(e,r,o,a);if(Ht(o))return m(e,r,o,a);if(u&&ba(e,o),void 0===o&&!l)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(st(152,Qt(e.type)||"Component"))}return n(e,r)}}var Ea=wa(!0),xa=wa(!1),_a={},Sa=is(_a),Ca=is(_a),ka=is(_a);function Ta(e){if(e===_a)throw Error(st(174));return e}function Oa(e,t){switch(ss(ka,t),ss(Ca,e),ss(Sa,_a),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fn(null,"");break;default:t=fn(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}os(Sa),ss(Sa,t)}function La(){os(Sa),os(Ca),os(ka)}function Ia(e){Ta(ka.current);var t=Ta(Sa.current),n=fn(t,e.type);t!==n&&(ss(Ca,e),ss(Sa,n))}function Ra(e){Ca.current===e&&(os(Sa),os(Ca))}var Pa=is(0);function Na(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 Aa=null,Da=null,Ma=!1;function qa(e,t){var n=Ac(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 ja(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.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 Fa(e){if(Ma){var t=Da;if(t){var n=t;if(!ja(e,t)){if(!(t=Vo(n.nextSibling))||!ja(e,t))return e.flags=-1025&e.flags|2,Ma=!1,void(Aa=e);qa(Aa,n)}Aa=e,Da=Vo(t.firstChild)}else e.flags=-1025&e.flags|2,Ma=!1,Aa=e}}function za(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Aa=e}function Ba(e){if(e!==Aa)return!1;if(!Ma)return za(e),Ma=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Fo(t,e.memoizedProps))for(t=Da;t;)qa(e,t),t=Vo(t.nextSibling);if(za(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(st(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Da=Vo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Da=null}}else Da=Aa?Vo(e.stateNode.nextSibling):null;return!0}function Ha(){Da=Aa=null,Ma=!1}var Va=[];function Wa(){for(var e=0;e<Va.length;e++)Va[e]._workInProgressVersionPrimary=null;Va.length=0}var Ua=Et.ReactCurrentDispatcher,$a=Et.ReactCurrentBatchConfig,Qa=0,Ka=null,Za=null,Ga=null,Xa=!1,Ja=!1;function Ya(){throw Error(st(321))}function el(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!oo(e[n],t[n]))return!1;return!0}function tl(e,t,n,r,i,o){if(Qa=o,Ka=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ua.current=null===e||null===e.memoizedState?Tl:Ol,e=n(r,i),Ja){o=0;do{if(Ja=!1,!(25>o))throw Error(st(301));o+=1,Ga=Za=null,t.updateQueue=null,Ua.current=Ll,e=n(r,i)}while(Ja)}if(Ua.current=kl,t=null!==Za&&null!==Za.next,Qa=0,Ga=Za=Ka=null,Xa=!1,t)throw Error(st(300));return e}function nl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ga?Ka.memoizedState=Ga=e:Ga=Ga.next=e,Ga}function rl(){if(null===Za){var e=Ka.alternate;e=null!==e?e.memoizedState:null}else e=Za.next;var t=null===Ga?Ka.memoizedState:Ga.next;if(null!==t)Ga=t,Za=e;else{if(null===e)throw Error(st(310));e={memoizedState:(Za=e).memoizedState,baseState:Za.baseState,baseQueue:Za.baseQueue,queue:Za.queue,next:null},null===Ga?Ka.memoizedState=Ga=e:Ga=Ga.next=e}return Ga}function il(e,t){return"function"==typeof t?t(e):t}function ol(e){var t=rl(),n=t.queue;if(null===n)throw Error(st(311));n.lastRenderedReducer=e;var r=Za,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){r=r.baseState;var a=s=o=null,l=i=i.next;do{var u=l.lane;if((Qa&u)===u)null!==a&&(a=a.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var c={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===a?(s=a=c,o=r):a=a.next=c,Ka.lanes|=u,Ru|=u}l=l.next}while(null!==l&&l!==i);null===a?o=r:a.next=s,oo(r,t.memoizedState)||(Rl=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=a,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function sl(e){var t=rl(),n=t.queue;if(null===n)throw Error(st(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);oo(o,t.memoizedState)||(Rl=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function al(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=(Qa&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Va.push(t)),e)return n(t._source);throw Va.push(t),Error(st(350))}function ll(e,t,n,r){var i=_u;if(null===i)throw Error(st(349));var o=t._getVersion,s=o(t._source),a=Ua.current,l=a.useState((function(){return al(i,t,n)})),u=l[1],c=l[0];l=Ga;var d=e.memoizedState,h=d.refs,p=h.getSnapshot,f=d.source;d=d.subscribe;var m=Ka;return e.memoizedState={refs:h,source:t,subscribe:r},a.useEffect((function(){h.getSnapshot=n,h.setSnapshot=u;var e=o(t._source);if(!oo(s,e)){e=n(t._source),oo(c,e)||(u(e),e=rc(m),i.mutableReadLanes|=e&i.pendingLanes),i.entangledLanes|=e=i.mutableReadLanes;for(var r=i.entanglements,a=e;0<a;){var l=31-Vr(a),d=1<<l;r[l]|=e,a&=~d}}}),[n,t,r]),a.useEffect((function(){return r(t._source,(function(){var e=h.getSnapshot,n=h.setSnapshot;try{n(e(t._source));var r=rc(m);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),oo(p,n)&&oo(f,t)&&oo(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:il,lastRenderedState:c}).dispatch=u=Cl.bind(null,Ka,e),l.queue=e,l.baseQueue=null,c=al(i,t,n),l.memoizedState=l.baseState=c),c}function ul(e,t,n){return ll(rl(),e,t,n)}function cl(e){var t=nl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:il,lastRenderedState:e}).dispatch=Cl.bind(null,Ka,e),[t.memoizedState,e]}function dl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ka.updateQueue)?(Ka.updateQueue=t={lastEffect:null},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 hl(e){return e={current:e},nl().memoizedState=e}function pl(){return rl().memoizedState}function fl(e,t,n,r){var i=nl();Ka.flags|=e,i.memoizedState=dl(1|t,n,void 0,void 0===r?null:r)}function ml(e,t,n,r){var i=rl();r=void 0===r?null:r;var o=void 0;if(null!==Za){var s=Za.memoizedState;if(o=s.destroy,null!==r&&el(r,s.deps))return void dl(t,n,o,r)}Ka.flags|=e,i.memoizedState=dl(1|t,n,o,r)}function yl(e,t){return fl(516,4,e,t)}function gl(e,t){return ml(516,4,e,t)}function vl(e,t){return ml(4,2,e,t)}function bl(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 wl(e,t,n){return n=null!=n?n.concat([e]):null,ml(4,2,bl.bind(null,t,e),n)}function El(){}function xl(e,t){var n=rl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&el(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _l(e,t){var n=rl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&el(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Sl(e,t){var n=Fs();Bs(98>n?98:n,(function(){e(!0)})),Bs(97<n?97:n,(function(){var n=$a.transition;$a.transition=1;try{e(!1),t()}finally{$a.transition=n}}))}function Cl(e,t,n){var r=nc(),i=rc(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},s=t.pending;if(null===s?o.next=o:(o.next=s.next,s.next=o),t.pending=o,s=e.alternate,e===Ka||null!==s&&s===Ka)Ja=Xa=!0;else{if(0===e.lanes&&(null===s||0===s.lanes)&&null!==(s=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=s(a,n);if(o.eagerReducer=s,o.eagerState=l,oo(l,a))return}catch(e){}ic(e,i,r)}}var kl={readContext:ta,useCallback:Ya,useContext:Ya,useEffect:Ya,useImperativeHandle:Ya,useLayoutEffect:Ya,useMemo:Ya,useReducer:Ya,useRef:Ya,useState:Ya,useDebugValue:Ya,useDeferredValue:Ya,useTransition:Ya,useMutableSource:Ya,useOpaqueIdentifier:Ya,unstable_isNewReconciler:!1},Tl={readContext:ta,useCallback:function(e,t){return nl().memoizedState=[e,void 0===t?null:t],e},useContext:ta,useEffect:yl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,fl(4,2,bl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fl(4,2,e,t)},useMemo:function(e,t){var n=nl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nl();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=Cl.bind(null,Ka,e),[r.memoizedState,e]},useRef:hl,useState:cl,useDebugValue:El,useDeferredValue:function(e){var t=cl(e),n=t[0],r=t[1];return yl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=cl(!1),t=e[0];return hl(e=Sl.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=nl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ll(r,e,t,n)},useOpaqueIdentifier:function(){if(Ma){var e=!1,t=function(e){return{$$typeof:Dt,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Uo++).toString(36))),Error(st(355))})),n=cl(t)[1];return 0==(2&Ka.mode)&&(Ka.flags|=516,dl(5,(function(){n("r:"+(Uo++).toString(36))}),void 0,null)),t}return cl(t="r:"+(Uo++).toString(36)),t},unstable_isNewReconciler:!1},Ol={readContext:ta,useCallback:xl,useContext:ta,useEffect:gl,useImperativeHandle:wl,useLayoutEffect:vl,useMemo:_l,useReducer:ol,useRef:pl,useState:function(){return ol(il)},useDebugValue:El,useDeferredValue:function(e){var t=ol(il),n=t[0],r=t[1];return gl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=ol(il)[0];return[pl().current,e]},useMutableSource:ul,useOpaqueIdentifier:function(){return ol(il)[0]},unstable_isNewReconciler:!1},Ll={readContext:ta,useCallback:xl,useContext:ta,useEffect:gl,useImperativeHandle:wl,useLayoutEffect:vl,useMemo:_l,useReducer:sl,useRef:pl,useState:function(){return sl(il)},useDebugValue:El,useDeferredValue:function(e){var t=sl(il),n=t[0],r=t[1];return gl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=sl(il)[0];return[pl().current,e]},useMutableSource:ul,useOpaqueIdentifier:function(){return sl(il)[0]},unstable_isNewReconciler:!1},Il=Et.ReactCurrentOwner,Rl=!1;function Pl(e,t,n,r){t.child=null===e?xa(t,null,n,r):Ea(t,e.child,n,r)}function Nl(e,t,n,r,i){n=n.render;var o=t.ref;return ea(t,i),r=tl(e,t,n,r,o,i),null===e||Rl?(t.flags|=1,Pl(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Xl(e,t,i))}function Al(e,t,n,r,i,o){if(null===e){var s=n.type;return"function"!=typeof s||Dc(s)||void 0!==s.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=qc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=s,Dl(e,t,s,r,i,o))}return s=e.child,0==(i&o)&&(n=null!==(n=n.compare)?n:ao)(i=s.memoizedProps,r)&&e.ref===t.ref?Xl(e,t,o):(t.flags|=1,(e=Mc(s,r)).ref=t.ref,e.return=t,t.child=e)}function Dl(e,t,n,r,i,o){if(null!==e&&ao(e.memoizedProps,r)&&e.ref===t.ref){if(Rl=!1,0==(o&i))return t.lanes=e.lanes,Xl(e,t,o);0!=(16384&e.flags)&&(Rl=!0)}return jl(e,t,n,r,o)}function Ml(e,t,n){var r=t.pendingProps,i=r.children,o=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!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},hc(0,e),null;t.memoizedState={baseLanes:0},hc(0,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,hc(0,r);return Pl(e,t,i,n),t.child}function ql(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function jl(e,t,n,r,i){var o=hs(n)?cs:ls.current;return o=ds(t,o),ea(t,i),n=tl(e,t,n,r,o,i),null===e||Rl?(t.flags|=1,Pl(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Xl(e,t,i))}function Fl(e,t,n,r,i){if(hs(n)){var o=!0;ys(t)}else o=!1;if(ea(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),fa(t,n,r),ya(t,n,r,i),r=!0;else if(null===e){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;u="object"==typeof u&&null!==u?ta(u):ds(t,u=hs(n)?cs:ls.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof s.getSnapshotBeforeUpdate;d||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==r||l!==u)&&ma(t,s,r,u),na=!1;var h=t.memoizedState;s.state=h,la(t,r,s,i),l=t.memoizedState,a!==r||h!==l||us.current||na?("function"==typeof c&&(da(t,n,c,r),l=t.memoizedState),(a=na||pa(t,n,a,r,h,l,u))?(d||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.flags|=4)):("function"==typeof s.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):("function"==typeof s.componentDidMount&&(t.flags|=4),r=!1)}else{s=t.stateNode,ia(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:$s(t.type,a),s.props=u,d=t.pendingProps,h=s.context,l="object"==typeof(l=n.contextType)&&null!==l?ta(l):ds(t,l=hs(n)?cs:ls.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==d||h!==l)&&ma(t,s,r,l),na=!1,s.state=h=t.memoizedState,la(t,r,s,i);var f=t.memoizedState;a!==d||h!==f||us.current||na?("function"==typeof p&&(da(t,n,p,r),f=t.memoizedState),(u=na||pa(t,n,u,r,h,f,l))?(c||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(r,f,l),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof s.componentDidUpdate&&(t.flags|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=f),s.props=r,s.state=f,s.context=l,r=u):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),r=!1)}return zl(e,t,n,r,o,i)}function zl(e,t,n,r,i,o){ql(e,t);var s=0!=(64&t.flags);if(!r&&!s)return i&&gs(t,n,!1),Xl(e,t,o);r=t.stateNode,Il.current=t;var a=s&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&s?(t.child=Ea(t,e.child,null,o),t.child=Ea(t,null,a,o)):Pl(e,t,a,o),t.memoizedState=r.state,i&&gs(t,n,!0),t.child}function Bl(e){var t=e.stateNode;t.pendingContext?fs(0,t.pendingContext,t.pendingContext!==t.context):t.context&&fs(0,t.context,!1),Oa(e,t.containerInfo)}var Hl,Vl,Wl,Ul={dehydrated:null,retryLane:0};function $l(e,t,n){var r,i=t.pendingProps,o=Pa.current,s=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(s=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ss(Pa,1&o),null===e?(void 0!==i.fallback&&Fa(t),e=i.children,o=i.fallback,s?(e=Ql(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ul,e):"number"==typeof i.unstable_expectedLoadTime?(e=Ql(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ul,t.lanes=33554432,e):((n=Fc({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):s?(i=function(e,t,n,r,i){var o=t.mode,s=e.child;e=s.sibling;var a={mode:"hidden",children:n};return 0==(2&o)&&t.child!==s?((n=t.child).childLanes=0,n.pendingProps=a,null!==(s=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=s,s.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Mc(s,a),null!==e?r=Mc(e,r):(r=jc(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,i.children,i.fallback,n),(s=t.child).memoizedState=null===(o=e.child.memoizedState)?{baseLanes:n}:{baseLanes:o.baseLanes|n},s.childLanes=e.childLanes&~n,t.memoizedState=Ul,i):(n=function(e,t,n,r){var i=e.child;return e=i.sibling,n=Mc(i,{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,i.children,n),t.memoizedState=null,n)}function Ql(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Fc(t,i,0,null),n=jc(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Kl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ys(e.return,t)}function Zl(e,t,n,r,i,o){var s=e.memoizedState;null===s?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i,s.lastEffect=o)}function Gl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pl(e,t,r.children,n),0!=(2&(r=Pa.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&&Kl(e,n);else if(19===e.tag)Kl(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(ss(Pa,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Na(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Zl(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Na(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Zl(t,!0,n,null,o,t.lastEffect);break;case"together":Zl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ru|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(st(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Mc(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Jl(e,t){if(!Ma)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 Yl(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 hs(t.type)&&ps(),null;case 3:return La(),os(us),os(ls),Wa(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ba(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ra(t);var i=Ta(ka.current);if(n=t.type,null!==e&&null!=t.stateNode)Vl(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(st(166));return null}if(e=Ta(Sa.current),Ba(t)){n=t.type;var o=t.memoizedProps;switch((r=t.stateNode)[Qo]=t,r[Ko]=o,n){case"dialog":Co("cancel",r),Co("close",r);break;case"iframe":case"object":case"embed":Co("load",r);break;case"video":case"audio":for(e=0;e<Eo.length;e++)Co(Eo[e],r);break;case"source":Co("error",r);break;case"img":case"image":case"link":Co("error",r),Co("load",r);break;case"details":Co("toggle",r);break;case"input":en(r,o),Co("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Co("invalid",r);break;case"textarea":un(r,o),Co("invalid",r)}for(var s in Sn(n,o),e=null,o)o.hasOwnProperty(s)&&(i=o[s],"children"===s?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):lt.hasOwnProperty(s)&&null!=i&&"onScroll"===s&&Co("scroll",r));switch(n){case"input":Gt(r),rn(r,o,!0);break;case"textarea":Gt(r),dn(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Do)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(s=9===i.nodeType?i:i.ownerDocument,e===hn&&(e=pn(n)),e===hn?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qo]=t,e[Ko]=r,Hl(e,t),t.stateNode=e,s=Cn(n,r),n){case"dialog":Co("cancel",e),Co("close",e),i=r;break;case"iframe":case"object":case"embed":Co("load",e),i=r;break;case"video":case"audio":for(i=0;i<Eo.length;i++)Co(Eo[i],e);i=r;break;case"source":Co("error",e),i=r;break;case"img":case"image":case"link":Co("error",e),Co("load",e),i=r;break;case"details":Co("toggle",e),i=r;break;case"input":en(e,r),i=Yt(e,r),Co("invalid",e);break;case"option":i=sn(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=it({},r,{value:void 0}),Co("invalid",e);break;case"textarea":un(e,r),i=ln(e,r),Co("invalid",e);break;default:i=r}Sn(n,i);var a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];"style"===o?xn(e,l):"dangerouslySetInnerHTML"===o?null!=(l=l?l.__html:void 0)&&gn(e,l):"children"===o?"string"==typeof l?("textarea"!==n||""!==l)&&vn(e,l):"number"==typeof l&&vn(e,""+l):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(lt.hasOwnProperty(o)?null!=l&&"onScroll"===o&&Co("scroll",e):null!=l&&wt(e,o,l,s))}switch(n){case"input":Gt(e),rn(e,r,!1);break;case"textarea":Gt(e),dn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Kt(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?an(e,!!r.multiple,o,!1):null!=r.defaultValue&&an(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Do)}jo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Wl(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(st(166));n=Ta(ka.current),Ta(Sa.current),Ba(t)?(n=t.memoizedProps,(r=t.stateNode)[Qo]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qo]=t,t.stateNode=r)}return null;case 13:return os(Pa),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ba(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Pa.current)?0===Ou&&(Ou=3):(0!==Ou&&3!==Ou||(Ou=4),null===_u||0==(134217727&Ru)&&0==(134217727&Pu)||lc(_u,Cu))),(r||n)&&(t.flags|=4),null);case 4:return La(),null===e&&To(t.stateNode.containerInfo),null;case 10:return Js(t),null;case 17:return hs(t.type)&&ps(),null;case 19:if(os(Pa),null===(r=t.memoizedState))return null;if(o=0!=(64&t.flags),null===(s=r.rendering))if(o)Jl(r,!1);else{if(0!==Ou||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(s=Na(e))){for(t.flags|=64,Jl(r,!1),null!==(o=s.updateQueue)&&(t.updateQueue=o,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(s=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,o.dependencies=null===(e=s.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ss(Pa,1&Pa.current|2),t.child}e=e.sibling}null!==r.tail&&js()>Mu&&(t.flags|=64,o=!0,Jl(r,!1),t.lanes=33554432)}else{if(!o)if(null!==(e=Na(s))){if(t.flags|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Jl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Ma)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*js()-r.renderingStartTime>Mu&&1073741824!==n&&(t.flags|=64,o=!0,Jl(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=js(),n.sibling=null,t=Pa.current,ss(Pa,o?1&t|2:1&t),n):null;case 23:case 24:return pc(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(st(156,t.tag))}function eu(e){switch(e.tag){case 1:hs(e.type)&&ps();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(La(),os(us),os(ls),Wa(),0!=(64&(t=e.flags)))throw Error(st(285));return e.flags=-4097&t|64,e;case 5:return Ra(e),null;case 13:return os(Pa),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return os(Pa),null;case 4:return La(),null;case 10:return Js(e),null;case 23:case 24:return pc(),null;default:return null}}function tu(e,t){try{var n="",r=t;do{n+=$t(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function nu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Hl=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}},Vl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ta(Sa.current);var o,s=null;switch(n){case"input":i=Yt(e,i),r=Yt(e,r),s=[];break;case"option":i=sn(e,i),r=sn(e,r),s=[];break;case"select":i=it({},i,{value:void 0}),r=it({},r,{value:void 0}),s=[];break;case"textarea":i=ln(e,i),r=ln(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Do)}for(u in Sn(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(lt.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(null!=l||null!=a))if("style"===u)if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(a=a?a.__html:void 0,null!=(l=l?l.__html:void 0)&&a!==l&&(s=s||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(s=s||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(lt.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&Co("scroll",e),s||a===l||(s=[])):"object"==typeof l&&null!==l&&l.$$typeof===Dt?l.toString():(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Wl=function(e,t,n,r){n!==r&&(t.flags|=4)};var ru="function"==typeof WeakMap?WeakMap:Map;function iu(e,t,n){(n=oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zu||(zu=!0,Bu=r),nu(0,t)},n}function ou(e,t,n){(n=oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return nu(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Hu?Hu=new Set([this]):Hu.add(this),nu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var su="function"==typeof WeakSet?WeakSet:Set;function au(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ic(e,t)}else t.current=null}function lu(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:$s(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Ho(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(st(163))}function uu(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 i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(Tc(n,e),kc(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:$s(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ua(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}ua(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&jo(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&&xr(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(st(163))}function cu(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 i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=En("display",i)}}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 du(e,t){if(bs&&"function"==typeof bs.onCommitFiberUnmount)try{bs.onCommitFiberUnmount(vs,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,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))Tc(t,n);else{r=t;try{i()}catch(e){Ic(r,e)}}n=n.next}while(n!==e)}break;case 1:if(au(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ic(t,e)}break;case 5:au(t);break;case 4:mu(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 pu(e){return 5===e.tag||3===e.tag||4===e.tag}function fu(e){e:{for(var t=e.return;null!==t;){if(pu(t))break e;t=t.return}throw Error(st(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(st(161))}16&n.flags&&(vn(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||pu(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 i=t.tag,o=5===i||6===i;if(o)t=o?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=Do));else if(4!==i&&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 i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&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 mu(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(st(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,a=i,l=a;;)if(du(s,l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===a)break e;for(;null===l.sibling;){if(null===l.return||l.return===a)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r?(a=i.stateNode,8===(s=n).nodeType?s.parentNode.removeChild(a):s.removeChild(a)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(du(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function yu(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 i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Ko]=r,"input"===e&&"radio"===r.type&&null!=r.name&&tn(n,r),Cn(e,i),t=Cn(e,r),i=0;i<o.length;i+=2){var s=o[i],a=o[i+1];"style"===s?xn(n,a):"dangerouslySetInnerHTML"===s?gn(n,a):"children"===s?vn(n,a):wt(n,s,a,t)}switch(e){case"input":nn(n,r);break;case"textarea":cn(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?an(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?an(n,!!r.multiple,r.defaultValue,!0):an(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(st(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,xr(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Du=js(),cu(t.child,!0)),void gu(t);case 19:return void gu(t);case 17:return;case 23:case 24:return void cu(t,null!==t.memoizedState)}throw Error(st(163))}function gu(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=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var bu=Math.ceil,wu=Et.ReactCurrentDispatcher,Eu=Et.ReactCurrentOwner,xu=0,_u=null,Su=null,Cu=0,ku=0,Tu=is(0),Ou=0,Lu=null,Iu=0,Ru=0,Pu=0,Nu=0,Au=null,Du=0,Mu=1/0;function qu(){Mu=js()+500}var ju,Fu=null,zu=!1,Bu=null,Hu=null,Vu=!1,Wu=null,Uu=90,$u=[],Qu=[],Ku=null,Zu=0,Gu=null,Xu=-1,Ju=0,Yu=0,ec=null,tc=!1;function nc(){return 0!=(48&xu)?js():-1!==Xu?Xu:Xu=js()}function rc(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Fs()?1:2;if(0===Ju&&(Ju=Iu),0!==Us.transition){0!==Yu&&(Yu=null!==Au?Au.pendingLanes:0),e=Ju;var t=4186112&~Yu;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Fs(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=zr(24&~n))?e(10,n):t;case 10:return 0===(t=zr(192&~n))?e(8,n):t;case 8:return 0===(t=zr(3584&~n))&&0===(t=zr(4186112&~n))&&(t=512),t;case 2:return 0===(n=zr(805306368&~n))&&(n=268435456),n}throw Error(st(358,t))}(0!=(4&xu)&&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),Ju)}function ic(e,t,n){if(50<Zu)throw Zu=0,Gu=null,Error(st(185));if(null===(e=oc(e,t)))return null;Hr(e,t,n),e===_u&&(Pu|=t,4===Ou&&lc(e,Cu));var r=Fs();1===t?0!=(8&xu)&&0==(48&xu)?uc(e):(sc(e,n),0===xu&&(qu(),Vs())):(0==(4&xu)||98!==r&&99!==r||(null===Ku?Ku=new Set([e]):Ku.add(e)),sc(e,n)),Au=e}function oc(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,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var a=31-Vr(s),l=1<<a,u=o[a];-1===u?0!=(l&r)&&0==(l&i)||(u=t,qr(l),o[a]=10<=Mr?u+250:6<=Mr?u+5e3:-1):u<=t&&(e.expiredLanes|=l),s&=~l}if(r=jr(e,e===_u?Cu:0),t=Mr,0===r)null!==n&&(n!==Ps&&xs(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ps&&xs(n)}15===t?(n=uc.bind(null,e),null===As?(As=[n],Ds=Es(Ts,Ws)):As.push(n),n=Ps):n=14===t?Hs(99,uc.bind(null,e)):Hs(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(st(358,e))}}(t),ac.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ac(e){if(Xu=-1,Yu=Ju=0,0!=(48&xu))throw Error(st(327));var t=e.callbackNode;if(Cc()&&e.callbackNode!==t)return null;var n=jr(e,e===_u?Cu:0);if(0===n)return null;var r=n,i=xu;xu|=16;var o=yc();for(_u===e&&Cu===r||(qu(),fc(e,r));;)try{bc();break}catch(t){mc(e,t)}if(Xs(),wu.current=o,xu=i,null!==Su?r=0:(_u=null,Cu=0,r=Ou),0!=(Iu&Pu))fc(e,0);else if(0!==r){if(2===r&&(xu|=64,e.hydrate&&(e.hydrate=!1,Ho(e.containerInfo)),0!==(n=Fr(e))&&(r=gc(e,n))),1===r)throw t=Lu,fc(e,0),lc(e,n),sc(e,js()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(st(345));case 2:xc(e);break;case 3:if(lc(e,n),(62914560&n)===n&&10<(r=Du+500-js())){if(0!==jr(e,0))break;if(((i=e.suspendedLanes)&n)!==n){nc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=zo(xc.bind(null,e),r);break}xc(e);break;case 4:if(lc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var s=31-Vr(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=js()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*bu(n/1960))-n)){e.timeoutHandle=zo(xc.bind(null,e),n);break}xc(e);break;case 5:xc(e);break;default:throw Error(st(329))}}return sc(e,js()),e.callbackNode===t?ac.bind(null,e):null}function lc(e,t){for(t&=~Nu,e.suspendedLanes|=t&=~Pu,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vr(t),r=1<<n;e[n]=-1,t&=~r}}function uc(e){if(0!=(48&xu))throw Error(st(327));if(Cc(),e===_u&&0!=(e.expiredLanes&Cu)){var t=Cu,n=gc(e,t);0!=(Iu&Pu)&&(n=gc(e,t=jr(e,t)))}else n=gc(e,t=jr(e,0));if(0!==e.tag&&2===n&&(xu|=64,e.hydrate&&(e.hydrate=!1,Ho(e.containerInfo)),0!==(t=Fr(e))&&(n=gc(e,t))),1===n)throw n=Lu,fc(e,0),lc(e,t),sc(e,js()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e),sc(e,js()),null}function cc(e,t){var n=xu;xu|=1;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}}function dc(e,t){var n=xu;xu&=-2,xu|=8;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}}function hc(e,t){ss(Tu,ku),ku|=t,Iu|=t}function pc(){ku=Tu.current,os(Tu)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Bo(n)),null!==Su)for(n=Su.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ps();break;case 3:La(),os(us),os(ls),Wa();break;case 5:Ra(r);break;case 4:La();break;case 13:case 19:os(Pa);break;case 10:Js(r);break;case 23:case 24:pc()}n=n.return}_u=e,Su=Mc(e.current,null),Cu=ku=Iu=t,Ou=0,Lu=null,Nu=Pu=Ru=0}function mc(e,t){for(;;){var n=Su;try{if(Xs(),Ua.current=kl,Xa){for(var r=Ka.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}Xa=!1}if(Qa=0,Ga=Za=Ka=null,Ja=!1,Eu.current=null,null===n||null===n.return){Ou=1,Lu=t,Su=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Cu,a.flags|=2048,a.firstEffect=a.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.lanes=c.lanes):(a.updateQueue=null,a.memoizedState=null)}var d=0!=(1&Pa.current),h=s;do{var p;if(p=13===h.tag){var f=h.memoizedState;if(null!==f)p=null!==f.dehydrated;else{var m=h.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var y=h.updateQueue;if(null===y){var g=new Set;g.add(u),h.updateQueue=g}else y.add(u);if(0==(2&h.mode)){if(h.flags|=64,a.flags|=16384,a.flags&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=oa(-1,1);v.tag=2,sa(a,v)}a.lanes|=1;break e}l=void 0,a=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ru,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(a)){l.add(a);var w=Rc.bind(null,o,u,a);u.then(w,w)}h.flags|=4096,h.lanes=t;break e}h=h.return}while(null!==h);l=Error((Qt(a.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!==Ou&&(Ou=2),l=tu(l,a),h=s;do{switch(h.tag){case 3:o=l,h.flags|=4096,h.lanes|=t&=-t,aa(h,iu(0,o,t));break e;case 1:o=l;var E=h.stateNode;if(0==(64&h.flags)&&("function"==typeof h.type.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Hu||!Hu.has(E)))){h.flags|=4096,h.lanes|=t&=-t,aa(h,ou(h,o,t));break e}}h=h.return}while(null!==h)}Ec(n)}catch(e){t=e,Su===n&&null!==n&&(Su=n=n.return);continue}break}}function yc(){var e=wu.current;return wu.current=kl,null===e?kl:e}function gc(e,t){var n=xu;xu|=16;var r=yc();for(_u===e&&Cu===t||fc(e,t);;)try{vc();break}catch(t){mc(e,t)}if(Xs(),xu=n,wu.current=r,null!==Su)throw Error(st(261));return _u=null,Cu=0,Ou}function vc(){for(;null!==Su;)wc(Su)}function bc(){for(;null!==Su&&!_s();)wc(Su)}function wc(e){var t=ju(e.alternate,e,ku);e.memoizedProps=e.pendingProps,null===t?Ec(e):Su=t,Eu.current=null}function Ec(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Yl(n,t,ku)))return void(Su=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&ku)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.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=eu(t)))return n.flags&=2047,void(Su=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Su=t);Su=t=e}while(null!==t);0===Ou&&(Ou=5)}function xc(e){var t=Fs();return Bs(99,_c.bind(null,e,t)),null}function _c(e,t){do{Cc()}while(null!==Wu);if(0!=(48&xu))throw Error(st(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(st(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,a=e.expirationTimes;0<o;){var l=31-Vr(o),u=1<<l;i[l]=0,s[l]=-1,a[l]=-1,o&=~u}if(null!==Ku&&0==(24&r)&&Ku.has(e)&&Ku.delete(e),e===_u&&(Su=_u=null,Cu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=xu,xu|=32,Eu.current=null,Mo=Kr,ho(s=co())){if("selectionStart"in s)a={start:s.selectionStart,end:s.selectionEnd};else if((u=(a=(a=s.ownerDocument)&&a.defaultView||window).getSelection&&a.getSelection())&&0!==u.rangeCount){a=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;var c=0,d=-1,h=-1,p=0,f=0,m=s,y=null;e:for(;;){for(var g;m!==a||0!==o&&3!==m.nodeType||(d=c+o),m!==l||0!==u&&3!==m.nodeType||(h=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)y=m,m=g;for(;;){if(m===s)break e;if(y===a&&++p===o&&(d=c),y===l&&++f===u&&(h=c),null!==(g=m.nextSibling))break;y=(m=y).parentNode}m=g}a=-1===d||-1===h?null:{start:d,end:h}}else a=null;a=a||{start:0,end:0}}else a=null;qo={focusedElem:s,selectionRange:a},Kr=!1,ec=null,tc=!1,Fu=r;do{try{Sc()}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);ec=null,Fu=r;do{try{for(s=e;null!==Fu;){var v=Fu.flags;if(16&v&&vn(Fu.stateNode,""),128&v){var b=Fu.alternate;if(null!==b){var w=b.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&v){case 2:fu(Fu),Fu.flags&=-3;break;case 6:fu(Fu),Fu.flags&=-3,yu(Fu.alternate,Fu);break;case 1024:Fu.flags&=-1025;break;case 1028:Fu.flags&=-1025,yu(Fu.alternate,Fu);break;case 4:yu(Fu.alternate,Fu);break;case 8:mu(s,a=Fu);var E=a.alternate;hu(a),null!==E&&hu(E)}Fu=Fu.nextEffect}}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);if(w=qo,b=co(),s=w.selectionRange,b!==(v=w.focusedElem)&&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!==s&&ho(v)&&(b=s.start,void 0===(w=s.end)&&(w=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(w,v.value.length)):(w=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(w=w.getSelection(),a=v.textContent.length,E=Math.min(s.start,a),s=void 0===s.end?E:Math.min(s.end,a),!w.extend&&E>s&&(a=s,s=E,E=a),a=uo(v,E),o=uo(v,s),a&&o&&(1!==w.rangeCount||w.anchorNode!==a.node||w.anchorOffset!==a.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&((b=b.createRange()).setStart(a.node,a.offset),w.removeAllRanges(),E>s?(w.addRange(b),w.extend(o.node,o.offset)):(b.setEnd(o.node,o.offset),w.addRange(b))))),b=[];for(w=v;w=w.parentNode;)1===w.nodeType&&b.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(w=b[v]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Kr=!!Mo,qo=Mo=null,e.current=n,Fu=r;do{try{for(v=e;null!==Fu;){var x=Fu.flags;if(36&x&&uu(v,Fu.alternate,Fu),128&x){b=void 0;var _=Fu.ref;if(null!==_){var S=Fu.stateNode;switch(Fu.tag){case 5:b=S;break;default:b=S}"function"==typeof _?_(b):_.current=b}}Fu=Fu.nextEffect}}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);Fu=null,Ns(),xu=i}else e.current=n;if(Vu)Vu=!1,Wu=e,Uu=t;else for(Fu=r;null!==Fu;)t=Fu.nextEffect,Fu.nextEffect=null,8&Fu.flags&&((x=Fu).sibling=null,x.stateNode=null),Fu=t;if(0===(r=e.pendingLanes)&&(Hu=null),1===r?e===Gu?Zu++:(Zu=0,Gu=e):Zu=0,n=n.stateNode,bs&&"function"==typeof bs.onCommitFiberRoot)try{bs.onCommitFiberRoot(vs,n,void 0,64==(64&n.current.flags))}catch(e){}if(sc(e,js()),zu)throw zu=!1,e=Bu,Bu=null,e;return 0!=(8&xu)||Vs(),null}function Sc(){for(;null!==Fu;){var e=Fu.alternate;tc||null===ec||(0!=(8&Fu.flags)?er(Fu,ec)&&(tc=!0):13===Fu.tag&&vu(e,Fu)&&er(Fu,ec)&&(tc=!0));var t=Fu.flags;0!=(256&t)&&lu(e,Fu),0==(512&t)||Vu||(Vu=!0,Hs(97,(function(){return Cc(),null}))),Fu=Fu.nextEffect}}function Cc(){if(90!==Uu){var e=97<Uu?97:Uu;return Uu=90,Bs(e,Oc)}return!1}function kc(e,t){$u.push(t,e),Vu||(Vu=!0,Hs(97,(function(){return Cc(),null})))}function Tc(e,t){Qu.push(t,e),Vu||(Vu=!0,Hs(97,(function(){return Cc(),null})))}function Oc(){if(null===Wu)return!1;var e=Wu;if(Wu=null,0!=(48&xu))throw Error(st(331));var t=xu;xu|=32;var n=Qu;Qu=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(st(330));Ic(o,e)}}for(n=$u,$u=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var a=i.create;i.destroy=a()}catch(e){if(null===o)throw Error(st(330));Ic(o,e)}}for(a=e.current.firstEffect;null!==a;)e=a.nextEffect,a.nextEffect=null,8&a.flags&&(a.sibling=null,a.stateNode=null),a=e;return xu=t,Vs(),!0}function Lc(e,t,n){sa(e,t=iu(0,t=tu(n,t),1)),t=nc(),null!==(e=oc(e,1))&&(Hr(e,1,t),sc(e,t))}function Ic(e,t){if(3===e.tag)Lc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Lc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hu||!Hu.has(r))){var i=ou(n,e=tu(t,e),1);if(sa(n,i),i=nc(),null!==(n=oc(n,1)))Hr(n,1,i),sc(n,i);else if("function"==typeof r.componentDidCatch&&(null===Hu||!Hu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Rc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=nc(),e.pingedLanes|=e.suspendedLanes&n,_u===e&&(Cu&n)===n&&(4===Ou||3===Ou&&(62914560&Cu)===Cu&&500>js()-Du?fc(e,0):Nu|=n),sc(e,t)}function Pc(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===Fs()?1:2:(0===Ju&&(Ju=Iu),0===(t=zr(62914560&~Ju))&&(t=4194304))),n=nc(),null!==(e=oc(e,t))&&(Hr(e,t,n),sc(e,n))}function Nc(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 Ac(e,t,n,r){return new Nc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Ac(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,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qc(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Dc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case St:return jc(n.children,i,o,t);case Mt:s=8,i|=16;break;case Ct:s=8,i|=1;break;case kt:return(e=Ac(12,n,t,8|i)).elementType=kt,e.type=kt,e.lanes=o,e;case It:return(e=Ac(13,n,t,i)).type=It,e.elementType=It,e.lanes=o,e;case Rt:return(e=Ac(19,n,t,i)).elementType=Rt,e.lanes=o,e;case qt:return Fc(n,i,o,t);case jt:return(e=Ac(24,n,t,i)).elementType=jt,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Tt:s=10;break e;case Ot:s=9;break e;case Lt:s=11;break e;case Pt:s=14;break e;case Nt:s=16,r=null;break e;case At:s=22;break e}throw Error(st(130,null==e?e:typeof e,""))}return(t=Ac(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function jc(e,t,n,r){return(e=Ac(7,e,r,t)).lanes=n,e}function Fc(e,t,n,r){return(e=Ac(23,e,r,t)).elementType=qt,e.lanes=n,e}function zc(e,t,n){return(e=Ac(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Ac(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hc(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=Br(0),this.expirationTimes=Br(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Br(0),this.mutableSourceEagerHydrationData=null}function Vc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_t,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Wc(e,t,n,r){var i=t.current,o=nc(),s=rc(i);e:if(n){t:{if(Gn(n=n._reactInternals)!==n||1!==n.tag)throw Error(st(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(hs(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);throw Error(st(171))}if(1===n.tag){var l=n.type;if(hs(l)){n=ms(n,l,a);break e}}n=a}else n=as;return null===t.context?t.context=n:t.pendingContext=n,(t=oa(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),sa(i,t),ic(i,s,o),s}function Uc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $c(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qc(e,t){$c(e,t),(e=e.alternate)&&$c(e,t)}function Kc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Hc(e,t,null!=n&&!0===n.hydrate),t=Ac(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ra(t),e[Zo]=n.current,To(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o._internalRoot;if("function"==typeof i){var a=i;i=function(){var e=Uc(s);a.call(e)}}Wc(t,s,e,i)}else{if(o=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 Kc(e,0,t?{hydrate:!0}:void 0)}(n,r),s=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Uc(s);l.call(e)}}dc((function(){Wc(t,s,e,i)}))}return Uc(s)}function Xc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(st(200));return Vc(e,t,null,n)}ju=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||us.current)Rl=!0;else{if(0==(n&r)){switch(Rl=!1,t.tag){case 3:Bl(t),Ha();break;case 5:Ia(t);break;case 1:hs(t.type)&&ys(t);break;case 4:Oa(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;ss(Qs,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?$l(e,t,n):(ss(Pa,1&Pa.current),null!==(t=Xl(e,t,n))?t.sibling:null);ss(Pa,1&Pa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Gl(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ss(Pa,Pa.current),r)break;return null;case 23:case 24:return t.lanes=0,Ml(e,t,n)}return Xl(e,t,n)}Rl=0!=(16384&e.flags)}else Rl=!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,i=ds(t,ls.current),ea(t,n),i=tl(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,hs(r)){var o=!0;ys(t)}else o=!1;t.memoizedState=null!=i.state?i.state:null,ra(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&da(t,r,s,e),i.updater=ha,t.stateNode=i,i._reactInternals=t,ya(t,r,e,n),t=zl(null,t,r,!0,o,n)}else t.tag=0,Pl(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===Lt)return 11;if(e===Pt)return 14}return 2}(i),e=$s(i,e),o){case 0:t=jl(null,t,i,e,n);break e;case 1:t=Fl(null,t,i,e,n);break e;case 11:t=Nl(null,t,i,e,n);break e;case 14:t=Al(null,t,i,$s(i.type,e),r,n);break e}throw Error(st(306,i,""))}return t;case 0:return i=t.pendingProps,jl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 1:return i=t.pendingProps,Fl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 3:if(Bl(t),r=t.updateQueue,null===e||null===r)throw Error(st(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ia(e,t),la(t,r,null,n),(r=t.memoizedState.element)===i)Ha(),t=Xl(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(Da=Vo(t.stateNode.containerInfo.firstChild),Aa=t,o=Ma=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Va.push(o);for(n=xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Pl(e,t,r,n),Ha();t=t.child}return t;case 5:return Ia(t),null===e&&Fa(t),o=null!==e?e.memoizedProps:null,s=(i=t.pendingProps).children,Fo(r=t.type,i)?s=null:null!==o&&Fo(r,o)&&(t.flags|=16),ql(e,t),Pl(e,t,s,n),t.child;case 6:return null===e&&Fa(t),null;case 13:return $l(e,t,n);case 4:return Oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ea(t,null,r,n):Pl(e,t,r,n),t.child;case 11:return i=t.pendingProps,Nl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 7:return Pl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,s=t.memoizedProps,o=(i=t.pendingProps).value;var a=t.type._context;if(ss(Qs,a._currentValue),a._currentValue=o,null!==s)if(0==(o=oo(a=s.value,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(a,o):1073741823))){if(s.children===i.children&&!us.current){t=Xl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===a.tag&&((u=oa(-1,n&-n)).tag=2,sa(a,u)),a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ys(a.return,n),l.lanes|=n;break}u=u.next}}else s=10===a.tag&&a.type===t.type?null:a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Pl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ea(t,n),r=r(i=ta(i,o.unstable_observedBits)),t.flags|=1,Pl(e,t,r,n),t.child;case 14:return o=$s(i=t.type,t.pendingProps),Al(e,t,i,o=$s(i.type,o),r,n);case 15:return Dl(e,t,t.type,t.pendingProps,r,n);case 17:return i=t.pendingProps,i=t.elementType===(r=t.type)?i:$s(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,hs(r)?(e=!0,ys(t)):e=!1,ea(t,n),fa(t,r,i),ya(t,r,i,n),zl(null,t,r,!0,e,n);case 19:return Gl(e,t,n);case 23:case 24:return Ml(e,t,n)}throw Error(st(156,t.tag))},Kc.prototype.render=function(e){Wc(e,this._internalRoot,null,null)},Kc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Wc(null,e,null,(function(){t[Zo]=null}))},tr=function(e){13===e.tag&&(ic(e,4,nc()),Qc(e,4))},nr=function(e){13===e.tag&&(ic(e,67108864,nc()),Qc(e,67108864))},rr=function(e){if(13===e.tag){var t=nc(),n=rc(e);ic(e,n,t),Qc(e,n)}},ir=function(e,t){return t()},Tn=function(e,t,n){switch(t){case"input":if(nn(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 i=es(r);if(!i)throw Error(st(90));Xt(r),nn(r,i)}}}break;case"textarea":cn(e,n);break;case"select":null!=(t=n.value)&&an(e,!!n.multiple,t,!1)}},Nn=cc,An=function(e,t,n,r,i){var o=xu;xu|=4;try{return Bs(98,e.bind(null,t,n,r,i))}finally{0===(xu=o)&&(qu(),Vs())}},Dn=function(){0==(49&xu)&&(function(){if(null!==Ku){var e=Ku;Ku=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,sc(e,js())}))}Vs()}(),Cc())},Mn=function(e,t){var n=xu;xu|=2;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}};var Jc={Events:[Jo,Yo,es,Rn,Pn,Cc,{current:!1}]},Yc={findFiberByHostInstance:Xo,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ed={bundleType:Yc.bundleType,version:Yc.version,rendererPackageName:Yc.rendererPackageName,rendererConfig:Yc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Et.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Yn(e))?null:e.stateNode},findFiberByHostInstance:Yc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var td=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!td.isDisabled&&td.supportsFiber)try{vs=td.inject(ed),bs=td}catch(yn){}}et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc,et.createPortal=Xc,et.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(st(188));throw Error(st(268,Object.keys(e)))}return null===(e=Yn(t))?null:e.stateNode},et.flushSync=function(e,t){var n=xu;if(0!=(48&n))return e(t);xu|=1;try{if(e)return Bs(99,e.bind(null,t))}finally{xu=n,Vs()}},et.hydrate=function(e,t,n){if(!Zc(t))throw Error(st(200));return Gc(null,e,t,!0,n)},et.render=function(e,t,n){if(!Zc(t))throw Error(st(200));return Gc(null,e,t,!1,n)},et.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(st(40));return!!e._reactRootContainer&&(dc((function(){Gc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Zo]=null}))})),!0)},et.unstable_batchedUpdates=cc,et.unstable_createPortal=function(e,t){return Xc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(st(200));if(null==e||void 0===e._reactInternals)throw Error(st(38));return Gc(e,t,n,!1,r)},et.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)}}(),Ye.exports=et;var nd=Ye.exports;function rd(){return(rd=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 id(e){return(id="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 od(e){return(od="function"==typeof Symbol&&"symbol"===id(Symbol.iterator)?function(e){return id(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":id(e)})(e)}function sd(e){return e&&"object"===od(e)&&e.constructor===Object}function ad(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?rd({},e):e;return sd(e)&&sd(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(r[i]=sd(t[i])&&i in e?ad(e[i],t[i],n):t[i])})),r}function ld(){}function ud(){}function cd(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."}ud.resetWarningCache=ld,function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var s=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 s.name="Invariant Violation",s}}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:ud,resetWarningCache:ld};n.PropTypes=n}();var dd={exports:{}},hd={},pd=60103,fd=60106,md=60107,yd=60108,gd=60114,vd=60109,bd=60110,wd=60112,Ed=60113,xd=60120,_d=60115,Sd=60116,Cd=60121,kd=60122,Td=60117,Od=60129,Ld=60131;if("function"==typeof Symbol&&Symbol.for){var Id=Symbol.for;pd=Id("react.element"),fd=Id("react.portal"),md=Id("react.fragment"),yd=Id("react.strict_mode"),gd=Id("react.profiler"),vd=Id("react.provider"),bd=Id("react.context"),wd=Id("react.forward_ref"),Ed=Id("react.suspense"),xd=Id("react.suspense_list"),_d=Id("react.memo"),Sd=Id("react.lazy"),Cd=Id("react.block"),kd=Id("react.server.block"),Td=Id("react.fundamental"),Od=Id("react.debug_trace_mode"),Ld=Id("react.legacy_hidden")}function Rd(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case pd:switch(e=e.type){case md:case gd:case yd:case Ed:case xd:return e;default:switch(e=e&&e.$$typeof){case bd:case wd:case Sd:case _d:case vd:return e;default:return t}}case fd:return t}}}var Pd=vd,Nd=pd,Ad=wd,Dd=md,Md=Sd,qd=_d,jd=fd,Fd=gd,zd=yd,Bd=Ed;hd.ContextConsumer=bd,hd.ContextProvider=Pd,hd.Element=Nd,hd.ForwardRef=Ad,hd.Fragment=Dd,hd.Lazy=Md,hd.Memo=qd,hd.Portal=jd,hd.Profiler=Fd,hd.StrictMode=zd,hd.Suspense=Bd,hd.isAsyncMode=function(){return!1},hd.isConcurrentMode=function(){return!1},hd.isContextConsumer=function(e){return Rd(e)===bd},hd.isContextProvider=function(e){return Rd(e)===vd},hd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===pd},hd.isForwardRef=function(e){return Rd(e)===wd},hd.isFragment=function(e){return Rd(e)===md},hd.isLazy=function(e){return Rd(e)===Sd},hd.isMemo=function(e){return Rd(e)===_d},hd.isPortal=function(e){return Rd(e)===fd},hd.isProfiler=function(e){return Rd(e)===gd},hd.isStrictMode=function(e){return Rd(e)===yd},hd.isSuspense=function(e){return Rd(e)===Ed},hd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===md||e===gd||e===Od||e===yd||e===Ed||e===xd||e===Ld||"object"==typeof e&&null!==e&&(e.$$typeof===Sd||e.$$typeof===_d||e.$$typeof===vd||e.$$typeof===bd||e.$$typeof===wd||e.$$typeof===Td||e.$$typeof===Cd||e[0]===kd)},hd.typeOf=Rd,dd.exports=hd;var Hd="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Vd=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function Wd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,s=void 0===o?"":o,a=""===s?"":"".concat(s,"-"),l=0,u=function(){return l+=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 o="".concat(a).concat(r,"-").concat(e.key);return t.options.theme[Hd]&&""===s?"".concat(o,"-").concat(u()):o}return"".concat(a).concat(i).concat(u())}}function Ud(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}function $d(){return($d=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 Qd="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},Kd="object"===("undefined"==typeof window?"undefined":Qd(window))&&"object"===("undefined"==typeof document?"undefined":Qd(document))&&9===document.nodeType;function Zd(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 Gd(e,t,n){return t&&Zd(e.prototype,t),n&&Zd(e,n),e}function Xd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Jd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Yd={}.constructor;function eh(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(eh);if(e.constructor!==Yd)return e;var t={};for(var n in e)t[n]=eh(e[n]);return t}function th(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=eh(t);return r.plugins.onCreateRule(e,i,n)||null}var nh=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},rh=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+=nh(e[r]," ");else n=nh(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function ih(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function oh(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,o=void 0===i?0:i,s=t.fallbacks;if(e&&o++,s)if(Array.isArray(s))for(var a=0;a<s.length;a++){var l=s[a];for(var u in l){var c=l[u];null!=c&&(r&&(r+="\n"),r+=""+ih(u+": "+rh(c)+";",o))}}else for(var d in s){var h=s[d];null!=h&&(r&&(r+="\n"),r+=""+ih(d+": "+rh(h)+";",o))}for(var p in t){var f=t[p];null!=f&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+ih(p+": "+rh(f)+";",o))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),ih(e+" {"+r,--o)+ih("}",o)):r}var sh=/([[\].#*$><+~=|^:(),"'`\s])/g,ah="undefined"!=typeof CSS&&CSS.escape,lh=function(e){return ah?ah(e):e.replace(sh,"\\$1")},uh=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,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}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 i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,s=e in this.style;if(o&&!s&&!r)return this;var a=o&&s;return a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer?(a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this):this},e}(),ch=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,s=r.scoped,a=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==s&&(i.id=l(Jd(Jd(i)),a),i.selectorText="."+lh(i.id)),i}Xd(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]=rh(n))}return e},n.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?$d({},e,{allowEmpty:!0}):e;return oh(this.selectorText,this.style,n)},Gd(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}(uh),dh={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new ch(e,t,n)}},hh={indent:1,children:!0},ph=/@([\w-]+)/,fh=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(ph);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new qh($d({},n,{parent:this})),t)this.rules.add(i,t[i]);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=hh),null==e.indent&&(e.indent=hh.indent),null==e.children&&(e.children=hh.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),mh=/@media|@supports\s+/,yh={onCreateRule:function(e,t,n){return mh.test(e)?new fh(e,t,n):null}},gh={indent:1,children:!0},vh=/@keyframes\s+([\w-]+)/,bh=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(vh);this.name=r&&r[1]?r[1]:"noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,s=n.generateId;for(var a in this.id=!1===i?this.name:lh(s(this,o)),this.rules=new qh($d({},n,{parent:this})),t)this.rules.add(a,t[a],$d({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=gh),null==e.indent&&(e.indent=gh.indent),null==e.children&&(e.children=gh.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}(),wh=/@keyframes\s+/,Eh=/\$([\w-]+)/g,xh=function(e,t){return"string"==typeof e?e.replace(Eh,(function(e,n){return n in t?t[n]:e})):e},_h=function(e,t,n){var r=e[t],i=xh(r,n);i!==r&&(e[t]=i)},Sh={onCreateRule:function(e,t,n){return"string"==typeof e&&wh.test(e)?new bh(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&_h(e,"animation-name",n.keyframes),"animation"in e&&_h(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 xh(e,r.keyframes);default:return e}}},Ch=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Xd(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?$d({},e,{allowEmpty:!0}):e;return oh(this.key,this.style,n)},t}(uh),kh={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Ch(e,t,n):null}},Th=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+=oh(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return oh(this.at,this.style,e)},e}(),Oh=/@font-face/,Lh={onCreateRule:function(e,t,n){return Oh.test(e)?new Th(e,t,n):null}},Ih=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 oh(this.key,this.style,e)},e}(),Rh={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Ih(e,t,n):null}},Ph=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}(),Nh={"@charset":!0,"@import":!0,"@namespace":!0},Ah=[dh,yh,Sh,kh,Lh,Rh,{onCreateRule:function(e,t,n){return e in Nh?new Ph(e,t,n):null}}],Dh={process:!0},Mh={force:!0,process:!0},qh=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,i=$d({classes:this.classes,parent:r.parent,sheet:r.sheet,jss:r.jss,Renderer:r.Renderer,generateId:r.generateId,scoped:r.scoped,name:e,keyframes:this.keyframes,selector:void 0},n),o=e;e in this.raw&&(o=e+"-d"+this.counter++),this.raw[o]=t,o in this.classes&&(i.selector="."+lh(this.classes[o]));var s=th(o,t,i);return s?(this.register(s),this.index.splice(void 0===i.index?this.index.length:i.index,0,s),s):null},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 ch?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof bh&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof ch?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof bh&&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=Dh);var i=this.options,o=i.jss.plugins,s=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var a=t,l=a.style;if(o.onUpdate(n,t,s,r),r.process&&l&&l!==a.style){for(var u in o.onProcessStyle(a.style,a,s),a.style){var c=a.style[u];c!==l[u]&&a.prop(u,c,Mh)}for(var d in l){var h=a.style[d];null==h&&h!==l[d]&&a.prop(d,null,Mh)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||r)&&(t&&(t+="\n"),t+=o)}return t},e}(),jh=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=$d({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new qh(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 i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}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}(),Fh=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 i=this.registry.onCreateRule[r](e,t,n);if(i)return i}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 i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](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}(),zh=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,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(t,["attached"]),i="",o=0;o<this.registry.length;o++){var s=this.registry[o];null!=n&&s.attached!==n||(i&&(i+="\n"),i+=s.toString(r))}return i},Gd(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Bh="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Hh="2f1acc6c3a606b082e5eef5e54414ffb";null==Bh[Hh]&&(Bh[Hh]=0);var Vh=Bh[Hh]++,Wh=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(o||"c")+Vh+i+t:o+n.key+"-"+Vh+(i?"-"+i:"")+"-"+t}},Uh=function(e){var t;return function(){return t||(t=e()),t}},$h=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Qh=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=rh(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},Kh=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Zh=function(e,t){return e.selectorText=t,e.selectorText===t},Gh=Uh((function(){return document.querySelector("head")})),Xh=Uh((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Jh=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]},Yh=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ep=function(){function e(e){this.getPropertyValue=$h,this.setProperty=Qh,this.removeProperty=Kh,this.setSelector=Zh,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&zh.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta;this.element=t.element||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=Xh();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=zh.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 i=function(e){for(var t=Gh(),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(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n.parentNode;i&&i.insertBefore(e,n.nextSibling)}else Gh().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,i=n;if("conditional"===e.type||"keyframes"===e.type){var o=Yh(n,t);if(!1===(i=Jh(n,r.toString({children:!1}),o)))return!1;this.refCssRule(e,o,i)}return this.insertRules(r.rules,i),i}var s=e.toString();if(!s)return!1;var a=Yh(n,t),l=Jh(n,s,a);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,a,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof jh&&(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}(),tp=0,np=function(){function e(e){this.id=tp++,this.version="10.5.1",this.plugins=new Fh,this.options={id:{minify:!1},createGenerateId:Wh,Renderer:Kd?ep:null,plugins:[]},this.generateId=Wh({minify:!1});for(var t=0;t<Ah.length;t++)this.plugins.use(Ah[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=$d({},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===zh.index?0:zh.index+1);var r=new jh(e,$d({},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(),zh.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=$d({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=th(e,t,r);return i&&this.plugins.onProcessRule(i),i},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}(),rp="object"==typeof CSS&&null!=CSS&&"number"in CSS,ip=function(e){return new np(e)};ip();var op=Date.now(),sp="fnValues"+op,ap="fnStyle"+ ++op;function lp(){return(lp=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 up="@global",cp="@global ",dp=function(){function e(e,t,n){for(var r in this.type="global",this.at=up,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new qh(lp({},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}(),hp=function(){function e(e,t,n){this.type="global",this.at=up,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(cp.length);this.rule=n.jss.createRule(r,t,lp({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),pp=/\s*,\s*/g;function fp(e,t){for(var n=e.split(pp),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}function mp(){return(mp=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 yp=/\s*,\s*/g,gp=/&/g,vp=/\$([\w-]+)/g;function bp(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?(i=i).selector:r}}function t(e,t){for(var n=t.split(yp),r=e.split(yp),i="",o=0;o<n.length;o++)for(var s=n[o],a=0;a<r.length;a++){var l=r[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(gp,s):s+" "+l}return i}function n(e,t,n){if(n)return mp({},n,{index:n.index+1});var r=e.options.nestingLevel,i=mp({},e.options,{nestingLevel:r=void 0===r?1:r+1,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(r,i,o){if("style"!==i.type)return r;var s,a,l=i,u=l.options.parent;for(var c in r){var d=-1!==c.indexOf("&"),h="@"===c[0];if(d||h){if(s=n(l,u,s),d){var p=t(c,l.selector);a||(a=e(u,o)),p=p.replace(vp,a),u.addRule(p,r[c],mp({},s,{selector:p}))}else h&&u.addRule(c,{},s).addRule(l.key,r[c],{selector:l.selector});delete r[c]}}return r}}}var wp=/[A-Z]/g,Ep=/^ms-/,xp={};function _p(e){return"-"+e.toLowerCase()}function Sp(e){if(xp.hasOwnProperty(e))return xp[e];var t=e.replace(wp,_p);return xp[e]=Ep.test(t)?"-"+t:t}function Cp(e){var t={};for(var n in e)t[0===n.indexOf("--")?n:Sp(n)]=e[n];return e.fallbacks&&(t.fallbacks=Array.isArray(e.fallbacks)?e.fallbacks.map(Cp):Cp(e.fallbacks)),t}var kp=rp&&CSS?CSS.px:"px",Tp=rp&&CSS?CSS.ms:"ms",Op=rp&&CSS?CSS.percent:"%";function Lp(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var Ip=Lp({"animation-delay":Tp,"animation-duration":Tp,"background-position":kp,"background-position-x":kp,"background-position-y":kp,"background-size":kp,border:kp,"border-bottom":kp,"border-bottom-left-radius":kp,"border-bottom-right-radius":kp,"border-bottom-width":kp,"border-left":kp,"border-left-width":kp,"border-radius":kp,"border-right":kp,"border-right-width":kp,"border-top":kp,"border-top-left-radius":kp,"border-top-right-radius":kp,"border-top-width":kp,"border-width":kp,"border-block":kp,"border-block-end":kp,"border-block-end-width":kp,"border-block-start":kp,"border-block-start-width":kp,"border-block-width":kp,"border-inline":kp,"border-inline-end":kp,"border-inline-end-width":kp,"border-inline-start":kp,"border-inline-start-width":kp,"border-inline-width":kp,"border-start-start-radius":kp,"border-start-end-radius":kp,"border-end-start-radius":kp,"border-end-end-radius":kp,margin:kp,"margin-bottom":kp,"margin-left":kp,"margin-right":kp,"margin-top":kp,"margin-block":kp,"margin-block-end":kp,"margin-block-start":kp,"margin-inline":kp,"margin-inline-end":kp,"margin-inline-start":kp,padding:kp,"padding-bottom":kp,"padding-left":kp,"padding-right":kp,"padding-top":kp,"padding-block":kp,"padding-block-end":kp,"padding-block-start":kp,"padding-inline":kp,"padding-inline-end":kp,"padding-inline-start":kp,"mask-position-x":kp,"mask-position-y":kp,"mask-size":kp,height:kp,width:kp,"min-height":kp,"max-height":kp,"min-width":kp,"max-width":kp,bottom:kp,left:kp,top:kp,right:kp,inset:kp,"inset-block":kp,"inset-block-end":kp,"inset-block-start":kp,"inset-inline":kp,"inset-inline-end":kp,"inset-inline-start":kp,"box-shadow":kp,"text-shadow":kp,"column-gap":kp,"column-rule":kp,"column-rule-width":kp,"column-width":kp,"font-size":kp,"font-size-delta":kp,"letter-spacing":kp,"text-decoration-thickness":kp,"text-indent":kp,"text-stroke":kp,"text-stroke-width":kp,"word-spacing":kp,motion:kp,"motion-offset":kp,outline:kp,"outline-offset":kp,"outline-width":kp,perspective:kp,"perspective-origin-x":Op,"perspective-origin-y":Op,"transform-origin":Op,"transform-origin-x":Op,"transform-origin-y":Op,"transform-origin-z":Op,"transition-delay":Tp,"transition-duration":Tp,"vertical-align":kp,"flex-basis":kp,"shape-margin":kp,size:kp,gap:kp,grid:kp,"grid-gap":kp,"row-gap":kp,"grid-row-gap":kp,"grid-column-gap":kp,"grid-template-rows":kp,"grid-template-columns":kp,"grid-auto-rows":kp,"grid-auto-columns":kp,"box-shadow-x":kp,"box-shadow-y":kp,"box-shadow-blur":kp,"box-shadow-spread":kp,"font-line-height":kp,"text-shadow-x":kp,"text-shadow-y":kp,"text-shadow-blur":kp});function Rp(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Rp(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=Rp(i,t[i],n);else for(var o in t)t[o]=Rp(e+"-"+o,t[o],n);else if("number"==typeof t&&!Number.isNaN(t)){var s=n[e]||Ip[e];return!s||0===t&&s===kp?t.toString():"function"==typeof s?s(t).toString():""+t+s}return t}function Pp(e){void 0===e&&(e={});var t=Lp(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Rp(r,e[r],t);return e},onChangeValue:function(e,n){return Rp(n,e,t)}}}function Np(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 Ap="",Dp="",Mp="",qp="",jp=Kd&&"ontouchstart"in document.documentElement;if(Kd){var Fp={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},zp=document.createElement("p").style;for(var Bp in Fp)if(Bp+"Transform"in zp){Ap=Bp,Dp=Fp[Bp];break}"Webkit"===Ap&&"msHyphens"in zp&&(Ap="ms",Dp=Fp.ms,qp="edge"),"Webkit"===Ap&&"-apple-trailing-word"in zp&&(Mp="apple")}var Hp=Ap,Vp=Dp,Wp=Mp,Up=qp,$p=jp,Qp={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Hp?"-webkit-"+e:Vp+e)}},Kp={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Hp?Vp+"print-"+e:e)}},Zp=/[-\s]+(.)?/g;function Gp(e,t){return t?t.toUpperCase():""}function Xp(e){return e.replace(Zp,Gp)}function Jp(e){return Xp("-"+e)}var Yp,ef={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Hp){var n="mask-image";if(Xp(n)in t)return e;if(Hp+Jp(n)in t)return Vp+e}return e}},tf={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Wp||$p?e:Vp+e)}},nf={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Vp+e)}},rf={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Vp+e)}},of={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Hp||"ms"===Hp&&"edge"!==Up?Vp+e:e)}},sf={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Hp||"ms"===Hp||"apple"===Wp?Vp+e:e)}},af={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Hp?"WebkitColumn"+Jp(e)in t&&Vp+"column-"+e:"Moz"===Hp&&"page"+Jp(e)in t&&"page-"+e)}},lf={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Hp)return e;var n=e.replace("-inline","");return Hp+Jp(n)in t&&Vp+n}},uf={supportedProperty:function(e,t){return Xp(e)in t&&e}},cf={supportedProperty:function(e,t){var n=Jp(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Hp+n in t?Vp+e:"Webkit"!==Hp&&"Webkit"+n in t&&"-webkit-"+e}},df={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Hp?""+Vp+e:e)}},hf={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Hp?Vp+"scroll-chaining":e)}},pf={"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"},ff={supportedProperty:function(e,t){var n=pf[e];return!!n&&Hp+Jp(n)in t&&Vp+n}},mf={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"},yf=Object.keys(mf),gf=function(e){return Vp+e},vf=[Qp,Kp,ef,tf,nf,rf,of,sf,af,lf,uf,cf,df,hf,ff,{supportedProperty:function(e,t,n){var r=n.multiple;if(yf.indexOf(e)>-1){var i=mf[e];if(!Array.isArray(i))return Hp+Jp(i)in t&&Vp+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(Hp+Jp(i[0])in t))return!1;return i.map(gf)}return!1}}],bf=vf.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),wf=vf.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 Np(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 Np(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)?Np(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}),[]),Ef={};if(Kd){Yp=document.createElement("p");var xf=window.getComputedStyle(document.documentElement,"");for(var _f in xf)isNaN(_f)||(Ef[xf[_f]]=xf[_f]);wf.forEach((function(e){return delete Ef[e]}))}function Sf(e,t){if(void 0===t&&(t={}),!Yp)return e;if(null!=Ef[e])return Ef[e];"transition"!==e&&"transform"!==e||(t[e]=e in Yp.style);for(var n=0;n<bf.length&&(Ef[e]=bf[n](e,Yp.style,t),!Ef[e]);n++);try{Yp.style[e]=""}catch(e){return!1}return Ef[e]}var Cf,kf={},Tf={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Of=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Lf(e,t,n){return"var"===t?"var":"all"===t?"all":"all"===n?", all":(t?Sf(t):", "+Sf(n))||t||n}function If(e,t){var n=t;if(!Cf||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=kf[r])return kf[r];try{Cf.style[e]=n}catch(e){return kf[r]=!1,!1}if(Tf[e])n=n.replace(Of,Lf);else if(""===Cf.style[e]&&("-ms-flex"===(n=Vp+n)&&(Cf.style[e]="-ms-flexbox"),Cf.style[e]=n,""===Cf.style[e]))return kf[r]=!1,!1;return Cf.style[e]="",kf[r]=n,kf[r]}function Rf(){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 i=!1,o=Sf(n);o&&o!==n&&(i=!0);var s=!1,a=If(o,rh(r));a&&a!==r&&(s=!0),(i||s)&&(i&&delete t[n],t[o||n]=a||r)}}return t}return{onProcessRule:function(e){"keyframes"===e.type&&(e.at=function(e){return"-"===e[1]||"ms"===Hp?e:"@"+Vp+"keyframes"+e.substr(10)}(e.at))},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return If(t,rh(e))||e}}}function Pf(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=th(e,{},n);return r[ap]=t,r},onProcessStyle:function(e,t){if(sp in t||ap in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[sp]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[ap];o&&(i.style=o(e)||{});var s=i[sp];if(s)for(var a in s)i.prop(a,s[a](e),r)}},{onCreateRule:function(e,t,n){if(!e)return null;if(e===up)return new dp(e,t,n);if("@"===e[0]&&e.substr(0,cp.length)===cp)return new hp(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,i=r?r[up]:null;if(i){for(var o in i)t.addRule(o,i[o],lp({},n,{selector:fp(o,e.selector)}));delete r[up]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,up.length)===up){var o=fp(i.substr(up.length),e.selector);t.addRule(o,r[i],lp({},n,{selector:o})),delete r[i]}}(e,t))}},bp(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Cp(e[t]);return e}return Cp(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Sp(t);return t===r?e:(n.prop(r,e),null)}},Pp(),"undefined"==typeof window?null:Rf(),(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={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)r[i[o]]=t[i[o]];return r}})]};var e}function Nf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Af(){return(Af=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 Df(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(!n)return t;var r=Af({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}Kd&&(Cf=document.createElement("p"));var Mf=function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},qf=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},jf=Je.createContext(null);function Ff(){return Je.useContext(jf)}var zf,Bf=ip(Pf()),Hf={disableGeneration:!1,generateClassName:Wd(),jss:Bf,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Vf=Je.createContext(Hf);function Wf(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,i=e.disableGeneration,o=void 0!==i&&i,s=Nf(e,["children","injectFirst","disableGeneration"]),a=Af({},Je.useContext(Vf),{disableGeneration:o},s);if(!a.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!zf){var l=document.head;zf=document.createComment("mui-inject-first"),l.insertBefore(zf,l.firstChild)}a.jss=ip({plugins:Pf().plugins,insertionPoint:zf})}return Je.createElement(Vf.Provider,{value:a},t)}var Uf=-1e9;function $f(){return Uf+=1}var Qf={};function Kf(e){var t="function"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var o=n.overrides[r],s=Af({},i);return Object.keys(o).forEach((function(e){s[e]=ad(s[e],o[e])})),s},options:{}}}function Zf(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Df({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function Gf(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,o=e.stylesCreator,s=e.name;if(!i.disableGeneration){var a=qf(i.sheetsManager,o,r);a||Mf(i.sheetsManager,o,r,a={refs:0,staticSheet:null,dynamicStyles:null});var l=Af({},o.options,i,{theme:r,flip:"boolean"==typeof i.flip?i.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=i.sheetsRegistry;if(0===a.refs){var c;i.sheetsCache&&(c=qf(i.sheetsCache,o,r));var d=o.create(r,s);c||((c=i.jss.createStyleSheet(d,Af({link:!1},l))).attach(),i.sheetsCache&&Mf(i.sheetsCache,o,r,c)),u&&u.add(c),a.staticSheet=c,a.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var s=e(i);s&&(n||(n={}),n[r]=s)}}return n}(d)}if(a.dynamicStyles){var h=i.jss.createStyleSheet(a.dynamicStyles,Af({link:!0},l));h.update(t),h.attach(),n.dynamicSheet=h,n.classes=Df({baseClasses:a.staticSheet.classes,newClasses:h.classes}),u&&u.add(h)}else n.classes=a.staticSheet.classes;a.refs+=1}}function Xf(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Jf(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=qf(r.sheetsManager,i,n);o.refs-=1;var s=r.sheetsRegistry;0===o.refs&&(function(e,t,n){e.get(t).delete(n)}(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),s&&s.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),s&&s.remove(t.dynamicSheet))}}function Yf(e,t){var n,r=Je.useRef([]),i=Je.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),Je.useEffect((function(){return function(){n&&n()}}),[i])}function em(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,o=t.defaultTheme,s=void 0===o?Qf:o,a=Nf(t,["name","classNamePrefix","Component","defaultTheme"]),l=Kf(e),u=n||r||"makeStyles";return l.options={index:$f(),name:n,meta:u,classNamePrefix:u},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ff()||s,r=Af({},Je.useContext(Vf),a),o=Je.useRef(),u=Je.useRef();return Yf((function(){var i={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return Gf(i,e),u.current=!1,o.current=i,function(){Jf(i)}}),[t,l]),Je.useEffect((function(){u.current&&Xf(o.current,e),u.current=!0})),Zf(o.current,e.classes,i)}}function tm(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=tm(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function nm(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=tm(e))&&(r&&(r+=" "),r+=t);return r}var rm=dd.exports,im={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},om={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},am={};function lm(e){return rm.isMemo(e)?sm:am[e.$$typeof]||im}am[rm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},am[rm.Memo]=sm;var um=Object.defineProperty,cm=Object.getOwnPropertyNames,dm=Object.getOwnPropertySymbols,hm=Object.getOwnPropertyDescriptor,pm=Object.getPrototypeOf,fm=Object.prototype,mm=function e(t,n,r){if("string"!=typeof n){if(fm){var i=pm(n);i&&i!==fm&&e(t,i,r)}var o=cm(n);dm&&(o=o.concat(dm(n)));for(var s=lm(t),a=lm(n),l=0;l<o.length;++l){var u=o[l];if(!(om[u]||r&&r[u]||a&&a[u]||s&&s[u])){var c=hm(n,u);try{um(t,u,c)}catch(e){}}}}return t};function ym(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function gm(e){var t=e.children,n=e.theme,r=Ff(),i=Je.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):Af({},e,t)}(r,n);return null!=e&&(e[Hd]=null!==r),e}),[n,r]);return Je.createElement(jf.Provider,{value:i},t)}function vm(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e),t)}function bm(e){if(e.type)return e;if("#"===e.charAt(0))return bm(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(cd(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 Em(e){var t="hsl"===(e=bm(e)).type?bm(function(e){var t=(e=bm(e)).values,n=t[0],r=t[2]/100,i=t[1]/100*Math.min(r,1-r),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return r-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",a=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(s+="a",a.push(t[3])),wm({type:s,values:a})}(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 xm(e,t){return e=bm(e),t=vm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,wm(e)}function _m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Cm(){return(Cm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var km=["xs","sm","md","lg","xl"];function Tm(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,s=void 0===o?5:o,a=Sm(e,["values","unit","step"]);function l(e){return"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,")")}function u(e,t){var r=km.indexOf(t);return r===km.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[km[r+1]]?n[km[r+1]]:t)-s/100).concat(i,")")}return Cm({keys:km,values:n,up:l,down:function(e){var t=km.indexOf(e)+1,r=n[km[t]];return t===km.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-s/100).concat(i,")")},between:u,only:function(e){return u(e,e)},width:function(e){return n[e]}},a)}function Om(e,t,n){var r;return Cm({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")),Cm({paddingLeft:t(2),paddingRight:t(2)},n,_m({},e.up("sm"),Cm({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},_m(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),_m(r,e.up("sm"),{minHeight:64}),r)},n)}var Lm={black:"#000",white:"#fff"},Im={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"},Rm={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:Lm.white,default:Im[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}},Pm={text:{primary:Lm.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:Im[800],default:"#303030"},action:{active:Lm.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 Nm(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=bm(e),t=vm(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,i):"dark"===t&&(e.dark=function(e,t){if(e=bm(e),t=vm(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,o)))}function Am(e){var t=e.primary,n=void 0===t?{light:"#7986cb",main:"#3f51b5",dark:"#303f9f"}:t,r=e.secondary,i=void 0===r?{light:"#ff4081",main:"#f50057",dark:"#c51162"}:r,o=e.error,s=void 0===o?{light:"#e57373",main:"#f44336",dark:"#d32f2f"}:o,a=e.warning,l=void 0===a?{light:"#ffb74d",main:"#ff9800",dark:"#f57c00"}:a,u=e.info,c=void 0===u?{light:"#64b5f6",main:"#2196f3",dark:"#1976d2"}:u,d=e.success,h=void 0===d?{light:"#81c784",main:"#4caf50",dark:"#388e3c"}:d,p=e.type,f=void 0===p?"light":p,m=e.contrastThreshold,y=void 0===m?3:m,g=e.tonalOffset,v=void 0===g?.2:g,b=Sm(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function w(e){return function(e,t){var n=Em(e),r=Em(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Pm.text.primary)>=y?Pm.text.primary:Rm.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=Cm({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(cd(4,t));if("string"!=typeof e.main)throw new Error(cd(5,JSON.stringify(e.main)));return Nm(e,"light",n,v),Nm(e,"dark",r,v),e.contrastText||(e.contrastText=w(e.main)),e},x={dark:Pm,light:Rm};return ad(Cm({common:Lm,type:f,primary:E(n),secondary:E(i,"A400","A200","A700"),error:E(s),warning:E(l),info:E(c),success:E(h),grey:Im,contrastThreshold:y,getContrastText:w,augmentColor:E,tonalOffset:v},x[f]),b)}function Dm(e){return Math.round(1e5*e)/1e5}function Mm(e){return Dm(e)}var qm={textTransform:"uppercase"},jm='"Roboto", "Helvetica", "Arial", sans-serif';function Fm(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,i=void 0===r?jm:r,o=n.fontSize,s=void 0===o?14:o,a=n.fontWeightLight,l=void 0===a?300:a,u=n.fontWeightRegular,c=void 0===u?400:u,d=n.fontWeightMedium,h=void 0===d?500:d,p=n.fontWeightBold,f=void 0===p?700:p,m=n.htmlFontSize,y=void 0===m?16:m,g=n.allVariants,v=n.pxToRem,b=Sm(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),w=s/14,E=v||function(e){return"".concat(e/y*w,"rem")},x=function(e,t,n,r,o){return Cm({fontFamily:i,fontWeight:e,fontSize:E(t),lineHeight:n},i===jm?{letterSpacing:"".concat(Dm(r/t),"em")}:{},o,g)},_={h1:x(l,96,1.167,-1.5),h2:x(l,60,1.2,-.5),h3:x(c,48,1.167,0),h4:x(c,34,1.235,.25),h5:x(c,24,1.334,0),h6:x(h,20,1.6,.15),subtitle1:x(c,16,1.75,.15),subtitle2:x(h,14,1.57,.1),body1:x(c,16,1.5,.15),body2:x(c,14,1.43,.15),button:x(h,14,1.75,.4,qm),caption:x(c,12,1.66,.4),overline:x(c,12,2.66,1,qm)};return ad(Cm({htmlFontSize:y,pxToRem:E,round:Mm,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:h,fontWeightBold:f},_),b,{clone:!1})}function zm(){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 Bm=["none",zm(0,2,1,-1,0,1,1,0,0,1,3,0),zm(0,3,1,-2,0,2,2,0,0,1,5,0),zm(0,3,3,-2,0,3,4,0,0,1,8,0),zm(0,2,4,-1,0,4,5,0,0,1,10,0),zm(0,3,5,-1,0,5,8,0,0,1,14,0),zm(0,3,5,-1,0,6,10,0,0,1,18,0),zm(0,4,5,-2,0,7,10,1,0,2,16,1),zm(0,5,5,-3,0,8,10,1,0,3,14,2),zm(0,5,6,-3,0,9,12,1,0,3,16,2),zm(0,6,6,-3,0,10,14,1,0,4,18,3),zm(0,6,7,-4,0,11,15,1,0,4,20,3),zm(0,7,8,-4,0,12,17,2,0,5,22,4),zm(0,7,8,-4,0,13,19,2,0,5,24,4),zm(0,7,9,-4,0,14,21,2,0,5,26,4),zm(0,8,9,-5,0,15,22,2,0,6,28,5),zm(0,8,10,-5,0,16,24,2,0,6,30,5),zm(0,8,11,-5,0,17,26,2,0,6,32,5),zm(0,9,11,-5,0,18,28,2,0,7,34,6),zm(0,9,12,-6,0,19,29,2,0,7,36,6),zm(0,10,13,-6,0,20,31,3,0,8,38,7),zm(0,10,13,-6,0,21,33,3,0,8,40,7),zm(0,10,14,-6,0,22,35,3,0,8,42,7),zm(0,11,14,-7,0,23,36,3,0,9,44,8),zm(0,11,15,-7,0,24,38,3,0,9,46,8)],Hm={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 Wm(e){return(Wm="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 Um(e){return(Um="function"==typeof Symbol&&"symbol"===Wm(Symbol.iterator)?function(e){return Wm(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Wm(e)})(e)}function $m(e,t){return t?ad(e,t,{clone:!1}):e}var Qm={xs:0,sm:600,md:960,lg:1280,xl:1920},Km={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Qm[e],"px)")}};function Zm(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||Km;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===Um(t)){var i=e.theme.breakpoints||Km;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}function Gm(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Xm(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,i=e.themeKey,o=e.transform,s=function(e){if(null==e[t])return null;var n=e[t],s=Gm(e.theme,i)||{};return Zm(e,n,(function(e){var t;return"function"==typeof s?t=s(e):Array.isArray(s)?t=s[e]||e:(t=Gm(s,e)||e,o&&(t=o(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 s.propTypes={},s.filterProps=[t],s}function Jm(){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?$m(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function Ym(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var ey=Jm(Xm({prop:"border",themeKey:"borders",transform:Ym}),Xm({prop:"borderTop",themeKey:"borders",transform:Ym}),Xm({prop:"borderRight",themeKey:"borders",transform:Ym}),Xm({prop:"borderBottom",themeKey:"borders",transform:Ym}),Xm({prop:"borderLeft",themeKey:"borders",transform:Ym}),Xm({prop:"borderColor",themeKey:"palette"}),Xm({prop:"borderRadius",themeKey:"shape"}));function ty(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var ny=Jm(Xm({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Xm({prop:"display"}),Xm({prop:"overflow"}),Xm({prop:"textOverflow"}),Xm({prop:"visibility"}),Xm({prop:"whiteSpace"})),ry=Jm(Xm({prop:"flexBasis"}),Xm({prop:"flexDirection"}),Xm({prop:"flexWrap"}),Xm({prop:"justifyContent"}),Xm({prop:"alignItems"}),Xm({prop:"alignContent"}),Xm({prop:"order"}),Xm({prop:"flex"}),Xm({prop:"flexGrow"}),Xm({prop:"flexShrink"}),Xm({prop:"alignSelf"}),Xm({prop:"justifyItems"}),Xm({prop:"justifySelf"})),iy=Jm(Xm({prop:"gridGap"}),Xm({prop:"gridColumnGap"}),Xm({prop:"gridRowGap"}),Xm({prop:"gridColumn"}),Xm({prop:"gridRow"}),Xm({prop:"gridAutoFlow"}),Xm({prop:"gridAutoColumns"}),Xm({prop:"gridAutoRows"}),Xm({prop:"gridTemplateColumns"}),Xm({prop:"gridTemplateRows"}),Xm({prop:"gridTemplateAreas"}),Xm({prop:"gridArea"})),oy=Jm(Xm({prop:"color",themeKey:"palette"}),Xm({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),sy=Jm(Xm({prop:"position"}),Xm({prop:"zIndex",themeKey:"zIndex"}),Xm({prop:"top"}),Xm({prop:"right"}),Xm({prop:"bottom"}),Xm({prop:"left"})),ay=Xm({prop:"boxShadow",themeKey:"shadows"});function ly(e){return e<=1?"".concat(100*e,"%"):e}var uy=Xm({prop:"width",transform:ly}),cy=Xm({prop:"maxWidth",transform:ly}),dy=Xm({prop:"minWidth",transform:ly}),hy=Xm({prop:"height",transform:ly}),py=Xm({prop:"maxHeight",transform:ly}),fy=Xm({prop:"minHeight",transform:ly});Xm({prop:"size",cssProperty:"width",transform:ly}),Xm({prop:"size",cssProperty:"height",transform:ly});var my=Jm(uy,cy,dy,hy,py,fy,Xm({prop:"boxSizing"})),yy={m:"margin",p:"padding"},gy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vy={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},by=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){if(e.length>2){if(!vy[e])return[e];e=vy[e]}var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(e.split("")),n=yy[t[0]],r=gy[t[1]]||"";return Array.isArray(r)?r.map((function(e){return n+e})):[n+r]}(e)),t[e]}}(),wy=["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 Ey(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 xy(e){var t=Ey(e.theme);return Object.keys(e).map((function(n){if(-1===wy.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}),{})}}(by(n),t);return Zm(e,e[n],r)})).reduce($m,{})}xy.propTypes={},xy.filterProps=wy;var _y=Jm(Xm({prop:"fontFamily",themeKey:"typography"}),Xm({prop:"fontSize",themeKey:"typography"}),Xm({prop:"fontStyle",themeKey:"typography"}),Xm({prop:"fontWeight",themeKey:"typography"}),Xm({prop:"letterSpacing"}),Xm({prop:"lineHeight"}),Xm({prop:"textAlign"}));function Sy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Ey({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 Cy={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)"},ky={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ty(e){return"".concat(Math.round(e),"ms")}var Oy={easing:Cy,duration:ky,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?ky.standard:n,i=t.easing,o=void 0===i?Cy.easeInOut:i,s=t.delay,a=void 0===s?0:s;return Sm(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:Ty(r)," ").concat(o," ").concat("string"==typeof a?a:Ty(a))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},Ly={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Iy(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,s=void 0===o?{}:o,a=e.spacing,l=e.typography,u=void 0===l?{}:l,c=Sm(e,["breakpoints","mixins","palette","spacing","typography"]),d=Am(s),h=Tm(n),p=Sy(a),f=ad({breakpoints:h,direction:"ltr",mixins:Om(h,p,i),overrides:{},palette:d,props:{},shadows:Bm,typography:Fm(d,u),spacing:p,shape:Hm,transitions:Oy,zIndex:Ly},c),m=arguments.length,y=new Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];return y.reduce((function(e,t){return ad(e,t)}),f)}var Ry=Iy();function Py(e){return em(e,Cm({defaultTheme:Ry},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}function Ny(){return Ff()||Ry}function Ay(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,o=void 0!==i&&i,s=t.name,a=Nf(t,["defaultTheme","withTheme","name"]),l=em(e,Af({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:s},a)),u=Je.forwardRef((function(e,t){var i,a=e.innerRef,u=Nf(e,["classes","innerRef"]),c=l(Af({},n.defaultProps,e)),d=u;return("string"==typeof s||o)&&(i=Ff()||r,s&&(d=Ud({theme:i,name:s,props:u})),o&&!d.theme&&(d.theme=i)),Je.createElement(n,Af({ref:a||t,classes:c},d))}));return mm(u,n),u}}(e,Cm({defaultTheme:Ry},t))}var Dy={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 My="#009845",qy="#3F8AB3",jy="#ffffff",Fy="#404040",zy="#333333",By="#1A1A1A",Hy={type:"light",palette:{primary:{main:Fy,contrastText:jy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Fy,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:Fy,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:jy,default:jy,lightest:jy,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:qy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:My,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:jy,alternativeContrastText:Fy,excludedContrastText:Fy},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)"}}},Vy={type:"dark",palette:{primary:{main:zy,contrastText:jy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:jy,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:jy,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:Fy,lighter:zy,darker:"#262626",darkest:By},custom:{focusBorder:qy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:My,alternative:zy,excluded:By,mainContrastText:jy,alternativeContrastText:jy,excludedContrastText:jy},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)"}}},Wy={},Uy=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 $y(e){let t=Hy,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Vy));const i=JSON.stringify(t);if(Wy[i])return Wy[i];const o={palette:n(n({type:t.type},Dy.palette),t.palette),typography:n({},Dy.typography),shadows:Dy.shadows,props:n({},Dy.props),shape:n({},Dy.shape)};return Wy[i]=Iy(n(n({},o),{},{overrides:Uy(o)})),Wy[i].name=r,Wy[i]}var Qy=Je.createContext({language:null,theme:null,translator:null,constraints:{}}),Ky=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],r={get:e=>t[e],set:(n,r)=>{if(void 0===n||"object"==typeof n)throw new Error("Invalid key: ".concat(JSON.stringify(n)));return t[n]=r,e({type:"SET",value:r}),r},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));t[e]=null},dispatch:e=>{n.forEach(n=>n(e?{}:t))}};return[()=>{const[,e]=ye.exports.useState(t);return ye.exports.useEffect(()=>(n.push(e),()=>{const t=n.indexOf(e);n.splice(t,1)}),[e]),[r]},r]};const[Zy,Gy]=Ky({}),[Xy,Jy]=Ky({}),[Yy,eg]=Ky({}),[tg,ng]=Ky({}),[rg,ig]=Ky({}),[,og]=Ky({}),sg=e=>{let{type:t,value:n}=e;const r=og.get(n.id);og.set(n.id,{});const i=()=>{Jy.clear(n.id),ig.set(n.id,{}),ig.dispatch(!0)},o=()=>{n.removeListener("changed",i),Gy.clear(n.id),Jy.clear(n.id),eg.clear(n.id),ng.clear(n.id),ig.clear(n.id),og.clear(n.id)};switch(t){case"SET":r||(n.on("changed",i),n.once("closed",()=>{o()}))}return o},[ag,lg]=Ky({},sg),ug=(e,t)=>{const{rpcResultStore:r,key:i,method:o}=t;let s;switch(t.type){case"INVALID":s=n(n({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":s={result:n({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":s=n(n({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let a=r.get(i);return a||(a={}),a[o]=s,r.set(i,a),s};function cg(e,t){const n=e?"".concat(e.id):null,[r]=Zy(),[i,o]=ye.exports.useReducer(ug,n?r.get(n):null),[s]=rg(),[a]=Xy();let l;n&&(l=a.get(n),l||(l={},a.set(n,l)));const u=async i=>{let s=l[t];(!s||s&&s.rpcRetry)&&(s={rpc:e[t](),rpcRetry:!1},l[t]=s,o({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0}));try{const i=await s.rpc;o({type:"VALID",result:i,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||i||(s.rpcRetry||(s.rpcRetry=!0),u(!0))}},c={cancel:async()=>{const i=e.session.getObjectApi({handle:-1});await i.cancelRequest(l[t].rpc.requestId),o({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{l[t].rpcRetry=!0,u()}};return ye.exports.useEffect(()=>{e&&u()},[e,s.get(e&&e.id),n,t]),[i&&i.result,{validating:i&&i.validating,canCancel:i&&i.canCancel,canRetry:i&&i.canRetry},c]}function dg(e){return cg(e,"getLayout")}function hg(e){return cg(e,"getAppLayout")}function pg(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=ag(),[i]=Yy(),[o,s]=ye.exports.useState();let a;n&&(a=i.get(n));for(var l=arguments.length,u=new Array(l>2?l-2:0),c=2;c<l;c++)u[c-2]=arguments[c];return ye.exports.useEffect(()=>{t&&(async()=>{if(!a){const r=t.createSessionObject(e);a=r,i.set(n,a)}const o=await a;r.set(n,o),s(o)})()},[t,...u]),[o]}const fg={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function mg(e){return pg(fg,e)}function yg(e){const[t]=mg(e),[n]=dg(t),[r]=hg(e),[i,o]=ye.exports.useState(null);return ye.exports.useEffect(()=>{r&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map(e=>({stateName:e,qSelectionObjectDef:{qStateName:e}}));(t&&t.alternateStates?t.alternateStates.map(e=>e.stateName):[]).join("::")!==(n.qStateNames||[]).map(e=>e).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,r)},[r,t,n]),ye.exports.useEffect(()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach(n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter(e=>!0!==e.qLocked).length>0}),o({canGoBack:e,canGoForward:t,canClear:r})},[n]),[i,t,n]}const[gg,vg]=Ky({}),[bg,wg]=Ky({}),[Eg,xg]=Ky({}),[_g,Sg]=Ky({});function Cg(e){if(!e.session)return[];const[t,n,r]=yg(e),[i]=gg(),o=e?e.id:null;let s=i.get(o);return ye.exports.useEffect(()=>{e&&n&&r&&t&&!s&&(s=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const i="".concat(t.id),o=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=Sg.get(i);t&&(await t.endSelections(e),Sg.clear(i),xg.get(t.id).emit("deactivated"))},s={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===Sg.get(i))return;o(r),Sg.set(i,e);const s=Array.isArray(n)?n:[n],a=async n=>{try{await e.beginSelections(s),Sg.set(i,e)}catch(e){6003!==e.code||n?Sg.clear(i):(await t.abortModal(r),a(!0))}};await a()},end:o};return wg.set(i,s),{model:t,isInModal:()=>!!Sg.get(i),isModal:e=>e?Sg.get(i)===e:!!Sg.get(i),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>s.end().then(()=>t.forward()),back:()=>s.end().then(()=>t.back()),clear:()=>s.end().then(()=>t.clearAll()),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return s.end().then(()=>t.getField(e,n).then(e=>e.clear()))}}}({app:e,currentSelectionsLayout:r,navState:t}),i.set(o,s),i.dispatch(!0))},[e,n,r,t]),[s,t]}let kg=0;const Tg=ye.exports.forwardRef((e,t)=>{let{initialContext:n,app:r}=e;const[i]=Cg(r),[o,s]=ye.exports.useState(n),[a,l]=ye.exports.useState(),{theme:u,generator:c}=ye.exports.useMemo(()=>({theme:$y(a),generator:Wd({productionPrefix:"".concat("03e4"),disableGlobal:!0,seed:"njs-".concat(kg++)})}),[a]),[d,h]=ye.exports.useState([]);return ye.exports.useImperativeHandle(t,()=>({addComponent(e){h([...d,e])},removeComponent(e){const t=d.indexOf(e);-1!==t&&(d.splice(t,1),h([...d]))},setMuiThemeName:l,setContext:s,getAppSelections:()=>i})),Je.createElement(Wf,{generateClassName:c},Je.createElement(gm,{theme:u},Je.createElement(Qy.Provider,{value:o},Je.createElement(Je.Fragment,null,d))))});function Og(e){let t,{app:n,context:r}=e;const i=new Promise(e=>{t=e}),o=Je.createRef(),s=document.createElement("div");s.style.display="none",s.setAttribute("data-nebulajs-version","2.3.1"),s.setAttribute("data-app-id",n.id),document.body.appendChild(s),nd.render(Je.createElement(Tg,{ref:o,app:n,initialContext:r}),s,t);const a={};return[{toggleFocusOfCells(e){Object.keys(a).forEach(t=>{a[t].current.toggleFocus(t===e)})},cells:a,addCell(e,t){a[e]=t},add(e){(async()=>{await i,o.current.addComponent(e)})()},remove(e){(async()=>{await i,o.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await i,o.current.setMuiThemeName(e)})()},context(e){(async()=>{await i,o.current.setContext(e)})()},getAppSelections:async()=>(await i,o.current.getAppSelections())},o,i]}function Lg(e){if("string"!=typeof e)throw new Error(cd(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ig(){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),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function Rg(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=this,a=function(){e.apply(s,i)};clearTimeout(t),t=setTimeout(a,n)}return r.clear=function(){clearTimeout(t)},r}function Pg(e){return e&&e.ownerDocument||document}function Ng(e){return Pg(e).defaultView||window}function Ag(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Dg="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect;function Mg(e){var t=ye.exports.useRef(e);return Dg((function(){t.current=e})),ye.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function qg(e,t){return ye.exports.useMemo((function(){return null==e&&null==t?null:function(n){Ag(e,n),Ag(t,n)}}),[e,t])}var jg=!0,Fg=!1,zg=null,Bg={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 Hg(e){e.metaKey||e.altKey||e.ctrlKey||(jg=!0)}function Vg(){jg=!1}function Wg(){"hidden"===this.visibilityState&&Fg&&(jg=!0)}function Ug(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return jg||function(e){var t=e.tagName;return!("INPUT"!==t||!Bg[e.type]||e.readOnly)||"TEXTAREA"===t&&!e.readOnly||!!e.isContentEditable}(t)}function $g(){Fg=!0,window.clearTimeout(zg),zg=window.setTimeout((function(){Fg=!1}),100)}function Qg(){return(Qg=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 Kg(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function Zg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Gg=Je.createContext(null),Xg="unmounted",Jg="exited",Yg="entering",ev="entered",tv="exiting",nv=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Jg,r.appearStatus=Yg):i=ev:i=t.unmountOnExit||t.mountOnEnter?Xg:Jg,r.state={status:i},r.nextCallback=null,r}Zg(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Xg?{status:Jg}: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!==Yg&&n!==ev&&(t=Yg):n!==Yg&&n!==ev||(t=tv)}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===Yg?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Jg&&this.setState({status:Xg})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[nd.findDOMNode(this),r],o=i[0],s=i[1],a=this.getTimeouts(),l=r?a.appear:a.enter;e||n?(this.props.onEnter(o,s),this.safeSetState({status:Yg},(function(){t.props.onEntering(o,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:ev},(function(){t.props.onEntered(o,s)}))}))}))):this.safeSetState({status:ev},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:nd.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:tv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Jg},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Jg},(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:nd.findDOMNode(this);if(n&&(null!=e||this.props.addEndListener)){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback];this.props.addEndListener(r[0],r[1])}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Xg)return null;var t=this.props,n=t.children,r=Kg(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Je.createElement(Gg.Provider,{value:null},"function"==typeof n?n(e,r):Je.cloneElement(Je.Children.only(n),r))},t}(Je.Component);function rv(){}nv.contextType=Gg,nv.propTypes={},nv.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:rv,onEntering:rv,onEntered:rv,onExit:rv,onExiting:rv,onExited:rv},nv.UNMOUNTED=Xg,nv.EXITED=Jg,nv.ENTERING=Yg,nv.ENTERED=ev,nv.EXITING=tv;var iv=nv;function ov(e,t){var n=Object.create(null);return e&&ye.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&ye.exports.isValidElement(e)?t(e):e}(e)})),n}function sv(e,t,n){return null!=n[t]?n[t]:e.props[t]}function av(e,t,n){var r=ov(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var s in e)s in t?o.length&&(i[s]=o,o=[]):o.push(s);var a={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++)a[i[l][r]]=n(i[l][r]);a[l]=n(l)}for(r=0;r<o.length;r++)a[o[r]]=n(o[r]);return a}(t,r);return Object.keys(i).forEach((function(o){var s=i[o];if(ye.exports.isValidElement(s)){var a=o in t,l=o in r,u=t[o],c=ye.exports.isValidElement(u)&&!u.props.in;!l||a&&!c?l||!a||c?l&&a&&ye.exports.isValidElement(u)&&(i[o]=ye.exports.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:sv(s,"exit",e),enter:sv(s,"enter",e)})):i[o]=ye.exports.cloneElement(s,{in:!1}):i[o]=ye.exports.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:sv(s,"exit",e),enter:sv(s,"enter",e)})}})),i}var lv=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},uv=function(e){function t(t,n){var r,i=(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:i,firstRender:!0},r}Zg(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,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,ov(n.children,(function(e){return ye.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)})}))):av(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=ov(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Qg({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Kg(e,["component","childFactory"]),i=this.state.contextValue,o=lv(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,Je.createElement(Gg.Provider,{value:i},null===t?o:Je.createElement(t,r,o))},t}(Je.Component);uv.propTypes={},uv.defaultProps={component:"div",childFactory:function(e){return e}};var cv=uv;function dv(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}var hv=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,o=void 0===i?"div":i,s=e.square,a=void 0!==s&&s,l=e.elevation,u=void 0===l?1:l,c=e.variant,d=void 0===c?"elevation":c,h=Sm(e,["classes","className","component","square","elevation","variant"]);return ye.exports.createElement(o,Cm({className:nm(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(u)],!a&&n.rounded),ref:t},h))})),pv=Ay((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Cm({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 fv(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 mv="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect;function yv(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,o=e.rippleY,s=e.rippleSize,a=e.in,l=e.onExited,u=void 0===l?function(){}:l,c=e.timeout,d=ye.exports.useState(!1),h=d[0],p=d[1],f=nm(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:s,height:s,top:-s/2+o,left:-s/2+i},y=nm(t.child,h&&t.childLeaving,r&&t.childPulsate),g=Mg(u);return mv((function(){if(!a){p(!0);var e=setTimeout(g,c);return function(){clearTimeout(e)}}}),[g,a,c]),ye.exports.createElement("span",{className:f,style:m},ye.exports.createElement("span",{className:y}))}var gv=ye.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,i=e.classes,o=e.className,s=Sm(e,["center","classes","className"]),a=ye.exports.useState([]),l=a[0],u=a[1],c=ye.exports.useRef(0),d=ye.exports.useRef(null);ye.exports.useEffect((function(){d.current&&(d.current(),d.current=null)}),[l]);var h=ye.exports.useRef(!1),p=ye.exports.useRef(null),f=ye.exports.useRef(null),m=ye.exports.useRef(null);ye.exports.useEffect((function(){return function(){clearTimeout(p.current)}}),[]);var y=ye.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,s=e.cb;u((function(e){return[].concat(fv(e),[ye.exports.createElement(yv,{key:c.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o})])})),c.current+=1,d.current=s}),[i]),g=ye.exports.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,s=t.center,a=void 0===s?r||t.pulsate:s,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&h.current)h.current=!1;else{"touchstart"===e.type&&(h.current=!0);var c,d,g,v=u?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),d=Math.round(b.height/2);else{var w=e.touches?e.touches[0]:e,E=w.clientY;c=Math.round(w.clientX-b.left),d=Math.round(E-b.top)}if(a)(g=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(g+=1);else{var x=2*Math.max(Math.abs((v?v.clientWidth:0)-c),c)+2,_=2*Math.max(Math.abs((v?v.clientHeight:0)-d),d)+2;g=Math.sqrt(Math.pow(x,2)+Math.pow(_,2))}e.touches?null===f.current&&(f.current=function(){y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})},p.current=setTimeout((function(){f.current&&(f.current(),f.current=null)}),80)):y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})}}),[r,y]),v=ye.exports.useCallback((function(){g({},{pulsate:!0})}),[g]),b=ye.exports.useCallback((function(e,t){if(clearTimeout(p.current),"touchend"===e.type&&f.current)return e.persist(),f.current(),f.current=null,void(p.current=setTimeout((function(){b(e,t)})));f.current=null,u((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return ye.exports.useImperativeHandle(t,(function(){return{pulsate:v,start:g,stop:b}}),[v,g,b]),ye.exports.createElement("span",Cm({className:nm(i.root,o),ref:m},s),ye.exports.createElement(cv,{component:null,exit:!0},l))})),vv=Ay((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(ye.exports.memo(gv)),bv=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,o=void 0!==i&&i,s=e.children,a=e.classes,l=e.className,u=e.component,c=void 0===u?"button":u,d=e.disabled,h=void 0!==d&&d,p=e.disableRipple,f=void 0!==p&&p,m=e.disableTouchRipple,y=void 0!==m&&m,g=e.focusRipple,v=void 0!==g&&g,b=e.focusVisibleClassName,w=e.onBlur,E=e.onClick,x=e.onFocus,_=e.onFocusVisible,S=e.onKeyDown,C=e.onKeyUp,k=e.onMouseDown,T=e.onMouseLeave,O=e.onMouseUp,L=e.onTouchEnd,I=e.onTouchMove,R=e.onTouchStart,P=e.onDragLeave,N=e.tabIndex,A=void 0===N?0:N,D=e.TouchRippleProps,M=e.type,q=void 0===M?"button":M,j=Sm(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"]),F=ye.exports.useRef(null),z=ye.exports.useRef(null),B=ye.exports.useState(!1),H=B[0],V=B[1];h&&H&&V(!1);var W={isFocusVisible:Ug,onBlurVisible:$g,ref:ye.exports.useCallback((function(e){var t,n=Ye.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Hg,!0),t.addEventListener("mousedown",Vg,!0),t.addEventListener("pointerdown",Vg,!0),t.addEventListener("touchstart",Vg,!0),t.addEventListener("visibilitychange",Wg,!0))}),[])},U=W.isFocusVisible,$=W.onBlurVisible,Q=W.ref;function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return Mg((function(r){return t&&t(r),!n&&z.current&&z.current[e](r),!0}))}ye.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){V(!0),F.current.focus()}}}),[]),ye.exports.useEffect((function(){H&&v&&!f&&z.current.pulsate()}),[f,v,H]);var Z=K("start",k),G=K("stop",P),X=K("stop",O),J=K("stop",(function(e){H&&e.preventDefault(),T&&T(e)})),Y=K("start",R),ee=K("stop",L),te=K("stop",I),ne=K("stop",(function(e){H&&($(e),V(!1)),w&&w(e)}),!1),re=Mg((function(e){F.current||(F.current=e.currentTarget),U(e)&&(V(!0),_&&_(e)),x&&x(e)})),ie=function(){var e=Ye.exports.findDOMNode(F.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},oe=ye.exports.useRef(!1),se=Mg((function(e){v&&!oe.current&&H&&z.current&&" "===e.key&&(oe.current=!0,e.persist(),z.current.stop(e,(function(){z.current.start(e)}))),e.target===e.currentTarget&&ie()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&ie()&&"Enter"===e.key&&!h&&(e.preventDefault(),E&&E(e))})),ae=Mg((function(e){v&&" "===e.key&&z.current&&H&&!e.defaultPrevented&&(oe.current=!1,e.persist(),z.current.stop(e,(function(){z.current.pulsate(e)}))),C&&C(e),E&&e.target===e.currentTarget&&ie()&&" "===e.key&&!e.defaultPrevented&&E(e)})),le=c;"button"===le&&j.href&&(le="a");var ue={};"button"===le?(ue.type=q,ue.disabled=h):("a"===le&&j.href||(ue.role="button"),ue["aria-disabled"]=h);var ce=qg(r,t),de=qg(Q,F),he=qg(ce,de),pe=ye.exports.useState(!1),fe=pe[0],me=pe[1];ye.exports.useEffect((function(){me(!0)}),[]);var ge=fe&&!f&&!h;return ye.exports.createElement(le,Cm({className:nm(a.root,l,H&&[a.focusVisible,b],h&&a.disabled),onBlur:ne,onClick:E,onFocus:re,onKeyDown:se,onKeyUp:ae,onMouseDown:Z,onMouseLeave:J,onMouseUp:X,onDragLeave:G,onTouchEnd:ee,onTouchMove:te,onTouchStart:Y,ref:he,tabIndex:h?-1:A},ue,j),s,ge?ye.exports.createElement(vv,Cm({ref:z,center:o},D)):null)})),wv=Ay({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"})(bv),Ev=ye.exports.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,o=e.classes,s=e.className,a=e.color,l=void 0===a?"default":a,u=e.disabled,c=void 0!==u&&u,d=e.disableFocusRipple,h=void 0!==d&&d,p=e.size,f=void 0===p?"medium":p,m=Sm(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return ye.exports.createElement(wv,Cm({className:nm(o.root,s,"default"!==l&&o["color".concat(Lg(l))],c&&o.disabled,"small"===f&&o["size".concat(Lg(f))],{start:o.edgeStart,end:o.edgeEnd}[r]),centerRipple:!0,focusRipple:!h,disabled:c,ref:t},m),ye.exports.createElement("span",{className:o.label},i))})),xv=Ay((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:xm(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:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:xm(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"})(Ev),_v=ye.exports.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,o=e.children,s=e.classes,a=e.className,l=e.color,u=void 0===l?"default":l,c=e.component,d=void 0===c?"span":c,h=e.invisible,p=e.max,f=void 0===p?99:p,m=e.overlap,y=void 0===m?"rectangle":m,g=e.showZero,v=void 0!==g&&g,b=e.variant,w=void 0===b?"standard":b,E=Sm(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),x=h;null==h&&(0===i&&!v||null==i&&"dot"!==w)&&(x=!0);var _="";return"dot"!==w&&(_=i>f?"".concat(f,"+"):i),ye.exports.createElement(d,Cm({className:nm(s.root,a),ref:t},E),o,ye.exports.createElement("span",{className:nm(s.badge,s["".concat(r.horizontal).concat(Lg(r.vertical),"}")],s["anchorOrigin".concat(Lg(r.vertical)).concat(Lg(r.horizontal)).concat(Lg(y))],"default"!==u&&s["color".concat(Lg(u))],x&&s.invisible,"dot"===w&&s.dot)},_))})),Sv=Ay((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"})(_v),Cv=function(e){var t=function(t){var n=e(t);return t.css?Vm({},$m(n,e(Vm({theme:t.theme},t.css))),ty(t.css,[e.filterProps])):t.sx?Vm({},$m(n,e(Vm({theme:t.theme},t.sx))),ty(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}(Jm(ey,ny,ry,iy,sy,oy,ay,my,xy,_y)),kv=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,o=Nf(r,["name"]),s=em("function"==typeof t?function(e){return{root:function(n){return t(Af({theme:e},n))}}}:{root:t},Af({Component:e,name:i||e.displayName,classNamePrefix:i},o));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&delete t.propTypes;var a=Je.forwardRef((function(t,r){var i=t.children,o=t.className,a=t.clone,l=t.component,u=Nf(t,["children","className","clone","component"]),c=nm(s(t).root,o),d=u;return n&&(d=ym(d,n)),a?Je.cloneElement(i,Af({className:nm(i.props.className,c)},d)):"function"==typeof i?i(Af({className:c},d)):Je.createElement(l||e,Af({ref:r,className:c},d),i)}));return mm(a,e),a}}("div");return function(e,n){return t(e,Cm({defaultTheme:Ry},n))}}()(Cv,{name:"MuiBox"}),Tv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Ov=ye.exports.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,o=e.className,s=e.color,a=void 0===s?"initial":s,l=e.component,u=e.display,c=void 0===u?"initial":u,d=e.gutterBottom,h=void 0!==d&&d,p=e.noWrap,f=void 0!==p&&p,m=e.paragraph,y=void 0!==m&&m,g=e.variant,v=void 0===g?"body1":g,b=e.variantMapping,w=void 0===b?Tv:b,E=Sm(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]);return ye.exports.createElement(l||(y?"p":w[v]||Tv[v])||"span",Cm({className:nm(i.root,o,"inherit"!==v&&i[v],"initial"!==a&&i["color".concat(Lg(a))],f&&i.noWrap,h&&i.gutterBottom,y&&i.paragraph,"inherit"!==r&&i["align".concat(Lg(r))],"initial"!==c&&i["display".concat(Lg(c))]),ref:t},E))})),Lv=Ay((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"})(Ov),Iv=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.color,s=void 0===o?"default":o,a=e.component,l=void 0===a?"button":a,u=e.disabled,c=void 0!==u&&u,d=e.disableElevation,h=void 0!==d&&d,p=e.disableFocusRipple,f=void 0!==p&&p,m=e.endIcon,y=e.focusVisibleClassName,g=e.fullWidth,v=void 0!==g&&g,b=e.size,w=void 0===b?"medium":b,E=e.startIcon,x=e.type,_=void 0===x?"button":x,S=e.variant,C=void 0===S?"text":S,k=Sm(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=E&&ye.exports.createElement("span",{className:nm(r.startIcon,r["iconSize".concat(Lg(w))])},E),O=m&&ye.exports.createElement("span",{className:nm(r.endIcon,r["iconSize".concat(Lg(w))])},m);return ye.exports.createElement(wv,Cm({className:nm(r.root,r[C],i,"inherit"===s?r.colorInherit:"default"!==s&&r["".concat(C).concat(Lg(s))],"medium"!==w&&[r["".concat(C,"Size").concat(Lg(w))],r["size".concat(Lg(w))]],h&&r.disableElevation,c&&r.disabled,v&&r.fullWidth),component:l,disabled:c,focusRipple:!f,focusVisibleClassName:nm(r.focusVisible,y),ref:t,type:_},k),ye.exports.createElement("span",{className:r.label},T,n,O))})),Rv=Ay((function(e){return{root:Cm({},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:xm(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:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:xm(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(xm(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(xm(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:xm(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"})(Iv),Pv=ye.exports.createContext();function Nv(){return ye.exports.useContext(Pv)}var Av=Pv,Dv=44,Mv=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"primary":i,s=e.disableShrink,a=void 0!==s&&s,l=e.size,u=void 0===l?40:l,c=e.style,d=e.thickness,h=void 0===d?3.6:d,p=e.value,f=void 0===p?0:p,m=e.variant,y=void 0===m?"indeterminate":m,g=Sm(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),v={},b={},w={};if("determinate"===y||"static"===y){var E=2*Math.PI*((Dv-h)/2);v.strokeDasharray=E.toFixed(3),w["aria-valuenow"]=Math.round(f),v.strokeDashoffset="".concat(((100-f)/100*E).toFixed(3),"px"),b.transform="rotate(-90deg)"}return ye.exports.createElement("div",Cm({className:nm(n.root,r,"inherit"!==o&&n["color".concat(Lg(o))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[y]),style:Cm({width:u,height:u},b,c),ref:t,role:"progressbar"},w,g),ye.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Dv," ").concat(Dv)},ye.exports.createElement("circle",{className:nm(n.circle,a&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[y]),style:v,cx:Dv,cy:Dv,r:(Dv-h)/2,fill:"none",strokeWidth:h})))})),qv=Ay((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})(Mv),jv="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,Fv=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,o=void 0!==i&&i,s=e.onRendered,a=ye.exports.useState(null),l=a[0],u=a[1],c=qg(ye.exports.isValidElement(n)?n.ref:null,t);return jv((function(){o||u(function(e){return e="function"==typeof e?e():e,Ye.exports.findDOMNode(e)}(r)||document.body)}),[r,o]),jv((function(){if(l&&!o)return Ag(t,l),function(){Ag(t,null)}}),[t,l,o]),jv((function(){s&&(l||o)&&s()}),[s,l,o]),o?ye.exports.isValidElement(n)?ye.exports.cloneElement(n,{ref:c}):n:l?Ye.exports.createPortal(n,l):l}));function zv(){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 Bv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Hv(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Vv(e,t,n){var r=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(fv(arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])),o=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===o.indexOf(e.tagName)&&Bv(e,r)}))}function Wv(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}var Uv=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&&Bv(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 i=Wv(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Wv(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=function(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Pg(e);return t.body===e?Ng(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var s=zv();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(Hv(o)+s,"px"),n=Pg(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(Hv(e)+s,"px")}))}var a=o.parentElement,l="HTML"===a.nodeName&&"scroll"===window.getComputedStyle(a)["overflow-y"]?a:o;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[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=Wv(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&&Bv(e.modalRef,!0),Vv(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&Bv(i.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 $v(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,o=void 0!==i&&i,s=e.disableRestoreFocus,a=void 0!==s&&s,l=e.getDoc,u=e.isEnabled,c=e.open,d=ye.exports.useRef(),h=ye.exports.useRef(null),p=ye.exports.useRef(null),f=ye.exports.useRef(),m=ye.exports.useRef(null),y=ye.exports.useCallback((function(e){m.current=Ye.exports.findDOMNode(e)}),[]),g=qg(t.ref,y),v=ye.exports.useRef();return ye.exports.useEffect((function(){v.current=c}),[c]),!v.current&&c&&"undefined"!=typeof window&&(f.current=l().activeElement),ye.exports.useEffect((function(){if(c){var e=Pg(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()&&!o&&u()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!o&&u()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?p.current.focus():h.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var i=setInterval((function(){t()}),50);return function(){clearInterval(i),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),a||(f.current&&f.current.focus&&f.current.focus(),f.current=null)}}}),[r,o,a,u,c]),ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),ye.exports.cloneElement(t,{ref:g}),ye.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelEnd"}))}var Qv={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"}},Kv=ye.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,o=Sm(e,["invisible","open"]);return i?ye.exports.createElement("div",Cm({"aria-hidden":!0,ref:t},o,{style:Cm({},Qv.root,r?Qv.invisible:{},o.style)})):null})),Zv=new Uv,Gv=ye.exports.forwardRef((function(e,t){var n=Ff(),r=Ud({name:"MuiModal",props:Cm({},e),theme:n}),i=r.BackdropComponent,o=void 0===i?Kv:i,s=r.BackdropProps,a=r.children,l=r.closeAfterTransition,u=void 0!==l&&l,c=r.container,d=r.disableAutoFocus,h=void 0!==d&&d,p=r.disableBackdropClick,f=void 0!==p&&p,m=r.disableEnforceFocus,y=void 0!==m&&m,g=r.disableEscapeKeyDown,v=void 0!==g&&g,b=r.disablePortal,w=void 0!==b&&b,E=r.disableRestoreFocus,x=void 0!==E&&E,_=r.disableScrollLock,S=void 0!==_&&_,C=r.hideBackdrop,k=void 0!==C&&C,T=r.keepMounted,O=void 0!==T&&T,L=r.manager,I=void 0===L?Zv:L,R=r.onBackdropClick,P=r.onClose,N=r.onEscapeKeyDown,A=r.onRendered,D=r.open,M=Sm(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),q=ye.exports.useState(!0),j=q[0],F=q[1],z=ye.exports.useRef({}),B=ye.exports.useRef(null),H=ye.exports.useRef(null),V=qg(H,t),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),U=function(){return Pg(B.current)},$=function(){return z.current.modalRef=H.current,z.current.mountNode=B.current,z.current},Q=function(){I.mount($(),{disableScrollLock:S}),H.current.scrollTop=0},K=Mg((function(){var e=function(e){return e="function"==typeof e?e():e,Ye.exports.findDOMNode(e)}(c)||U().body;I.add($(),e),H.current&&Q()})),Z=ye.exports.useCallback((function(){return I.isTopModal($())}),[I]),G=Mg((function(e){B.current=e,e&&(A&&A(),D&&Z()?Q():Bv(H.current,!0))})),X=ye.exports.useCallback((function(){I.remove($())}),[I]);if(ye.exports.useEffect((function(){return function(){X()}}),[X]),ye.exports.useEffect((function(){D?K():W&&u||X()}),[D,X,W,u,K]),!O&&!D&&(!W||j))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:Ly}),Y={};return void 0===a.props.tabIndex&&(Y.tabIndex=a.props.tabIndex||"-1"),W&&(Y.onEnter=Ig((function(){F(!1)}),a.props.onEnter),Y.onExited=Ig((function(){F(!0),u&&X()}),a.props.onExited)),ye.exports.createElement(Fv,{ref:G,container:c,disablePortal:w},ye.exports.createElement("div",Cm({ref:V,onKeyDown:function(e){"Escape"===e.key&&Z()&&(N&&N(e),v||(e.stopPropagation(),P&&P(e,"escapeKeyDown")))},role:"presentation"},M,{style:Cm({},J.root,!D&&j?J.hidden:{},M.style)}),k?null:ye.exports.createElement(o,Cm({open:D,onClick:function(e){e.target===e.currentTarget&&(R&&R(e),!f&&P&&P(e,"backdropClick"))}},s)),ye.exports.createElement($v,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:x,getDoc:U,isEnabled:Z,open:D},ye.exports.cloneElement(a,Y))))})),Xv=ye.exports.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,i=e.classes,o=e.className,s=e.component,a=void 0===s?"hr":s,l=e.flexItem,u=void 0!==l&&l,c=e.light,d=void 0!==c&&c,h=e.orientation,p=void 0===h?"horizontal":h,f=e.role,m=void 0===f?"hr"!==a?"separator":void 0:f,y=e.variant,g=void 0===y?"fullWidth":y,v=Sm(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return ye.exports.createElement(a,Cm({className:nm(i.root,o,"fullWidth"!==g&&i[g],r&&i.absolute,u&&i.flexItem,d&&i.light,"vertical"===p&&i.vertical),role:m,ref:t},v))})),Jv=Ay((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:xm(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"})(Xv);function Yv(e,t){return parseInt(e[t],10)||0}var eb="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,tb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},nb=ye.exports.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,o=e.rowsMin,s=e.maxRows,a=e.minRows,l=void 0===a?1:a,u=e.style,c=e.value,d=Sm(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),h=s||i,p=r||o||l,f=ye.exports.useRef(null!=c).current,m=ye.exports.useRef(null),y=qg(t,m),g=ye.exports.useRef(null),v=ye.exports.useRef(0),b=ye.exports.useState({}),w=b[0],E=b[1],x=ye.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=g.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=Yv(n,"padding-bottom")+Yv(n,"padding-top"),s=Yv(n,"border-bottom-width")+Yv(n,"border-top-width"),a=r.scrollHeight-o;r.value="x";var l=r.scrollHeight-o,u=a;p&&(u=Math.max(Number(p)*l,u)),h&&(u=Math.min(Number(h)*l,u));var c=(u=Math.max(u,l))+("border-box"===i?o+s:0),d=Math.abs(u-a)<=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}))}),[h,p,e.placeholder]);return ye.exports.useEffect((function(){var e=Rg((function(){v.current=0,x()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[x]),eb((function(){x()})),ye.exports.useEffect((function(){v.current=0}),[c]),ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("textarea",Cm({value:c,onChange:function(e){v.current=0,f||x(),n&&n(e)},ref:y,rows:p,style:Cm({height:w.outerHeightStyle,overflow:w.overflow?"hidden":null},u)},d)),ye.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:Cm({},tb,u)}))}));function rb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var ib="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,ob=ye.exports.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,o=e.classes,s=e.className,a=e.defaultValue,l=e.disabled,u=e.endAdornment,c=e.fullWidth,d=void 0!==c&&c,h=e.id,p=e.inputComponent,f=void 0===p?"input":p,m=e.inputProps,y=void 0===m?{}:m,g=e.inputRef,v=e.multiline,b=void 0!==v&&v,w=e.name,E=e.onBlur,x=e.onChange,_=e.onClick,S=e.onFocus,C=e.onKeyDown,k=e.onKeyUp,T=e.placeholder,O=e.readOnly,L=e.renderSuffix,I=e.rows,R=e.rowsMax,P=e.rowsMin,N=e.maxRows,A=e.minRows,D=e.startAdornment,M=e.type,q=void 0===M?"text":M,j=e.value,F=Sm(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"]),z=null!=y.value?y.value:j,B=ye.exports.useRef(null!=z).current,H=ye.exports.useRef(),V=ye.exports.useCallback((function(e){}),[]),W=qg(y.ref,V),U=qg(g,W),$=qg(H,U),Q=ye.exports.useState(!1),K=Q[0],Z=Q[1],G=Nv(),X=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:G,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});X.focused=G?G.focused:K,ye.exports.useEffect((function(){!G&&l&&K&&(Z(!1),E&&E())}),[G,l,K,E]);var J=G&&G.onFilled,Y=G&&G.onEmpty,ee=ye.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(rb(e.value)&&""!==e.value||t&&rb(e.defaultValue)&&""!==e.defaultValue)}(e)?Y&&Y():J&&J()}),[J,Y]);ib((function(){B&&ee({value:z})}),[z,ee,B]),ye.exports.useEffect((function(){ee(H.current)}),[]);var te=f,ne=Cm({},y,{ref:$});return"string"!=typeof te?ne=Cm({inputRef:$,type:q},ne,{ref:null}):b?!I||N||A||R||P?(ne=Cm({minRows:I||A,rowsMax:R,maxRows:N},ne),te=nb):te="textarea":ne=Cm({type:q},ne),ye.exports.useEffect((function(){G&&G.setAdornedStart(Boolean(D))}),[G,D]),ye.exports.createElement("div",Cm({className:nm(o.root,o["color".concat(Lg(X.color||"primary"))],s,X.disabled&&o.disabled,X.error&&o.error,d&&o.fullWidth,X.focused&&o.focused,G&&o.formControl,b&&o.multiline,D&&o.adornedStart,u&&o.adornedEnd,"dense"===X.margin&&o.marginDense),onClick:function(e){H.current&&e.currentTarget===e.target&&H.current.focus(),_&&_(e)},ref:t},F),D,ye.exports.createElement(Av.Provider,{value:null},ye.exports.createElement(te,Cm({"aria-invalid":X.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:a,disabled:X.disabled,id:h,onAnimationStart:function(e){ee("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:w,placeholder:T,readOnly:O,required:X.required,rows:I,value:z,onKeyDown:C,onKeyUp:k},ne,{className:nm(o.input,y.className,X.disabled&&o.disabled,b&&o.inputMultiline,X.hiddenLabel&&o.inputHiddenLabel,D&&o.inputAdornedStart,u&&o.inputAdornedEnd,"search"===q&&o.inputTypeSearch,"dense"===X.margin&&o.inputMarginDense),onBlur:function(e){E&&E(e),y.onBlur&&y.onBlur(e),G&&G.onBlur?G.onBlur(e):Z(!1)},onChange:function(e){if(!B){var t=e.target||H.current;if(null==t)throw new Error(cd(1));ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];y.onChange&&y.onChange.apply(y,[e].concat(r)),x&&x.apply(void 0,[e].concat(r))},onFocus:function(e){X.disabled?e.stopPropagation():(S&&S(e),y.onFocus&&y.onFocus(e),G&&G.onFocus?G.onFocus(e):Z(!0))}}))),u,L?L(Cm({},X,{startAdornment:D})):null)})),sb=Ay((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"},i={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Cm({},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":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$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"})(ob),ab=[0,1,2,3,4,5,6,7,8,9,10],lb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function ub(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 cb=ye.exports.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,o=void 0===i?"stretch":i,s=e.classes,a=e.className,l=e.component,u=void 0===l?"div":l,c=e.container,d=void 0!==c&&c,h=e.direction,p=void 0===h?"row":h,f=e.item,m=void 0!==f&&f,y=e.justify,g=e.justifyContent,v=void 0===g?"flex-start":g,b=e.lg,w=void 0!==b&&b,E=e.md,x=void 0!==E&&E,_=e.sm,S=void 0!==_&&_,C=e.spacing,k=void 0===C?0:C,T=e.wrap,O=void 0===T?"wrap":T,L=e.xl,I=void 0!==L&&L,R=e.xs,P=void 0!==R&&R,N=e.zeroMinWidth,A=void 0!==N&&N,D=Sm(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),M=nm(s.root,a,d&&[s.container,0!==k&&s["spacing-xs-".concat(String(k))]],m&&s.item,A&&s.zeroMinWidth,"row"!==p&&s["direction-xs-".concat(String(p))],"wrap"!==O&&s["wrap-xs-".concat(String(O))],"stretch"!==o&&s["align-items-xs-".concat(String(o))],"stretch"!==r&&s["align-content-xs-".concat(String(r))],"flex-start"!==(y||v)&&s["justify-content-xs-".concat(String(y||v))],!1!==P&&s["grid-xs-".concat(String(P))],!1!==S&&s["grid-sm-".concat(String(S))],!1!==x&&s["grid-md-".concat(String(x))],!1!==w&&s["grid-lg-".concat(String(w))],!1!==I&&s["grid-xl-".concat(String(I))]);return ye.exports.createElement(u,Cm({className:M,ref:t},D))})),db=Ay((function(e){return Cm({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 ab.forEach((function(t){var r=e.spacing(t);0!==r&&(n["spacing-".concat("xs","-").concat(t)]={margin:"-".concat(ub(r,2)),width:"calc(100% + ".concat(ub(r),")"),"& > $item":{padding:ub(r,2)}})})),n}(e),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};lb.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var i="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Cm(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(cb);function hb(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var pb={entering:{opacity:1,transform:hb(1)},entered:{opacity:1,transform:"none"}},fb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,i=void 0!==r&&r,o=e.in,s=e.onEnter,a=e.onEntered,l=e.onEntering,u=e.onExit,c=e.onExited,d=e.onExiting,h=e.style,p=e.timeout,f=void 0===p?"auto":p,m=e.TransitionComponent,y=void 0===m?iv:m,g=Sm(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=ye.exports.useRef(),b=ye.exports.useRef(),w=Ny(),E=w.unstable_strictMode&&!i,x=ye.exports.useRef(null),_=qg(n.ref,t),S=qg(E?x:void 0,_),C=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,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(E?[x.current,t]:[t,n]),i=r[0],o=r[1];void 0===o?e(i):e(i,o)}}},k=C(l),T=C((function(e,t){var n,r=dv({style:h,timeout:f},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===f?(n=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=i,e.style.transition=[w.transitions.create("opacity",{duration:n,delay:o}),w.transitions.create("transform",{duration:.666*n,delay:o})].join(","),s&&s(e,t)})),O=C(a),L=C(d),I=C((function(e){var t,n=dv({style:h,timeout:f},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===f?(t=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[w.transitions.create("opacity",{duration:t,delay:i}),w.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=hb(.75),u&&u(e)})),R=C(c);return ye.exports.useEffect((function(){return function(){clearTimeout(v.current)}}),[]),ye.exports.createElement(y,Cm({appear:!0,in:o,nodeRef:E?x:void 0,onEnter:T,onEntered:O,onEntering:k,onExit:I,onExited:R,onExiting:L,addEndListener:function(e,t){"auto"===f&&(v.current=setTimeout(E?e:t,b.current||0))},timeout:"auto"===f?null:f},g),(function(e,t){return ye.exports.cloneElement(n,Cm({style:Cm({opacity:0,transform:hb(.75),visibility:"exited"!==e||o?void 0:"hidden"},pb[e],h,n.props.style),ref:S},t))}))}));fb.muiSupportAuto=!0;var mb=fb,yb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"inherit":i,s=e.component,a=void 0===s?"span":s,l=e.fontSize,u=void 0===l?"medium":l,c=Sm(e,["classes","className","color","component","fontSize"]);return ye.exports.createElement(a,Cm({className:nm("material-icons",n.root,r,"inherit"!==o&&n["color".concat(Lg(o))],"default"!==u&&"medium"!==u&&n["fontSize".concat(Lg(u))]),"aria-hidden":!0,ref:t},c))}));yb.muiName="Icon";var gb=Ay((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"})(yb),vb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,s=void 0===o?"div":o,a=e.disablePointerEvents,l=void 0!==a&&a,u=e.disableTypography,c=void 0!==u&&u,d=e.position,h=e.variant,p=Sm(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),f=Nv()||{},m=h;return f&&!m&&(m=f.variant),ye.exports.createElement(Av.Provider,{value:null},ye.exports.createElement(s,Cm({className:nm(r.root,i,"end"===d?r.positionEnd:r.positionStart,l&&r.disablePointerEvents,f.hiddenLabel&&r.hiddenLabel,"filled"===m&&r.filled,"dense"===f.margin&&r.marginDense),ref:t},p),"string"!=typeof n||c?n:ye.exports.createElement(Lv,{color:"textSecondary"},n)))})),bb=Ay({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"})(vb),wb=ye.exports.createContext({}),Eb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,s=void 0===o?"ul":o,a=e.dense,l=void 0!==a&&a,u=e.disablePadding,c=void 0!==u&&u,d=e.subheader,h=Sm(e,["children","classes","className","component","dense","disablePadding","subheader"]),p=ye.exports.useMemo((function(){return{dense:l}}),[l]);return ye.exports.createElement(wb.Provider,{value:p},ye.exports.createElement(s,Cm({className:nm(r.root,i,l&&r.dense,!c&&r.padding,d&&r.subheader),ref:t},h),d,n))})),xb=Ay({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Eb),_b="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Sb=ye.exports.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,o=void 0!==i&&i,s=e.button,a=void 0!==s&&s,l=e.children,u=e.classes,c=e.className,d=e.component,h=e.ContainerComponent,p=void 0===h?"li":h,f=e.ContainerProps,m=(f=void 0===f?{}:f).className,y=Sm(f,["className"]),g=e.dense,v=void 0!==g&&g,b=e.disabled,w=void 0!==b&&b,E=e.disableGutters,x=void 0!==E&&E,_=e.divider,S=void 0!==_&&_,C=e.focusVisibleClassName,k=e.selected,T=void 0!==k&&k,O=Sm(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),L=ye.exports.useContext(wb),I={dense:v||L.dense||!1,alignItems:r},R=ye.exports.useRef(null);_b((function(){o&&R.current&&R.current.focus()}),[o]);var P,N,A=ye.exports.Children.toArray(l),D=A.length&&(N=["ListItemSecondaryAction"],ye.exports.isValidElement(P=A[A.length-1])&&-1!==N.indexOf(P.type.muiName)),M=qg(ye.exports.useCallback((function(e){R.current=Ye.exports.findDOMNode(e)}),[]),t),q=Cm({className:nm(u.root,c,I.dense&&u.dense,!x&&u.gutters,S&&u.divider,w&&u.disabled,a&&u.button,"center"!==r&&u.alignItemsFlexStart,D&&u.secondaryAction,T&&u.selected),disabled:w},O),j=d||"li";return a&&(q.component=d||"div",q.focusVisibleClassName=nm(u.focusVisible,C),j=wv),D?(j=q.component||d?j:"div","li"===p&&("li"===j?j="div":"li"===q.component&&(q.component="div")),ye.exports.createElement(wb.Provider,{value:I},ye.exports.createElement(p,Cm({className:nm(u.container,m),ref:M},y),ye.exports.createElement(j,q,A),A.pop()))):ye.exports.createElement(wb.Provider,{value:I},ye.exports.createElement(j,Cm({ref:M},q),A))})),Cb=Ay((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"})(Sb),kb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=Sm(e,["classes","className"]),o=ye.exports.useContext(wb);return ye.exports.createElement("div",Cm({className:nm(n.root,r,"flex-start"===o.alignItems&&n.alignItemsFlexStart),ref:t},i))})),Tb=Ay((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(kb);function Ob(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Lb(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ib(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Rb(e){return"function"==typeof e?e():e}var Pb=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,o=void 0===i?{vertical:"top",horizontal:"left"}:i,s=e.anchorPosition,a=e.anchorReference,l=void 0===a?"anchorEl":a,u=e.children,c=e.classes,d=e.className,h=e.container,p=e.elevation,f=void 0===p?8:p,m=e.getContentAnchorEl,y=e.marginThreshold,g=void 0===y?16:y,v=e.onEnter,b=e.onEntered,w=e.onEntering,E=e.onExit,x=e.onExited,_=e.onExiting,S=e.open,C=e.PaperProps,k=void 0===C?{}:C,T=e.transformOrigin,O=void 0===T?{vertical:"top",horizontal:"left"}:T,L=e.TransitionComponent,I=void 0===L?mb:L,R=e.transitionDuration,P=void 0===R?"auto":R,N=e.TransitionProps,A=void 0===N?{}:N,D=Sm(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"]),M=ye.exports.useRef(),q=ye.exports.useCallback((function(e){if("anchorPosition"===l)return s;var t=Rb(r),n=(t&&1===t.nodeType?t:Pg(M.current).body).getBoundingClientRect();return{top:n.top+Ob(n,0===e?o.vertical:"center"),left:n.left+Lb(n,o.horizontal)}}),[r,o.horizontal,o.vertical,s,l]),j=ye.exports.useCallback((function(e){var t=0;if(m&&"anchorEl"===l){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}),[o.vertical,l,m]),F=ye.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Ob(e,O.vertical)+t,horizontal:Lb(e,O.horizontal)}}),[O.horizontal,O.vertical]),z=ye.exports.useCallback((function(e){var t=j(e),n={width:e.offsetWidth,height:e.offsetHeight},i=F(n,t);if("none"===l)return{top:null,left:null,transformOrigin:Ib(i)};var o=q(t),s=o.top-i.vertical,a=o.left-i.horizontal,u=s+n.height,c=a+n.width,d=Ng(Rb(r)),h=d.innerHeight-g,p=d.innerWidth-g;if(s<g){var f=s-g;s-=f,i.vertical+=f}else if(u>h){var m=u-h;s-=m,i.vertical+=m}if(a<g){var y=a-g;a-=y,i.horizontal+=y}else if(c>p){var v=c-p;a-=v,i.horizontal+=v}return{top:"".concat(Math.round(s),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:Ib(i)}}),[r,l,q,j,F,g]),B=ye.exports.useCallback((function(){var e=M.current;if(e){var t=z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[z]),H=ye.exports.useCallback((function(e){M.current=Ye.exports.findDOMNode(e)}),[]);ye.exports.useEffect((function(){S&&B()})),ye.exports.useImperativeHandle(n,(function(){return S?{updatePosition:function(){B()}}:null}),[S,B]),ye.exports.useEffect((function(){if(S){var e=Rg((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[S,B]);var V=P;"auto"!==P||I.muiSupportAuto||(V=void 0);var W=h||(r?Pg(Rb(r)).body:void 0);return ye.exports.createElement(Gv,Cm({container:W,open:S,ref:t,BackdropProps:{invisible:!0},className:nm(c.root,d)},D),ye.exports.createElement(I,Cm({appear:!0,in:S,onEnter:v,onEntered:b,onExit:E,onExited:x,onExiting:_,timeout:V},A,{onEntering:Ig((function(e,t){w&&w(e,t),B()}),A.onEntering)}),ye.exports.createElement(pv,Cm({elevation:f,ref:H},k,{className:nm(c.paper,k.className)}),u)))})),Nb=Ay({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Pb);function Ab(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Db(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Mb(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 qb(e,t,n,r,i,o){for(var s=!1,a=i(e,t,!!t&&n);a;){if(a===e.firstChild){if(s)return;s=!0}var l=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&Mb(a,o)&&!l)return void a.focus();a=i(e,a,n)}}var jb="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Fb=ye.exports.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,o=e.autoFocusItem,s=void 0!==o&&o,a=e.children,l=e.className,u=e.disabledItemsFocusable,c=void 0!==u&&u,d=e.disableListWrap,h=void 0!==d&&d,p=e.onKeyDown,f=e.variant,m=void 0===f?"selectedMenu":f,y=Sm(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),g=ye.exports.useRef(null),v=ye.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});jb((function(){i&&g.current.focus()}),[i]),ye.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){if(e.clientHeight<g.current.clientHeight&&!g.current.style.width){var n="".concat(zv(),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,g.current.style.width="calc(100% + ".concat(n,")")}return g.current}}}),[]);var b=qg(ye.exports.useCallback((function(e){g.current=Ye.exports.findDOMNode(e)}),[]),t),w=-1;ye.exports.Children.forEach(a,(function(e,t){ye.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===w)&&(w=t))}));var E=ye.exports.Children.map(a,(function(e,t){if(t===w){var n={};return s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),ye.exports.cloneElement(e,n)}return e}));return ye.exports.createElement(xb,Cm({role:"menu",ref:b,className:l,onKeyDown:function(e){var t=g.current,n=e.key,r=Pg(t).activeElement;if("ArrowDown"===n)e.preventDefault(),qb(t,r,h,c,Ab);else if("ArrowUp"===n)e.preventDefault(),qb(t,r,h,c,Db);else if("Home"===n)e.preventDefault(),qb(t,null,h,c,Ab);else if("End"===n)e.preventDefault(),qb(t,null,h,c,Db);else if(1===n.length){var i=v.current,o=n.toLowerCase(),s=performance.now();i.keys.length>0&&(s-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=s,i.keys.push(o);var a=r&&!i.repeating&&Mb(r,i);i.previousKeyMatched&&(a||qb(t,r,!1,c,Ab,i))?e.preventDefault():i.previousKeyMatched=!1}p&&p(e)},tabIndex:i?0:-1},y),E)})),zb=ye.exports.forwardRef((function(e,t){var n,r=e.classes,i=e.className,o=e.component,s=void 0===o?"li":o,a=e.disableGutters,l=void 0!==a&&a,u=e.ListItemClasses,c=e.role,d=void 0===c?"menuitem":c,h=e.selected,p=e.tabIndex,f=Sm(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),ye.exports.createElement(Cb,Cm({button:!0,role:d,tabIndex:n,component:s,selected:h,disableGutters:l,classes:Cm({dense:r.dense},u),className:nm(r.root,i,h&&r.selected,!l&&r.gutters),ref:t},f))})),Bb=Ay((function(e){return{root:Cm({},e.typography.body1,_m({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Cm({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(zb),Hb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.label,o=e.labelWidth,s=e.notched,a=e.style,l=Sm(e,["children","classes","className","label","labelWidth","notched","style"]),u="rtl"===Ny().direction?"right":"left";if(void 0!==i)return ye.exports.createElement("fieldset",Cm({"aria-hidden":!0,className:nm(n.root,r),ref:t,style:a},l),ye.exports.createElement("legend",{className:nm(n.legendLabelled,s&&n.legendNotched)},i?ye.exports.createElement("span",null,i):ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=o>0?.75*o+8:.01;return ye.exports.createElement("fieldset",Cm({"aria-hidden":!0,style:Cm(_m({},"padding".concat(Lg(u)),8),a),className:nm(n.root,r),ref:t},l),ye.exports.createElement("legend",{className:n.legend,style:{width:s?c:.01}},ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),Vb=Ay((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"})(Hb),Wb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,o=e.inputComponent,s=void 0===o?"input":o,a=e.label,l=e.labelWidth,u=void 0===l?0:l,c=e.multiline,d=void 0!==c&&c,h=e.notched,p=e.type,f=void 0===p?"text":p,m=Sm(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return ye.exports.createElement(sb,Cm({renderSuffix:function(e){return ye.exports.createElement(Vb,{className:n.notchedOutline,label:a,labelWidth:u,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Cm({},n,{root:nm(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:s,multiline:d,ref:t,type:f},m))}));Wb.muiName="Input";var Ub=Ay((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"})(Wb);function $b(){const[e,t]=ye.exports.useState(),[n,r]=ye.exports.useState(),i=ye.exports.useCallback(e=>{e&&t(e)},[]),o=()=>{const{left:t,top:n,width:i,height:o}=e.getBoundingClientRect();r({left:t,top:n,width:i,height:o})};return ye.exports.useLayoutEffect(()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(o);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}}},[e]),[i,n,e]}function Qb(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Kb(e){let{size:t,style:r={},viewBox:o="0 0 16 16",shapes:s=[]}=e;const a=n({fontSize:Qb(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},r);return Je.createElement("i",{style:a},Je.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:o,fill:"currentColor"},s.map((e,t)=>{let{type:n,attrs:r}=e;return Je.createElement(n,i({key:t},r))})))}var Zb=e=>Kb((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)),Gb=e=>Kb((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)),Xb=e=>Kb((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 Jb(){return(Jb=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 Yb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ew(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 tw(e,t){var n;void 0===t&&(t=ew);var r,i=[],o=!1;return function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}}var nw="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function rw(e){cancelAnimationFrame(e.id)}var iw=null;function ow(e){if(void 0===e&&(e=!1),null===iw||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"),i=r.style;return i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?iw="positive-descending":(t.scrollLeft=1,iw=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),iw}return iw}var sw=function(e,t){return e},aw=function(e){var t,n,r=e.getItemOffset,i=e.getEstimatedTotalSize,o=e.getItemSize,s=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=t=function(e){var t,n;function h(t){var n;return(n=e.call(this,t)||this)._instanceProps=u(n.props,Yb(Yb(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Yb(Yb(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=tw((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=tw((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,s=i.direction,a=i.layout,l=n._getItemStyleCache(c&&i.itemSize,c&&a,c&&s);if(l.hasOwnProperty(e))t=l[e];else{var u=r(n.props,e,n._instanceProps),d=o(n.props,e,n._instanceProps),h="horizontal"===s||"horizontal"===a,p="rtl"===s,f=h?u:0;l[e]=t={position:"absolute",left:p?void 0:f,right:p?f:void 0,top:h?0:u,height:h?"100%":d,width:h?d:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=tw((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,o=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=i;if("rtl"===n.props.direction)switch(ow()){case"negative":t=-i;break;case"positive-descending":t=o-r-i}return t=Math.max(0,Math.min(t,o-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,o=t.scrollTop;n.setState((function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,i-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&&rw(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=nw(),r={id:requestAnimationFrame((function n(){nw()-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=h).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,h.getDerivedStateFromProps=function(e,t){return d(e),null};var p=h.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.state.scrollOffset;e=Math.max(0,Math.min(e,this.props.itemCount-1)),this.scrollTo(s(this.props,e,t,n,this._instanceProps))},p.componentDidMount=function(){var e=this.props,t=e.initialScrollOffset;if("number"==typeof t&&null!=this._outerRef){var n=this._outerRef;"horizontal"===e.direction||"horizontal"===e.layout?n.scrollLeft=t:n.scrollTop=t}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=this.state,r=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===e.layout)if("rtl"===t)switch(ow()){case"negative":i.scrollLeft=-r;break;case"positive-ascending":i.scrollLeft=r;break;default:i.scrollLeft=i.scrollWidth-i.clientWidth-r}else i.scrollLeft=r;else i.scrollTop=r}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&rw(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,o=e.height,s=e.innerRef,a=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,h=void 0===d?sw:d,p=e.outerElementType,f=e.outerTagName,m=e.style,y=e.useIsScrolling,g=e.width,v=this.state.isScrolling,b="horizontal"===r||"horizontal"===e.layout,w=b?this._onScrollHorizontal:this._onScrollVertical,E=this._getRangeToRender(),x=E[1],_=[];if(u>0)for(var S=E[0];S<=x;S++)_.push(ye.exports.createElement(t,{data:c,key:h(S,c),index:S,isScrolling:y?v:void 0,style:this._getItemStyle(S)}));var C=i(this.props,this._instanceProps);return ye.exports.createElement(p||f||"div",{className:n,onScroll:w,ref:this._outerRefSetter,style:Jb({position:"relative",height:o,width:g,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},m)},ye.exports.createElement(a||l||"div",{children:_,ref:s,style:{height:b?"100%":C,pointerEvents:v?"none":void 0,width:b?C:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender();this._callOnItemsRendered(e[0],e[1],e[2],e[3])}if("function"==typeof this.props.onScroll){var t=this.state;this._callOnScroll(t.scrollDirection,t.scrollOffset,t.scrollUpdateWasRequested)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,s,this._instanceProps),c=l(this.props,u,s,this._instanceProps),d=i&&"backward"!==o?1:Math.max(1,n),h=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+h)),u,c]},h}(ye.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){return e.itemSize*e.itemCount},getOffsetForIndexAndAlignment:function(e,t,n,r){var i=e.itemSize,o="horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height,s=Math.max(0,e.itemCount*i-o),a=Math.min(s,t*i),l=Math.max(0,t*i-o+i);switch("smart"===n&&(n=r>=l-o&&r<=a+o?"auto":"center"),n){case"start":return a;case"end":return l;case"center":var u=Math.round(l+(a-l)/2);return u<Math.ceil(o/2)?0:u>s+Math.floor(o/2)?s:u;case"auto":default:return r>=l&&r<=a?r:r<l?l:a}},getStartIndexForOffset:function(e,t){return Math.max(0,Math.min(e.itemCount-1,Math.floor(t/e.itemSize)))},getStopIndexForStartIndex:function(e,t,n){var r=e.itemCount,i=e.itemSize,o=Math.ceil((("horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height)+n-t*i)/i);return Math.max(0,Math.min(r-1,t+o-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){}}),lw=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},uw=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}}(),cw=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},dw=function(e){function t(){var e,n,r;lw(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=cw(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),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},cw(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),uw(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.itemCount,i=n.minimumBatchSize,o=n.threshold,s=void 0===o?15:o,a=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,i=e.stopIndex,o=[],s=null,a=null,l=e.startIndex;l<=i;l++)t(l)?null!==a&&(o.push(s,a),s=a=null):(a=l,null===s&&(s=l));if(null!==a){for(var u=Math.min(Math.max(a,s+r-1),n-1),c=a+1;c<=u&&!t(c);c++)a=c;o.push(s,a)}if(o.length)for(;o[1]-o[0]+1<r&&o[0]>0;){var d=o[0]-1;if(t(d))break;o[0]=d}return o}({isItemLoaded:n.isItemLoaded,itemCount:r,minimumBatchSize:void 0===i?10:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(r-1,t+s)});(this._memoizedUnloadedRanges.length!==a.length||this._memoizedUnloadedRanges.some((function(e,t){return a[t]!==e})))&&(this._memoizedUnloadedRanges=a,this._loadUnloadedRanges(a))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var i=e[r],o=e[r+1],s=n(i,o);null!=s&&s.then((function(){if(function(e){return!(e.startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:i,stopIndex:o})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(i,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},i=0;i<e.length;i+=2)r(i)}}]),t}(ye.exports.PureComponent);const hw=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 pw=e=>Kb(hw(e));const fw=em(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 mw(e){let{index:t,style:n,data:r}=e;const i=fw(),o=[i.row];let s="";const{onClick:a,pages:l}=r;let u;if(l){const e=l.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&&(s=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?o.push(i.S):"A"===u.qState?o.push(i.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||o.push(i.X));const h=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort((e,t)=>e.qCharPos-t.qCharPos)||[],p=h.reduce((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);const r=h[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===h.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e},[]);return Je.createElement(db,{container:!0,spacing:0,className:o.join(" ").trim(),style:n,onClick:a,role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Je.createElement(db,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(s)},0===h.length?Je.createElement(Lv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):p.map((e,t)=>{let[n,r]=e;return Je.createElement(Lv,{component:"span",key:t,className:r,noWrap:!0},n)})),Je.createElement(db,{item:!0,className:i.icon},c&&Je.createElement(Gb,{size:"small"}),d&&Je.createElement(pw,{size:"small"})))}const yw=em(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 gw(e){let{index:t,style:n,data:r}=e;const i=yw(),o=[i.column];let s="";const{onClick:a,pages:l}=r;let u;if(l){const e=l.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&&(s=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?o.push(i.S):"A"===u.qState?o.push(i.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||o.push(i.X));const h=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort((e,t)=>e.qCharPos-t.qCharPos)||[],p=h.reduce((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);const r=h[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===h.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e},[]);return Je.createElement(db,{container:!0,spacing:0,className:o.join(" ").trim(),style:n,onClick:a,alignItems:"center",role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Je.createElement(db,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(s)},0===h.length?Je.createElement(Lv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):p.map((e,t)=>{let[n,r]=e;return Je.createElement(Lv,{component:"span",key:t,className:r,noWrap:!0},n)})),Je.createElement(db,{item:!0,className:i.icon},c&&Je.createElement(Gb,{size:"small"}),d&&Je.createElement(pw,{size:"small"})))}function vw(e){let{model:t,selections:n,direction:r,height:i,width:o,listLayout:s="vertical"}=e;const[a]=dg(t),[l,u]=ye.exports.useState(null),c=ye.exports.useRef(null),d=ye.exports.useRef({queue:[],validPages:!1}),h=ye.exports.useRef({pages:[]}),p=ye.exports.useCallback(e=>{if(a&&a.qListObject.qDimensionInfo.qLocked)return;const t=+e.currentTarget.getAttribute("data-n");Number.isNaN(t)||n.select({method:"selectListObjectValues",params:["/qListObjectDef",[t],!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne]})},[t,a&&!!a.qListObject.qDimensionInfo.qLocked,a&&!!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne]),f=ye.exports.useCallback(e=>{if(!l||!d.current.validPages)return!1;d.current.checkIdx=e;const t=l.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},[a,l]),m=ye.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,h.current.pages=t,u(t),e()})},r?500:0)})},[a]);if(ye.exports.useEffect(()=>{if(d.current.queue=[],d.current.validPages=!1,c.current){if(c.current.resetloadMoreItemsCache(!0),a&&a.qSelectionInfo.qInSelections)return;c.current._listRef.scrollToItem(0)}},[a]),!a)return null;const y="horizontal"!==s,g=a.qListObject.qSize.qcy,v=y?33:200,b=i||8*v;return Je.createElement(dw,{isItemLoaded:f,itemCount:g,loadMoreItems:m,threshold:0,minimumBatchSize:100,ref:c},e=>{let{onItemsRendered:t,ref:n}=e;return d.current.listRef=n,Je.createElement(aw,{direction:r,useIsScrolling:!0,style:{},height:b,width:o,itemCount:g,layout:s,itemData:{onClick:p,pages:l},itemSize:v,onItemsRendered:t,ref:n},y?mw:gw)})}const bw=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"}}]}),ww=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"}}]}),Ew=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"}}]}),xw=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 _w=e=>{let{layout:t,model:n,translator:r}=e;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:bw,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:Ew,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:ww,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:xw,enabled:()=>["qAlternative","qExcluded"].some(e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const Sw=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 Cw(e){const t=Ff(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:"function"==typeof e.getSvgIconShape}}const kw=Je.forwardRef((e,t)=>{let{item:n,addAnchor:r=!1}=e;const i=Ff(),{hidden:o,disabled:s,style:a,hasSvgIconShape:l}=Cw(n);if(o)return null;const u=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Je.createElement(xv,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:u,disabled:s,style:a,className:"njs-cell-action"},l&&Kb(n.getSvgIconShape()),r&&Je.createElement("div",{ref:t,style:{bottom:-i.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))}),Tw=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"}}]}),Ow=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 Lw=e=>Kb(Ow(e));const Iw=Py(e=>({icon:{color:e.palette.text.primary}})),Rw=e=>{let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:i,hasSvgIconShape:o}=Cw(t),{icon:s}=Iw();return r?null:Je.createElement(Bb,{title:t.label,onClick:()=>{t.action(),n()},disabled:i},o&&Je.createElement(Tb,{className:s},Kb(t.getSvgIconShape())),Je.createElement(Lv,{noWrap:!0},t.label))},Pw=Je.forwardRef((e,t)=>{let{actions:r=[],show:o=!0,alignTo:s,popoverProps:a={},popoverPaperStyle:l={},onCloseOrActionClick:u=(()=>{})}=e;return r.length>0&&Je.createElement(Nb,i({},a,{onClose:u,ref:t,open:o,anchorEl:s.current,getContentAnchorEl:null,container:s.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"},l)}}),Je.createElement(Fb,null,r.map((e,t)=>Je.createElement(Rw,{key:t,item:e,onActionClick:u}))))}),Nw=Py(e=>({itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}})),Aw=Je.forwardRef((e,t)=>{let{actions:n=[],first:r=!1,last:i=!1,addAnchor:o=!1}=e;const{itemSpacing:s,firstItemSpacing:a,lastItemSpacing:l}=Nw();return n.length>0?Je.createElement(db,{item:!0,container:!0,spacing:0,wrap:"nowrap"},n.map((e,u)=>{let c=[];const d=r&&0===u,h=i&&n.length-1===u;return d&&!h&&(c=[a]),h&&!d&&(c=[...c,l]),d||h||0!==c.length||(c=[s]),Je.createElement(db,{item:!0,key:e.key,className:c.join(" ").trim()},Je.createElement(kw,{key:e.key,item:e,ref:0===u?t:null,addAnchor:o}))})):null}),Dw={pointerEvents:"none"},Mw={vertical:"top",horizontal:"right"},qw={vertical:"bottom",horizontal:"right"},jw=e=>{let{show:t=!0,actions:n=[],maxItems:r=3,selections:i={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:o={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:s={show:!1,anchorEl:null},focusHandler:a=null,actionsRefMock:l=null}=e;const u=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:i=(()=>{})}=e;const{translator:o}=ye.exports.useContext(Qy);return[{key:"clear",type:"icon-button",label:o.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:Ow},{key:"cancel",type:"icon-button",label:o.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{i(e),r(),t.cancel()},getSvgIconShape:Tw},{key:"confirm",type:"icon-button",label:o.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{i(e),n(),t.confirm()},getSvgIconShape:hw}]}(i),{itemSpacing:c}=Nw(),{translator:d,keyboardNavigation:h}=ye.exports.useContext(Qy),[p,f]=ye.exports.useState(!1),[m,y]=ye.exports.useState(o.enabled),[g,v]=ye.exports.useState(o.actions),[b,w]=ye.exports.useState(o.alignTo),E=ye.exports.useRef(),x=ye.exports.useRef(),_=Ff(),S=ye.exports.useMemo(()=>({margin:_.spacing(.5,0)})),C=e=>{const t=x.current||l;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};ye.exports.useEffect(()=>()=>f(!1),[s.show]),ye.exports.useEffect(()=>{y(o.enabled)},[o.enabled]),ye.exports.useEffect(()=>{a&&(a.on("focus_toolbar_first",()=>{const e=C(!1);e&&e.focus()}),a.on("focus_toolbar_last",()=>{const e=C(!0);e&&e.focus()}))},[]);const k=ye.exports.useMemo(()=>n.filter(e=>!e.hidden),[n]);if(!i.show&&0===k.length)return null;const T={key:"more",label:d.get("Menu.More"),getSvgIconShape:Sw,hidden:!1,enabled:()=>m,action:()=>f(!p)};if(k.length>r){const e=k.splice(-(k.length-r)-1);y(!0),v([...e,...o.actions]),w(E)}const O=k.length>0,L=g.length>0,I=O&&i.show||L&&i.show,R=Je.createElement(db,{ref:x,onKeyDown:h&&a&&a.refocusContent?e=>{"Tab"===e.key&&(e.shiftKey&&C(!1)===e.target||!e.shiftKey&&C(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),a.refocusContent())}:null,container:!0,spacing:0,wrap:"nowrap"},O&&Je.createElement(Aw,{actions:k,first:!0,last:!L&&!i.show}),L&&Je.createElement(Aw,{ref:E,actions:[T],first:!O,last:!i.show,addAnchor:!0}),I&&Je.createElement(db,{item:!0,className:c,style:S},Je.createElement(Jv,{orientation:"vertical"})),i.show&&Je.createElement(Aw,{actions:u,first:!O&&!L,last:!0}),p&&Je.createElement(Pw,{show:p,actions:g,alignTo:b,popoverProps:o.popoverProps,popoverPaperStyle:o.popoverPaperStyle,onCloseOrActionClick:()=>{f(!1)}}));return s.show?Je.createElement(Nb,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:s.show,anchorEl:s.anchorEl,anchorOrigin:Mw,transformOrigin:qw,hideBackdrop:!0,style:Dw,PaperProps:{className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:_.spacing(1,1)}}},R):t&&R};var Fw=e=>Kb((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 zw=em(e=>({root:{"& fieldset":{borderRadius:0,borderColor:"".concat(e.palette.divider," transparent")}}})),Bw="/qListObjectDef";function Hw(e){let{model:t,autoFocus:n=!0}=e;const{translator:r}=ye.exports.useContext(Qy),[i,o]=ye.exports.useState(""),s=zw();return Je.createElement(Ub,{startAdornment:Je.createElement(bb,{position:"start"},Je.createElement(Fw,null)),className:[s.root].join(" "),autoFocus:n,margin:"dense",fullWidth:!0,placeholder:r.get("Listbox.Search"),value:i,onChange:e=>{o(e.target.value),t.searchListObjectFor(Bw,e.target.value)},onKeyDown:e=>{switch(e.key){case"Enter":t.acceptListObjectSearch(Bw,!0),o("");break;case"Escape":t.abortListObjectSearch(Bw)}}})}function Vw(e){return Object.keys(p.prototype).forEach(t=>{e[t]=p.prototype[t]}),p.init(e),e}function Ww(e,t){const[n]=Cg(e),[r]=dg(t),i=t?t.id:null,[o]=bg(),[s]=Eg(),a=o.get(e.id);let l=s.get(i);return ye.exports.useEffect(()=>{n&&t&&!l&&(l=function(e){let t,{appSelections:n,appModal:r,model:i}=e,o=!1,s=!1;const a={id:i.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():(o=!0,this.emit("activated"),r.begin(i,e,!0))},clear(){return s=!1,this.emit("cleared"),t.qListObject?i.clearSelections("/qListObjectDef"):i.resetMadeSelections()},confirm(){return s=!1,o=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return s=!1,o=!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 i[e.method](...e.params);return s="resetMadeSelections"!==e.method,!!r||(i.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked),isActive:()=>o,isModal:()=>n.isModal(i),goModal:e=>r.begin(i,e,!1),noModal:function(){return r.end(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}};return Vw(a),a}({appSelections:n,appModal:a,model:t}),s.set(i,l),s.dispatch(!0))},[n,t]),ye.exports.useEffect(()=>{l&&l.setLayout(r)},[l,r]),[l]}function Uw(e){let{alignTo:t,show:n,close:r,app:i,fieldName:o,stateName:s="$"}=e;const a=n&&Boolean(t.current),l=Ff(),[u]=pg({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[o]}}},i,o,s),c=ye.exports.useCallback(()=>{u.lock("/qListObjectDef")},[u]),d=ye.exports.useCallback(()=>{u.unlock("/qListObjectDef")},[u]),{translator:h}=ye.exports.useContext(Qy),p=ye.exports.useRef(),[f]=Ww(i,u),[m]=dg(u);if(ye.exports.useEffect(()=>{f&&a&&(f.isModal(u)||f.goModal("/qListObjectDef"))},[f,a]),!u||!m||!h)return null;const y=!0===m.qListObject.qDimensionInfo.qLocked,g=(e,t)=>{f.noModal("escapeKeyDown"!==t),r()},v=_w({layout:m,model:u,translator:h}),b=m.qListObject.qDimensionInfo.qStateCounts,w=b.qSelected+b.qSelectedExcluded+b.qLocked+b.qLockedExcluded>0;return Je.createElement(Nb,{open:a,onClose:g,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Je.createElement(db,{container:!0,direction:"column",spacing:0},Je.createElement(db,{item:!0,container:!0,style:{padding:l.spacing(1)}},Je.createElement(db,{item:!0},y?Je.createElement(xv,{onClick:d,disabled:!y},Je.createElement(Gb,null)):Je.createElement(xv,{onClick:c,disabled:!w},Je.createElement(Xb,null))),Je.createElement(db,{item:!0,xs:!0}),Je.createElement(db,{item:!0},Je.createElement(jw,{more:{enabled:!y,actions:v,alignTo:p,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:f,onConfirm:g,onCancel:()=>g(0,"escapeKeyDown")}}))),Je.createElement(db,{item:!0,xs:!0},Je.createElement("div",{ref:p}),Je.createElement(Hw,{model:u}),Je.createElement(vw,{model:u,selections:f,direction:"ltr"}))))}const $w=em(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}}));function Qw(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:i=!1,moreAlignTo:o=null,onClose:s=(()=>{})}=e;const{translator:a}=ye.exports.useContext(Qy),l=o||ye.exports.useRef(),u=Ff(),[c,d]=ye.exports.useState(!1),h=$w(),p=()=>{d(!1),s()},f=t.selections[r];void 0===f.qTotal&&(f.qTotal=0);const m=f.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},y=(m.qSelected+m.qLocked)/f.qTotal,g=m.qAlternative/f.qTotal,v=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/f.qTotal,b=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,w=0===b&&0===f.qTotal;let E="";f.qTotal===b&&f.qTotal>1?E=a.get("CurrentSelections.All"):b>1&&f.qTotal?E=a.get("CurrentSelections.Of",[b,f.qTotal]):f.qSelectedFieldSelectionInfo&&(E=f.qSelectedFieldSelectionInfo.map(e=>e.qName).join(", ")),"$"!==t.states[r]&&(E="".concat(t.states[r],": ").concat(E));const x=[{color:u.palette.selected.main,ratio:y},{color:u.palette.selected.alternative,ratio:g},{color:u.palette.selected.excluded,ratio:v}];x.forEach((e,t)=>{e.offset=t?x[t-1].offset+x[t-1].ratio:0});let _=null,S=null,C=null,k=null;return o||(_=Je.createElement(db,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:f.qLocked?"0.3":""}},Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},f.qField),Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},E)),S=Je.createElement(db,{item:!0},f.qLocked?Je.createElement(xv,null,Je.createElement(Gb,null)):Je.createElement(xv,{title:a.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(f.qField,t.states[r])}},Je.createElement(Zb,null))),C=Je.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===w&&x.map(e=>Je.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,"%")}}))),k=Je.createElement(db,{container:!0,spacing:0,ref:l,className:h.item,onClick:!1===i&&(e=>{e.currentTarget.contains(e.target)&&d(!c)})||null},_,S,C,c&&Je.createElement(Uw,{alignTo:l,show:c,close:p,app:n.model,fieldName:f.qField,stateName:t.states[r]}))),o?Je.createElement(Uw,{alignTo:l,show:!0,close:p,app:n.model,fieldName:f.qField,stateName:t.states[r]}):k}var Kw=e=>Kb((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 Zw=em(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 Gw(e){let{field:t,api:n,moreAlignTo:r=null,onClose:i=(()=>{})}=e;const o=Zw(),[s,a]=ye.exports.useState(!!r),[l,u]=ye.exports.useState(-1),[c,d]=ye.exports.useState(r?r.current:null),h=r||ye.exports.useRef(),{translator:p}=ye.exports.useContext(Qy),f=p.get("Selection.ClearAllStates"),m=()=>{u(-1),i()};let y=null;r||(y=Je.createElement(Je.Fragment,null,Je.createElement(db,{item:!0,xs:!0,zeroMinWidth:!0},Je.createElement(Sv,{className:o.badge,color:"secondary",badgeContent:t.states.length},Je.createElement(Lv,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Je.createElement(db,{item:!0},Je.createElement("div",{style:{width:"12px"}})),Je.createElement(db,{item:!0},Je.createElement(xv,null,Je.createElement(Kw,null)))));const g=Je.createElement(xb,{dense:!0},Je.createElement(Cb,{title:f,onClick:()=>{t.states.forEach(e=>n.clearField(t.name,e))}},Je.createElement(Rv,{variant:"contained",fullWidth:!0},f)),t.states.map((e,r)=>Je.createElement(Cb,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),u(t)})(e,r)},Je.createElement(kv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Je.createElement(Qw,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0}))))),v=Je.createElement(Nb,{open:s,onClose:()=>{a(!1),i()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),b=r?v:Je.createElement(db,{container:!0,spacing:0,className:o.item,onClick:e=>{e.currentTarget.contains(e.target)&&(d(e.currentTarget),h.current=e.currentTarget,a(!s))}},y,s&&v,l>-1&&Je.createElement(Uw,{alignTo:h,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?Je.createElement(Uw,{alignTo:h,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const Xw=em(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 Jw(e){let{items:t=[],api:n}=e;const r=Xw(),i=Ff(),[o,s]=ye.exports.useState(!1),[a,l]=ye.exports.useState(-1),[u,c]=ye.exports.useState(null),d=ye.exports.useRef(),h=()=>{l(-1)};let p=null;return a>-1&&(p=t[a].states.length>1?Je.createElement(Gw,{field:t[a],api:n,moreAlignTo:d,onClose:h}):Je.createElement(Qw,{field:t[a],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:d,onClose:h})),Je.createElement(db,{container:!0,spacing:0,className:r.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),d.current=e.currentTarget,s(!o))}},Je.createElement(db,{item:!0},Je.createElement(kv,{borderRadius:i.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:i.palette.selected.main,color:i.palette.selected.mainContrastText}},Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Je.createElement(db,{item:!0},Je.createElement(xv,null,Je.createElement(Kw,null))),o&&Je.createElement(Nb,{open:o,onClose:()=>{s(!1)},anchorEl:u,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},Je.createElement(xb,{dense:!0},t.map((e,t)=>Je.createElement(Cb,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),s(!1),l(t)})(e,t)},Je.createElement(kv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Je.createElement(e.states.length>1?Gw:Qw,{field:e,api:n})))))),p)}function Yw(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach(e=>{const r=e.qField,i=t[r]=t[r]||{name:r,states:[],selections:[]};-1===i.states.indexOf(n)&&(i.states.push(n),i.selections.push(e))})}function eE(e){let{api:t,app:n}=e;const r=Ff(),[i]=mg(n),[o]=dg(i),[s,a]=ye.exports.useState({items:[],more:[]}),[l]=_g(),[u,c]=$b(),[d,h]=ye.exports.useState(0);return ye.exports.useEffect(()=>{if(!c)return;const{width:e}=c,t=Math.floor(e)-72,n=Math.floor(t/120);h(n)},[c]),ye.exports.useEffect(()=>{if(!(n&&i&&o&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&Yw(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach(e=>Yw(e.qSelectionObject,t,e.stateName)),Object.keys(t).map(e=>t[e])}(o);a(t=>{const r=e;if((()=>{const e=l.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 i=t.items.indexOf(e);r.splice(i,0,e)}let i=[];return d<r.length&&(i=r.splice(d-r.length)),{items:r,more:i}})},[n,i,o,t.isInModal(),d]),Je.createElement(db,{ref:u,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},s.items.map(e=>Je.createElement(db,{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)}},Je.createElement(e.states.length>1?Gw:Qw,{field:e,api:t}))),s.more.length>0&&Je.createElement(db,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Je.createElement(Jw,{items:s.more,api:t})))}var tE=e=>Kb((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)),nE=e=>Kb((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 rE(e){let{api:t,app:n}=e;const{translator:r}=ye.exports.useContext(Qy),[i]=yg(n);return Je.createElement(db,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Je.createElement(db,{item:!0},Je.createElement(xv,{style:{marginRight:"8px"},disabled:!i||!i.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back()},Je.createElement(tE,null))),Je.createElement(db,{item:!0},Je.createElement(xv,{style:{marginRight:"8px"},disabled:!i||!i.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward()},Je.createElement(nE,null))),Je.createElement(db,{item:!0},Je.createElement(xv,{disabled:!i||!i.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear()},Je.createElement(Lw,null))))}const iE=e=>{let{app:t}=e;const n=Ff(),[r]=Cg(t);return r?Je.createElement(db,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Je.createElement(db,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Je.createElement(rE,{api:r,app:t})),Je.createElement(db,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Je.createElement(eE,{api:r,app:t}))):null};function oE(e){let{element:t,app:n}=e;return nd.createPortal(Je.createElement(iE,{app:n}),t)}var sE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},aE=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),lE=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},uE=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},cE=void 0;cE="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var dE=null,hE=null,pE=cE.clearTimeout,fE=cE.setTimeout,mE=cE.cancelAnimationFrame||cE.mozCancelAnimationFrame||cE.webkitCancelAnimationFrame,yE=cE.requestAnimationFrame||cE.mozRequestAnimationFrame||cE.webkitRequestAnimationFrame;null==mE||null==yE?(dE=pE,hE=function(e){return fE(e,20)}):(dE=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,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e),n=t[1];mE(t[0]),pE(n)},hE=function(e){var t=yE((function(){pE(n),e()})),n=fE((function(){mE(t),e()}),20);return[t,n]});var gE=function(e){function t(){var e,n,r;sE(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=uE(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),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,i=e.onResize;if(r._parentNode){var o=r._parentNode.offsetHeight||0,s=r._parentNode.offsetWidth||0,a=window.getComputedStyle(r._parentNode)||{},l=parseInt(a.paddingLeft,10)||0,u=parseInt(a.paddingRight,10)||0,c=parseInt(a.paddingTop,10)||0,d=parseInt(a.paddingBottom,10)||0;(!t&&r.state.height!==o-c-d||!n&&r.state.width!==s-l-u)&&(r.setState({height:o-c-d,width:s-l-u}),i({height:o,width:s}))}},r._setRef=function(e){r._autoSizer=e},uE(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),aE(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,i=void 0,o=void 0,s=void 0,a=void 0,l="undefined"!=typeof document&&document.attachEvent;if(!l){s=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},o=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},a=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;s(this),this.__resizeRAF__&&dE(this.__resizeRAF__),this.__resizeRAF__=hE((function(){o(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(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(u=!0),!1===u)for(var f=0;f<d.length;f++)if(void 0!==p.style[d[f]+"AnimationName"]){c="-"+d[f].toLowerCase()+"-",r=h[f],u=!0;break}t="@"+c+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",i=c+"animation: 1ms "+n+"; "}return{addResizeListener:function(o,u){if(l)o.attachEvent("onresize",u);else{if(!o.__resizeTriggers__){var c=o.ownerDocument,d=cE.getComputedStyle(o);d&&"static"===d.position&&(o.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(i||"")+'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%; }',o=n.head||n.getElementsByTagName("head")[0],s=n.createElement("style");s.id="detectElementResize",s.type="text/css",null!=e&&s.setAttribute("nonce",e),s.styleSheet?s.styleSheet.cssText=r:s.appendChild(n.createTextNode(r)),o.appendChild(s)}}(c),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=c.createElement("div")).className="resize-triggers";var h=c.createElement("div");h.className="expand-trigger",h.appendChild(c.createElement("div"));var p=c.createElement("div");p.className="contract-trigger",o.__resizeTriggers__.appendChild(h),o.__resizeTriggers__.appendChild(p),o.appendChild(o.__resizeTriggers__),s(o),o.addEventListener("scroll",a,!0),r&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&s(o)},o.__resizeTriggers__.addEventListener(r,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(u)}},removeResizeListener:function(e,t){if(l)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",a,!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.disableWidth,i=e.style,o=this.state,s=o.height,a=o.width,l={overflow:"visible"},u={},c=!1;return e.disableHeight||(0===s&&(c=!0),l.height=0,u.height=s),r||(0===a&&(c=!0),l.width=0,u.width=a),ye.exports.createElement("div",{className:n,ref:this._setRef,style:lE({},l,i)},!c&&t(u))}}]),t}(ye.exports.PureComponent);function vE(e){let{app:t,fieldIdentifier:n,stateName:r,element:i,options:o}=e;return nd.createPortal(Je.createElement(bE,{app:t,fieldIdentifier:n,stateName:r,options:o}),i)}function bE(e){let{app:t,fieldIdentifier:r,stateName:i="$",options:o={}}=e;const{title:s,direction:a,listLayout:l,search:u=!0,properties:c={}}=o,d=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:i,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:s},c);let h;r.qLibraryId?(d.qListObjectDef.qLibraryId=r.qLibraryId,h=r.qLibraryId):(d.qListObjectDef.qDef.qFieldDefs=[r],h=r);const p=Ff(),[f]=pg(d,t,h,i),m=ye.exports.useCallback(()=>{f.lock("/qListObjectDef")},[f]),y=ye.exports.useCallback(()=>{f.unlock("/qListObjectDef")},[f]),{translator:g}=ye.exports.useContext(Qy),v=ye.exports.useRef(),[b]=Ww(t,f),[w]=dg(f),[E,x]=ye.exports.useState(!1);if(ye.exports.useEffect(()=>{b&&(b.isModal(f)||(b.on("deactivated",()=>{x(!1)}),b.on("activated",()=>{x(!0)})))},[b]),ye.exports.useEffect(()=>{b&&x(b.isActive())},[b]),!f||!w||!g)return null;const _=!0===w.qListObject.qDimensionInfo.qLocked,S=_w({layout:w,model:f,translator:g}),C=w.qListObject.qDimensionInfo.qStateCounts,k=C.qSelected+C.qSelectedExcluded+C.qLocked+C.qLockedExcluded>0;return Je.createElement(db,{container:!0,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(49+(u?40:0)+49,"px")}},Je.createElement(db,{item:!0,container:!0,style:{padding:p.spacing(1),borderBottom:"1px solid ".concat(p.palette.divider)}},Je.createElement(db,{item:!0},_?Je.createElement(xv,{onClick:y,disabled:!_},Je.createElement(Gb,null)):Je.createElement(xv,{onClick:m,disabled:!k},Je.createElement(Xb,null))),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",noWrap:!0},w.title||w.qListObject.qDimensionInfo.qFallbackTitle)),Je.createElement(db,{item:!0,xs:!0}),Je.createElement(db,{item:!0},Je.createElement(jw,{more:{enabled:!_,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?Je.createElement(db,{item:!0},Je.createElement(Hw,{model:f,autoFocus:!1})):"",Je.createElement(db,{item:!0,xs:!0},Je.createElement("div",{ref:v}),Je.createElement(gE,null,e=>{let{height:t,width:n}=e;return Je.createElement(vw,{model:f,selections:b,direction:a,listLayout:l,height:t,width:n})})))}gE.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const wE=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function EE(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function xE(){return wE.map(EE).join("")}function _E(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function SE(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 CE(e){let{sn:t,properties:r,fields:i}=e;if(!i.length)return;const o=t.qae.data.targets[0];if(!o)return;const{propertyPath:s}=o,a=s.split("/");let l=r;for(let n=0;n<a.length;n++){const e=a[n];l=e?l[e]:l}const u=function(e){let{dc:t,def:r,properties:i}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const o=i,s={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const i="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||xE(),i.qDef.qSortCriterias=i.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],i.qOtherTotalSpec=i.qOtherTotalSpec||{},i.qAttributeExpressions=i.qAttributeExpressions||[],i.qAttributeDimensions=i.qAttributeDimensions||[],t.qDimensions.length<s.maxDimensions()?(t.qDimensions.push(i),_E(t.qInterColumnSortOrder,t.qDimensions.length-1),r.dimensions.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(i))},removeDimension(e){const n=t.qDimensions.splice(e,1)[0];SE(t.qInterColumnSortOrder,e),r.dimensions.removed(n,o,e)},addMeasure(e){const i="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||xE(),i.qSortBy=i.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},i.qAttributeDimensions=i.qAttributeDimensions||[],i.qAttributeExpressions=i.qAttributeExpressions||[],t.qMeasures.length<s.maxMeasures()?(t.qMeasures.push(i),_E(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),r.measures.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(i))},removeMeasure(e){const n=t.qMeasures.splice(e,1)[0];SE(t.qInterColumnSortOrder,t.qDimensions.length+e),r.measures.removed(n,o,e)},maxDimensions:()=>r.dimensions.max(t.qMeasures.length),maxMeasures:()=>r.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<s.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<s.maxMeasures()};return s}({dc:l,def:o,properties:r});i.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 kE=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let i=e;for(let o=0;o<r.length;++o){const e=r[o];if(""!==e){if(null==i[e])return n;i=i[e]}}return i},TE=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),i=r[r.length-1];let o=e;for(let s=0;s<r.length-1;++s){const e=r[s];null!=o[e]||(o[e]=Number.isNaN(+r[s+1])?{}:[]),o=o[e]}void 0!==n?o[i]=n:delete o[i]},OE=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},LE=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 IE=2**53-1;function RE(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function PE(e,t){const n=x(!0,{},t,e);return kE(n,"qOtherTotalSpec.qOtherCounted")||TE(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),kE(n,"qOtherTotalSpec.qOtherLimit")||TE(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function NE(e,t){return x(!0,{},t,e)}function AE(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var DE={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach(t=>{e.qLayoutExclude.changed[t].to===kE(e,t)&&TE(e,t,e.qLayoutExclude.changed[t].from)})},isMasterItemProperty:RE,importCommonProperties:function(e,t,n){const r="masterobject"===kE(t,"properties.qInfo.qType")?"masterobject":kE(n,"qInfo.qType");TE(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){n[e]=t.hasOwnProperty(e)?t[e]:r},createDefaultDimension:PE,createDefaultMeasure:NE,resolveValue:AE,getHypercubePath:function(e){const t=kE(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],i=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let o=n.qInterColumnSortOrder.length;if(o!==i)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());o!==i;)o<i?(OE(n.qInterColumnSortOrder,o),++o):(--o,LE(n.qInterColumnSortOrder,o))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,i={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach(e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(i.qLayoutExclude.quarantine=x(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?TE(i,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||RE(e)?i[e]=t.properties[e]:i.qLayoutExclude.disabled[e]=t.properties[e]}),i=x(!0,{},n,i),null===i.components&&(i.components=[]),i},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],i=n.dimensions||{max:0},o=n.measures||{max:0},s=AE(o.max,r.dimensions.length,IE),a=AE(o.min,r.dimensions.length,0);return{maxDimensions:AE(i.max,s,IE),minDimensions:AE(i.min,a,0),maxMeasures:s,minMeasures:a}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:i,minMeasures:o}=e;const s=t.data[0];return s.dimensions.length>n&&n>0||s.measures.length>i&&i>0||s.excludedDimensions.length>0&&s.dimensions.length+s.excludedDimensions.length>r||s.excludedMeasures.length>0&&s.measures.length+s.excludedMeasures.length>o||!i&&s.measures.length>0||!n&&s.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:i,minMeasures:o,newHyperCubeDef:s}=e;const a=t.data[0];s.qLayoutExclude||(s.qLayoutExclude={}),s.qLayoutExclude.qHyperCubeDef||(s.qLayoutExclude.qHyperCubeDef={}),(a.dimensions.length>n&&n>0||a.excludedDimensions&&a.excludedDimensions.length&&a.dimensions.length+a.excludedDimensions.length>r)&&(s.qLayoutExclude.qHyperCubeDef.qDimensions||(s.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(a.measures.length>i&&i>0||a.excludedMeasures&&a.excludedMeasures.length&&a.measures.length+a.excludedMeasures.length>o)&&(s.qLayoutExclude.qHyperCubeDef.qMeasures||(s.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!i&&a.measures.length&&(s.qLayoutExclude.qHyperCubeDef.qMeasures||(s.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&a.dimensions.length&&(s.qLayoutExclude.qHyperCubeDef.qDimensions||(s.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:i,defaultDimension:o}=e;const s=t.data[0];let a;if(n>0)for(a=0;a<s.dimensions.length;++a)i.qDimensions.length<n?i.qDimensions.push(PE(s.dimensions[a],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.dimensions[a],o));else if(s.dimensions.length)for(a=0;a<s.dimensions.length;++a)i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.dimensions[a],o));if(s.excludedDimensions.length)for(a=0;a<s.excludedDimensions.length;++a)i.qDimensions.length<r?i.qDimensions.push(PE(s.excludedDimensions[a],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.excludedDimensions[a],o))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:i,defaultMeasure:o}=e;const s=t.data[0];let a;if(n>0)for(a=0;a<s.measures.length;++a)i.qMeasures.length<n?i.qMeasures.push(NE(s.measures[a],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.measures[a],o));else if(s.measures.length)for(a=0;a<s.measures.length;++a)i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.measures[a],o));if(s.excludedMeasures.length)for(a=0;a<s.excludedMeasures.length;++a)i.qMeasures.length<r?i.qMeasures.push(NE(s.excludedMeasures[a],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.excludedMeasures[a],o))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=kE(t,r||"").qHyperCubeDef,i=[...e.qDimensions];e.qDimensions=[],i.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=kE(t,r||"").qHyperCubeDef,i=[...e.qMeasures];e.qMeasures=[],i.forEach(r=>{e.qMeasures.push(r),n.measures.added(r,t)})}}},ME={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}(),i=t.qProperty,o=kE(i,n||""),s=o.qHyperCubeDef,a=r.data[0];if(s.qInterColumnSortOrder||(s.qInterColumnSortOrder=[]),a.dimensions.push(...s.qDimensions),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qDimensions&&a.excludedDimensions.push(...s.qLayoutExclude.qHyperCubeDef.qDimensions),a.measures.push(...s.qMeasures),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qMeasures&&a.excludedMeasures.push(...s.qLayoutExclude.qHyperCubeDef.qMeasures),a.interColumnSortOrder=s.qInterColumnSortOrder.concat(),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=s.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 i=e.indexOf(t[r]);if(n>i)return!1;n=i}return!0}return!1})(e,a.interColumnSortOrder)&&(a.interColumnSortOrder=e)}return delete s.qLayoutExclude,Object.keys(i).forEach(e=>{r.properties[e]=i[e]}),n&&(r.properties.qHyperCubeDef=o.qHyperCubeDef,delete o.qHyperCubeDef),i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.disabled&&(Object.keys(i.qLayoutExclude.disabled).forEach(e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=i.qLayoutExclude.disabled[e])}),delete i.qLayoutExclude.disabled),i.qLayoutExclude.changed&&(DE.restoreChangedProperties(i),delete i.qLayoutExclude.changed),i.qLayoutExclude.quarantine&&!(e=>0===Object.keys(e).length&&e.constructor===Object)(i.qLayoutExclude.quarantine)||delete i.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:i={},hypercubePath:o}=e;const s={qChildren:[]},a=DE.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:o}),l=kE(n,o||"").qHyperCubeDef,u=kE(a,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p}=DE.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:f=DE.getDefaultDimension(),defaultMeasure:m=DE.getDefaultMeasure()}=i;return u.qDimensions.length=0,u.qMeasures.length=0,DE.shouldInitLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p})&&DE.initLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p,newHyperCubeDef:u}),DE.addDefaultDimensions({exportFormat:t,maxDimensions:c,minDimensions:d,newHyperCubeDef:u,defaultDimension:f}),DE.addDefaultMeasures({exportFormat:t,maxMeasures:h,minMeasures:p,newHyperCubeDef:u,defaultMeasure:m}),DE.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:u}),DE.copyPropertyIfExist("qMaxStackedCells",l,u),DE.copyPropertyIfExist("qNoOfLeftDims",l,u),DE.copyPropertyOrSetDefault("qInitialDataFetch",l,u,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),DE.copyPropertyOrSetDefault("qMode",l,u,"S"),DE.copyPropertyOrSetDefault("qReductionMode",l,u,"N"),DE.copyPropertyOrSetDefault("qSortbyYValue",l,u),DE.copyPropertyOrSetDefault("qIndentMode",l,u),DE.copyPropertyOrSetDefault("qShowTotalsAbove",l,u),DE.importCommonProperties(a,t,n),DE.updateDimensionsOnAdded({newProperties:a,dataDefinition:r,hypercubePath:o}),DE.updateMeasuresOnAdded({newProperties:a,dataDefinition:r,hypercubePath:o}),s.qProperty=a,s}(e)};const qE=e=>kE(e,"data.targets.0.propertyPath"),jE=async e=>{let{halo:t,model:r,cellRef:i,newType:o}=e;const s=await r.getFullPropertyTree(),a=i.current.getQae(),l=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return ME.exportProperties})(qE(e)))(a),u=(await(async e=>{let{halo:t,name:n,version:r}=e;const{types:i}=t;return await i.get({name:n,version:r}).supernova()})({halo:t,name:o})).qae;return(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return ME.importProperties})(qE(e)))(u)({exportFormat:l({propertyTree:s,hypercubePath:DE.getHypercubePath(a)}),initialProperties:n({qInfo:{qType:o},visualization:o},kE(u,"properties.initial",{})),dataDefinition:kE(u,"data.targets.0.",{}),hypercubePath:DE.getHypercubePath(u)})},FE={hypercube:ME};var zE=e=>Kb((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 BE=e=>{let{d:t}=e;const n=Ff();let r="inherit",i=n.palette.success.main;t.missing?i=n.palette.warning.main:t.error&&(r="error",i=n.palette.error.main);const o={color:i},s=Je.createElement(Lv,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Je.createElement(gb,null,Je.createElement(t.missing||t.error?zE:pw,{style:o})));return Je.createElement(db,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Je.createElement(db,{item:!0},s),Je.createElement(db,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Je.createElement(Lv,{noWrap:!0,component:"p"},Je.createElement(Lv,{component:"span",variant:"subtitle2",color:r},t.description),Je.createElement(Lv,{component:"span"}," "),Je.createElement(Lv,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))},HE=e=>{let{data:t}=e;const n=Ff();return Je.createElement(db,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map((e,t)=>{const r=e.descriptions.map((e,t)=>Je.createElement(BE,{d:e,key:t}));return r.length>0&&Je.createElement(db,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Je.createElement(Lv,{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 Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Je.createElement(db,{item:!0},Je.createElement(zE,{style:{fontSize:"38px"}})),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center","data-tid":"error-title"},t)),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Je.createElement(HE,{data:r}))}const WE=["size"],UE=em(e=>({root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}})),$E={small:16,medium:32,large:64,xlarge:128};function QE(e){let{size:t="medium"}=e,n=o(e,WE);const r=UE(),s=$E[t];return Je.createElement("div",{className:r.root},Je.createElement(qv,i({variant:"determinate",value:100,className:r.back,size:s,thickness:3},n)),Je.createElement(qv,i({variant:"indeterminate",disableShrink:!0,className:r.front,size:s,thickness:3},n)))}const KE=["cancel","translator"],ZE=["retry","translator"],GE=Py(()=>({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}}})),XE=e=>{let{cancel:t,translator:n}=e,r=o(e,KE);return Je.createElement(Je.Fragment,null,Je.createElement(db,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},Je.createElement(db,{item:!0},Je.createElement(QE,null)),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center"},n.get("Object.Update.Active")))),Je.createElement(db,i({item:!0},r),Je.createElement(Rv,{variant:"contained",onClick:t},n.get("Cancel"))))},JE=e=>{let{retry:t,translator:n}=e,r=o(e,ZE);return Je.createElement(Je.Fragment,null,Je.createElement(db,{item:!0},Je.createElement(zE,{style:{fontSize:"38px"}})),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center"},n.get("Object.Update.Cancelled"))),Je.createElement(db,{item:!0},Je.createElement(Rv,i({variant:"contained",onClick:t},r),n.get("Retry"))))};function YE(e){let{canCancel:t,canRetry:n,api:r}=e;const{stripes:i,cancel:o,retry:s}=GE(),{translator:a}=ye.exports.useContext(Qy);return Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:i,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},t&&Je.createElement(XE,{cancel:r.cancel,translator:a,className:o}),n&&Je.createElement(JE,{retry:r.retry,translator:a,className:s}))}function ex(){return Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},Je.createElement(QE,{size:"large"}))}const tx=Py(e=>({containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}})),nx=e=>{let{layout:t,sn:n,anchorEl:r,hovering:i,focusHandler:o}=e;const s=t.showTitles&&!!t.title,a=t.showTitles&&!!t.subtitle,l=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[u,c]=ye.exports.useState([]),{containerStyle:d,containerTitleStyle:h}=tx(),[p,f]=$b(),[m,y]=ye.exports.useState(!1);ye.exports.useEffect(()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions(e=>{c([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])})},[n]),ye.exports.useEffect(()=>{if(!f)return;const{width:e}=f;y(e<221)},[f]);const g=s||a,v=[d,...g?[h]:[]],b=(i||l)&&(m||!g),w=Je.createElement(jw,{show:g&&!b&&!m,selections:{show:l,api:n.component.selections,onKeyDeactivate:o.refocusContent},actions:u,popover:{show:b,anchorEl:r},focusHandler:o});return Je.createElement(db,{ref:p,item:!0,container:!0,wrap:"nowrap",className:v.join(" ")},Je.createElement(db,{item:!0,zeroMinWidth:!0,xs:!0},Je.createElement(db,{container:!0,wrap:"nowrap",direction:"column"},s&&Je.createElement(Lv,{variant:"h6",noWrap:!0,className:"njs-cell-title"},t.title),a&&Je.createElement(Lv,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title"},t.subtitle))),Je.createElement(db,{item:!0},w))},rx=Py(e=>({itemStyle:{minWidth:0,paddingTop:e.spacing(1)}})),ix=e=>{let{layout:t}=e;const{itemStyle:n}=rx();return t&&t.showTitles&&t.footnote?Je.createElement(db,{container:!0},Je.createElement(db,{item:!0,className:n},Je.createElement(Lv,{noWrap:!0,variant:"body2",className:"njs-cell-footer"},t.footnote))):null};class ox{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 sx=e=>{let{sn:t,snOptions:r,snPlugins:i,layout:o,appLayout:s,halo:a}=e;const{component:l}=t,{theme:u,language:c,constraints:d,keyboardNavigation:h}=ye.exports.useContext(Qy),[p]=ye.exports.useState(()=>new ox),[f,m]=ye.exports.useState(!1),[y,g]=ye.exports.useState(0),[v,b,w]=$b(),[E,x]=ye.exports.useState(null),_=ye.exports.useCallback(e=>{e&&x(e)},[]);return ye.exports.useEffect(()=>{if(E)return l.created({options:r}),l.mounted(E),m(!0),()=>{p.stop(),l.willUnmount()}},[E,l]),ye.exports.useEffect(()=>{f&&E&&b&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||p.schedule(()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),a.app&&a.app.session&&e.push("fetch"),Promise.resolve(l.render({layout:o,options:r,plugins:i,embed:a.public.nebbie,context:n({constraints:d,theme:a.public.theme,appLayout:s,keyboardNavigation:h},l.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(s||{}).qLocaleInfo,permissions:e})})).then(e=>{!1!==e&&(0===y&&"function"==typeof r.onInitialRender&&r.onInitialRender.call(null),g(y+1))})}))},[b,r,i,E,w,o,s,u,c,d,f,h]),Je.createElement("div",{ref:v,"data-render-count":y,style:{position:"relative",height:"100%"},className:"njs-viz"},Je.createElement("div",{ref:_,style:{position:"absolute",width:"100%",height:"100%"}}))},ax=(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))}},lx=e=>{let{delay:t=750}=e;const[n,r]=ye.exports.useState(!1);return ye.exports.useEffect(()=>{const e=setTimeout(()=>r(!0),t);return()=>clearTimeout(e)},[]),n?Je.createElement(ex,null):null},ux=e=>!e.qError||7005===e.qError.qErrorCode,cx=(e,t,n,r,i)=>[...Array(e).keys()].map(e=>{const o=!(!t||!t[e]),s=o&&t[e].qError&&7005===t[e].qError.qErrorCode,a=o&&!s&&t[e].qError,l="".concat(a?r:s?s&&t[e].qCalcCondMsg||i:o&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(l.length?":":""):null,label:l,missing:t&&!o&&!a&&e>=t.length||s,error:a}}),dx=e=>e&&(Array.isArray(e)?e:[e])||[],hx=(e,t,n,r)=>{const i=r.dimensions.min(),o=r.measures.min(),s=r.resolveLayout(t);return{reqDimErrors:cx(i,dx(s.qDimensionInfo),e=>r.dimensions.description(n,e),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:cx(o,dx(s.qMeasureInfo),e=>r.measures.description(n,e),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},px=ye.exports.forwardRef((e,t)=>{let{halo:r,model:i,initialSnOptions:o,initialSnPlugins:s,initialError:a,onMount:l,currentId:u}=e;const{app:c,types:d}=r,{nebbie:h}=r.public,{translator:p,language:f,keyboardNavigation:m}=ye.exports.useContext(Qy),y=Ff(),[g,v,b]=$b(),[w,E]=ye.exports.useReducer(ax,{loading:!1,loaded:!1,longRunningQuery:!1,error:(x=a)?{title:x.message}:null,sn:null,visualization:null});var x;const[_,{validating:S,canCancel:C,canRetry:k},T]=dg(i),[O]=hg(c),[L,I,R]=$b(),[P,N]=ye.exports.useState(o),[A,D]=ye.exports.useState(s),[M]=Ww(c,i),[q,j]=ye.exports.useState(!1),F=ye.exports.useRef({enter:null,leave:null}),z=ye.exports.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});ye.exports.useEffect(()=>{Vw(z.current)},[]),z.current.blurCallback=e=>{r.root.toggleFocusOfCells(),e&&R&&R.focus()},z.current.refocusContent=()=>{w.sn.component&&"function"==typeof w.sn.component.focus&&w.sn.component.focus()},ye.exports.useEffect(()=>{if(a||!O||!_)return;if(w.visualization===_.visualization&&w.sn)return void(async e=>{const[t,n]=await(async(e,t,n,r)=>{let{targets:i}=n;const{hasUnfulfilledErrors:o,aggMinD:s,aggMinM:a,hasLayoutErrors:l,layoutErrors:u}=((e,t,n)=>{let r=!1,i=0,o=0,s=!1,a=!1;const l=[];for(let u=0;u<t.length;++u){const c=t[u],d=c.dimensions.min(),h=c.measures.min(),p=c.resolveLayout(n),f=dx(p.qDimensionInfo).filter(ux),m=dx(p.qMeasureInfo).filter(ux);if(i+=d,o+=h,(f.length<d||m.length<h)&&(r=!0),p.qError){s=!0,a=7005===p.qError.qErrorCode;const t=a&&p.qCalcCondMsg?p.qCalcCondMsg:e.get(a?"Visualization.UnfulfilledCalculationCondition":"Visualization.LayoutError");l.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:i,aggMinM:o,hasLayoutErrors:s,layoutErrors:l}})(e,i,t),c=[],d=[];let h=null;for(let b=0;b<i.length;++b){const n=i[b];if(!l&&o){const i=h||await r.getProperties();h=i;const o=hx(e,t,i,n);c.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const p=c.filter(e=>!(e.missing||e.error)).length,f=e.get("Visualization.Incomplete.Dimensions",[p,s]),m=d.filter(e=>!(e.missing||e.error)).length,y=e.get("Visualization.Incomplete.Measures",[m,a]),g=[{title:f,descriptions:[...c]},{title:y,descriptions:[...d]}],v=l?u:g;return[l||o,{title:l?u[0].title:e.get("Visualization.Incomplete"),data:v}]})(p,_,e.generator.qae.data,i);E(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const i=t&&t.component&&t.component.selections;if(i&&i.id&&r.id&&i.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!i.isModal()){const{targets:e}=t.generator.qae.data;i.goModal(e[0].propertyPath)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||i.isModal()&&i.noModal()}})({sn:w.sn,layout:_,model:i})})(w.sn);const e=d.getSupportedVersion(_.visualization,_.version);if(e)return(async(e,t)=>{E({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:i,model:o,app:s,selections:a,nebbie:l,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:i})).create({model:o,app:s,selections:a,nebbie:l,focusHandler:u})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:E,types:d,visualization:e,version:t,model:i,app:c,selections:M,nebbie:h,focusHandler:z.current});n&&(E({type:"LOADED",sn:n,visualization:e}),l())})(_.visualization,e),()=>{};E({type:"ERROR",error:{title:"Could not find a version of '".concat(_.visualization,"' that supports current object version. Did you forget to register ").concat(_.visualization,"?")}})},[d,w.sn,i,_,O,f]),ye.exports.useEffect(()=>{if(!S)return;const e=setTimeout(()=>E({type:"LONG_RUNNING_QUERY"}),2e3);return()=>clearTimeout(e)},[S]),ye.exports.useImperativeHandle(t,()=>({getQae:()=>w.sn.generator.qae,toggleFocus(e){"function"==typeof w.sn.component.focus&&(e?w.sn.component.focus():w.sn.component.blur())},setSnOptions:N,setSnPlugins:D,async takeSnapshot(){const{width:e,height:t}=v;let n=JSON.parse(JSON.stringify(_));return"function"==typeof w.sn.component.setSnapshotData&&(n=await w.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:p.language(),theme:y.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)}}),[w.sn,I,v,_,y.name,O]);let B=null;return w.loading&&!w.longRunningQuery?B=Je.createElement(lx,null):w.error?B=Je.createElement(VE,w.error):w.loaded&&(B=Je.createElement(sx,{key:_.visualization,sn:w.sn,halo:r,snOptions:P,snPlugins:A,layout:_,appLayout:O})),Je.createElement(pv,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:"njs-cell",ref:g,onMouseEnter:()=>{F.current.leave&&clearTimeout(F.current.leave),F.enter||(F.current.enter=setTimeout(()=>{j(!0),F.current.enter=null},250))},onMouseLeave:()=>{F.current.enter&&clearTimeout(F.current.enter),F.current.leave||(F.current.leave=setTimeout(()=>{j(!1),F.current.leave=null},750))}},Je.createElement(db,{container:!0,direction:"column",spacing:0,style:n({position:"relative",width:"100%",height:"100%",padding:y.spacing(1)},w.longRunningQuery?{opacity:"0.3"}:{})},b&&_&&w.sn&&Je.createElement(nx,{layout:_,sn:w.sn,anchorEl:b,hovering:q,focusHandler:z.current},"\xa0"),Je.createElement(db,{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:L},B),Je.createElement(ix,{layout:_})),w.longRunningQuery&&Je.createElement(YE,{canCancel:C,canRetry:k,api:T}))});function fx(e){let{halo:t,element:n,model:r,initialSnOptions:i,initialSnPlugins:o,onMount:s,initialError:a}=e;const{root:l}=t,u=Je.createRef(),c=xE(),d=nd.createPortal(Je.createElement(px,{ref:u,halo:t,model:r,currentId:c,initialSnOptions:i,initialSnPlugins:o,initialError:a,onMount:s}),n,r.id),h=()=>{l.remove(d),r.removeListener("closed",h)};return r.on("closed",h),l.add(d),l.addCell(c,u),[h,u]}function mx(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function yx(e,t){return mx(e)&&mx(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function gx(){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(i=>{const o=t[i];"object"!=typeof n[i]||"object"!=typeof o||Array.isArray(o)?yx(o,n[i])||r.push({qPath:e+i,qOp:"add",qValue:JSON.stringify(t[i])}):r.push(...gx("".concat(e).concat(i,"/"),t[i],n[i]))}),r}function vx(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 bx=()=>{};function wx(){let{model:e,halo:t,initialError:r,onDestroy:i=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=bx,s=null,a=null,l=null;const u=new Promise(e=>{l=e});let c={},d=[];const h=async e=>{a?(async()=>{await u,s.current.setSnOptions(n(n({},c),e))})():c=n(n({},c),e)},p=async e=>{vx(e),a?(async()=>{await u,s.current.setSnPlugins(e)})():d=e};return{id:e.id,async destroy(){await i(),o(),o=bx},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=await jE({halo:t,model:e,cellRef:s,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,i.qProperty):await e.setProperties(i.qProperty)),i},__DO_NOT_USE__:{mount(n){if(a)throw new Error("Already mounted");return a=n,[o,s]=fx({halo:t,element:n,model:e,initialSnOptions:c,initialSnPlugins:d,initialError:r,onMount:l}),u},async applyProperties(t){const n=gx("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){h(e)},plugins(e){p(e)},exportImage:()=>s.current.exportImage(),takeSnapshot:()=>s.current.takeSnapshot()}}}async function Ex(e,t,n,r){const i=wx({model:e,halo:n,initialError:r,onDestroy:arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{}});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 xx(e,t){let n,{type:r,version:i,fields:o,properties:s,options:a,plugins:l,element:u}=e,c={};try{const e=t.types.get({name:r,version:i});c=await e.initialProperties(s);const n=await e.supernova();o&&CE({sn:n,properties:c,fields:o}),s&&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);lg.set(d.id,d);const h=(e=>{const t=sg({type:"SET",value:e});return()=>{t(),lg.clear(e.id)}})(d);return Ex(d,{options:a,plugins:l,element:u},t,n,async()=>{await t.app.destroySessionObject(d.id),h()})}async function _x(e,t){let{id:n,options:r,plugins:i,element:o}=e;const s="".concat(n);let a=ng.get(s);a||(a=t.app.getObject(n),ng.set(s,a));const l=await a;return lg.set(s,l),Ex(l,{options:r,plugins:i,element:o},t)}function Sx(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const Cx=x.bind(null,!0),kx={},{isArray:Tx}=Array;function Ox(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Lx(e){return void 0===e}function Ix(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Rx(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach((t,i)=>{if(i===n.length)return;r=+t;const o=isNaN(r)?{}:[];e[r||t]=Lx(e[r||t])?o:e[t],e=e[r||t]}),e}function Px(e,t){let n=!0;if(Ox(e)&&Ox(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach(r=>{Px(e[r],t[r])||(n=!1)}),n);if(Tx(e)&&Tx(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Px(e[n],t[n]))return!1;return!0}return e===t}kx.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach(i=>{const o=function(e){return e?Cx({},{val:e}).val:e}(t[i]),s=e[i],a="".concat(n,"/").concat(i);Px(o,s)||Ix(t,i)||(Lx(s)?r.push({op:"add",path:a,value:o}):Ox(o)&&Ox(s)?r=r.concat(kx.generate(s,o,a)):Tx(o)&&Tx(s)?r=r.concat(function(e,t,n){let r=[];const i=e.slice();let o=-1;function s(e,t,n){if(e[n]&&Lx(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let r=0,i=e.length;r<i;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(Px(t,i))return r;if(!Lx(t[0])&&Lx(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let a=i.length-1;a>=0;a-=1)o=s(t,i[a].qInfo&&i[a].qInfo.qId,a),-1===o?(r.push({op:"remove",path:"".concat(n,"/").concat(a)}),i.splice(a,1)):r=r.concat(kx.generate(i[a],t[o],"".concat(n,"/").concat(a)));for(let a=0,l=t.length;a<l;a+=1)o=s(i,t[a].qInfo&&t[a].qInfo.qId),-1===o?(r.push({op:"add",path:"".concat(n,"/").concat(a),value:t[a]}),i.splice(a,0,t[a])):o!==a&&(r.push({op:"move",path:"".concat(n,"/").concat(a),from:"".concat(n,"/").concat(o)}),i.splice(a,0,i.splice(o,1)[0]));return r}(s,o,a)):r.push({op:"replace",path:"".concat(n,"/").concat(i),value:o}))}),Object.keys(e).forEach(i=>{Lx(t[i])&&!Ix(e,i)&&r.push({op:"remove",path:"".concat(n,"/").concat(i)})}),r},kx.apply=function(e,t){t.forEach(t=>{let n=Rx(e,t.path),r=t.path.split("/").splice(-1)[0],i=r&&isNaN(+r)?n[r]:n[+r]||n;const o=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,i=e),"add"===t.op||"replace"===t.op)if(Tx(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Tx(i)&&Tx(t.value)){const e=t.value.slice();i.length=0,i.push(...e)}else if(Ox(i)&&Ox(t.value))s=i,Object.keys(s).forEach(e=>{Object.getOwnPropertyDescriptor(s,e).configurable&&!Ix(s,e)&&delete s[e]}),Cx(i,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 i=Rx(e,t.from);Tx(n)?n.splice(+r,0,i.splice(+o,1)[0]):(n[r]=i[o],delete i[o])}else"remove"===t.op&&(Tx(n)?n.splice(+r,1):delete n[r]);var s})},kx.clone=function(e){return Cx({},e)},kx.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},kx.updateObject=function(e,t){Object.keys(e).length?kx.apply(e,kx.generate(e,t)):Cx(e,t)};const Nx=e=>t=>{const r=(i=n(n({},t),{},{action(){"function"==typeof t.action&&t.action.call(r,e),r.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(r,e),active:"function"==typeof t.active?function(){return t.active.call(r,e)}:void 0}),Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i),i);var i;return r};let Ax,Dx;function Mx(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 qx(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 jx(e){zx(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 Fx(e){if(e.__hooks.obsolete)return Promise.resolve();Dx=-1,Ax=e;try{Ax.fn.call(null)}catch(e){console.error(e)}Ax.__hooks.initiated=!0;const t=Ax.__hooks;return Vx(Ax),Dx=void 0,Ax=void 0,t.chain.promise||(t.chain.promise=new Promise(e=>{t.chain.resolve=e})),function(e){zx(e.pendingLayoutEffects)}(t),function(e){e.macro||(e.macro=requestAnimationFrame(()=>{!function(e){zx(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 zx(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 Bx(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 Hx(e){return e.__hooks.imperativeHandle}function Vx(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Wx(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Vx(e))}function Ux(e){if(void 0===Ax)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Ax.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function $x(e){return Ux(++Dx),Ax.context[e]}function Qx(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Kx(e){return{__hooked:!0,fn:e,initiate:qx,run:Fx,teardown:jx,runSnaps:Bx,focus:e_,blur:t_,observeActions:Wx,getImperativeHandle:Hx,updateRectOnNextRun:Qx}}function Zx(e){const t=Ux(++Dx);if(!t.value){t.component=Ax;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,Fx(r)},0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Gx(e,t){const n=Ux(++Dx);Mx(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Ax.__hooks.pendingEffects.indexOf(n)&&Ax.__hooks.pendingEffects.push(n))}function Xx(e,t){const n=Ux(++Dx);Mx(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Ax.__hooks.pendingLayoutEffects.push(n))}function Jx(e,t){const n=Ux(++Dx);return Mx(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function Yx(){return $x("element")}function e_(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 t_(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 n_={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},r_=Object.keys(n_);function i_(e,t,r){"function"==typeof e.component&&(e.component=Kx(e.component));const[i,o]=e.component&&e.component.__hooked?function(e,t,r){const i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const s={},a=["appLayout","constraints"],l={};t.model&&t.model.session||(l.select=!0);const u={context:{model:t.model,app:t.app,global:i,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:l,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render(t){let r=!o||!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)}a.forEach(e=>{const i=t.context;if(i&&Object.prototype.hasOwnProperty.call(i,e)){let t=JSON.stringify(i[e]);"constraints"===e&&(t=JSON.stringify(n(n({},i[e]),l))),t!==s[e]&&(r=!0,s[e]=t,this.context[e]=JSON.parse(t))}})}else r=!0;return this.context.theme&&this.context.theme.name()!==s.themeName&&(r=!0,s.themeName=this.context.theme.name()),this.context.translator.language()!==s.language&&(r=!0,s.language=u.context.translator.language()),r?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},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 a.forEach(e=>{s[e]=JSON.stringify(u.context[e])}),s.themeName=u.context.theme?u.context.theme.name():void 0,s.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({},n_);var i;i=r,Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i);const o={emit(){r.emit(...arguments)}};Object.keys(e.component||{}).forEach(t=>{-1!==r_.indexOf(t)?r[t]=e.component[t].bind(o):o[t]=e.component[t]});const s=function(e){let{sn:t,component:n}=e;const r={},i=[],o=Nx(n);return((t.definition.selectionToolbar||{}).items||[]).forEach(e=>{const t=o(e);r[e.key]=t,i.push(t)}),(t.definition.actions||[]).forEach(e=>{const t=o(e);r[e.key]=t}),{actions:r,selectionToolbarItems:i,destroy(){i.length=0}}}({sn:e,component:o}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:a,selections:t.selections,actions:s.actions}),Object.assign(r,{actions:s.actions,model:t.model,app:t.app,selections:t.selections}),[r,s]}(e,t),s=[];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),i=0;i<n;i++)r[i]=arguments[i];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){return t.model[r?"getEffectiveProperties":"getProperties"]().then(i=>{const o=kx.clone(i),s=n.map(e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath}));kx.apply(i,s),e.qae.properties.onChange.call({model:t.model},i);const a=kx.generate(o,i).map(e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}));return t.model.__snInterceptor.applyPatches.call(this,a,r)})},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},s.push(t.model.__snInterceptor.teardown)),{generator:e,component:i,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){s.forEach(e=>e())},logicalSize:e.definition.logicalSize||(()=>!1)}}const o_=()=>{};function s_(e,t){return void 0===e?()=>t:()=>e}function a_(e){const t=e||{};return{min:"function"==typeof t.min?t.min:s_(t.min,0),max:"function"==typeof t.max?t.max:s_(t.max,1e3),added:t.added||t.add||o_,description:t.description||o_,moved:t.moved||t.move||o_,removed:t.removed||t.remove||o_,replaced:t.replaced||t.replace||o_,isDefined:()=>!!e}}function l_(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 i=e;if(void 0===i)return n;for(let o=0;o<r.length;++o)if(""!==r[o]){if(void 0===i[r[o]])return n;i=i[r[o]]}return i})(e,n,{}),dimensions:a_(e.dimensions),measures:a_(e.measures)}}function u_(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};return t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange),{properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(l_)},exportProperties:t.exportProperties,importProperties:t.importProperties}}function c_(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:u_(n.qae),component:n.component||{},create:e=>i_(r,e,t),definition:{}};return Object.keys(n).forEach(e=>{r[e]||(r.definition[e]=n[e])}),r}var d_={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,i=t.re=[],o=t.src=[],s=t.tokens={},a=0;function l(e){s[e]=a++}l("NUMERICIDENTIFIER"),o[s.NUMERICIDENTIFIER]="0|[1-9]\\d*",l("NUMERICIDENTIFIERLOOSE"),o[s.NUMERICIDENTIFIERLOOSE]="[0-9]+",l("NONNUMERICIDENTIFIER"),o[s.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",l("MAINVERSION"),o[s.MAINVERSION]="("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")",l("MAINVERSIONLOOSE"),o[s.MAINVERSIONLOOSE]="("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")",l("PRERELEASEIDENTIFIER"),o[s.PRERELEASEIDENTIFIER]="(?:"+o[s.NUMERICIDENTIFIER]+"|"+o[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASEIDENTIFIERLOOSE"),o[s.PRERELEASEIDENTIFIERLOOSE]="(?:"+o[s.NUMERICIDENTIFIERLOOSE]+"|"+o[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASE"),o[s.PRERELEASE]="(?:-("+o[s.PRERELEASEIDENTIFIER]+"(?:\\."+o[s.PRERELEASEIDENTIFIER]+")*))",l("PRERELEASELOOSE"),o[s.PRERELEASELOOSE]="(?:-?("+o[s.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+o[s.PRERELEASEIDENTIFIERLOOSE]+")*))",l("BUILDIDENTIFIER"),o[s.BUILDIDENTIFIER]="[0-9A-Za-z-]+",l("BUILD"),o[s.BUILD]="(?:\\+("+o[s.BUILDIDENTIFIER]+"(?:\\."+o[s.BUILDIDENTIFIER]+")*))",l("FULL"),l("FULLPLAIN"),o[s.FULLPLAIN]="v?"+o[s.MAINVERSION]+o[s.PRERELEASE]+"?"+o[s.BUILD]+"?",o[s.FULL]="^"+o[s.FULLPLAIN]+"$",l("LOOSEPLAIN"),o[s.LOOSEPLAIN]="[v=\\s]*"+o[s.MAINVERSIONLOOSE]+o[s.PRERELEASELOOSE]+"?"+o[s.BUILD]+"?",l("LOOSE"),o[s.LOOSE]="^"+o[s.LOOSEPLAIN]+"$",l("GTLT"),o[s.GTLT]="((?:<|>)?=?)",l("XRANGEIDENTIFIERLOOSE"),o[s.XRANGEIDENTIFIERLOOSE]=o[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",l("XRANGEIDENTIFIER"),o[s.XRANGEIDENTIFIER]=o[s.NUMERICIDENTIFIER]+"|x|X|\\*",l("XRANGEPLAIN"),o[s.XRANGEPLAIN]="[v=\\s]*("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:"+o[s.PRERELEASE]+")?"+o[s.BUILD]+"?)?)?",l("XRANGEPLAINLOOSE"),o[s.XRANGEPLAINLOOSE]="[v=\\s]*("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:"+o[s.PRERELEASELOOSE]+")?"+o[s.BUILD]+"?)?)?",l("XRANGE"),o[s.XRANGE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAIN]+"$",l("XRANGELOOSE"),o[s.XRANGELOOSE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAINLOOSE]+"$",l("COERCE"),o[s.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",l("COERCERTL"),i[s.COERCERTL]=new RegExp(o[s.COERCE],"g"),l("LONETILDE"),o[s.LONETILDE]="(?:~>?)",l("TILDETRIM"),o[s.TILDETRIM]="(\\s*)"+o[s.LONETILDE]+"\\s+",i[s.TILDETRIM]=new RegExp(o[s.TILDETRIM],"g"),l("TILDE"),o[s.TILDE]="^"+o[s.LONETILDE]+o[s.XRANGEPLAIN]+"$",l("TILDELOOSE"),o[s.TILDELOOSE]="^"+o[s.LONETILDE]+o[s.XRANGEPLAINLOOSE]+"$",l("LONECARET"),o[s.LONECARET]="(?:\\^)",l("CARETTRIM"),o[s.CARETTRIM]="(\\s*)"+o[s.LONECARET]+"\\s+",i[s.CARETTRIM]=new RegExp(o[s.CARETTRIM],"g"),l("CARET"),o[s.CARET]="^"+o[s.LONECARET]+o[s.XRANGEPLAIN]+"$",l("CARETLOOSE"),o[s.CARETLOOSE]="^"+o[s.LONECARET]+o[s.XRANGEPLAINLOOSE]+"$",l("COMPARATORLOOSE"),o[s.COMPARATORLOOSE]="^"+o[s.GTLT]+"\\s*("+o[s.LOOSEPLAIN]+")$|^$",l("COMPARATOR"),o[s.COMPARATOR]="^"+o[s.GTLT]+"\\s*("+o[s.FULLPLAIN]+")$|^$",l("COMPARATORTRIM"),o[s.COMPARATORTRIM]="(\\s*)"+o[s.GTLT]+"\\s*("+o[s.LOOSEPLAIN]+"|"+o[s.XRANGEPLAIN]+")",i[s.COMPARATORTRIM]=new RegExp(o[s.COMPARATORTRIM],"g"),l("HYPHENRANGE"),o[s.HYPHENRANGE]="^\\s*("+o[s.XRANGEPLAIN]+")\\s+-\\s+("+o[s.XRANGEPLAIN]+")\\s*$",l("HYPHENRANGELOOSE"),o[s.HYPHENRANGELOOSE]="^\\s*("+o[s.XRANGEPLAINLOOSE]+")\\s+-\\s+("+o[s.XRANGEPLAINLOOSE]+")\\s*$",l("STAR"),o[s.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u<a;u++)n(u,o[u]),i[u]||(i[u]=new RegExp(o[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?i[s.LOOSE]:i[s.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 o=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[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");this.prerelease=o[4]?o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):[],this.build=o[5]?o[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)),p(this.major,e.major)||p(this.minor,e.minor)||p(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return p(r,i)}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],i=e.build[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return p(r,i)}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(g(e,t))return null;var n=c(e),r=c(t),i="";if(n.prerelease.length||r.prerelease.length){i="pre";var o="prerelease"}for(var s in n)if(("major"===s||"minor"===s||"patch"===s)&&n[s]!==r[s])return i+s;return o},t.compareIdentifiers=p;var h=/^[0-9]+$/;function p(e,t){var n=h.test(e),r=h.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function f(e,t,n){return new d(e,n).compare(new d(t,n))}function m(e,t,n){return f(e,t,n)>0}function y(e,t,n){return f(e,t,n)<0}function g(e,t,n){return 0===f(e,t,n)}function v(e,t,n){return 0!==f(e,t,n)}function b(e,t,n){return f(e,t,n)>=0}function w(e,t,n){return f(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 g(e,n,r);case"!=":return v(e,n,r);case">":return m(e,n,r);case">=":return b(e,n,r);case"<":return y(e,n,r);case"<=":return w(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function x(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof x){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof x))return new x(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===_?"":this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return p(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=f,t.compareLoose=function(e,t){return f(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),i=new d(t,n);return r.compare(i)||r.compareBuild(i)},t.rcompare=function(e,t,n){return f(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=y,t.eq=g,t.neq=v,t.gte=b,t.lte=w,t.cmp=E,t.Comparator=x;var _={};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 x)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 C(e,t){for(var n=!0,r=e.slice(),i=r.pop();n&&r.length;)n=r.every((function(e){return i.intersects(e,t)})),i=r.pop();return n}function k(e){return!e||"x"===e.toLowerCase()||"*"===e}function T(e,t,n,r,i,o,s,a,l,u,c,d,h){return((t=k(n)?"":k(r)?">="+n+".0.0":k(i)?">="+n+"."+r+".0":">="+t)+" "+(a=k(l)?"":k(u)?"<"+(+l+1)+".0.0":k(c)?"<"+l+"."+(+u+1)+".0":d?"<="+l+"."+u+"."+c+"-"+d:"<="+a)).trim()}function O(e,t,r){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(i=0;i<e.length;i++)if(n(e[i].semver),e[i].semver!==_&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function L(e,t,n){try{t=new S(t,n)}catch(e){return!1}return t.test(e)}function I(e,t,n,r){var i,o,s,a,l;switch(e=new d(e,r),t=new S(t,r),n){case">":i=m,o=w,s=y,a=">",l=">=";break;case"<":i=y,o=b,s=m,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(L(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var c=null,h=null;if(t.set[u].forEach((function(e){e.semver===_&&(e=new x(">=0.0.0")),h=h||e,i(e.semver,(c=c||e).semver,r)?c=e:s(e.semver,h.semver,r)&&(h=e)})),c.operator===a||c.operator===l)return!1;if((!h.operator||h.operator===a)&&o(e,h.semver))return!1;if(h.operator===l&&s(e,h.semver))return!1}return!0}x.prototype.parse=function(e){var t=e.match(this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new d(t[2],this.options.loose):_},x.prototype.toString=function(){return this.value},x.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===_||e===_)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)},x.prototype.intersects=function(e,t){if(!(e instanceof x))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),L(this.value,n,t));if(""===e.operator)return""===e.value||(n=new S(this.value,t),L(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=E(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=E(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||o&&s||a||l},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=e.trim()).replace(t?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE],T),n("hyphen replace",e),e=e.replace(i[s.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,i[s.COMPARATORTRIM]),e=(e=(e=e.replace(i[s.TILDETRIM],"$1~")).replace(i[s.CARETTRIM],"$1^")).split(/\s+/).join(" ");var r=t?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],o=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){return n("caret",e,t),e.replace(t.loose?i[s.CARETLOOSE]:i[s.CARET],(function(t,r,i,o,s){var a;return n("caret",e,t,r,i,o,s),k(r)?a="":k(i)?a=">="+r+".0.0 <"+(+r+1)+".0.0":k(o)?a="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":s?(n("replaceCaret pr",s),a="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+s+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",a),a}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return e.replace(t.loose?i[s.TILDELOOSE]:i[s.TILDE],(function(t,r,i,o,s){var a;return n("tilde",e,t,r,i,o,s),k(r)?a="":k(i)?a=">="+r+".0.0 <"+(+r+1)+".0.0":k(o)?a=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":s?(n("replaceTilde pr",s),a=">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+(+i+1)+".0"):a=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",a),a}))}(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){return(e=e.trim()).replace(t.loose?i[s.XRANGELOOSE]:i[s.XRANGE],(function(r,i,o,s,a,l){n("xRange",e,r,i,o,s,a,l);var u=k(o),c=u||k(s),d=c||k(a);return"="===i&&d&&(i=""),l=t.includePrerelease?"-0":"",u?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&d?(c&&(s=0),a=0,">"===i?(i=">=",c?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===i&&(i="<",c?o=+o+1:s=+s+1),r=i+o+"."+s+"."+a+l):c?r=">="+o+".0.0"+l+" <"+(+o+1)+".0.0"+l:d&&(r=">="+o+"."+s+".0"+l+" <"+o+"."+(+s+1)+".0"+l),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(i[s.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(o=o.filter((function(e){return!!e.match(r)}))),o.map((function(e){return new x(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 C(n,t)&&e.set.some((function(e){return C(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=L,t.maxSatisfying=function(e,t,n){var r=null,i=null;try{var o=new S(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&-1!==i.compare(e)||(i=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,i=null;try{var o=new S(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&1!==i.compare(e)||(i=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=i[s.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i[s.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;i[s.COERCERTL].lastIndex=-1}else n=e.match(i[s.COERCE]);return null===n?null:c(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(d_,d_.exports);const h_={};async function p_(e,t,n,r){let{config:i}=n;const o="".concat(e,"__").concat(t);if(!h_[o]){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 s=(r||i.load)({name:e,version:t}),a=Promise.resolve(s);h_[o]=a.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 h_[o]}function f_(e,t){const r={};let i=null;return{get:e=>r[e],register:(o,s)=>{if(r[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));r[o]=function(e,t){let r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:s}=o,a={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&s&&s.deps&&s.deps.properties)||d_.exports.satisfies(e,s.deps.properties),supernova:()=>p_(a.name,a.version,t,o.load).then(e=>(r=r||c_(e,t.public.galaxy),i=JSON.stringify(r.qae.properties.initial),r)),initialProperties(e){return this.supernova().then(()=>n(n({qInfo:{qType:a.name},visualization:a.name,version:a.version,showTitles:!0},JSON.parse(i)),e))}};return a}({name:e,version:o},t,s),i=null},getMatchingVersionFromProperties:e=>{var t;i||(t=Object.keys(r),i=[...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 n=i.length-1;n>=0;n--)if(r[i[n]].supportsPropertiesVersion(e))return i[n];return null},versions:r}}function m_(e){let{halo:t,parent:n}=e;const r={},i=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=f_(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)||i.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(h_).forEach(t=>{t.split("__")[0]===e&&(h_[t]=void 0)})}(e)}}}const y_=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(n({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),e)},g_=function(){return[...arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]].filter((e,t,n)=>n.indexOf(e)===t)},v_=(e,t)=>({context:y_(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:g_(e.types,t.types),themes:g_(e.themes,t.themes),flags:y_(e.flags,t.flags),anything:y_(e.anything,t.anything)});var b_=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=c(t.context.language);function i(e,o){if(o)return i.createConfiguration(o)(e);let s=n(n({},t.context),{},{translator:r.translator});const[a]=Og({app:e,context:s}),l=fe({themes:t.themes,root:a}),u={galaxy:{translator:r.translator,flags:Sx(t.flags),deviceType:me(t.context.deviceType),anything:t.anything},theme:l.externalAPI,translator:r.translator,nebbie:null},c={app:e,root:a,config:t,public:u,context:s,types:null},d=m_({halo:c});t.types.forEach(e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load}));let h=l.setTheme(t.context.theme),p=null,f=null;const m={render:async e=>(await h,e.id?_x(e,c):xx(e,c)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach(n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==s[n]&&(t||(t={}),t[n]=e[n])}),t&&(s=n(n(n({},s),t),{},{translator:r.translator}),c.context=s,t.theme&&(h=l.setTheme(t.theme),await h),t.language&&c.public.translator.language(t.language),a.context(s))},selections:async()=>(p||(p={mount(t){f||(f=oE({element:t,app:e}),a.add(f))},unmount(){f&&(a.remove(f),f=null)}}),p),field:async t=>{const n="string"==typeof t?t:t.qLibraryId;if(!n)throw new Error("Field identifier must be provided");return{fieldName:n,mount(r){let i=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=vE({element:r,app:e,fieldIdentifier:t,options:i,stateName:i.stateName||"$"}),a.add(this._instance)},unmount(){this._instance&&(a.remove(this._instance),this._instance=null)}}},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return c.public.nebbie=m,c.types=d,m}return i.createConfiguration=n=>e(v_(t,n)),i.config=t,i}({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())}});e.__DO_NOT_USE__={generator:c_,hook:Kx,theme:he,locale:l},e.conversion=FE,e.embed=b_,e.onTakeSnapshot=function(e){const t=Ux(++Dx);t.value||(t.value=1,Ax.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=Zx({action(){n._config.action.call(null)}});return n.component||(n.component=Ax,Ax.__hooks.actions.list.push(n)),Jx(()=>{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=$x("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return $x("appLayout")},e.useConstraints=function(){return $x("constraints")},e.useDeviceType=function(){return $x("deviceType")},e.useEffect=Gx,e.useElement=Yx,e.useEmbed=function(){return $x("nebbie")},e.useGlobal=function(){const e=$x("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=Ux(++Dx);if(n.imperative||(n.imperative=!0),Mx(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Ax.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=$x("keyboardNavigation"),t=$x("focusHandler");if(!Ax.__hooks.accessibility.exitFunction){const e=(function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(t_(this),t&&t.blurCallback&&t.blurCallback(e))}).bind(Ax);Ax.__hooks.accessibility.exitFunction=e;const n=(function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),e_(this))}).bind(Ax);Ax.__hooks.accessibility.focusFunction=n;const r=(function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}).bind(Ax);Ax.__hooks.accessibility.focusSelectionFunction=r}const n=Ax.__hooks.accessibility.focusFunction,r=Ax.__hooks.accessibility.exitFunction,i=Ax.__hooks.accessibility.focusSelectionFunction,[o,s]=Zx({active:!1,enabled:e,blur:r,focus:n,focusSelection:i});return Ax.__hooks.accessibility.setter=s,Ax.__hooks.accessibility.enabled=e,Gx(()=>s({active:!1,enabled:e,blur:r,focus:n,focusSelection:i}),[e]),o},e.useLayout=function(){return $x("layout")},e.useMemo=Jx,e.useModel=function(){const e=$x("model");return e&&e.session?e:void 0},e.useOptions=function(){return $x("options")},e.usePlugins=function(){return $x("plugins")},e.usePromise=function(e,t){const[n,r]=Zx(()=>({resolved:void 0,rejected:void 0,state:"pending"})),i=Ux(++Dx);return i.component||(i.component=Ax),Xx(()=>{let t=!1;return i.teardown=()=>{t=!0,i.teardown=null;const e=i.component.__hooks.pendingPromises.indexOf(i);e>-1&&i.component.__hooks.pendingPromises.splice(e,1)},e().then(e=>{t||(i.teardown&&i.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))}).catch(e=>{t||(i.teardown&&i.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))}),i.component.__hooks.pendingPromises.push(i),()=>{i.teardown&&i.teardown()}},t),[n.resolved,n.rejected]},e.useRect=function(){const e=Yx(),t=Ax.__hooks.resizer,[n,r]=Zx(()=>{const{left:t,top:n,width:r,height:i}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:i}});return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),Xx(()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:i,height:o}=e.getBoundingClientRect(),s=t.current;s.width===i&&s.height===o&&s.left===n&&s.top===r||t.setters.forEach(e=>e({left:n,top:r,width:i,height:o}))};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(){Ux(++Dx);const e=Ax.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return $x("selections")},e.useStaleLayout=function(){const e=$x("layout"),[t]=Zx({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=Zx,e.useTheme=function(){return $x("theme")},e.useTranslator=function(){return $x("translator")},Object.defineProperty(e,"__esModule",{value:!0})}(t)},wwtf:function(e,t,n){e.exports=function(){"use strict";function e(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat((Math.random()+1).toString(36).substring(2))})}}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 i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,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 i(){return e=>Promise.resolve(n({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve({}),id:e&&e.qInfo&&e.qInfo.qId?e.qInfo.qId:"sel - ".concat((Math.random()+1).toString(36).substring(2))},e))}const o=function(e){let{args:t=[],defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"==typeof e?e(...t):void 0!==e?e:n},s=function(e){let{defaultValue:t,async:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];const a=o(e,{defaultValue:t,args:i});return n?Promise.resolve(a):a}};async function a(e,t){const n=e.map(t);return e[(await Promise.all(n)).findIndex(e=>e)]}const l=["id","session"],u=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function c(e){return!u.includes(e)}function d(e){const{id:t,session:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,l);return n({id:o(t,{defaultValue:"object - ".concat((Math.random()+1).toString(36).substring(2))}),session:o(r,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(i).reduce((e,t)=>{let[r,i]=t;return n(n({},e),{},{[r]:s(i,{async:c(r)})})},{}))}function h(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');const t=o(e.getLayout);if(!t.qInfo||!t.qInfo.qId)throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(h);const t=e.map(d);return async e=>{const n=a(t,async t=>(await t.getLayout()).qInfo.qId===e);return Promise.resolve(n)}}function f(){return()=>Promise.resolve({id:"app-layout"})}return{fromGenericObjects:t=>{if(!Array.isArray(t)||0===t.length)throw new Error('No "genericObjects" specified');const n=new e,r=new i,o=new p(t),s=new f,a={id:"app - ".concat((Math.random()+1).toString(36).substring(2)),session:n,createSessionObject:r,getObject:o,getAppLayout:s};return Promise.resolve(a)}}}()},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let i=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function s(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;s(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function u(e){return null!==e&&"object"==typeof e}const c=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let d=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(a){t=a instanceof c?h(a.errors):[a]}}if(l(s)){let e=-1,n=s.length;for(;++e<n;){const n=s[e];if(u(n))try{n.unsubscribe()}catch(a){t=t||[],a instanceof c?t=t.concat(h(a.errors)):t.push(a)}}}if(t)throw new c(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function h(e){return e.reduce((e,t)=>e.concat(t instanceof c?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends d{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new f(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class m extends f{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let s=this;r(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==a&&(s=Object.create(t),r(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):s(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;s(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;s(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(s(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let v=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,i=function(e,t,n){if(e){if(e instanceof f)return e;if(e[p])return e[p]()}return e||t||n?new f(e,t,n):new f(a)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[y](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class E extends d{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class x extends f{constructor(e){super(e),this.destination=e}}let _=(()=>{class e extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),d.EMPTY):this.isStopped?(e.complete(),d.EMPTY):(this.observers.push(e),new E(this,e))}asObservable(){const e=new v;return e.source=this,e}}return e.create=(e,t)=>new S(e,t),e})();class S extends _{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):d.EMPTY}}function C(e){return e&&"function"==typeof e.schedule}function k(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(e,t))}}class T{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new O(e,this.project,this.thisArg))}}class O extends f{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const L=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const R=I(),P=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function N(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const A=e=>{if(e&&"function"==typeof e[y])return r=e,e=>{const t=r[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return L(e);if(N(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s),e);if(e&&"function"==typeof e[R])return t=e,e=>{const n=t[R]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=u(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,r};function D(e,t){return new v(n=>{const r=new d;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function M(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>{const i=e[y]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(N(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(P(e))return D(e,t);if(function(e){return e&&"function"==typeof e[R]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new v(n=>{const r=new d;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[R](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof v?e:new v(A(e))}class q extends f{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class j extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function F(e,t){if(!t.closed)return e instanceof v?e.subscribe(t):A(e)(t)}class z{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new B(e,this.project,this.concurrent))}}class B extends j{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new q(this),n=this.destination;n.add(t);const r=F(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function H(e,t){return t?D(e,t):new v(L(e))}function V(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return C(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof v?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(e((e,r)=>M(t(e,r)).pipe(k((t,i)=>n(e,t,r,i))),r)):("number"==typeof n&&(r=n),e=>e.lift(new z(t,r)))}(g,e)}(t)(H(e,n))}function W(){return function(e){return e.lift(new U(e))}}class U{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new $(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class $ extends f{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Q extends v{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new d,e.add(this.source.subscribe(new Z(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}refCount(){return W()(this)}}const K=(()=>{const e=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Z extends x{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function G(){return new _}function X(e){return{toString:e}.toString()}const J="__parameters__";function Y(e,t,n){return X(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(J)?e[J]:Object.defineProperty(e,J,{value:[]})[J];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const ee=Y("Inject",e=>({token:e})),te=Y("Optional"),ne=Y("Self"),re=Y("SkipSelf");var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function se(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function le(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ue(e){return ce(e,e[he])||ce(e,e[me])}function ce(e,t){return t&&t.token===e?t:null}function de(e){return e&&(e.hasOwnProperty(pe)||e.hasOwnProperty(ye))?e[pe]:null}const he=oe({"\u0275prov":oe}),pe=oe({"\u0275inj":oe}),fe=oe({"\u0275provFallback":oe}),me=oe({ngInjectableDef:oe}),ye=oe({ngInjectorDef:oe});function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const be=oe({__forward_ref__:oe});function we(e){return e.__forward_ref__=we,e.toString=function(){return ge(this())},e}function Ee(e){return xe(e)?e():e}function xe(e){return"function"==typeof e&&e.hasOwnProperty(be)&&e.__forward_ref__===we}const _e="undefined"!=typeof globalThis&&globalThis,Se="undefined"!=typeof window&&window,Ce="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ke="undefined"!=typeof global&&global,Te=_e||ke||Se||Ce,Oe=oe({"\u0275cmp":oe}),Le=oe({"\u0275dir":oe}),Ie=oe({"\u0275pipe":oe}),Re=oe({"\u0275mod":oe}),Pe=oe({"\u0275loc":oe}),Ne=oe({"\u0275fac":oe}),Ae=oe({__NG_ELEMENT_ID__:oe});class De{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ae({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Me=new De("INJECTOR",-1),qe={},je=/\n/gm,Fe="__source",ze=oe({provide:String,useValue:oe});let Be,He=void 0;function Ve(e){const t=He;return He=e,t}function We(e){const t=Be;return Be=e,t}function Ue(e,t=ie.Default){if(void 0===He)throw new Error("inject() must be called from an injection context");return null===He?Ke(e,void 0,t):He.get(e,t&ie.Optional?null:void 0,t)}function $e(e,t=ie.Default){return(Be||Ue)(Ee(e),t)}const Qe=$e;function Ke(e,t,n){const r=ue(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ie.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ge(e)}]`)}function Ze(e){const t=[];for(let n=0;n<e.length;n++){const r=Ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=ie.Default;for(let t=0;t<r.length;t++){const i=r[t];i instanceof te||"Optional"===i.ngMetadataName||i===te?n|=ie.Optional:i instanceof re||"SkipSelf"===i.ngMetadataName||i===re?n|=ie.SkipSelf:i instanceof ne||"Self"===i.ngMetadataName||i===ne?n|=ie.Self:e=i instanceof ee||i===ee?i.token:i}t.push($e(e,n))}else t.push($e(r))}return t}class Ge{get(e,t=qe){if(t===qe){const t=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw t.name="NullInjectorError",t}return t}}class Xe{}function Je(e,t){e.forEach(e=>Array.isArray(e)?Je(e,t):t(e))}function Ye(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function et(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var tt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),nt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const rt={},it=[];let ot=0;function st(e){return X(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===tt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||it,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nt.Emulated,id:"c",styles:e.styles||it,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ot++,n.inputs=dt(e.inputs,t),n.outputs=dt(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(at):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(lt):null,n})}function at(e){return pt(e)||function(e){return e[Le]||null}(e)}function lt(e){return function(e){return e[Ie]||null}(e)}const ut={};function ct(e){const t={type:e.type,bootstrap:e.bootstrap||it,declarations:e.declarations||it,imports:e.imports||it,exports:e.exports||it,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&X(()=>{ut[e.id]=e.type}),t}function dt(e,t){if(null==e)return rt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const ht=st;function pt(e){return e[Oe]||null}function ft(e,t){return e.hasOwnProperty(Ne)?e[Ne]:null}function mt(e,t){const n=e[Re]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}const yt=20,gt=10;function vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function bt(e){return Array.isArray(e)&&!0===e[1]}function wt(e){return 0!=(8&e.flags)}function Et(e){return null!==e.template}function xt(e){return 0!=(512&e[2])}class _t{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function St(){return Ct}function Ct(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tt),kt}function kt(){const e=Ot(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===rt)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Tt(e,t,n,r){const i=Ot(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:rt,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new _t(l&&l.currentValue,t,s===rt),e[r]=t}function Ot(e){return e.__ngSimpleChanges__||null}St.ngInherit=!0;let Lt=void 0;function It(e){return!!e.listen}const Rt={createRenderer:(e,t)=>void 0!==Lt?Lt:"undefined"!=typeof document?document:void 0};function Pt(e){for(;Array.isArray(e);)e=e[0];return e}function Nt(e,t){return Pt(t[e.index])}function At(e,t){const n=t[e];return vt(n)?n:n[0]}function Dt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Mt(e){return 4==(4&e[2])}function qt(e){return 128==(128&e[2])}function jt(e,t){return null===e||null==t?null:e[t]}function Ft(e){e[18]=0}function zt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Bt={lFrame:rn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ht(){return Bt.bindingsEnabled}function Vt(){return Bt.lFrame.lView}function Wt(){return Bt.lFrame.tView}function Ut(){return Bt.lFrame.previousOrParentTNode}function $t(e,t){Bt.lFrame.previousOrParentTNode=e,Bt.lFrame.isParent=t}function Qt(){return Bt.lFrame.isParent}function Kt(){return Bt.checkNoChangesMode}function Zt(e){Bt.checkNoChangesMode=e}function Gt(e,t){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xt(t)}function Xt(e){Bt.lFrame.currentDirectiveIndex=e}function Jt(){return Bt.lFrame.currentQueryIndex}function Yt(e){Bt.lFrame.currentQueryIndex=e}function en(e,t){const n=nn();Bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function tn(e,t){const n=nn(),r=e[1];Bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function nn(){const e=Bt.lFrame,t=null===e?null:e.child;return null===t?rn(e):t}function rn(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function on(){const e=Bt.lFrame;return Bt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const sn=on;function an(){const e=on();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ln(e){Bt.lFrame.selectedIndex=e}function un(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:s,ngOnDestroy:a}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),s&&((e.viewHooks||(e.viewHooks=[])).push(n,s),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,s)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function cn(e,t,n){pn(e,t,3,n)}function dn(e,t,n,r){(3&e[2])===n&&pn(e,t,n,r)}function hn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pn(e,t,n,r){const i=null!=r?r:-1;let o=0;for(let s=void 0!==r?65535&e[18]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=r&&o>=r)break}else t[s]<0&&(e[18]+=65536),(o<i||-1==i)&&(fn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function fn(e,t,n,r){const i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}class mn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const r=It(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];64===s.charCodeAt(0)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function gn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||vn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function vn(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function bn(e){return-1!==e}function wn(e){return 32767&e}function En(e){return e>>16}function xn(e,t){let n=En(e),r=t;for(;n>0;)r=r[15],n--;return r}function _n(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():function(e){return"string"==typeof e?e:null==e?"":""+e}(e)}const Sn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Te))();function Cn(e){return e instanceof Function?e():e}let kn=!0;function Tn(e){const t=kn;return kn=e,t}let On=0;function Ln(e,t){const n=Rn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,In(r.data,e),In(t,null),In(r.blueprint,null));const i=Pn(e,t),o=e.injectorIndex;if(bn(i)){const e=wn(i),n=xn(i,t),r=n[1].data;for(let i=0;i<8;i++)t[o+i]=n[e+i]|r[e+i]}return t[o+8]=i,o}function In(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Rn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],r=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Nn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ae)&&(r=n[Ae]),null==r&&(r=n[Ae]=On++);const i=255&r,o=1<<i,s=64&i,a=32&i,l=t.data;128&i?s?a?l[e+7]|=o:l[e+6]|=o:a?l[e+5]|=o:l[e+4]|=o:s?a?l[e+3]|=o:l[e+2]|=o:a?l[e+1]|=o:l[e]|=o}(e,t,n)}function An(e,t,n,r=ie.Default,i){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ae)?e[Ae]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof i){en(t,e);try{const e=i();if(null!=e||r&ie.Optional)return e;throw new Error(`No provider for ${_n(n)}!`)}finally{sn()}}else if("number"==typeof i){if(-1===i)return new Bn(e,t);let o=null,s=Rn(e,t),a=-1,l=r&ie.Host?t[16][6]:null;for((-1===s||r&ie.SkipSelf)&&(a=-1===s?Pn(e,t):t[s+8],zn(r,!1)?(o=t[1],s=wn(a),t=xn(a,t)):s=-1);-1!==s;){a=t[s+8];const e=t[1];if(Fn(i,s,e.data)){const e=Mn(s,t,n,o,r,l);if(e!==Dn)return e}zn(r,t[1].data[s+8]===l)&&Fn(i,s,t)?(o=e,s=wn(a),t=xn(a,t)):s=-1}}}if(r&ie.Optional&&void 0===i&&(i=null),0==(r&(ie.Self|ie.Host))){const e=t[9],o=We(void 0);try{return e?e.get(n,i,r&ie.Optional):Ke(n,i,r&ie.Optional)}finally{We(o)}}if(r&ie.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${_n(n)}]`)}const Dn={};function Mn(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],l=qn(a,s,n,null==r?function(e){return 2==(2&e.flags)}(a)&&kn:r!=s&&3===a.type,i&ie.Host&&o===a);return null!==l?jn(t,s,l,a):Dn}function qn(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,u=o>>20,c=i?a+u:e.directiveEnd;for(let d=r?a:a+u;d<c;d++){const e=s[d];if(d<l&&n===e||d>=l&&e.type===n)return d}if(i){const e=s[l];if(e&&Et(e)&&e.type===n)return l}return null}function jn(e,t,n,r){let i=e[n];const o=t.data;if(i instanceof mn){const s=i;if(s.resolving)throw new Error("Circular dep for "+_n(o[n]));const a=Tn(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=We(s.injectImpl)),en(e,r);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const r=Ct(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{s.injectImpl&&We(l),Tn(a),s.resolving=!1,sn()}}return i}function Fn(e,t,n){const r=64&e,i=32&e;let o;return o=128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t],!!(o&1<<e)}function zn(e,t){return!(e&ie.Self||e&ie.Host&&t)}class Bn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return An(this._tNode,this._lView,e,void 0,t)}}function Hn(e){const t=e;if(xe(e))return()=>{const e=Hn(Ee(t));return e?e():null};let n=ft(t);if(null===n){const e=de(t);n=e&&e.factory}return n||null}function Vn(e){return X(()=>{const t=e.prototype.constructor,n=t[Ne]||Hn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[Ne]||Hn(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function Wn(e){return e.ngDebugContext}function Un(e){return e.ngOriginalError}function $n(e,...t){e.error(...t)}class Qn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||$n}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Wn(e)?Wn(e):this._findContext(Un(e)):null}_findOriginalError(e){let t=Un(e);for(;t&&Un(t);)t=Un(t);return t}}let Kn=!0,Zn=!1;function Gn(){return Zn=!0,Kn}function Xn(e,t){e.__ngContext__=t}function Jn(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Yn(){throw new Error("Cannot mix multi providers and regular providers")}function er(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const tr="ng-template";function nr(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==er(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function rr(e){return 0===e.type&&e.tagName!==tr}function ir(e,t,n){return t===(0!==e.type||n?e.tagName:tr)}function or(e,t,n){let r=4;const i=e.attrs||[],o=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!ir(e,l,n)||""===l&&1===t.length){if(sr(r))return!1;s=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!nr(e.attrs,u,n)){if(sr(r))return!1;s=!0}continue}const c=ar(8&r?"class":l,i,rr(e),n);if(-1===c){if(sr(r))return!1;s=!0;continue}if(""!==u){let e;e=c>o?"":i[c+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==er(t,u,0)||2&r&&u!==e){if(sr(r))return!1;s=!0}}}}else{if(!s&&!sr(r)&&!sr(l))return!1;if(s&&sr(l))continue;s=!1,r=l|1&r}}return sr(r)||s}function sr(e){return 0==(1&e)}function ar(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function lr(e,t,n=!1){for(let r=0;r<t.length;r++)if(or(e,t[r],n))return!0;return!1}function ur(e,t){return e?":not("+t.trim()+")":t}function cr(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const t=e[++n];i+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||sr(s)||(t+=ur(o,i),i=""),r=s,o=o||!sr(r);n++}return""!==i&&(t+=ur(o,i)),t}const dr={};function hr(e){const t=e[3];return bt(t)?t[3]:t}function pr(e){return mr(e[13])}function fr(e){return mr(e[4])}function mr(e){for(;null!==e&&!bt(e);)e=e[4];return e}function yr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];Yt(i),n.contentQueries(2,t[o],o)}}}function gr(e,t,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function vr(e,t,n,r,i,o,s,a,l,u){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Ft(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[11]=a||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function br(e,t,n,r,i,o){const s=n+yt,a=e.data[s]||function(e,t,n,r,i,o){const s=Ut(),a=Qt(),l=a?s:s&&s.parent,u=e.data[n]=Tr(0,l&&l!==t?l:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=u),s&&(!a||null!=s.child||null===u.parent&&2!==s.type?a||(s.next=u):s.child=u),u}(e,t,s,r,i,o);return $t(a,!0),a}function wr(e,t,n){tn(t,t[6]);try{const r=e.viewQuery;null!==r&&Ur(1,r,n);const i=e.template;null!==i&&_r(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&yr(e,t),e.staticViewQueries&&Ur(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)Br(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,an()}}function Er(e,t,n,r){const i=t[2];if(256==(256&i))return;tn(t,t[6]);const o=Kt();try{Ft(t),Bt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&_r(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,null),hn(t,0)}if(function(e){for(let t=pr(e);null!==t;t=fr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&zt(r,1),n[2]|=1024}}}(t),function(e){for(let t=pr(e);null!==t;t=fr(t))for(let e=gt;e<t.length;e++){const n=t[e],r=n[1];qt(n)&&Er(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&yr(e,t),!o)if(s){const n=e.contentCheckHooks;null!==n&&cn(t,n)}else{const n=e.contentHooks;null!==n&&dn(t,n,1),hn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,i=-1,o=-1;for(let e=0;e<n.length;e++){const s=n[e];"number"==typeof s?s<=0?(o=0-s,ln(o),r+=9+n[++e],i=r):r+=s:(null!==s&&(Gt(r,i),s(2,t[i])),i++)}}}finally{ln(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)zr(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&Ur(2,l,r),!o)if(s){const n=e.viewCheckHooks;null!==n&&cn(t,n)}else{const n=e.viewHooks;null!==n&&dn(t,n,2),hn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,zt(t[3],-1))}finally{an()}}function xr(e,t,n,r){const i=t[10],o=!Kt(),s=Mt(t);try{o&&!s&&i.begin&&i.begin(),s&&wr(e,t,r),Er(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function _r(e,t,n,r,i){const o=Bt.lFrame.selectedIndex;try{ln(-1),2&r&&t.length>yt&&function(e,t,n,r){if(!r)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,0)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,0)}ln(0)}(e,t,0,Kt()),n(r,i)}finally{ln(o)}}function Sr(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cr(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Cr(e,t,n,r,i,o,s,a,l,u){const c=yt+r,d=c+i,h=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:dr);return n}(c,d),p="function"==typeof u?u():u;return h[1]={type:e,id:t,blueprint:h,template:n,queries:null,viewQuery:a,node:null,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function kr(e,t,n,r){const i=(o=t)[7]||(o[7]=[]);var o;i.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,i.length-1)}function Tr(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Or(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Lr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Ir(e,t,n){for(let r=0;r<n;r++)t.push(dr),e.blueprint.push(dr),e.data.push(null)}function Rr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Pr(e,t,n){const r=yt-t.index,i=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Nr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ar(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Et(t)&&(n[""]=e)}}function Dr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Mr(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ft(n.type)),i=new mn(r,Et(n),null);e.blueprint.push(i),t.push(i)}function qr(e,t,n){const r=Nt(t,e),i=Sr(n),o=e[10],s=Hr(e,vr(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=s}function jr(e,t,n,r,i,o){const s=o[t];if(null!==s){const e=r.setInput;for(let t=0;t<s.length;){const i=s[t++],o=s[t++],a=s[t++];null!==e?r.setInput(n,a,i,o):n[o]=a}}}function Fr(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function zr(e,t){const n=At(t,e);if(qt(n)){const e=n[1];80&n[2]?Er(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=pr(t);null!==r;r=fr(r))for(let t=gt;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];Er(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=At(n[r],t);qt(i)&&i[5]>0&&e(i)}}(n)}}function Br(e,t){const n=At(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),wr(r,n,n[8])}function Hr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Vr(e,t,n){const r=t[10];r.begin&&r.begin();try{Er(e,t,e.template,n)}catch(i){throw function(e,t){const n=e[9],r=n?n.get(Qn,null):null;r&&r.handleError(t)}(t,i),i}finally{r.end&&r.end()}}function Wr(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Dt(n),i=r[1];xr(i,r,i.template,n)}}(e[8])}function Ur(e,t,n){Yt(0),t(e,n)}const $r=(()=>Promise.resolve(null))();function Qr(e,t){const n=t[3];return-1===e.index?bt(n)?n:null:n}function Kr(e,t){const n=Qr(e,t);return n?oi(t[11],n[7]):null}function Zr(e,t,n,r,i){if(null!=r){let o,s=!1;bt(r)?o=r:vt(r)&&(s=!0,r=r[0]);const a=Pt(r);0===e&&null!==n?null==i?ri(t,n,a):ni(t,n,a,i||null):1===e&&null!==n?ni(t,n,a,i||null):2===e?function(e,t,n){const r=oi(e,t);r&&function(e,t,n,r){It(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){const o=n[7];o!==Pt(n)&&Zr(t,e,r,o,i);for(let s=gt;s<n.length;s++){const i=n[s];ui(i[1],i,e,t,r,o)}}(t,e,o,n,i)}}function Gr(e,t,n,r){const i=Kr(e.node,t);i&&ui(e,t,t[11],n?1:2,i,r)}function Xr(e,t){const n=e[9],r=n.indexOf(t);1024&t[2]&&zt(t[3],-1),n.splice(r,1)}function Jr(e,t){if(e.length<=gt)return;const n=gt+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Xr(i,r),t>0&&(e[n-1][4]=r[4]);const o=et(e,gt+t);Gr(r[1],r,!1,null);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Yr(e,t){if(!(256&t[2])){const n=t[11];It(n)&&n.destroyNode&&ui(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ti(e[1],e);for(;t;){let n=null;if(vt(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)vt(t)&&ti(t[1],t),t=ei(t,e);null===t&&(t=e),vt(t)&&ti(t[1],t),n=t&&t[4]}t=n}}(t)}}function ei(e,t){let n;return vt(e)&&(n=e[6])&&2===n.type?Qr(n,e):e[3]===t?null:e[3]}function ti(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof mn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],o="function"==typeof i?i(t):Pt(t[i]),s=e[n[r+2]],a=n[r+3];"boolean"==typeof a?o.removeEventListener(n[r],s,a):a>=0?e[a]():e[-a].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&It(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&bt(t[3])){r!==t[3]&&Xr(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function ni(e,t,n,r){It(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ri(e,t,n){It(e)?e.appendChild(t,n):t.appendChild(n)}function ii(e,t,n,r){null!==r?ni(e,t,n,r):ri(e,t,n)}function oi(e,t){return It(e)?e.parentNode(t):t.parentNode}function si(e,t,n,r){const i=function(e,t,n){let r=t.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){const e=n[6];return 2===e.type?Kr(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Nt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==nt.ShadowDom&&n!==nt.Native)return null}return Nt(r,n)}(e,r,t);if(null!=i){const e=t[11],o=function(e,t){if(2===e.type){const n=Qr(e,t);return null===n?null:ai(n.indexOf(t,gt)-gt,n)}return 4===e.type||5===e.type?Nt(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)ii(e,i,n[t],o);else ii(e,i,n,o)}}function ai(e,t){const n=gt+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){const r=n.type;if(3===r)return Nt(n,t);if(0===r)return ai(-1,t[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return e(t,r);{const e=t[n.index];return bt(e)?ai(-1,e):Pt(e)}}{const r=t[16],i=r[6],o=hr(r),s=i.projection[n.projection];return null!=s?e(o,s):e(t,n.next)}}return null}(e,r)}return t[7]}function li(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;s&&0===t&&(a&&Xn(Pt(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(li(e,t,n.child,r,i,o,!1),Zr(t,e,i,a,o)):1===l?ci(e,t,r,n,i,o):Zr(t,e,i,a,o)),n=s?n.projectionNext:n.next}}function ui(e,t,n,r,i,o){li(n,r,e.node.child,t,i,o,!1)}function ci(e,t,n,r,i,o){const s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Zr(t,e,i,a[l],o);else li(e,t,a,s[3],i,o,!0)}function di(e,t,n){It(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function hi(e,t,n){It(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class pi{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,r,i,o=!1){for(;null!==r;){const s=n[r.index];if(null!==s&&i.push(Pt(s)),bt(s))for(let t=gt;t<s.length;t++){const n=s[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,i)}const a=r.type;if(4===a||5===a)e(t,n,r.child,i);else if(1===a){const t=n[16],o=t[6].projection[r.projection];if(Array.isArray(o))i.push(...o);else{const n=hr(t);e(n[1],n,o,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}onDestroy(e){kr(this._lView[1],this._lView,null,e)}markForCheck(){!function(e){for(;e;){e[2]|=64;const t=hr(e);if(xt(e)&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Zt(!0);try{Vr(e,t,n)}finally{Zt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,ui(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class fi extends pi{constructor(e){super(e),this._view=e}detectChanges(){Wr(this._view)}checkNoChanges(){!function(e){Zt(!0);try{Wr(e)}finally{Zt(!1)}}(this._view)}get context(){return null}}let mi,yi,gi;function vi(e,t,n){return mi||(mi=class extends e{}),new mi(Nt(t,n))}function bi(e,t,n,r){return yi||(yi=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=vr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),wr(t,n,e),new pi(n)}}),0===n.type?new yi(r,n,vi(t,n,r)):null}function wi(e,t,n,r){let i;gi||(gi=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return vi(t,this._hostTNode,this._hostView)}get injector(){return new Bn(this._hostTNode,this._hostView)}get parentInjector(){const e=Pn(this._hostTNode,this._hostView),t=xn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let r=En(e),i=t,o=t[6];for(;r>1;)i=i[15],o=i[6],r--;return o}(e,this._hostView,this._hostTNode);return bn(e)&&null!=n?new Bn(n,t):new Bn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-gt}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){const e=o.get(Xe,null);e&&(i=e)}const s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),bt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new gi(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t);return function(e,t,n,r){const i=gt+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-gt?(t[4]=n[i],Ye(n,gt+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,this._lContainer,i),Gr(r,n,!0,ai(i,this._lContainer)),e.attachToViewContainerRef(this),Ye(this._lContainer[8],i,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);n&&(et(this._lContainer[8],t),Yr(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);return n&&null!=et(this._lContainer[8],t)?new pi(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(bt(o))i=o;else{let e;if(4===n.type)e=Pt(o);else if(e=r[11].createComment(""),xt(r)){const t=r[11],i=Nt(n,r);ni(t,oi(t,i),e,function(e,t){return It(e)?e.nextSibling(t):t.nextSibling}(t,i))}else si(r[1],r,e,n);r[n.index]=i=new Array(o,!0,!1,r,null,0,n,e,null,null),Hr(r,i)}return new gi(i,n,r)}const Ei=new De("Set Injector scope."),xi={},_i={},Si=[];let Ci=void 0;function ki(){return void 0===Ci&&(Ci=new Ge),Ci}function Ti(e,t=null,n=null,r){return new Oi(e,n,t||ki(),r)}class Oi{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&Je(t,n=>this.processProvider(n,e,t)),Je([e],e=>this.processInjectorType(e,[],i)),this.records.set(Me,Ii(void 0,this));const o=this.records.get(Ei);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:ge(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=qe,n=ie.Default){this.assertNotDestroyed();const r=Ve(this);try{if(!(n&ie.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof De)&&ue(e);t=n&&this.injectableDefInScope(n)?Ii(Li(e),xi):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ie.Self?ki():this.parent).get(e,t=n&ie.Optional&&t===qe?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ge(e)),r)throw o;return function(e,t,n,r){const i=e.ngTempTokenPath;throw t[Fe]&&i.unshift(t[Fe]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ge(t);if(Array.isArray(t))i=t.map(ge).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ge(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(je,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{Ve(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ge(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=Ee(e)))return!1;let r=de(e);const i=null==r&&e.ngModule||void 0,o=void 0===i?e:i,s=-1!==n.indexOf(o);if(void 0!==i&&(r=de(i)),null==r)return!1;if(null!=r.imports&&!s){let e;n.push(o);try{Je(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Je(r,e=>this.processProvider(e,n,r||Si))}}this.injectorDefTypes.add(o),this.records.set(o,Ii(r.factory,xi));const a=r.providers;if(null!=a&&!s){const t=e;Je(a,e=>this.processProvider(e,t,a))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=Pi(e=Ee(e))?e:Ee(e&&e.provide);const i=function(e,t,n){return Ri(e)?Ii(void 0,e.useValue):Ii(function(e,t,n){let r=void 0;if(Pi(e)){const t=Ee(e);return ft(t)||Li(t)}if(Ri(e))r=()=>Ee(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(...Ze(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>$e(Ee(e.useExisting));else{const i=Ee(e&&(e.useClass||e.provide));if(i||function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${ge(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return ft(i)||Li(i);r=()=>new i(...Ze(e.deps))}var i;return r}(e,t,n),xi)}(e,t,n);if(Pi(e)||!0!==e.multi){const e=this.records.get(r);e&&void 0!==e.multi&&Yn()}else{let t=this.records.get(r);t?void 0===t.multi&&Yn():(t=Ii(void 0,xi,!0),t.factory=()=>Ze(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===_i?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(ge(e)):t.value===xi&&(t.value=_i,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Li(e){const t=ue(e),n=null!==t?t.factory:ft(e);if(null!==n)return n;const r=de(e);if(null!==r)return r.factory;if(e instanceof De)throw new Error(`Token ${ge(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${ge(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[he]||e[me]||e[fe]&&e[fe]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ii(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ri(e){return null!==e&&"object"==typeof e&&ze in e}function Pi(e){return"function"==typeof e}const Ni=function(e,t,n){return function(e,t=null,n=null,r){const i=Ti(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};let Ai=(()=>{class e{static create(e,t){return Array.isArray(e)?Ni(e,t,""):Ni(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=qe,e.NULL=new Ge,e.\u0275prov=ae({token:e,providedIn:"any",factory:()=>$e(Me)}),e.__NG_ELEMENT_ID__=-1,e})();function Di(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const e=t[s];"number"==typeof e?o=e:1==o?i=ve(i,e):2==o&&(r=ve(r,e+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}let Mi=null;function qi(){if(!Mi){const e=Te.Symbol;if(e&&e.iterator)Mi=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Mi=n)}}}return Mi}function ji(e){return!!Fi(e)&&(Array.isArray(e)||!(e instanceof Map)&&qi()in e)}function Fi(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function zi(e,t=ie.Default){const n=Vt();return null==n?$e(e,t):An(Ut(),n,Ee(e),t)}function Bi(e,t,n,r,i){const o=i?"class":"style";!function(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=t[s],u=e.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}(e,n,t.inputs[o],o,r)}function Hi(e,t,n,r){const i=Vt(),o=Wt(),s=yt+e,a=i[11],l=i[s]=gr(t,a,Bt.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,r,i,o,s){const a=t.consts,l=jt(a,o),u=br(t,n[6],e,3,i,l);return function(e,t,n,r){let i=!1;if(Ht()){const o=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];lr(n,s.selectors,!1)&&(i||(i=[]),Nn(Ln(n,t),e,s.type),Et(s)?(2&n.flags&&Jn(n),Nr(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){let r=0;i=!0,Dr(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}Pr(e,n,o.length);let a=!1,l=!1;for(let i=0;i<o.length;i++){const u=o[i];n.mergedAttrs=gn(n.mergedAttrs,u.hostAttrs),Mr(e,t,u),Ar(e.data.length-1,u,s),null!==u.contentQueries&&(n.flags|=8),null===u.hostBindings&&null===u.hostAttrs&&0===u.hostVars||(n.flags|=128);const c=u.type.prototype;!a&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-yt),a=!0),l||!c.ngOnChanges&&!c.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-yt),l=!0),Lr(e,u),r+=u.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,i=t.attrs,o=[];let s=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,u=null===i||rr(t)?null:Fr(n,i);o.push(u),s=Or(n,l,s),a=Or(e.outputs,l,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n),Ir(e,t,r)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,s)}n.mergedAttrs=gn(n.mergedAttrs,n.attrs)}(t,n,u,jt(a,s)),null!==u.attrs&&Di(u,u.attrs,!1),null!==u.mergedAttrs&&Di(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,o,i,0,t,n,r):o.data[s];$t(u,!0);const c=u.mergedAttrs;null!==c&&yn(a,l,c);const d=u.classes;null!==d&&hi(a,l,d);const h=u.styles;null!==h&&di(a,l,h),si(o,i,l,u),0===Bt.lFrame.elementDepthCount&&Xn(l,i),Bt.lFrame.elementDepthCount++,function(e){return 1==(1&e.flags)}(u)&&(function(e,t,n){Ht()&&(function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Ln(n,t),Xn(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const r=e.data[a],o=Et(r);o&&qr(t,n,r);const l=jn(t,e,a,n);Xn(l,t),null!==s&&jr(0,a-i,l,r,0,s),o&&(At(n.index,t)[8]=l)}}(e,t,n,Nt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,s=e.firstCreatePass,a=n.index-yt,l=Bt.lFrame.currentDirectiveIndex;try{ln(a);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];Xt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Rr(r,i):s&&o.push(null)}}finally{ln(-1),Xt(l)}}(e,t,n))}(o,i,u),function(e,t,n){if(wt(t)){const r=t.directiveEnd;for(let i=t.directiveStart;i<r;i++){const t=e.data[i];t.contentQueries&&t.contentQueries(1,n[i],i)}}}(o,u,i)),null!==r&&function(e,t,n=Nt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}(i,u)}function Vi(){let e=Ut();Qt()?Bt.lFrame.isParent=!1:(e=e.parent,$t(e,!1));const t=e;Bt.lFrame.elementDepthCount--;const n=Wt();n.firstCreatePass&&(un(n,e),wt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Bi(n,t,Vt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Bi(n,t,Vt(),t.stylesWithoutHost,!1)}function Wi(e,t,n,r){Hi(e,t,n,r),Vi()}function Ui(e){return!!e&&"function"==typeof e.then}function $i(e,t){const n=Dt(e)[1],r=n.data.length-1;un(n,{directiveStart:r,directiveEnd:r+1})}function Qi(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const r=[e];for(;t;){let i=void 0;if(Et(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;t.inputs=Ki(e.inputs),t.declaredInputs=Ki(e.declaredInputs),t.outputs=Ki(e.outputs);const n=i.hostBindings;n&&Xi(e,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Zi(e,o),s&&Gi(e,s),se(e.inputs,i.inputs),se(e.declaredInputs,i.declaredInputs),se(e.outputs,i.outputs),Et(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===Qi&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=gn(i.hostAttrs,n=gn(n,i.hostAttrs))}}(r)}function Ki(e){return e===rt?{}:e===it?[]:e}function Zi(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Gi(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Xi(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}class Ji{}class Yi{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ge(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let eo=(()=>{class e{}return e.NULL=new Yi,e})(),to=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>no(e),e})();const no=function(e){return vi(e,Ut(),Vt())};class ro{}var io=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let oo=(()=>{class e{}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>null}),e})();class so{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const ao=new so("10.1.0");class lo{constructor(){}supports(e){return ji(e)}create(e){return new co(e)}}const uo=(e,t)=>t;class co{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||uo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<mo(n,r,i)?t:n,s=mo(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=s-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ji(e))throw new Error(`Error trying to diff '${ge(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[qi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new ho(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new fo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class ho{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class po{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class fo{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new po,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function mo(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class yo{constructor(){}supports(e){return e instanceof Map||Fi(e)}create(){return new go}}class go{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Fi(e)))throw new Error(`Error trying to diff '${ge(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new vo(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class vo{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let bo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>new e([new lo])}),e})(),wo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>new e([new yo])}),e})();const Eo=[new yo],xo=new bo([new lo]),_o=new wo(Eo);let So=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Co(e,to),e})();const Co=function(e,t){return bi(e,t,Ut(),Vt())};let ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>To(e,to),e})();const To=function(e,t){return wi(e,t,Ut(),Vt())},Oo={};class Lo extends eo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=pt(e);return new Po(t,this.ngModule)}}function Io(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Ro=new De("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Sn});class Po extends Ji{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(cr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Io(this.componentDef.inputs)}get outputs(){return Io(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const o=e.get(n,Oo,i);return o!==Oo||r===Oo?o:t.get(n,r,i)}}}(e,r.injector):e,o=i.get(ro,Rt),s=i.get(oo,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(e,t,n){if(It(e))return e.selectRootElement(t,n===nt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(a,n,this.componentDef.encapsulation):gr(l,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,d={components:[],scheduler:Sn,clean:$r,playerHandler:null,flags:0},h=Cr(0,-1,null,1,0,null,null,null,null,null),p=vr(null,h,d,c,null,null,o,a,s,i);let f,m;tn(p,null);try{const e=function(e,t,n,r,i,o){const s=n[1];n[20]=e;const a=br(s,null,0,3,null,null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Di(a,l,!0),null!==e&&(yn(i,e,l),null!==a.classes&&hi(i,e,a.classes),null!==a.styles&&di(i,e,a.styles)));const u=r.createRenderer(e,t),c=vr(n,Sr(t),null,t.onPush?64:16,n[20],a,r,u,void 0);return s.firstCreatePass&&(Nn(Ln(a,n),s,t.type),Nr(s,a),Dr(a,n.length,1)),Hr(n,c),n[20]=c}(u,this.componentDef,p,o,a);if(u)if(n)yn(a,u,["ng-version",ao.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!sr(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(a,u,e),t&&t.length>0&&hi(a,u,t.join(" "))}if(m=h.data[20],void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=function(e,t,n,r,i){const o=n[1],s=function(e,t,n){const r=Ut();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Pr(e,r,1),Mr(e,t,n));const i=jn(t,e,t.length-1,r);Xn(i,t);const o=Nt(r,t);return o&&Xn(o,t),i}(o,n,t);r.components.push(s),e[8]=s,i&&i.forEach(e=>e(s,t)),t.contentQueries&&t.contentQueries(1,s,n.length-1);const a=Ut();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){ln(a.index-yt);const e=n[1];Lr(e,t),Ir(e,n,t.hostVars),Rr(t,s)}return s}(e,this.componentDef,p,d,[$i]),wr(h,p,null)}finally{an()}const y=new No(this.componentType,f,vi(to,m,p),p,m);return h.node.child=m,y}}class No extends class{}{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new fi(r),function(e,t,n,r){let i=e.node;null==i&&(e.node=i=Tr(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=e}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const Ao=void 0;var Do=["en",[["a","p"],["AM","PM"],Ao],[["AM","PM"],Ao,Ao],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ao,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ao,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ao,"{1} 'at' {0}",Ao],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Mo={};function qo(e){return e in Mo||(Mo[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),Mo[e]}var jo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Fo="en-US";let zo=Fo;function Bo(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(zo=e.toLowerCase().replace(/_/g,"-"))}const Ho=new Map;class Vo extends Xe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Lo(this);const n=mt(e),r=e[Pe]||null;r&&Bo(r),this._bootstrapComponents=Cn(n.bootstrap),this._r3Injector=Ti(e,t,[{provide:Xe,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],ge(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ai.THROW_IF_NOT_FOUND,n=ie.Default){return e===Ai||e===Xe||e===Me?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Wo extends class{}{constructor(e){super(),this.moduleType=e,null!==mt(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ge(t)} vs ${ge(t.name)}`)})(e,Ho.get(e),t),Ho.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Vo(this.moduleType,e)}}const Uo=class extends _{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,i,o);return e instanceof d&&e.add(s),s}};function $o(){return this._results[qi()]()}class Qo{constructor(){this.dirty=!0,this._results=[],this.changes=new Uo,this.length=0;const e=qi(),t=Qo.prototype;t[e]||(t[e]=$o)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Ko{constructor(e){this.queryList=e,this.matches=null}clone(){return new Ko(this.queryList)}setDirty(){this.queryList.setDirty()}}class Zo{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new Zo(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==os(e,t).matches&&this.queries[t].setDirty()}}class Go{constructor(e,t,n,r=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}class Xo{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new Xo(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Jo{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Jo(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,Yo(t,i)),this.matchTNodeWithReadOption(e,t,qn(t,e,i,!1,!1))}else n===So?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,qn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===to||r===ko||r===So&&0===t.type)this.addMatch(t.index,-2);else{const n=qn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Yo(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function es(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?vi(to,e,t):0===e.type?bi(So,to,e,t):null}(t,e):-2===n?function(e,t,n){return n===to?vi(to,t,e):n===So?bi(So,to,t,e):n===ko?wi(ko,to,t,e):void 0}(e,t,r):jn(e,e[1],n,t)}function ts(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,o=n.matches,s=[];for(let e=0;e<o.length;e+=2){const i=o[e];s.push(i<0?null:es(t,r[i],o[e+1],n.metadata.read))}i.matches=s}return i.matches}function ns(e){const t=Vt(),n=Wt(),r=Jt();Yt(r+1);const i=os(n,r);if(e.dirty&&Mt(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?function e(t,n,r,i){const o=t.queries.getByIndex(r),s=o.matches;if(null!==s){const a=ts(t,n,o,r);for(let t=0;t<s.length;t+=2){const r=s[t];if(r>0)i.push(a[t/2]);else{const o=s[t+1],a=n[-r];for(let t=gt;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,o,i)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,o,i)}}}}}return i}(n,t,r,[]):ts(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function rs(e,t,n){!function(e,t,n,r,i,o){e.firstCreatePass&&function(e,t,n){null===e.queries&&(e.queries=new Xo),e.queries.track(new Jo(t,-1))}(e,new Go(n,r,false,i)),function(e,t){const n=new Qo;kr(e,t,n,n.destroy),null===t[19]&&(t[19]=new Zo),t[19].queries.push(new Ko(n))}(e,t)}(Wt(),Vt(),e,t,n)}function is(){return e=Vt(),t=Jt(),e[19].queries[t].queryList;var e,t}function os(e,t){return e.queries.getByIndex(t)}const ss=new De("Application Initializer");let as=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Ui(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)($e(ss,8))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const ls=new De("AppId"),us={provide:ls,useFactory:function(){return`${cs()}${cs()}${cs()}`},deps:[]};function cs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ds=new De("Platform Initializer"),hs=new De("Platform ID"),ps=new De("appBootstrapListener");let fs=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const ms=new De("LocaleId"),ys=new De("DefaultCurrencyCode");class gs{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const vs=function(e){return new Wo(e)},bs=vs,ws=function(e){return Promise.resolve(vs(e))},Es=function(e){const t=vs(e),n=Cn(mt(e).declarations).reduce((e,t)=>{const n=pt(t);return n&&e.push(new Po(n)),e},[]);return new gs(t,n)},xs=Es,_s=function(e){return Promise.resolve(Es(e))};let Ss=(()=>{class e{constructor(){this.compileModuleSync=bs,this.compileModuleAsync=ws,this.compileModuleAndAllComponentsSync=xs,this.compileModuleAndAllComponentsAsync=_s}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const Cs=(()=>Promise.resolve(0))();function ks(e){"undefined"==typeof Zone?Cs.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ts{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Uo(!1),this.onMicrotaskEmpty=new Uo(!1),this.onStable=new Uo(!1),this.onError=new Uo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=Te.requestAnimationFrame,t=Te.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rs(e),Is(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rs(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,i,o,s,a)=>{try{return Ps(e),n.invokeTask(i,o,s,a)}finally{t&&"eventTask"===o.type&&t(),Ns(e)}},onInvoke:(t,n,r,i,o,s,a)=>{try{return Ps(e),t.invoke(r,i,o,s,a)}finally{Ns(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Rs(e),Is(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ts.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ts.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ls,Os,Os);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Os(){}const Ls={};function Is(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Rs(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Ps(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ns(e){e._nesting--,Is(e)}class As{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Uo,this.onMicrotaskEmpty=new Uo,this.onStable=new Uo,this.onError=new Uo}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Ds=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ts.assertNotInAngularZone(),ks(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ks(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)($e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ms=(()=>{class e{constructor(){this._applications=new Map,Fs.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Fs.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class qs{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let js,Fs=new qs;const zs=new De("AllowMultipleToken");function Bs(e,t,n=[]){const r="Platform: "+t,i=new De(r);return(t=[])=>{let o=Hs();if(!o||o.injector.get(zs,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:Ei,useValue:"platform"});!function(e){if(js&&!js.destroyed&&!js.injector.get(zs,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");js=e.get(Vs);const t=e.get(ds,null);t&&t.forEach(e=>e())}(Ai.create({providers:e,name:r}))}return function(e){const t=Hs();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Hs(){return js&&!js.destroyed?js:null}let Vs=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new As:("zone.js"===e?void 0:e)||new Ts({enableLongStackTrace:Gn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Ts,useValue:n}];return n.run(()=>{const t=Ai.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get(Qn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>$s(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return Ui(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=i.injector.get(as);return e.runInitializers(),e.donePromise.then(()=>(Bo(i.injector.get(ms,Fo)||Fo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=Ws({},t);return function(e,t,n){const r=new Wo(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Us);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ge(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)($e(Ai))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();function Ws(e,t){return Array.isArray(t)?t.reduce(Ws,e):Object.assign(Object.assign({},e),t)}let Us=(()=>{class e{constructor(e,t,n,r,i,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Gn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new v(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new v(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ts.assertNotInAngularZone(),ks(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ts.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=V(s,a.pipe(e=>{return W()((t=G,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,K);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Ji?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Xe),i=n.create(Ai.NULL,[],t||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(Ds,null);return o&&i.injector.get(Ms).registerApplication(i.location.nativeElement,o),this._loadComponent(i),Gn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;$s(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ps,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),$s(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)($e(Ts),$e(fs),$e(Ai),$e(Qn),$e(eo),$e(as))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();function $s(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Qs=Bs(null,"core",[{provide:hs,useValue:"unknown"},{provide:Vs,deps:[Ai]},{provide:Ms,deps:[]},{provide:fs,deps:[]}]),Ks=[{provide:Us,useClass:Us,deps:[Ts,fs,Ai,Qn,eo,as]},{provide:Ro,deps:[Ts],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:as,useClass:as,deps:[[new te,ss]]},{provide:Ss,useClass:Ss,deps:[]},us,{provide:bo,useFactory:function(){return xo},deps:[]},{provide:wo,useFactory:function(){return _o},deps:[]},{provide:ms,useFactory:function(e){return Bo(e=e||"undefined"!=typeof $localize&&$localize.locale||Fo),e},deps:[[new ee(ms),new te,new re]]},{provide:ys,useValue:"USD"}];let Zs=(()=>{class e{constructor(e){}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Us))},providers:Ks}),e})();class Gs extends d{constructor(e,t){super()}schedule(e,t=0){return this}}class Xs extends Gs{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Js=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class Ys extends Js{constructor(e,t=Js.now){super(e,()=>Ys.delegate&&Ys.delegate!==this?Ys.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Ys.delegate&&Ys.delegate!==this?Ys.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}function ea(e,t){return function(n){return n.lift(new ta(e,t))}}class ta{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new na(e,this.predicate,this.thisArg))}}class na extends f{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}class ra{constructor(e){this.project=e}call(e,t){return t.subscribe(new ia(e,this.project))}}class ia extends j{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new q(this),r=this.destination;r.add(n),this.innerSubscription=F(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}class oa extends Xs{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}class sa extends Ys{}const aa=new sa(oa),la=new v(e=>e.complete());let ua=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return function(...e){let t=e[e.length-1];return C(t)?(e.pop(),D(e,t)):H(e)}(this.value);case"E":return e=this.error,new v(t=>t.error(e));case"C":return la}var e;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class ca extends f{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(ca.dispatch,this.delay,new da(e,this.destination)))}_next(e){this.scheduleMessage(ua.createNext(e))}_error(e){this.scheduleMessage(ua.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(ua.createComplete()),this.unsubscribe()}}class da{constructor(e,t){this.notification=e,this.destination=t}}class ha extends _{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new pa(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let o;if(this.closed)throw new w;if(this.isStopped||this.hasError?o=d.EMPTY:(this.observers.push(e),o=new E(this,e)),r&&e.add(e=new ca(e,r)),t)for(let s=0;s<i&&!e.closed;s++)e.next(n[s]);else for(let s=0;s<i&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||aa).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let o=0;for(;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}class pa{constructor(e,t){this.time=e,this.value=t}}let fa=null;function ma(){return fa}const ya=new De("DocumentToken");var ga=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class va{}let ba,wa=(()=>{class e extends va{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=qo(t);if(n)return n;const r=t.split("-")[0];if(n=qo(r),n)return n;if("en"===r)return Do;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[jo.PluralCase]}(t||this.locale)(e)){case ga.Zero:return"zero";case ga.One:return"one";case ga.Two:return"two";case ga.Few:return"few";case ga.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)($e(ms))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ea=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[{provide:va,useClass:wa}]}),e})();function xa(e){return"browser"===e}function _a(e){return"server"===e}try{ba="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(yh){ba=!1}let Sa=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?xa(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ba)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)($e(hs))},e.\u0275prov=ae({factory:function(){return new e($e(hs))},token:e,providedIn:"root"}),e})(),Ca=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)}}),e})();const ka=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Ta=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window,t="cdk-overlay-container";if(e||ka){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const n=this._document.createElement("div");n.classList.add(t),ka?n.setAttribute("platform","test"):e||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return e.\u0275fac=function(t){return new(t||e)($e(ya),$e(Sa))},e.\u0275prov=ae({factory:function(){return new e($e(ya),$e(Sa))},token:e,providedIn:"root"}),e})();const Oa=(()=>{const e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector})(),La={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return La.schedule(e,0);if(void 0===window.requestAnimationFrame)return La.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};function Ia(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){return Oa.call(e,t)}(e,t)||(r=n,0))),r}class Ra{constructor(e,t){this.componentFactory=t.get(eo).resolveComponentFactory(e)}create(e){return new Pa(this.componentFactory,e)}}class Pa{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new ha(1),this.events=this.eventEmitters.pipe(function e(t,n){return"function"==typeof n?r=>r.pipe(e((e,r)=>M(t(e,r)).pipe(k((t,i)=>n(e,t,r,i))))):e=>e.lift(new ra(t))}(e=>V(...e))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(Ts),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=La.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Ai.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((e,t)=>"*"===e&&(i=t,!0));for(let o=0,s=n.length;o<s;++o){const e=n[o],s=Ia(e,t,i);-1!==s&&r[s].push(e)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Us).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.implementsOnChanges&&this.unchangedInputs.add(e),this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(k(e=>({name:n,value:e}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=La.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const r=this.unchangedInputs.has(e);this.unchangedInputs.delete(e);const i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new _t(i,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class Na extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Aa(e,t){e.forEach(({propName:e})=>{Object.defineProperty(t,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})}class Da extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Da,fa||(fa=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=qa||(qa=document.querySelector("base"),qa)?qa.getAttribute("href"):null;return null==t?null:(n=t,Ma||(Ma=document.createElement("a")),Ma.setAttribute("href",n),"/"===Ma.pathname.charAt(0)?Ma.pathname:"/"+Ma.pathname);var n}resetBaseElement(){qa=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,e)}}let Ma,qa=null;const ja=new De("TRANSITION_ID"),Fa=[{provide:ss,useFactory:function(e,t,n){return()=>{n.get(as).donePromise.then(()=>{const n=ma();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[ja,ya,Ai],multi:!0}];class za{static init(){!function(e){Fs=e}(new za)}addToWindow(e){Te.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Te.getAllAngularTestabilities=()=>e.getAllTestabilities(),Te.getAllAngularRootElements=()=>e.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(e=>{const t=Te.getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?ma().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Ba=new De("EventManagerPlugins");let Ha=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)($e(Ba),$e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Va{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=ma().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Wa=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ua=(()=>{class e extends Wa{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>ma().remove(e))}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const $a={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Qa=/%COMP%/g;function Ka(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Ka(e,i,n):(i=i.replace(Qa,e),n.push(i))}return n}function Za(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ga=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Xa(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case nt.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ja(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case nt.Native:case nt.ShadowDom:return new Ya(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Ka(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)($e(Ha),$e(Ua),$e(ls))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Xa{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS($a[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=$a[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=$a[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&io.DashCase?e.style.setProperty(t,n,r&io.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&io.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Za(n)):this.eventManager.addEventListener(e,t,Za(n))}}class Ja extends Xa{constructor(e,t,n,r){super(e),this.component=n;const i=Ka(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Qa,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Qa,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Ya extends Xa{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===nt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=Ka(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const e=document.createElement("style");e.textContent=i[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let el=(()=>{class e extends Va{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const tl=["alt","control","meta","shift"],nl={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rl={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},il={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ol=(()=>{class e extends Va{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ma().onAndCancel(t,i.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=e._normalizeKey(n.pop());let o="";if(tl.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=r,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&rl.hasOwnProperty(t)&&(t=rl[t]))}return nl[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),tl.forEach(r=>{r!=n&&(0,il[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return i=>{e.getEventFullKey(i)===t&&r.runGuarded(()=>n(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const sl=Bs(Qs,"browser",[{provide:hs,useValue:"browser"},{provide:ds,useValue:function(){Da.makeCurrent(),za.init()},multi:!0},{provide:ya,useFactory:function(){return function(e){Lt=e}(document),document},deps:[]}]),al=[[],{provide:Ei,useValue:"root"},{provide:Qn,useFactory:function(){return new Qn},deps:[]},{provide:Ba,useClass:el,multi:!0,deps:[ya,Ts,hs]},{provide:Ba,useClass:ol,multi:!0,deps:[ya]},[],{provide:Ga,useClass:Ga,deps:[Ha,Ua,ls]},{provide:ro,useExisting:Ga},{provide:Wa,useExisting:Ua},{provide:Ua,useClass:Ua,deps:[ya]},{provide:Ds,useClass:Ds,deps:[Ts]},{provide:Ha,useClass:Ha,deps:[Ba,Ts]},[]];let ll=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:ls,useValue:t.appId},{provide:ja,useExisting:ls},Fa]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(e,12))},providers:al,imports:[Ea,Zs]}),e})();"undefined"!=typeof window&&window;class ul{}const cl="*";function dl(e,t=null){return{type:2,steps:e,options:t}}function hl(e){return{type:6,styles:e,offset:null}}function pl(e){Promise.resolve(null).then(e)}class fl{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){pl(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class ml{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?pl(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function yl(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function gl(e){switch(e.length){case 0:return new fl;case 1:return e[0];default:return new ml(e)}}function vl(e,t,n,r,i={},o={}){const s=[],a=[];let l=-1,u=null;if(r.forEach(e=>{const n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(n=>{let r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case"!":a=i[n];break;case cl:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${s.join(e)}`)}return a}function bl(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&wl(n,"start",e)));break;case"done":e.onDone(()=>r(n&&wl(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&wl(n,"destroy",e)))}}function wl(e,t,n){const r=n.totalTime,i=El(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function El(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function xl(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function _l(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Sl=(e,t)=>!1,Cl=(e,t)=>!1,kl=(e,t,n)=>[];const Tl=yl();(Tl||"undefined"!=typeof Element)&&(Sl=(e,t)=>e.contains(t),Cl=(()=>{if(Tl||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):Cl}})(),kl=(e,t,n)=>{let r=[];if(n)r.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&r.push(n)}return r});let Ol=null,Ll=!1;function Il(e){Ol||(Ol=("undefined"!=typeof document?document.body:null)||{},Ll=!!Ol.style&&"WebkitAppearance"in Ol.style);let t=!0;return Ol.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Ol.style,!t&&Ll)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Ol.style),t}const Rl=Cl,Pl=Sl,Nl=kl;function Al(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}let Dl=(()=>{class e{validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,o=[],s){return new fl(n,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ml=(()=>{class e{}return e.NOOP=new Dl,e})();const ql="ng-enter",jl="ng-leave",Fl="ng-trigger",zl=".ng-trigger",Bl="ng-animating",Hl=".ng-animating";function Vl(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Wl(parseFloat(t[1]),t[2])}function Wl(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Ul(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,i=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};r=Wl(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=Wl(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else r=e;if(!n){let n=!1,o=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:i,easing:o}}(e,t,n)}function $l(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function Ql(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else $l(e,n);return n}function Kl(e,t,n){return n?t+":"+n+";":""}function Zl(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=Kl(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Kl(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Gl(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=iu(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),yl()&&Zl(e))}function Xl(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=iu(t);e.style[n]=""}),yl()&&Zl(e))}function Jl(e){return Array.isArray(e)?1==e.length?e[0]:dl(e):e}const Yl=new RegExp("{{\\s*(.+?)\\s*}}","g");function eu(e){let t=[];if("string"==typeof e){let n;for(;n=Yl.exec(e);)t.push(n[1]);Yl.lastIndex=0}return t}function tu(e,t,n){const r=e.toString(),i=r.replace(Yl,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function nu(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const ru=/-+([a-z0-9])/g;function iu(e){return e.replace(ru,(...e)=>e[1].toUpperCase())}function ou(e,t){return 0===e||0===t}function su(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let o=t[0],s=[];if(r.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var i=1;i<t.length;i++){let n=t[i];s.forEach((function(t){n[t]=lu(e,t)}))}}return t}function au(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function lu(e,t){return window.getComputedStyle(e)[t]}const uu="*";function cu(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],o=r[2],s=r[3];t.push(pu(i,s)),"<"!=o[0]||i==uu&&s==uu||t.push(pu(s,i))}(e,n,t)):n.push(e),n}const du=new Set(["true","1"]),hu=new Set(["false","0"]);function pu(e,t){const n=du.has(e)||hu.has(e),r=du.has(t)||hu.has(t);return(i,o)=>{let s=e==uu||e==i,a=t==uu||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?du.has(e):hu.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?du.has(t):hu.has(t)),s&&a}}const fu=new RegExp("s*:selfs*,?","g");function mu(e,t,n){return new yu(e).build(t,n)}class yu{constructor(e){this._driver=e}build(e,t){const n=new gu(t);return this._resetContextStyleTimingState(n),au(this,Jl(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,o.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach(e=>{if(vu(e)){const t=e;Object.keys(t).forEach(e=>{eu(t[e]).forEach(e=>{o.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=nu(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=au(this,Jl(e.animation),t);return{type:1,matchers:cu(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:bu(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>au(this,e,t)),options:bu(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=au(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:bu(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return wu(Ul(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=wu(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||Ul(r,t),wu(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:hl({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,o=!1;if(!i){o=!0;const e={};n.easing&&(e.easing=n.easing),i=hl(e)}t.currentTime+=n.duration+n.delay;const s=this.visitStyle(i,t);s.isEmptyStep=o,r=s}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==cl?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(vu(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(i!=r&&i>=s.startTime&&r<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=s.startTime),a&&(o[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=eu(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,s=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),u=0;return null!=l&&(r++,u=n.offset=l),s=s||u<0||u>1,o=o||u<a,a=u,i.push(u),n});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const u=e.steps.length;let c=0;r>0&&r<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(c=1/(u-1));const d=u-1,h=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const o=c>0?r==d?1:c*r:i[r],s=o*f;t.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:au(this,Jl(e.animation),t),options:bu(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:bu(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:bu(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(fu,"")),[e=e.replace(/@\*/g,zl).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,Hl),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,xl(t.collectedStyles,t.currentQuerySelector,{});const s=au(this,Jl(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:bu(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ul(e.timings,t.errors,!0);return{type:12,animation:au(this,Jl(e.animation),t),timings:n,options:null}}}class gu{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function vu(e){return!Array.isArray(e)&&"object"==typeof e}function bu(e){var t;return e?(e=$l(e)).params&&(e.params=(t=e.params)?$l(t):null):e={},e}function wu(e,t,n){return{duration:e,delay:t,easing:n}}function Eu(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class xu{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const _u=new RegExp(":enter","g"),Su=new RegExp(":leave","g");function Cu(e,t,n,r,i,o={},s={},a,l,u=[]){return(new ku).buildKeyframes(e,t,n,r,i,o,s,a,l,u)}class ku{buildKeyframes(e,t,n,r,i,o,s,a,l,u=[]){l=l||new xu;const c=new Ou(e,t,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),au(this,n,c);const d=c.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(s).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,c.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[Eu(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?Vl(n.duration):null,o=null!=n.delay?Vl(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),au(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Tu);const e=Vl(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>au(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Vl(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);i&&s.delayNextStep(i),au(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Ul(t.params?tu(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?Vl(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Tu);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,r)=>{t.currentQueryIndex=r;const s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(a=s.currentTimeline),au(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const u=l.currentTime;au(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const Tu={};class Ou{constructor(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Lu(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=Vl(n.duration)),null!=n.delay&&(r.delay=Vl(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=tu(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new Ou(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Tu,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Iu(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,o){let s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(_u,"."+this._enterClassName)).replace(Su,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return i||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class Lu{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Lu(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||cl,this._currentKeyframe[e]=cl}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=cl})):Ql(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=tu(o[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:cl),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,o)=>{const s=Ql(i,!0);Object.keys(s).forEach(n=>{const r=s[n];"!"==r?e.add(n):r==cl&&t.add(n)}),n||(s.offset=o/this.duration),r.push(s)});const i=e.size?nu(e.values()):[],o=t.size?nu(t.values()):[];if(n){const e=r[0],t=$l(e);e.offset=0,t.offset=1,r=[e,t]}return Eu(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}}class Iu extends Lu{constructor(e,t,n,r,i,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],o=n+t,s=t/o,a=Ql(e[0],!1);a.offset=0,i.push(a);const l=Ql(e[0],!1);l.offset=Ru(s),i.push(l);const u=e.length-1;for(let r=1;r<=u;r++){let s=Ql(e[r],!1);s.offset=Ru((t+s.offset*n)/o),i.push(s)}n=o,t=0,r="",e=i}return Eu(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Ru(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Pu{}class Nu extends Pu{normalizePropertyName(e,t){return iu(e)}normalizeStyleValue(e,t,n,r){let i="";const o=n.toString().trim();if(Au[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+i}}const Au=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Du(e,t,n,r,i,o,s,a,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}const Mu={};class qu{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}build(e,t,n,r,i,o,s,a,l,u){const c=[],d=this.ast.options&&this.ast.options.params||Mu,h=this.buildStyles(n,s&&s.params||Mu,c),p=a&&a.params||Mu,f=this.buildStyles(r,p,c),m=new Set,y=new Map,g=new Map,v="void"===r,b={params:Object.assign(Object.assign({},d),p)},w=u?[]:Cu(e,t,this.ast.animation,i,o,h,f,b,l,c);let E=0;if(w.forEach(e=>{E=Math.max(e.duration+e.delay,E)}),c.length)return Du(t,this._triggerName,n,r,v,h,f,[],[],y,g,E,c);w.forEach(e=>{const n=e.element,r=xl(y,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=xl(g,n,{});e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&m.add(n)});const x=nu(m.values());return Du(t,this._triggerName,n,r,v,h,f,w,x,y,g,E)}}class ju{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=$l(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let o=i[e];o.length>1&&(o=tu(o,r,t)),n[e]=o})}}),n}}class Fu{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new ju(e.style,e.options&&e.options.params||{})}),zu(this.states,"true","1"),zu(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new qu(e,t,this.states))}),this.fallbackTransition=new qu(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function zu(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Bu=new xu;class Hu{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=mu(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=vl(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let o;const s=new Map;if(i?(o=Cu(this._driver,t,i,ql,jl,{},{},n,Bu,r),o.forEach(e=>{const t=xl(s,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));s.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,cl)})});const a=gl(o.map(e=>{const t=s.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,r){const i=El(t,"","","");return bl(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Vu="ng-animate-queued",Wu="ng-animate-disabled",Uu=".ng-animate-disabled",$u=[],Qu={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ku={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Zu{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=$l(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Gu="void",Xu=new Zu(Gu);class Ju{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,oc(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const o=xl(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};o.push(s);const a=xl(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(oc(e,Fl),oc(e,"ng-trigger-"+t),a[t]=Xu),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),o=new ec(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(oc(e,Fl),oc(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const l=new Zu(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[t]=l,a||(a=Xu),l.value!==Gu&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Xl(e,n),Gl(e,r)})}return}const u=xl(this._engine.playersByElement,e,[]);u.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let c=i.matchTransition(a.value,l.value,e,l.params),d=!1;if(!c){if(!r)return;c=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(oc(e,Vu),o.onStart(()=>{sc(e,Vu)})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),u.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,zl,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const o=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Gu,r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&gl(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const r=t.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,o=this._engine.statesByElement.get(e)[r]||Xu,s=new Zu(Gu),a=new ec(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:o,toState:s,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Qu||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){oc(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach(t=>{if(t.name==n.triggerName){const r=El(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,bl(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Yu{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Ju(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(tc(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!tc(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),oc(e,Wu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),sc(e,Wu))}removeNode(e,t,n,r){if(tc(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return tc(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,zl,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Hl,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return gl(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Qu,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Uu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Uu,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)oc(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?gl(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new xu,r=[],i=new Map,o=[],s=new Map,a=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)u.add(t[n])});const c=this.bodyNode,d=Array.from(this.statesByElement.keys()),h=ic(d,this.collectedEnterElements),p=new Map;let f=0;h.forEach((e,t)=>{const n=ql+f++;p.set(t,n),e.forEach(e=>oc(e,n))});const m=[],y=new Set,g=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){const e=this.collectedLeaveElements[I],t=e.__ng_removed;t&&t.setForRemoval&&(m.push(e),y.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>y.add(e)):g.add(e))}const v=new Map,b=ic(d,Array.from(y));b.forEach((e,t)=>{const n=jl+f++;v.set(t,n),e.forEach(e=>oc(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>sc(e,n))}),b.forEach((e,t)=>{const n=v.get(t);e.forEach(e=>sc(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const w=[],E=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(w.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const u=!c||!this.driver.containsElement(c,i),d=v.get(i),h=p.get(i),f=this._buildInstruction(e,n,h,d,u);if(f.errors&&f.errors.length)E.push(f);else{if(u)return t.onStart(()=>Xl(i,f.fromStyles)),t.onDestroy(()=>Gl(i,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>Xl(i,f.fromStyles)),t.onDestroy(()=>Gl(i,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,f.timelines),o.push({instruction:f,player:t,element:i}),f.queriedElements.forEach(e=>xl(s,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=l.get(t);r||l.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(E.length){const e=[];E.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,_=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(_.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{xl(x,t,[]).push(e),e.destroy()})});const S=m.filter(e=>lc(e,a,l)),C=new Map;rc(C,this.driver,g,l,cl).forEach(e=>{lc(e,a,l)&&S.push(e)});const k=new Map;h.forEach((e,t)=>{rc(k,this.driver,new Set(e),a,"!")}),S.forEach(e=>{const t=C.get(e),n=k.get(e);C.set(e,Object.assign(Object.assign({},t),n))});const T=[],O=[],L={};o.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(u.has(t))return o.onDestroy(()=>Gl(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);let e=L;if(_.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=_.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>_.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,x,i,k,C);if(o.setRealPlayer(n),e===L)T.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=gl(t)),r.push(o)}}else Xl(t,s.fromStyles),o.onDestroy(()=>Gl(t,s.toStyles)),O.push(o),u.has(t)&&r.push(o)}),O.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=gl(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let I=0;I<m.length;I++){const e=m[I],t=e.__ng_removed;if(sc(e,jl),t&&t.hasAnimation)continue;let n=[];if(s.size){let t=s.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,Hl,!0);for(let e=0;e<r.length;e++){let t=s.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?ac(this,e,r):this.processLeaveNode(e)}return m.length=0,T.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),T}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==Gu;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==r,l=xl(n,e,[]);this._getPreviousPlayers(e,a,i,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Xl(r,t.fromStyles)}_buildAnimation(e,t,n,r,i,o){const s=t.triggerName,a=t.element,l=[],u=new Set,c=new Set,d=t.timelines.map(t=>{const d=t.element;u.add(d);const h=d.__ng_removed;if(h&&h.removedBeforeQueried)return new fl(t.duration,t.delay);const p=d!==a,f=function(e){const t=[];return function e(t,n){for(let r=0;r<t.length;r++){const i=t[r];i instanceof ml?e(i.players,n):n.push(i)}}(e,t),t}((n.get(d)||$u).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),m=i.get(d),y=o.get(d),g=vl(0,this._normalizer,0,t.keyframes,m,y),v=this._buildPlayer(t,g,f);if(t.subTimeline&&r&&c.add(d),p){const t=new ec(e,s,d);t.setRealPlayer(v),l.push(t)}return v});l.forEach(e=>{xl(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),u.forEach(e=>oc(e,Bl));const h=gl(d);return h.onDestroy(()=>{u.forEach(e=>sc(e,Bl)),Gl(a,t.toStyles)}),c.forEach(e=>{xl(r,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new fl(e.duration,e.delay)}}class ec{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new fl,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>bl(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){xl(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function tc(e){return e&&1===e.nodeType}function nc(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function rc(e,t,n,r,i){const o=[];n.forEach(e=>o.push(nc(e)));const s=[];r.forEach((n,r)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ku,s.push(r))}),e.set(r,o)});let a=0;return n.forEach(e=>nc(e,o[a++])),s}function ic(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let o=i.get(t);if(o)return o;const s=t.parentNode;return o=n.has(s)?s:r.has(s)?1:e(s),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}function oc(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function sc(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function ac(e,t,n){gl(n).onDone(()=>e.processLeaveNode(t))}function lc(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class uc{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Yu(e,t,n),this._timelineEngine=new Hu(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const o=e+"-"+r;let s=this._triggerCache[o];if(!s){const e=[],t=mu(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Fu(e,t)}(r,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=_l(n);this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=_l(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function cc(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=hc(t[0]),t.length>1&&(r=hc(t[t.length-1]))):t&&(n=hc(t)),n||r?new dc(e,n,r):null}let dc=(()=>{class e{constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Gl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gl(this._element,this._initialStyles),this._endStyles&&(Gl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Xl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xl(this._element,this._endStyles),this._endStyles=null),Gl(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function hc(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];pc(i)&&(t=t||{},t[i]=e[i])}return t}function pc(e){return"display"===e||"position"===e}const fc="animation",mc="animationend";class yc{constructor(e,t,n,r,i,o,s){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=xc(e,"").trim();n.length&&(function(e,t){let n=0;for(let r=0;r<e.length;r++)","===e.charAt(r)&&n++}(n),t=`${n}, ${t}`),Ec(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),wc(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){gc(this._element,this._name,"paused")}resume(){gc(this._element,this._name,"running")}setPosition(e){const t=vc(this._element,this._name);this._position=e*this._duration,Ec(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),wc(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=xc(e,"").split(","),r=bc(n,t);r>=0&&(n.splice(r,1),Ec(e,"",n.join(",")))}(this._element,this._name))}}function gc(e,t,n){Ec(e,"PlayState",n,vc(e,t))}function vc(e,t){const n=xc(e,"");return n.indexOf(",")>0?bc(n.split(","),t):bc([n],t)}function bc(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function wc(e,t,n){n?e.removeEventListener(mc,t):e.addEventListener(mc,t)}function Ec(e,t,n,r){const i=fc+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function xc(e,t){return e.style[fc+t]}class _c{constructor(e,t,n,r,i,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new yc(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:lu(this.element,n))})}this.currentSnapshot=e}}class Sc extends fl{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Al(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Cc{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Al(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const o=document.createElement("style");return o.innerHTML=r,o}animate(e,t,n,r,i,o=[],s){s&&this._notifyFaultyScrubber();const a=o.filter(e=>e instanceof _c),l={};ou(n,r)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=su(e,t,l));if(0==n)return new Sc(e,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);const h=cc(e,t),p=new _c(e,t,c,n,r,i,u,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class kc{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:lu(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Tc{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Oc().toString()),this._cssKeyframesDriver=new Cc}validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},u=o.filter(e=>e instanceof kc);ou(n,r)&&u.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=cc(e,t=su(e,t=t.map(e=>Ql(e,!1)),l));return new kc(e,t,a,c)}}function Oc(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Lc=(()=>{class e extends ul{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:nt.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?dl(e):e;return Pc(this._renderer,null,t,"register",[n]),new Ic(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)($e(ro),$e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Ic extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Rc(this._id,e,t||{},this._renderer)}}class Rc{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Pc(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function Pc(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}const Nc="@",Ac="@.disabled";let Dc=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Mc("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(o),new qc(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)($e(ro),$e(uc),$e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Mc{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Nc&&t==Ac?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class qc extends Mc{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Nc?"."==t.charAt(1)&&t==Ac?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Nc){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),o="";return i.charAt(0)!=Nc&&([i,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,r,i,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let jc=(()=>{class e extends uc{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)($e(ya),$e(Ml),$e(Pu))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const Fc=[{provide:Ml,useFactory:function(){return"function"==typeof Oc()?new Tc:new Cc}},{provide:new De("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:ul,useClass:Lc},{provide:Pu,useFactory:function(){return new Nu}},{provide:uc,useClass:jc},{provide:ro,useFactory:function(e,t,n){return new Dc(e,t,n)},deps:[Ga,uc,Ts]}];let zc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:Fc,imports:[ll]}),e})(),Bc=(()=>{class e{constructor(e){this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container",t=this._document.querySelectorAll("."+e);if(null==t?void 0:t.length)this._containerElement=t[0];else{const t=this._document.createElement("div");t.classList.add(e),this._document.body.appendChild(t),this._containerElement=t}}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Hc extends _{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(e){super.next(this._value=e)}}function Vc(){}class Wc{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Uc(e,this.nextOrObserver,this.error,this.complete))}}class Uc extends f{constructor(e,t,n,i){super(e),this._tapNext=Vc,this._tapError=Vc,this._tapComplete=Vc,this._tapError=n||Vc,this._tapComplete=i||Vc,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Vc,this._tapError=t.error||Vc,this._tapComplete=t.complete||Vc)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const $c={provide:ps,useFactory:function(e,t){return()=>{if(xa(t)){const t=Array.from(e.querySelectorAll(`[class*=${Qc}]`)),n=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(Qc+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(n,"")})}}},deps:[ya,hs],multi:!0},Qc="flex-layout-";let Kc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[$c]}),e})();class Zc{constructor(e=!1,t="all",n="",r="",i=0){this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}clone(){return new Zc(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Gc=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,n){const r=this.stylesheet.get(e);r?r.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const n=this.stylesheet.get(e);let r="";if(n){const e=n.get(t);"number"!=typeof e&&"string"!=typeof e||(r=e+"")}return r}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Xc={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},Jc=new De("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Xc}),Yc=new De("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),ed=new De("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function td(e,t){return e=e?e.clone():new Zc,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const nd="inline",rd=["row","column","row-reverse","column-reverse"];function id(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let od=(()=>{class e{constructor(e,t,n,r){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new _,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const n=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const n=this.styleBuilder,r=n.shouldCache;let i=this.styleCache.get(e);i&&r||(i=n.buildStyles(e,t),r&&this.styleCache.set(e,i)),this.mru=Object.assign({},i),this.applyStyleToElement(i),n.sideEffect(e,i,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[n,r]=this.styler.getFlowDirection(e);if(!r&&t){const t=function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return rd.find(e=>e===t)||(t=rd[0]),n===nd&&(n=r!==nd?r:"",r=nd),[t,id(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(n);this.styler.applyStyleToElements(t,[e])}return n.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,n=this.nativeElement){this.styler.applyStyleToElement(n,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=ht({type:e,features:[St]}),e})();const sd=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],ad="(orientation: portrait) and (max-width: 599.9px)",ld="(orientation: landscape) and (max-width: 959.9px)",ud="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",cd="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",dd="(orientation: portrait) and (min-width: 840px)",hd="(orientation: landscape) and (min-width: 1280px)",pd={HANDSET:`${ad}, ${ld}`,TABLET:`${ud} , ${cd}`,WEB:`${dd}, ${hd} `,HANDSET_PORTRAIT:""+ad,TABLET_PORTRAIT:ud+" ",WEB_PORTRAIT:""+dd,HANDSET_LANDSCAPE:""+ld,TABLET_LANDSCAPE:""+cd,WEB_LANDSCAPE:""+hd},fd=[{alias:"handset",priority:2e3,mediaQuery:pd.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pd.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pd.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pd.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pd.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pd.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pd.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pd.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pd.WEB_PORTRAIT,overlapping:!0}],md=/(\.|-|_)/g;function yd(e){let t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}const gd=new De("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=Qe(ed),t=Qe(Jc),n=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const n={};return e.forEach(e=>{n[e.alias]=e}),t.forEach(e=>{n[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let n of t)if(null!=n)for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t])}(n[e.alias],e):n[e.alias]=e}),(r=Object.keys(n).map(e=>n[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(md,"|").split("|").map(yd).join(""),e.overlapping=!!e.overlapping)}),r;var r}((t.disableDefaultBps?[]:sd).concat(t.addOrientationBps?fd:[]),n)}});function vd(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function bd(e,t){return(e.priority||0)-(t.priority||0)}let wd=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(bd)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null}}return e.\u0275fac=function(t){return new(t||e)($e(gd))},e.\u0275prov=ae({factory:function(){return new e($e(gd))},token:e,providedIn:"root"}),e})(),Ed=(()=>{class e{constructor(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new Hc(new Zc(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,n)=>{t.matches&&e.push(n)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const n=this._observable$.pipe(ea(n=>!t||e.indexOf(n.mediaQuery)>-1));return V(new v(t=>{const n=this.registerQuery(e);if(n.length){const e=n.pop();n.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),n)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],n=[];return function(e,t){const n=e.filter(e=>!xd[e]);if(n.length>0){const e=n.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(r),n.forEach(e=>xd[e]=r)}catch(r){console.error(r)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new Zc(t.matches,e)))};let r=this.registry.get(e);r||(r=this.buildMQL(e),r.addListener(t),this.pendingRemoveListenerFns.push(()=>r.removeListener(t)),this.registry.set(e,r)),r.matches&&n.push(new Zc(!0,e))}),n}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,xa(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)($e(Ts),$e(hs),$e(ya))},e.\u0275prov=ae({factory:function(){return new e($e(Ts),$e(hs),$e(ya))},token:e,providedIn:"root"}),e})();const xd={},_d="print",Sd={alias:_d,mediaQuery:_d,priority:1e3};let Cd=(()=>{class e{constructor(e,t,n){this.breakpoints=e,this.layoutConfig=t,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new kd,this.deactivations=[]}withPrintQuery(e){return[...e,_d]}isPrintEvent(e){return e.mediaQuery.startsWith(_d)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(vd)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),td(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Zc(!0,_d))),e.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(n)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(vd))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)($e(wd),$e(Jc),$e(ya))},e.\u0275prov=ae({factory:function(){return new e($e(wd),$e(Jc),$e(ya))},token:e,providedIn:"root"}),e})();class kd{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Sd),e.sort(vd),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith(_d)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function Td(e){for(let t in e){let n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}let Od=(()=>{class e{constructor(e,t,n,r){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=r}applyStyleToElement(e,t,n=null){let r={};"string"==typeof t&&(r[t]=n,t=r),r=this.layoutConfig.disableVendorPrefixes?t:Td(t),this._applyMultiValueStyleToElement(r,e)}applyStyleToElements(e,t=[]){const n=this.layoutConfig.disableVendorPrefixes?e:Td(e);t.forEach(e=>{this._applyMultiValueStyleToElement(n,e)})}getFlowDirection(e){const t="flex-direction";let n=this.lookupStyle(e,t);return[n||"row",this.lookupInlineStyle(e,t)||_a(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return xa(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,n=!1){let r="";return e&&((r=this.lookupInlineStyle(e,t))||(xa(this._platformId)?n||(r=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,t)))),r?r.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(n=>{const r=e[n],i=Array.isArray(r)?r:[r];i.sort();for(let e of i)e=e?e+"":"",xa(this._platformId)||!this._serverModuleLoaded?xa(this._platformId)?t.style.setProperty(n,e):this._setServerStyle(t,n,e):this._serverStylesheet.addStyleToElement(t,n,e)})}_setServerStyle(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const r=this._readStyleAttribute(e);r[t]=n||"",this._writeStyleAttribute(e,r)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},n=e.getAttribute("style");if(n){const e=n.split(/;+/g);for(let n=0;n<e.length;n++){const r=e[n].trim();if(r.length>0){const e=r.indexOf(":");if(-1===e)throw new Error("Invalid CSS style: "+r);t[r.substr(0,e).trim()]=r.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let n="";for(const r in t)t[r]&&(n+=r+":"+t[r]+";");e.setAttribute("style",n)}}return e.\u0275fac=function(t){return new(t||e)($e(Gc),$e(Yc),$e(hs),$e(Jc))},e.\u0275prov=ae({factory:function(){return new e($e(Gc),$e(Yc),$e(hs),$e(Jc))},token:e,providedIn:"root"}),e})(),Ld=(()=>{class e{constructor(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new _,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=td(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(vd),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(vd),this.updateStyles()))}init(e,t,n,r,i=[]){Id(this.updateMap,e,t,n),Id(this.clearMap,e,t,r),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)}getValue(e,t,n){const r=this.elementMap.get(e);if(r){const e=void 0!==n?r.get(n):this.getActivatedValues(r,t);if(e)return e.get(t)}}hasValue(e,t){const n=this.elementMap.get(e);if(n){const e=this.getActivatedValues(n,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,n,r){let i=this.elementMap.get(e);if(i){const o=(i.get(r)||new Map).set(t,n);i.set(r,o),this.elementMap.set(e,i)}else i=(new Map).set(r,(new Map).set(t,n)),this.elementMap.set(e,i);const o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}trackValue(e,t){return this.subject.asObservable().pipe(ea(n=>n.element===e&&n.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const n=new Set(this.elementKeyMap.get(t));let r=this.getActivatedValues(e);r&&r.forEach((e,r)=>{this.updateElement(t,r,e),n.delete(r)}),n.forEach(n=>{if(r=this.getActivatedValues(e,n),r){const e=r.get(n);this.updateElement(t,n,e)}else this.clearElement(t,n)})})}clearElement(e,t){const n=this.clearMap.get(e);if(n){const r=n.get(t);r&&(r(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,n){const r=this.updateMap.get(e);if(r){const i=r.get(t);i&&(i(n),this.subject.next({element:e,key:t,value:n}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const n=this.elementMap.get(e);n&&(n.forEach((e,t)=>n.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const n=this.elementMap.get(e);if(n){const r=this.getActivatedValues(n,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach((t,n)=>this.updateElement(e,n,t)))}}buildElementKeyMap(e,t){let n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}watchExtraTriggers(e,t,n){if(n&&n.length){let r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){const i=V(...n).subscribe(()=>{const n=this.getValue(e,t);this.updateElement(e,t,n)});r.set(t,i)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let r=0;r<this.activatedBreakpoints.length;r++){const n=e.get(this.activatedBreakpoints[r].alias);if(n&&(void 0===t||n.has(t)&&null!=n.get(t)))return n}const n=e.get("");return void 0===t||n&&n.has(t)?n:void 0}observeActivations(){const e=this.breakpoints.items.map(e=>e.mediaQuery);var t;this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((t=this.hook.interceptEvents(this),function(e){return e.lift(new Wc(t,void 0,void 0))}),ea(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)($e(Ed),$e(wd),$e(Cd))},e.\u0275prov=ae({factory:function(){return new e($e(Ed),$e(wd),$e(Cd))},token:e,providedIn:"root"}),e})();function Id(e,t,n,r){if(void 0!==r){let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)}}let Rd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})();const Pd="inline",Nd=["row","column","row-reverse","column-reverse"];function Ad(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let Dd=(()=>{class e extends class{constructor(){this.shouldCache=!0}sideEffect(e,t,n){}}{buildStyles(e){return function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return Nd.find(e=>e===t)||(t=Nd[0]),n===Pd&&(n=r!==Pd?r:"",r=Pd),[t,Ad(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(e)}}e.\u0275fac=function(n){return t(n||e)},e.\u0275prov=ae({factory:function(){return new e},token:e,providedIn:"root"});const t=Vn(e);return e})();const Md=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let qd=(()=>{class e extends od{constructor(e,t,n,r){super(e,n,t,r),this.DIRECTIVE_KEY="layout",this.styleCache=Fd,this.init()}}return e.\u0275fac=function(t){return new(t||e)(zi(to),zi(Od),zi(Dd),zi(Ld))},e.\u0275dir=ht({type:e,features:[Qi]}),e})(),jd=(()=>{class e extends qd{constructor(){super(...arguments),this.inputs=Md}}e.\u0275fac=function(n){return t(n||e)},e.\u0275dir=ht({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[Qi]});const t=Vn(e);return e})();const Fd=new Map;let zd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc,Ca]]}),e})(),Bd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})(),Hd=(()=>{class e{constructor(e,t){_a(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,n=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Jc,useValue:Object.assign(Object.assign({},Xc),t)},{provide:ed,useValue:n,multi:!0},{provide:Yc,useValue:!0}]:[{provide:Jc,useValue:Object.assign(Object.assign({},Xc),t)},{provide:ed,useValue:n,multi:!0}]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Yc),$e(hs))},imports:[[zd,Rd,Bd],zd,Rd,Bd]}),e})();function Vd(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}var Wd=n("eteH"),Ud=n("wwtf"),$d=n.n(Ud);const Qd=new Map,Kd=[],Zd=Kd.map,Gd=Kd.some,Xd=Kd.hasOwnProperty,Jd="https://cdn.jsdelivr.net/npm/",Yd=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,eh=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,th=/\.[^/]*$/,nh=["unpkg","jsdelivr","browser","main"];class rh extends Error{constructor(e){super(e)}}function ih(e){const t=Yd.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function oh(e){const t=`${Jd}${e.name}${e.version?"@"+e.version:""}/package.json`;let n=Qd.get(t);return n||Qd.set(t,n=fetch(t).then(e=>{if(!e.ok)throw new rh("unable to load package.json");return e.redirected&&!Qd.has(e.url)&&Qd.set(e.url,n),e.json()})),n}function sh(e){const t=new Map,n=s(null);let r=0,i=void 0;function o(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise((t,n)=>{const o=document.createElement("script");o.onload=()=>{try{t(Kd.pop()(s(e)))}catch(a){n(new rh("invalid module"))}o.remove(),r--,0===r&&(window.define=i)},o.onerror=()=>{n(new rh("unable to load module")),o.remove(),r--,0===r&&(window.define=i)},o.async=!0,o.src=e,0===r&&(i=window.define,window.define=ch),r++,document.head.appendChild(o)})),n}function s(t){return n=>Promise.resolve(e(n,t)).then(o)}function a(e){return arguments.length>1?Promise.all(Zd.call(arguments,n)).then(ah):n(e)}return a.alias=function(t){return sh((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r))},a.resolve=e,a}function ah(e){const t={};for(const n of e)for(const e in n)Xd.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:lh(n,e)}):t[e]=n[e]);return t}function lh(e,t){return()=>e[t]}function uh(e){return"exports"==(e+="")||"module"===e}function ch(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),Kd.push(Gd.call(t,uh)?e=>{const r={},i={exports:r};return Promise.all(Zd.call(t,t=>"exports"==(t+="")?r:"module"===t?i:e(t))).then(e=>(n.apply(null,e),i.exports))}:e=>Promise.all(Zd.call(t,e)).then(e=>"function"==typeof n?n.apply(null,e):n))}rh.prototype.name=rh.name,sh((function(e,t){return Vd(this,void 0,void 0,(function*(){if(e.startsWith(Jd)&&(e=e.substring(Jd.length)),/^(\w+:)|\/\//i.test(e))return e;if(/^[.]{0,2}\//i.test(e))return new URL(e,null==t?location:t).href;if(!e.length||/^[\s._]/.test(e)||/\s$/.test(e))throw new rh("illegal name");const n=ih(e);if(!n)return`${Jd}${e}`;if(!n.version&&null!=t&&t.startsWith(Jd)){const e=yield oh(ih(t.substring(Jd.length)));n.version=e.dependencies&&e.dependencies[n.name]||e.peerDependencies&&e.peerDependencies[n.name]}if(n.path&&!th.test(n.path)&&(n.path+=".js"),n.path&&n.version&&eh.test(n.version))return`${Jd}${n.name}@${n.version}/${n.path}`;const r=yield oh(n);return`${Jd}${r.name}@${r.version}/${n.path||function(e){for(const t of nh){const n=e[t];if("string"==typeof n)return th.test(n)?n:n+".js"}}(r)||"index.js"}`}))})),ch.amd={};const dh=["toolbar"],hh=["viz"],ph=sh(e=>"https://unpkg.com/@nebula.js/"+e).alias({"@nebula.js/stardust":Wd});let fh=(()=>{class e{ngAfterViewInit(){return Vd(this,void 0,void 0,(function*(){yield this.render()}))}render(){return Vd(this,void 0,void 0,(function*(){this.oldQLayout=JSON.parse(JSON.stringify(this.qLayout));const e={getLayout:()=>this.qLayout,selectHyperCubeCells:(...e)=>{},getEffectiveProperties:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getEffectiveProperties",args:e})})),getHyperCubeReducedData:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getHyperCubeReducedData",args:e})})),getHyperCubeData:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getHyperCubeData",args:e})})),getStackedDataPages:(...e)=>(console.log("getStackedDataPages",e),this.qLayout.qHyperCube.qDataPages),getFullPropertyTree:()=>{console.log("getFullPropertyTree")},getHyperCubeTreeData:()=>{console.log("getHyperCubeTreeData")},beginSelections:(...e)=>{},selectHyperCubeValues:(...e)=>Vd(this,void 0,void 0,(function*(){var t;yield null===(t=this.onSelections)||void 0===t?void 0:t.call(this,{selections:e,method:"selectHyperCubeValues"})})),rangeSelectHyperCubeValues:(...e)=>Vd(this,void 0,void 0,(function*(){var t;yield null===(t=this.onSelections)||void 0===t?void 0:t.call(this,{selections:e,method:"rangeSelectHyperCubeValues"})})),resetMadeSelections:(...e)=>{},clearSelections:(...e)=>{},endSelections:(...e)=>{},removeListener:(...e)=>{},useKeyboard:(...e)=>{},on:(...e)=>{}};this.app=yield $d.a.fromGenericObjects([e]),this.app.getMeasure=e=>Vd(this,void 0,void 0,(function*(){return console.log({measureId:e}),{getMeasure:()=>Vd(this,void 0,void 0,(function*(){return yield this.onGetMeasure({measureId:e})}))}}));const t=this.app.getObject;this.app.getObject=e=>Vd(this,void 0,void 0,(function*(){return e===this.qLayout.qInfo.qId?yield t(this.qLayout.qInfo.qId):{getLayout:()=>Vd(this,void 0,void 0,(function*(){return yield this.onGetObject({objectId:e})}))}}));const n=[["sn-action-button","action-button"],["sn-bar-chart","barchart"],["sn-bullet-chart","bullet-chart"],["sn-combo-chart","combo-chart"],["sn-funnel-chart","funnel-chart"],["sn-grid-chart","sn-grid-chart"],["sn-kpi","kpi"],["sn-line-chart","line-chart"],["sn-mekko-chart","mekko"],["sn-org-chart","org"],["sn-pie-chart","piechart"],["sn-sankey-chart","sankey"],["sn-table","table"],["sn-video-player","video-player"],["sn-scatter-plot","scatterplot"]].map(e=>({name:e[1],load:()=>ph(e[0])}));this.n=Wd.embed(this.app,{types:n}),this.qLayout&&(this.viz=yield this.n.render({element:this.vizEl.nativeElement,id:this.qLayout.qInfo.qId}))}))}destroyApp(){var e;null===(e=document.querySelector(`div[data-app-id='${this.app.id}']`))||void 0===e||e.remove()}ngOnDestroy(){this.destroyApp()}ngOnChanges(e){return Vd(this,void 0,void 0,(function*(){this.viz&&JSON.stringify(this.qLayout)!==JSON.stringify(this.oldQLayout)&&(this.viz.destroy(),this.destroyApp(),yield this.render())}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=st({type:e,selectors:[["drayman-nebula-internal"]],viewQuery:function(e,t){var n;1&e&&(rs(dh,!0),rs(hh,!0)),2&e&&(ns(n=is())&&(t.toolbarEl=n.first),ns(n=is())&&(t.vizEl=n.first))},inputs:{qLayout:"qLayout",onSelections:"onSelections",onVizMethod:"onVizMethod",onGetMeasure:"onGetMeasure",onGetObject:"onGetObject"},features:[St],decls:5,vars:0,consts:[["fxLayout","column",1,"nebula-container"],["toolbar",""],[1,"viz"],["viz",""]],template:function(e,t){1&e&&(Hi(0,"div",0),Wi(1,"div",null,1),Wi(3,"div",2,3),Vi())},directives:[jd],styles:[".nebula-container[_ngcontent-%COMP%]{width:100%;margin:0;height:100%;min-width:100%;min-height:100%}.viz[_ngcontent-%COMP%]{flex:1}"]}),e})(),mh=(()=>{class e{constructor(e){this.injector=e}ngDoBootstrap(){const e=function(e,t){const n=function(e,t){return t.get(eo).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Ra(e,t.injector),i=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var r;t[(r=n,r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()))]=e}),t}(n);class o extends Na{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=r.create(this.injector||t.injector),i=n.filter(({propName:e})=>this.hasOwnProperty(e)).map(({propName:e})=>[e,this[e]]);this instanceof o?i.forEach(([e])=>delete this[e]):Aa(n,this),i.forEach(([t,n])=>e.setInputValue(t,n))}return this._ngElementStrategy}attributeChangedCallback(e,t,n,r){this.ngElementStrategy.setInputValue(i[e],n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}}return o.observedAttributes=Object.keys(i),Object.defineProperty(o.prototype,"ngElementStrategy",{enumerable:!0}),Aa(n,o.prototype),o}(fh,{injector:this.injector});customElements.define("drayman-nebula",e)}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Ai))},providers:[{provide:Ta,useClass:Bc}],imports:[[ll,zc,Hd]]}),e})();(function(){if(Zn)throw new Error("Cannot enable prod mode after platform setup.");Kn=!1})(),sl().bootstrapModule(mh).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}});
|
|
1
|
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({0:function(e,t,n){e.exports=n("zUnb")},eteH:function(e,t,n){e.exports=n("j4WE")},j4WE:function(e,t,n){!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 i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,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 i(){return(i=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 o(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=Object.create((t&&t.prototype instanceof y?t:y).prototype),o=new O(r||[]);return i._invoke=function(e,t,n){var r=d;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===f){if("throw"===i)throw o;return I()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=C(s,n);if(a){if(a===m)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?f:h,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=f,n.method="throw",n.arg=l.arg)}}}(e,n,o),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",h="suspendedYield",p="executing",f="completed",m={};function y(){}function g(){}function v(){}var b={};l(b,o,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(L([])));E&&E!==n&&r.call(E,o)&&(b=E);var x=v.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var n;this._invoke=function(i,o){function s(){return new t((function(n,s){!function n(i,o,s,a){var l=c(e[i],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(d).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,a)}))}a(l.arg)}(i,o,n,s)}))}return n=n?n.then(s,s):s()}}function C(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,C(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 i=c(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function k(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function L(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,s=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return s.next=s}}return{next:I}}function I(){return{value:t,done:!0}}return g.prototype=v,l(x,"constructor",v),l(v,"constructor",g),g.displayName=l(v,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,l(e,a,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},_(S.prototype),l(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var s=new S(u(t,n,r,i),o);return e.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},_(x),l(x,a,"Generator"),l(x,o,(function(){return this})),l(x,"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=L,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(T),!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 i(r,i){return a.type="throw",a.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),u=r.call(s,"finallyLoc");if(l&&u){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(s)},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),T(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 i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(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 s=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const t="string"==typeof e||"number"==typeof e?[e]:e;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\{(\d+)\}/g,(e,n)=>void 0!==t[n]?t[n]:e)};function a(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={};let r=e;return{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,i){let o;return o=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==i?s(o,i):o}}}const l=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{translator:a({initial:e,fallback:t})}};var u={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\ucde8\uc18c","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0430","sv-SE":"Avbryt","tr-TR":"\u0130ptal","zh-CN":"\u53d6\u6d88","zh-TW":"\u53d6\u6d88"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"\u3059\u3079\u3066","ko-KR":"\ubaa8\ub450","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"\u0412\u0421\u0415","sv-SE":"ALLA","tr-TR":"T\xdcM\xdc","zh-CN":"\u5168\u90e8","zh-TW":"\u5168\u90e8"}},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} \u0438\u0437 {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\xe9lection","it-IT":"Cerca nella casella di elenco","ja-JP":"\u30ea\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u5185\u3092\u691c\u7d22","ko-KR":"\ubaa9\ub85d \uc0c1\uc790\uc5d0\uc11c \uac80\uc0c9","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w li\u015bcie warto\u015bci","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"\u041f\u043e\u0438\u0441\u043a \u0432 \u0441\u043f\u0438\u0441\u043a\u0435","sv-SE":"S\xf6k i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"\u5728\u5217\u8868\u6846\u4e2d\u641c\u7d22","zh-TW":"\u5728\u6e05\u55ae\u65b9\u584a\u4e2d\u641c\u5c0b"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"M\xe1s","fr-FR":"Plus","it-IT":"Altro","ja-JP":"\u8a73\u7d30","ko-KR":"\uc790\uc138\ud788","nl-NL":"Meer","pl-PL":"Wi\u0119cej","pt-BR":"Mais","ru-RU":"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"\u66f4\u591a","zh-TW":"\u66f4\u591a"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zur\xfcck","en-US":"Step back","es-ES":"Atr\xe1s","fr-FR":"Retour en arri\xe8re","it-IT":"Torna indietro","ja-JP":"1 \u6bb5\u968e\u623b\u308b","ko-KR":"\uc774\uc804 \ub2e8\uacc4","nl-NL":"Stap terug","pl-PL":"Krok do ty\u0142u","pt-BR":"Voltar uma etapa","ru-RU":"\u0428\u0430\u0433 \u043d\u0430\u0437\u0430\u0434","sv-SE":"G\xe5 bak\xe5t","tr-TR":"Bir ad\u0131m geri","zh-CN":"\u540e\u9000","zh-TW":"\u5012\u9000"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"\xc9tape suivante","it-IT":"Vai avanti","ja-JP":"1\u6bb5\u968e\u9032\u3080","ko-KR":"\ub2e4\uc74c \ub2e8\uacc4","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avan\xe7ar uma etapa","ru-RU":"\u0428\u0430\u0433 \u0432\u043f\u0435\u0440\u0435\u0434","sv-SE":"G\xe5 fram\xe5t","tr-TR":"Bir ad\u0131m ileri","zh-CN":"\u524d\u8fdb","zh-TW":"\u524d\u9032"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"\ud655\uc778","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"\u041e\u041a","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"\u786e\u5b9a","zh-TW":"\u78ba\u5b9a"}},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\xe9es en cours","it-IT":"Caricamento dati in corso","ja-JP":"\u30c7\u30fc\u30bf\u306e\u30ed\u30fc\u30c9\u4e2d","ko-KR":"\ub370\uc774\ud130 \ub85c\ub4dc \uc911","nl-NL":"Gegevens worden geladen","pl-PL":"\u0141adowanie danych","pt-BR":"Carregando dados","ru-RU":"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445","sv-SE":"Laddar data","tr-TR":"Veriler y\xfckleniyor","zh-CN":"\u52a0\u8f7d\u6570\u636e","zh-TW":"\u6b63\u5728\u8f09\u5165\u8cc7\u6599"}},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\xf3n de datos","fr-FR":"Mise \xe0 jour des donn\xe9es annul\xe9e","it-IT":"Aggiornamento dati annullato","ja-JP":"\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u304c\u30ad\u30e3\u30f3\u30bb\u30eb\u3055\u308c\u307e\u3057\u305f","ko-KR":"\ub370\uc774\ud130 \uc5c5\ub370\uc774\ud2b8\uac00 \ucde8\uc18c\ub418\uc5c8\uc2b5\ub2c8\ub2e4.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych zosta\u0142a anulowana","pt-BR":"A atualiza\xe7\xe3o de dados foi cancelada","ru-RU":"\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043e","sv-SE":"Datauppdateringen avbr\xf6ts.","tr-TR":"Veri g\xfcncelle\u015ftirme iptal edildi","zh-CN":"\u6570\u636e\u66f4\u65b0\u5df2\u53d6\u6d88","zh-TW":"\u8cc7\u6599\u66f4\u65b0\u5df2\u53d6\u6d88"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"R\xe9essayer","it-IT":"Riprova","ja-JP":"\u518d\u8a66\u884c","ko-KR":"\ub2e4\uc2dc \uc2dc\ub3c4","nl-NL":"Opnieuw","pl-PL":"Pon\xf3w pr\xf3b\u0119","pt-BR":"Tentar novamente","ru-RU":"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u043f\u043e\u043f\u044b\u0442\u043a\u0443","sv-SE":"F\xf6rs\xf6k igen","tr-TR":"Yeniden dene","zh-CN":"\u91cd\u8bd5","zh-TW":"\u91cd\u8a66"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selecci\xf3n","fr-FR":"Annuler la s\xe9lection","it-IT":"Annulla selezione","ja-JP":"\u9078\u629e\u306e\u30ad\u30e3\u30f3\u30bb\u30eb","ko-KR":"\uc120\ud0dd \ucde8\uc18c","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcj\u0119","pt-BR":"Cancelar sele\xe7\xe3o","ru-RU":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Avbryt urval","tr-TR":"Se\xe7imi iptal et","zh-CN":"\u53d6\u6d88\u9009\u62e9","zh-TW":"\u53d6\u6d88\u9078\u53d6"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl l\xf6schen","en-US":"Clear selection","es-ES":"Borrar selecci\xf3n","fr-FR":"Effacer la s\xe9lection","it-IT":"Cancella selezione","ja-JP":"\u9078\u629e\u3092\u30af\u30ea\u30a2","ko-KR":"\uc120\ud0dd \ud574\uc81c","nl-NL":"Selectie wissen","pl-PL":"Wyczy\u015b\u0107 selekcj\u0119","pt-BR":"Limpar sele\xe7\xe3o","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440","sv-SE":"Rensa urval","tr-TR":"Se\xe7imi temizle","zh-CN":"\u6e05\u9664\u9009\u62e9","zh-TW":"\u6e05\u9664\u9078\u9805"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen l\xf6schen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les s\xe9lections","it-IT":"Cancella tutte le selezioni","ja-JP":"\u9078\u629e\u3092\u3059\u3079\u3066\u30af\u30ea\u30a2\u3059\u308b","ko-KR":"\ubaa8\ub4e0 \uc120\ud0dd \ud574\uc81c","nl-NL":"Alle selecties wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie selekcje","pt-BR":"Limpar todas as sele\xe7\xf5es","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043e\u0442 \u0432\u0441\u0435\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u043a","sv-SE":"Radera alla urval","tr-TR":"T\xfcm se\xe7imleri temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u9009\u62e9\u9879","zh-TW":"\u6e05\u9664\u6240\u6709\u9078\u9805"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status l\xf6schen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les \xe9tats","it-IT":"Cancella tutti gli stati","ja-JP":"\u5168\u30b9\u30c6\u30fc\u30c8\u3092\u30af\u30ea\u30a2","ko-KR":"\ubaa8\ub4e0 \uc0c1\ud0dc \uc9c0\uc6b0\uae30","nl-NL":"Alle states wissen","pl-PL":"Wyczy\u015b\u0107 wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f","sv-SE":"Rensa alla tillst\xe5nd","tr-TR":"T\xfcm durumlar\u0131 temizle","zh-CN":"\u6e05\u9664\u6240\u6709\u72b6\u6001","zh-TW":"\u6e05\u9664\u6240\u6709\u72c0\u614b"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl best\xe4tigen","en-US":"Confirm selection","es-ES":"Confirmar selecci\xf3n","fr-FR":"Confirmer la s\xe9lection","it-IT":"Conferma selezione","ja-JP":"\u9078\u629e\u306e\u78ba\u8a8d","ko-KR":"\uc120\ud0dd \ud655\uc778","nl-NL":"Selectie bevestigen","pl-PL":"Potwierd\u017a selekcj\u0119","pt-BR":"Confirmar sele\xe7\xe3o","ru-RU":"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443","sv-SE":"Bekr\xe4fta urval","tr-TR":"Se\xe7imi onayla","zh-CN":"\u786e\u8ba4\u9009\u62e9","zh-TW":"\u78ba\u8a8d\u9078\u53d6"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmen\xfc","en-US":"Selection menu","es-ES":"Men\xfa de selecci\xf3n","fr-FR":"Menu S\xe9lection","it-IT":"Menu Selezione","ja-JP":"\u9078\u629e\u30e1\u30cb\u30e5\u30fc","ko-KR":"\uc120\ud0dd \uba54\ub274","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de sele\xe7\xe3o","ru-RU":'\u041c\u0435\u043d\u044e "\u0412\u044b\u0431\u043e\u0440\u043a\u0430"',"sv-SE":"Urvalsmeny","tr-TR":"Se\xe7im men\xfcs\xfc","zh-CN":"\u9009\u62e9\u83dc\u5355","zh-TW":"\u9078\u9805\u529f\u80fd\u8868"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle ausw\xe4hlen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"S\xe9lectionner tout","it-IT":"Seleziona tutto","ja-JP":"\u3059\u3079\u3066\u9078\u629e","ko-KR":"\ubaa8\ub450 \uc120\ud0dd","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435","sv-SE":"V\xe4lj alla","tr-TR":"T\xfcm\xfcn\xfc se\xe7","zh-CN":"\u5168\u9009","zh-TW":"\u5168\u9078"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte ausw\xe4hlen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"S\xe9lectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"\u4ee3\u66ff\u5024\u3092\u9078\u629e","ko-KR":"\ub300\uc548 \uc120\ud0dd","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatyw\u0119","pt-BR":"Selecionar alternativa","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435","sv-SE":"V\xe4lj alternativ","tr-TR":"Alternatifi se\xe7","zh-CN":"\u9009\u62e9\u66ff\u4ee3\u9879","zh-TW":"\u9078\u53d6\u66ff\u4ee3\u9078\u9805"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte ausw\xe4hlen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"S\xe9lectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"\u9664\u5916\u5024\u3092\u9078\u629e","ko-KR":"\uc81c\uc678 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar exclu\xeddo","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0435","sv-SE":"V\xe4lj uteslutna","tr-TR":"Hari\xe7 tutulan\u0131 se\xe7","zh-CN":"\u9009\u62e9\u6392\u9664\u9879","zh-TW":"\u9078\u53d6\u6392\u9664\u503c"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"W\xe4hlbare Werte ausw\xe4hlen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"S\xe9lectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"\u7d5e\u8fbc\u5024\u3092\u9078\u629e","ko-KR":"\uc0ac\uc6a9 \uac00\ub2a5 \ud56d\ubaa9 \uc120\ud0dd","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz mo\u017cliwe","pt-BR":"Selecionar poss\xedvel","ru-RU":"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435","sv-SE":"V\xe4lj m\xf6jliga","tr-TR":"Olas\u0131y\u0131 se\xe7","zh-CN":"\u9009\u62e9\u53ef\u80fd\u503c","zh-TW":"\u9078\u53d6\u53ef\u80fd\u503c"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollst\xe4ndige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualizaci\xf3n incompleta","fr-FR":"Visualisation incompl\xe8te","it-IT":"Visualizzazione incompleta","ja-JP":"\u672a\u5b8c\u4e86\u306e\u30d3\u30b8\u30e5\u30a2\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3","ko-KR":"\uc644\ub8cc\ub418\uc9c0 \uc54a\uc740 \uc2dc\uac01\ud654","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualiza\xe7\xe3o incompleta","ru-RU":"\u041d\u0435\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u0430\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f","sv-SE":"Ofullst\xe4ndig visualisering","tr-TR":"Tamamlanmam\u0131\u015f g\xf6rselle\u015ftirme","zh-CN":"\u4e0d\u5b8c\u6574\u7684\u53ef\u89c6\u5316","zh-TW":"\u8996\u89ba\u5316\u672a\u5b8c\u6210"}},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} \u8ef8","ko-KR":"{1} \ucc28\uc6d0\uc758 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiar\xf3w","pt-BR":"{0} de {1} dimens\xf5es","ru-RU":"\u0418\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} \u4e2a\u7ef4\u5ea6","zh-TW":"{1} \u500b\u7dad\u5ea6\u4e2d\u7684 {0} \u500b"}},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} \u30e1\u30b8\u30e3\u30fc","ko-KR":"{1} \uce21\uc815\uac12\uc758 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"\u041c\u0435\u0440\u044b: {0} \u0438\u0437 {1}","sv-SE":"{0} av {1} m\xe5tt","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} \u4e2a\u5ea6\u91cf","zh-TW":"{1} \u500b\u91cf\u503c\u4e2d\u7684 {0} \u500b"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ung\xfcltige Dimension","en-US":"Invalid dimension","es-ES":"Dimensi\xf3n no v\xe1lida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"\u7121\u52b9\u306a\u8ef8\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \ucc28\uc6d0","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawid\u0142owy wymiar","pt-BR":"Dimens\xe3o inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435","sv-SE":"Ogiltig dimension","tr-TR":"Ge\xe7ersiz boyut","zh-CN":"\u65e0\u6548\u7ef4\u5ea6","zh-TW":"\u7dad\u5ea6\u7121\u6548"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ung\xfcltige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no v\xe1lida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"\u7121\u52b9\u306a\u30e1\u30b8\u30e3\u30fc\u3067\u3059","ko-KR":"\uc798\ubabb\ub41c \uce21\uc815\uac12","nl-NL":"Ongeldige meting","pl-PL":"Nieprawid\u0142owa miara","pt-BR":"Medida inv\xe1lida","ru-RU":"\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f \u043c\u0435\u0440\u0430","sv-SE":"Ogiltigt m\xe5tt","tr-TR":"Ge\xe7ersiz hesaplama","zh-CN":"\u65e0\u6548\u5ea6\u91cf\u9879","zh-TW":"\u91cf\u503c\u7121\u6548"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"\u30a8\u30e9\u30fc","ko-KR":"\uc624\ub958","nl-NL":"Fout","pl-PL":"B\u0142\u0105d","pt-BR":"Erro","ru-RU":"\u041e\u0448\u0438\u0431\u043a\u0430","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"\u9519\u8bef","zh-TW":"\u932f\u8aa4"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erf\xfcllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condici\xf3n de c\xe1lculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non \xe8 soddisfatta","ja-JP":"\u6f14\u7b97\u5b9f\u884c\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u3066\u3044\u307e\u305b\u3093","ko-KR":"\uacc4\uc0b0 \uc870\uac74\uc774 \ucda9\uc871\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spe\u0142niony","pt-BR":"A condi\xe7\xe3o de c\xe1lculo n\xe3o foi atendida","ru-RU":"\u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e","sv-SE":"Ber\xe4kningsvillkoret uppfylls inte","tr-TR":"Hesaplama ko\u015fulu yerine getirilmedi","zh-CN":"\u4e0d\u6ee1\u8db3\u8ba1\u7b97\u6761\u4ef6","zh-TW":"\u4e0d\u7b26\u8a08\u7b97\u689d\u4ef6"}}};function c(e){const t=l({initial:e});return Object.keys(u).forEach(e=>{t.translator.add(u[e])}),{translator:t.translator}}var d={};function h(){h.init.call(this)}d.isObject=function(e){return"object"==typeof e&&null!==e},d.isNumber=function(e){return"number"==typeof e},d.isUndefined=function(e){return void 0===e},d.isFunction=function(e){return"function"==typeof e};var p=h;h.EventEmitter=h,h.prototype._events=void 0,h.prototype._maxListeners=void 0,h.defaultMaxListeners=10,h.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},h.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},h.prototype.emit=function(e){var t,n,r,i,o,s;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(d.isUndefined(n=this._events[e]))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,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];n.apply(this,i)}else if(d.isObject(n)){for(r=arguments.length,i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];for(r=(s=n.slice()).length,o=0;o<r;o++)s[o].apply(this,i)}return!0},h.prototype.on=h.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)?h.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},h.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},h.prototype.removeListener=function(e,t){var n,r,i,o;if(!d.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(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(o=i;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){r=o;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},h.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(d.isFunction(n=this._events[e]))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},h.prototype.listeners=function(e){return this._events&&this._events[e]?d.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},h.listenerCount=function(e,t){return e._events&&e._events[t]?d.isFunction(e._events[t])?1:e._events[t].length:0};var f=Object.prototype.hasOwnProperty,m=Object.prototype.toString,y=Object.defineProperty,g=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=f.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&f.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||f.call(e,t)},w=function(e,t){y&&"__proto__"===t.name?y(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(!f.call(e,t))return;if(g)return g(e,t).value}return e[t]},x=function e(){var t,n,r,i,o,s,a=arguments[0],l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});l<u;++l)if(null!=(t=arguments[l]))for(n in t)r=E(a,n),a!==(i=E(t,n))&&(c&&i&&(b(i)||(o=v(i)))?(o?(o=!1,s=r&&v(r)?r:[]):s=r&&b(r)?r:{},w(a,{name:n,newValue:e(c,s,i)})):void 0!==i&&w(a,{name:n,newValue:i}));return a},_={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"},C={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};function k(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function T(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function O(){}var L=.7,I=1/L,R="\\s*([+-]?\\d+)\\s*",P="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",N="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A=/^#([0-9a-f]{3,8})$/,D=new RegExp("^rgb\\("+[R,R,R]+"\\)$"),M=new RegExp("^rgb\\("+[N,N,N]+"\\)$"),q=new RegExp("^rgba\\("+[R,R,R,P]+"\\)$"),j=new RegExp("^rgba\\("+[N,N,N,P]+"\\)$"),F=new RegExp("^hsl\\("+[P,N,N]+"\\)$"),z=new RegExp("^hsla\\("+[P,N,N,P]+"\\)$"),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 H(){return this.rgb().formatHex()}function V(){return this.rgb().formatRgb()}function W(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=A.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?U(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=D.exec(e))?new Z(t[1],t[2],t[3],1):(t=M.exec(e))?new Z(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=q.exec(e))?$(t[1],t[2],t[3],t[4]):(t=j.exec(e))?$(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=F.exec(e))?Y(t[1],t[2]/100,t[3]/100,1):(t=z.exec(e))?Y(t[1],t[2]/100,t[3]/100,t[4]):B.hasOwnProperty(e)?U(B[e]):"transparent"===e?new Z(NaN,NaN,NaN,0):null}function U(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 Q(e){return e instanceof O||(e=W(e)),e?new Z((e=e.rgb()).r,e.g,e.b,e.opacity):new Z}function K(e,t,n,r){return 1===arguments.length?Q(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 G(){return"#"+J(this.r)+J(this.g)+J(this.b)}function X(){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,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,a=o-i,l=(o+i)/2;return a?(s=t===o?(n-r)/a+6*(n<r):n===o?(r-t)/a+2:(t-n)/a+4,a/=l<.5?o+i:2-o-i,s*=60):a=l>0&&l<1?0:s,new te(s,a,l,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)}k(O,W,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:H,formatHex:H,formatHsl:function(){return ee(this).formatHsl()},formatRgb:V,toString:V}),k(Z,K,T(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?L:Math.pow(L,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:G,formatHex:G,formatRgb:X,toString:X})),k(te,(function(e,t,n,r){return 1===arguments.length?ee(e):new te(e,t,n,null==r?1:r)}),T(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?L:Math.pow(L,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,i=2*n-r;return new Z(ne(e>=240?e-240:e+120,i,r),ne(e,i,r),ne(e<120?e+240:e-120,i,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 i=Math.floor(r);i=i===r?i-1:i;const o=this.colorParts[t][i],s=o[0],a=o[1];return e===this.min?a:e===this.max?s:function(e,t,n){return K(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(s,a,r-i)}}function ie(e,t,n){const r=.25+(t+1)/n*.25,i=.5-r;return i+e/1*(.5+r-i)}function oe(e,t,n){const r=[],i=new re(t);r.push(e[0]),n||r.push(e[0]);let o=1;for(;o<e.length-1;o++)r.push(e[o]),r.push(e[o]);r.push(e[o]),n||r.push(e[o]);for(let s=0;s<r.length;s+=2)i.addColorPart(r[s],r[s+1]);return i}function se(e,t,n){const r=[];for(let i=0;i<t+1;i++){let o;switch(t){case 0:o=e.getColor(.5);break;default:{const r=ie(1/t*i,t,n);o=e.getColor(r);break}}r.push(W(o).formatHex())}return r}function ae(e,t,n){const r=oe(e,n,!0),i=oe(se(r,t-1,t),n,!1),o=[null];for(let s=0;s<t;s++)o.push(se(i,s,t));return o}function le(e,t){let n=e;for(let r=0;r<t.length;r++){if(!n[t[r]])return null;n=n[t[r]]}return n}function ue(e,t){const n=e.split(".");return{getStyle:(e,r)=>function(e,t,n,r){let i;return i=function(e,t){const n=[];let r,i;if(e){let o=e.length;for(;o>=0;){for(r=t.slice(),i=r.length;i>=0;)n.push(r.concat(e)),r.pop(),i--;e.pop(),o--}}else for(r=t.slice(),i=r.length;i>=0;)n.push(r.concat()),r.pop(),i--;return n}(""===e?null:e.split("."),n),function(e,t,n){for(let r=0;r<e.length;r++){const i=le(n,e[r]);if(null!==i&&i[t])return i[t]}}(i,t,r)}(e,r,n.concat(),t)}}function ce(e){const t=W(e).rgb(),{r:n,g:r,b:i}=t,[o,s,a]=[n,r,i].map(e=>e/255),[l,u,c]=[o,s,a].map(e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4);return+(.2126*l+.7152*u+.0722*c).toFixed(5)}function de(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}function he(){let e,t,n,r={};const i={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,i)=>(r[t]||(r[t]=ue(t,e)),r[t].getStyle(n,i,!1))},o={setTheme(o,s){e=function(e,t){const n=x(!0,{},_,"dark"===e.type?C:S),r=x(!0,{},n,{scales:null,palettes:{data:null,ui:null}},e);return r.palettes.data&&r.palettes.data.length||(r.palettes.data=n.palettes.data),r.palettes.ui&&r.palettes.ui.length||(r.palettes.ui=n.palettes.ui),r.scales&&r.scales.length||(r.scales=n.scales),t(r)}(o,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 a=i.getStyle("","","color"),l=ce(a);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(i){if(!t[i]){n>1e3&&(t={},n=0);const o=ce(i),s=r.map(e=>de(o,e)),a=e[s.indexOf(Math.max(...s))];t[i]=a,n++}return t[i]}}}([a,l<.2?"#ffffff":"#333333"]),i.emit("changed"),i.name=()=>s}};return Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i),o.setTheme({},"light"),{externalAPI:i,internalAPI:o}}ue.resolveRawTheme=e=>{const t=x(!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=ae(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 pe=(e,t)=>new Promise(n=>setTimeout(()=>n(t),e));function fe(){let{themes:e=[],root:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=he();return{setTheme:async r=>{const i=e.filter(e=>e.id===r)[0];let o="dark"===r?"dark":"light";if(i&&i.load)try{const e=await Promise.race([i.load(),pe(5e3,{__timedOut:!0})]);e.__timedOut||(o="dark"===e.type?"dark":"light",n.internalAPI.setTheme(e,r),t.setMuiThemeName(o))}catch(e){}else n.internalAPI.setTheme({type:o},r),t.setMuiThemeName(o)},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 ye={exports:{}},ge={},ve=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,we=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 xe=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,i=Ee(e),o=1;o<arguments.length;o++){for(var s in n=Object(arguments[o]))be.call(n,s)&&(i[s]=n[s]);if(ve){r=ve(n);for(var a=0;a<r.length;a++)we.call(n,r[a])&&(i[r[a]]=n[r[a]])}}return i},_e=xe,Se=60103,Ce=60106;ge.Fragment=60107,ge.StrictMode=60108,ge.Profiler=60114;var ke=60109,Te=60110,Oe=60112;ge.Suspense=60113;var Le=60115,Ie=60116;if("function"==typeof Symbol&&Symbol.for){var Re=Symbol.for;Se=Re("react.element"),Ce=Re("react.portal"),ge.Fragment=Re("react.fragment"),ge.StrictMode=Re("react.strict_mode"),ge.Profiler=Re("react.profiler"),ke=Re("react.provider"),Te=Re("react.context"),Oe=Re("react.forward_ref"),ge.Suspense=Re("react.suspense"),Le=Re("react.memo"),Ie=Re("react.lazy")}var Pe="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 Ae={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},De={};function Me(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ae}function qe(){}function je(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ae}Me.prototype.isReactComponent={},Me.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")},Me.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},qe.prototype=Me.prototype;var Fe=je.prototype=new qe;Fe.constructor=je,_e(Fe,Me.prototype),Fe.isPureReactComponent=!0;var ze={current:null},Be=Object.prototype.hasOwnProperty,He={key:!0,ref:!0,__self:!0,__source:!0};function Ve(e,t,n){var r,i={},o=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)Be.call(t,r)&&!He.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return{$$typeof:Se,type:e,key:o,ref:s,props:i,_owner:ze.current}}function We(e){return"object"==typeof e&&null!==e&&e.$$typeof===Se}var Ue=/\/+/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 Qe(e,t,n){if(null==e)return e;var r=[],i=0;return function e(t,n,r,i,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var a=!1;if(null===t)a=!0;else switch(s){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case Se:case Ce:a=!0}}if(a)return o=o(a=t),t=""===i?"."+$e(a,0):i,Array.isArray(o)?(r="",null!=t&&(r=t.replace(Ue,"$&/")+"/"),e(o,n,r,"",(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,r+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Ue,"$&/")+"/")+t)),n.push(o)),1;if(a=0,i=""===i?".":i+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=i+$e(s=t[l],l);a+=e(s,n,r,u,o)}else if("function"==typeof(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Pe&&e[Pe]||e["@@iterator"])?e:null}(t)))for(t=u.call(t),l=0;!(s=t.next()).done;)a+=e(s=s.value,n,r,u=i+$e(s,l++),o);else if("object"===s)throw n=""+t,Error(Ne(31,"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n));return a}(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function Ke(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 Ze={current:null};function Ge(){var e=Ze.current;if(null===e)throw Error(Ne(321));return e}var Xe={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:ze,IsSomeRendererActing:{current:!1},assign:_e};ge.Children={map:Qe,forEach:function(e,t,n){Qe(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return Qe(e,(function(){t++})),t},toArray:function(e){return Qe(e,(function(e){return e}))||[]},only:function(e){if(!We(e))throw Error(Ne(143));return e}},ge.Component=Me,ge.PureComponent=je,ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xe,ge.cloneElement=function(e,t,n){if(null==e)throw Error(Ne(267,e));var r=_e({},e.props),i=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=ze.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Be.call(t,l)&&!He.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==a?a[l]:t[l])}var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Se,type:e.type,key:i,ref:o,props:r,_owner:s}},ge.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:Te,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:ke,_context:e},e.Consumer=e},ge.createElement=Ve,ge.createFactory=function(e){var t=Ve.bind(null,e);return t.type=e,t},ge.createRef=function(){return{current:null}},ge.forwardRef=function(e){return{$$typeof:Oe,render:e}},ge.isValidElement=We,ge.lazy=function(e){return{$$typeof:Ie,_payload:{_status:-1,_result:e},_init:Ke}},ge.memo=function(e,t){return{$$typeof:Le,type:e,compare:void 0===t?null:t}},ge.useCallback=function(e,t){return Ge().useCallback(e,t)},ge.useContext=function(e,t){return Ge().useContext(e,t)},ge.useDebugValue=function(){},ge.useEffect=function(e,t){return Ge().useEffect(e,t)},ge.useImperativeHandle=function(e,t,n){return Ge().useImperativeHandle(e,t,n)},ge.useLayoutEffect=function(e,t){return Ge().useLayoutEffect(e,t)},ge.useMemo=function(e,t){return Ge().useMemo(e,t)},ge.useReducer=function(e,t,n){return Ge().useReducer(e,t,n)},ge.useRef=function(e){return Ge().useRef(e)},ge.useState=function(e){return Ge().useState(e)},ge.version="17.0.2",ye.exports=ge;var Je=ye.exports,Ye={exports:{}},et={},tt={exports:{}},nt={};!function(e){var t,n,r,i;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,u=null,c=function(){if(null!==l)try{var t=e.unstable_now();l(!0,t),l=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==l?setTimeout(t,0,e):(l=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var p=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 p&&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 f=!1,m=null,y=-1,g=5,v=0;e.unstable_shouldYield=function(){return e.unstable_now()>=v},i=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"):g=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,w=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();v=t+g;try{m(!0,t)?w.postMessage(null):(f=!1,m=null)}catch(e){throw w.postMessage(null),e}}else f=!1},t=function(e){m=e,f||(f=!0,w.postMessage(null))},n=function(t,n){y=d((function(){t(e.unstable_now())}),n)},r=function(){h(y),y=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<S(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,s=e[o],a=o+1,l=e[a];if(void 0!==s&&0>S(s,n))void 0!==l&&0>S(l,s)?(e[r]=l,e[a]=n,r=a):(e[r]=s,e[o]=n,r=o);else{if(!(void 0!==l&&0>S(l,n)))break e;e[r]=l,e[a]=n,r=a}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],k=[],T=1,O=null,L=3,I=!1,R=!1,P=!1;function N(e){for(var t=x(k);null!==t;){if(null===t.callback)_(k);else{if(!(t.startTime<=e))break;_(k),t.sortIndex=t.expirationTime,E(C,t)}t=x(k)}}function A(e){if(P=!1,N(e),!R)if(null!==x(C))R=!0,t(D);else{var r=x(k);null!==r&&n(A,r.startTime-e)}}function D(t,i){R=!1,P&&(P=!1,r()),I=!0;var o=L;try{for(N(i),O=x(C);null!==O&&(!(O.expirationTime>i)||t&&!e.unstable_shouldYield());){var s=O.callback;if("function"==typeof s){O.callback=null,L=O.priorityLevel;var a=s(O.expirationTime<=i);i=e.unstable_now(),"function"==typeof a?O.callback=a:O===x(C)&&_(C),N(i)}else _(C);O=x(C)}if(null!==O)var l=!0;else{var u=x(k);null!==u&&n(A,u.startTime-i),l=!1}return l}finally{O=null,L=o,I=!1}}var M=i;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(){R||I||(R=!0,t(D))},e.unstable_getCurrentPriorityLevel=function(){return L},e.unstable_getFirstCallbackNode=function(){return x(C)},e.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=M,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},e.unstable_scheduleCallback=function(i,o,s){var a=e.unstable_now();switch(s="object"==typeof s&&null!==s&&"number"==typeof(s=s.delay)&&0<s?a+s:a,i){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return i={id:T++,callback:o,priorityLevel:i,startTime:s,expirationTime:l=s+l,sortIndex:-1},s>a?(i.sortIndex=s,E(k,i),null===x(C)&&i===x(k)&&(P?r():P=!0,n(A,s-a))):(i.sortIndex=l,E(C,i),R||I||(R=!0,t(D))),i},e.unstable_wrapCallback=function(e){var t=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}}(nt),tt.exports=nt;var rt=ye.exports,it=xe,ot=tt.exports;function st(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(!rt)throw Error(st(227));var at=new Set,lt={};function ut(e,t){ct(e,t),ct(e+"Capture",t)}function ct(e,t){for(lt[e]=t,e=0;e<t.length;e++)at.add(t[e])}var dt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ht=/^[: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]*$/,pt=Object.prototype.hasOwnProperty,ft={},mt={};function yt(e,t,n,r,i,o,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){gt[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];gt[t]=new yt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){gt[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){gt[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){gt[e]=new yt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){gt[e]=new yt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){gt[e]=new yt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){gt[e]=new yt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){gt[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var vt=/[\-:]([a-z])/g;function bt(e){return e[1].toUpperCase()}function wt(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(null!==i?0===i.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,i,r)&&(n=null),r||null===i?function(e){return!!pt.call(mt,e)||!pt.call(ft,e)&&(ht.test(e)?mt[e]=!0:(ft[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!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(vt,bt);gt[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(vt,bt);gt[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(vt,bt);gt[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){gt[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)})),gt.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){gt[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Et=rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xt=60103,_t=60106,St=60107,Ct=60108,kt=60114,Tt=60109,Ot=60110,Lt=60112,It=60113,Rt=60120,Pt=60115,Nt=60116,At=60121,Dt=60128,Mt=60129,qt=60130,jt=60131;if("function"==typeof Symbol&&Symbol.for){var Ft=Symbol.for;xt=Ft("react.element"),_t=Ft("react.portal"),St=Ft("react.fragment"),Ct=Ft("react.strict_mode"),kt=Ft("react.profiler"),Tt=Ft("react.provider"),Ot=Ft("react.context"),Lt=Ft("react.forward_ref"),It=Ft("react.suspense"),Rt=Ft("react.suspense_list"),Pt=Ft("react.memo"),Nt=Ft("react.lazy"),At=Ft("react.block"),Ft("react.scope"),Dt=Ft("react.opaque.id"),Mt=Ft("react.debug_trace_mode"),qt=Ft("react.offscreen"),jt=Ft("react.legacy_hidden")}var zt,Bt="function"==typeof Symbol&&Symbol.iterator;function Ht(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Bt&&e[Bt]||e["@@iterator"])?e:null}function Vt(e){if(void 0===zt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);zt=t&&t[1]||""}return"\n"+zt+e}var Wt=!1;function Ut(e,t){if(!e||Wt)return"";Wt=!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 i=e.stack.split("\n"),o=r.stack.split("\n"),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(1!==s||1!==a)do{if(s--,0>--a||i[s]!==o[a])return"\n"+i[s].replace(" at new "," at ")}while(1<=s&&0<=a);break}}}finally{Wt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vt(e):""}function $t(e){switch(e.tag){case 5:return Vt(e.type);case 16:return Vt("Lazy");case 13:return Vt("Suspense");case 19:return Vt("SuspenseList");case 0:case 2:case 15:return Ut(e.type,!1);case 11:return Ut(e.type.render,!1);case 22:return Ut(e.type._render,!1);case 1:return Ut(e.type,!0);default:return""}}function Qt(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 St:return"Fragment";case _t:return"Portal";case kt:return"Profiler";case Ct:return"StrictMode";case It:return"Suspense";case Rt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ot:return(e.displayName||"Context")+".Consumer";case Tt:return(e._context.displayName||"Context")+".Provider";case Lt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Pt:return Qt(e.type);case At:return Qt(e._render);case Nt:t=e._payload,e=e._init;try{return Qt(e(t))}catch(e){}}return null}function Kt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Zt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Gt(e){e._valueTracker||(e._valueTracker=function(e){var t=Zt(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.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 Xt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Zt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Jt(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 Yt(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 en(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Kt(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 tn(e,t){null!=(t=t.checked)&&wt(e,"checked",t,!1)}function nn(e,t){tn(e,t);var n=Kt(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")?on(e,t.type,n):t.hasOwnProperty("defaultValue")&&on(e,t.type,Kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function rn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&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 on(e,t,n){"number"===t&&Jt(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function sn(e,t){return e=it({children:void 0},t),(t=function(e){var t="";return rt.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function an(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Kt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ln(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(st(91));return it({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function un(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(st(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(st(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Kt(n)}}function cn(e,t){var n=Kt(t.value),r=Kt(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 dn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var hn="http://www.w3.org/1999/xhtml";function pn(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 fn(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var mn,yn,gn=(yn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((mn=mn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=mn.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 vn(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 bn={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},wn=["Webkit","ms","Moz","O"];function En(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||bn.hasOwnProperty(e)&&bn[e]?(""+t).trim():t+"px"}function xn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=En(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(bn).forEach((function(e){wn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bn[t]=bn[e]}))}));var _n=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 Sn(e,t){if(t){if(_n[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(st(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(st(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(st(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(st(62))}}function Cn(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 kn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Tn=null,On=null,Ln=null;function In(e){if(e=Jo(e)){if("function"!=typeof Tn)throw Error(st(280));var t=e.stateNode;t&&(t=es(t),Tn(e.stateNode,e.type,t))}}function Rn(e){On?Ln?Ln.push(e):Ln=[e]:On=e}function Pn(){if(On){var e=On,t=Ln;if(Ln=On=null,In(e),t)for(e=0;e<t.length;e++)In(t[e])}}function Nn(e,t){return e(t)}function An(e,t,n,r,i){return e(t,n,r,i)}function Dn(){}var Mn=Nn,qn=!1,jn=!1;function Fn(){null===On&&null===Ln||(Dn(),Pn())}function zn(e,t){var n=e.stateNode;if(null===n)return null;var r=es(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(st(231,t,typeof n));return n}var Bn=!1;if(dt)try{var Hn={};Object.defineProperty(Hn,"passive",{get:function(){Bn=!0}}),window.addEventListener("test",Hn,Hn),window.removeEventListener("test",Hn,Hn)}catch(yn){Bn=!1}function Vn(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Wn=!1,Un=null,$n=!1,Qn=null,Kn={onError:function(e){Wn=!0,Un=e}};function Zn(e,t,n,r,i,o,s,a,l){Wn=!1,Un=null,Vn.apply(Kn,arguments)}function Gn(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 Xn(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 Jn(e){if(Gn(e)!==e)throw Error(st(188))}function Yn(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Gn(e)))throw Error(st(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Jn(i),e;if(o===r)return Jn(i),t;o=o.sibling}throw Error(st(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(st(189))}}if(n.alternate!==r)throw Error(st(190))}if(3!==n.tag)throw Error(st(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 er(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tr,nr,rr,ir,or=!1,sr=[],ar=null,lr=null,ur=null,cr=new Map,dr=new Map,hr=[],pr="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 fr(e,t,n,r,i){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:i,targetContainers:[r]}}function mr(e,t){switch(e){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":lr=null;break;case"mouseover":case"mouseout":ur=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dr.delete(t.pointerId)}}function yr(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=fr(t,n,r,i,o),null!==t&&null!==(t=Jo(t))&&nr(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function gr(e){var t=Xo(e.target);if(null!==t){var n=Gn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xn(n)))return e.blockedOn=t,void ir(e.lanePriority,(function(){ot.unstable_runWithPriority(e.priority,(function(){rr(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Jo(n))&&nr(t),e.blockedOn=n,!1;t.shift()}return!0}function br(e,t,n){vr(e)&&n.delete(t)}function wr(){for(or=!1;0<sr.length;){var e=sr[0];if(null!==e.blockedOn){null!==(e=Jo(e.blockedOn))&&tr(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&sr.shift()}null!==ar&&vr(ar)&&(ar=null),null!==lr&&vr(lr)&&(lr=null),null!==ur&&vr(ur)&&(ur=null),cr.forEach(br),dr.forEach(br)}function Er(e,t){e.blockedOn===t&&(e.blockedOn=null,or||(or=!0,ot.unstable_scheduleCallback(ot.unstable_NormalPriority,wr)))}function xr(e){function t(t){return Er(t,e)}if(0<sr.length){Er(sr[0],e);for(var n=1;n<sr.length;n++){var r=sr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==ar&&Er(ar,e),null!==lr&&Er(lr,e),null!==ur&&Er(ur,e),cr.forEach(t),dr.forEach(t),n=0;n<hr.length;n++)(r=hr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<hr.length&&null===(n=hr[0]).blockedOn;)gr(n),null===n.blockedOn&&hr.shift()}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Cr={},kr={};function Tr(e){if(Cr[e])return Cr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return Cr[e]=n[t];return e}dt&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Or=Tr("animationend"),Lr=Tr("animationiteration"),Ir=Tr("animationstart"),Rr=Tr("transitionend"),Pr=new Map,Nr=new Map,Ar=["abort","abort",Or,"animationEnd",Lr,"animationIteration",Ir,"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",Rr,"transitionEnd","waiting","waiting"];function Dr(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1];i="on"+(i[0].toUpperCase()+i.slice(1)),Nr.set(r,t),Pr.set(r,i),ut(i,[r])}}(0,ot.unstable_now)();var Mr=8;function qr(e){if(0!=(1&e))return Mr=15,1;if(0!=(2&e))return Mr=14,2;if(0!=(4&e))return Mr=13,4;var t=24&e;return 0!==t?(Mr=12,t):0!=(32&e)?(Mr=11,32):0!=(t=192&e)?(Mr=10,t):0!=(256&e)?(Mr=9,256):0!=(t=3584&e)?(Mr=8,t):0!=(4096&e)?(Mr=7,4096):0!=(t=4186112&e)?(Mr=6,t):0!=(t=62914560&e)?(Mr=5,t):67108864&e?(Mr=4,67108864):0!=(134217728&e)?(Mr=3,134217728):0!=(t=805306368&e)?(Mr=2,t):0!=(1073741824&e)?(Mr=1,1073741824):(Mr=8,e)}function jr(e,t){var n=e.pendingLanes;if(0===n)return Mr=0;var r=0,i=0,o=e.expiredLanes,s=e.suspendedLanes,a=e.pingedLanes;if(0!==o)r=o,i=Mr=15;else if(0!=(o=134217727&n)){var l=o&~s;0!==l?(r=qr(l),i=Mr):0!=(a&=o)&&(r=qr(a),i=Mr)}else 0!=(o=n&~s)?(r=qr(o),i=Mr):0!==a&&(r=qr(a),i=Mr);if(0===r)return 0;if(r=n&((0>(r=31-Vr(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&s)){if(qr(t),i<=Mr)return t;Mr=i}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-Vr(t)),r|=e[n],t&=~i;return r}function Fr(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zr(e){return e&-e}function Br(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Hr(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-(Wr(e)/Ur|0)|0},Wr=Math.log,Ur=Math.LN2,$r=ot.unstable_UserBlockingPriority,Qr=ot.unstable_runWithPriority,Kr=!0;function Zr(e,t,n,r){qn||Dn();var i=Xr,o=qn;qn=!0;try{An(i,e,t,n,r)}finally{(qn=o)||Fn()}}function Gr(e,t,n,r){Qr($r,Xr.bind(null,e,t,n,r))}function Xr(e,t,n,r){var i;if(Kr)if((i=0==(4&t))&&0<sr.length&&-1<pr.indexOf(e))e=fr(null,e,t,n,r),sr.push(e);else{var o=Jr(e,t,n,r);if(null===o)i&&mr(e,r);else{if(i){if(-1<pr.indexOf(e))return e=fr(o,e,t,n,r),void sr.push(e);if(function(e,t,n,r,i){switch(t){case"focusin":return ar=yr(ar,e,t,n,r,i),!0;case"dragenter":return lr=yr(lr,e,t,n,r,i),!0;case"mouseover":return ur=yr(ur,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return cr.set(o,yr(cr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return dr.set(o=i.pointerId,yr(dr.get(o)||null,e,t,n,r,i)),!0}return!1}(o,e,t,n,r))return;mr(e,r)}Io(e,t,r,null,n)}}}function Jr(e,t,n,r){var i=kn(r);if(null!==(i=Xo(i))){var o=Gn(i);if(null===o)i=null;else{var s=o.tag;if(13===s){if(null!==(i=Xn(o)))return i;i=null}else if(3===s){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Io(e,t,r,i,n),null}var Yr=null,ei=null,ti=null;function ni(){if(ti)return ti;var e,t,n=ei,r=n.length,i="value"in Yr?Yr.value:Yr.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===i[o-t];t++);return ti=i.slice(e,1<t?1-t:void 0)}function ri(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 ii(){return!0}function oi(){return!1}function si(e){function t(t,n,r,i,o){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(s)&&(this[s]=(t=e[s])?t(i):i[s]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?ii:oi,this.isPropagationStopped=oi,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=ii)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ii)},persist:function(){},isPersistent:ii}),t}var ai,li,ui,ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},di=si(ci),hi=it({},ci,{view:0,detail:0}),pi=si(hi),fi=it({},hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ci,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!==ui&&(ui&&"mousemove"===e.type?(ai=e.screenX-ui.screenX,li=e.screenY-ui.screenY):li=ai=0,ui=e),ai)},movementY:function(e){return"movementY"in e?e.movementY:li}}),mi=si(fi),yi=si(it({},fi,{dataTransfer:0})),gi=si(it({},hi,{relatedTarget:0})),vi=si(it({},ci,{animationName:0,elapsedTime:0,pseudoElement:0})),bi=si(it({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),wi=si(it({},ci,{data:0})),Ei={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xi={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"},_i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Si(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_i[e])&&!!t[e]}function Ci(){return Si}var ki=si(it({},hi,{key:function(e){if(e.key){var t=Ei[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ri(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ci,charCode:function(e){return"keypress"===e.type?ri(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ri(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ti=si(it({},fi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Oi=si(it({},hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ci})),Li=si(it({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ii=si(it({},fi,{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})),Ri=[9,13,27,32],Pi=dt&&"CompositionEvent"in window,Ni=null;dt&&"documentMode"in document&&(Ni=document.documentMode);var Ai=dt&&"TextEvent"in window&&!Ni,Di=dt&&(!Pi||Ni&&8<Ni&&11>=Ni),Mi=String.fromCharCode(32),qi=!1;function ji(e,t){switch(e){case"keyup":return-1!==Ri.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fi(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var zi=!1,Bi={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 Hi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bi[e.type]:"textarea"===t}function Vi(e,t,n,r){Rn(r),0<(t=Po(t,"onChange")).length&&(n=new di("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wi=null,Ui=null;function $i(e){So(e,0)}function Qi(e){if(Xt(Yo(e)))return e}function Ki(e,t){if("change"===e)return t}var Zi=!1;if(dt){var Gi;if(dt){var Xi="oninput"in document;if(!Xi){var Ji=document.createElement("div");Ji.setAttribute("oninput","return;"),Xi="function"==typeof Ji.oninput}Gi=Xi}else Gi=!1;Zi=Gi&&(!document.documentMode||9<document.documentMode)}function Yi(){Wi&&(Wi.detachEvent("onpropertychange",eo),Ui=Wi=null)}function eo(e){if("value"===e.propertyName&&Qi(Ui)){var t=[];if(Vi(t,Ui,e,kn(e)),e=$i,qn)e(t);else{qn=!0;try{Nn(e,t)}finally{qn=!1,Fn()}}}}function to(e,t,n){"focusin"===e?(Yi(),Ui=n,(Wi=t).attachEvent("onpropertychange",eo)):"focusout"===e&&Yi()}function no(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qi(Ui)}function ro(e,t){if("click"===e)return Qi(t)}function io(e,t){if("input"===e||"change"===e)return Qi(t)}var oo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},so=Object.prototype.hasOwnProperty;function ao(e,t){if(oo(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(!so.call(t,n[r])||!oo(e[n[r]],t[n[r]]))return!1;return!0}function lo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function uo(e,t){var n,r=lo(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=lo(r)}}function co(){for(var e=window,t=Jt();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Jt((e=t.contentWindow).document)}return t}function ho(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 po=dt&&"documentMode"in document&&11>=document.documentMode,fo=null,mo=null,yo=null,go=!1;function vo(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;go||null==fo||fo!==Jt(r)||(r="selectionStart"in(r=fo)&&ho(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},yo&&ao(yo,r)||(yo=r,0<(r=Po(mo,"onSelect")).length&&(t=new di("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=fo)))}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(Ar,2);for(var bo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),wo=0;wo<bo.length;wo++)Nr.set(bo[wo],0);ct("onMouseEnter",["mouseout","mouseover"]),ct("onMouseLeave",["mouseout","mouseover"]),ct("onPointerEnter",["pointerout","pointerover"]),ct("onPointerLeave",["pointerout","pointerover"]),ut("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ut("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ut("onBeforeInput",["compositionend","keypress","textInput","paste"]),ut("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ut("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ut("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eo));function _o(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,a,l){if(Zn.apply(this,arguments),Wn){if(!Wn)throw Error(st(198));var u=Un;Wn=!1,Un=null,$n||($n=!0,Qn=u)}}(r,t,void 0,e),e.currentTarget=null}function So(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;_o(i,a,u),o=l}else for(s=0;s<r.length;s++){if(l=(a=r[s]).instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;_o(i,a,u),o=l}}}if($n)throw e=Qn,$n=!1,Qn=null,e}function Co(e,t){var n=ts(t),r=e+"__bubble";n.has(r)||(Lo(t,e,2,!1),n.add(r))}var ko="_reactListening"+Math.random().toString(36).slice(2);function To(e){e[ko]||(e[ko]=!0,at.forEach((function(t){xo.has(t)||Oo(t,!1,e,null),Oo(t,!0,e,null)})))}function Oo(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&xo.has(e)){if("scroll"!==e)return;i|=2,o=r}var s=ts(o),a=e+"__"+(t?"capture":"bubble");s.has(a)||(t&&(i|=4),Lo(o,e,i,t),s.add(a))}function Lo(e,t,n,r){var i=Nr.get(t);switch(void 0===i?2:i){case 0:i=Zr;break;case 1:i=Gr;break;default:i=Xr}n=i.bind(null,t,n,e),i=void 0,!Bn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),e.addEventListener(t,n,r?void 0===i||{capture:!0,passive:i}:void 0!==i&&{passive:i})}function Io(e,t,n,r,i){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var a=r.stateNode.containerInfo;if(a===i||8===a.nodeType&&a.parentNode===i)break;if(4===s)for(s=r.return;null!==s;){var l=s.tag;if((3===l||4===l)&&((l=s.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;s=s.return}for(;null!==a;){if(null===(s=Xo(a)))return;if(5===(l=s.tag)||6===l){r=o=s;continue e}a=a.parentNode}}r=r.return}!function(e,t,n){if(jn)return e();jn=!0;try{Mn(e,void 0,void 0)}finally{jn=!1,Fn()}}((function(){var r=o,i=kn(n),s=[];e:{var a=Pr.get(e);if(void 0!==a){var l=di,u=e;switch(e){case"keypress":if(0===ri(n))break e;case"keydown":case"keyup":l=ki;break;case"focusin":u="focus",l=gi;break;case"focusout":u="blur",l=gi;break;case"beforeblur":case"afterblur":l=gi;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":l=mi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=yi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Oi;break;case Or:case Lr:case Ir:l=vi;break;case Rr:l=Li;break;case"scroll":l=pi;break;case"wheel":l=Ii;break;case"copy":case"cut":case"paste":l=bi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Ti}var c=0!=(4&t),d=!c&&"scroll"===e,h=c?null!==a?a+"Capture":null:a;c=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&null!=(m=zn(f,h))&&c.push(Ro(f,m,p))),d)break;f=f.return}0<c.length&&(a=new l(a,u,null,n,i),s.push({event:a,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!Xo(u)&&!u[Zo])&&(l||a)&&(a=i.window===i?i:(a=i.ownerDocument)?a.defaultView||a.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Xo(u):null)&&(u!==(d=Gn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=mi,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ti,m="onPointerLeave",h="onPointerEnter",f="pointer"),d=null==l?a:Yo(l),p=null==u?a:Yo(u),(a=new c(m,f+"leave",l,n,i)).target=d,a.relatedTarget=p,m=null,Xo(i)===r&&((c=new c(h,f+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(h=u,f=0,p=c=l;p;p=No(p))f++;for(p=0,m=h;m;m=No(m))p++;for(;0<f-p;)c=No(c),f--;for(;0<p-f;)h=No(h),p--;for(;f--;){if(c===h||null!==h&&c===h.alternate)break e;c=No(c),h=No(h)}c=null}else c=null;null!==l&&Ao(s,a,l,c,!1),null!==u&&null!==d&&Ao(s,d,u,c,!0)}if("select"===(l=(a=r?Yo(r):window).nodeName&&a.nodeName.toLowerCase())||"input"===l&&"file"===a.type)var y=Ki;else if(Hi(a))if(Zi)y=io;else{y=no;var g=to}else(l=a.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(y=ro);switch(y&&(y=y(e,r))?Vi(s,y,n,i):(g&&g(e,a,r),"focusout"===e&&(g=a._wrapperState)&&g.controlled&&"number"===a.type&&on(a,"number",a.value)),g=r?Yo(r):window,e){case"focusin":(Hi(g)||"true"===g.contentEditable)&&(fo=g,mo=r,yo=null);break;case"focusout":yo=mo=fo=null;break;case"mousedown":go=!0;break;case"contextmenu":case"mouseup":case"dragend":go=!1,vo(s,n,i);break;case"selectionchange":if(po)break;case"keydown":case"keyup":vo(s,n,i)}var v;if(Pi)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 zi?ji(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Di&&"ko"!==n.locale&&(zi||"onCompositionStart"!==b?"onCompositionEnd"===b&&zi&&(v=ni()):(ei="value"in(Yr=i)?Yr.value:Yr.textContent,zi=!0)),0<(g=Po(r,b)).length&&(b=new wi(b,e,null,n,i),s.push({event:b,listeners:g}),(v||null!==(v=Fi(n)))&&(b.data=v))),(v=Ai?function(e,t){switch(e){case"compositionend":return Fi(t);case"keypress":return 32!==t.which?null:(qi=!0,Mi);case"textInput":return(e=t.data)===Mi&&qi?null:e;default:return null}}(e,n):function(e,t){if(zi)return"compositionend"===e||!Pi&&ji(e,t)?(e=ni(),ti=ei=Yr=null,zi=!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 Di&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&0<(r=Po(r,"onBeforeInput")).length&&(i=new wi("onBeforeInput","beforeinput",null,n,i),s.push({event:i,listeners:r}),i.data=v)}So(s,t)}))}function Ro(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Po(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=zn(e,n))&&r.unshift(Ro(e,o,i)),null!=(o=zn(e,t))&&r.push(Ro(e,o,i))),e=e.return}return r}function No(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ao(e,t,n,r,i){for(var o=t._reactName,s=[];null!==n&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(null!==l&&l===r)break;5===a.tag&&null!==u&&(a=u,i?null!=(l=zn(n,o))&&s.unshift(Ro(n,l,a)):i||null!=(l=zn(n,o))&&s.push(Ro(n,l,a))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}function Do(){}var Mo=null,qo=null;function jo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Fo(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 zo="function"==typeof setTimeout?setTimeout:void 0,Bo="function"==typeof clearTimeout?clearTimeout:void 0;function Ho(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Vo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Wo(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 Uo=0,$o=Math.random().toString(36).slice(2),Qo="__reactFiber$"+$o,Ko="__reactProps$"+$o,Zo="__reactContainer$"+$o,Go="__reactEvents$"+$o;function Xo(e){var t=e[Qo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zo]||n[Qo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Wo(e);null!==e;){if(n=e[Qo])return n;e=Wo(e)}return t}n=(e=n).parentNode}return null}function Jo(e){return!(e=e[Qo]||e[Zo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Yo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(st(33))}function es(e){return e[Ko]||null}function ts(e){var t=e[Go];return void 0===t&&(t=e[Go]=new Set),t}var ns=[],rs=-1;function is(e){return{current:e}}function os(e){0>rs||(e.current=ns[rs],ns[rs]=null,rs--)}function ss(e,t){rs++,ns[rs]=e.current,e.current=t}var as={},ls=is(as),us=is(!1),cs=as;function ds(e,t){var n=e.type.contextTypes;if(!n)return as;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function hs(e){return null!=e.childContextTypes}function ps(){os(us),os(ls)}function fs(e,t,n){if(ls.current!==as)throw Error(st(168));ss(ls,t),ss(us,n)}function ms(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(st(108,Qt(t)||"Unknown",i));return it({},n,r)}function ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||as,cs=ls.current,ss(ls,e),ss(us,us.current),!0}function gs(e,t,n){var r=e.stateNode;if(!r)throw Error(st(169));n?(e=ms(e,t,cs),r.__reactInternalMemoizedMergedChildContext=e,os(us),os(ls),ss(ls,e)):os(us),ss(us,n)}var vs=null,bs=null,ws=ot.unstable_runWithPriority,Es=ot.unstable_scheduleCallback,xs=ot.unstable_cancelCallback,_s=ot.unstable_shouldYield,Ss=ot.unstable_requestPaint,Cs=ot.unstable_now,ks=ot.unstable_getCurrentPriorityLevel,Ts=ot.unstable_ImmediatePriority,Os=ot.unstable_UserBlockingPriority,Ls=ot.unstable_NormalPriority,Is=ot.unstable_LowPriority,Rs=ot.unstable_IdlePriority,Ps={},Ns=void 0!==Ss?Ss:function(){},As=null,Ds=null,Ms=!1,qs=Cs(),js=1e4>qs?Cs:function(){return Cs()-qs};function Fs(){switch(ks()){case Ts:return 99;case Os:return 98;case Ls:return 97;case Is:return 96;case Rs:return 95;default:throw Error(st(332))}}function zs(e){switch(e){case 99:return Ts;case 98:return Os;case 97:return Ls;case 96:return Is;case 95:return Rs;default:throw Error(st(332))}}function Bs(e,t){return e=zs(e),ws(e,t)}function Hs(e,t,n){return e=zs(e),Es(e,t,n)}function Vs(){if(null!==Ds){var e=Ds;Ds=null,xs(e)}Ws()}function Ws(){if(!Ms&&null!==As){Ms=!0;var e=0;try{var t=As;Bs(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),As=null}catch(t){throw null!==As&&(As=As.slice(e+1)),Es(Ts,Vs),t}finally{Ms=!1}}}var Us=Et.ReactCurrentBatchConfig;function $s(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 Qs=is(null),Ks=null,Zs=null,Gs=null;function Xs(){Gs=Zs=Ks=null}function Js(e){var t=Qs.current;os(Qs),e.type._context._currentValue=t}function Ys(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 ea(e,t){Ks=e,Gs=Zs=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Rl=!0),e.firstContext=null)}function ta(e,t){if(Gs!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Gs=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zs){if(null===Ks)throw Error(st(308));Zs=t,Ks.dependencies={lanes:0,firstContext:t,responders:null}}else Zs=Zs.next=t;return e._currentValue}var na=!1;function ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ia(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function oa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sa(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 aa(e,t){var n=e.updateQueue,r=e.alternate;if(null===r||n!==(r=r.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=s:o=o.next=s,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;e.updateQueue=n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects}}}function la(e,t,n,r){var i=e.updateQueue;na=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var l=a,u=l.next;l.next=null,null===s?o=u:s.next=u,s=l;var c=e.alternate;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==s&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=l)}}if(null!==o){for(d=i.baseState,s=0,c=u=l=null;;){var h=o.eventTime;if((r&(a=o.lane))===a){null!==c&&(c=c.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var p=e,f=o;switch(a=t,h=n,f.tag){case 1:if("function"==typeof(p=f.payload)){d=p.call(h,d,a);break e}d=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(a="function"==typeof(p=f.payload)?p.call(h,d,a):p))break e;d=it({},d,a);break e;case 2:na=!0}}null!==o.callback&&(e.flags|=32,null===(a=i.effects)?i.effects=[o]:a.push(o))}else h={eventTime:h,lane:a,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,s|=a;if(null===(o=o.next)){if(null===(a=i.shared.pending))break;o=a.next,a.next=null,i.lastBaseUpdate=a,i.shared.pending=null}}null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,Ru|=s,e.lanes=s,e.memoizedState=d}}function ua(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(st(191,i));i.call(r)}}}var ca=(new rt.Component).refs;function da(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 ha={isMounted:function(e){return!!(e=e._reactInternals)&&Gn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=nc(),i=rc(e),o=oa(r,i);o.payload=t,null!=n&&(o.callback=n),sa(e,o),ic(e,i,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=nc(),i=rc(e),o=oa(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),sa(e,o),ic(e,i,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=nc(),r=rc(e),i=oa(n,r);i.tag=2,null!=t&&(i.callback=t),sa(e,i),ic(e,r,n)}};function pa(e,t,n,r,i,o,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,s):!(t.prototype&&t.prototype.isPureReactComponent&&ao(n,r)&&ao(i,o))}function fa(e,t,n){var r=!1,i=as,o=t.contextType;return"object"==typeof o&&null!==o?o=ta(o):(i=hs(t)?cs:ls.current,o=(r=null!=(r=t.contextTypes))?ds(e,i):as),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=ha,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ma(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&&ha.enqueueReplaceState(t,t.state,null)}function ya(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=ca,ra(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=ta(o):(o=hs(t)?cs:ls.current,i.context=ds(e,o)),la(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(da(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ha.enqueueReplaceState(i,i.state,null),la(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4)}var ga=Array.isArray;function va(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(st(309));var r=n.stateNode}if(!r)throw Error(st(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===ca&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(st(284));if(!n._owner)throw Error(st(290,e))}return e}function ba(e,t){if("textarea"!==e.type)throw Error(st(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function wa(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;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mc(e,t)).index=0,e.sibling=null,e}function o(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 s(t){return e&&null===t.alternate&&(t.flags=2),t}function a(e,t,n,r){return null===t||6!==t.tag?((t=zc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=va(e,t,n),r.return=e,r):((r=qc(n.type,n.key,n.props,null,e.mode,r)).ref=va(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=Bc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function c(e,t,n,r,o){return null===t||7!==t.tag?((t=jc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=zc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case xt:return(n=qc(t.type,t.key,t.props,null,e.mode,n)).ref=va(e,null,t),n.return=e,n;case _t:return(t=Bc(t,e.mode,n)).return=e,t}if(ga(t)||Ht(t))return(t=jc(t,e.mode,n,null)).return=e,t;ba(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:a(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case xt:return n.key===i?n.type===St?c(e,t,n.props.children,r,i):l(e,t,n,r):null;case _t:return n.key===i?u(e,t,n,r):null}if(ga(n)||Ht(n))return null!==i?null:c(e,t,n,r,null);ba(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return a(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case xt:return e=e.get(null===r.key?n:r.key)||null,r.type===St?c(t,e,r.props.children,i,r.key):l(t,e,r,i);case _t:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(ga(r)||Ht(r))return c(t,e=e.get(n)||null,r,i,null);ba(t,r)}return null}function f(i,s,a,l){for(var u=null,c=null,f=s,m=s=0,y=null;null!==f&&m<a.length;m++){f.index>m?(y=f,f=null):y=f.sibling;var g=h(i,f,a[m],l);if(null===g){null===f&&(f=y);break}e&&f&&null===g.alternate&&t(i,f),s=o(g,s,m),null===c?u=g:c.sibling=g,c=g,f=y}if(m===a.length)return n(i,f),u;if(null===f){for(;m<a.length;m++)null!==(f=d(i,a[m],l))&&(s=o(f,s,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(i,f);m<a.length;m++)null!==(y=p(f,i,m,a[m],l))&&(e&&null!==y.alternate&&f.delete(null===y.key?m:y.key),s=o(y,s,m),null===c?u=y:c.sibling=y,c=y);return e&&f.forEach((function(e){return t(i,e)})),u}function m(i,s,a,l){var u=Ht(a);if("function"!=typeof u)throw Error(st(150));if(null==(a=u.call(a)))throw Error(st(151));for(var c=u=null,f=s,m=s=0,y=null,g=a.next();null!==f&&!g.done;m++,g=a.next()){f.index>m?(y=f,f=null):y=f.sibling;var v=h(i,f,g.value,l);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),s=o(v,s,m),null===c?u=v:c.sibling=v,c=v,f=y}if(g.done)return n(i,f),u;if(null===f){for(;!g.done;m++,g=a.next())null!==(g=d(i,g.value,l))&&(s=o(g,s,m),null===c?u=g:c.sibling=g,c=g);return u}for(f=r(i,f);!g.done;m++,g=a.next())null!==(g=p(f,i,m,g.value,l))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),s=o(g,s,m),null===c?u=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(i,e)})),u}return function(e,r,o,a){var l="object"==typeof o&&null!==o&&o.type===St&&null===o.key;l&&(o=o.props.children);var u="object"==typeof o&&null!==o;if(u)switch(o.$$typeof){case xt:e:{for(u=o.key,l=r;null!==l;){if(l.key===u){switch(l.tag){case 7:if(o.type===St){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}break;default:if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=va(e,l,o),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}o.type===St?((r=jc(o.props.children,e.mode,a,o.key)).return=e,e=r):((a=qc(o.type,o.key,o.props,null,e.mode,a)).ref=va(e,r,o),a.return=e,e=a)}return s(e);case _t:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Bc(o,e.mode,a)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=zc(o,e.mode,a)).return=e,e=r),s(e);if(ga(o))return f(e,r,o,a);if(Ht(o))return m(e,r,o,a);if(u&&ba(e,o),void 0===o&&!l)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(st(152,Qt(e.type)||"Component"))}return n(e,r)}}var Ea=wa(!0),xa=wa(!1),_a={},Sa=is(_a),Ca=is(_a),ka=is(_a);function Ta(e){if(e===_a)throw Error(st(174));return e}function Oa(e,t){switch(ss(ka,t),ss(Ca,e),ss(Sa,_a),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fn(null,"");break;default:t=fn(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}os(Sa),ss(Sa,t)}function La(){os(Sa),os(Ca),os(ka)}function Ia(e){Ta(ka.current);var t=Ta(Sa.current),n=fn(t,e.type);t!==n&&(ss(Ca,e),ss(Sa,n))}function Ra(e){Ca.current===e&&(os(Sa),os(Ca))}var Pa=is(0);function Na(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 Aa=null,Da=null,Ma=!1;function qa(e,t){var n=Ac(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 ja(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.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 Fa(e){if(Ma){var t=Da;if(t){var n=t;if(!ja(e,t)){if(!(t=Vo(n.nextSibling))||!ja(e,t))return e.flags=-1025&e.flags|2,Ma=!1,void(Aa=e);qa(Aa,n)}Aa=e,Da=Vo(t.firstChild)}else e.flags=-1025&e.flags|2,Ma=!1,Aa=e}}function za(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Aa=e}function Ba(e){if(e!==Aa)return!1;if(!Ma)return za(e),Ma=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Fo(t,e.memoizedProps))for(t=Da;t;)qa(e,t),t=Vo(t.nextSibling);if(za(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(st(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Da=Vo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Da=null}}else Da=Aa?Vo(e.stateNode.nextSibling):null;return!0}function Ha(){Da=Aa=null,Ma=!1}var Va=[];function Wa(){for(var e=0;e<Va.length;e++)Va[e]._workInProgressVersionPrimary=null;Va.length=0}var Ua=Et.ReactCurrentDispatcher,$a=Et.ReactCurrentBatchConfig,Qa=0,Ka=null,Za=null,Ga=null,Xa=!1,Ja=!1;function Ya(){throw Error(st(321))}function el(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!oo(e[n],t[n]))return!1;return!0}function tl(e,t,n,r,i,o){if(Qa=o,Ka=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ua.current=null===e||null===e.memoizedState?Tl:Ol,e=n(r,i),Ja){o=0;do{if(Ja=!1,!(25>o))throw Error(st(301));o+=1,Ga=Za=null,t.updateQueue=null,Ua.current=Ll,e=n(r,i)}while(Ja)}if(Ua.current=kl,t=null!==Za&&null!==Za.next,Qa=0,Ga=Za=Ka=null,Xa=!1,t)throw Error(st(300));return e}function nl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ga?Ka.memoizedState=Ga=e:Ga=Ga.next=e,Ga}function rl(){if(null===Za){var e=Ka.alternate;e=null!==e?e.memoizedState:null}else e=Za.next;var t=null===Ga?Ka.memoizedState:Ga.next;if(null!==t)Ga=t,Za=e;else{if(null===e)throw Error(st(310));e={memoizedState:(Za=e).memoizedState,baseState:Za.baseState,baseQueue:Za.baseQueue,queue:Za.queue,next:null},null===Ga?Ka.memoizedState=Ga=e:Ga=Ga.next=e}return Ga}function il(e,t){return"function"==typeof t?t(e):t}function ol(e){var t=rl(),n=t.queue;if(null===n)throw Error(st(311));n.lastRenderedReducer=e;var r=Za,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){r=r.baseState;var a=s=o=null,l=i=i.next;do{var u=l.lane;if((Qa&u)===u)null!==a&&(a=a.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var c={lane:u,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===a?(s=a=c,o=r):a=a.next=c,Ka.lanes|=u,Ru|=u}l=l.next}while(null!==l&&l!==i);null===a?o=r:a.next=s,oo(r,t.memoizedState)||(Rl=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=a,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function sl(e){var t=rl(),n=t.queue;if(null===n)throw Error(st(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);oo(o,t.memoizedState)||(Rl=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function al(e,t,n){var r=t._getVersion;r=r(t._source);var i=t._workInProgressVersionPrimary;if(null!==i?e=i===r:(e=(Qa&(e=e.mutableReadLanes))===e)&&(t._workInProgressVersionPrimary=r,Va.push(t)),e)return n(t._source);throw Va.push(t),Error(st(350))}function ll(e,t,n,r){var i=_u;if(null===i)throw Error(st(349));var o=t._getVersion,s=o(t._source),a=Ua.current,l=a.useState((function(){return al(i,t,n)})),u=l[1],c=l[0];l=Ga;var d=e.memoizedState,h=d.refs,p=h.getSnapshot,f=d.source;d=d.subscribe;var m=Ka;return e.memoizedState={refs:h,source:t,subscribe:r},a.useEffect((function(){h.getSnapshot=n,h.setSnapshot=u;var e=o(t._source);if(!oo(s,e)){e=n(t._source),oo(c,e)||(u(e),e=rc(m),i.mutableReadLanes|=e&i.pendingLanes),i.entangledLanes|=e=i.mutableReadLanes;for(var r=i.entanglements,a=e;0<a;){var l=31-Vr(a),d=1<<l;r[l]|=e,a&=~d}}}),[n,t,r]),a.useEffect((function(){return r(t._source,(function(){var e=h.getSnapshot,n=h.setSnapshot;try{n(e(t._source));var r=rc(m);i.mutableReadLanes|=r&i.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),oo(p,n)&&oo(f,t)&&oo(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:il,lastRenderedState:c}).dispatch=u=Cl.bind(null,Ka,e),l.queue=e,l.baseQueue=null,c=al(i,t,n),l.memoizedState=l.baseState=c),c}function ul(e,t,n){return ll(rl(),e,t,n)}function cl(e){var t=nl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:il,lastRenderedState:e}).dispatch=Cl.bind(null,Ka,e),[t.memoizedState,e]}function dl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ka.updateQueue)?(Ka.updateQueue=t={lastEffect:null},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 hl(e){return e={current:e},nl().memoizedState=e}function pl(){return rl().memoizedState}function fl(e,t,n,r){var i=nl();Ka.flags|=e,i.memoizedState=dl(1|t,n,void 0,void 0===r?null:r)}function ml(e,t,n,r){var i=rl();r=void 0===r?null:r;var o=void 0;if(null!==Za){var s=Za.memoizedState;if(o=s.destroy,null!==r&&el(r,s.deps))return void dl(t,n,o,r)}Ka.flags|=e,i.memoizedState=dl(1|t,n,o,r)}function yl(e,t){return fl(516,4,e,t)}function gl(e,t){return ml(516,4,e,t)}function vl(e,t){return ml(4,2,e,t)}function bl(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 wl(e,t,n){return n=null!=n?n.concat([e]):null,ml(4,2,bl.bind(null,t,e),n)}function El(){}function xl(e,t){var n=rl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&el(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _l(e,t){var n=rl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&el(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Sl(e,t){var n=Fs();Bs(98>n?98:n,(function(){e(!0)})),Bs(97<n?97:n,(function(){var n=$a.transition;$a.transition=1;try{e(!1),t()}finally{$a.transition=n}}))}function Cl(e,t,n){var r=nc(),i=rc(e),o={lane:i,action:n,eagerReducer:null,eagerState:null,next:null},s=t.pending;if(null===s?o.next=o:(o.next=s.next,s.next=o),t.pending=o,s=e.alternate,e===Ka||null!==s&&s===Ka)Ja=Xa=!0;else{if(0===e.lanes&&(null===s||0===s.lanes)&&null!==(s=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=s(a,n);if(o.eagerReducer=s,o.eagerState=l,oo(l,a))return}catch(e){}ic(e,i,r)}}var kl={readContext:ta,useCallback:Ya,useContext:Ya,useEffect:Ya,useImperativeHandle:Ya,useLayoutEffect:Ya,useMemo:Ya,useReducer:Ya,useRef:Ya,useState:Ya,useDebugValue:Ya,useDeferredValue:Ya,useTransition:Ya,useMutableSource:Ya,useOpaqueIdentifier:Ya,unstable_isNewReconciler:!1},Tl={readContext:ta,useCallback:function(e,t){return nl().memoizedState=[e,void 0===t?null:t],e},useContext:ta,useEffect:yl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,fl(4,2,bl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fl(4,2,e,t)},useMemo:function(e,t){var n=nl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nl();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=Cl.bind(null,Ka,e),[r.memoizedState,e]},useRef:hl,useState:cl,useDebugValue:El,useDeferredValue:function(e){var t=cl(e),n=t[0],r=t[1];return yl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=cl(!1),t=e[0];return hl(e=Sl.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=nl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ll(r,e,t,n)},useOpaqueIdentifier:function(){if(Ma){var e=!1,t=function(e){return{$$typeof:Dt,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Uo++).toString(36))),Error(st(355))})),n=cl(t)[1];return 0==(2&Ka.mode)&&(Ka.flags|=516,dl(5,(function(){n("r:"+(Uo++).toString(36))}),void 0,null)),t}return cl(t="r:"+(Uo++).toString(36)),t},unstable_isNewReconciler:!1},Ol={readContext:ta,useCallback:xl,useContext:ta,useEffect:gl,useImperativeHandle:wl,useLayoutEffect:vl,useMemo:_l,useReducer:ol,useRef:pl,useState:function(){return ol(il)},useDebugValue:El,useDeferredValue:function(e){var t=ol(il),n=t[0],r=t[1];return gl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=ol(il)[0];return[pl().current,e]},useMutableSource:ul,useOpaqueIdentifier:function(){return ol(il)[0]},unstable_isNewReconciler:!1},Ll={readContext:ta,useCallback:xl,useContext:ta,useEffect:gl,useImperativeHandle:wl,useLayoutEffect:vl,useMemo:_l,useReducer:sl,useRef:pl,useState:function(){return sl(il)},useDebugValue:El,useDeferredValue:function(e){var t=sl(il),n=t[0],r=t[1];return gl((function(){var t=$a.transition;$a.transition=1;try{r(e)}finally{$a.transition=t}}),[e]),n},useTransition:function(){var e=sl(il)[0];return[pl().current,e]},useMutableSource:ul,useOpaqueIdentifier:function(){return sl(il)[0]},unstable_isNewReconciler:!1},Il=Et.ReactCurrentOwner,Rl=!1;function Pl(e,t,n,r){t.child=null===e?xa(t,null,n,r):Ea(t,e.child,n,r)}function Nl(e,t,n,r,i){n=n.render;var o=t.ref;return ea(t,i),r=tl(e,t,n,r,o,i),null===e||Rl?(t.flags|=1,Pl(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Xl(e,t,i))}function Al(e,t,n,r,i,o){if(null===e){var s=n.type;return"function"!=typeof s||Dc(s)||void 0!==s.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=qc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=s,Dl(e,t,s,r,i,o))}return s=e.child,0==(i&o)&&(n=null!==(n=n.compare)?n:ao)(i=s.memoizedProps,r)&&e.ref===t.ref?Xl(e,t,o):(t.flags|=1,(e=Mc(s,r)).ref=t.ref,e.return=t,t.child=e)}function Dl(e,t,n,r,i,o){if(null!==e&&ao(e.memoizedProps,r)&&e.ref===t.ref){if(Rl=!1,0==(o&i))return t.lanes=e.lanes,Xl(e,t,o);0!=(16384&e.flags)&&(Rl=!0)}return jl(e,t,n,r,o)}function Ml(e,t,n){var r=t.pendingProps,i=r.children,o=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!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},hc(0,e),null;t.memoizedState={baseLanes:0},hc(0,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,hc(0,r);return Pl(e,t,i,n),t.child}function ql(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function jl(e,t,n,r,i){var o=hs(n)?cs:ls.current;return o=ds(t,o),ea(t,i),n=tl(e,t,n,r,o,i),null===e||Rl?(t.flags|=1,Pl(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Xl(e,t,i))}function Fl(e,t,n,r,i){if(hs(n)){var o=!0;ys(t)}else o=!1;if(ea(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),fa(t,n,r),ya(t,n,r,i),r=!0;else if(null===e){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;u="object"==typeof u&&null!==u?ta(u):ds(t,u=hs(n)?cs:ls.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof s.getSnapshotBeforeUpdate;d||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==r||l!==u)&&ma(t,s,r,u),na=!1;var h=t.memoizedState;s.state=h,la(t,r,s,i),l=t.memoizedState,a!==r||h!==l||us.current||na?("function"==typeof c&&(da(t,n,c,r),l=t.memoizedState),(a=na||pa(t,n,a,r,h,l,u))?(d||"function"!=typeof s.UNSAFE_componentWillMount&&"function"!=typeof s.componentWillMount||("function"==typeof s.componentWillMount&&s.componentWillMount(),"function"==typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"==typeof s.componentDidMount&&(t.flags|=4)):("function"==typeof s.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):("function"==typeof s.componentDidMount&&(t.flags|=4),r=!1)}else{s=t.stateNode,ia(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:$s(t.type,a),s.props=u,d=t.pendingProps,h=s.context,l="object"==typeof(l=n.contextType)&&null!==l?ta(l):ds(t,l=hs(n)?cs:ls.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof s.getSnapshotBeforeUpdate)||"function"!=typeof s.UNSAFE_componentWillReceiveProps&&"function"!=typeof s.componentWillReceiveProps||(a!==d||h!==l)&&ma(t,s,r,l),na=!1,s.state=h=t.memoizedState,la(t,r,s,i);var f=t.memoizedState;a!==d||h!==f||us.current||na?("function"==typeof p&&(da(t,n,p,r),f=t.memoizedState),(u=na||pa(t,n,u,r,h,f,l))?(c||"function"!=typeof s.UNSAFE_componentWillUpdate&&"function"!=typeof s.componentWillUpdate||("function"==typeof s.componentWillUpdate&&s.componentWillUpdate(r,f,l),"function"==typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof s.componentDidUpdate&&(t.flags|=4),"function"==typeof s.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=f),s.props=r,s.state=f,s.context=l,r=u):("function"!=typeof s.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof s.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),r=!1)}return zl(e,t,n,r,o,i)}function zl(e,t,n,r,i,o){ql(e,t);var s=0!=(64&t.flags);if(!r&&!s)return i&&gs(t,n,!1),Xl(e,t,o);r=t.stateNode,Il.current=t;var a=s&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&s?(t.child=Ea(t,e.child,null,o),t.child=Ea(t,null,a,o)):Pl(e,t,a,o),t.memoizedState=r.state,i&&gs(t,n,!0),t.child}function Bl(e){var t=e.stateNode;t.pendingContext?fs(0,t.pendingContext,t.pendingContext!==t.context):t.context&&fs(0,t.context,!1),Oa(e,t.containerInfo)}var Hl,Vl,Wl,Ul={dehydrated:null,retryLane:0};function $l(e,t,n){var r,i=t.pendingProps,o=Pa.current,s=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(s=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(o|=1),ss(Pa,1&o),null===e?(void 0!==i.fallback&&Fa(t),e=i.children,o=i.fallback,s?(e=Ql(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ul,e):"number"==typeof i.unstable_expectedLoadTime?(e=Ql(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ul,t.lanes=33554432,e):((n=Fc({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):s?(i=function(e,t,n,r,i){var o=t.mode,s=e.child;e=s.sibling;var a={mode:"hidden",children:n};return 0==(2&o)&&t.child!==s?((n=t.child).childLanes=0,n.pendingProps=a,null!==(s=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=s,s.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Mc(s,a),null!==e?r=Mc(e,r):(r=jc(r,o,i,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,i.children,i.fallback,n),(s=t.child).memoizedState=null===(o=e.child.memoizedState)?{baseLanes:n}:{baseLanes:o.baseLanes|n},s.childLanes=e.childLanes&~n,t.memoizedState=Ul,i):(n=function(e,t,n,r){var i=e.child;return e=i.sibling,n=Mc(i,{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,i.children,n),t.memoizedState=null,n)}function Ql(e,t,n,r){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&i)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Fc(t,i,0,null),n=jc(n,i,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function Kl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ys(e.return,t)}function Zl(e,t,n,r,i,o){var s=e.memoizedState;null===s?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,lastEffect:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i,s.lastEffect=o)}function Gl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pl(e,t,r.children,n),0!=(2&(r=Pa.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&&Kl(e,n);else if(19===e.tag)Kl(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(ss(Pa,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Na(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Zl(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Na(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Zl(t,!0,n,null,o,t.lastEffect);break;case"together":Zl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Xl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ru|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(st(153));if(null!==t.child){for(n=Mc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Mc(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function Jl(e,t){if(!Ma)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 Yl(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 hs(t.type)&&ps(),null;case 3:return La(),os(us),os(ls),Wa(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ba(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ra(t);var i=Ta(ka.current);if(n=t.type,null!==e&&null!=t.stateNode)Vl(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(st(166));return null}if(e=Ta(Sa.current),Ba(t)){n=t.type;var o=t.memoizedProps;switch((r=t.stateNode)[Qo]=t,r[Ko]=o,n){case"dialog":Co("cancel",r),Co("close",r);break;case"iframe":case"object":case"embed":Co("load",r);break;case"video":case"audio":for(e=0;e<Eo.length;e++)Co(Eo[e],r);break;case"source":Co("error",r);break;case"img":case"image":case"link":Co("error",r),Co("load",r);break;case"details":Co("toggle",r);break;case"input":en(r,o),Co("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Co("invalid",r);break;case"textarea":un(r,o),Co("invalid",r)}for(var s in Sn(n,o),e=null,o)o.hasOwnProperty(s)&&(i=o[s],"children"===s?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):lt.hasOwnProperty(s)&&null!=i&&"onScroll"===s&&Co("scroll",r));switch(n){case"input":Gt(r),rn(r,o,!0);break;case"textarea":Gt(r),dn(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Do)}t.updateQueue=r=e,null!==r&&(t.flags|=4)}else{switch(s=9===i.nodeType?i:i.ownerDocument,e===hn&&(e=pn(n)),e===hn?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qo]=t,e[Ko]=r,Hl(e,t),t.stateNode=e,s=Cn(n,r),n){case"dialog":Co("cancel",e),Co("close",e),i=r;break;case"iframe":case"object":case"embed":Co("load",e),i=r;break;case"video":case"audio":for(i=0;i<Eo.length;i++)Co(Eo[i],e);i=r;break;case"source":Co("error",e),i=r;break;case"img":case"image":case"link":Co("error",e),Co("load",e),i=r;break;case"details":Co("toggle",e),i=r;break;case"input":en(e,r),i=Yt(e,r),Co("invalid",e);break;case"option":i=sn(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=it({},r,{value:void 0}),Co("invalid",e);break;case"textarea":un(e,r),i=ln(e,r),Co("invalid",e);break;default:i=r}Sn(n,i);var a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];"style"===o?xn(e,l):"dangerouslySetInnerHTML"===o?null!=(l=l?l.__html:void 0)&&gn(e,l):"children"===o?"string"==typeof l?("textarea"!==n||""!==l)&&vn(e,l):"number"==typeof l&&vn(e,""+l):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(lt.hasOwnProperty(o)?null!=l&&"onScroll"===o&&Co("scroll",e):null!=l&&wt(e,o,l,s))}switch(n){case"input":Gt(e),rn(e,r,!1);break;case"textarea":Gt(e),dn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Kt(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?an(e,!!r.multiple,o,!1):null!=r.defaultValue&&an(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Do)}jo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Wl(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(st(166));n=Ta(ka.current),Ta(Sa.current),Ba(t)?(n=t.memoizedProps,(r=t.stateNode)[Qo]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qo]=t,t.stateNode=r)}return null;case 13:return os(Pa),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ba(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Pa.current)?0===Ou&&(Ou=3):(0!==Ou&&3!==Ou||(Ou=4),null===_u||0==(134217727&Ru)&&0==(134217727&Pu)||lc(_u,Cu))),(r||n)&&(t.flags|=4),null);case 4:return La(),null===e&&To(t.stateNode.containerInfo),null;case 10:return Js(t),null;case 17:return hs(t.type)&&ps(),null;case 19:if(os(Pa),null===(r=t.memoizedState))return null;if(o=0!=(64&t.flags),null===(s=r.rendering))if(o)Jl(r,!1);else{if(0!==Ou||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(s=Na(e))){for(t.flags|=64,Jl(r,!1),null!==(o=s.updateQueue)&&(t.updateQueue=o,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(s=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,o.dependencies=null===(e=s.dependencies)?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ss(Pa,1&Pa.current|2),t.child}e=e.sibling}null!==r.tail&&js()>Mu&&(t.flags|=64,o=!0,Jl(r,!1),t.lanes=33554432)}else{if(!o)if(null!==(e=Na(s))){if(t.flags|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Jl(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Ma)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*js()-r.renderingStartTime>Mu&&1073741824!==n&&(t.flags|=64,o=!0,Jl(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=js(),n.sibling=null,t=Pa.current,ss(Pa,o?1&t|2:1&t),n):null;case 23:case 24:return pc(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(st(156,t.tag))}function eu(e){switch(e.tag){case 1:hs(e.type)&&ps();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(La(),os(us),os(ls),Wa(),0!=(64&(t=e.flags)))throw Error(st(285));return e.flags=-4097&t|64,e;case 5:return Ra(e),null;case 13:return os(Pa),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return os(Pa),null;case 4:return La(),null;case 10:return Js(e),null;case 23:case 24:return pc(),null;default:return null}}function tu(e,t){try{var n="",r=t;do{n+=$t(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i}}function nu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Hl=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}},Vl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ta(Sa.current);var o,s=null;switch(n){case"input":i=Yt(e,i),r=Yt(e,r),s=[];break;case"option":i=sn(e,i),r=sn(e,r),s=[];break;case"select":i=it({},i,{value:void 0}),r=it({},r,{value:void 0}),s=[];break;case"textarea":i=ln(e,i),r=ln(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Do)}for(u in Sn(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(lt.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(null!=l||null!=a))if("style"===u)if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(a=a?a.__html:void 0,null!=(l=l?l.__html:void 0)&&a!==l&&(s=s||[]).push(u,l)):"children"===u?"string"!=typeof l&&"number"!=typeof l||(s=s||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(lt.hasOwnProperty(u)?(null!=l&&"onScroll"===u&&Co("scroll",e),s||a===l||(s=[])):"object"==typeof l&&null!==l&&l.$$typeof===Dt?l.toString():(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Wl=function(e,t,n,r){n!==r&&(t.flags|=4)};var ru="function"==typeof WeakMap?WeakMap:Map;function iu(e,t,n){(n=oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zu||(zu=!0,Bu=r),nu(0,t)},n}function ou(e,t,n){(n=oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return nu(0,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Hu?Hu=new Set([this]):Hu.add(this),nu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var su="function"==typeof WeakSet?WeakSet:Set;function au(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ic(e,t)}else t.current=null}function lu(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:$s(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Ho(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(st(163))}function uu(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 i=e;r=i.next,0!=(4&(i=i.tag))&&0!=(1&i)&&(Tc(n,e),kc(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:$s(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ua(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}ua(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&jo(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&&xr(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(st(163))}function cu(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 i=n.memoizedProps.style;i=null!=i&&i.hasOwnProperty("display")?i.display:null,r.style.display=En("display",i)}}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 du(e,t){if(bs&&"function"==typeof bs.onCommitFiberUnmount)try{bs.onCommitFiberUnmount(vs,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,i=r.destroy;if(r=r.tag,void 0!==i)if(0!=(4&r))Tc(t,n);else{r=t;try{i()}catch(e){Ic(r,e)}}n=n.next}while(n!==e)}break;case 1:if(au(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ic(t,e)}break;case 5:au(t);break;case 4:mu(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 pu(e){return 5===e.tag||3===e.tag||4===e.tag}function fu(e){e:{for(var t=e.return;null!==t;){if(pu(t))break e;t=t.return}throw Error(st(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(st(161))}16&n.flags&&(vn(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||pu(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 i=t.tag,o=5===i||6===i;if(o)t=o?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=Do));else if(4!==i&&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 i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&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 mu(e,t){for(var n,r,i=t,o=!1;;){if(!o){o=i.return;e:for(;;){if(null===o)throw Error(st(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===i.tag||6===i.tag){e:for(var s=e,a=i,l=a;;)if(du(s,l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===a)break e;for(;null===l.sibling;){if(null===l.return||l.return===a)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}r?(a=i.stateNode,8===(s=n).nodeType?s.parentNode.removeChild(a):s.removeChild(a)):n.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){n=i.stateNode.containerInfo,r=!0,i.child.return=i,i=i.child;continue}}else if(du(e,i),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(o=!1)}i.sibling.return=i.return,i=i.sibling}}function yu(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 i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Ko]=r,"input"===e&&"radio"===r.type&&null!=r.name&&tn(n,r),Cn(e,i),t=Cn(e,r),i=0;i<o.length;i+=2){var s=o[i],a=o[i+1];"style"===s?xn(n,a):"dangerouslySetInnerHTML"===s?gn(n,a):"children"===s?vn(n,a):wt(n,s,a,t)}switch(e){case"input":nn(n,r);break;case"textarea":cn(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?an(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?an(n,!!r.multiple,r.defaultValue,!0):an(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(st(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,xr(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Du=js(),cu(t.child,!0)),void gu(t);case 19:return void gu(t);case 17:return;case 23:case 24:return void cu(t,null!==t.memoizedState)}throw Error(st(163))}function gu(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=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var bu=Math.ceil,wu=Et.ReactCurrentDispatcher,Eu=Et.ReactCurrentOwner,xu=0,_u=null,Su=null,Cu=0,ku=0,Tu=is(0),Ou=0,Lu=null,Iu=0,Ru=0,Pu=0,Nu=0,Au=null,Du=0,Mu=1/0;function qu(){Mu=js()+500}var ju,Fu=null,zu=!1,Bu=null,Hu=null,Vu=!1,Wu=null,Uu=90,$u=[],Qu=[],Ku=null,Zu=0,Gu=null,Xu=-1,Ju=0,Yu=0,ec=null,tc=!1;function nc(){return 0!=(48&xu)?js():-1!==Xu?Xu:Xu=js()}function rc(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Fs()?1:2;if(0===Ju&&(Ju=Iu),0!==Us.transition){0!==Yu&&(Yu=null!==Au?Au.pendingLanes:0),e=Ju;var t=4186112&~Yu;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Fs(),function e(t,n){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=zr(24&~n))?e(10,n):t;case 10:return 0===(t=zr(192&~n))?e(8,n):t;case 8:return 0===(t=zr(3584&~n))&&0===(t=zr(4186112&~n))&&(t=512),t;case 2:return 0===(n=zr(805306368&~n))&&(n=268435456),n}throw Error(st(358,t))}(0!=(4&xu)&&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),Ju)}function ic(e,t,n){if(50<Zu)throw Zu=0,Gu=null,Error(st(185));if(null===(e=oc(e,t)))return null;Hr(e,t,n),e===_u&&(Pu|=t,4===Ou&&lc(e,Cu));var r=Fs();1===t?0!=(8&xu)&&0==(48&xu)?uc(e):(sc(e,n),0===xu&&(qu(),Vs())):(0==(4&xu)||98!==r&&99!==r||(null===Ku?Ku=new Set([e]):Ku.add(e)),sc(e,n)),Au=e}function oc(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,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var a=31-Vr(s),l=1<<a,u=o[a];-1===u?0!=(l&r)&&0==(l&i)||(u=t,qr(l),o[a]=10<=Mr?u+250:6<=Mr?u+5e3:-1):u<=t&&(e.expiredLanes|=l),s&=~l}if(r=jr(e,e===_u?Cu:0),t=Mr,0===r)null!==n&&(n!==Ps&&xs(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ps&&xs(n)}15===t?(n=uc.bind(null,e),null===As?(As=[n],Ds=Es(Ts,Ws)):As.push(n),n=Ps):n=14===t?Hs(99,uc.bind(null,e)):Hs(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(st(358,e))}}(t),ac.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function ac(e){if(Xu=-1,Yu=Ju=0,0!=(48&xu))throw Error(st(327));var t=e.callbackNode;if(Cc()&&e.callbackNode!==t)return null;var n=jr(e,e===_u?Cu:0);if(0===n)return null;var r=n,i=xu;xu|=16;var o=yc();for(_u===e&&Cu===r||(qu(),fc(e,r));;)try{bc();break}catch(t){mc(e,t)}if(Xs(),wu.current=o,xu=i,null!==Su?r=0:(_u=null,Cu=0,r=Ou),0!=(Iu&Pu))fc(e,0);else if(0!==r){if(2===r&&(xu|=64,e.hydrate&&(e.hydrate=!1,Ho(e.containerInfo)),0!==(n=Fr(e))&&(r=gc(e,n))),1===r)throw t=Lu,fc(e,0),lc(e,n),sc(e,js()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(st(345));case 2:xc(e);break;case 3:if(lc(e,n),(62914560&n)===n&&10<(r=Du+500-js())){if(0!==jr(e,0))break;if(((i=e.suspendedLanes)&n)!==n){nc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=zo(xc.bind(null,e),r);break}xc(e);break;case 4:if(lc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,i=-1;0<n;){var s=31-Vr(n);o=1<<s,(s=r[s])>i&&(i=s),n&=~o}if(n=i,10<(n=(120>(n=js()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*bu(n/1960))-n)){e.timeoutHandle=zo(xc.bind(null,e),n);break}xc(e);break;case 5:xc(e);break;default:throw Error(st(329))}}return sc(e,js()),e.callbackNode===t?ac.bind(null,e):null}function lc(e,t){for(t&=~Nu,e.suspendedLanes|=t&=~Pu,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vr(t),r=1<<n;e[n]=-1,t&=~r}}function uc(e){if(0!=(48&xu))throw Error(st(327));if(Cc(),e===_u&&0!=(e.expiredLanes&Cu)){var t=Cu,n=gc(e,t);0!=(Iu&Pu)&&(n=gc(e,t=jr(e,t)))}else n=gc(e,t=jr(e,0));if(0!==e.tag&&2===n&&(xu|=64,e.hydrate&&(e.hydrate=!1,Ho(e.containerInfo)),0!==(t=Fr(e))&&(n=gc(e,t))),1===n)throw n=Lu,fc(e,0),lc(e,t),sc(e,js()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,xc(e),sc(e,js()),null}function cc(e,t){var n=xu;xu|=1;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}}function dc(e,t){var n=xu;xu&=-2,xu|=8;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}}function hc(e,t){ss(Tu,ku),ku|=t,Iu|=t}function pc(){ku=Tu.current,os(Tu)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Bo(n)),null!==Su)for(n=Su.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ps();break;case 3:La(),os(us),os(ls),Wa();break;case 5:Ra(r);break;case 4:La();break;case 13:case 19:os(Pa);break;case 10:Js(r);break;case 23:case 24:pc()}n=n.return}_u=e,Su=Mc(e.current,null),Cu=ku=Iu=t,Ou=0,Lu=null,Nu=Pu=Ru=0}function mc(e,t){for(;;){var n=Su;try{if(Xs(),Ua.current=kl,Xa){for(var r=Ka.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}Xa=!1}if(Qa=0,Ga=Za=Ka=null,Ja=!1,Eu.current=null,null===n||null===n.return){Ou=1,Lu=t,Su=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Cu,a.flags|=2048,a.firstEffect=a.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.lanes=c.lanes):(a.updateQueue=null,a.memoizedState=null)}var d=0!=(1&Pa.current),h=s;do{var p;if(p=13===h.tag){var f=h.memoizedState;if(null!==f)p=null!==f.dehydrated;else{var m=h.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var y=h.updateQueue;if(null===y){var g=new Set;g.add(u),h.updateQueue=g}else y.add(u);if(0==(2&h.mode)){if(h.flags|=64,a.flags|=16384,a.flags&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var v=oa(-1,1);v.tag=2,sa(a,v)}a.lanes|=1;break e}l=void 0,a=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new ru,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(a)){l.add(a);var w=Rc.bind(null,o,u,a);u.then(w,w)}h.flags|=4096,h.lanes=t;break e}h=h.return}while(null!==h);l=Error((Qt(a.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!==Ou&&(Ou=2),l=tu(l,a),h=s;do{switch(h.tag){case 3:o=l,h.flags|=4096,h.lanes|=t&=-t,aa(h,iu(0,o,t));break e;case 1:o=l;var E=h.stateNode;if(0==(64&h.flags)&&("function"==typeof h.type.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Hu||!Hu.has(E)))){h.flags|=4096,h.lanes|=t&=-t,aa(h,ou(h,o,t));break e}}h=h.return}while(null!==h)}Ec(n)}catch(e){t=e,Su===n&&null!==n&&(Su=n=n.return);continue}break}}function yc(){var e=wu.current;return wu.current=kl,null===e?kl:e}function gc(e,t){var n=xu;xu|=16;var r=yc();for(_u===e&&Cu===t||fc(e,t);;)try{vc();break}catch(t){mc(e,t)}if(Xs(),xu=n,wu.current=r,null!==Su)throw Error(st(261));return _u=null,Cu=0,Ou}function vc(){for(;null!==Su;)wc(Su)}function bc(){for(;null!==Su&&!_s();)wc(Su)}function wc(e){var t=ju(e.alternate,e,ku);e.memoizedProps=e.pendingProps,null===t?Ec(e):Su=t,Eu.current=null}function Ec(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=Yl(n,t,ku)))return void(Su=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&ku)||0==(4&n.mode)){for(var r=0,i=n.child;null!==i;)r|=i.lanes|i.childLanes,i=i.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=eu(t)))return n.flags&=2047,void(Su=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Su=t);Su=t=e}while(null!==t);0===Ou&&(Ou=5)}function xc(e){var t=Fs();return Bs(99,_c.bind(null,e,t)),null}function _c(e,t){do{Cc()}while(null!==Wu);if(0!=(48&xu))throw Error(st(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(st(177));e.callbackNode=null;var r=n.lanes|n.childLanes,i=r,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var s=e.eventTimes,a=e.expirationTimes;0<o;){var l=31-Vr(o),u=1<<l;i[l]=0,s[l]=-1,a[l]=-1,o&=~u}if(null!==Ku&&0==(24&r)&&Ku.has(e)&&Ku.delete(e),e===_u&&(Su=_u=null,Cu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(i=xu,xu|=32,Eu.current=null,Mo=Kr,ho(s=co())){if("selectionStart"in s)a={start:s.selectionStart,end:s.selectionEnd};else if((u=(a=(a=s.ownerDocument)&&a.defaultView||window).getSelection&&a.getSelection())&&0!==u.rangeCount){a=u.anchorNode,o=u.anchorOffset,l=u.focusNode,u=u.focusOffset;var c=0,d=-1,h=-1,p=0,f=0,m=s,y=null;e:for(;;){for(var g;m!==a||0!==o&&3!==m.nodeType||(d=c+o),m!==l||0!==u&&3!==m.nodeType||(h=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)y=m,m=g;for(;;){if(m===s)break e;if(y===a&&++p===o&&(d=c),y===l&&++f===u&&(h=c),null!==(g=m.nextSibling))break;y=(m=y).parentNode}m=g}a=-1===d||-1===h?null:{start:d,end:h}}else a=null;a=a||{start:0,end:0}}else a=null;qo={focusedElem:s,selectionRange:a},Kr=!1,ec=null,tc=!1,Fu=r;do{try{Sc()}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);ec=null,Fu=r;do{try{for(s=e;null!==Fu;){var v=Fu.flags;if(16&v&&vn(Fu.stateNode,""),128&v){var b=Fu.alternate;if(null!==b){var w=b.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&v){case 2:fu(Fu),Fu.flags&=-3;break;case 6:fu(Fu),Fu.flags&=-3,yu(Fu.alternate,Fu);break;case 1024:Fu.flags&=-1025;break;case 1028:Fu.flags&=-1025,yu(Fu.alternate,Fu);break;case 4:yu(Fu.alternate,Fu);break;case 8:mu(s,a=Fu);var E=a.alternate;hu(a),null!==E&&hu(E)}Fu=Fu.nextEffect}}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);if(w=qo,b=co(),s=w.selectionRange,b!==(v=w.focusedElem)&&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!==s&&ho(v)&&(b=s.start,void 0===(w=s.end)&&(w=b),"selectionStart"in v?(v.selectionStart=b,v.selectionEnd=Math.min(w,v.value.length)):(w=(b=v.ownerDocument||document)&&b.defaultView||window).getSelection&&(w=w.getSelection(),a=v.textContent.length,E=Math.min(s.start,a),s=void 0===s.end?E:Math.min(s.end,a),!w.extend&&E>s&&(a=s,s=E,E=a),a=uo(v,E),o=uo(v,s),a&&o&&(1!==w.rangeCount||w.anchorNode!==a.node||w.anchorOffset!==a.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&((b=b.createRange()).setStart(a.node,a.offset),w.removeAllRanges(),E>s?(w.addRange(b),w.extend(o.node,o.offset)):(b.setEnd(o.node,o.offset),w.addRange(b))))),b=[];for(w=v;w=w.parentNode;)1===w.nodeType&&b.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<b.length;v++)(w=b[v]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Kr=!!Mo,qo=Mo=null,e.current=n,Fu=r;do{try{for(v=e;null!==Fu;){var x=Fu.flags;if(36&x&&uu(v,Fu.alternate,Fu),128&x){b=void 0;var _=Fu.ref;if(null!==_){var S=Fu.stateNode;switch(Fu.tag){case 5:b=S;break;default:b=S}"function"==typeof _?_(b):_.current=b}}Fu=Fu.nextEffect}}catch(e){if(null===Fu)throw Error(st(330));Ic(Fu,e),Fu=Fu.nextEffect}}while(null!==Fu);Fu=null,Ns(),xu=i}else e.current=n;if(Vu)Vu=!1,Wu=e,Uu=t;else for(Fu=r;null!==Fu;)t=Fu.nextEffect,Fu.nextEffect=null,8&Fu.flags&&((x=Fu).sibling=null,x.stateNode=null),Fu=t;if(0===(r=e.pendingLanes)&&(Hu=null),1===r?e===Gu?Zu++:(Zu=0,Gu=e):Zu=0,n=n.stateNode,bs&&"function"==typeof bs.onCommitFiberRoot)try{bs.onCommitFiberRoot(vs,n,void 0,64==(64&n.current.flags))}catch(e){}if(sc(e,js()),zu)throw zu=!1,e=Bu,Bu=null,e;return 0!=(8&xu)||Vs(),null}function Sc(){for(;null!==Fu;){var e=Fu.alternate;tc||null===ec||(0!=(8&Fu.flags)?er(Fu,ec)&&(tc=!0):13===Fu.tag&&vu(e,Fu)&&er(Fu,ec)&&(tc=!0));var t=Fu.flags;0!=(256&t)&&lu(e,Fu),0==(512&t)||Vu||(Vu=!0,Hs(97,(function(){return Cc(),null}))),Fu=Fu.nextEffect}}function Cc(){if(90!==Uu){var e=97<Uu?97:Uu;return Uu=90,Bs(e,Oc)}return!1}function kc(e,t){$u.push(t,e),Vu||(Vu=!0,Hs(97,(function(){return Cc(),null})))}function Tc(e,t){Qu.push(t,e),Vu||(Vu=!0,Hs(97,(function(){return Cc(),null})))}function Oc(){if(null===Wu)return!1;var e=Wu;if(Wu=null,0!=(48&xu))throw Error(st(331));var t=xu;xu|=32;var n=Qu;Qu=[];for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1],s=i.destroy;if(i.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===o)throw Error(st(330));Ic(o,e)}}for(n=$u,$u=[],r=0;r<n.length;r+=2){i=n[r],o=n[r+1];try{var a=i.create;i.destroy=a()}catch(e){if(null===o)throw Error(st(330));Ic(o,e)}}for(a=e.current.firstEffect;null!==a;)e=a.nextEffect,a.nextEffect=null,8&a.flags&&(a.sibling=null,a.stateNode=null),a=e;return xu=t,Vs(),!0}function Lc(e,t,n){sa(e,t=iu(0,t=tu(n,t),1)),t=nc(),null!==(e=oc(e,1))&&(Hr(e,1,t),sc(e,t))}function Ic(e,t){if(3===e.tag)Lc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Lc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hu||!Hu.has(r))){var i=ou(n,e=tu(t,e),1);if(sa(n,i),i=nc(),null!==(n=oc(n,1)))Hr(n,1,i),sc(n,i);else if("function"==typeof r.componentDidCatch&&(null===Hu||!Hu.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Rc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=nc(),e.pingedLanes|=e.suspendedLanes&n,_u===e&&(Cu&n)===n&&(4===Ou||3===Ou&&(62914560&Cu)===Cu&&500>js()-Du?fc(e,0):Nu|=n),sc(e,t)}function Pc(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===Fs()?1:2:(0===Ju&&(Ju=Iu),0===(t=zr(62914560&~Ju))&&(t=4194304))),n=nc(),null!==(e=oc(e,t))&&(Hr(e,t,n),sc(e,n))}function Nc(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 Ac(e,t,n,r){return new Nc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mc(e,t){var n=e.alternate;return null===n?((n=Ac(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,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qc(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Dc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case St:return jc(n.children,i,o,t);case Mt:s=8,i|=16;break;case Ct:s=8,i|=1;break;case kt:return(e=Ac(12,n,t,8|i)).elementType=kt,e.type=kt,e.lanes=o,e;case It:return(e=Ac(13,n,t,i)).type=It,e.elementType=It,e.lanes=o,e;case Rt:return(e=Ac(19,n,t,i)).elementType=Rt,e.lanes=o,e;case qt:return Fc(n,i,o,t);case jt:return(e=Ac(24,n,t,i)).elementType=jt,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Tt:s=10;break e;case Ot:s=9;break e;case Lt:s=11;break e;case Pt:s=14;break e;case Nt:s=16,r=null;break e;case At:s=22;break e}throw Error(st(130,null==e?e:typeof e,""))}return(t=Ac(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function jc(e,t,n,r){return(e=Ac(7,e,r,t)).lanes=n,e}function Fc(e,t,n,r){return(e=Ac(23,e,r,t)).elementType=qt,e.lanes=n,e}function zc(e,t,n){return(e=Ac(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Ac(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hc(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=Br(0),this.expirationTimes=Br(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Br(0),this.mutableSourceEagerHydrationData=null}function Vc(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_t,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Wc(e,t,n,r){var i=t.current,o=nc(),s=rc(i);e:if(n){t:{if(Gn(n=n._reactInternals)!==n||1!==n.tag)throw Error(st(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(hs(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);throw Error(st(171))}if(1===n.tag){var l=n.type;if(hs(l)){n=ms(n,l,a);break e}}n=a}else n=as;return null===t.context?t.context=n:t.pendingContext=n,(t=oa(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),sa(i,t),ic(i,s,o),s}function Uc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function $c(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Qc(e,t){$c(e,t),(e=e.alternate)&&$c(e,t)}function Kc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Hc(e,t,null!=n&&!0===n.hydrate),t=Ac(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ra(t),e[Zo]=n.current,To(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var i=(t=r[e])._getVersion;i=i(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,i]:n.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=n}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o._internalRoot;if("function"==typeof i){var a=i;i=function(){var e=Uc(s);a.call(e)}}Wc(t,s,e,i)}else{if(o=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 Kc(e,0,t?{hydrate:!0}:void 0)}(n,r),s=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Uc(s);l.call(e)}}dc((function(){Wc(t,s,e,i)}))}return Uc(s)}function Xc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(st(200));return Vc(e,t,null,n)}ju=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||us.current)Rl=!0;else{if(0==(n&r)){switch(Rl=!1,t.tag){case 3:Bl(t),Ha();break;case 5:Ia(t);break;case 1:hs(t.type)&&ys(t);break;case 4:Oa(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var i=t.type._context;ss(Qs,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?$l(e,t,n):(ss(Pa,1&Pa.current),null!==(t=Xl(e,t,n))?t.sibling:null);ss(Pa,1&Pa.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return Gl(e,t,n);t.flags|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ss(Pa,Pa.current),r)break;return null;case 23:case 24:return t.lanes=0,Ml(e,t,n)}return Xl(e,t,n)}Rl=0!=(16384&e.flags)}else Rl=!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,i=ds(t,ls.current),ea(t,n),i=tl(null,t,r,e,i,n),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,hs(r)){var o=!0;ys(t)}else o=!1;t.memoizedState=null!=i.state?i.state:null,ra(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&da(t,r,s,e),i.updater=ha,t.stateNode=i,i._reactInternals=t,ya(t,r,e,n),t=zl(null,t,r,!0,o,n)}else t.tag=0,Pl(null,t,i,n),t=t.child;return t;case 16:i=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===Lt)return 11;if(e===Pt)return 14}return 2}(i),e=$s(i,e),o){case 0:t=jl(null,t,i,e,n);break e;case 1:t=Fl(null,t,i,e,n);break e;case 11:t=Nl(null,t,i,e,n);break e;case 14:t=Al(null,t,i,$s(i.type,e),r,n);break e}throw Error(st(306,i,""))}return t;case 0:return i=t.pendingProps,jl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 1:return i=t.pendingProps,Fl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 3:if(Bl(t),r=t.updateQueue,null===e||null===r)throw Error(st(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,ia(e,t),la(t,r,null,n),(r=t.memoizedState.element)===i)Ha(),t=Xl(e,t,n);else{if((o=(i=t.stateNode).hydrate)&&(Da=Vo(t.stateNode.containerInfo.firstChild),Aa=t,o=Ma=!0),o){if(null!=(e=i.mutableSourceEagerHydrationData))for(i=0;i<e.length;i+=2)(o=e[i])._workInProgressVersionPrimary=e[i+1],Va.push(o);for(n=xa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Pl(e,t,r,n),Ha();t=t.child}return t;case 5:return Ia(t),null===e&&Fa(t),o=null!==e?e.memoizedProps:null,s=(i=t.pendingProps).children,Fo(r=t.type,i)?s=null:null!==o&&Fo(r,o)&&(t.flags|=16),ql(e,t),Pl(e,t,s,n),t.child;case 6:return null===e&&Fa(t),null;case 13:return $l(e,t,n);case 4:return Oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ea(t,null,r,n):Pl(e,t,r,n),t.child;case 11:return i=t.pendingProps,Nl(e,t,r=t.type,i=t.elementType===r?i:$s(r,i),n);case 7:return Pl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Pl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,s=t.memoizedProps,o=(i=t.pendingProps).value;var a=t.type._context;if(ss(Qs,a._currentValue),a._currentValue=o,null!==s)if(0==(o=oo(a=s.value,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(a,o):1073741823))){if(s.children===i.children&&!us.current){t=Xl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&o)){1===a.tag&&((u=oa(-1,n&-n)).tag=2,sa(a,u)),a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ys(a.return,n),l.lanes|=n;break}u=u.next}}else s=10===a.tag&&a.type===t.type?null:a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Pl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ea(t,n),r=r(i=ta(i,o.unstable_observedBits)),t.flags|=1,Pl(e,t,r,n),t.child;case 14:return o=$s(i=t.type,t.pendingProps),Al(e,t,i,o=$s(i.type,o),r,n);case 15:return Dl(e,t,t.type,t.pendingProps,r,n);case 17:return i=t.pendingProps,i=t.elementType===(r=t.type)?i:$s(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,hs(r)?(e=!0,ys(t)):e=!1,ea(t,n),fa(t,r,i),ya(t,r,i,n),zl(null,t,r,!0,e,n);case 19:return Gl(e,t,n);case 23:case 24:return Ml(e,t,n)}throw Error(st(156,t.tag))},Kc.prototype.render=function(e){Wc(e,this._internalRoot,null,null)},Kc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Wc(null,e,null,(function(){t[Zo]=null}))},tr=function(e){13===e.tag&&(ic(e,4,nc()),Qc(e,4))},nr=function(e){13===e.tag&&(ic(e,67108864,nc()),Qc(e,67108864))},rr=function(e){if(13===e.tag){var t=nc(),n=rc(e);ic(e,n,t),Qc(e,n)}},ir=function(e,t){return t()},Tn=function(e,t,n){switch(t){case"input":if(nn(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 i=es(r);if(!i)throw Error(st(90));Xt(r),nn(r,i)}}}break;case"textarea":cn(e,n);break;case"select":null!=(t=n.value)&&an(e,!!n.multiple,t,!1)}},Nn=cc,An=function(e,t,n,r,i){var o=xu;xu|=4;try{return Bs(98,e.bind(null,t,n,r,i))}finally{0===(xu=o)&&(qu(),Vs())}},Dn=function(){0==(49&xu)&&(function(){if(null!==Ku){var e=Ku;Ku=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,sc(e,js())}))}Vs()}(),Cc())},Mn=function(e,t){var n=xu;xu|=2;try{return e(t)}finally{0===(xu=n)&&(qu(),Vs())}};var Jc={Events:[Jo,Yo,es,Rn,Pn,Cc,{current:!1}]},Yc={findFiberByHostInstance:Xo,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ed={bundleType:Yc.bundleType,version:Yc.version,rendererPackageName:Yc.rendererPackageName,rendererConfig:Yc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Et.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Yn(e))?null:e.stateNode},findFiberByHostInstance:Yc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var td=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!td.isDisabled&&td.supportsFiber)try{vs=td.inject(ed),bs=td}catch(yn){}}et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc,et.createPortal=Xc,et.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(st(188));throw Error(st(268,Object.keys(e)))}return null===(e=Yn(t))?null:e.stateNode},et.flushSync=function(e,t){var n=xu;if(0!=(48&n))return e(t);xu|=1;try{if(e)return Bs(99,e.bind(null,t))}finally{xu=n,Vs()}},et.hydrate=function(e,t,n){if(!Zc(t))throw Error(st(200));return Gc(null,e,t,!0,n)},et.render=function(e,t,n){if(!Zc(t))throw Error(st(200));return Gc(null,e,t,!1,n)},et.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(st(40));return!!e._reactRootContainer&&(dc((function(){Gc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Zo]=null}))})),!0)},et.unstable_batchedUpdates=cc,et.unstable_createPortal=function(e,t){return Xc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(st(200));if(null==e||void 0===e._reactInternals)throw Error(st(38));return Gc(e,t,n,!1,r)},et.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)}}(),Ye.exports=et;var nd=Ye.exports;function rd(){return(rd=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 id(e){return(id="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 od(e){return(od="function"==typeof Symbol&&"symbol"===id(Symbol.iterator)?function(e){return id(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":id(e)})(e)}function sd(e){return e&&"object"===od(e)&&e.constructor===Object}function ad(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?rd({},e):e;return sd(e)&&sd(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(r[i]=sd(t[i])&&i in e?ad(e[i],t[i],n):t[i])})),r}function ld(){}function ud(){}function cd(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."}ud.resetWarningCache=ld,function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var s=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 s.name="Invariant Violation",s}}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:ud,resetWarningCache:ld};n.PropTypes=n}();var dd={exports:{}},hd={},pd=60103,fd=60106,md=60107,yd=60108,gd=60114,vd=60109,bd=60110,wd=60112,Ed=60113,xd=60120,_d=60115,Sd=60116,Cd=60121,kd=60122,Td=60117,Od=60129,Ld=60131;if("function"==typeof Symbol&&Symbol.for){var Id=Symbol.for;pd=Id("react.element"),fd=Id("react.portal"),md=Id("react.fragment"),yd=Id("react.strict_mode"),gd=Id("react.profiler"),vd=Id("react.provider"),bd=Id("react.context"),wd=Id("react.forward_ref"),Ed=Id("react.suspense"),xd=Id("react.suspense_list"),_d=Id("react.memo"),Sd=Id("react.lazy"),Cd=Id("react.block"),kd=Id("react.server.block"),Td=Id("react.fundamental"),Od=Id("react.debug_trace_mode"),Ld=Id("react.legacy_hidden")}function Rd(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case pd:switch(e=e.type){case md:case gd:case yd:case Ed:case xd:return e;default:switch(e=e&&e.$$typeof){case bd:case wd:case Sd:case _d:case vd:return e;default:return t}}case fd:return t}}}var Pd=vd,Nd=pd,Ad=wd,Dd=md,Md=Sd,qd=_d,jd=fd,Fd=gd,zd=yd,Bd=Ed;hd.ContextConsumer=bd,hd.ContextProvider=Pd,hd.Element=Nd,hd.ForwardRef=Ad,hd.Fragment=Dd,hd.Lazy=Md,hd.Memo=qd,hd.Portal=jd,hd.Profiler=Fd,hd.StrictMode=zd,hd.Suspense=Bd,hd.isAsyncMode=function(){return!1},hd.isConcurrentMode=function(){return!1},hd.isContextConsumer=function(e){return Rd(e)===bd},hd.isContextProvider=function(e){return Rd(e)===vd},hd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===pd},hd.isForwardRef=function(e){return Rd(e)===wd},hd.isFragment=function(e){return Rd(e)===md},hd.isLazy=function(e){return Rd(e)===Sd},hd.isMemo=function(e){return Rd(e)===_d},hd.isPortal=function(e){return Rd(e)===fd},hd.isProfiler=function(e){return Rd(e)===gd},hd.isStrictMode=function(e){return Rd(e)===yd},hd.isSuspense=function(e){return Rd(e)===Ed},hd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===md||e===gd||e===Od||e===yd||e===Ed||e===xd||e===Ld||"object"==typeof e&&null!==e&&(e.$$typeof===Sd||e.$$typeof===_d||e.$$typeof===vd||e.$$typeof===bd||e.$$typeof===wd||e.$$typeof===Td||e.$$typeof===Cd||e[0]===kd)},hd.typeOf=Rd,dd.exports=hd;var Hd="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Vd=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function Wd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,s=void 0===o?"":o,a=""===s?"":"".concat(s,"-"),l=0,u=function(){return l+=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 o="".concat(a).concat(r,"-").concat(e.key);return t.options.theme[Hd]&&""===s?"".concat(o,"-").concat(u()):o}return"".concat(a).concat(i).concat(u())}}function Ud(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}function $d(){return($d=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 Qd="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},Kd="object"===("undefined"==typeof window?"undefined":Qd(window))&&"object"===("undefined"==typeof document?"undefined":Qd(document))&&9===document.nodeType;function Zd(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 Gd(e,t,n){return t&&Zd(e.prototype,t),n&&Zd(e,n),e}function Xd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Jd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Yd={}.constructor;function eh(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(eh);if(e.constructor!==Yd)return e;var t={};for(var n in e)t[n]=eh(e[n]);return t}function th(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=eh(t);return r.plugins.onCreateRule(e,i,n)||null}var nh=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},rh=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+=nh(e[r]," ");else n=nh(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function ih(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function oh(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,o=void 0===i?0:i,s=t.fallbacks;if(e&&o++,s)if(Array.isArray(s))for(var a=0;a<s.length;a++){var l=s[a];for(var u in l){var c=l[u];null!=c&&(r&&(r+="\n"),r+=""+ih(u+": "+rh(c)+";",o))}}else for(var d in s){var h=s[d];null!=h&&(r&&(r+="\n"),r+=""+ih(d+": "+rh(h)+";",o))}for(var p in t){var f=t[p];null!=f&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+ih(p+": "+rh(f)+";",o))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),ih(e+" {"+r,--o)+ih("}",o)):r}var sh=/([[\].#*$><+~=|^:(),"'`\s])/g,ah="undefined"!=typeof CSS&&CSS.escape,lh=function(e){return ah?ah(e):e.replace(sh,"\\$1")},uh=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,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}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 i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,s=e in this.style;if(o&&!s&&!r)return this;var a=o&&s;return a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer?(a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this):this},e}(),ch=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=r.selector,s=r.scoped,a=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==s&&(i.id=l(Jd(Jd(i)),a),i.selectorText="."+lh(i.id)),i}Xd(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]=rh(n))}return e},n.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?$d({},e,{allowEmpty:!0}):e;return oh(this.selectorText,this.style,n)},Gd(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}(uh),dh={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new ch(e,t,n)}},hh={indent:1,children:!0},ph=/@([\w-]+)/,fh=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(ph);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new qh($d({},n,{parent:this})),t)this.rules.add(i,t[i]);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=hh),null==e.indent&&(e.indent=hh.indent),null==e.children&&(e.children=hh.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),mh=/@media|@supports\s+/,yh={onCreateRule:function(e,t,n){return mh.test(e)?new fh(e,t,n):null}},gh={indent:1,children:!0},vh=/@keyframes\s+([\w-]+)/,bh=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(vh);this.name=r&&r[1]?r[1]:"noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,s=n.generateId;for(var a in this.id=!1===i?this.name:lh(s(this,o)),this.rules=new qh($d({},n,{parent:this})),t)this.rules.add(a,t[a],$d({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=gh),null==e.indent&&(e.indent=gh.indent),null==e.children&&(e.children=gh.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}(),wh=/@keyframes\s+/,Eh=/\$([\w-]+)/g,xh=function(e,t){return"string"==typeof e?e.replace(Eh,(function(e,n){return n in t?t[n]:e})):e},_h=function(e,t,n){var r=e[t],i=xh(r,n);i!==r&&(e[t]=i)},Sh={onCreateRule:function(e,t,n){return"string"==typeof e&&wh.test(e)?new bh(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&_h(e,"animation-name",n.keyframes),"animation"in e&&_h(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 xh(e,r.keyframes);default:return e}}},Ch=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return Xd(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=t&&t.options.link?$d({},e,{allowEmpty:!0}):e;return oh(this.key,this.style,n)},t}(uh),kh={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Ch(e,t,n):null}},Th=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+=oh(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return oh(this.at,this.style,e)},e}(),Oh=/@font-face/,Lh={onCreateRule:function(e,t,n){return Oh.test(e)?new Th(e,t,n):null}},Ih=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 oh(this.key,this.style,e)},e}(),Rh={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Ih(e,t,n):null}},Ph=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}(),Nh={"@charset":!0,"@import":!0,"@namespace":!0},Ah=[dh,yh,Sh,kh,Lh,Rh,{onCreateRule:function(e,t,n){return e in Nh?new Ph(e,t,n):null}}],Dh={process:!0},Mh={force:!0,process:!0},qh=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,i=$d({classes:this.classes,parent:r.parent,sheet:r.sheet,jss:r.jss,Renderer:r.Renderer,generateId:r.generateId,scoped:r.scoped,name:e,keyframes:this.keyframes,selector:void 0},n),o=e;e in this.raw&&(o=e+"-d"+this.counter++),this.raw[o]=t,o in this.classes&&(i.selector="."+lh(this.classes[o]));var s=th(o,t,i);return s?(this.register(s),this.index.splice(void 0===i.index?this.index.length:i.index,0,s),s):null},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 ch?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof bh&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof ch?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof bh&&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=Dh);var i=this.options,o=i.jss.plugins,s=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var a=t,l=a.style;if(o.onUpdate(n,t,s,r),r.process&&l&&l!==a.style){for(var u in o.onProcessStyle(a.style,a,s),a.style){var c=a.style[u];c!==l[u]&&a.prop(u,c,Mh)}for(var d in l){var h=a.style[d];null==h&&h!==l[d]&&a.prop(d,null,Mh)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var o=this.index[i].toString(e);(o||r)&&(t&&(t+="\n"),t+=o)}return t},e}(),jh=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=$d({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new qh(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 i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}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}(),Fh=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 i=this.registry.onCreateRule[r](e,t,n);if(i)return i}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 i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](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}(),zh=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,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(t,["attached"]),i="",o=0;o<this.registry.length;o++){var s=this.registry[o];null!=n&&s.attached!==n||(i&&(i+="\n"),i+=s.toString(r))}return i},Gd(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Bh="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Hh="2f1acc6c3a606b082e5eef5e54414ffb";null==Bh[Hh]&&(Bh[Hh]=0);var Vh=Bh[Hh]++,Wh=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(o||"c")+Vh+i+t:o+n.key+"-"+Vh+(i?"-"+i:"")+"-"+t}},Uh=function(e){var t;return function(){return t||(t=e()),t}},$h=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},Qh=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=rh(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},Kh=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},Zh=function(e,t){return e.selectorText=t,e.selectorText===t},Gh=Uh((function(){return document.querySelector("head")})),Xh=Uh((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Jh=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]},Yh=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ep=function(){function e(e){this.getPropertyValue=$h,this.setProperty=Qh,this.removeProperty=Kh,this.setSelector=Zh,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&zh.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta;this.element=t.element||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=Xh();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=zh.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 i=function(e){for(var t=Gh(),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(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n.parentNode;i&&i.insertBefore(e,n.nextSibling)}else Gh().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,i=n;if("conditional"===e.type||"keyframes"===e.type){var o=Yh(n,t);if(!1===(i=Jh(n,r.toString({children:!1}),o)))return!1;this.refCssRule(e,o,i)}return this.insertRules(r.rules,i),i}var s=e.toString();if(!s)return!1;var a=Yh(n,t),l=Jh(n,s,a);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,a,l),l)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof jh&&(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}(),tp=0,np=function(){function e(e){this.id=tp++,this.version="10.5.1",this.plugins=new Fh,this.options={id:{minify:!1},createGenerateId:Wh,Renderer:Kd?ep:null,plugins:[]},this.generateId=Wh({minify:!1});for(var t=0;t<Ah.length;t++)this.plugins.use(Ah[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=$d({},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===zh.index?0:zh.index+1);var r=new jh(e,$d({},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(),zh.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=$d({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=th(e,t,r);return i&&this.plugins.onProcessRule(i),i},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}(),rp="object"==typeof CSS&&null!=CSS&&"number"in CSS,ip=function(e){return new np(e)};ip();var op=Date.now(),sp="fnValues"+op,ap="fnStyle"+ ++op;function lp(){return(lp=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 up="@global",cp="@global ",dp=function(){function e(e,t,n){for(var r in this.type="global",this.at=up,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new qh(lp({},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}(),hp=function(){function e(e,t,n){this.type="global",this.at=up,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(cp.length);this.rule=n.jss.createRule(r,t,lp({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),pp=/\s*,\s*/g;function fp(e,t){for(var n=e.split(pp),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}function mp(){return(mp=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 yp=/\s*,\s*/g,gp=/&/g,vp=/\$([\w-]+)/g;function bp(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?(i=i).selector:r}}function t(e,t){for(var n=t.split(yp),r=e.split(yp),i="",o=0;o<n.length;o++)for(var s=n[o],a=0;a<r.length;a++){var l=r[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(gp,s):s+" "+l}return i}function n(e,t,n){if(n)return mp({},n,{index:n.index+1});var r=e.options.nestingLevel,i=mp({},e.options,{nestingLevel:r=void 0===r?1:r+1,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(r,i,o){if("style"!==i.type)return r;var s,a,l=i,u=l.options.parent;for(var c in r){var d=-1!==c.indexOf("&"),h="@"===c[0];if(d||h){if(s=n(l,u,s),d){var p=t(c,l.selector);a||(a=e(u,o)),p=p.replace(vp,a),u.addRule(p,r[c],mp({},s,{selector:p}))}else h&&u.addRule(c,{},s).addRule(l.key,r[c],{selector:l.selector});delete r[c]}}return r}}}var wp=/[A-Z]/g,Ep=/^ms-/,xp={};function _p(e){return"-"+e.toLowerCase()}function Sp(e){if(xp.hasOwnProperty(e))return xp[e];var t=e.replace(wp,_p);return xp[e]=Ep.test(t)?"-"+t:t}function Cp(e){var t={};for(var n in e)t[0===n.indexOf("--")?n:Sp(n)]=e[n];return e.fallbacks&&(t.fallbacks=Array.isArray(e.fallbacks)?e.fallbacks.map(Cp):Cp(e.fallbacks)),t}var kp=rp&&CSS?CSS.px:"px",Tp=rp&&CSS?CSS.ms:"ms",Op=rp&&CSS?CSS.percent:"%";function Lp(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var Ip=Lp({"animation-delay":Tp,"animation-duration":Tp,"background-position":kp,"background-position-x":kp,"background-position-y":kp,"background-size":kp,border:kp,"border-bottom":kp,"border-bottom-left-radius":kp,"border-bottom-right-radius":kp,"border-bottom-width":kp,"border-left":kp,"border-left-width":kp,"border-radius":kp,"border-right":kp,"border-right-width":kp,"border-top":kp,"border-top-left-radius":kp,"border-top-right-radius":kp,"border-top-width":kp,"border-width":kp,"border-block":kp,"border-block-end":kp,"border-block-end-width":kp,"border-block-start":kp,"border-block-start-width":kp,"border-block-width":kp,"border-inline":kp,"border-inline-end":kp,"border-inline-end-width":kp,"border-inline-start":kp,"border-inline-start-width":kp,"border-inline-width":kp,"border-start-start-radius":kp,"border-start-end-radius":kp,"border-end-start-radius":kp,"border-end-end-radius":kp,margin:kp,"margin-bottom":kp,"margin-left":kp,"margin-right":kp,"margin-top":kp,"margin-block":kp,"margin-block-end":kp,"margin-block-start":kp,"margin-inline":kp,"margin-inline-end":kp,"margin-inline-start":kp,padding:kp,"padding-bottom":kp,"padding-left":kp,"padding-right":kp,"padding-top":kp,"padding-block":kp,"padding-block-end":kp,"padding-block-start":kp,"padding-inline":kp,"padding-inline-end":kp,"padding-inline-start":kp,"mask-position-x":kp,"mask-position-y":kp,"mask-size":kp,height:kp,width:kp,"min-height":kp,"max-height":kp,"min-width":kp,"max-width":kp,bottom:kp,left:kp,top:kp,right:kp,inset:kp,"inset-block":kp,"inset-block-end":kp,"inset-block-start":kp,"inset-inline":kp,"inset-inline-end":kp,"inset-inline-start":kp,"box-shadow":kp,"text-shadow":kp,"column-gap":kp,"column-rule":kp,"column-rule-width":kp,"column-width":kp,"font-size":kp,"font-size-delta":kp,"letter-spacing":kp,"text-decoration-thickness":kp,"text-indent":kp,"text-stroke":kp,"text-stroke-width":kp,"word-spacing":kp,motion:kp,"motion-offset":kp,outline:kp,"outline-offset":kp,"outline-width":kp,perspective:kp,"perspective-origin-x":Op,"perspective-origin-y":Op,"transform-origin":Op,"transform-origin-x":Op,"transform-origin-y":Op,"transform-origin-z":Op,"transition-delay":Tp,"transition-duration":Tp,"vertical-align":kp,"flex-basis":kp,"shape-margin":kp,size:kp,gap:kp,grid:kp,"grid-gap":kp,"row-gap":kp,"grid-row-gap":kp,"grid-column-gap":kp,"grid-template-rows":kp,"grid-template-columns":kp,"grid-auto-rows":kp,"grid-auto-columns":kp,"box-shadow-x":kp,"box-shadow-y":kp,"box-shadow-blur":kp,"box-shadow-spread":kp,"font-line-height":kp,"text-shadow-x":kp,"text-shadow-y":kp,"text-shadow-blur":kp});function Rp(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Rp(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=Rp(i,t[i],n);else for(var o in t)t[o]=Rp(e+"-"+o,t[o],n);else if("number"==typeof t&&!Number.isNaN(t)){var s=n[e]||Ip[e];return!s||0===t&&s===kp?t.toString():"function"==typeof s?s(t).toString():""+t+s}return t}function Pp(e){void 0===e&&(e={});var t=Lp(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Rp(r,e[r],t);return e},onChangeValue:function(e,n){return Rp(n,e,t)}}}function Np(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 Ap="",Dp="",Mp="",qp="",jp=Kd&&"ontouchstart"in document.documentElement;if(Kd){var Fp={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},zp=document.createElement("p").style;for(var Bp in Fp)if(Bp+"Transform"in zp){Ap=Bp,Dp=Fp[Bp];break}"Webkit"===Ap&&"msHyphens"in zp&&(Ap="ms",Dp=Fp.ms,qp="edge"),"Webkit"===Ap&&"-apple-trailing-word"in zp&&(Mp="apple")}var Hp=Ap,Vp=Dp,Wp=Mp,Up=qp,$p=jp,Qp={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Hp?"-webkit-"+e:Vp+e)}},Kp={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Hp?Vp+"print-"+e:e)}},Zp=/[-\s]+(.)?/g;function Gp(e,t){return t?t.toUpperCase():""}function Xp(e){return e.replace(Zp,Gp)}function Jp(e){return Xp("-"+e)}var Yp,ef={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Hp){var n="mask-image";if(Xp(n)in t)return e;if(Hp+Jp(n)in t)return Vp+e}return e}},tf={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Wp||$p?e:Vp+e)}},nf={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Vp+e)}},rf={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Vp+e)}},of={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Hp||"ms"===Hp&&"edge"!==Up?Vp+e:e)}},sf={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Hp||"ms"===Hp||"apple"===Wp?Vp+e:e)}},af={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Hp?"WebkitColumn"+Jp(e)in t&&Vp+"column-"+e:"Moz"===Hp&&"page"+Jp(e)in t&&"page-"+e)}},lf={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Hp)return e;var n=e.replace("-inline","");return Hp+Jp(n)in t&&Vp+n}},uf={supportedProperty:function(e,t){return Xp(e)in t&&e}},cf={supportedProperty:function(e,t){var n=Jp(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Hp+n in t?Vp+e:"Webkit"!==Hp&&"Webkit"+n in t&&"-webkit-"+e}},df={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Hp?""+Vp+e:e)}},hf={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Hp?Vp+"scroll-chaining":e)}},pf={"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"},ff={supportedProperty:function(e,t){var n=pf[e];return!!n&&Hp+Jp(n)in t&&Vp+n}},mf={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"},yf=Object.keys(mf),gf=function(e){return Vp+e},vf=[Qp,Kp,ef,tf,nf,rf,of,sf,af,lf,uf,cf,df,hf,ff,{supportedProperty:function(e,t,n){var r=n.multiple;if(yf.indexOf(e)>-1){var i=mf[e];if(!Array.isArray(i))return Hp+Jp(i)in t&&Vp+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(Hp+Jp(i[0])in t))return!1;return i.map(gf)}return!1}}],bf=vf.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),wf=vf.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 Np(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 Np(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)?Np(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}),[]),Ef={};if(Kd){Yp=document.createElement("p");var xf=window.getComputedStyle(document.documentElement,"");for(var _f in xf)isNaN(_f)||(Ef[xf[_f]]=xf[_f]);wf.forEach((function(e){return delete Ef[e]}))}function Sf(e,t){if(void 0===t&&(t={}),!Yp)return e;if(null!=Ef[e])return Ef[e];"transition"!==e&&"transform"!==e||(t[e]=e in Yp.style);for(var n=0;n<bf.length&&(Ef[e]=bf[n](e,Yp.style,t),!Ef[e]);n++);try{Yp.style[e]=""}catch(e){return!1}return Ef[e]}var Cf,kf={},Tf={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Of=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Lf(e,t,n){return"var"===t?"var":"all"===t?"all":"all"===n?", all":(t?Sf(t):", "+Sf(n))||t||n}function If(e,t){var n=t;if(!Cf||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=kf[r])return kf[r];try{Cf.style[e]=n}catch(e){return kf[r]=!1,!1}if(Tf[e])n=n.replace(Of,Lf);else if(""===Cf.style[e]&&("-ms-flex"===(n=Vp+n)&&(Cf.style[e]="-ms-flexbox"),Cf.style[e]=n,""===Cf.style[e]))return kf[r]=!1,!1;return Cf.style[e]="",kf[r]=n,kf[r]}function Rf(){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 i=!1,o=Sf(n);o&&o!==n&&(i=!0);var s=!1,a=If(o,rh(r));a&&a!==r&&(s=!0),(i||s)&&(i&&delete t[n],t[o||n]=a||r)}}return t}return{onProcessRule:function(e){"keyframes"===e.type&&(e.at=function(e){return"-"===e[1]||"ms"===Hp?e:"@"+Vp+"keyframes"+e.substr(10)}(e.at))},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return If(t,rh(e))||e}}}function Pf(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=th(e,{},n);return r[ap]=t,r},onProcessStyle:function(e,t){if(sp in t||ap in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[sp]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[ap];o&&(i.style=o(e)||{});var s=i[sp];if(s)for(var a in s)i.prop(a,s[a](e),r)}},{onCreateRule:function(e,t,n){if(!e)return null;if(e===up)return new dp(e,t,n);if("@"===e[0]&&e.substr(0,cp.length)===cp)return new hp(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,i=r?r[up]:null;if(i){for(var o in i)t.addRule(o,i[o],lp({},n,{selector:fp(o,e.selector)}));delete r[up]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,up.length)===up){var o=fp(i.substr(up.length),e.selector);t.addRule(o,r[i],lp({},n,{selector:o})),delete r[i]}}(e,t))}},bp(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Cp(e[t]);return e}return Cp(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Sp(t);return t===r?e:(n.prop(r,e),null)}},Pp(),"undefined"==typeof window?null:Rf(),(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={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)r[i[o]]=t[i[o]];return r}})]};var e}function Nf(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Af(){return(Af=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 Df(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(!n)return t;var r=Af({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}Kd&&(Cf=document.createElement("p"));var Mf=function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},qf=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},jf=Je.createContext(null);function Ff(){return Je.useContext(jf)}var zf,Bf=ip(Pf()),Hf={disableGeneration:!1,generateClassName:Wd(),jss:Bf,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Vf=Je.createContext(Hf);function Wf(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,i=e.disableGeneration,o=void 0!==i&&i,s=Nf(e,["children","injectFirst","disableGeneration"]),a=Af({},Je.useContext(Vf),{disableGeneration:o},s);if(!a.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!zf){var l=document.head;zf=document.createComment("mui-inject-first"),l.insertBefore(zf,l.firstChild)}a.jss=ip({plugins:Pf().plugins,insertionPoint:zf})}return Je.createElement(Vf.Provider,{value:a},t)}var Uf=-1e9;function $f(){return Uf+=1}var Qf={};function Kf(e){var t="function"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var o=n.overrides[r],s=Af({},i);return Object.keys(o).forEach((function(e){s[e]=ad(s[e],o[e])})),s},options:{}}}function Zf(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Df({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function Gf(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,o=e.stylesCreator,s=e.name;if(!i.disableGeneration){var a=qf(i.sheetsManager,o,r);a||Mf(i.sheetsManager,o,r,a={refs:0,staticSheet:null,dynamicStyles:null});var l=Af({},o.options,i,{theme:r,flip:"boolean"==typeof i.flip?i.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var u=i.sheetsRegistry;if(0===a.refs){var c;i.sheetsCache&&(c=qf(i.sheetsCache,o,r));var d=o.create(r,s);c||((c=i.jss.createStyleSheet(d,Af({link:!1},l))).attach(),i.sheetsCache&&Mf(i.sheetsCache,o,r,c)),u&&u.add(c),a.staticSheet=c,a.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var s=e(i);s&&(n||(n={}),n[r]=s)}}return n}(d)}if(a.dynamicStyles){var h=i.jss.createStyleSheet(a.dynamicStyles,Af({link:!0},l));h.update(t),h.attach(),n.dynamicSheet=h,n.classes=Df({baseClasses:a.staticSheet.classes,newClasses:h.classes}),u&&u.add(h)}else n.classes=a.staticSheet.classes;a.refs+=1}}function Xf(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Jf(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=qf(r.sheetsManager,i,n);o.refs-=1;var s=r.sheetsRegistry;0===o.refs&&(function(e,t,n){e.get(t).delete(n)}(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),s&&s.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),s&&s.remove(t.dynamicSheet))}}function Yf(e,t){var n,r=Je.useRef([]),i=Je.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),Je.useEffect((function(){return function(){n&&n()}}),[i])}function em(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,o=t.defaultTheme,s=void 0===o?Qf:o,a=Nf(t,["name","classNamePrefix","Component","defaultTheme"]),l=Kf(e),u=n||r||"makeStyles";return l.options={index:$f(),name:n,meta:u,classNamePrefix:u},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ff()||s,r=Af({},Je.useContext(Vf),a),o=Je.useRef(),u=Je.useRef();return Yf((function(){var i={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return Gf(i,e),u.current=!1,o.current=i,function(){Jf(i)}}),[t,l]),Je.useEffect((function(){u.current&&Xf(o.current,e),u.current=!0})),Zf(o.current,e.classes,i)}}function tm(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=tm(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function nm(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=tm(e))&&(r&&(r+=" "),r+=t);return r}var rm=dd.exports,im={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},om={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},am={};function lm(e){return rm.isMemo(e)?sm:am[e.$$typeof]||im}am[rm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},am[rm.Memo]=sm;var um=Object.defineProperty,cm=Object.getOwnPropertyNames,dm=Object.getOwnPropertySymbols,hm=Object.getOwnPropertyDescriptor,pm=Object.getPrototypeOf,fm=Object.prototype,mm=function e(t,n,r){if("string"!=typeof n){if(fm){var i=pm(n);i&&i!==fm&&e(t,i,r)}var o=cm(n);dm&&(o=o.concat(dm(n)));for(var s=lm(t),a=lm(n),l=0;l<o.length;++l){var u=o[l];if(!(om[u]||r&&r[u]||a&&a[u]||s&&s[u])){var c=hm(n,u);try{um(t,u,c)}catch(e){}}}}return t};function ym(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function gm(e){var t=e.children,n=e.theme,r=Ff(),i=Je.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):Af({},e,t)}(r,n);return null!=e&&(e[Hd]=null!==r),e}),[n,r]);return Je.createElement(jf.Provider,{value:i},t)}function vm(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e),t)}function bm(e){if(e.type)return e;if("#"===e.charAt(0))return bm(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(cd(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 Em(e){var t="hsl"===(e=bm(e)).type?bm(function(e){var t=(e=bm(e)).values,n=t[0],r=t[2]/100,i=t[1]/100*Math.min(r,1-r),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return r-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",a=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(s+="a",a.push(t[3])),wm({type:s,values:a})}(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 xm(e,t){return e=bm(e),t=vm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,wm(e)}function _m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Cm(){return(Cm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var km=["xs","sm","md","lg","xl"];function Tm(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,s=void 0===o?5:o,a=Sm(e,["values","unit","step"]);function l(e){return"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,")")}function u(e,t){var r=km.indexOf(t);return r===km.length-1?l(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[km[r+1]]?n[km[r+1]]:t)-s/100).concat(i,")")}return Cm({keys:km,values:n,up:l,down:function(e){var t=km.indexOf(e)+1,r=n[km[t]];return t===km.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-s/100).concat(i,")")},between:u,only:function(e){return u(e,e)},width:function(e){return n[e]}},a)}function Om(e,t,n){var r;return Cm({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")),Cm({paddingLeft:t(2),paddingRight:t(2)},n,_m({},e.up("sm"),Cm({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},_m(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),_m(r,e.up("sm"),{minHeight:64}),r)},n)}var Lm={black:"#000",white:"#fff"},Im={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"},Rm={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:Lm.white,default:Im[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}},Pm={text:{primary:Lm.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:Im[800],default:"#303030"},action:{active:Lm.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 Nm(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=bm(e),t=vm(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,i):"dark"===t&&(e.dark=function(e,t){if(e=bm(e),t=vm(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,o)))}function Am(e){var t=e.primary,n=void 0===t?{light:"#7986cb",main:"#3f51b5",dark:"#303f9f"}:t,r=e.secondary,i=void 0===r?{light:"#ff4081",main:"#f50057",dark:"#c51162"}:r,o=e.error,s=void 0===o?{light:"#e57373",main:"#f44336",dark:"#d32f2f"}:o,a=e.warning,l=void 0===a?{light:"#ffb74d",main:"#ff9800",dark:"#f57c00"}:a,u=e.info,c=void 0===u?{light:"#64b5f6",main:"#2196f3",dark:"#1976d2"}:u,d=e.success,h=void 0===d?{light:"#81c784",main:"#4caf50",dark:"#388e3c"}:d,p=e.type,f=void 0===p?"light":p,m=e.contrastThreshold,y=void 0===m?3:m,g=e.tonalOffset,v=void 0===g?.2:g,b=Sm(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function w(e){return function(e,t){var n=Em(e),r=Em(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Pm.text.primary)>=y?Pm.text.primary:Rm.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=Cm({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(cd(4,t));if("string"!=typeof e.main)throw new Error(cd(5,JSON.stringify(e.main)));return Nm(e,"light",n,v),Nm(e,"dark",r,v),e.contrastText||(e.contrastText=w(e.main)),e},x={dark:Pm,light:Rm};return ad(Cm({common:Lm,type:f,primary:E(n),secondary:E(i,"A400","A200","A700"),error:E(s),warning:E(l),info:E(c),success:E(h),grey:Im,contrastThreshold:y,getContrastText:w,augmentColor:E,tonalOffset:v},x[f]),b)}function Dm(e){return Math.round(1e5*e)/1e5}function Mm(e){return Dm(e)}var qm={textTransform:"uppercase"},jm='"Roboto", "Helvetica", "Arial", sans-serif';function Fm(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,i=void 0===r?jm:r,o=n.fontSize,s=void 0===o?14:o,a=n.fontWeightLight,l=void 0===a?300:a,u=n.fontWeightRegular,c=void 0===u?400:u,d=n.fontWeightMedium,h=void 0===d?500:d,p=n.fontWeightBold,f=void 0===p?700:p,m=n.htmlFontSize,y=void 0===m?16:m,g=n.allVariants,v=n.pxToRem,b=Sm(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),w=s/14,E=v||function(e){return"".concat(e/y*w,"rem")},x=function(e,t,n,r,o){return Cm({fontFamily:i,fontWeight:e,fontSize:E(t),lineHeight:n},i===jm?{letterSpacing:"".concat(Dm(r/t),"em")}:{},o,g)},_={h1:x(l,96,1.167,-1.5),h2:x(l,60,1.2,-.5),h3:x(c,48,1.167,0),h4:x(c,34,1.235,.25),h5:x(c,24,1.334,0),h6:x(h,20,1.6,.15),subtitle1:x(c,16,1.75,.15),subtitle2:x(h,14,1.57,.1),body1:x(c,16,1.5,.15),body2:x(c,14,1.43,.15),button:x(h,14,1.75,.4,qm),caption:x(c,12,1.66,.4),overline:x(c,12,2.66,1,qm)};return ad(Cm({htmlFontSize:y,pxToRem:E,round:Mm,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:h,fontWeightBold:f},_),b,{clone:!1})}function zm(){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 Bm=["none",zm(0,2,1,-1,0,1,1,0,0,1,3,0),zm(0,3,1,-2,0,2,2,0,0,1,5,0),zm(0,3,3,-2,0,3,4,0,0,1,8,0),zm(0,2,4,-1,0,4,5,0,0,1,10,0),zm(0,3,5,-1,0,5,8,0,0,1,14,0),zm(0,3,5,-1,0,6,10,0,0,1,18,0),zm(0,4,5,-2,0,7,10,1,0,2,16,1),zm(0,5,5,-3,0,8,10,1,0,3,14,2),zm(0,5,6,-3,0,9,12,1,0,3,16,2),zm(0,6,6,-3,0,10,14,1,0,4,18,3),zm(0,6,7,-4,0,11,15,1,0,4,20,3),zm(0,7,8,-4,0,12,17,2,0,5,22,4),zm(0,7,8,-4,0,13,19,2,0,5,24,4),zm(0,7,9,-4,0,14,21,2,0,5,26,4),zm(0,8,9,-5,0,15,22,2,0,6,28,5),zm(0,8,10,-5,0,16,24,2,0,6,30,5),zm(0,8,11,-5,0,17,26,2,0,6,32,5),zm(0,9,11,-5,0,18,28,2,0,7,34,6),zm(0,9,12,-6,0,19,29,2,0,7,36,6),zm(0,10,13,-6,0,20,31,3,0,8,38,7),zm(0,10,13,-6,0,21,33,3,0,8,40,7),zm(0,10,14,-6,0,22,35,3,0,8,42,7),zm(0,11,14,-7,0,23,36,3,0,9,44,8),zm(0,11,15,-7,0,24,38,3,0,9,46,8)],Hm={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 Wm(e){return(Wm="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 Um(e){return(Um="function"==typeof Symbol&&"symbol"===Wm(Symbol.iterator)?function(e){return Wm(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Wm(e)})(e)}function $m(e,t){return t?ad(e,t,{clone:!1}):e}var Qm={xs:0,sm:600,md:960,lg:1280,xl:1920},Km={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Qm[e],"px)")}};function Zm(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||Km;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===Um(t)){var i=e.theme.breakpoints||Km;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}function Gm(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Xm(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,i=e.themeKey,o=e.transform,s=function(e){if(null==e[t])return null;var n=e[t],s=Gm(e.theme,i)||{};return Zm(e,n,(function(e){var t;return"function"==typeof s?t=s(e):Array.isArray(s)?t=s[e]||e:(t=Gm(s,e)||e,o&&(t=o(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 s.propTypes={},s.filterProps=[t],s}function Jm(){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?$m(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function Ym(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var ey=Jm(Xm({prop:"border",themeKey:"borders",transform:Ym}),Xm({prop:"borderTop",themeKey:"borders",transform:Ym}),Xm({prop:"borderRight",themeKey:"borders",transform:Ym}),Xm({prop:"borderBottom",themeKey:"borders",transform:Ym}),Xm({prop:"borderLeft",themeKey:"borders",transform:Ym}),Xm({prop:"borderColor",themeKey:"palette"}),Xm({prop:"borderRadius",themeKey:"shape"}));function ty(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var ny=Jm(Xm({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Xm({prop:"display"}),Xm({prop:"overflow"}),Xm({prop:"textOverflow"}),Xm({prop:"visibility"}),Xm({prop:"whiteSpace"})),ry=Jm(Xm({prop:"flexBasis"}),Xm({prop:"flexDirection"}),Xm({prop:"flexWrap"}),Xm({prop:"justifyContent"}),Xm({prop:"alignItems"}),Xm({prop:"alignContent"}),Xm({prop:"order"}),Xm({prop:"flex"}),Xm({prop:"flexGrow"}),Xm({prop:"flexShrink"}),Xm({prop:"alignSelf"}),Xm({prop:"justifyItems"}),Xm({prop:"justifySelf"})),iy=Jm(Xm({prop:"gridGap"}),Xm({prop:"gridColumnGap"}),Xm({prop:"gridRowGap"}),Xm({prop:"gridColumn"}),Xm({prop:"gridRow"}),Xm({prop:"gridAutoFlow"}),Xm({prop:"gridAutoColumns"}),Xm({prop:"gridAutoRows"}),Xm({prop:"gridTemplateColumns"}),Xm({prop:"gridTemplateRows"}),Xm({prop:"gridTemplateAreas"}),Xm({prop:"gridArea"})),oy=Jm(Xm({prop:"color",themeKey:"palette"}),Xm({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),sy=Jm(Xm({prop:"position"}),Xm({prop:"zIndex",themeKey:"zIndex"}),Xm({prop:"top"}),Xm({prop:"right"}),Xm({prop:"bottom"}),Xm({prop:"left"})),ay=Xm({prop:"boxShadow",themeKey:"shadows"});function ly(e){return e<=1?"".concat(100*e,"%"):e}var uy=Xm({prop:"width",transform:ly}),cy=Xm({prop:"maxWidth",transform:ly}),dy=Xm({prop:"minWidth",transform:ly}),hy=Xm({prop:"height",transform:ly}),py=Xm({prop:"maxHeight",transform:ly}),fy=Xm({prop:"minHeight",transform:ly});Xm({prop:"size",cssProperty:"width",transform:ly}),Xm({prop:"size",cssProperty:"height",transform:ly});var my=Jm(uy,cy,dy,hy,py,fy,Xm({prop:"boxSizing"})),yy={m:"margin",p:"padding"},gy={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vy={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},by=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){if(e.length>2){if(!vy[e])return[e];e=vy[e]}var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(e.split("")),n=yy[t[0]],r=gy[t[1]]||"";return Array.isArray(r)?r.map((function(e){return n+e})):[n+r]}(e)),t[e]}}(),wy=["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 Ey(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 xy(e){var t=Ey(e.theme);return Object.keys(e).map((function(n){if(-1===wy.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}),{})}}(by(n),t);return Zm(e,e[n],r)})).reduce($m,{})}xy.propTypes={},xy.filterProps=wy;var _y=Jm(Xm({prop:"fontFamily",themeKey:"typography"}),Xm({prop:"fontSize",themeKey:"typography"}),Xm({prop:"fontStyle",themeKey:"typography"}),Xm({prop:"fontWeight",themeKey:"typography"}),Xm({prop:"letterSpacing"}),Xm({prop:"lineHeight"}),Xm({prop:"textAlign"}));function Sy(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Ey({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 Cy={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)"},ky={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ty(e){return"".concat(Math.round(e),"ms")}var Oy={easing:Cy,duration:ky,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?ky.standard:n,i=t.easing,o=void 0===i?Cy.easeInOut:i,s=t.delay,a=void 0===s?0:s;return Sm(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:Ty(r)," ").concat(o," ").concat("string"==typeof a?a:Ty(a))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},Ly={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Iy(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,s=void 0===o?{}:o,a=e.spacing,l=e.typography,u=void 0===l?{}:l,c=Sm(e,["breakpoints","mixins","palette","spacing","typography"]),d=Am(s),h=Tm(n),p=Sy(a),f=ad({breakpoints:h,direction:"ltr",mixins:Om(h,p,i),overrides:{},palette:d,props:{},shadows:Bm,typography:Fm(d,u),spacing:p,shape:Hm,transitions:Oy,zIndex:Ly},c),m=arguments.length,y=new Array(m>1?m-1:0),g=1;g<m;g++)y[g-1]=arguments[g];return y.reduce((function(e,t){return ad(e,t)}),f)}var Ry=Iy();function Py(e){return em(e,Cm({defaultTheme:Ry},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}function Ny(){return Ff()||Ry}function Ay(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,o=void 0!==i&&i,s=t.name,a=Nf(t,["defaultTheme","withTheme","name"]),l=em(e,Af({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:s},a)),u=Je.forwardRef((function(e,t){var i,a=e.innerRef,u=Nf(e,["classes","innerRef"]),c=l(Af({},n.defaultProps,e)),d=u;return("string"==typeof s||o)&&(i=Ff()||r,s&&(d=Ud({theme:i,name:s,props:u})),o&&!d.theme&&(d.theme=i)),Je.createElement(n,Af({ref:a||t,classes:c},d))}));return mm(u,n),u}}(e,Cm({defaultTheme:Ry},t))}var Dy={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 My="#009845",qy="#3F8AB3",jy="#ffffff",Fy="#404040",zy="#333333",By="#1A1A1A",Hy={type:"light",palette:{primary:{main:Fy,contrastText:jy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:Fy,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:Fy,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:jy,default:jy,lightest:jy,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:qy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:My,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:jy,alternativeContrastText:Fy,excludedContrastText:Fy},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)"}}},Vy={type:"dark",palette:{primary:{main:zy,contrastText:jy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:jy,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:jy,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:Fy,lighter:zy,darker:"#262626",darkest:By},custom:{focusBorder:qy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:My,alternative:zy,excluded:By,mainContrastText:jy,alternativeContrastText:jy,excludedContrastText:jy},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)"}}},Wy={},Uy=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 $y(e){let t=Hy,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=Vy));const i=JSON.stringify(t);if(Wy[i])return Wy[i];const o={palette:n(n({type:t.type},Dy.palette),t.palette),typography:n({},Dy.typography),shadows:Dy.shadows,props:n({},Dy.props),shape:n({},Dy.shape)};return Wy[i]=Iy(n(n({},o),{},{overrides:Uy(o)})),Wy[i].name=r,Wy[i]}var Qy=Je.createContext({language:null,theme:null,translator:null,constraints:{}}),Ky=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[],r={get:e=>t[e],set:(n,r)=>{if(void 0===n||"object"==typeof n)throw new Error("Invalid key: ".concat(JSON.stringify(n)));return t[n]=r,e({type:"SET",value:r}),r},clear:e=>{if(void 0===e||"object"==typeof e)throw new Error("Invalid key: ".concat(JSON.stringify(e)));t[e]=null},dispatch:e=>{n.forEach(n=>n(e?{}:t))}};return[()=>{const[,e]=ye.exports.useState(t);return ye.exports.useEffect(()=>(n.push(e),()=>{const t=n.indexOf(e);n.splice(t,1)}),[e]),[r]},r]};const[Zy,Gy]=Ky({}),[Xy,Jy]=Ky({}),[Yy,eg]=Ky({}),[tg,ng]=Ky({}),[rg,ig]=Ky({}),[,og]=Ky({}),sg=e=>{let{type:t,value:n}=e;const r=og.get(n.id);og.set(n.id,{});const i=()=>{Jy.clear(n.id),ig.set(n.id,{}),ig.dispatch(!0)},o=()=>{n.removeListener("changed",i),Gy.clear(n.id),Jy.clear(n.id),eg.clear(n.id),ng.clear(n.id),ig.clear(n.id),og.clear(n.id)};switch(t){case"SET":r||(n.on("changed",i),n.once("closed",()=>{o()}))}return o},[ag,lg]=Ky({},sg),ug=(e,t)=>{const{rpcResultStore:r,key:i,method:o}=t;let s;switch(t.type){case"INVALID":s=n(n({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":s={result:n({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":s=n(n({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let a=r.get(i);return a||(a={}),a[o]=s,r.set(i,a),s};function cg(e,t){const n=e?"".concat(e.id):null,[r]=Zy(),[i,o]=ye.exports.useReducer(ug,n?r.get(n):null),[s]=rg(),[a]=Xy();let l;n&&(l=a.get(n),l||(l={},a.set(n,l)));const u=async i=>{let s=l[t];(!s||s&&s.rpcRetry)&&(s={rpc:e[t](),rpcRetry:!1},l[t]=s,o({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0}));try{const i=await s.rpc;o({type:"VALID",result:i,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||i||(s.rpcRetry||(s.rpcRetry=!0),u(!0))}},c={cancel:async()=>{const i=e.session.getObjectApi({handle:-1});await i.cancelRequest(l[t].rpc.requestId),o({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{l[t].rpcRetry=!0,u()}};return ye.exports.useEffect(()=>{e&&u()},[e,s.get(e&&e.id),n,t]),[i&&i.result,{validating:i&&i.validating,canCancel:i&&i.canCancel,canRetry:i&&i.canRetry},c]}function dg(e){return cg(e,"getLayout")}function hg(e){return cg(e,"getAppLayout")}function pg(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=ag(),[i]=Yy(),[o,s]=ye.exports.useState();let a;n&&(a=i.get(n));for(var l=arguments.length,u=new Array(l>2?l-2:0),c=2;c<l;c++)u[c-2]=arguments[c];return ye.exports.useEffect(()=>{t&&(async()=>{if(!a){const r=t.createSessionObject(e);a=r,i.set(n,a)}const o=await a;r.set(n,o),s(o)})()},[t,...u]),[o]}const fg={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function mg(e){return pg(fg,e)}function yg(e){const[t]=mg(e),[n]=dg(t),[r]=hg(e),[i,o]=ye.exports.useState(null);return ye.exports.useEffect(()=>{r&&t&&n&&((e,t,n)=>{const r=[...n.qStateNames||[]].map(e=>({stateName:e,qSelectionObjectDef:{qStateName:e}}));(t&&t.alternateStates?t.alternateStates.map(e=>e.stateName):[]).join("::")!==(n.qStateNames||[]).map(e=>e).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)})(t,n,r)},[r,t,n]),ye.exports.useEffect(()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach(n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter(e=>!0!==e.qLocked).length>0}),o({canGoBack:e,canGoForward:t,canClear:r})},[n]),[i,t,n]}const[gg,vg]=Ky({}),[bg,wg]=Ky({}),[Eg,xg]=Ky({}),[_g,Sg]=Ky({});function Cg(e){if(!e.session)return[];const[t,n,r]=yg(e),[i]=gg(),o=e?e.id:null;let s=i.get(o);return ye.exports.useEffect(()=>{e&&n&&r&&t&&!s&&(s=function(e){let{app:t,currentSelectionsLayout:n,navState:r}=e;const i="".concat(t.id),o=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=Sg.get(i);t&&(await t.endSelections(e),Sg.clear(i),xg.get(t.id).emit("deactivated"))},s={begin:async function(e,n){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e===Sg.get(i))return;o(r),Sg.set(i,e);const s=Array.isArray(n)?n:[n],a=async n=>{try{await e.beginSelections(s),Sg.set(i,e)}catch(e){6003!==e.code||n?Sg.clear(i):(await t.abortModal(r),a(!0))}};await a()},end:o};return wg.set(i,s),{model:t,isInModal:()=>!!Sg.get(i),isModal:e=>e?Sg.get(i)===e:!!Sg.get(i),canGoForward:()=>r.canGoForward,canGoBack:()=>r.canGoBack,canClear:()=>r.canClear,layout:()=>n,forward:()=>s.end().then(()=>t.forward()),back:()=>s.end().then(()=>t.back()),clear:()=>s.end().then(()=>t.clearAll()),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return s.end().then(()=>t.getField(e,n).then(e=>e.clear()))}}}({app:e,currentSelectionsLayout:r,navState:t}),i.set(o,s),i.dispatch(!0))},[e,n,r,t]),[s,t]}let kg=0;const Tg=ye.exports.forwardRef((e,t)=>{let{initialContext:n,app:r}=e;const[i]=Cg(r),[o,s]=ye.exports.useState(n),[a,l]=ye.exports.useState(),{theme:u,generator:c}=ye.exports.useMemo(()=>({theme:$y(a),generator:Wd({productionPrefix:"".concat("03e4"),disableGlobal:!0,seed:"njs-".concat(kg++)})}),[a]),[d,h]=ye.exports.useState([]);return ye.exports.useImperativeHandle(t,()=>({addComponent(e){h([...d,e])},removeComponent(e){const t=d.indexOf(e);-1!==t&&(d.splice(t,1),h([...d]))},setMuiThemeName:l,setContext:s,getAppSelections:()=>i})),Je.createElement(Wf,{generateClassName:c},Je.createElement(gm,{theme:u},Je.createElement(Qy.Provider,{value:o},Je.createElement(Je.Fragment,null,d))))});function Og(e){let t,{app:n,context:r}=e;const i=new Promise(e=>{t=e}),o=Je.createRef(),s=document.createElement("div");s.style.display="none",s.setAttribute("data-nebulajs-version","2.3.1"),s.setAttribute("data-app-id",n.id),document.body.appendChild(s),nd.render(Je.createElement(Tg,{ref:o,app:n,initialContext:r}),s,t);const a={};return[{toggleFocusOfCells(e){Object.keys(a).forEach(t=>{a[t].current.toggleFocus(t===e)})},cells:a,addCell(e,t){a[e]=t},add(e){(async()=>{await i,o.current.addComponent(e)})()},remove(e){(async()=>{await i,o.current.removeComponent(e)})()},setMuiThemeName(e){(async()=>{await i,o.current.setMuiThemeName(e)})()},context(e){(async()=>{await i,o.current.setContext(e)})()},getAppSelections:async()=>(await i,o.current.getAppSelections())},o,i]}function Lg(e){if("string"!=typeof e)throw new Error(cd(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ig(){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),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function Rg(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=this,a=function(){e.apply(s,i)};clearTimeout(t),t=setTimeout(a,n)}return r.clear=function(){clearTimeout(t)},r}function Pg(e){return e&&e.ownerDocument||document}function Ng(e){return Pg(e).defaultView||window}function Ag(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Dg="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect;function Mg(e){var t=ye.exports.useRef(e);return Dg((function(){t.current=e})),ye.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function qg(e,t){return ye.exports.useMemo((function(){return null==e&&null==t?null:function(n){Ag(e,n),Ag(t,n)}}),[e,t])}var jg=!0,Fg=!1,zg=null,Bg={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 Hg(e){e.metaKey||e.altKey||e.ctrlKey||(jg=!0)}function Vg(){jg=!1}function Wg(){"hidden"===this.visibilityState&&Fg&&(jg=!0)}function Ug(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return jg||function(e){var t=e.tagName;return!("INPUT"!==t||!Bg[e.type]||e.readOnly)||"TEXTAREA"===t&&!e.readOnly||!!e.isContentEditable}(t)}function $g(){Fg=!0,window.clearTimeout(zg),zg=window.setTimeout((function(){Fg=!1}),100)}function Qg(){return(Qg=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 Kg(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function Zg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Gg=Je.createContext(null),Xg="unmounted",Jg="exited",Yg="entering",ev="entered",tv="exiting",nv=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Jg,r.appearStatus=Yg):i=ev:i=t.unmountOnExit||t.mountOnEnter?Xg:Jg,r.state={status:i},r.nextCallback=null,r}Zg(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Xg?{status:Jg}: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!==Yg&&n!==ev&&(t=Yg):n!==Yg&&n!==ev||(t=tv)}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===Yg?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Jg&&this.setState({status:Xg})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[nd.findDOMNode(this),r],o=i[0],s=i[1],a=this.getTimeouts(),l=r?a.appear:a.enter;e||n?(this.props.onEnter(o,s),this.safeSetState({status:Yg},(function(){t.props.onEntering(o,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:ev},(function(){t.props.onEntered(o,s)}))}))}))):this.safeSetState({status:ev},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:nd.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:tv},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Jg},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Jg},(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:nd.findDOMNode(this);if(n&&(null!=e||this.props.addEndListener)){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback];this.props.addEndListener(r[0],r[1])}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Xg)return null;var t=this.props,n=t.children,r=Kg(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Je.createElement(Gg.Provider,{value:null},"function"==typeof n?n(e,r):Je.cloneElement(Je.Children.only(n),r))},t}(Je.Component);function rv(){}nv.contextType=Gg,nv.propTypes={},nv.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:rv,onEntering:rv,onEntered:rv,onExit:rv,onExiting:rv,onExited:rv},nv.UNMOUNTED=Xg,nv.EXITED=Jg,nv.ENTERING=Yg,nv.ENTERED=ev,nv.EXITING=tv;var iv=nv;function ov(e,t){var n=Object.create(null);return e&&ye.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&ye.exports.isValidElement(e)?t(e):e}(e)})),n}function sv(e,t,n){return null!=n[t]?n[t]:e.props[t]}function av(e,t,n){var r=ov(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var s in e)s in t?o.length&&(i[s]=o,o=[]):o.push(s);var a={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++)a[i[l][r]]=n(i[l][r]);a[l]=n(l)}for(r=0;r<o.length;r++)a[o[r]]=n(o[r]);return a}(t,r);return Object.keys(i).forEach((function(o){var s=i[o];if(ye.exports.isValidElement(s)){var a=o in t,l=o in r,u=t[o],c=ye.exports.isValidElement(u)&&!u.props.in;!l||a&&!c?l||!a||c?l&&a&&ye.exports.isValidElement(u)&&(i[o]=ye.exports.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:sv(s,"exit",e),enter:sv(s,"enter",e)})):i[o]=ye.exports.cloneElement(s,{in:!1}):i[o]=ye.exports.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:sv(s,"exit",e),enter:sv(s,"enter",e)})}})),i}var lv=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},uv=function(e){function t(t,n){var r,i=(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:i,firstRender:!0},r}Zg(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,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,ov(n.children,(function(e){return ye.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)})}))):av(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=ov(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Qg({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Kg(e,["component","childFactory"]),i=this.state.contextValue,o=lv(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,Je.createElement(Gg.Provider,{value:i},null===t?o:Je.createElement(t,r,o))},t}(Je.Component);uv.propTypes={},uv.defaultProps={component:"div",childFactory:function(e){return e}};var cv=uv;function dv(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}var hv=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,o=void 0===i?"div":i,s=e.square,a=void 0!==s&&s,l=e.elevation,u=void 0===l?1:l,c=e.variant,d=void 0===c?"elevation":c,h=Sm(e,["classes","className","component","square","elevation","variant"]);return ye.exports.createElement(o,Cm({className:nm(n.root,r,"outlined"===d?n.outlined:n["elevation".concat(u)],!a&&n.rounded),ref:t},h))})),pv=Ay((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Cm({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 fv(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 mv="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect;function yv(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,o=e.rippleY,s=e.rippleSize,a=e.in,l=e.onExited,u=void 0===l?function(){}:l,c=e.timeout,d=ye.exports.useState(!1),h=d[0],p=d[1],f=nm(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:s,height:s,top:-s/2+o,left:-s/2+i},y=nm(t.child,h&&t.childLeaving,r&&t.childPulsate),g=Mg(u);return mv((function(){if(!a){p(!0);var e=setTimeout(g,c);return function(){clearTimeout(e)}}}),[g,a,c]),ye.exports.createElement("span",{className:f,style:m},ye.exports.createElement("span",{className:y}))}var gv=ye.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,i=e.classes,o=e.className,s=Sm(e,["center","classes","className"]),a=ye.exports.useState([]),l=a[0],u=a[1],c=ye.exports.useRef(0),d=ye.exports.useRef(null);ye.exports.useEffect((function(){d.current&&(d.current(),d.current=null)}),[l]);var h=ye.exports.useRef(!1),p=ye.exports.useRef(null),f=ye.exports.useRef(null),m=ye.exports.useRef(null);ye.exports.useEffect((function(){return function(){clearTimeout(p.current)}}),[]);var y=ye.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,s=e.cb;u((function(e){return[].concat(fv(e),[ye.exports.createElement(yv,{key:c.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o})])})),c.current+=1,d.current=s}),[i]),g=ye.exports.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=t.pulsate,o=void 0!==i&&i,s=t.center,a=void 0===s?r||t.pulsate:s,l=t.fakeElement,u=void 0!==l&&l;if("mousedown"===e.type&&h.current)h.current=!1;else{"touchstart"===e.type&&(h.current=!0);var c,d,g,v=u?null:m.current,b=v?v.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),d=Math.round(b.height/2);else{var w=e.touches?e.touches[0]:e,E=w.clientY;c=Math.round(w.clientX-b.left),d=Math.round(E-b.top)}if(a)(g=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(g+=1);else{var x=2*Math.max(Math.abs((v?v.clientWidth:0)-c),c)+2,_=2*Math.max(Math.abs((v?v.clientHeight:0)-d),d)+2;g=Math.sqrt(Math.pow(x,2)+Math.pow(_,2))}e.touches?null===f.current&&(f.current=function(){y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})},p.current=setTimeout((function(){f.current&&(f.current(),f.current=null)}),80)):y({pulsate:o,rippleX:c,rippleY:d,rippleSize:g,cb:n})}}),[r,y]),v=ye.exports.useCallback((function(){g({},{pulsate:!0})}),[g]),b=ye.exports.useCallback((function(e,t){if(clearTimeout(p.current),"touchend"===e.type&&f.current)return e.persist(),f.current(),f.current=null,void(p.current=setTimeout((function(){b(e,t)})));f.current=null,u((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return ye.exports.useImperativeHandle(t,(function(){return{pulsate:v,start:g,stop:b}}),[v,g,b]),ye.exports.createElement("span",Cm({className:nm(i.root,o),ref:m},s),ye.exports.createElement(cv,{component:null,exit:!0},l))})),vv=Ay((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(ye.exports.memo(gv)),bv=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,o=void 0!==i&&i,s=e.children,a=e.classes,l=e.className,u=e.component,c=void 0===u?"button":u,d=e.disabled,h=void 0!==d&&d,p=e.disableRipple,f=void 0!==p&&p,m=e.disableTouchRipple,y=void 0!==m&&m,g=e.focusRipple,v=void 0!==g&&g,b=e.focusVisibleClassName,w=e.onBlur,E=e.onClick,x=e.onFocus,_=e.onFocusVisible,S=e.onKeyDown,C=e.onKeyUp,k=e.onMouseDown,T=e.onMouseLeave,O=e.onMouseUp,L=e.onTouchEnd,I=e.onTouchMove,R=e.onTouchStart,P=e.onDragLeave,N=e.tabIndex,A=void 0===N?0:N,D=e.TouchRippleProps,M=e.type,q=void 0===M?"button":M,j=Sm(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"]),F=ye.exports.useRef(null),z=ye.exports.useRef(null),B=ye.exports.useState(!1),H=B[0],V=B[1];h&&H&&V(!1);var W={isFocusVisible:Ug,onBlurVisible:$g,ref:ye.exports.useCallback((function(e){var t,n=Ye.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Hg,!0),t.addEventListener("mousedown",Vg,!0),t.addEventListener("pointerdown",Vg,!0),t.addEventListener("touchstart",Vg,!0),t.addEventListener("visibilitychange",Wg,!0))}),[])},U=W.isFocusVisible,$=W.onBlurVisible,Q=W.ref;function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return Mg((function(r){return t&&t(r),!n&&z.current&&z.current[e](r),!0}))}ye.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){V(!0),F.current.focus()}}}),[]),ye.exports.useEffect((function(){H&&v&&!f&&z.current.pulsate()}),[f,v,H]);var Z=K("start",k),G=K("stop",P),X=K("stop",O),J=K("stop",(function(e){H&&e.preventDefault(),T&&T(e)})),Y=K("start",R),ee=K("stop",L),te=K("stop",I),ne=K("stop",(function(e){H&&($(e),V(!1)),w&&w(e)}),!1),re=Mg((function(e){F.current||(F.current=e.currentTarget),U(e)&&(V(!0),_&&_(e)),x&&x(e)})),ie=function(){var e=Ye.exports.findDOMNode(F.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},oe=ye.exports.useRef(!1),se=Mg((function(e){v&&!oe.current&&H&&z.current&&" "===e.key&&(oe.current=!0,e.persist(),z.current.stop(e,(function(){z.current.start(e)}))),e.target===e.currentTarget&&ie()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&ie()&&"Enter"===e.key&&!h&&(e.preventDefault(),E&&E(e))})),ae=Mg((function(e){v&&" "===e.key&&z.current&&H&&!e.defaultPrevented&&(oe.current=!1,e.persist(),z.current.stop(e,(function(){z.current.pulsate(e)}))),C&&C(e),E&&e.target===e.currentTarget&&ie()&&" "===e.key&&!e.defaultPrevented&&E(e)})),le=c;"button"===le&&j.href&&(le="a");var ue={};"button"===le?(ue.type=q,ue.disabled=h):("a"===le&&j.href||(ue.role="button"),ue["aria-disabled"]=h);var ce=qg(r,t),de=qg(Q,F),he=qg(ce,de),pe=ye.exports.useState(!1),fe=pe[0],me=pe[1];ye.exports.useEffect((function(){me(!0)}),[]);var ge=fe&&!f&&!h;return ye.exports.createElement(le,Cm({className:nm(a.root,l,H&&[a.focusVisible,b],h&&a.disabled),onBlur:ne,onClick:E,onFocus:re,onKeyDown:se,onKeyUp:ae,onMouseDown:Z,onMouseLeave:J,onMouseUp:X,onDragLeave:G,onTouchEnd:ee,onTouchMove:te,onTouchStart:Y,ref:he,tabIndex:h?-1:A},ue,j),s,ge?ye.exports.createElement(vv,Cm({ref:z,center:o},D)):null)})),wv=Ay({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"})(bv),Ev=ye.exports.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,o=e.classes,s=e.className,a=e.color,l=void 0===a?"default":a,u=e.disabled,c=void 0!==u&&u,d=e.disableFocusRipple,h=void 0!==d&&d,p=e.size,f=void 0===p?"medium":p,m=Sm(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return ye.exports.createElement(wv,Cm({className:nm(o.root,s,"default"!==l&&o["color".concat(Lg(l))],c&&o.disabled,"small"===f&&o["size".concat(Lg(f))],{start:o.edgeStart,end:o.edgeEnd}[r]),centerRipple:!0,focusRipple:!h,disabled:c,ref:t},m),ye.exports.createElement("span",{className:o.label},i))})),xv=Ay((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:xm(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:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:xm(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"})(Ev),_v=ye.exports.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,o=e.children,s=e.classes,a=e.className,l=e.color,u=void 0===l?"default":l,c=e.component,d=void 0===c?"span":c,h=e.invisible,p=e.max,f=void 0===p?99:p,m=e.overlap,y=void 0===m?"rectangle":m,g=e.showZero,v=void 0!==g&&g,b=e.variant,w=void 0===b?"standard":b,E=Sm(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),x=h;null==h&&(0===i&&!v||null==i&&"dot"!==w)&&(x=!0);var _="";return"dot"!==w&&(_=i>f?"".concat(f,"+"):i),ye.exports.createElement(d,Cm({className:nm(s.root,a),ref:t},E),o,ye.exports.createElement("span",{className:nm(s.badge,s["".concat(r.horizontal).concat(Lg(r.vertical),"}")],s["anchorOrigin".concat(Lg(r.vertical)).concat(Lg(r.horizontal)).concat(Lg(y))],"default"!==u&&s["color".concat(Lg(u))],x&&s.invisible,"dot"===w&&s.dot)},_))})),Sv=Ay((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"})(_v),Cv=function(e){var t=function(t){var n=e(t);return t.css?Vm({},$m(n,e(Vm({theme:t.theme},t.css))),ty(t.css,[e.filterProps])):t.sx?Vm({},$m(n,e(Vm({theme:t.theme},t.sx))),ty(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}(Jm(ey,ny,ry,iy,sy,oy,ay,my,xy,_y)),kv=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,o=Nf(r,["name"]),s=em("function"==typeof t?function(e){return{root:function(n){return t(Af({theme:e},n))}}}:{root:t},Af({Component:e,name:i||e.displayName,classNamePrefix:i},o));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&delete t.propTypes;var a=Je.forwardRef((function(t,r){var i=t.children,o=t.className,a=t.clone,l=t.component,u=Nf(t,["children","className","clone","component"]),c=nm(s(t).root,o),d=u;return n&&(d=ym(d,n)),a?Je.cloneElement(i,Af({className:nm(i.props.className,c)},d)):"function"==typeof i?i(Af({className:c},d)):Je.createElement(l||e,Af({ref:r,className:c},d),i)}));return mm(a,e),a}}("div");return function(e,n){return t(e,Cm({defaultTheme:Ry},n))}}()(Cv,{name:"MuiBox"}),Tv={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Ov=ye.exports.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,o=e.className,s=e.color,a=void 0===s?"initial":s,l=e.component,u=e.display,c=void 0===u?"initial":u,d=e.gutterBottom,h=void 0!==d&&d,p=e.noWrap,f=void 0!==p&&p,m=e.paragraph,y=void 0!==m&&m,g=e.variant,v=void 0===g?"body1":g,b=e.variantMapping,w=void 0===b?Tv:b,E=Sm(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]);return ye.exports.createElement(l||(y?"p":w[v]||Tv[v])||"span",Cm({className:nm(i.root,o,"inherit"!==v&&i[v],"initial"!==a&&i["color".concat(Lg(a))],f&&i.noWrap,h&&i.gutterBottom,y&&i.paragraph,"inherit"!==r&&i["align".concat(Lg(r))],"initial"!==c&&i["display".concat(Lg(c))]),ref:t},E))})),Lv=Ay((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"})(Ov),Iv=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.color,s=void 0===o?"default":o,a=e.component,l=void 0===a?"button":a,u=e.disabled,c=void 0!==u&&u,d=e.disableElevation,h=void 0!==d&&d,p=e.disableFocusRipple,f=void 0!==p&&p,m=e.endIcon,y=e.focusVisibleClassName,g=e.fullWidth,v=void 0!==g&&g,b=e.size,w=void 0===b?"medium":b,E=e.startIcon,x=e.type,_=void 0===x?"button":x,S=e.variant,C=void 0===S?"text":S,k=Sm(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=E&&ye.exports.createElement("span",{className:nm(r.startIcon,r["iconSize".concat(Lg(w))])},E),O=m&&ye.exports.createElement("span",{className:nm(r.endIcon,r["iconSize".concat(Lg(w))])},m);return ye.exports.createElement(wv,Cm({className:nm(r.root,r[C],i,"inherit"===s?r.colorInherit:"default"!==s&&r["".concat(C).concat(Lg(s))],"medium"!==w&&[r["".concat(C,"Size").concat(Lg(w))],r["size".concat(Lg(w))]],h&&r.disableElevation,c&&r.disabled,v&&r.fullWidth),component:l,disabled:c,focusRipple:!f,focusVisibleClassName:nm(r.focusVisible,y),ref:t,type:_},k),ye.exports.createElement("span",{className:r.label},T,n,O))})),Rv=Ay((function(e){return{root:Cm({},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:xm(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:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:xm(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(xm(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:xm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(xm(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:xm(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"})(Iv),Pv=ye.exports.createContext();function Nv(){return ye.exports.useContext(Pv)}var Av=Pv,Dv=44,Mv=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"primary":i,s=e.disableShrink,a=void 0!==s&&s,l=e.size,u=void 0===l?40:l,c=e.style,d=e.thickness,h=void 0===d?3.6:d,p=e.value,f=void 0===p?0:p,m=e.variant,y=void 0===m?"indeterminate":m,g=Sm(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),v={},b={},w={};if("determinate"===y||"static"===y){var E=2*Math.PI*((Dv-h)/2);v.strokeDasharray=E.toFixed(3),w["aria-valuenow"]=Math.round(f),v.strokeDashoffset="".concat(((100-f)/100*E).toFixed(3),"px"),b.transform="rotate(-90deg)"}return ye.exports.createElement("div",Cm({className:nm(n.root,r,"inherit"!==o&&n["color".concat(Lg(o))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[y]),style:Cm({width:u,height:u},b,c),ref:t,role:"progressbar"},w,g),ye.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Dv," ").concat(Dv)},ye.exports.createElement("circle",{className:nm(n.circle,a&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[y]),style:v,cx:Dv,cy:Dv,r:(Dv-h)/2,fill:"none",strokeWidth:h})))})),qv=Ay((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})(Mv),jv="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,Fv=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,o=void 0!==i&&i,s=e.onRendered,a=ye.exports.useState(null),l=a[0],u=a[1],c=qg(ye.exports.isValidElement(n)?n.ref:null,t);return jv((function(){o||u(function(e){return e="function"==typeof e?e():e,Ye.exports.findDOMNode(e)}(r)||document.body)}),[r,o]),jv((function(){if(l&&!o)return Ag(t,l),function(){Ag(t,null)}}),[t,l,o]),jv((function(){s&&(l||o)&&s()}),[s,l,o]),o?ye.exports.isValidElement(n)?ye.exports.cloneElement(n,{ref:c}):n:l?Ye.exports.createPortal(n,l):l}));function zv(){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 Bv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Hv(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Vv(e,t,n){var r=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(fv(arguments.length>3&&void 0!==arguments[3]?arguments[3]:[])),o=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===o.indexOf(e.tagName)&&Bv(e,r)}))}function Wv(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}var Uv=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&&Bv(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 i=Wv(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Wv(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=function(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Pg(e);return t.body===e?Ng(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var s=zv();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(Hv(o)+s,"px"),n=Pg(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(Hv(e)+s,"px")}))}var a=o.parentElement,l="HTML"===a.nodeName&&"scroll"===window.getComputedStyle(a)["overflow-y"]?a:o;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[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=Wv(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&&Bv(e.modalRef,!0),Vv(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&Bv(i.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 $v(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,o=void 0!==i&&i,s=e.disableRestoreFocus,a=void 0!==s&&s,l=e.getDoc,u=e.isEnabled,c=e.open,d=ye.exports.useRef(),h=ye.exports.useRef(null),p=ye.exports.useRef(null),f=ye.exports.useRef(),m=ye.exports.useRef(null),y=ye.exports.useCallback((function(e){m.current=Ye.exports.findDOMNode(e)}),[]),g=qg(t.ref,y),v=ye.exports.useRef();return ye.exports.useEffect((function(){v.current=c}),[c]),!v.current&&c&&"undefined"!=typeof window&&(f.current=l().activeElement),ye.exports.useEffect((function(){if(c){var e=Pg(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()&&!o&&u()&&!d.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():d.current=!1)},n=function(t){!o&&u()&&9===t.keyCode&&e.activeElement===m.current&&(d.current=!0,t.shiftKey?p.current.focus():h.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var i=setInterval((function(){t()}),50);return function(){clearInterval(i),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),a||(f.current&&f.current.focus&&f.current.focus(),f.current=null)}}}),[r,o,a,u,c]),ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),ye.exports.cloneElement(t,{ref:g}),ye.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelEnd"}))}var Qv={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"}},Kv=ye.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,o=Sm(e,["invisible","open"]);return i?ye.exports.createElement("div",Cm({"aria-hidden":!0,ref:t},o,{style:Cm({},Qv.root,r?Qv.invisible:{},o.style)})):null})),Zv=new Uv,Gv=ye.exports.forwardRef((function(e,t){var n=Ff(),r=Ud({name:"MuiModal",props:Cm({},e),theme:n}),i=r.BackdropComponent,o=void 0===i?Kv:i,s=r.BackdropProps,a=r.children,l=r.closeAfterTransition,u=void 0!==l&&l,c=r.container,d=r.disableAutoFocus,h=void 0!==d&&d,p=r.disableBackdropClick,f=void 0!==p&&p,m=r.disableEnforceFocus,y=void 0!==m&&m,g=r.disableEscapeKeyDown,v=void 0!==g&&g,b=r.disablePortal,w=void 0!==b&&b,E=r.disableRestoreFocus,x=void 0!==E&&E,_=r.disableScrollLock,S=void 0!==_&&_,C=r.hideBackdrop,k=void 0!==C&&C,T=r.keepMounted,O=void 0!==T&&T,L=r.manager,I=void 0===L?Zv:L,R=r.onBackdropClick,P=r.onClose,N=r.onEscapeKeyDown,A=r.onRendered,D=r.open,M=Sm(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),q=ye.exports.useState(!0),j=q[0],F=q[1],z=ye.exports.useRef({}),B=ye.exports.useRef(null),H=ye.exports.useRef(null),V=qg(H,t),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),U=function(){return Pg(B.current)},$=function(){return z.current.modalRef=H.current,z.current.mountNode=B.current,z.current},Q=function(){I.mount($(),{disableScrollLock:S}),H.current.scrollTop=0},K=Mg((function(){var e=function(e){return e="function"==typeof e?e():e,Ye.exports.findDOMNode(e)}(c)||U().body;I.add($(),e),H.current&&Q()})),Z=ye.exports.useCallback((function(){return I.isTopModal($())}),[I]),G=Mg((function(e){B.current=e,e&&(A&&A(),D&&Z()?Q():Bv(H.current,!0))})),X=ye.exports.useCallback((function(){I.remove($())}),[I]);if(ye.exports.useEffect((function(){return function(){X()}}),[X]),ye.exports.useEffect((function(){D?K():W&&u||X()}),[D,X,W,u,K]),!O&&!D&&(!W||j))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:Ly}),Y={};return void 0===a.props.tabIndex&&(Y.tabIndex=a.props.tabIndex||"-1"),W&&(Y.onEnter=Ig((function(){F(!1)}),a.props.onEnter),Y.onExited=Ig((function(){F(!0),u&&X()}),a.props.onExited)),ye.exports.createElement(Fv,{ref:G,container:c,disablePortal:w},ye.exports.createElement("div",Cm({ref:V,onKeyDown:function(e){"Escape"===e.key&&Z()&&(N&&N(e),v||(e.stopPropagation(),P&&P(e,"escapeKeyDown")))},role:"presentation"},M,{style:Cm({},J.root,!D&&j?J.hidden:{},M.style)}),k?null:ye.exports.createElement(o,Cm({open:D,onClick:function(e){e.target===e.currentTarget&&(R&&R(e),!f&&P&&P(e,"backdropClick"))}},s)),ye.exports.createElement($v,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:x,getDoc:U,isEnabled:Z,open:D},ye.exports.cloneElement(a,Y))))})),Xv=ye.exports.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,i=e.classes,o=e.className,s=e.component,a=void 0===s?"hr":s,l=e.flexItem,u=void 0!==l&&l,c=e.light,d=void 0!==c&&c,h=e.orientation,p=void 0===h?"horizontal":h,f=e.role,m=void 0===f?"hr"!==a?"separator":void 0:f,y=e.variant,g=void 0===y?"fullWidth":y,v=Sm(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return ye.exports.createElement(a,Cm({className:nm(i.root,o,"fullWidth"!==g&&i[g],r&&i.absolute,u&&i.flexItem,d&&i.light,"vertical"===p&&i.vertical),role:m,ref:t},v))})),Jv=Ay((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:xm(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"})(Xv);function Yv(e,t){return parseInt(e[t],10)||0}var eb="undefined"!=typeof window?ye.exports.useLayoutEffect:ye.exports.useEffect,tb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},nb=ye.exports.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,o=e.rowsMin,s=e.maxRows,a=e.minRows,l=void 0===a?1:a,u=e.style,c=e.value,d=Sm(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),h=s||i,p=r||o||l,f=ye.exports.useRef(null!=c).current,m=ye.exports.useRef(null),y=qg(t,m),g=ye.exports.useRef(null),v=ye.exports.useRef(0),b=ye.exports.useState({}),w=b[0],E=b[1],x=ye.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=g.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],o=Yv(n,"padding-bottom")+Yv(n,"padding-top"),s=Yv(n,"border-bottom-width")+Yv(n,"border-top-width"),a=r.scrollHeight-o;r.value="x";var l=r.scrollHeight-o,u=a;p&&(u=Math.max(Number(p)*l,u)),h&&(u=Math.min(Number(h)*l,u));var c=(u=Math.max(u,l))+("border-box"===i?o+s:0),d=Math.abs(u-a)<=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}))}),[h,p,e.placeholder]);return ye.exports.useEffect((function(){var e=Rg((function(){v.current=0,x()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[x]),eb((function(){x()})),ye.exports.useEffect((function(){v.current=0}),[c]),ye.exports.createElement(ye.exports.Fragment,null,ye.exports.createElement("textarea",Cm({value:c,onChange:function(e){v.current=0,f||x(),n&&n(e)},ref:y,rows:p,style:Cm({height:w.outerHeightStyle,overflow:w.overflow?"hidden":null},u)},d)),ye.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:Cm({},tb,u)}))}));function rb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var ib="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,ob=ye.exports.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,o=e.classes,s=e.className,a=e.defaultValue,l=e.disabled,u=e.endAdornment,c=e.fullWidth,d=void 0!==c&&c,h=e.id,p=e.inputComponent,f=void 0===p?"input":p,m=e.inputProps,y=void 0===m?{}:m,g=e.inputRef,v=e.multiline,b=void 0!==v&&v,w=e.name,E=e.onBlur,x=e.onChange,_=e.onClick,S=e.onFocus,C=e.onKeyDown,k=e.onKeyUp,T=e.placeholder,O=e.readOnly,L=e.renderSuffix,I=e.rows,R=e.rowsMax,P=e.rowsMin,N=e.maxRows,A=e.minRows,D=e.startAdornment,M=e.type,q=void 0===M?"text":M,j=e.value,F=Sm(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"]),z=null!=y.value?y.value:j,B=ye.exports.useRef(null!=z).current,H=ye.exports.useRef(),V=ye.exports.useCallback((function(e){}),[]),W=qg(y.ref,V),U=qg(g,W),$=qg(H,U),Q=ye.exports.useState(!1),K=Q[0],Z=Q[1],G=Nv(),X=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:G,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});X.focused=G?G.focused:K,ye.exports.useEffect((function(){!G&&l&&K&&(Z(!1),E&&E())}),[G,l,K,E]);var J=G&&G.onFilled,Y=G&&G.onEmpty,ee=ye.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(rb(e.value)&&""!==e.value||t&&rb(e.defaultValue)&&""!==e.defaultValue)}(e)?Y&&Y():J&&J()}),[J,Y]);ib((function(){B&&ee({value:z})}),[z,ee,B]),ye.exports.useEffect((function(){ee(H.current)}),[]);var te=f,ne=Cm({},y,{ref:$});return"string"!=typeof te?ne=Cm({inputRef:$,type:q},ne,{ref:null}):b?!I||N||A||R||P?(ne=Cm({minRows:I||A,rowsMax:R,maxRows:N},ne),te=nb):te="textarea":ne=Cm({type:q},ne),ye.exports.useEffect((function(){G&&G.setAdornedStart(Boolean(D))}),[G,D]),ye.exports.createElement("div",Cm({className:nm(o.root,o["color".concat(Lg(X.color||"primary"))],s,X.disabled&&o.disabled,X.error&&o.error,d&&o.fullWidth,X.focused&&o.focused,G&&o.formControl,b&&o.multiline,D&&o.adornedStart,u&&o.adornedEnd,"dense"===X.margin&&o.marginDense),onClick:function(e){H.current&&e.currentTarget===e.target&&H.current.focus(),_&&_(e)},ref:t},F),D,ye.exports.createElement(Av.Provider,{value:null},ye.exports.createElement(te,Cm({"aria-invalid":X.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:a,disabled:X.disabled,id:h,onAnimationStart:function(e){ee("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:w,placeholder:T,readOnly:O,required:X.required,rows:I,value:z,onKeyDown:C,onKeyUp:k},ne,{className:nm(o.input,y.className,X.disabled&&o.disabled,b&&o.inputMultiline,X.hiddenLabel&&o.inputHiddenLabel,D&&o.inputAdornedStart,u&&o.inputAdornedEnd,"search"===q&&o.inputTypeSearch,"dense"===X.margin&&o.inputMarginDense),onBlur:function(e){E&&E(e),y.onBlur&&y.onBlur(e),G&&G.onBlur?G.onBlur(e):Z(!1)},onChange:function(e){if(!B){var t=e.target||H.current;if(null==t)throw new Error(cd(1));ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];y.onChange&&y.onChange.apply(y,[e].concat(r)),x&&x.apply(void 0,[e].concat(r))},onFocus:function(e){X.disabled?e.stopPropagation():(S&&S(e),y.onFocus&&y.onFocus(e),G&&G.onFocus?G.onFocus(e):Z(!0))}}))),u,L?L(Cm({},X,{startAdornment:D})):null)})),sb=Ay((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"},i={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Cm({},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":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},"&$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"})(ob),ab=[0,1,2,3,4,5,6,7,8,9,10],lb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function ub(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 cb=ye.exports.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,o=void 0===i?"stretch":i,s=e.classes,a=e.className,l=e.component,u=void 0===l?"div":l,c=e.container,d=void 0!==c&&c,h=e.direction,p=void 0===h?"row":h,f=e.item,m=void 0!==f&&f,y=e.justify,g=e.justifyContent,v=void 0===g?"flex-start":g,b=e.lg,w=void 0!==b&&b,E=e.md,x=void 0!==E&&E,_=e.sm,S=void 0!==_&&_,C=e.spacing,k=void 0===C?0:C,T=e.wrap,O=void 0===T?"wrap":T,L=e.xl,I=void 0!==L&&L,R=e.xs,P=void 0!==R&&R,N=e.zeroMinWidth,A=void 0!==N&&N,D=Sm(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),M=nm(s.root,a,d&&[s.container,0!==k&&s["spacing-xs-".concat(String(k))]],m&&s.item,A&&s.zeroMinWidth,"row"!==p&&s["direction-xs-".concat(String(p))],"wrap"!==O&&s["wrap-xs-".concat(String(O))],"stretch"!==o&&s["align-items-xs-".concat(String(o))],"stretch"!==r&&s["align-content-xs-".concat(String(r))],"flex-start"!==(y||v)&&s["justify-content-xs-".concat(String(y||v))],!1!==P&&s["grid-xs-".concat(String(P))],!1!==S&&s["grid-sm-".concat(String(S))],!1!==x&&s["grid-md-".concat(String(x))],!1!==w&&s["grid-lg-".concat(String(w))],!1!==I&&s["grid-xl-".concat(String(I))]);return ye.exports.createElement(u,Cm({className:M,ref:t},D))})),db=Ay((function(e){return Cm({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 ab.forEach((function(t){var r=e.spacing(t);0!==r&&(n["spacing-".concat("xs","-").concat(t)]={margin:"-".concat(ub(r,2)),width:"calc(100% + ".concat(ub(r),")"),"& > $item":{padding:ub(r,2)}})})),n}(e),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};lb.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var i="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:i,flexGrow:0,maxWidth:i}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?Cm(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(cb);function hb(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var pb={entering:{opacity:1,transform:hb(1)},entered:{opacity:1,transform:"none"}},fb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,i=void 0!==r&&r,o=e.in,s=e.onEnter,a=e.onEntered,l=e.onEntering,u=e.onExit,c=e.onExited,d=e.onExiting,h=e.style,p=e.timeout,f=void 0===p?"auto":p,m=e.TransitionComponent,y=void 0===m?iv:m,g=Sm(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),v=ye.exports.useRef(),b=ye.exports.useRef(),w=Ny(),E=w.unstable_strictMode&&!i,x=ye.exports.useRef(null),_=qg(n.ref,t),S=qg(E?x:void 0,_),C=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,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(E?[x.current,t]:[t,n]),i=r[0],o=r[1];void 0===o?e(i):e(i,o)}}},k=C(l),T=C((function(e,t){var n,r=dv({style:h,timeout:f},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===f?(n=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=i,e.style.transition=[w.transitions.create("opacity",{duration:n,delay:o}),w.transitions.create("transform",{duration:.666*n,delay:o})].join(","),s&&s(e,t)})),O=C(a),L=C(d),I=C((function(e){var t,n=dv({style:h,timeout:f},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===f?(t=w.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[w.transitions.create("opacity",{duration:t,delay:i}),w.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=hb(.75),u&&u(e)})),R=C(c);return ye.exports.useEffect((function(){return function(){clearTimeout(v.current)}}),[]),ye.exports.createElement(y,Cm({appear:!0,in:o,nodeRef:E?x:void 0,onEnter:T,onEntered:O,onEntering:k,onExit:I,onExited:R,onExiting:L,addEndListener:function(e,t){"auto"===f&&(v.current=setTimeout(E?e:t,b.current||0))},timeout:"auto"===f?null:f},g),(function(e,t){return ye.exports.cloneElement(n,Cm({style:Cm({opacity:0,transform:hb(.75),visibility:"exited"!==e||o?void 0:"hidden"},pb[e],h,n.props.style),ref:S},t))}))}));fb.muiSupportAuto=!0;var mb=fb,yb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,o=void 0===i?"inherit":i,s=e.component,a=void 0===s?"span":s,l=e.fontSize,u=void 0===l?"medium":l,c=Sm(e,["classes","className","color","component","fontSize"]);return ye.exports.createElement(a,Cm({className:nm("material-icons",n.root,r,"inherit"!==o&&n["color".concat(Lg(o))],"default"!==u&&"medium"!==u&&n["fontSize".concat(Lg(u))]),"aria-hidden":!0,ref:t},c))}));yb.muiName="Icon";var gb=Ay((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"})(yb),vb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,s=void 0===o?"div":o,a=e.disablePointerEvents,l=void 0!==a&&a,u=e.disableTypography,c=void 0!==u&&u,d=e.position,h=e.variant,p=Sm(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),f=Nv()||{},m=h;return f&&!m&&(m=f.variant),ye.exports.createElement(Av.Provider,{value:null},ye.exports.createElement(s,Cm({className:nm(r.root,i,"end"===d?r.positionEnd:r.positionStart,l&&r.disablePointerEvents,f.hiddenLabel&&r.hiddenLabel,"filled"===m&&r.filled,"dense"===f.margin&&r.marginDense),ref:t},p),"string"!=typeof n||c?n:ye.exports.createElement(Lv,{color:"textSecondary"},n)))})),bb=Ay({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"})(vb),wb=ye.exports.createContext({}),Eb=ye.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,o=e.component,s=void 0===o?"ul":o,a=e.dense,l=void 0!==a&&a,u=e.disablePadding,c=void 0!==u&&u,d=e.subheader,h=Sm(e,["children","classes","className","component","dense","disablePadding","subheader"]),p=ye.exports.useMemo((function(){return{dense:l}}),[l]);return ye.exports.createElement(wb.Provider,{value:p},ye.exports.createElement(s,Cm({className:nm(r.root,i,l&&r.dense,!c&&r.padding,d&&r.subheader),ref:t},h),d,n))})),xb=Ay({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Eb),_b="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Sb=ye.exports.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,o=void 0!==i&&i,s=e.button,a=void 0!==s&&s,l=e.children,u=e.classes,c=e.className,d=e.component,h=e.ContainerComponent,p=void 0===h?"li":h,f=e.ContainerProps,m=(f=void 0===f?{}:f).className,y=Sm(f,["className"]),g=e.dense,v=void 0!==g&&g,b=e.disabled,w=void 0!==b&&b,E=e.disableGutters,x=void 0!==E&&E,_=e.divider,S=void 0!==_&&_,C=e.focusVisibleClassName,k=e.selected,T=void 0!==k&&k,O=Sm(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),L=ye.exports.useContext(wb),I={dense:v||L.dense||!1,alignItems:r},R=ye.exports.useRef(null);_b((function(){o&&R.current&&R.current.focus()}),[o]);var P,N,A=ye.exports.Children.toArray(l),D=A.length&&(N=["ListItemSecondaryAction"],ye.exports.isValidElement(P=A[A.length-1])&&-1!==N.indexOf(P.type.muiName)),M=qg(ye.exports.useCallback((function(e){R.current=Ye.exports.findDOMNode(e)}),[]),t),q=Cm({className:nm(u.root,c,I.dense&&u.dense,!x&&u.gutters,S&&u.divider,w&&u.disabled,a&&u.button,"center"!==r&&u.alignItemsFlexStart,D&&u.secondaryAction,T&&u.selected),disabled:w},O),j=d||"li";return a&&(q.component=d||"div",q.focusVisibleClassName=nm(u.focusVisible,C),j=wv),D?(j=q.component||d?j:"div","li"===p&&("li"===j?j="div":"li"===q.component&&(q.component="div")),ye.exports.createElement(wb.Provider,{value:I},ye.exports.createElement(p,Cm({className:nm(u.container,m),ref:M},y),ye.exports.createElement(j,q,A),A.pop()))):ye.exports.createElement(wb.Provider,{value:I},ye.exports.createElement(j,Cm({ref:M},q),A))})),Cb=Ay((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"})(Sb),kb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=Sm(e,["classes","className"]),o=ye.exports.useContext(wb);return ye.exports.createElement("div",Cm({className:nm(n.root,r,"flex-start"===o.alignItems&&n.alignItemsFlexStart),ref:t},i))})),Tb=Ay((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(kb);function Ob(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Lb(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ib(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Rb(e){return"function"==typeof e?e():e}var Pb=ye.exports.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,o=void 0===i?{vertical:"top",horizontal:"left"}:i,s=e.anchorPosition,a=e.anchorReference,l=void 0===a?"anchorEl":a,u=e.children,c=e.classes,d=e.className,h=e.container,p=e.elevation,f=void 0===p?8:p,m=e.getContentAnchorEl,y=e.marginThreshold,g=void 0===y?16:y,v=e.onEnter,b=e.onEntered,w=e.onEntering,E=e.onExit,x=e.onExited,_=e.onExiting,S=e.open,C=e.PaperProps,k=void 0===C?{}:C,T=e.transformOrigin,O=void 0===T?{vertical:"top",horizontal:"left"}:T,L=e.TransitionComponent,I=void 0===L?mb:L,R=e.transitionDuration,P=void 0===R?"auto":R,N=e.TransitionProps,A=void 0===N?{}:N,D=Sm(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"]),M=ye.exports.useRef(),q=ye.exports.useCallback((function(e){if("anchorPosition"===l)return s;var t=Rb(r),n=(t&&1===t.nodeType?t:Pg(M.current).body).getBoundingClientRect();return{top:n.top+Ob(n,0===e?o.vertical:"center"),left:n.left+Lb(n,o.horizontal)}}),[r,o.horizontal,o.vertical,s,l]),j=ye.exports.useCallback((function(e){var t=0;if(m&&"anchorEl"===l){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}),[o.vertical,l,m]),F=ye.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Ob(e,O.vertical)+t,horizontal:Lb(e,O.horizontal)}}),[O.horizontal,O.vertical]),z=ye.exports.useCallback((function(e){var t=j(e),n={width:e.offsetWidth,height:e.offsetHeight},i=F(n,t);if("none"===l)return{top:null,left:null,transformOrigin:Ib(i)};var o=q(t),s=o.top-i.vertical,a=o.left-i.horizontal,u=s+n.height,c=a+n.width,d=Ng(Rb(r)),h=d.innerHeight-g,p=d.innerWidth-g;if(s<g){var f=s-g;s-=f,i.vertical+=f}else if(u>h){var m=u-h;s-=m,i.vertical+=m}if(a<g){var y=a-g;a-=y,i.horizontal+=y}else if(c>p){var v=c-p;a-=v,i.horizontal+=v}return{top:"".concat(Math.round(s),"px"),left:"".concat(Math.round(a),"px"),transformOrigin:Ib(i)}}),[r,l,q,j,F,g]),B=ye.exports.useCallback((function(){var e=M.current;if(e){var t=z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[z]),H=ye.exports.useCallback((function(e){M.current=Ye.exports.findDOMNode(e)}),[]);ye.exports.useEffect((function(){S&&B()})),ye.exports.useImperativeHandle(n,(function(){return S?{updatePosition:function(){B()}}:null}),[S,B]),ye.exports.useEffect((function(){if(S){var e=Rg((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[S,B]);var V=P;"auto"!==P||I.muiSupportAuto||(V=void 0);var W=h||(r?Pg(Rb(r)).body:void 0);return ye.exports.createElement(Gv,Cm({container:W,open:S,ref:t,BackdropProps:{invisible:!0},className:nm(c.root,d)},D),ye.exports.createElement(I,Cm({appear:!0,in:S,onEnter:v,onEntered:b,onExit:E,onExited:x,onExiting:_,timeout:V},A,{onEntering:Ig((function(e,t){w&&w(e,t),B()}),A.onEntering)}),ye.exports.createElement(pv,Cm({elevation:f,ref:H},k,{className:nm(c.paper,k.className)}),u)))})),Nb=Ay({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Pb);function Ab(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Db(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Mb(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 qb(e,t,n,r,i,o){for(var s=!1,a=i(e,t,!!t&&n);a;){if(a===e.firstChild){if(s)return;s=!0}var l=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&Mb(a,o)&&!l)return void a.focus();a=i(e,a,n)}}var jb="undefined"==typeof window?ye.exports.useEffect:ye.exports.useLayoutEffect,Fb=ye.exports.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,o=e.autoFocusItem,s=void 0!==o&&o,a=e.children,l=e.className,u=e.disabledItemsFocusable,c=void 0!==u&&u,d=e.disableListWrap,h=void 0!==d&&d,p=e.onKeyDown,f=e.variant,m=void 0===f?"selectedMenu":f,y=Sm(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),g=ye.exports.useRef(null),v=ye.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});jb((function(){i&&g.current.focus()}),[i]),ye.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){if(e.clientHeight<g.current.clientHeight&&!g.current.style.width){var n="".concat(zv(),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,g.current.style.width="calc(100% + ".concat(n,")")}return g.current}}}),[]);var b=qg(ye.exports.useCallback((function(e){g.current=Ye.exports.findDOMNode(e)}),[]),t),w=-1;ye.exports.Children.forEach(a,(function(e,t){ye.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===w)&&(w=t))}));var E=ye.exports.Children.map(a,(function(e,t){if(t===w){var n={};return s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),ye.exports.cloneElement(e,n)}return e}));return ye.exports.createElement(xb,Cm({role:"menu",ref:b,className:l,onKeyDown:function(e){var t=g.current,n=e.key,r=Pg(t).activeElement;if("ArrowDown"===n)e.preventDefault(),qb(t,r,h,c,Ab);else if("ArrowUp"===n)e.preventDefault(),qb(t,r,h,c,Db);else if("Home"===n)e.preventDefault(),qb(t,null,h,c,Ab);else if("End"===n)e.preventDefault(),qb(t,null,h,c,Db);else if(1===n.length){var i=v.current,o=n.toLowerCase(),s=performance.now();i.keys.length>0&&(s-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=s,i.keys.push(o);var a=r&&!i.repeating&&Mb(r,i);i.previousKeyMatched&&(a||qb(t,r,!1,c,Ab,i))?e.preventDefault():i.previousKeyMatched=!1}p&&p(e)},tabIndex:i?0:-1},y),E)})),zb=ye.exports.forwardRef((function(e,t){var n,r=e.classes,i=e.className,o=e.component,s=void 0===o?"li":o,a=e.disableGutters,l=void 0!==a&&a,u=e.ListItemClasses,c=e.role,d=void 0===c?"menuitem":c,h=e.selected,p=e.tabIndex,f=Sm(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),ye.exports.createElement(Cb,Cm({button:!0,role:d,tabIndex:n,component:s,selected:h,disableGutters:l,classes:Cm({dense:r.dense},u),className:nm(r.root,i,h&&r.selected,!l&&r.gutters),ref:t},f))})),Bb=Ay((function(e){return{root:Cm({},e.typography.body1,_m({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Cm({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(zb),Hb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.label,o=e.labelWidth,s=e.notched,a=e.style,l=Sm(e,["children","classes","className","label","labelWidth","notched","style"]),u="rtl"===Ny().direction?"right":"left";if(void 0!==i)return ye.exports.createElement("fieldset",Cm({"aria-hidden":!0,className:nm(n.root,r),ref:t,style:a},l),ye.exports.createElement("legend",{className:nm(n.legendLabelled,s&&n.legendNotched)},i?ye.exports.createElement("span",null,i):ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=o>0?.75*o+8:.01;return ye.exports.createElement("fieldset",Cm({"aria-hidden":!0,style:Cm(_m({},"padding".concat(Lg(u)),8),a),className:nm(n.root,r),ref:t},l),ye.exports.createElement("legend",{className:n.legend,style:{width:s?c:.01}},ye.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),Vb=Ay((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"})(Hb),Wb=ye.exports.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,o=e.inputComponent,s=void 0===o?"input":o,a=e.label,l=e.labelWidth,u=void 0===l?0:l,c=e.multiline,d=void 0!==c&&c,h=e.notched,p=e.type,f=void 0===p?"text":p,m=Sm(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return ye.exports.createElement(sb,Cm({renderSuffix:function(e){return ye.exports.createElement(Vb,{className:n.notchedOutline,label:a,labelWidth:u,notched:void 0!==h?h:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Cm({},n,{root:nm(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:s,multiline:d,ref:t,type:f},m))}));Wb.muiName="Input";var Ub=Ay((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"})(Wb);function $b(){const[e,t]=ye.exports.useState(),[n,r]=ye.exports.useState(),i=ye.exports.useCallback(e=>{e&&t(e)},[]),o=()=>{const{left:t,top:n,width:i,height:o}=e.getBoundingClientRect();r({left:t,top:n,width:i,height:o})};return ye.exports.useLayoutEffect(()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(o);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}}},[e]),[i,n,e]}function Qb(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Kb(e){let{size:t,style:r={},viewBox:o="0 0 16 16",shapes:s=[]}=e;const a=n({fontSize:Qb(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},r);return Je.createElement("i",{style:a},Je.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:o,fill:"currentColor"},s.map((e,t)=>{let{type:n,attrs:r}=e;return Je.createElement(n,i({key:t},r))})))}var Zb=e=>Kb((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)),Gb=e=>Kb((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)),Xb=e=>Kb((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 Jb(){return(Jb=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 Yb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ew(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 tw(e,t){var n;void 0===t&&(t=ew);var r,i=[],o=!1;return function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}}var nw="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function rw(e){cancelAnimationFrame(e.id)}var iw=null;function ow(e){if(void 0===e&&(e=!1),null===iw||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"),i=r.style;return i.width="100px",i.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?iw="positive-descending":(t.scrollLeft=1,iw=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),iw}return iw}var sw=function(e,t){return e},aw=function(e){var t,n,r=e.getItemOffset,i=e.getEstimatedTotalSize,o=e.getItemSize,s=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=t=function(e){var t,n;function h(t){var n;return(n=e.call(this,t)||this)._instanceProps=u(n.props,Yb(Yb(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Yb(Yb(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=tw((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=tw((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,s=i.direction,a=i.layout,l=n._getItemStyleCache(c&&i.itemSize,c&&a,c&&s);if(l.hasOwnProperty(e))t=l[e];else{var u=r(n.props,e,n._instanceProps),d=o(n.props,e,n._instanceProps),h="horizontal"===s||"horizontal"===a,p="rtl"===s,f=h?u:0;l[e]=t={position:"absolute",left:p?void 0:f,right:p?f:void 0,top:h?0:u,height:h?"100%":d,width:h?d:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=tw((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,o=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=i;if("rtl"===n.props.direction)switch(ow()){case"negative":t=-i;break;case"positive-descending":t=o-r-i}return t=Math.max(0,Math.min(t,o-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,o=t.scrollTop;n.setState((function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,i-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&&rw(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=nw(),r={id:requestAnimationFrame((function n(){nw()-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=h).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,h.getDerivedStateFromProps=function(e,t){return d(e),null};var p=h.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.state.scrollOffset;e=Math.max(0,Math.min(e,this.props.itemCount-1)),this.scrollTo(s(this.props,e,t,n,this._instanceProps))},p.componentDidMount=function(){var e=this.props,t=e.initialScrollOffset;if("number"==typeof t&&null!=this._outerRef){var n=this._outerRef;"horizontal"===e.direction||"horizontal"===e.layout?n.scrollLeft=t:n.scrollTop=t}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=this.state,r=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===e.layout)if("rtl"===t)switch(ow()){case"negative":i.scrollLeft=-r;break;case"positive-ascending":i.scrollLeft=r;break;default:i.scrollLeft=i.scrollWidth-i.clientWidth-r}else i.scrollLeft=r;else i.scrollTop=r}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&rw(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,o=e.height,s=e.innerRef,a=e.innerElementType,l=e.innerTagName,u=e.itemCount,c=e.itemData,d=e.itemKey,h=void 0===d?sw:d,p=e.outerElementType,f=e.outerTagName,m=e.style,y=e.useIsScrolling,g=e.width,v=this.state.isScrolling,b="horizontal"===r||"horizontal"===e.layout,w=b?this._onScrollHorizontal:this._onScrollVertical,E=this._getRangeToRender(),x=E[1],_=[];if(u>0)for(var S=E[0];S<=x;S++)_.push(ye.exports.createElement(t,{data:c,key:h(S,c),index:S,isScrolling:y?v:void 0,style:this._getItemStyle(S)}));var C=i(this.props,this._instanceProps);return ye.exports.createElement(p||f||"div",{className:n,onScroll:w,ref:this._outerRefSetter,style:Jb({position:"relative",height:o,width:g,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},m)},ye.exports.createElement(a||l||"div",{children:_,ref:s,style:{height:b?"100%":C,pointerEvents:v?"none":void 0,width:b?C:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender();this._callOnItemsRendered(e[0],e[1],e[2],e[3])}if("function"==typeof this.props.onScroll){var t=this.state;this._callOnScroll(t.scrollDirection,t.scrollOffset,t.scrollUpdateWasRequested)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var u=a(this.props,s,this._instanceProps),c=l(this.props,u,s,this._instanceProps),d=i&&"backward"!==o?1:Math.max(1,n),h=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,u-d),Math.max(0,Math.min(t-1,c+h)),u,c]},h}(ye.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){return e.itemSize*e.itemCount},getOffsetForIndexAndAlignment:function(e,t,n,r){var i=e.itemSize,o="horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height,s=Math.max(0,e.itemCount*i-o),a=Math.min(s,t*i),l=Math.max(0,t*i-o+i);switch("smart"===n&&(n=r>=l-o&&r<=a+o?"auto":"center"),n){case"start":return a;case"end":return l;case"center":var u=Math.round(l+(a-l)/2);return u<Math.ceil(o/2)?0:u>s+Math.floor(o/2)?s:u;case"auto":default:return r>=l&&r<=a?r:r<l?l:a}},getStartIndexForOffset:function(e,t){return Math.max(0,Math.min(e.itemCount-1,Math.floor(t/e.itemSize)))},getStopIndexForStartIndex:function(e,t,n){var r=e.itemCount,i=e.itemSize,o=Math.ceil((("horizontal"===e.direction||"horizontal"===e.layout?e.width:e.height)+n-t*i)/i);return Math.max(0,Math.min(r-1,t+o-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){}}),lw=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},uw=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}}(),cw=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},dw=function(e){function t(){var e,n,r;lw(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=cw(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),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},cw(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),uw(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.itemCount,i=n.minimumBatchSize,o=n.threshold,s=void 0===o?15:o,a=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,i=e.stopIndex,o=[],s=null,a=null,l=e.startIndex;l<=i;l++)t(l)?null!==a&&(o.push(s,a),s=a=null):(a=l,null===s&&(s=l));if(null!==a){for(var u=Math.min(Math.max(a,s+r-1),n-1),c=a+1;c<=u&&!t(c);c++)a=c;o.push(s,a)}if(o.length)for(;o[1]-o[0]+1<r&&o[0]>0;){var d=o[0]-1;if(t(d))break;o[0]=d}return o}({isItemLoaded:n.isItemLoaded,itemCount:r,minimumBatchSize:void 0===i?10:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(r-1,t+s)});(this._memoizedUnloadedRanges.length!==a.length||this._memoizedUnloadedRanges.some((function(e,t){return a[t]!==e})))&&(this._memoizedUnloadedRanges=a,this._loadUnloadedRanges(a))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var i=e[r],o=e[r+1],s=n(i,o);null!=s&&s.then((function(){if(function(e){return!(e.startIndex>e.lastRenderedStopIndex||e.stopIndex<e.lastRenderedStartIndex)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:i,stopIndex:o})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(i,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},i=0;i<e.length;i+=2)r(i)}}]),t}(ye.exports.PureComponent);const hw=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 pw=e=>Kb(hw(e));const fw=em(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 mw(e){let{index:t,style:n,data:r}=e;const i=fw(),o=[i.row];let s="";const{onClick:a,pages:l}=r;let u;if(l){const e=l.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&&(s=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?o.push(i.S):"A"===u.qState?o.push(i.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||o.push(i.X));const h=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort((e,t)=>e.qCharPos-t.qCharPos)||[],p=h.reduce((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);const r=h[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===h.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e},[]);return Je.createElement(db,{container:!0,spacing:0,className:o.join(" ").trim(),style:n,onClick:a,role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Je.createElement(db,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(s)},0===h.length?Je.createElement(Lv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):p.map((e,t)=>{let[n,r]=e;return Je.createElement(Lv,{component:"span",key:t,className:r,noWrap:!0},n)})),Je.createElement(db,{item:!0,className:i.icon},c&&Je.createElement(Gb,{size:"small"}),d&&Je.createElement(pw,{size:"small"})))}const yw=em(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 gw(e){let{index:t,style:n,data:r}=e;const i=yw(),o=[i.column];let s="";const{onClick:a,pages:l}=r;let u;if(l){const e=l.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&&(s=u.qText,c="L"===u.qState||"XL"===u.qState,d="S"===u.qState||"XS"===u.qState,"S"===u.qState||"L"===u.qState?o.push(i.S):"A"===u.qState?o.push(i.A):"X"!==u.qState&&"XS"!==u.qState&&"XL"!==u.qState||o.push(i.X));const h=u&&u.qHighlightRanges&&u.qHighlightRanges.qRanges.sort((e,t)=>e.qCharPos-t.qCharPos)||[],p=h.reduce((e,t,n)=>{t.qCharPos>0&&0===n&&e.push([s.slice(0,t.qCharPos)]);const r=h[n-1];return r&&e.push([s.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([s.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===h.length-1&&t.qCharPos+t.qCharCount<s.length&&e.push([s.slice(t.qCharPos+t.qCharCount)]),e},[]);return Je.createElement(db,{container:!0,spacing:0,className:o.join(" ").trim(),style:n,onClick:a,alignItems:"center",role:"row",tabIndex:0,"data-n":u&&u.qElemNumber},Je.createElement(db,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(s)},0===h.length?Je.createElement(Lv,{component:"span",noWrap:!0,color:"inherit"},"".concat(s)):p.map((e,t)=>{let[n,r]=e;return Je.createElement(Lv,{component:"span",key:t,className:r,noWrap:!0},n)})),Je.createElement(db,{item:!0,className:i.icon},c&&Je.createElement(Gb,{size:"small"}),d&&Je.createElement(pw,{size:"small"})))}function vw(e){let{model:t,selections:n,direction:r,height:i,width:o,listLayout:s="vertical"}=e;const[a]=dg(t),[l,u]=ye.exports.useState(null),c=ye.exports.useRef(null),d=ye.exports.useRef({queue:[],validPages:!1}),h=ye.exports.useRef({pages:[]}),p=ye.exports.useCallback(e=>{if(a&&a.qListObject.qDimensionInfo.qLocked)return;const t=+e.currentTarget.getAttribute("data-n");Number.isNaN(t)||n.select({method:"selectListObjectValues",params:["/qListObjectDef",[t],!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne]})},[t,a&&!!a.qListObject.qDimensionInfo.qLocked,a&&!!a.qListObject.qDimensionInfo.qIsOneAndOnlyOne]),f=ye.exports.useCallback(e=>{if(!l||!d.current.validPages)return!1;d.current.checkIdx=e;const t=l.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},[a,l]),m=ye.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,h.current.pages=t,u(t),e()})},r?500:0)})},[a]);if(ye.exports.useEffect(()=>{if(d.current.queue=[],d.current.validPages=!1,c.current){if(c.current.resetloadMoreItemsCache(!0),a&&a.qSelectionInfo.qInSelections)return;c.current._listRef.scrollToItem(0)}},[a]),!a)return null;const y="horizontal"!==s,g=a.qListObject.qSize.qcy,v=y?33:200,b=i||8*v;return Je.createElement(dw,{isItemLoaded:f,itemCount:g,loadMoreItems:m,threshold:0,minimumBatchSize:100,ref:c},e=>{let{onItemsRendered:t,ref:n}=e;return d.current.listRef=n,Je.createElement(aw,{direction:r,useIsScrolling:!0,style:{},height:b,width:o,itemCount:g,layout:s,itemData:{onClick:p,pages:l},itemSize:v,onItemsRendered:t,ref:n},y?mw:gw)})}const bw=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"}}]}),ww=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"}}]}),Ew=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"}}]}),xw=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 _w=e=>{let{layout:t,model:n,translator:r}=e;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:bw,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:Ew,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:ww,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:xw,enabled:()=>["qAlternative","qExcluded"].some(e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0),action:()=>{n.selectListObjectExcluded("/qListObjectDef")}}]};const Sw=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 Cw(e){const t=Ff(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:"function"==typeof e.getSvgIconShape}}const kw=Je.forwardRef((e,t)=>{let{item:n,addAnchor:r=!1}=e;const i=Ff(),{hidden:o,disabled:s,style:a,hasSvgIconShape:l}=Cw(n);if(o)return null;const u=n.keyboardAction?e=>["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction():null;return Je.createElement(xv,{ref:r?null:t,title:n.label,onClick:n.action,onKeyDown:u,disabled:s,style:a,className:"njs-cell-action"},l&&Kb(n.getSvgIconShape()),r&&Je.createElement("div",{ref:t,style:{bottom:-i.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))}),Tw=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"}}]}),Ow=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 Lw=e=>Kb(Ow(e));const Iw=Py(e=>({icon:{color:e.palette.text.primary}})),Rw=e=>{let{item:t,onActionClick:n=(()=>{})}=e;const{hidden:r,disabled:i,hasSvgIconShape:o}=Cw(t),{icon:s}=Iw();return r?null:Je.createElement(Bb,{title:t.label,onClick:()=>{t.action(),n()},disabled:i},o&&Je.createElement(Tb,{className:s},Kb(t.getSvgIconShape())),Je.createElement(Lv,{noWrap:!0},t.label))},Pw=Je.forwardRef((e,t)=>{let{actions:r=[],show:o=!0,alignTo:s,popoverProps:a={},popoverPaperStyle:l={},onCloseOrActionClick:u=(()=>{})}=e;return r.length>0&&Je.createElement(Nb,i({},a,{onClose:u,ref:t,open:o,anchorEl:s.current,getContentAnchorEl:null,container:s.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"},l)}}),Je.createElement(Fb,null,r.map((e,t)=>Je.createElement(Rw,{key:t,item:e,onActionClick:u}))))}),Nw=Py(e=>({itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}})),Aw=Je.forwardRef((e,t)=>{let{actions:n=[],first:r=!1,last:i=!1,addAnchor:o=!1}=e;const{itemSpacing:s,firstItemSpacing:a,lastItemSpacing:l}=Nw();return n.length>0?Je.createElement(db,{item:!0,container:!0,spacing:0,wrap:"nowrap"},n.map((e,u)=>{let c=[];const d=r&&0===u,h=i&&n.length-1===u;return d&&!h&&(c=[a]),h&&!d&&(c=[...c,l]),d||h||0!==c.length||(c=[s]),Je.createElement(db,{item:!0,key:e.key,className:c.join(" ").trim()},Je.createElement(kw,{key:e.key,item:e,ref:0===u?t:null,addAnchor:o}))})):null}),Dw={pointerEvents:"none"},Mw={vertical:"top",horizontal:"right"},qw={vertical:"bottom",horizontal:"right"},jw=e=>{let{show:t=!0,actions:n=[],maxItems:r=3,selections:i={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:o={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:s={show:!1,anchorEl:null},focusHandler:a=null,actionsRefMock:l=null}=e;const u=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:i=(()=>{})}=e;const{translator:o}=ye.exports.useContext(Qy);return[{key:"clear",type:"icon-button",label:o.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:Ow},{key:"cancel",type:"icon-button",label:o.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:e=>{i(e),r(),t.cancel()},getSvgIconShape:Tw},{key:"confirm",type:"icon-button",label:o.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:e=>{i(e),n(),t.confirm()},getSvgIconShape:hw}]}(i),{itemSpacing:c}=Nw(),{translator:d,keyboardNavigation:h}=ye.exports.useContext(Qy),[p,f]=ye.exports.useState(!1),[m,y]=ye.exports.useState(o.enabled),[g,v]=ye.exports.useState(o.actions),[b,w]=ye.exports.useState(o.alignTo),E=ye.exports.useRef(),x=ye.exports.useRef(),_=Ff(),S=ye.exports.useMemo(()=>({margin:_.spacing(.5,0)})),C=e=>{const t=x.current||l;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};ye.exports.useEffect(()=>()=>f(!1),[s.show]),ye.exports.useEffect(()=>{y(o.enabled)},[o.enabled]),ye.exports.useEffect(()=>{a&&(a.on("focus_toolbar_first",()=>{const e=C(!1);e&&e.focus()}),a.on("focus_toolbar_last",()=>{const e=C(!0);e&&e.focus()}))},[]);const k=ye.exports.useMemo(()=>n.filter(e=>!e.hidden),[n]);if(!i.show&&0===k.length)return null;const T={key:"more",label:d.get("Menu.More"),getSvgIconShape:Sw,hidden:!1,enabled:()=>m,action:()=>f(!p)};if(k.length>r){const e=k.splice(-(k.length-r)-1);y(!0),v([...e,...o.actions]),w(E)}const O=k.length>0,L=g.length>0,I=O&&i.show||L&&i.show,R=Je.createElement(db,{ref:x,onKeyDown:h&&a&&a.refocusContent?e=>{"Tab"===e.key&&(e.shiftKey&&C(!1)===e.target||!e.shiftKey&&C(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),a.refocusContent())}:null,container:!0,spacing:0,wrap:"nowrap"},O&&Je.createElement(Aw,{actions:k,first:!0,last:!L&&!i.show}),L&&Je.createElement(Aw,{ref:E,actions:[T],first:!O,last:!i.show,addAnchor:!0}),I&&Je.createElement(db,{item:!0,className:c,style:S},Je.createElement(Jv,{orientation:"vertical"})),i.show&&Je.createElement(Aw,{actions:u,first:!O&&!L,last:!0}),p&&Je.createElement(Pw,{show:p,actions:g,alignTo:b,popoverProps:o.popoverProps,popoverPaperStyle:o.popoverPaperStyle,onCloseOrActionClick:()=>{f(!1)}}));return s.show?Je.createElement(Nb,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:s.show,anchorEl:s.anchorEl,anchorOrigin:Mw,transformOrigin:qw,hideBackdrop:!0,style:Dw,PaperProps:{className:"njs-action-toolbar-popover",style:{pointerEvents:"auto",padding:_.spacing(1,1)}}},R):t&&R};var Fw=e=>Kb((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 zw=em(e=>({root:{"& fieldset":{borderRadius:0,borderColor:"".concat(e.palette.divider," transparent")}}})),Bw="/qListObjectDef";function Hw(e){let{model:t,autoFocus:n=!0}=e;const{translator:r}=ye.exports.useContext(Qy),[i,o]=ye.exports.useState(""),s=zw();return Je.createElement(Ub,{startAdornment:Je.createElement(bb,{position:"start"},Je.createElement(Fw,null)),className:[s.root].join(" "),autoFocus:n,margin:"dense",fullWidth:!0,placeholder:r.get("Listbox.Search"),value:i,onChange:e=>{o(e.target.value),t.searchListObjectFor(Bw,e.target.value)},onKeyDown:e=>{switch(e.key){case"Enter":t.acceptListObjectSearch(Bw,!0),o("");break;case"Escape":t.abortListObjectSearch(Bw)}}})}function Vw(e){return Object.keys(p.prototype).forEach(t=>{e[t]=p.prototype[t]}),p.init(e),e}function Ww(e,t){const[n]=Cg(e),[r]=dg(t),i=t?t.id:null,[o]=bg(),[s]=Eg(),a=o.get(e.id);let l=s.get(i);return ye.exports.useEffect(()=>{n&&t&&!l&&(l=function(e){let t,{appSelections:n,appModal:r,model:i}=e,o=!1,s=!1;const a={id:i.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():(o=!0,this.emit("activated"),r.begin(i,e,!0))},clear(){return s=!1,this.emit("cleared"),t.qListObject?i.clearSelections("/qListObjectDef"):i.resetMadeSelections()},confirm(){return s=!1,o=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return s=!1,o=!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 i[e.method](...e.params);return s="resetMadeSelections"!==e.method,!!r||(i.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked),isActive:()=>o,isModal:()=>n.isModal(i),goModal:e=>r.begin(i,e,!1),noModal:function(){return r.end(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}};return Vw(a),a}({appSelections:n,appModal:a,model:t}),s.set(i,l),s.dispatch(!0))},[n,t]),ye.exports.useEffect(()=>{l&&l.setLayout(r)},[l,r]),[l]}function Uw(e){let{alignTo:t,show:n,close:r,app:i,fieldName:o,stateName:s="$"}=e;const a=n&&Boolean(t.current),l=Ff(),[u]=pg({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:s,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[o]}}},i,o,s),c=ye.exports.useCallback(()=>{u.lock("/qListObjectDef")},[u]),d=ye.exports.useCallback(()=>{u.unlock("/qListObjectDef")},[u]),{translator:h}=ye.exports.useContext(Qy),p=ye.exports.useRef(),[f]=Ww(i,u),[m]=dg(u);if(ye.exports.useEffect(()=>{f&&a&&(f.isModal(u)||f.goModal("/qListObjectDef"))},[f,a]),!u||!m||!h)return null;const y=!0===m.qListObject.qDimensionInfo.qLocked,g=(e,t)=>{f.noModal("escapeKeyDown"!==t),r()},v=_w({layout:m,model:u,translator:h}),b=m.qListObject.qDimensionInfo.qStateCounts,w=b.qSelected+b.qSelectedExcluded+b.qLocked+b.qLockedExcluded>0;return Je.createElement(Nb,{open:a,onClose:g,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},Je.createElement(db,{container:!0,direction:"column",spacing:0},Je.createElement(db,{item:!0,container:!0,style:{padding:l.spacing(1)}},Je.createElement(db,{item:!0},y?Je.createElement(xv,{onClick:d,disabled:!y},Je.createElement(Gb,null)):Je.createElement(xv,{onClick:c,disabled:!w},Je.createElement(Xb,null))),Je.createElement(db,{item:!0,xs:!0}),Je.createElement(db,{item:!0},Je.createElement(jw,{more:{enabled:!y,actions:v,alignTo:p,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:f,onConfirm:g,onCancel:()=>g(0,"escapeKeyDown")}}))),Je.createElement(db,{item:!0,xs:!0},Je.createElement("div",{ref:p}),Je.createElement(Hw,{model:u}),Je.createElement(vw,{model:u,selections:f,direction:"ltr"}))))}const $w=em(e=>({item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}}));function Qw(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:i=!1,moreAlignTo:o=null,onClose:s=(()=>{})}=e;const{translator:a}=ye.exports.useContext(Qy),l=o||ye.exports.useRef(),u=Ff(),[c,d]=ye.exports.useState(!1),h=$w(),p=()=>{d(!1),s()},f=t.selections[r];void 0===f.qTotal&&(f.qTotal=0);const m=f.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},y=(m.qSelected+m.qLocked)/f.qTotal,g=m.qAlternative/f.qTotal,v=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/f.qTotal,b=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,w=0===b&&0===f.qTotal;let E="";f.qTotal===b&&f.qTotal>1?E=a.get("CurrentSelections.All"):b>1&&f.qTotal?E=a.get("CurrentSelections.Of",[b,f.qTotal]):f.qSelectedFieldSelectionInfo&&(E=f.qSelectedFieldSelectionInfo.map(e=>e.qName).join(", ")),"$"!==t.states[r]&&(E="".concat(t.states[r],": ").concat(E));const x=[{color:u.palette.selected.main,ratio:y},{color:u.palette.selected.alternative,ratio:g},{color:u.palette.selected.excluded,ratio:v}];x.forEach((e,t)=>{e.offset=t?x[t-1].offset+x[t-1].ratio:0});let _=null,S=null,C=null,k=null;return o||(_=Je.createElement(db,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:f.qLocked?"0.3":""}},Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},f.qField),Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},E)),S=Je.createElement(db,{item:!0},f.qLocked?Je.createElement(xv,null,Je.createElement(Gb,null)):Je.createElement(xv,{title:a.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(f.qField,t.states[r])}},Je.createElement(Zb,null))),C=Je.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===w&&x.map(e=>Je.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,"%")}}))),k=Je.createElement(db,{container:!0,spacing:0,ref:l,className:h.item,onClick:!1===i&&(e=>{e.currentTarget.contains(e.target)&&d(!c)})||null},_,S,C,c&&Je.createElement(Uw,{alignTo:l,show:c,close:p,app:n.model,fieldName:f.qField,stateName:t.states[r]}))),o?Je.createElement(Uw,{alignTo:l,show:!0,close:p,app:n.model,fieldName:f.qField,stateName:t.states[r]}):k}var Kw=e=>Kb((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 Zw=em(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 Gw(e){let{field:t,api:n,moreAlignTo:r=null,onClose:i=(()=>{})}=e;const o=Zw(),[s,a]=ye.exports.useState(!!r),[l,u]=ye.exports.useState(-1),[c,d]=ye.exports.useState(r?r.current:null),h=r||ye.exports.useRef(),{translator:p}=ye.exports.useContext(Qy),f=p.get("Selection.ClearAllStates"),m=()=>{u(-1),i()};let y=null;r||(y=Je.createElement(Je.Fragment,null,Je.createElement(db,{item:!0,xs:!0,zeroMinWidth:!0},Je.createElement(Sv,{className:o.badge,color:"secondary",badgeContent:t.states.length},Je.createElement(Lv,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),Je.createElement(db,{item:!0},Je.createElement("div",{style:{width:"12px"}})),Je.createElement(db,{item:!0},Je.createElement(xv,null,Je.createElement(Kw,null)))));const g=Je.createElement(xb,{dense:!0},Je.createElement(Cb,{title:f,onClick:()=>{t.states.forEach(e=>n.clearField(t.name,e))}},Je.createElement(Rv,{variant:"contained",fullWidth:!0},f)),t.states.map((e,r)=>Je.createElement(Cb,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),u(t)})(e,r)},Je.createElement(kv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Je.createElement(Qw,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0}))))),v=Je.createElement(Nb,{open:s,onClose:()=>{a(!1),i()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),b=r?v:Je.createElement(db,{container:!0,spacing:0,className:o.item,onClick:e=>{e.currentTarget.contains(e.target)&&(d(e.currentTarget),h.current=e.currentTarget,a(!s))}},y,s&&v,l>-1&&Je.createElement(Uw,{alignTo:h,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?Je.createElement(Uw,{alignTo:h,show:l>-1,close:m,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const Xw=em(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 Jw(e){let{items:t=[],api:n}=e;const r=Xw(),i=Ff(),[o,s]=ye.exports.useState(!1),[a,l]=ye.exports.useState(-1),[u,c]=ye.exports.useState(null),d=ye.exports.useRef(),h=()=>{l(-1)};let p=null;return a>-1&&(p=t[a].states.length>1?Je.createElement(Gw,{field:t[a],api:n,moreAlignTo:d,onClose:h}):Je.createElement(Qw,{field:t[a],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:d,onClose:h})),Je.createElement(db,{container:!0,spacing:0,className:r.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),d.current=e.currentTarget,s(!o))}},Je.createElement(db,{item:!0},Je.createElement(kv,{borderRadius:i.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:i.palette.selected.main,color:i.palette.selected.mainContrastText}},Je.createElement(Lv,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),Je.createElement(db,{item:!0},Je.createElement(xv,null,Je.createElement(Kw,null))),o&&Je.createElement(Nb,{open:o,onClose:()=>{s(!1)},anchorEl:u,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},Je.createElement(xb,{dense:!0},t.map((e,t)=>Je.createElement(Cb,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),s(!1),l(t)})(e,t)},Je.createElement(kv,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},Je.createElement(e.states.length>1?Gw:Qw,{field:e,api:n})))))),p)}function Yw(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach(e=>{const r=e.qField,i=t[r]=t[r]||{name:r,states:[],selections:[]};-1===i.states.indexOf(n)&&(i.states.push(n),i.selections.push(e))})}function eE(e){let{api:t,app:n}=e;const r=Ff(),[i]=mg(n),[o]=dg(i),[s,a]=ye.exports.useState({items:[],more:[]}),[l]=_g(),[u,c]=$b(),[d,h]=ye.exports.useState(0);return ye.exports.useEffect(()=>{if(!c)return;const{width:e}=c,t=Math.floor(e)-72,n=Math.floor(t/120);h(n)},[c]),ye.exports.useEffect(()=>{if(!(n&&i&&o&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&Yw(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach(e=>Yw(e.qSelectionObject,t,e.stateName)),Object.keys(t).map(e=>t[e])}(o);a(t=>{const r=e;if((()=>{const e=l.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 i=t.items.indexOf(e);r.splice(i,0,e)}let i=[];return d<r.length&&(i=r.splice(d-r.length)),{items:r,more:i}})},[n,i,o,t.isInModal(),d]),Je.createElement(db,{ref:u,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},s.items.map(e=>Je.createElement(db,{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)}},Je.createElement(e.states.length>1?Gw:Qw,{field:e,api:t}))),s.more.length>0&&Je.createElement(db,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},Je.createElement(Jw,{items:s.more,api:t})))}var tE=e=>Kb((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)),nE=e=>Kb((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 rE(e){let{api:t,app:n}=e;const{translator:r}=ye.exports.useContext(Qy),[i]=yg(n);return Je.createElement(db,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},Je.createElement(db,{item:!0},Je.createElement(xv,{style:{marginRight:"8px"},disabled:!i||!i.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back()},Je.createElement(tE,null))),Je.createElement(db,{item:!0},Je.createElement(xv,{style:{marginRight:"8px"},disabled:!i||!i.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward()},Je.createElement(nE,null))),Je.createElement(db,{item:!0},Je.createElement(xv,{disabled:!i||!i.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear()},Je.createElement(Lw,null))))}const iE=e=>{let{app:t}=e;const n=Ff(),[r]=Cg(t);return r?Je.createElement(db,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},Je.createElement(db,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},Je.createElement(rE,{api:r,app:t})),Je.createElement(db,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},Je.createElement(eE,{api:r,app:t}))):null};function oE(e){let{element:t,app:n}=e;return nd.createPortal(Je.createElement(iE,{app:n}),t)}var sE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},aE=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),lE=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},uE=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},cE=void 0;cE="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var dE=null,hE=null,pE=cE.clearTimeout,fE=cE.setTimeout,mE=cE.cancelAnimationFrame||cE.mozCancelAnimationFrame||cE.webkitCancelAnimationFrame,yE=cE.requestAnimationFrame||cE.mozRequestAnimationFrame||cE.webkitRequestAnimationFrame;null==mE||null==yE?(dE=pE,hE=function(e){return fE(e,20)}):(dE=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,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e),n=t[1];mE(t[0]),pE(n)},hE=function(e){var t=yE((function(){pE(n),e()})),n=fE((function(){mE(t),e()}),20);return[t,n]});var gE=function(e){function t(){var e,n,r;sE(this,t);for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];return n=r=uE(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),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,i=e.onResize;if(r._parentNode){var o=r._parentNode.offsetHeight||0,s=r._parentNode.offsetWidth||0,a=window.getComputedStyle(r._parentNode)||{},l=parseInt(a.paddingLeft,10)||0,u=parseInt(a.paddingRight,10)||0,c=parseInt(a.paddingTop,10)||0,d=parseInt(a.paddingBottom,10)||0;(!t&&r.state.height!==o-c-d||!n&&r.state.width!==s-l-u)&&(r.setState({height:o-c-d,width:s-l-u}),i({height:o,width:s}))}},r._setRef=function(e){r._autoSizer=e},uE(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),aE(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,i=void 0,o=void 0,s=void 0,a=void 0,l="undefined"!=typeof document&&document.attachEvent;if(!l){s=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},o=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},a=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;s(this),this.__resizeRAF__&&dE(this.__resizeRAF__),this.__resizeRAF__=hE((function(){o(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(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(u=!0),!1===u)for(var f=0;f<d.length;f++)if(void 0!==p.style[d[f]+"AnimationName"]){c="-"+d[f].toLowerCase()+"-",r=h[f],u=!0;break}t="@"+c+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",i=c+"animation: 1ms "+n+"; "}return{addResizeListener:function(o,u){if(l)o.attachEvent("onresize",u);else{if(!o.__resizeTriggers__){var c=o.ownerDocument,d=cE.getComputedStyle(o);d&&"static"===d.position&&(o.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(i||"")+'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%; }',o=n.head||n.getElementsByTagName("head")[0],s=n.createElement("style");s.id="detectElementResize",s.type="text/css",null!=e&&s.setAttribute("nonce",e),s.styleSheet?s.styleSheet.cssText=r:s.appendChild(n.createTextNode(r)),o.appendChild(s)}}(c),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=c.createElement("div")).className="resize-triggers";var h=c.createElement("div");h.className="expand-trigger",h.appendChild(c.createElement("div"));var p=c.createElement("div");p.className="contract-trigger",o.__resizeTriggers__.appendChild(h),o.__resizeTriggers__.appendChild(p),o.appendChild(o.__resizeTriggers__),s(o),o.addEventListener("scroll",a,!0),r&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&s(o)},o.__resizeTriggers__.addEventListener(r,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(u)}},removeResizeListener:function(e,t){if(l)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",a,!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.disableWidth,i=e.style,o=this.state,s=o.height,a=o.width,l={overflow:"visible"},u={},c=!1;return e.disableHeight||(0===s&&(c=!0),l.height=0,u.height=s),r||(0===a&&(c=!0),l.width=0,u.width=a),ye.exports.createElement("div",{className:n,ref:this._setRef,style:lE({},l,i)},!c&&t(u))}}]),t}(ye.exports.PureComponent);function vE(e){let{app:t,fieldIdentifier:n,stateName:r,element:i,options:o}=e;return nd.createPortal(Je.createElement(bE,{app:t,fieldIdentifier:n,stateName:r,options:o}),i)}function bE(e){let{app:t,fieldIdentifier:r,stateName:i="$",options:o={}}=e;const{title:s,direction:a,listLayout:l,search:u=!0,properties:c={}}=o,d=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:i,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:s},c);let h;r.qLibraryId?(d.qListObjectDef.qLibraryId=r.qLibraryId,h=r.qLibraryId):(d.qListObjectDef.qDef.qFieldDefs=[r],h=r);const p=Ff(),[f]=pg(d,t,h,i),m=ye.exports.useCallback(()=>{f.lock("/qListObjectDef")},[f]),y=ye.exports.useCallback(()=>{f.unlock("/qListObjectDef")},[f]),{translator:g}=ye.exports.useContext(Qy),v=ye.exports.useRef(),[b]=Ww(t,f),[w]=dg(f),[E,x]=ye.exports.useState(!1);if(ye.exports.useEffect(()=>{b&&(b.isModal(f)||(b.on("deactivated",()=>{x(!1)}),b.on("activated",()=>{x(!0)})))},[b]),ye.exports.useEffect(()=>{b&&x(b.isActive())},[b]),!f||!w||!g)return null;const _=!0===w.qListObject.qDimensionInfo.qLocked,S=_w({layout:w,model:f,translator:g}),C=w.qListObject.qDimensionInfo.qStateCounts,k=C.qSelected+C.qSelectedExcluded+C.qLocked+C.qLockedExcluded>0;return Je.createElement(db,{container:!0,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(49+(u?40:0)+49,"px")}},Je.createElement(db,{item:!0,container:!0,style:{padding:p.spacing(1),borderBottom:"1px solid ".concat(p.palette.divider)}},Je.createElement(db,{item:!0},_?Je.createElement(xv,{onClick:y,disabled:!_},Je.createElement(Gb,null)):Je.createElement(xv,{onClick:m,disabled:!k},Je.createElement(Xb,null))),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",noWrap:!0},w.title||w.qListObject.qDimensionInfo.qFallbackTitle)),Je.createElement(db,{item:!0,xs:!0}),Je.createElement(db,{item:!0},Je.createElement(jw,{more:{enabled:!_,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?Je.createElement(db,{item:!0},Je.createElement(Hw,{model:f,autoFocus:!1})):"",Je.createElement(db,{item:!0,xs:!0},Je.createElement("div",{ref:v}),Je.createElement(gE,null,e=>{let{height:t,width:n}=e;return Je.createElement(vw,{model:f,selections:b,direction:a,listLayout:l,height:t,width:n})})))}gE.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const wE=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function EE(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function xE(){return wE.map(EE).join("")}function _E(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function SE(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 CE(e){let{sn:t,properties:r,fields:i}=e;if(!i.length)return;const o=t.qae.data.targets[0];if(!o)return;const{propertyPath:s}=o,a=s.split("/");let l=r;for(let n=0;n<a.length;n++){const e=a[n];l=e?l[e]:l}const u=function(e){let{dc:t,def:r,properties:i}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const o=i,s={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const i="string"==typeof e?(e=>({qDef:{qFieldDefs:[e]}}))(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||xE(),i.qDef.qSortCriterias=i.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],i.qOtherTotalSpec=i.qOtherTotalSpec||{},i.qAttributeExpressions=i.qAttributeExpressions||[],i.qAttributeDimensions=i.qAttributeDimensions||[],t.qDimensions.length<s.maxDimensions()?(t.qDimensions.push(i),_E(t.qInterColumnSortOrder,t.qDimensions.length-1),r.dimensions.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(i))},removeDimension(e){const n=t.qDimensions.splice(e,1)[0];SE(t.qInterColumnSortOrder,e),r.dimensions.removed(n,o,e)},addMeasure(e){const i="string"==typeof e?(e=>({qDef:{qDef:e}}))(e):n(n({},e),{},{qDef:e.qDef||{}});i.qDef.cId=i.qDef.cId||xE(),i.qSortBy=i.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},i.qAttributeDimensions=i.qAttributeDimensions||[],i.qAttributeExpressions=i.qAttributeExpressions||[],t.qMeasures.length<s.maxMeasures()?(t.qMeasures.push(i),_E(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),r.measures.added(i,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(i))},removeMeasure(e){const n=t.qMeasures.splice(e,1)[0];SE(t.qInterColumnSortOrder,t.qDimensions.length+e),r.measures.removed(n,o,e)},maxDimensions:()=>r.dimensions.max(t.qMeasures.length),maxMeasures:()=>r.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<s.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<s.maxMeasures()};return s}({dc:l,def:o,properties:r});i.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 kE=(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let i=e;for(let o=0;o<r.length;++o){const e=r[o];if(""!==e){if(null==i[e])return n;i=i[e]}}return i},TE=(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),i=r[r.length-1];let o=e;for(let s=0;s<r.length-1;++s){const e=r[s];null!=o[e]||(o[e]=Number.isNaN(+r[s+1])?{}:[]),o=o[e]}void 0!==n?o[i]=n:delete o[i]},OE=function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},LE=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 IE=2**53-1;function RE(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function PE(e,t){const n=x(!0,{},t,e);return kE(n,"qOtherTotalSpec.qOtherCounted")||TE(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),kE(n,"qOtherTotalSpec.qOtherLimit")||TE(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function NE(e,t){return x(!0,{},t,e)}function AE(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var DE={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach(t=>{e.qLayoutExclude.changed[t].to===kE(e,t)&&TE(e,t,e.qLayoutExclude.changed[t].from)})},isMasterItemProperty:RE,importCommonProperties:function(e,t,n){const r="masterobject"===kE(t,"properties.qInfo.qType")?"masterobject":kE(n,"qInfo.qType");TE(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){n[e]=t.hasOwnProperty(e)?t[e]:r},createDefaultDimension:PE,createDefaultMeasure:NE,resolveValue:AE,getHypercubePath:function(e){const t=kE(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],i=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let o=n.qInterColumnSortOrder.length;if(o!==i)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());o!==i;)o<i?(OE(n.qInterColumnSortOrder,o),++o):(--o,LE(n.qInterColumnSortOrder,o))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,i={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach(e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(i.qLayoutExclude.quarantine=x(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?TE(i,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||RE(e)?i[e]=t.properties[e]:i.qLayoutExclude.disabled[e]=t.properties[e]}),i=x(!0,{},n,i),null===i.components&&(i.components=[]),i},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],i=n.dimensions||{max:0},o=n.measures||{max:0},s=AE(o.max,r.dimensions.length,IE),a=AE(o.min,r.dimensions.length,0);return{maxDimensions:AE(i.max,s,IE),minDimensions:AE(i.min,a,0),maxMeasures:s,minMeasures:a}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:i,minMeasures:o}=e;const s=t.data[0];return s.dimensions.length>n&&n>0||s.measures.length>i&&i>0||s.excludedDimensions.length>0&&s.dimensions.length+s.excludedDimensions.length>r||s.excludedMeasures.length>0&&s.measures.length+s.excludedMeasures.length>o||!i&&s.measures.length>0||!n&&s.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:i,minMeasures:o,newHyperCubeDef:s}=e;const a=t.data[0];s.qLayoutExclude||(s.qLayoutExclude={}),s.qLayoutExclude.qHyperCubeDef||(s.qLayoutExclude.qHyperCubeDef={}),(a.dimensions.length>n&&n>0||a.excludedDimensions&&a.excludedDimensions.length&&a.dimensions.length+a.excludedDimensions.length>r)&&(s.qLayoutExclude.qHyperCubeDef.qDimensions||(s.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(a.measures.length>i&&i>0||a.excludedMeasures&&a.excludedMeasures.length&&a.measures.length+a.excludedMeasures.length>o)&&(s.qLayoutExclude.qHyperCubeDef.qMeasures||(s.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!i&&a.measures.length&&(s.qLayoutExclude.qHyperCubeDef.qMeasures||(s.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&a.dimensions.length&&(s.qLayoutExclude.qHyperCubeDef.qDimensions||(s.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:i,defaultDimension:o}=e;const s=t.data[0];let a;if(n>0)for(a=0;a<s.dimensions.length;++a)i.qDimensions.length<n?i.qDimensions.push(PE(s.dimensions[a],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.dimensions[a],o));else if(s.dimensions.length)for(a=0;a<s.dimensions.length;++a)i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.dimensions[a],o));if(s.excludedDimensions.length)for(a=0;a<s.excludedDimensions.length;++a)i.qDimensions.length<r?i.qDimensions.push(PE(s.excludedDimensions[a],o)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(PE(s.excludedDimensions[a],o))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:i,defaultMeasure:o}=e;const s=t.data[0];let a;if(n>0)for(a=0;a<s.measures.length;++a)i.qMeasures.length<n?i.qMeasures.push(NE(s.measures[a],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.measures[a],o));else if(s.measures.length)for(a=0;a<s.measures.length;++a)i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.measures[a],o));if(s.excludedMeasures.length)for(a=0;a<s.excludedMeasures.length;++a)i.qMeasures.length<r?i.qMeasures.push(NE(s.excludedMeasures[a],o)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(NE(s.excludedMeasures[a],o))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=kE(t,r||"").qHyperCubeDef,i=[...e.qDimensions];e.qDimensions=[],i.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=kE(t,r||"").qHyperCubeDef,i=[...e.qMeasures];e.qMeasures=[],i.forEach(r=>{e.qMeasures.push(r),n.measures.added(r,t)})}}},ME={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}(),i=t.qProperty,o=kE(i,n||""),s=o.qHyperCubeDef,a=r.data[0];if(s.qInterColumnSortOrder||(s.qInterColumnSortOrder=[]),a.dimensions.push(...s.qDimensions),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qDimensions&&a.excludedDimensions.push(...s.qLayoutExclude.qHyperCubeDef.qDimensions),a.measures.push(...s.qMeasures),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qMeasures&&a.excludedMeasures.push(...s.qLayoutExclude.qHyperCubeDef.qMeasures),a.interColumnSortOrder=s.qInterColumnSortOrder.concat(),s.qLayoutExclude&&s.qLayoutExclude.qHyperCubeDef&&s.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=s.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 i=e.indexOf(t[r]);if(n>i)return!1;n=i}return!0}return!1})(e,a.interColumnSortOrder)&&(a.interColumnSortOrder=e)}return delete s.qLayoutExclude,Object.keys(i).forEach(e=>{r.properties[e]=i[e]}),n&&(r.properties.qHyperCubeDef=o.qHyperCubeDef,delete o.qHyperCubeDef),i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.disabled&&(Object.keys(i.qLayoutExclude.disabled).forEach(e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=i.qLayoutExclude.disabled[e])}),delete i.qLayoutExclude.disabled),i.qLayoutExclude.changed&&(DE.restoreChangedProperties(i),delete i.qLayoutExclude.changed),i.qLayoutExclude.quarantine&&!(e=>0===Object.keys(e).length&&e.constructor===Object)(i.qLayoutExclude.quarantine)||delete i.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:i={},hypercubePath:o}=e;const s={qChildren:[]},a=DE.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:o}),l=kE(n,o||"").qHyperCubeDef,u=kE(a,o||"").qHyperCubeDef,{maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p}=DE.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:f=DE.getDefaultDimension(),defaultMeasure:m=DE.getDefaultMeasure()}=i;return u.qDimensions.length=0,u.qMeasures.length=0,DE.shouldInitLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p})&&DE.initLayoutExclude({exportFormat:t,maxDimensions:c,minDimensions:d,maxMeasures:h,minMeasures:p,newHyperCubeDef:u}),DE.addDefaultDimensions({exportFormat:t,maxDimensions:c,minDimensions:d,newHyperCubeDef:u,defaultDimension:f}),DE.addDefaultMeasures({exportFormat:t,maxMeasures:h,minMeasures:p,newHyperCubeDef:u,defaultMeasure:m}),DE.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:u}),DE.copyPropertyIfExist("qMaxStackedCells",l,u),DE.copyPropertyIfExist("qNoOfLeftDims",l,u),DE.copyPropertyOrSetDefault("qInitialDataFetch",l,u,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),DE.copyPropertyOrSetDefault("qMode",l,u,"S"),DE.copyPropertyOrSetDefault("qReductionMode",l,u,"N"),DE.copyPropertyOrSetDefault("qSortbyYValue",l,u),DE.copyPropertyOrSetDefault("qIndentMode",l,u),DE.copyPropertyOrSetDefault("qShowTotalsAbove",l,u),DE.importCommonProperties(a,t,n),DE.updateDimensionsOnAdded({newProperties:a,dataDefinition:r,hypercubePath:o}),DE.updateMeasuresOnAdded({newProperties:a,dataDefinition:r,hypercubePath:o}),s.qProperty=a,s}(e)};const qE=e=>kE(e,"data.targets.0.propertyPath"),jE=async e=>{let{halo:t,model:r,cellRef:i,newType:o}=e;const s=await r.getFullPropertyTree(),a=i.current.getQae(),l=(e=>e.exportProperties?e.exportProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return ME.exportProperties})(qE(e)))(a),u=(await(async e=>{let{halo:t,name:n,version:r}=e;const{types:i}=t;return await i.get({name:n,version:r}).supernova()})({halo:t,name:o})).qae;return(e=>e.importProperties?e.importProperties:(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return ME.importProperties})(qE(e)))(u)({exportFormat:l({propertyTree:s,hypercubePath:DE.getHypercubePath(a)}),initialProperties:n({qInfo:{qType:o},visualization:o},kE(u,"properties.initial",{})),dataDefinition:kE(u,"data.targets.0.",{}),hypercubePath:DE.getHypercubePath(u)})},FE={hypercube:ME};var zE=e=>Kb((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 BE=e=>{let{d:t}=e;const n=Ff();let r="inherit",i=n.palette.success.main;t.missing?i=n.palette.warning.main:t.error&&(r="error",i=n.palette.error.main);const o={color:i},s=Je.createElement(Lv,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},Je.createElement(gb,null,Je.createElement(t.missing||t.error?zE:pw,{style:o})));return Je.createElement(db,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},Je.createElement(db,{item:!0},s),Je.createElement(db,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},Je.createElement(Lv,{noWrap:!0,component:"p"},Je.createElement(Lv,{component:"span",variant:"subtitle2",color:r},t.description),Je.createElement(Lv,{component:"span"}," "),Je.createElement(Lv,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))},HE=e=>{let{data:t}=e;const n=Ff();return Je.createElement(db,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map((e,t)=>{const r=e.descriptions.map((e,t)=>Je.createElement(BE,{d:e,key:t}));return r.length>0&&Je.createElement(db,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},Je.createElement(Lv,{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 Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},Je.createElement(db,{item:!0},Je.createElement(zE,{style:{fontSize:"38px"}})),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center","data-tid":"error-title"},t)),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),Je.createElement(HE,{data:r}))}const WE=["size"],UE=em(e=>({root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}})),$E={small:16,medium:32,large:64,xlarge:128};function QE(e){let{size:t="medium"}=e,n=o(e,WE);const r=UE(),s=$E[t];return Je.createElement("div",{className:r.root},Je.createElement(qv,i({variant:"determinate",value:100,className:r.back,size:s,thickness:3},n)),Je.createElement(qv,i({variant:"indeterminate",disableShrink:!0,className:r.front,size:s,thickness:3},n)))}const KE=["cancel","translator"],ZE=["retry","translator"],GE=Py(()=>({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}}})),XE=e=>{let{cancel:t,translator:n}=e,r=o(e,KE);return Je.createElement(Je.Fragment,null,Je.createElement(db,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},Je.createElement(db,{item:!0},Je.createElement(QE,null)),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center"},n.get("Object.Update.Active")))),Je.createElement(db,i({item:!0},r),Je.createElement(Rv,{variant:"contained",onClick:t},n.get("Cancel"))))},JE=e=>{let{retry:t,translator:n}=e,r=o(e,ZE);return Je.createElement(Je.Fragment,null,Je.createElement(db,{item:!0},Je.createElement(zE,{style:{fontSize:"38px"}})),Je.createElement(db,{item:!0},Je.createElement(Lv,{variant:"h6",align:"center"},n.get("Object.Update.Cancelled"))),Je.createElement(db,{item:!0},Je.createElement(Rv,i({variant:"contained",onClick:t},r),n.get("Retry"))))};function YE(e){let{canCancel:t,canRetry:n,api:r}=e;const{stripes:i,cancel:o,retry:s}=GE(),{translator:a}=ye.exports.useContext(Qy);return Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:i,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},t&&Je.createElement(XE,{cancel:r.cancel,translator:a,className:o}),n&&Je.createElement(JE,{retry:r.retry,translator:a,className:s}))}function ex(){return Je.createElement(db,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},Je.createElement(QE,{size:"large"}))}const tx=Py(e=>({containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}})),nx=e=>{let{layout:t,sn:n,anchorEl:r,hovering:i,focusHandler:o}=e;const s=t.showTitles&&!!t.title,a=t.showTitles&&!!t.subtitle,l=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[u,c]=ye.exports.useState([]),{containerStyle:d,containerTitleStyle:h}=tx(),[p,f]=$b(),[m,y]=ye.exports.useState(!1);ye.exports.useEffect(()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions(e=>{c([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])})},[n]),ye.exports.useEffect(()=>{if(!f)return;const{width:e}=f;y(e<221)},[f]);const g=s||a,v=[d,...g?[h]:[]],b=(i||l)&&(m||!g),w=Je.createElement(jw,{show:g&&!b&&!m,selections:{show:l,api:n.component.selections,onKeyDeactivate:o.refocusContent},actions:u,popover:{show:b,anchorEl:r},focusHandler:o});return Je.createElement(db,{ref:p,item:!0,container:!0,wrap:"nowrap",className:v.join(" ")},Je.createElement(db,{item:!0,zeroMinWidth:!0,xs:!0},Je.createElement(db,{container:!0,wrap:"nowrap",direction:"column"},s&&Je.createElement(Lv,{variant:"h6",noWrap:!0,className:"njs-cell-title"},t.title),a&&Je.createElement(Lv,{variant:"body2",noWrap:!0,className:"njs-cell-sub-title"},t.subtitle))),Je.createElement(db,{item:!0},w))},rx=Py(e=>({itemStyle:{minWidth:0,paddingTop:e.spacing(1)}})),ix=e=>{let{layout:t}=e;const{itemStyle:n}=rx();return t&&t.showTitles&&t.footnote?Je.createElement(db,{container:!0},Je.createElement(db,{item:!0,className:n},Je.createElement(Lv,{noWrap:!0,variant:"body2",className:"njs-cell-footer"},t.footnote))):null};class ox{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 sx=e=>{let{sn:t,snOptions:r,snPlugins:i,layout:o,appLayout:s,halo:a}=e;const{component:l}=t,{theme:u,language:c,constraints:d,keyboardNavigation:h}=ye.exports.useContext(Qy),[p]=ye.exports.useState(()=>new ox),[f,m]=ye.exports.useState(!1),[y,g]=ye.exports.useState(0),[v,b,w]=$b(),[E,x]=ye.exports.useState(null),_=ye.exports.useCallback(e=>{e&&x(e)},[]);return ye.exports.useEffect(()=>{if(E)return l.created({options:r}),l.mounted(E),m(!0),()=>{p.stop(),l.willUnmount()}},[E,l]),ye.exports.useEffect(()=>{f&&E&&b&&(!l.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||p.schedule(()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),a.app&&a.app.session&&e.push("fetch"),Promise.resolve(l.render({layout:o,options:r,plugins:i,embed:a.public.nebbie,context:n({constraints:d,theme:a.public.theme,appLayout:s,keyboardNavigation:h},l.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(s||{}).qLocaleInfo,permissions:e})})).then(e=>{!1!==e&&(0===y&&"function"==typeof r.onInitialRender&&r.onInitialRender.call(null),g(y+1))})}))},[b,r,i,E,w,o,s,u,c,d,f,h]),Je.createElement("div",{ref:v,"data-render-count":y,style:{position:"relative",height:"100%"},className:"njs-viz"},Je.createElement("div",{ref:_,style:{position:"absolute",width:"100%",height:"100%"}}))},ax=(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))}},lx=e=>{let{delay:t=750}=e;const[n,r]=ye.exports.useState(!1);return ye.exports.useEffect(()=>{const e=setTimeout(()=>r(!0),t);return()=>clearTimeout(e)},[]),n?Je.createElement(ex,null):null},ux=e=>!e.qError||7005===e.qError.qErrorCode,cx=(e,t,n,r,i)=>[...Array(e).keys()].map(e=>{const o=!(!t||!t[e]),s=o&&t[e].qError&&7005===t[e].qError.qErrorCode,a=o&&!s&&t[e].qError,l="".concat(a?r:s?s&&t[e].qCalcCondMsg||i:o&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(l.length?":":""):null,label:l,missing:t&&!o&&!a&&e>=t.length||s,error:a}}),dx=e=>e&&(Array.isArray(e)?e:[e])||[],hx=(e,t,n,r)=>{const i=r.dimensions.min(),o=r.measures.min(),s=r.resolveLayout(t);return{reqDimErrors:cx(i,dx(s.qDimensionInfo),e=>r.dimensions.description(n,e),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:cx(o,dx(s.qMeasureInfo),e=>r.measures.description(n,e),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},px=ye.exports.forwardRef((e,t)=>{let{halo:r,model:i,initialSnOptions:o,initialSnPlugins:s,initialError:a,onMount:l,currentId:u}=e;const{app:c,types:d}=r,{nebbie:h}=r.public,{translator:p,language:f,keyboardNavigation:m}=ye.exports.useContext(Qy),y=Ff(),[g,v,b]=$b(),[w,E]=ye.exports.useReducer(ax,{loading:!1,loaded:!1,longRunningQuery:!1,error:(x=a)?{title:x.message}:null,sn:null,visualization:null});var x;const[_,{validating:S,canCancel:C,canRetry:k},T]=dg(i),[O]=hg(c),[L,I,R]=$b(),[P,N]=ye.exports.useState(o),[A,D]=ye.exports.useState(s),[M]=Ww(c,i),[q,j]=ye.exports.useState(!1),F=ye.exports.useRef({enter:null,leave:null}),z=ye.exports.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});ye.exports.useEffect(()=>{Vw(z.current)},[]),z.current.blurCallback=e=>{r.root.toggleFocusOfCells(),e&&R&&R.focus()},z.current.refocusContent=()=>{w.sn.component&&"function"==typeof w.sn.component.focus&&w.sn.component.focus()},ye.exports.useEffect(()=>{if(a||!O||!_)return;if(w.visualization===_.visualization&&w.sn)return void(async e=>{const[t,n]=await(async(e,t,n,r)=>{let{targets:i}=n;const{hasUnfulfilledErrors:o,aggMinD:s,aggMinM:a,hasLayoutErrors:l,layoutErrors:u}=((e,t,n)=>{let r=!1,i=0,o=0,s=!1,a=!1;const l=[];for(let u=0;u<t.length;++u){const c=t[u],d=c.dimensions.min(),h=c.measures.min(),p=c.resolveLayout(n),f=dx(p.qDimensionInfo).filter(ux),m=dx(p.qMeasureInfo).filter(ux);if(i+=d,o+=h,(f.length<d||m.length<h)&&(r=!0),p.qError){s=!0,a=7005===p.qError.qErrorCode;const t=a&&p.qCalcCondMsg?p.qCalcCondMsg:e.get(a?"Visualization.UnfulfilledCalculationCondition":"Visualization.LayoutError");l.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:i,aggMinM:o,hasLayoutErrors:s,layoutErrors:l}})(e,i,t),c=[],d=[];let h=null;for(let b=0;b<i.length;++b){const n=i[b];if(!l&&o){const i=h||await r.getProperties();h=i;const o=hx(e,t,i,n);c.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const p=c.filter(e=>!(e.missing||e.error)).length,f=e.get("Visualization.Incomplete.Dimensions",[p,s]),m=d.filter(e=>!(e.missing||e.error)).length,y=e.get("Visualization.Incomplete.Measures",[m,a]),g=[{title:f,descriptions:[...c]},{title:y,descriptions:[...d]}],v=l?u:g;return[l||o,{title:l?u[0].title:e.get("Visualization.Incomplete"),data:v}]})(p,_,e.generator.qae.data,i);E(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const i=t&&t.component&&t.component.selections;if(i&&i.id&&r.id&&i.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!i.isModal()){const{targets:e}=t.generator.qae.data;i.goModal(e[0].propertyPath)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||i.isModal()&&i.noModal()}})({sn:w.sn,layout:_,model:i})})(w.sn);const e=d.getSupportedVersion(_.visualization,_.version);if(e)return(async(e,t)=>{E({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:i,model:o,app:s,selections:a,nebbie:l,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:i})).create({model:o,app:s,selections:a,nebbie:l,focusHandler:u})}catch(e){t({type:"ERROR",error:{title:e.message}})}})({dispatch:E,types:d,visualization:e,version:t,model:i,app:c,selections:M,nebbie:h,focusHandler:z.current});n&&(E({type:"LOADED",sn:n,visualization:e}),l())})(_.visualization,e),()=>{};E({type:"ERROR",error:{title:"Could not find a version of '".concat(_.visualization,"' that supports current object version. Did you forget to register ").concat(_.visualization,"?")}})},[d,w.sn,i,_,O,f]),ye.exports.useEffect(()=>{if(!S)return;const e=setTimeout(()=>E({type:"LONG_RUNNING_QUERY"}),2e3);return()=>clearTimeout(e)},[S]),ye.exports.useImperativeHandle(t,()=>({getQae:()=>w.sn.generator.qae,toggleFocus(e){"function"==typeof w.sn.component.focus&&(e?w.sn.component.focus():w.sn.component.blur())},setSnOptions:N,setSnPlugins:D,async takeSnapshot(){const{width:e,height:t}=v;let n=JSON.parse(JSON.stringify(_));return"function"==typeof w.sn.component.setSnapshotData&&(n=await w.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:p.language(),theme:y.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)}}),[w.sn,I,v,_,y.name,O]);let B=null;return w.loading&&!w.longRunningQuery?B=Je.createElement(lx,null):w.error?B=Je.createElement(VE,w.error):w.loaded&&(B=Je.createElement(sx,{key:_.visualization,sn:w.sn,halo:r,snOptions:P,snPlugins:A,layout:_,appLayout:O})),Je.createElement(pv,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:"njs-cell",ref:g,onMouseEnter:()=>{F.current.leave&&clearTimeout(F.current.leave),F.enter||(F.current.enter=setTimeout(()=>{j(!0),F.current.enter=null},250))},onMouseLeave:()=>{F.current.enter&&clearTimeout(F.current.enter),F.current.leave||(F.current.leave=setTimeout(()=>{j(!1),F.current.leave=null},750))}},Je.createElement(db,{container:!0,direction:"column",spacing:0,style:n({position:"relative",width:"100%",height:"100%",padding:y.spacing(1)},w.longRunningQuery?{opacity:"0.3"}:{})},b&&_&&w.sn&&Je.createElement(nx,{layout:_,sn:w.sn,anchorEl:b,hovering:q,focusHandler:z.current},"\xa0"),Je.createElement(db,{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:L},B),Je.createElement(ix,{layout:_})),w.longRunningQuery&&Je.createElement(YE,{canCancel:C,canRetry:k,api:T}))});function fx(e){let{halo:t,element:n,model:r,initialSnOptions:i,initialSnPlugins:o,onMount:s,initialError:a}=e;const{root:l}=t,u=Je.createRef(),c=xE(),d=nd.createPortal(Je.createElement(px,{ref:u,halo:t,model:r,currentId:c,initialSnOptions:i,initialSnPlugins:o,initialError:a,onMount:s}),n,r.id),h=()=>{l.remove(d),r.removeListener("closed",h)};return r.on("closed",h),l.add(d),l.addCell(c,u),[h,u]}function mx(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function yx(e,t){return mx(e)&&mx(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function gx(){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(i=>{const o=t[i];"object"!=typeof n[i]||"object"!=typeof o||Array.isArray(o)?yx(o,n[i])||r.push({qPath:e+i,qOp:"add",qValue:JSON.stringify(t[i])}):r.push(...gx("".concat(e).concat(i,"/"),t[i],n[i]))}),r}function vx(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 bx=()=>{};function wx(){let{model:e,halo:t,initialError:r,onDestroy:i=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=bx,s=null,a=null,l=null;const u=new Promise(e=>{l=e});let c={},d=[];const h=async e=>{a?(async()=>{await u,s.current.setSnOptions(n(n({},c),e))})():c=n(n({},c),e)},p=async e=>{vx(e),a?(async()=>{await u,s.current.setSnPlugins(e)})():d=e};return{id:e.id,async destroy(){await i(),o(),o=bx},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=await jE({halo:t,model:e,cellRef:s,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,i.qProperty):await e.setProperties(i.qProperty)),i},__DO_NOT_USE__:{mount(n){if(a)throw new Error("Already mounted");return a=n,[o,s]=fx({halo:t,element:n,model:e,initialSnOptions:c,initialSnPlugins:d,initialError:r,onMount:l}),u},async applyProperties(t){const n=gx("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){h(e)},plugins(e){p(e)},exportImage:()=>s.current.exportImage(),takeSnapshot:()=>s.current.takeSnapshot()}}}async function Ex(e,t,n,r){const i=wx({model:e,halo:n,initialError:r,onDestroy:arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{}});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 xx(e,t){let n,{type:r,version:i,fields:o,properties:s,options:a,plugins:l,element:u}=e,c={};try{const e=t.types.get({name:r,version:i});c=await e.initialProperties(s);const n=await e.supernova();o&&CE({sn:n,properties:c,fields:o}),s&&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);lg.set(d.id,d);const h=(e=>{const t=sg({type:"SET",value:e});return()=>{t(),lg.clear(e.id)}})(d);return Ex(d,{options:a,plugins:l,element:u},t,n,async()=>{await t.app.destroySessionObject(d.id),h()})}async function _x(e,t){let{id:n,options:r,plugins:i,element:o}=e;const s="".concat(n);let a=ng.get(s);a||(a=t.app.getObject(n),ng.set(s,a));const l=await a;return lg.set(s,l),Ex(l,{options:r,plugins:i,element:o},t)}function Sx(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const Cx=x.bind(null,!0),kx={},{isArray:Tx}=Array;function Ox(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Lx(e){return void 0===e}function Ix(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Rx(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach((t,i)=>{if(i===n.length)return;r=+t;const o=isNaN(r)?{}:[];e[r||t]=Lx(e[r||t])?o:e[t],e=e[r||t]}),e}function Px(e,t){let n=!0;if(Ox(e)&&Ox(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach(r=>{Px(e[r],t[r])||(n=!1)}),n);if(Tx(e)&&Tx(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!Px(e[n],t[n]))return!1;return!0}return e===t}kx.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach(i=>{const o=function(e){return e?Cx({},{val:e}).val:e}(t[i]),s=e[i],a="".concat(n,"/").concat(i);Px(o,s)||Ix(t,i)||(Lx(s)?r.push({op:"add",path:a,value:o}):Ox(o)&&Ox(s)?r=r.concat(kx.generate(s,o,a)):Tx(o)&&Tx(s)?r=r.concat(function(e,t,n){let r=[];const i=e.slice();let o=-1;function s(e,t,n){if(e[n]&&Lx(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let r=0,i=e.length;r<i;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(Px(t,i))return r;if(!Lx(t[0])&&Lx(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let a=i.length-1;a>=0;a-=1)o=s(t,i[a].qInfo&&i[a].qInfo.qId,a),-1===o?(r.push({op:"remove",path:"".concat(n,"/").concat(a)}),i.splice(a,1)):r=r.concat(kx.generate(i[a],t[o],"".concat(n,"/").concat(a)));for(let a=0,l=t.length;a<l;a+=1)o=s(i,t[a].qInfo&&t[a].qInfo.qId),-1===o?(r.push({op:"add",path:"".concat(n,"/").concat(a),value:t[a]}),i.splice(a,0,t[a])):o!==a&&(r.push({op:"move",path:"".concat(n,"/").concat(a),from:"".concat(n,"/").concat(o)}),i.splice(a,0,i.splice(o,1)[0]));return r}(s,o,a)):r.push({op:"replace",path:"".concat(n,"/").concat(i),value:o}))}),Object.keys(e).forEach(i=>{Lx(t[i])&&!Ix(e,i)&&r.push({op:"remove",path:"".concat(n,"/").concat(i)})}),r},kx.apply=function(e,t){t.forEach(t=>{let n=Rx(e,t.path),r=t.path.split("/").splice(-1)[0],i=r&&isNaN(+r)?n[r]:n[+r]||n;const o=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,i=e),"add"===t.op||"replace"===t.op)if(Tx(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Tx(i)&&Tx(t.value)){const e=t.value.slice();i.length=0,i.push(...e)}else if(Ox(i)&&Ox(t.value))s=i,Object.keys(s).forEach(e=>{Object.getOwnPropertyDescriptor(s,e).configurable&&!Ix(s,e)&&delete s[e]}),Cx(i,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 i=Rx(e,t.from);Tx(n)?n.splice(+r,0,i.splice(+o,1)[0]):(n[r]=i[o],delete i[o])}else"remove"===t.op&&(Tx(n)?n.splice(+r,1):delete n[r]);var s})},kx.clone=function(e){return Cx({},e)},kx.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},kx.updateObject=function(e,t){Object.keys(e).length?kx.apply(e,kx.generate(e,t)):Cx(e,t)};const Nx=e=>t=>{const r=(i=n(n({},t),{},{action(){"function"==typeof t.action&&t.action.call(r,e),r.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(r,e),active:"function"==typeof t.active?function(){return t.active.call(r,e)}:void 0}),Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i),i);var i;return r};let Ax,Dx;function Mx(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 qx(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 jx(e){zx(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 Fx(e){if(e.__hooks.obsolete)return Promise.resolve();Dx=-1,Ax=e;try{Ax.fn.call(null)}catch(e){console.error(e)}Ax.__hooks.initiated=!0;const t=Ax.__hooks;return Vx(Ax),Dx=void 0,Ax=void 0,t.chain.promise||(t.chain.promise=new Promise(e=>{t.chain.resolve=e})),function(e){zx(e.pendingLayoutEffects)}(t),function(e){e.macro||(e.macro=requestAnimationFrame(()=>{!function(e){zx(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 zx(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 Bx(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 Hx(e){return e.__hooks.imperativeHandle}function Vx(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function Wx(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,Vx(e))}function Ux(e){if(void 0===Ax)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=Ax.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function $x(e){return Ux(++Dx),Ax.context[e]}function Qx(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function Kx(e){return{__hooked:!0,fn:e,initiate:qx,run:Fx,teardown:jx,runSnaps:Bx,focus:e_,blur:t_,observeActions:Wx,getImperativeHandle:Hx,updateRectOnNextRun:Qx}}function Zx(e){const t=Ux(++Dx);if(!t.value){t.component=Ax;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,Fx(r)},0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function Gx(e,t){const n=Ux(++Dx);Mx(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===Ax.__hooks.pendingEffects.indexOf(n)&&Ax.__hooks.pendingEffects.push(n))}function Xx(e,t){const n=Ux(++Dx);Mx(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],Ax.__hooks.pendingLayoutEffects.push(n))}function Jx(e,t){const n=Ux(++Dx);return Mx(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function Yx(){return $x("element")}function e_(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 t_(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 n_={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},r_=Object.keys(n_);function i_(e,t,r){"function"==typeof e.component&&(e.component=Kx(e.component));const[i,o]=e.component&&e.component.__hooked?function(e,t,r){const i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const s={},a=["appLayout","constraints"],l={};t.model&&t.model.session||(l.select=!0);const u={context:{model:t.model,app:t.app,global:i,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:l,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render(t){let r=!o||!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)}a.forEach(e=>{const i=t.context;if(i&&Object.prototype.hasOwnProperty.call(i,e)){let t=JSON.stringify(i[e]);"constraints"===e&&(t=JSON.stringify(n(n({},i[e]),l))),t!==s[e]&&(r=!0,s[e]=t,this.context[e]=JSON.parse(t))}})}else r=!0;return this.context.theme&&this.context.theme.name()!==s.themeName&&(r=!0,s.themeName=this.context.theme.name()),this.context.translator.language()!==s.language&&(r=!0,s.language=u.context.translator.language()),r?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},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 a.forEach(e=>{s[e]=JSON.stringify(u.context[e])}),s.themeName=u.context.theme?u.context.theme.name():void 0,s.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({},n_);var i;i=r,Object.keys(p.prototype).forEach(e=>{i[e]=p.prototype[e]}),p.init(i);const o={emit(){r.emit(...arguments)}};Object.keys(e.component||{}).forEach(t=>{-1!==r_.indexOf(t)?r[t]=e.component[t].bind(o):o[t]=e.component[t]});const s=function(e){let{sn:t,component:n}=e;const r={},i=[],o=Nx(n);return((t.definition.selectionToolbar||{}).items||[]).forEach(e=>{const t=o(e);r[e.key]=t,i.push(t)}),(t.definition.actions||[]).forEach(e=>{const t=o(e);r[e.key]=t}),{actions:r,selectionToolbarItems:i,destroy(){i.length=0}}}({sn:e,component:o}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(o,{model:t.model,app:t.app,global:a,selections:t.selections,actions:s.actions}),Object.assign(r,{actions:s.actions,model:t.model,app:t.app,selections:t.selections}),[r,s]}(e,t),s=[];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),i=0;i<n;i++)r[i]=arguments[i];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){return t.model[r?"getEffectiveProperties":"getProperties"]().then(i=>{const o=kx.clone(i),s=n.map(e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath}));kx.apply(i,s),e.qae.properties.onChange.call({model:t.model},i);const a=kx.generate(o,i).map(e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}));return t.model.__snInterceptor.applyPatches.call(this,a,r)})},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},s.push(t.model.__snInterceptor.teardown)),{generator:e,component:i,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){s.forEach(e=>e())},logicalSize:e.definition.logicalSize||(()=>!1)}}const o_=()=>{};function s_(e,t){return void 0===e?()=>t:()=>e}function a_(e){const t=e||{};return{min:"function"==typeof t.min?t.min:s_(t.min,0),max:"function"==typeof t.max?t.max:s_(t.max,1e3),added:t.added||t.add||o_,description:t.description||o_,moved:t.moved||t.move||o_,removed:t.removed||t.remove||o_,replaced:t.replaced||t.replace||o_,isDefined:()=>!!e}}function l_(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 i=e;if(void 0===i)return n;for(let o=0;o<r.length;++o)if(""!==r[o]){if(void 0===i[r[o]])return n;i=i[r[o]]}return i})(e,n,{}),dimensions:a_(e.dimensions),measures:a_(e.measures)}}function u_(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};return t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange),{properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(l_)},exportProperties:t.exportProperties,importProperties:t.importProperties}}function c_(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:u_(n.qae),component:n.component||{},create:e=>i_(r,e,t),definition:{}};return Object.keys(n).forEach(e=>{r[e]||(r.definition[e]=n[e])}),r}var d_={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,i=t.re=[],o=t.src=[],s=t.tokens={},a=0;function l(e){s[e]=a++}l("NUMERICIDENTIFIER"),o[s.NUMERICIDENTIFIER]="0|[1-9]\\d*",l("NUMERICIDENTIFIERLOOSE"),o[s.NUMERICIDENTIFIERLOOSE]="[0-9]+",l("NONNUMERICIDENTIFIER"),o[s.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",l("MAINVERSION"),o[s.MAINVERSION]="("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")\\.("+o[s.NUMERICIDENTIFIER]+")",l("MAINVERSIONLOOSE"),o[s.MAINVERSIONLOOSE]="("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")\\.("+o[s.NUMERICIDENTIFIERLOOSE]+")",l("PRERELEASEIDENTIFIER"),o[s.PRERELEASEIDENTIFIER]="(?:"+o[s.NUMERICIDENTIFIER]+"|"+o[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASEIDENTIFIERLOOSE"),o[s.PRERELEASEIDENTIFIERLOOSE]="(?:"+o[s.NUMERICIDENTIFIERLOOSE]+"|"+o[s.NONNUMERICIDENTIFIER]+")",l("PRERELEASE"),o[s.PRERELEASE]="(?:-("+o[s.PRERELEASEIDENTIFIER]+"(?:\\."+o[s.PRERELEASEIDENTIFIER]+")*))",l("PRERELEASELOOSE"),o[s.PRERELEASELOOSE]="(?:-?("+o[s.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+o[s.PRERELEASEIDENTIFIERLOOSE]+")*))",l("BUILDIDENTIFIER"),o[s.BUILDIDENTIFIER]="[0-9A-Za-z-]+",l("BUILD"),o[s.BUILD]="(?:\\+("+o[s.BUILDIDENTIFIER]+"(?:\\."+o[s.BUILDIDENTIFIER]+")*))",l("FULL"),l("FULLPLAIN"),o[s.FULLPLAIN]="v?"+o[s.MAINVERSION]+o[s.PRERELEASE]+"?"+o[s.BUILD]+"?",o[s.FULL]="^"+o[s.FULLPLAIN]+"$",l("LOOSEPLAIN"),o[s.LOOSEPLAIN]="[v=\\s]*"+o[s.MAINVERSIONLOOSE]+o[s.PRERELEASELOOSE]+"?"+o[s.BUILD]+"?",l("LOOSE"),o[s.LOOSE]="^"+o[s.LOOSEPLAIN]+"$",l("GTLT"),o[s.GTLT]="((?:<|>)?=?)",l("XRANGEIDENTIFIERLOOSE"),o[s.XRANGEIDENTIFIERLOOSE]=o[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",l("XRANGEIDENTIFIER"),o[s.XRANGEIDENTIFIER]=o[s.NUMERICIDENTIFIER]+"|x|X|\\*",l("XRANGEPLAIN"),o[s.XRANGEPLAIN]="[v=\\s]*("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:\\.("+o[s.XRANGEIDENTIFIER]+")(?:"+o[s.PRERELEASE]+")?"+o[s.BUILD]+"?)?)?",l("XRANGEPLAINLOOSE"),o[s.XRANGEPLAINLOOSE]="[v=\\s]*("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+o[s.XRANGEIDENTIFIERLOOSE]+")(?:"+o[s.PRERELEASELOOSE]+")?"+o[s.BUILD]+"?)?)?",l("XRANGE"),o[s.XRANGE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAIN]+"$",l("XRANGELOOSE"),o[s.XRANGELOOSE]="^"+o[s.GTLT]+"\\s*"+o[s.XRANGEPLAINLOOSE]+"$",l("COERCE"),o[s.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",l("COERCERTL"),i[s.COERCERTL]=new RegExp(o[s.COERCE],"g"),l("LONETILDE"),o[s.LONETILDE]="(?:~>?)",l("TILDETRIM"),o[s.TILDETRIM]="(\\s*)"+o[s.LONETILDE]+"\\s+",i[s.TILDETRIM]=new RegExp(o[s.TILDETRIM],"g"),l("TILDE"),o[s.TILDE]="^"+o[s.LONETILDE]+o[s.XRANGEPLAIN]+"$",l("TILDELOOSE"),o[s.TILDELOOSE]="^"+o[s.LONETILDE]+o[s.XRANGEPLAINLOOSE]+"$",l("LONECARET"),o[s.LONECARET]="(?:\\^)",l("CARETTRIM"),o[s.CARETTRIM]="(\\s*)"+o[s.LONECARET]+"\\s+",i[s.CARETTRIM]=new RegExp(o[s.CARETTRIM],"g"),l("CARET"),o[s.CARET]="^"+o[s.LONECARET]+o[s.XRANGEPLAIN]+"$",l("CARETLOOSE"),o[s.CARETLOOSE]="^"+o[s.LONECARET]+o[s.XRANGEPLAINLOOSE]+"$",l("COMPARATORLOOSE"),o[s.COMPARATORLOOSE]="^"+o[s.GTLT]+"\\s*("+o[s.LOOSEPLAIN]+")$|^$",l("COMPARATOR"),o[s.COMPARATOR]="^"+o[s.GTLT]+"\\s*("+o[s.FULLPLAIN]+")$|^$",l("COMPARATORTRIM"),o[s.COMPARATORTRIM]="(\\s*)"+o[s.GTLT]+"\\s*("+o[s.LOOSEPLAIN]+"|"+o[s.XRANGEPLAIN]+")",i[s.COMPARATORTRIM]=new RegExp(o[s.COMPARATORTRIM],"g"),l("HYPHENRANGE"),o[s.HYPHENRANGE]="^\\s*("+o[s.XRANGEPLAIN]+")\\s+-\\s+("+o[s.XRANGEPLAIN]+")\\s*$",l("HYPHENRANGELOOSE"),o[s.HYPHENRANGELOOSE]="^\\s*("+o[s.XRANGEPLAINLOOSE]+")\\s+-\\s+("+o[s.XRANGEPLAINLOOSE]+")\\s*$",l("STAR"),o[s.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u<a;u++)n(u,o[u]),i[u]||(i[u]=new RegExp(o[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?i[s.LOOSE]:i[s.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 o=e.trim().match(t.loose?i[s.LOOSE]:i[s.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[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");this.prerelease=o[4]?o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<r)return t}return e})):[],this.build=o[5]?o[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)),p(this.major,e.major)||p(this.minor,e.minor)||p(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return p(r,i)}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],i=e.build[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return p(r,i)}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(g(e,t))return null;var n=c(e),r=c(t),i="";if(n.prerelease.length||r.prerelease.length){i="pre";var o="prerelease"}for(var s in n)if(("major"===s||"minor"===s||"patch"===s)&&n[s]!==r[s])return i+s;return o},t.compareIdentifiers=p;var h=/^[0-9]+$/;function p(e,t){var n=h.test(e),r=h.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function f(e,t,n){return new d(e,n).compare(new d(t,n))}function m(e,t,n){return f(e,t,n)>0}function y(e,t,n){return f(e,t,n)<0}function g(e,t,n){return 0===f(e,t,n)}function v(e,t,n){return 0!==f(e,t,n)}function b(e,t,n){return f(e,t,n)>=0}function w(e,t,n){return f(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 g(e,n,r);case"!=":return v(e,n,r);case">":return m(e,n,r);case">=":return b(e,n,r);case"<":return y(e,n,r);case"<=":return w(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function x(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof x){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof x))return new x(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===_?"":this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return p(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=f,t.compareLoose=function(e,t){return f(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),i=new d(t,n);return r.compare(i)||r.compareBuild(i)},t.rcompare=function(e,t,n){return f(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=y,t.eq=g,t.neq=v,t.gte=b,t.lte=w,t.cmp=E,t.Comparator=x;var _={};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 x)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 C(e,t){for(var n=!0,r=e.slice(),i=r.pop();n&&r.length;)n=r.every((function(e){return i.intersects(e,t)})),i=r.pop();return n}function k(e){return!e||"x"===e.toLowerCase()||"*"===e}function T(e,t,n,r,i,o,s,a,l,u,c,d,h){return((t=k(n)?"":k(r)?">="+n+".0.0":k(i)?">="+n+"."+r+".0":">="+t)+" "+(a=k(l)?"":k(u)?"<"+(+l+1)+".0.0":k(c)?"<"+l+"."+(+u+1)+".0":d?"<="+l+"."+u+"."+c+"-"+d:"<="+a)).trim()}function O(e,t,r){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(i=0;i<e.length;i++)if(n(e[i].semver),e[i].semver!==_&&e[i].semver.prerelease.length>0){var o=e[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}function L(e,t,n){try{t=new S(t,n)}catch(e){return!1}return t.test(e)}function I(e,t,n,r){var i,o,s,a,l;switch(e=new d(e,r),t=new S(t,r),n){case">":i=m,o=w,s=y,a=">",l=">=";break;case"<":i=y,o=b,s=m,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(L(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var c=null,h=null;if(t.set[u].forEach((function(e){e.semver===_&&(e=new x(">=0.0.0")),h=h||e,i(e.semver,(c=c||e).semver,r)?c=e:s(e.semver,h.semver,r)&&(h=e)})),c.operator===a||c.operator===l)return!1;if((!h.operator||h.operator===a)&&o(e,h.semver))return!1;if(h.operator===l&&s(e,h.semver))return!1}return!0}x.prototype.parse=function(e){var t=e.match(this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new d(t[2],this.options.loose):_},x.prototype.toString=function(){return this.value},x.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===_||e===_)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)},x.prototype.intersects=function(e,t){if(!(e instanceof x))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),L(this.value,n,t));if(""===e.operator)return""===e.value||(n=new S(this.value,t),L(e.semver,n,t));var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=E(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=E(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||o&&s||a||l},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=e.trim()).replace(t?i[s.HYPHENRANGELOOSE]:i[s.HYPHENRANGE],T),n("hyphen replace",e),e=e.replace(i[s.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,i[s.COMPARATORTRIM]),e=(e=(e=e.replace(i[s.TILDETRIM],"$1~")).replace(i[s.CARETTRIM],"$1^")).split(/\s+/).join(" ");var r=t?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],o=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){return n("caret",e,t),e.replace(t.loose?i[s.CARETLOOSE]:i[s.CARET],(function(t,r,i,o,s){var a;return n("caret",e,t,r,i,o,s),k(r)?a="":k(i)?a=">="+r+".0.0 <"+(+r+1)+".0.0":k(o)?a="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":s?(n("replaceCaret pr",s),a="0"===r?"0"===i?">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+"-"+s+" <"+(+r+1)+".0.0"):(n("no pr"),a="0"===r?"0"===i?">="+r+"."+i+"."+o+" <"+r+"."+i+"."+(+o+1):">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+o+" <"+(+r+1)+".0.0"),n("caret return",a),a}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){return e.replace(t.loose?i[s.TILDELOOSE]:i[s.TILDE],(function(t,r,i,o,s){var a;return n("tilde",e,t,r,i,o,s),k(r)?a="":k(i)?a=">="+r+".0.0 <"+(+r+1)+".0.0":k(o)?a=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":s?(n("replaceTilde pr",s),a=">="+r+"."+i+"."+o+"-"+s+" <"+r+"."+(+i+1)+".0"):a=">="+r+"."+i+"."+o+" <"+r+"."+(+i+1)+".0",n("tilde return",a),a}))}(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){return(e=e.trim()).replace(t.loose?i[s.XRANGELOOSE]:i[s.XRANGE],(function(r,i,o,s,a,l){n("xRange",e,r,i,o,s,a,l);var u=k(o),c=u||k(s),d=c||k(a);return"="===i&&d&&(i=""),l=t.includePrerelease?"-0":"",u?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&d?(c&&(s=0),a=0,">"===i?(i=">=",c?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):"<="===i&&(i="<",c?o=+o+1:s=+s+1),r=i+o+"."+s+"."+a+l):c?r=">="+o+".0.0"+l+" <"+(+o+1)+".0.0"+l:d&&(r=">="+o+"."+s+".0"+l+" <"+o+"."+(+s+1)+".0"+l),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(i[s.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(o=o.filter((function(e){return!!e.match(r)}))),o.map((function(e){return new x(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 C(n,t)&&e.set.some((function(e){return C(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=L,t.maxSatisfying=function(e,t,n){var r=null,i=null;try{var o=new S(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&-1!==i.compare(e)||(i=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,i=null;try{var o=new S(t,n)}catch(e){return null}return e.forEach((function(e){o.test(e)&&(r&&1!==i.compare(e)||(i=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=i[s.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i[s.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;i[s.COERCERTL].lastIndex=-1}else n=e.match(i[s.COERCE]);return null===n?null:c(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(d_,d_.exports);const h_={};async function p_(e,t,n,r){let{config:i}=n;const o="".concat(e,"__").concat(t);if(!h_[o]){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 s=(r||i.load)({name:e,version:t}),a=Promise.resolve(s);h_[o]=a.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 h_[o]}function f_(e,t){const r={};let i=null;return{get:e=>r[e],register:(o,s)=>{if(r[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));r[o]=function(e,t){let r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:s}=o,a={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&s&&s.deps&&s.deps.properties)||d_.exports.satisfies(e,s.deps.properties),supernova:()=>p_(a.name,a.version,t,o.load).then(e=>(r=r||c_(e,t.public.galaxy),i=JSON.stringify(r.qae.properties.initial),r)),initialProperties(e){return this.supernova().then(()=>n(n({qInfo:{qType:a.name},visualization:a.name,version:a.version,showTitles:!0},JSON.parse(i)),e))}};return a}({name:e,version:o},t,s),i=null},getMatchingVersionFromProperties:e=>{var t;i||(t=Object.keys(r),i=[...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 n=i.length-1;n>=0;n--)if(r[i[n]].supportsPropertiesVersion(e))return i[n];return null},versions:r}}function m_(e){let{halo:t,parent:n}=e;const r={},i=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=f_(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)||i.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(h_).forEach(t=>{t.split("__")[0]===e&&(h_[t]=void 0)})}(e)}}}const y_=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(n({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),e)},g_=function(){return[...arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]].filter((e,t,n)=>n.indexOf(e)===t)},v_=(e,t)=>({context:y_(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:g_(e.types,t.types),themes:g_(e.themes,t.themes),flags:y_(e.flags,t.flags),anything:y_(e.anything,t.anything)});var b_=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=c(t.context.language);function i(e,o){if(o)return i.createConfiguration(o)(e);let s=n(n({},t.context),{},{translator:r.translator});const[a]=Og({app:e,context:s}),l=fe({themes:t.themes,root:a}),u={galaxy:{translator:r.translator,flags:Sx(t.flags),deviceType:me(t.context.deviceType),anything:t.anything},theme:l.externalAPI,translator:r.translator,nebbie:null},c={app:e,root:a,config:t,public:u,context:s,types:null},d=m_({halo:c});t.types.forEach(e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load}));let h=l.setTheme(t.context.theme),p=null,f=null;const m={render:async e=>(await h,e.id?_x(e,c):xx(e,c)),context:async e=>{let t;["theme","language","constraints","keyboardNavigation"].forEach(n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==s[n]&&(t||(t={}),t[n]=e[n])}),t&&(s=n(n(n({},s),t),{},{translator:r.translator}),c.context=s,t.theme&&(h=l.setTheme(t.theme),await h),t.language&&c.public.translator.language(t.language),a.context(s))},selections:async()=>(p||(p={mount(t){f||(f=oE({element:t,app:e}),a.add(f))},unmount(){f&&(a.remove(f),f=null)}}),p),field:async t=>{const n="string"==typeof t?t:t.qLibraryId;if(!n)throw new Error("Field identifier must be provided");return{fieldName:n,mount(r){let i=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=vE({element:r,app:e,fieldIdentifier:t,options:i,stateName:i.stateName||"$"}),a.add(this._instance)},unmount(){this._instance&&(a.remove(this._instance),this._instance=null)}}},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d}};return c.public.nebbie=m,c.types=d,m}return i.createConfiguration=n=>e(v_(t,n)),i.config=t,i}({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())}});e.__DO_NOT_USE__={generator:c_,hook:Kx,theme:he,locale:l},e.conversion=FE,e.embed=b_,e.onTakeSnapshot=function(e){const t=Ux(++Dx);t.value||(t.value=1,Ax.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=Zx({action(){n._config.action.call(null)}});return n.component||(n.component=Ax,Ax.__hooks.actions.list.push(n)),Jx(()=>{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=$x("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return $x("appLayout")},e.useConstraints=function(){return $x("constraints")},e.useDeviceType=function(){return $x("deviceType")},e.useEffect=Gx,e.useElement=Yx,e.useEmbed=function(){return $x("nebbie")},e.useGlobal=function(){const e=$x("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=Ux(++Dx);if(n.imperative||(n.imperative=!0),Mx(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],Ax.__hooks.imperativeHandle=r}},e.useKeyboard=function(){const e=$x("keyboardNavigation"),t=$x("focusHandler");if(!Ax.__hooks.accessibility.exitFunction){const e=(function(e){const n=this.__hooks.accessibility;n.enabled&&n.active&&(t_(this),t&&t.blurCallback&&t.blurCallback(e))}).bind(Ax);Ax.__hooks.accessibility.exitFunction=e;const n=(function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),e_(this))}).bind(Ax);Ax.__hooks.accessibility.focusFunction=n;const r=(function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}).bind(Ax);Ax.__hooks.accessibility.focusSelectionFunction=r}const n=Ax.__hooks.accessibility.focusFunction,r=Ax.__hooks.accessibility.exitFunction,i=Ax.__hooks.accessibility.focusSelectionFunction,[o,s]=Zx({active:!1,enabled:e,blur:r,focus:n,focusSelection:i});return Ax.__hooks.accessibility.setter=s,Ax.__hooks.accessibility.enabled=e,Gx(()=>s({active:!1,enabled:e,blur:r,focus:n,focusSelection:i}),[e]),o},e.useLayout=function(){return $x("layout")},e.useMemo=Jx,e.useModel=function(){const e=$x("model");return e&&e.session?e:void 0},e.useOptions=function(){return $x("options")},e.usePlugins=function(){return $x("plugins")},e.usePromise=function(e,t){const[n,r]=Zx(()=>({resolved:void 0,rejected:void 0,state:"pending"})),i=Ux(++Dx);return i.component||(i.component=Ax),Xx(()=>{let t=!1;return i.teardown=()=>{t=!0,i.teardown=null;const e=i.component.__hooks.pendingPromises.indexOf(i);e>-1&&i.component.__hooks.pendingPromises.splice(e,1)},e().then(e=>{t||(i.teardown&&i.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))}).catch(e=>{t||(i.teardown&&i.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))}),i.component.__hooks.pendingPromises.push(i),()=>{i.teardown&&i.teardown()}},t),[n.resolved,n.rejected]},e.useRect=function(){const e=Yx(),t=Ax.__hooks.resizer,[n,r]=Zx(()=>{const{left:t,top:n,width:r,height:i}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:i}});return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),Xx(()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:i,height:o}=e.getBoundingClientRect(),s=t.current;s.width===i&&s.height===o&&s.left===n&&s.top===r||t.setters.forEach(e=>e({left:n,top:r,width:i,height:o}))};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(){Ux(++Dx);const e=Ax.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return $x("selections")},e.useStaleLayout=function(){const e=$x("layout"),[t]=Zx({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=Zx,e.useTheme=function(){return $x("theme")},e.useTranslator=function(){return $x("translator")},Object.defineProperty(e,"__esModule",{value:!0})}(t)},wwtf:function(e,t,n){e.exports=function(){"use strict";function e(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat((Math.random()+1).toString(36).substring(2))})}}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 i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,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 i(){return e=>Promise.resolve(n({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve({}),id:e&&e.qInfo&&e.qInfo.qId?e.qInfo.qId:"sel - ".concat((Math.random()+1).toString(36).substring(2))},e))}const o=function(e){let{args:t=[],defaultValue:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"function"==typeof e?e(...t):void 0!==e?e:n},s=function(e){let{defaultValue:t,async:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];const a=o(e,{defaultValue:t,args:i});return n?Promise.resolve(a):a}};async function a(e,t){const n=e.map(t);return e[(await Promise.all(n)).findIndex(e=>e)]}const l=["id","session"],u=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function c(e){return!u.includes(e)}function d(e){const{id:t,session:r}=e,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,l);return n({id:o(t,{defaultValue:"object - ".concat((Math.random()+1).toString(36).substring(2))}),session:o(r,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(i).reduce((e,t)=>{let[r,i]=t;return n(n({},e),{},{[r]:s(i,{async:c(r)})})},{}))}function h(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');const t=o(e.getLayout);if(!t.qInfo||!t.qInfo.qId)throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(h);const t=e.map(d);return async e=>{const n=a(t,async t=>(await t.getLayout()).qInfo.qId===e);return Promise.resolve(n)}}function f(){return()=>Promise.resolve({id:"app-layout"})}return{fromGenericObjects:t=>{if(!Array.isArray(t)||0===t.length)throw new Error('No "genericObjects" specified');const n=new e,r=new i,o=new p(t),s=new f,a={id:"app - ".concat((Math.random()+1).toString(36).substring(2)),session:n,createSessionObject:r,getObject:o,getAppLayout:s};return Promise.resolve(a)}}}()},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let i=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function s(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;s(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function u(e){return null!==e&&"object"==typeof e}const c=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let d=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(a){t=a instanceof c?h(a.errors):[a]}}if(l(s)){let e=-1,n=s.length;for(;++e<n;){const n=s[e];if(u(n))try{n.unsubscribe()}catch(a){t=t||[],a instanceof c?t=t.concat(h(a.errors)):t.push(a)}}}if(t)throw new c(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function h(e){return e.reduce((e,t)=>e.concat(t instanceof c?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends d{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof f?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new f(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class m extends f{constructor(e,t,n,i){let o;super(),this._parentSubscriber=e;let s=this;r(t)?o=t:t&&(o=t.next,n=t.error,i=t.complete,t!==a&&(s=Object.create(t),r(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):s(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;s(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;s(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(s(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let v=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,i=function(e,t,n){if(e){if(e instanceof f)return e;if(e[p])return e[p]()}return e||t||n?new f(e,t,n):new f(a)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof f?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[y](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class E extends d{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class x extends f{constructor(e){super(e),this.destination=e}}let _=(()=>{class e extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),d.EMPTY):this.isStopped?(e.complete(),d.EMPTY):(this.observers.push(e),new E(this,e))}asObservable(){const e=new v;return e.source=this,e}}return e.create=(e,t)=>new S(e,t),e})();class S extends _{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):d.EMPTY}}function C(e){return e&&"function"==typeof e.schedule}function k(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new T(e,t))}}class T{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new O(e,this.project,this.thisArg))}}class O extends f{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const L=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const R=I(),P=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function N(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const A=e=>{if(e&&"function"==typeof e[y])return r=e,e=>{const t=r[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return L(e);if(N(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,s),e);if(e&&"function"==typeof e[R])return t=e,e=>{const n=t[R]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=u(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,r};function D(e,t){return new v(n=>{const r=new d;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function M(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[y]}(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>{const i=e[y]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(N(e))return function(e,t){return new v(n=>{const r=new d;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(P(e))return D(e,t);if(function(e){return e&&"function"==typeof e[R]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new v(n=>{const r=new d;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[R](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof v?e:new v(A(e))}class q extends f{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class j extends f{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function F(e,t){if(!t.closed)return e instanceof v?e.subscribe(t):A(e)(t)}class z{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new B(e,this.project,this.concurrent))}}class B extends j{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new q(this),n=this.destination;n.add(t);const r=F(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function H(e,t){return t?D(e,t):new v(L(e))}function V(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return C(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof v?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(e((e,r)=>M(t(e,r)).pipe(k((t,i)=>n(e,t,r,i))),r)):("number"==typeof n&&(r=n),e=>e.lift(new z(t,r)))}(g,e)}(t)(H(e,n))}function W(){return function(e){return e.lift(new U(e))}}class U{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new $(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class $ extends f{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Q extends v{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new d,e.add(this.source.subscribe(new Z(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}refCount(){return W()(this)}}const K=(()=>{const e=Q.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Z extends x{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function G(){return new _}function X(e){return{toString:e}.toString()}const J="__parameters__";function Y(e,t,n){return X(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(J)?e[J]:Object.defineProperty(e,J,{value:[]})[J];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const ee=Y("Inject",e=>({token:e})),te=Y("Optional"),ne=Y("Self"),re=Y("SkipSelf");var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function se(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ae(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function le(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ue(e){return ce(e,e[he])||ce(e,e[me])}function ce(e,t){return t&&t.token===e?t:null}function de(e){return e&&(e.hasOwnProperty(pe)||e.hasOwnProperty(ye))?e[pe]:null}const he=oe({"\u0275prov":oe}),pe=oe({"\u0275inj":oe}),fe=oe({"\u0275provFallback":oe}),me=oe({ngInjectableDef:oe}),ye=oe({ngInjectorDef:oe});function ge(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ge).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const be=oe({__forward_ref__:oe});function we(e){return e.__forward_ref__=we,e.toString=function(){return ge(this())},e}function Ee(e){return xe(e)?e():e}function xe(e){return"function"==typeof e&&e.hasOwnProperty(be)&&e.__forward_ref__===we}const _e="undefined"!=typeof globalThis&&globalThis,Se="undefined"!=typeof window&&window,Ce="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ke="undefined"!=typeof global&&global,Te=_e||ke||Se||Ce,Oe=oe({"\u0275cmp":oe}),Le=oe({"\u0275dir":oe}),Ie=oe({"\u0275pipe":oe}),Re=oe({"\u0275mod":oe}),Pe=oe({"\u0275loc":oe}),Ne=oe({"\u0275fac":oe}),Ae=oe({__NG_ELEMENT_ID__:oe});class De{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ae({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Me=new De("INJECTOR",-1),qe={},je=/\n/gm,Fe="__source",ze=oe({provide:String,useValue:oe});let Be,He=void 0;function Ve(e){const t=He;return He=e,t}function We(e){const t=Be;return Be=e,t}function Ue(e,t=ie.Default){if(void 0===He)throw new Error("inject() must be called from an injection context");return null===He?Ke(e,void 0,t):He.get(e,t&ie.Optional?null:void 0,t)}function $e(e,t=ie.Default){return(Be||Ue)(Ee(e),t)}const Qe=$e;function Ke(e,t,n){const r=ue(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ie.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ge(e)}]`)}function Ze(e){const t=[];for(let n=0;n<e.length;n++){const r=Ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=ie.Default;for(let t=0;t<r.length;t++){const i=r[t];i instanceof te||"Optional"===i.ngMetadataName||i===te?n|=ie.Optional:i instanceof re||"SkipSelf"===i.ngMetadataName||i===re?n|=ie.SkipSelf:i instanceof ne||"Self"===i.ngMetadataName||i===ne?n|=ie.Self:e=i instanceof ee||i===ee?i.token:i}t.push($e(e,n))}else t.push($e(r))}return t}class Ge{get(e,t=qe){if(t===qe){const t=new Error(`NullInjectorError: No provider for ${ge(e)}!`);throw t.name="NullInjectorError",t}return t}}class Xe{}function Je(e,t){e.forEach(e=>Array.isArray(e)?Je(e,t):t(e))}function Ye(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function et(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var tt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),nt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const rt={},it=[];let ot=0;function st(e){return X(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===tt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||it,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||nt.Emulated,id:"c",styles:e.styles||it,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ot++,n.inputs=dt(e.inputs,t),n.outputs=dt(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(at):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(lt):null,n})}function at(e){return pt(e)||function(e){return e[Le]||null}(e)}function lt(e){return function(e){return e[Ie]||null}(e)}const ut={};function ct(e){const t={type:e.type,bootstrap:e.bootstrap||it,declarations:e.declarations||it,imports:e.imports||it,exports:e.exports||it,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&X(()=>{ut[e.id]=e.type}),t}function dt(e,t){if(null==e)return rt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const ht=st;function pt(e){return e[Oe]||null}function ft(e,t){return e.hasOwnProperty(Ne)?e[Ne]:null}function mt(e,t){const n=e[Re]||null;if(!n&&!0===t)throw new Error(`Type ${ge(e)} does not have '\u0275mod' property.`);return n}const yt=20,gt=10;function vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function bt(e){return Array.isArray(e)&&!0===e[1]}function wt(e){return 0!=(8&e.flags)}function Et(e){return null!==e.template}function xt(e){return 0!=(512&e[2])}class _t{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function St(){return Ct}function Ct(e){return e.type.prototype.ngOnChanges&&(e.setInput=Tt),kt}function kt(){const e=Ot(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===rt)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Tt(e,t,n,r){const i=Ot(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:rt,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new _t(l&&l.currentValue,t,s===rt),e[r]=t}function Ot(e){return e.__ngSimpleChanges__||null}St.ngInherit=!0;let Lt=void 0;function It(e){return!!e.listen}const Rt={createRenderer:(e,t)=>void 0!==Lt?Lt:"undefined"!=typeof document?document:void 0};function Pt(e){for(;Array.isArray(e);)e=e[0];return e}function Nt(e,t){return Pt(t[e.index])}function At(e,t){const n=t[e];return vt(n)?n:n[0]}function Dt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Mt(e){return 4==(4&e[2])}function qt(e){return 128==(128&e[2])}function jt(e,t){return null===e||null==t?null:e[t]}function Ft(e){e[18]=0}function zt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Bt={lFrame:rn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ht(){return Bt.bindingsEnabled}function Vt(){return Bt.lFrame.lView}function Wt(){return Bt.lFrame.tView}function Ut(){return Bt.lFrame.previousOrParentTNode}function $t(e,t){Bt.lFrame.previousOrParentTNode=e,Bt.lFrame.isParent=t}function Qt(){return Bt.lFrame.isParent}function Kt(){return Bt.checkNoChangesMode}function Zt(e){Bt.checkNoChangesMode=e}function Gt(e,t){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xt(t)}function Xt(e){Bt.lFrame.currentDirectiveIndex=e}function Jt(){return Bt.lFrame.currentQueryIndex}function Yt(e){Bt.lFrame.currentQueryIndex=e}function en(e,t){const n=nn();Bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function tn(e,t){const n=nn(),r=e[1];Bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function nn(){const e=Bt.lFrame,t=null===e?null:e.child;return null===t?rn(e):t}function rn(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function on(){const e=Bt.lFrame;return Bt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const sn=on;function an(){const e=on();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ln(e){Bt.lFrame.selectedIndex=e}function un(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:o,ngAfterViewChecked:s,ngOnDestroy:a}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),i&&((e.contentHooks||(e.contentHooks=[])).push(n,i),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i)),o&&(e.viewHooks||(e.viewHooks=[])).push(-n,o),s&&((e.viewHooks||(e.viewHooks=[])).push(n,s),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,s)),null!=a&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a)}}function cn(e,t,n){pn(e,t,3,n)}function dn(e,t,n,r){(3&e[2])===n&&pn(e,t,n,r)}function hn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pn(e,t,n,r){const i=null!=r?r:-1;let o=0;for(let s=void 0!==r?65535&e[18]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=r&&o>=r)break}else t[s]<0&&(e[18]+=65536),(o<i||-1==i)&&(fn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function fn(e,t,n,r){const i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}class mn{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const r=It(e);let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const s=n[i++],a=n[i++],l=n[i++];r?e.setAttribute(t,a,l,s):t.setAttributeNS(s,a,l)}else{const s=o,a=n[++i];64===s.charCodeAt(0)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),i++}}return i}function gn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||vn(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function vn(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){s=-1;break}if(n>t){s=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function bn(e){return-1!==e}function wn(e){return 32767&e}function En(e){return e>>16}function xn(e,t){let n=En(e),r=t;for(;n>0;)r=r[15],n--;return r}function _n(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():function(e){return"string"==typeof e?e:null==e?"":""+e}(e)}const Sn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Te))();function Cn(e){return e instanceof Function?e():e}let kn=!0;function Tn(e){const t=kn;return kn=e,t}let On=0;function Ln(e,t){const n=Rn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,In(r.data,e),In(t,null),In(r.blueprint,null));const i=Pn(e,t),o=e.injectorIndex;if(bn(i)){const e=wn(i),n=xn(i,t),r=n[1].data;for(let i=0;i<8;i++)t[o+i]=n[e+i]|r[e+i]}return t[o+8]=i,o}function In(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Rn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Pn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],r=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Nn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ae)&&(r=n[Ae]),null==r&&(r=n[Ae]=On++);const i=255&r,o=1<<i,s=64&i,a=32&i,l=t.data;128&i?s?a?l[e+7]|=o:l[e+6]|=o:a?l[e+5]|=o:l[e+4]|=o:s?a?l[e+3]|=o:l[e+2]|=o:a?l[e+1]|=o:l[e]|=o}(e,t,n)}function An(e,t,n,r=ie.Default,i){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ae)?e[Ae]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof i){en(t,e);try{const e=i();if(null!=e||r&ie.Optional)return e;throw new Error(`No provider for ${_n(n)}!`)}finally{sn()}}else if("number"==typeof i){if(-1===i)return new Bn(e,t);let o=null,s=Rn(e,t),a=-1,l=r&ie.Host?t[16][6]:null;for((-1===s||r&ie.SkipSelf)&&(a=-1===s?Pn(e,t):t[s+8],zn(r,!1)?(o=t[1],s=wn(a),t=xn(a,t)):s=-1);-1!==s;){a=t[s+8];const e=t[1];if(Fn(i,s,e.data)){const e=Mn(s,t,n,o,r,l);if(e!==Dn)return e}zn(r,t[1].data[s+8]===l)&&Fn(i,s,t)?(o=e,s=wn(a),t=xn(a,t)):s=-1}}}if(r&ie.Optional&&void 0===i&&(i=null),0==(r&(ie.Self|ie.Host))){const e=t[9],o=We(void 0);try{return e?e.get(n,i,r&ie.Optional):Ke(n,i,r&ie.Optional)}finally{We(o)}}if(r&ie.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${_n(n)}]`)}const Dn={};function Mn(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],l=qn(a,s,n,null==r?function(e){return 2==(2&e.flags)}(a)&&kn:r!=s&&3===a.type,i&ie.Host&&o===a);return null!==l?jn(t,s,l,a):Dn}function qn(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,u=o>>20,c=i?a+u:e.directiveEnd;for(let d=r?a:a+u;d<c;d++){const e=s[d];if(d<l&&n===e||d>=l&&e.type===n)return d}if(i){const e=s[l];if(e&&Et(e)&&e.type===n)return l}return null}function jn(e,t,n,r){let i=e[n];const o=t.data;if(i instanceof mn){const s=i;if(s.resolving)throw new Error("Circular dep for "+_n(o[n]));const a=Tn(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=We(s.injectImpl)),en(e,r);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const r=Ct(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{s.injectImpl&&We(l),Tn(a),s.resolving=!1,sn()}}return i}function Fn(e,t,n){const r=64&e,i=32&e;let o;return o=128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t],!!(o&1<<e)}function zn(e,t){return!(e&ie.Self||e&ie.Host&&t)}class Bn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return An(this._tNode,this._lView,e,void 0,t)}}function Hn(e){const t=e;if(xe(e))return()=>{const e=Hn(Ee(t));return e?e():null};let n=ft(t);if(null===n){const e=de(t);n=e&&e.factory}return n||null}function Vn(e){return X(()=>{const t=e.prototype.constructor,n=t[Ne]||Hn(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const e=i[Ne]||Hn(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function Wn(e){return e.ngDebugContext}function Un(e){return e.ngOriginalError}function $n(e,...t){e.error(...t)}class Qn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||$n}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Wn(e)?Wn(e):this._findContext(Un(e)):null}_findOriginalError(e){let t=Un(e);for(;t&&Un(t);)t=Un(t);return t}}let Kn=!0,Zn=!1;function Gn(){return Zn=!0,Kn}function Xn(e,t){e.__ngContext__=t}function Jn(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Yn(){throw new Error("Cannot mix multi providers and regular providers")}function er(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const n=t.length;if(i+n===r||e.charCodeAt(i+n)<=32)return i}n=i+1}}const tr="ng-template";function nr(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==er(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function rr(e){return 0===e.type&&e.tagName!==tr}function ir(e,t,n){return t===(0!==e.type||n?e.tagName:tr)}function or(e,t,n){let r=4;const i=e.attrs||[],o=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(i);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!ir(e,l,n)||""===l&&1===t.length){if(sr(r))return!1;s=!0}}else{const u=8&r?l:t[++a];if(8&r&&null!==e.attrs){if(!nr(e.attrs,u,n)){if(sr(r))return!1;s=!0}continue}const c=ar(8&r?"class":l,i,rr(e),n);if(-1===c){if(sr(r))return!1;s=!0;continue}if(""!==u){let e;e=c>o?"":i[c+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==er(t,u,0)||2&r&&u!==e){if(sr(r))return!1;s=!0}}}}else{if(!s&&!sr(r)&&!sr(l))return!1;if(s&&sr(l))continue;s=!1,r=l|1&r}}return sr(r)||s}function sr(e){return 0==(1&e)}function ar(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let n=!1;for(;i<t.length;){const r=t[i];if(r===e)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function lr(e,t,n=!1){for(let r=0;r<t.length;r++)if(or(e,t[r],n))return!0;return!1}function ur(e,t){return e?":not("+t.trim()+")":t}function cr(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const t=e[++n];i+="["+s+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||sr(s)||(t+=ur(o,i),i=""),r=s,o=o||!sr(r);n++}return""!==i&&(t+=ur(o,i)),t}const dr={};function hr(e){const t=e[3];return bt(t)?t[3]:t}function pr(e){return mr(e[13])}function fr(e){return mr(e[4])}function mr(e){for(;null!==e&&!bt(e);)e=e[4];return e}function yr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];Yt(i),n.contentQueries(2,t[o],o)}}}function gr(e,t,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function vr(e,t,n,r,i,o,s,a,l,u){const c=t.blueprint.slice();return c[0]=i,c[2]=140|r,Ft(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[11]=a||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function br(e,t,n,r,i,o){const s=n+yt,a=e.data[s]||function(e,t,n,r,i,o){const s=Ut(),a=Qt(),l=a?s:s&&s.parent,u=e.data[n]=Tr(0,l&&l!==t?l:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=u),s&&(!a||null!=s.child||null===u.parent&&2!==s.type?a||(s.next=u):s.child=u),u}(e,t,s,r,i,o);return $t(a,!0),a}function wr(e,t,n){tn(t,t[6]);try{const r=e.viewQuery;null!==r&&Ur(1,r,n);const i=e.template;null!==i&&_r(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&yr(e,t),e.staticViewQueries&&Ur(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)Br(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,an()}}function Er(e,t,n,r){const i=t[2];if(256==(256&i))return;tn(t,t[6]);const o=Kt();try{Ft(t),Bt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&_r(e,t,n,2,r);const s=3==(3&i);if(!o)if(s){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,null),hn(t,0)}if(function(e){for(let t=pr(e);null!==t;t=fr(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&zt(r,1),n[2]|=1024}}}(t),function(e){for(let t=pr(e);null!==t;t=fr(t))for(let e=gt;e<t.length;e++){const n=t[e],r=n[1];qt(n)&&Er(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&yr(e,t),!o)if(s){const n=e.contentCheckHooks;null!==n&&cn(t,n)}else{const n=e.contentHooks;null!==n&&dn(t,n,1),hn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,i=-1,o=-1;for(let e=0;e<n.length;e++){const s=n[e];"number"==typeof s?s<=0?(o=0-s,ln(o),r+=9+n[++e],i=r):r+=s:(null!==s&&(Gt(r,i),s(2,t[i])),i++)}}}finally{ln(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)zr(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&Ur(2,l,r),!o)if(s){const n=e.viewCheckHooks;null!==n&&cn(t,n)}else{const n=e.viewHooks;null!==n&&dn(t,n,2),hn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,zt(t[3],-1))}finally{an()}}function xr(e,t,n,r){const i=t[10],o=!Kt(),s=Mt(t);try{o&&!s&&i.begin&&i.begin(),s&&wr(e,t,r),Er(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function _r(e,t,n,r,i){const o=Bt.lFrame.selectedIndex;try{ln(-1),2&r&&t.length>yt&&function(e,t,n,r){if(!r)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&cn(t,n,0)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,0)}ln(0)}(e,t,0,Kt()),n(r,i)}finally{ln(o)}}function Sr(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Cr(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Cr(e,t,n,r,i,o,s,a,l,u){const c=yt+r,d=c+i,h=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:dr);return n}(c,d),p="function"==typeof u?u():u;return h[1]={type:e,id:t,blueprint:h,template:n,queries:null,viewQuery:a,node:null,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function kr(e,t,n,r){const i=(o=t)[7]||(o[7]=[]);var o;i.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,i.length-1)}function Tr(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Or(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Lr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Ir(e,t,n){for(let r=0;r<n;r++)t.push(dr),e.blueprint.push(dr),e.data.push(null)}function Rr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Pr(e,t,n){const r=yt-t.index,i=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Nr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ar(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Et(t)&&(n[""]=e)}}function Dr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Mr(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ft(n.type)),i=new mn(r,Et(n),null);e.blueprint.push(i),t.push(i)}function qr(e,t,n){const r=Nt(t,e),i=Sr(n),o=e[10],s=Hr(e,vr(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=s}function jr(e,t,n,r,i,o){const s=o[t];if(null!==s){const e=r.setInput;for(let t=0;t<s.length;){const i=s[t++],o=s[t++],a=s[t++];null!==e?r.setInput(n,a,i,o):n[o]=a}}}function Fr(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function zr(e,t){const n=At(t,e);if(qt(n)){const e=n[1];80&n[2]?Er(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=pr(t);null!==r;r=fr(r))for(let t=gt;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];Er(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=At(n[r],t);qt(i)&&i[5]>0&&e(i)}}(n)}}function Br(e,t){const n=At(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),wr(r,n,n[8])}function Hr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Vr(e,t,n){const r=t[10];r.begin&&r.begin();try{Er(e,t,e.template,n)}catch(i){throw function(e,t){const n=e[9],r=n?n.get(Qn,null):null;r&&r.handleError(t)}(t,i),i}finally{r.end&&r.end()}}function Wr(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Dt(n),i=r[1];xr(i,r,i.template,n)}}(e[8])}function Ur(e,t,n){Yt(0),t(e,n)}const $r=(()=>Promise.resolve(null))();function Qr(e,t){const n=t[3];return-1===e.index?bt(n)?n:null:n}function Kr(e,t){const n=Qr(e,t);return n?oi(t[11],n[7]):null}function Zr(e,t,n,r,i){if(null!=r){let o,s=!1;bt(r)?o=r:vt(r)&&(s=!0,r=r[0]);const a=Pt(r);0===e&&null!==n?null==i?ri(t,n,a):ni(t,n,a,i||null):1===e&&null!==n?ni(t,n,a,i||null):2===e?function(e,t,n){const r=oi(e,t);r&&function(e,t,n,r){It(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){const o=n[7];o!==Pt(n)&&Zr(t,e,r,o,i);for(let s=gt;s<n.length;s++){const i=n[s];ui(i[1],i,e,t,r,o)}}(t,e,o,n,i)}}function Gr(e,t,n,r){const i=Kr(e.node,t);i&&ui(e,t,t[11],n?1:2,i,r)}function Xr(e,t){const n=e[9],r=n.indexOf(t);1024&t[2]&&zt(t[3],-1),n.splice(r,1)}function Jr(e,t){if(e.length<=gt)return;const n=gt+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Xr(i,r),t>0&&(e[n-1][4]=r[4]);const o=et(e,gt+t);Gr(r[1],r,!1,null);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Yr(e,t){if(!(256&t[2])){const n=t[11];It(n)&&n.destroyNode&&ui(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ti(e[1],e);for(;t;){let n=null;if(vt(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)vt(t)&&ti(t[1],t),t=ei(t,e);null===t&&(t=e),vt(t)&&ti(t[1],t),n=t&&t[4]}t=n}}(t)}}function ei(e,t){let n;return vt(e)&&(n=e[6])&&2===n.type?Qr(n,e):e[3]===t?null:e[3]}function ti(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof mn)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],o="function"==typeof i?i(t):Pt(t[i]),s=e[n[r+2]],a=n[r+3];"boolean"==typeof a?o.removeEventListener(n[r],s,a):a>=0?e[a]():e[-a].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&It(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&bt(t[3])){r!==t[3]&&Xr(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function ni(e,t,n,r){It(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ri(e,t,n){It(e)?e.appendChild(t,n):t.appendChild(n)}function ii(e,t,n,r){null!==r?ni(e,t,n,r):ri(e,t,n)}function oi(e,t){return It(e)?e.parentNode(t):t.parentNode}function si(e,t,n,r){const i=function(e,t,n){let r=t.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){const e=n[6];return 2===e.type?Kr(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Nt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==nt.ShadowDom&&n!==nt.Native)return null}return Nt(r,n)}(e,r,t);if(null!=i){const e=t[11],o=function(e,t){if(2===e.type){const n=Qr(e,t);return null===n?null:ai(n.indexOf(t,gt)-gt,n)}return 4===e.type||5===e.type?Nt(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)ii(e,i,n[t],o);else ii(e,i,n,o)}}function ai(e,t){const n=gt+e+1;if(n<t.length){const e=t[n],r=e[1].firstChild;if(null!==r)return function e(t,n){if(null!==n){const r=n.type;if(3===r)return Nt(n,t);if(0===r)return ai(-1,t[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return e(t,r);{const e=t[n.index];return bt(e)?ai(-1,e):Pt(e)}}{const r=t[16],i=r[6],o=hr(r),s=i.projection[n.projection];return null!=s?e(o,s):e(t,n.next)}}return null}(e,r)}return t[7]}function li(e,t,n,r,i,o,s){for(;null!=n;){const a=r[n.index],l=n.type;s&&0===t&&(a&&Xn(Pt(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(li(e,t,n.child,r,i,o,!1),Zr(t,e,i,a,o)):1===l?ci(e,t,r,n,i,o):Zr(t,e,i,a,o)),n=s?n.projectionNext:n.next}}function ui(e,t,n,r,i,o){li(n,r,e.node.child,t,i,o,!1)}function ci(e,t,n,r,i,o){const s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Zr(t,e,i,a[l],o);else li(e,t,a,s[3],i,o,!0)}function di(e,t,n){It(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function hi(e,t,n){It(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class pi{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,r,i,o=!1){for(;null!==r;){const s=n[r.index];if(null!==s&&i.push(Pt(s)),bt(s))for(let t=gt;t<s.length;t++){const n=s[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,i)}const a=r.type;if(4===a||5===a)e(t,n,r.child,i);else if(1===a){const t=n[16],o=t[6].projection[r.projection];if(Array.isArray(o))i.push(...o);else{const n=hr(t);e(n[1],n,o,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}onDestroy(e){kr(this._lView[1],this._lView,null,e)}markForCheck(){!function(e){for(;e;){e[2]|=64;const t=hr(e);if(xt(e)&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Zt(!0);try{Vr(e,t,n)}finally{Zt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,ui(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class fi extends pi{constructor(e){super(e),this._view=e}detectChanges(){Wr(this._view)}checkNoChanges(){!function(e){Zt(!0);try{Wr(e)}finally{Zt(!1)}}(this._view)}get context(){return null}}let mi,yi,gi;function vi(e,t,n){return mi||(mi=class extends e{}),new mi(Nt(t,n))}function bi(e,t,n,r){return yi||(yi=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=vr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),wr(t,n,e),new pi(n)}}),0===n.type?new yi(r,n,vi(t,n,r)):null}function wi(e,t,n,r){let i;gi||(gi=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return vi(t,this._hostTNode,this._hostView)}get injector(){return new Bn(this._hostTNode,this._hostView)}get parentInjector(){const e=Pn(this._hostTNode,this._hostView),t=xn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let r=En(e),i=t,o=t[6];for(;r>1;)i=i[15],o=i[6],r--;return o}(e,this._hostView,this._hostTNode);return bn(e)&&null!=n?new Bn(n,t):new Bn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-gt}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){const e=o.get(Xe,null);e&&(i=e)}const s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),bt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new gi(t,t[6],t[3]);r.detach(r.indexOf(e))}}const i=this._adjustIndex(t);return function(e,t,n,r){const i=gt+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-gt?(t[4]=n[i],Ye(n,gt+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,this._lContainer,i),Gr(r,n,!0,ai(i,this._lContainer)),e.attachToViewContainerRef(this),Ye(this._lContainer[8],i,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);n&&(et(this._lContainer[8],t),Yr(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Jr(this._lContainer,t);return n&&null!=et(this._lContainer[8],t)?new pi(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const o=r[n.index];if(bt(o))i=o;else{let e;if(4===n.type)e=Pt(o);else if(e=r[11].createComment(""),xt(r)){const t=r[11],i=Nt(n,r);ni(t,oi(t,i),e,function(e,t){return It(e)?e.nextSibling(t):t.nextSibling}(t,i))}else si(r[1],r,e,n);r[n.index]=i=new Array(o,!0,!1,r,null,0,n,e,null,null),Hr(r,i)}return new gi(i,n,r)}const Ei=new De("Set Injector scope."),xi={},_i={},Si=[];let Ci=void 0;function ki(){return void 0===Ci&&(Ci=new Ge),Ci}function Ti(e,t=null,n=null,r){return new Oi(e,n,t||ki(),r)}class Oi{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&Je(t,n=>this.processProvider(n,e,t)),Je([e],e=>this.processInjectorType(e,[],i)),this.records.set(Me,Ii(void 0,this));const o=this.records.get(Ei);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:ge(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=qe,n=ie.Default){this.assertNotDestroyed();const r=Ve(this);try{if(!(n&ie.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof De)&&ue(e);t=n&&this.injectableDefInScope(n)?Ii(Li(e),xi):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&ie.Self?ki():this.parent).get(e,t=n&ie.Optional&&t===qe?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ge(e)),r)throw o;return function(e,t,n,r){const i=e.ngTempTokenPath;throw t[Fe]&&i.unshift(t[Fe]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ge(t);if(Array.isArray(t))i=t.map(ge).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ge(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(je,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{Ve(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ge(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=Ee(e)))return!1;let r=de(e);const i=null==r&&e.ngModule||void 0,o=void 0===i?e:i,s=-1!==n.indexOf(o);if(void 0!==i&&(r=de(i)),null==r)return!1;if(null!=r.imports&&!s){let e;n.push(o);try{Je(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];Je(r,e=>this.processProvider(e,n,r||Si))}}this.injectorDefTypes.add(o),this.records.set(o,Ii(r.factory,xi));const a=r.providers;if(null!=a&&!s){const t=e;Je(a,e=>this.processProvider(e,t,a))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let r=Pi(e=Ee(e))?e:Ee(e&&e.provide);const i=function(e,t,n){return Ri(e)?Ii(void 0,e.useValue):Ii(function(e,t,n){let r=void 0;if(Pi(e)){const t=Ee(e);return ft(t)||Li(t)}if(Ri(e))r=()=>Ee(e.useValue);else if((i=e)&&i.useFactory)r=()=>e.useFactory(...Ze(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>$e(Ee(e.useExisting));else{const i=Ee(e&&(e.useClass||e.provide));if(i||function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${ge(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return ft(i)||Li(i);r=()=>new i(...Ze(e.deps))}var i;return r}(e,t,n),xi)}(e,t,n);if(Pi(e)||!0!==e.multi){const e=this.records.get(r);e&&void 0!==e.multi&&Yn()}else{let t=this.records.get(r);t?void 0===t.multi&&Yn():(t=Ii(void 0,xi,!0),t.factory=()=>Ze(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,i)}hydrate(e,t){var n;return t.value===_i?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(ge(e)):t.value===xi&&(t.value=_i,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Li(e){const t=ue(e),n=null!==t?t.factory:ft(e);if(null!==n)return n;const r=de(e);if(null!==r)return r.factory;if(e instanceof De)throw new Error(`Token ${ge(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${ge(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[he]||e[me]||e[fe]&&e[fe]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ii(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Ri(e){return null!==e&&"object"==typeof e&&ze in e}function Pi(e){return"function"==typeof e}const Ni=function(e,t,n){return function(e,t=null,n=null,r){const i=Ti(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};let Ai=(()=>{class e{static create(e,t){return Array.isArray(e)?Ni(e,t,""):Ni(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=qe,e.NULL=new Ge,e.\u0275prov=ae({token:e,providedIn:"any",factory:()=>$e(Me)}),e.__NG_ELEMENT_ID__=-1,e})();function Di(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const e=t[s];"number"==typeof e?o=e:1==o?i=ve(i,e):2==o&&(r=ve(r,e+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}let Mi=null;function qi(){if(!Mi){const e=Te.Symbol;if(e&&e.iterator)Mi=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Mi=n)}}}return Mi}function ji(e){return!!Fi(e)&&(Array.isArray(e)||!(e instanceof Map)&&qi()in e)}function Fi(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function zi(e,t=ie.Default){const n=Vt();return null==n?$e(e,t):An(Ut(),n,Ee(e),t)}function Bi(e,t,n,r,i){const o=i?"class":"style";!function(e,t,n,r,i){for(let o=0;o<n.length;){const s=n[o++],a=n[o++],l=t[s],u=e.data[s];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}(e,n,t.inputs[o],o,r)}function Hi(e,t,n,r){const i=Vt(),o=Wt(),s=yt+e,a=i[11],l=i[s]=gr(t,a,Bt.lFrame.currentNamespace),u=o.firstCreatePass?function(e,t,n,r,i,o,s){const a=t.consts,l=jt(a,o),u=br(t,n[6],e,3,i,l);return function(e,t,n,r){let i=!1;if(Ht()){const o=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let o=0;o<r.length;o++){const s=r[o];lr(n,s.selectors,!1)&&(i||(i=[]),Nn(Ln(n,t),e,s.type),Et(s)?(2&n.flags&&Jn(n),Nr(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){let r=0;i=!0,Dr(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}Pr(e,n,o.length);let a=!1,l=!1;for(let i=0;i<o.length;i++){const u=o[i];n.mergedAttrs=gn(n.mergedAttrs,u.hostAttrs),Mr(e,t,u),Ar(e.data.length-1,u,s),null!==u.contentQueries&&(n.flags|=8),null===u.hostBindings&&null===u.hostAttrs&&0===u.hostVars||(n.flags|=128);const c=u.type.prototype;!a&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-yt),a=!0),l||!c.ngOnChanges&&!c.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-yt),l=!0),Lr(e,u),r+=u.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,i=t.attrs,o=[];let s=null,a=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,u=null===i||rr(t)?null:Fr(n,i);o.push(u),s=Or(n,l,s),a=Or(e.outputs,l,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n),Ir(e,t,r)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const i=n[t[e+1]];if(null==i)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],i)}}}(n,r,s)}n.mergedAttrs=gn(n.mergedAttrs,n.attrs)}(t,n,u,jt(a,s)),null!==u.attrs&&Di(u,u.attrs,!1),null!==u.mergedAttrs&&Di(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,o,i,0,t,n,r):o.data[s];$t(u,!0);const c=u.mergedAttrs;null!==c&&yn(a,l,c);const d=u.classes;null!==d&&hi(a,l,d);const h=u.styles;null!==h&&di(a,l,h),si(o,i,l,u),0===Bt.lFrame.elementDepthCount&&Xn(l,i),Bt.lFrame.elementDepthCount++,function(e){return 1==(1&e.flags)}(u)&&(function(e,t,n){Ht()&&(function(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Ln(n,t),Xn(r,t);const s=n.initialInputs;for(let a=i;a<o;a++){const r=e.data[a],o=Et(r);o&&qr(t,n,r);const l=jn(t,e,a,n);Xn(l,t),null!==s&&jr(0,a-i,l,r,0,s),o&&(At(n.index,t)[8]=l)}}(e,t,n,Nt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,s=e.firstCreatePass,a=n.index-yt,l=Bt.lFrame.currentDirectiveIndex;try{ln(a);for(let n=r;n<i;n++){const r=e.data[n],i=t[n];Xt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Rr(r,i):s&&o.push(null)}}finally{ln(-1),Xt(l)}}(e,t,n))}(o,i,u),function(e,t,n){if(wt(t)){const r=t.directiveEnd;for(let i=t.directiveStart;i<r;i++){const t=e.data[i];t.contentQueries&&t.contentQueries(1,n[i],i)}}}(o,u,i)),null!==r&&function(e,t,n=Nt){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}(i,u)}function Vi(){let e=Ut();Qt()?Bt.lFrame.isParent=!1:(e=e.parent,$t(e,!1));const t=e;Bt.lFrame.elementDepthCount--;const n=Wt();n.firstCreatePass&&(un(n,e),wt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Bi(n,t,Vt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Bi(n,t,Vt(),t.stylesWithoutHost,!1)}function Wi(e,t,n,r){Hi(e,t,n,r),Vi()}function Ui(e){return!!e&&"function"==typeof e.then}function $i(e,t){const n=Dt(e)[1],r=n.data.length-1;un(n,{directiveStart:r,directiveEnd:r+1})}function Qi(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const r=[e];for(;t;){let i=void 0;if(Et(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const t=e;t.inputs=Ki(e.inputs),t.declaredInputs=Ki(e.declaredInputs),t.outputs=Ki(e.outputs);const n=i.hostBindings;n&&Xi(e,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Zi(e,o),s&&Gi(e,s),se(e.inputs,i.inputs),se(e.declaredInputs,i.declaredInputs),se(e.outputs,i.outputs),Et(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let r=0;r<t.length;r++){const i=t[r];i&&i.ngInherit&&i(e),i===Qi&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=gn(i.hostAttrs,n=gn(n,i.hostAttrs))}}(r)}function Ki(e){return e===rt?{}:e===it?[]:e}function Zi(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function Gi(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,i)=>{t(e,r,i),n(e,r,i)}:t}function Xi(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}class Ji{}class Yi{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ge(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let eo=(()=>{class e{}return e.NULL=new Yi,e})(),to=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>no(e),e})();const no=function(e){return vi(e,Ut(),Vt())};class ro{}var io=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let oo=(()=>{class e{}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>null}),e})();class so{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const ao=new so("10.1.0");class lo{constructor(){}supports(e){return ji(e)}create(e){return new co(e)}}const uo=(e,t)=>t;class co{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||uo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<mo(n,r,i)?t:n,s=mo(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=s-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}s!==a&&e(o,s,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ji(e))throw new Error(`Error trying to diff '${ge(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[qi()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new ho(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new fo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class ho{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class po{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class fo{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new po,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function mo(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class yo{constructor(){}supports(e){return e instanceof Map||Fi(e)}create(){return new go}}class go{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Fi(e)))throw new Error(`Error trying to diff '${ge(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new vo(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class vo{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let bo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>new e([new lo])}),e})(),wo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new re,new te]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=ae({token:e,providedIn:"root",factory:()=>new e([new yo])}),e})();const Eo=[new yo],xo=new bo([new lo]),_o=new wo(Eo);let So=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Co(e,to),e})();const Co=function(e,t){return bi(e,t,Ut(),Vt())};let ko=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>To(e,to),e})();const To=function(e,t){return wi(e,t,Ut(),Vt())},Oo={};class Lo extends eo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=pt(e);return new Po(t,this.ngModule)}}function Io(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Ro=new De("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Sn});class Po extends Ji{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(cr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Io(this.componentDef.inputs)}get outputs(){return Io(this.componentDef.outputs)}create(e,t,n,r){const i=(r=r||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const o=e.get(n,Oo,i);return o!==Oo||r===Oo?o:t.get(n,r,i)}}}(e,r.injector):e,o=i.get(ro,Rt),s=i.get(oo,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(e,t,n){if(It(e))return e.selectRootElement(t,n===nt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(a,n,this.componentDef.encapsulation):gr(l,o.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,d={components:[],scheduler:Sn,clean:$r,playerHandler:null,flags:0},h=Cr(0,-1,null,1,0,null,null,null,null,null),p=vr(null,h,d,c,null,null,o,a,s,i);let f,m;tn(p,null);try{const e=function(e,t,n,r,i,o){const s=n[1];n[20]=e;const a=br(s,null,0,3,null,null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(Di(a,l,!0),null!==e&&(yn(i,e,l),null!==a.classes&&hi(i,e,a.classes),null!==a.styles&&di(i,e,a.styles)));const u=r.createRenderer(e,t),c=vr(n,Sr(t),null,t.onPush?64:16,n[20],a,r,u,void 0);return s.firstCreatePass&&(Nn(Ln(a,n),s,t.type),Nr(s,a),Dr(a,n.length,1)),Hr(n,c),n[20]=c}(u,this.componentDef,p,o,a);if(u)if(n)yn(a,u,["ng-version",ao.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!sr(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(a,u,e),t&&t.length>0&&hi(a,u,t.join(" "))}if(m=h.data[20],void 0!==t){const e=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}f=function(e,t,n,r,i){const o=n[1],s=function(e,t,n){const r=Ut();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Pr(e,r,1),Mr(e,t,n));const i=jn(t,e,t.length-1,r);Xn(i,t);const o=Nt(r,t);return o&&Xn(o,t),i}(o,n,t);r.components.push(s),e[8]=s,i&&i.forEach(e=>e(s,t)),t.contentQueries&&t.contentQueries(1,s,n.length-1);const a=Ut();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){ln(a.index-yt);const e=n[1];Lr(e,t),Ir(e,n,t.hostVars),Rr(t,s)}return s}(e,this.componentDef,p,d,[$i]),wr(h,p,null)}finally{an()}const y=new No(this.componentType,f,vi(to,m,p),p,m);return h.node.child=m,y}}class No extends class{}{constructor(e,t,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new fi(r),function(e,t,n,r){let i=e.node;null==i&&(e.node=i=Tr(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=e}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const Ao=void 0;var Do=["en",[["a","p"],["AM","PM"],Ao],[["AM","PM"],Ao,Ao],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ao,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ao,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ao,"{1} 'at' {0}",Ao],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Mo={};function qo(e){return e in Mo||(Mo[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),Mo[e]}var jo=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Fo="en-US";let zo=Fo;function Bo(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(zo=e.toLowerCase().replace(/_/g,"-"))}const Ho=new Map;class Vo extends Xe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Lo(this);const n=mt(e),r=e[Pe]||null;r&&Bo(r),this._bootstrapComponents=Cn(n.bootstrap),this._r3Injector=Ti(e,t,[{provide:Xe,useValue:this},{provide:eo,useValue:this.componentFactoryResolver}],ge(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ai.THROW_IF_NOT_FOUND,n=ie.Default){return e===Ai||e===Xe||e===Me?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Wo extends class{}{constructor(e){super(),this.moduleType=e,null!==mt(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ge(t)} vs ${ge(t.name)}`)})(e,Ho.get(e),t),Ho.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Vo(this.moduleType,e)}}const Uo=class extends _{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,i,o);return e instanceof d&&e.add(s),s}};function $o(){return this._results[qi()]()}class Qo{constructor(){this.dirty=!0,this._results=[],this.changes=new Uo,this.length=0;const e=qi(),t=Qo.prototype;t[e]||(t[e]=$o)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Ko{constructor(e){this.queryList=e,this.matches=null}clone(){return new Ko(this.queryList)}setDirty(){this.queryList.setDirty()}}class Zo{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);r.push(this.queries[n.indexInDeclarationView].clone())}return new Zo(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==os(e,t).matches&&this.queries[t].setDirty()}}class Go{constructor(e,t,n,r=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=r}}class Xo{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const r=null!==t?t.length:0,i=this.getByIndex(n).embeddedTView(e,r);i&&(i.indexInDeclarationView=n,null!==t?t.push(i):t=[i])}return null!==t?new Xo(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Jo{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Jo(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(e,t,Yo(t,i)),this.matchTNodeWithReadOption(e,t,qn(t,e,i,!1,!1))}else n===So?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,qn(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===to||r===ko||r===So&&0===t.type)this.addMatch(t.index,-2);else{const n=qn(t,e,r,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function Yo(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function es(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?vi(to,e,t):0===e.type?bi(So,to,e,t):null}(t,e):-2===n?function(e,t,n){return n===to?vi(to,t,e):n===So?bi(So,to,t,e):n===ko?wi(ko,to,t,e):void 0}(e,t,r):jn(e,e[1],n,t)}function ts(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const r=e.data,o=n.matches,s=[];for(let e=0;e<o.length;e+=2){const i=o[e];s.push(i<0?null:es(t,r[i],o[e+1],n.metadata.read))}i.matches=s}return i.matches}function ns(e){const t=Vt(),n=Wt(),r=Jt();Yt(r+1);const i=os(n,r);if(e.dirty&&Mt(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{const o=i.crossesNgTemplate?function e(t,n,r,i){const o=t.queries.getByIndex(r),s=o.matches;if(null!==s){const a=ts(t,n,o,r);for(let t=0;t<s.length;t+=2){const r=s[t];if(r>0)i.push(a[t/2]);else{const o=s[t+1],a=n[-r];for(let t=gt;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,o,i)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const r=t[n];e(r[1],r,o,i)}}}}}return i}(n,t,r,[]):ts(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function rs(e,t,n){!function(e,t,n,r,i,o){e.firstCreatePass&&function(e,t,n){null===e.queries&&(e.queries=new Xo),e.queries.track(new Jo(t,-1))}(e,new Go(n,r,false,i)),function(e,t){const n=new Qo;kr(e,t,n,n.destroy),null===t[19]&&(t[19]=new Zo),t[19].queries.push(new Ko(n))}(e,t)}(Wt(),Vt(),e,t,n)}function is(){return e=Vt(),t=Jt(),e[19].queries[t].queryList;var e,t}function os(e,t){return e.queries.getByIndex(t)}const ss=new De("Application Initializer");let as=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();Ui(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)($e(ss,8))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const ls=new De("AppId"),us={provide:ls,useFactory:function(){return`${cs()}${cs()}${cs()}`},deps:[]};function cs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ds=new De("Platform Initializer"),hs=new De("Platform ID"),ps=new De("appBootstrapListener");let fs=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const ms=new De("LocaleId"),ys=new De("DefaultCurrencyCode");class gs{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const vs=function(e){return new Wo(e)},bs=vs,ws=function(e){return Promise.resolve(vs(e))},Es=function(e){const t=vs(e),n=Cn(mt(e).declarations).reduce((e,t)=>{const n=pt(t);return n&&e.push(new Po(n)),e},[]);return new gs(t,n)},xs=Es,_s=function(e){return Promise.resolve(Es(e))};let Ss=(()=>{class e{constructor(){this.compileModuleSync=bs,this.compileModuleAsync=ws,this.compileModuleAndAllComponentsSync=xs,this.compileModuleAndAllComponentsAsync=_s}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const Cs=(()=>Promise.resolve(0))();function ks(e){"undefined"==typeof Zone?Cs.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ts{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Uo(!1),this.onMicrotaskEmpty=new Uo(!1),this.onStable=new Uo(!1),this.onError=new Uo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=Te.requestAnimationFrame,t=Te.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rs(e),Is(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rs(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,i,o,s,a)=>{try{return Ps(e),n.invokeTask(i,o,s,a)}finally{t&&"eventTask"===o.type&&t(),Ns(e)}},onInvoke:(t,n,r,i,o,s,a)=>{try{return Ps(e),t.invoke(r,i,o,s,a)}finally{Ns(e)}},onHasTask:(t,n,r,i)=>{t.hasTask(r,i),n===r&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Rs(e),Is(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,r,i)=>(t.handleError(r,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ts.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ts.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ls,Os,Os);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Os(){}const Ls={};function Is(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Rs(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Ps(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ns(e){e._nesting--,Is(e)}class As{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Uo,this.onMicrotaskEmpty=new Uo,this.onStable=new Uo,this.onError=new Uo}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Ds=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ts.assertNotInAngularZone(),ks(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ks(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)($e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ms=(()=>{class e{constructor(){this._applications=new Map,Fs.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Fs.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class qs{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let js,Fs=new qs;const zs=new De("AllowMultipleToken");function Bs(e,t,n=[]){const r="Platform: "+t,i=new De(r);return(t=[])=>{let o=Hs();if(!o||o.injector.get(zs,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:Ei,useValue:"platform"});!function(e){if(js&&!js.destroyed&&!js.injector.get(zs,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");js=e.get(Vs);const t=e.get(ds,null);t&&t.forEach(e=>e())}(Ai.create({providers:e,name:r}))}return function(e){const t=Hs();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Hs(){return js&&!js.destroyed?js:null}let Vs=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new As:("zone.js"===e?void 0:e)||new Ts({enableLongStackTrace:Gn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Ts,useValue:n}];return n.run(()=>{const t=Ai.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get(Qn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>$s(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return Ui(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=i.injector.get(as);return e.runInitializers(),e.donePromise.then(()=>(Bo(i.injector.get(ms,Fo)||Fo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=Ws({},t);return function(e,t,n){const r=new Wo(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Us);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ge(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)($e(Ai))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();function Ws(e,t){return Array.isArray(t)?t.reduce(Ws,e):Object.assign(Object.assign({},e),t)}let Us=(()=>{class e{constructor(e,t,n,r,i,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Gn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new v(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new v(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ts.assertNotInAngularZone(),ks(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ts.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=V(s,a.pipe(e=>{return W()((t=G,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,K);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Ji?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Xe),i=n.create(Ai.NULL,[],t||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(Ds,null);return o&&i.injector.get(Ms).registerApplication(i.location.nativeElement,o),this._loadComponent(i),Gn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;$s(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ps,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),$s(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)($e(Ts),$e(fs),$e(Ai),$e(Qn),$e(eo),$e(as))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();function $s(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Qs=Bs(null,"core",[{provide:hs,useValue:"unknown"},{provide:Vs,deps:[Ai]},{provide:Ms,deps:[]},{provide:fs,deps:[]}]),Ks=[{provide:Us,useClass:Us,deps:[Ts,fs,Ai,Qn,eo,as]},{provide:Ro,deps:[Ts],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:as,useClass:as,deps:[[new te,ss]]},{provide:Ss,useClass:Ss,deps:[]},us,{provide:bo,useFactory:function(){return xo},deps:[]},{provide:wo,useFactory:function(){return _o},deps:[]},{provide:ms,useFactory:function(e){return Bo(e=e||"undefined"!=typeof $localize&&$localize.locale||Fo),e},deps:[[new ee(ms),new te,new re]]},{provide:ys,useValue:"USD"}];let Zs=(()=>{class e{constructor(e){}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Us))},providers:Ks}),e})();class Gs extends d{constructor(e,t){super()}schedule(e,t=0){return this}}class Xs extends Gs{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let Js=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class Ys extends Js{constructor(e,t=Js.now){super(e,()=>Ys.delegate&&Ys.delegate!==this?Ys.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return Ys.delegate&&Ys.delegate!==this?Ys.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}function ea(e,t){return function(n){return n.lift(new ta(e,t))}}class ta{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new na(e,this.predicate,this.thisArg))}}class na extends f{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}class ra{constructor(e){this.project=e}call(e,t){return t.subscribe(new ia(e,this.project))}}class ia extends j{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new q(this),r=this.destination;r.add(n),this.innerSubscription=F(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}class oa extends Xs{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}class sa extends Ys{}const aa=new sa(oa),la=new v(e=>e.complete());let ua=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return function(...e){let t=e[e.length-1];return C(t)?(e.pop(),D(e,t)):H(e)}(this.value);case"E":return e=this.error,new v(t=>t.error(e));case"C":return la}var e;throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class ca extends f{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(ca.dispatch,this.delay,new da(e,this.destination)))}_next(e){this.scheduleMessage(ua.createNext(e))}_error(e){this.scheduleMessage(ua.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(ua.createComplete()),this.unsubscribe()}}class da{constructor(e,t){this.notification=e,this.destination=t}}class ha extends _{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new pa(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let o;if(this.closed)throw new w;if(this.isStopped||this.hasError?o=d.EMPTY:(this.observers.push(e),o=new E(this,e)),r&&e.add(e=new ca(e,r)),t)for(let s=0;s<i&&!e.closed;s++)e.next(n[s]);else for(let s=0;s<i&&!e.closed;s++)e.next(n[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||aa).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let o=0;for(;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}class pa{constructor(e,t){this.time=e,this.value=t}}let fa=null;function ma(){return fa}const ya=new De("DocumentToken");var ga=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class va{}let ba,wa=(()=>{class e extends va{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=qo(t);if(n)return n;const r=t.split("-")[0];if(n=qo(r),n)return n;if("en"===r)return Do;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[jo.PluralCase]}(t||this.locale)(e)){case ga.Zero:return"zero";case ga.One:return"one";case ga.Two:return"two";case ga.Few:return"few";case ga.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)($e(ms))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ea=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[{provide:va,useClass:wa}]}),e})();function xa(e){return"browser"===e}function _a(e){return"server"===e}try{ba="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(yh){ba=!1}let Sa=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?xa(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!ba)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)($e(hs))},e.\u0275prov=ae({factory:function(){return new e($e(hs))},token:e,providedIn:"root"}),e})(),Ca=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)}}),e})();const ka=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let Ta=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window,t="cdk-overlay-container";if(e||ka){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const n=this._document.createElement("div");n.classList.add(t),ka?n.setAttribute("platform","test"):e||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return e.\u0275fac=function(t){return new(t||e)($e(ya),$e(Sa))},e.\u0275prov=ae({factory:function(){return new e($e(ya),$e(Sa))},token:e,providedIn:"root"}),e})();const Oa=(()=>{const e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector})(),La={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return La.schedule(e,0);if(void 0===window.requestAnimationFrame)return La.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};function Ia(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){return Oa.call(e,t)}(e,t)||(r=n,0))),r}class Ra{constructor(e,t){this.componentFactory=t.get(eo).resolveComponentFactory(e)}create(e){return new Pa(this.componentFactory,e)}}class Pa{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new ha(1),this.events=this.eventEmitters.pipe(function e(t,n){return"function"==typeof n?r=>r.pipe(e((e,r)=>M(t(e,r)).pipe(k((t,i)=>n(e,t,r,i))))):e=>e.lift(new ra(t))}(e=>V(...e))),this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set,this.ngZone=this.injector.get(Ts),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=La.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Ai.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((e,t)=>"*"===e&&(i=t,!0));for(let o=0,s=n.length;o<s;++o){const e=n[o],s=Ia(e,t,i);-1!==s&&r[s].push(e)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Us).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.implementsOnChanges&&this.unchangedInputs.add(e),this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(k(e=>({name:n,value:e}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=La.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const r=this.unchangedInputs.has(e);this.unchangedInputs.delete(e);const i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new _t(i,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class Na extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Aa(e,t){e.forEach(({propName:e})=>{Object.defineProperty(t,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})}class Da extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Da,fa||(fa=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=qa||(qa=document.querySelector("base"),qa)?qa.getAttribute("href"):null;return null==t?null:(n=t,Ma||(Ma=document.createElement("a")),Ma.setAttribute("href",n),"/"===Ma.pathname.charAt(0)?Ma.pathname:"/"+Ma.pathname);var n}resetBaseElement(){qa=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,e)}}let Ma,qa=null;const ja=new De("TRANSITION_ID"),Fa=[{provide:ss,useFactory:function(e,t,n){return()=>{n.get(as).donePromise.then(()=>{const n=ma();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[ja,ya,Ai],multi:!0}];class za{static init(){!function(e){Fs=e}(new za)}addToWindow(e){Te.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Te.getAllAngularTestabilities=()=>e.getAllTestabilities(),Te.getAllAngularRootElements=()=>e.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(e=>{const t=Te.getAllAngularTestabilities();let n=t.length,r=!1;const i=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?ma().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Ba=new De("EventManagerPlugins");let Ha=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)($e(Ba),$e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Va{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=ma().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Wa=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ua=(()=>{class e extends Wa{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>ma().remove(e))}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const $a={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Qa=/%COMP%/g;function Ka(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?Ka(e,i,n):(i=i.replace(Qa,e),n.push(i))}return n}function Za(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ga=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Xa(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case nt.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ja(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case nt.Native:case nt.ShadowDom:return new Ya(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Ka(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)($e(Ha),$e(Ua),$e(ls))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Xa{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS($a[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=$a[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=$a[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&io.DashCase?e.style.setProperty(t,n,r&io.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&io.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Za(n)):this.eventManager.addEventListener(e,t,Za(n))}}class Ja extends Xa{constructor(e,t,n,r){super(e),this.component=n;const i=Ka(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Qa,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Qa,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Ya extends Xa{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===nt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=Ka(r.id,r.styles,[]);for(let o=0;o<i.length;o++){const e=document.createElement("style");e.textContent=i[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let el=(()=>{class e extends Va{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const tl=["alt","control","meta","shift"],nl={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rl={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},il={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let ol=(()=>{class e extends Va{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const i=e.parseEventName(n),o=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ma().onAndCancel(t,i.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=e._normalizeKey(n.pop());let o="";if(tl.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=r,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&rl.hasOwnProperty(t)&&(t=rl[t]))}return nl[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),tl.forEach(r=>{r!=n&&(0,il[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return i=>{e.getEventFullKey(i)===t&&r.runGuarded(()=>n(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const sl=Bs(Qs,"browser",[{provide:hs,useValue:"browser"},{provide:ds,useValue:function(){Da.makeCurrent(),za.init()},multi:!0},{provide:ya,useFactory:function(){return function(e){Lt=e}(document),document},deps:[]}]),al=[[],{provide:Ei,useValue:"root"},{provide:Qn,useFactory:function(){return new Qn},deps:[]},{provide:Ba,useClass:el,multi:!0,deps:[ya,Ts,hs]},{provide:Ba,useClass:ol,multi:!0,deps:[ya]},[],{provide:Ga,useClass:Ga,deps:[Ha,Ua,ls]},{provide:ro,useExisting:Ga},{provide:Wa,useExisting:Ua},{provide:Ua,useClass:Ua,deps:[ya]},{provide:Ds,useClass:Ds,deps:[Ts]},{provide:Ha,useClass:Ha,deps:[Ba,Ts]},[]];let ll=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:ls,useValue:t.appId},{provide:ja,useExisting:ls},Fa]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(e,12))},providers:al,imports:[Ea,Zs]}),e})();"undefined"!=typeof window&&window;class ul{}const cl="*";function dl(e,t=null){return{type:2,steps:e,options:t}}function hl(e){return{type:6,styles:e,offset:null}}function pl(e){Promise.resolve(null).then(e)}class fl{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){pl(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class ml{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,r=0;const i=this.players.length;0==i?pl(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function yl(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function gl(e){switch(e.length){case 0:return new fl;case 1:return e[0];default:return new ml(e)}}function vl(e,t,n,r,i={},o={}){const s=[],a=[];let l=-1,u=null;if(r.forEach(e=>{const n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(n=>{let r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case"!":a=i[n];break;case cl:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${s.join(e)}`)}return a}function bl(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&wl(n,"start",e)));break;case"done":e.onDone(()=>r(n&&wl(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&wl(n,"destroy",e)))}}function wl(e,t,n){const r=n.totalTime,i=El(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function El(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function xl(e,t,n){let r;return e instanceof Map?(r=e.get(t),r||e.set(t,r=n)):(r=e[t],r||(r=e[t]=n)),r}function _l(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Sl=(e,t)=>!1,Cl=(e,t)=>!1,kl=(e,t,n)=>[];const Tl=yl();(Tl||"undefined"!=typeof Element)&&(Sl=(e,t)=>e.contains(t),Cl=(()=>{if(Tl||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):Cl}})(),kl=(e,t,n)=>{let r=[];if(n)r.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&r.push(n)}return r});let Ol=null,Ll=!1;function Il(e){Ol||(Ol=("undefined"!=typeof document?document.body:null)||{},Ll=!!Ol.style&&"WebkitAppearance"in Ol.style);let t=!0;return Ol.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Ol.style,!t&&Ll)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Ol.style),t}const Rl=Cl,Pl=Sl,Nl=kl;function Al(e){const t={};return Object.keys(e).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}let Dl=(()=>{class e{validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,r,i,o=[],s){return new fl(n,r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})(),Ml=(()=>{class e{}return e.NOOP=new Dl,e})();const ql="ng-enter",jl="ng-leave",Fl="ng-trigger",zl=".ng-trigger",Bl="ng-animating",Hl=".ng-animating";function Vl(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Wl(parseFloat(t[1]),t[2])}function Wl(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Ul(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let r,i=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};r=Wl(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=Wl(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else r=e;if(!n){let n=!1,o=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:r,delay:i,easing:o}}(e,t,n)}function $l(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function Ql(e,t,n={}){if(t)for(let r in e)n[r]=e[r];else $l(e,n);return n}function Kl(e,t,n){return n?t+":"+n+";":""}function Zl(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style.item(n);t+=Kl(0,r,e.style.getPropertyValue(r))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=Kl(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function Gl(e,t,n){e.style&&(Object.keys(t).forEach(r=>{const i=iu(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),yl()&&Zl(e))}function Xl(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=iu(t);e.style[n]=""}),yl()&&Zl(e))}function Jl(e){return Array.isArray(e)?1==e.length?e[0]:dl(e):e}const Yl=new RegExp("{{\\s*(.+?)\\s*}}","g");function eu(e){let t=[];if("string"==typeof e){let n;for(;n=Yl.exec(e);)t.push(n[1]);Yl.lastIndex=0}return t}function tu(e,t,n){const r=e.toString(),i=r.replace(Yl,(e,r)=>{let i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function nu(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const ru=/-+([a-z0-9])/g;function iu(e){return e.replace(ru,(...e)=>e[1].toUpperCase())}function ou(e,t){return 0===e||0===t}function su(e,t,n){const r=Object.keys(n);if(r.length&&t.length){let o=t[0],s=[];if(r.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var i=1;i<t.length;i++){let n=t[i];s.forEach((function(t){n[t]=lu(e,t)}))}}return t}function au(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function lu(e,t){return window.getComputedStyle(e)[t]}const uu="*";function cu(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=r[1],o=r[2],s=r[3];t.push(pu(i,s)),"<"!=o[0]||i==uu&&s==uu||t.push(pu(s,i))}(e,n,t)):n.push(e),n}const du=new Set(["true","1"]),hu=new Set(["false","0"]);function pu(e,t){const n=du.has(e)||hu.has(e),r=du.has(t)||hu.has(t);return(i,o)=>{let s=e==uu||e==i,a=t==uu||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?du.has(e):hu.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?du.has(t):hu.has(t)),s&&a}}const fu=new RegExp("s*:selfs*,?","g");function mu(e,t,n){return new yu(e).build(t,n)}class yu{constructor(e){this._driver=e}build(e,t){const n=new gu(t);return this._resetContextStyleTimingState(n),au(this,Jl(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0;const i=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,r=n.name;r.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=r}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,r+=i.depCount,o.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach(e=>{if(vu(e)){const t=e;Object.keys(t).forEach(e=>{eu(t[e]).forEach(e=>{o.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=nu(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=au(this,Jl(e.animation),t);return{type:1,matchers:cu(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:bu(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>au(this,e,t)),options:bu(e.options)}}visitGroup(e,t){const n=t.currentTime;let r=0;const i=e.steps.map(e=>{t.currentTime=n;const i=au(this,e,t);return r=Math.max(r,t.currentTime),i});return t.currentTime=r,{type:3,steps:i,options:bu(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return wu(Ul(e,t).duration,0,"");const r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=wu(0,0,"");return e.dynamic=!0,e.strValue=r,e}return n=n||Ul(r,t),wu(n.duration,n.delay,n.easing)}(e.timings,t.errors);let r;t.currentAnimateTimings=n;let i=e.styles?e.styles:hl({});if(5==i.type)r=this.visitKeyframes(i,t);else{let i=e.styles,o=!1;if(!i){o=!0;const e={};n.easing&&(e.easing=n.easing),i=hl(e)}t.currentTime+=n.duration+n.delay;const s=this.visitStyle(i,t);s.isEmptyStep=o,r=s}return t.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==cl?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let r=!1,i=null;return n.forEach(e=>{if(vu(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(let e in t)if(t[e].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let r=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(i!=r&&i>=s.startTime&&r<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=s.startTime),a&&(o[n]={startTime:i,endTime:r}),t.options&&function(e,t,n){const r=t.params||{},i=eu(e);i.length&&i.forEach(e=>{r.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,s=!1,a=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(vu(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),u=0;return null!=l&&(r++,u=n.offset=l),s=s||u<0||u>1,o=o||u<a,a=u,i.push(u),n});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");const u=e.steps.length;let c=0;r>0&&r<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(c=1/(u-1));const d=u-1,h=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,r)=>{const o=c>0?r==d?1:c*r:i[r],s=o*f;t.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:au(this,Jl(e.animation),t),options:bu(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:bu(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:bu(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[i,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(fu,"")),[e=e.replace(/@\*/g,zl).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,Hl),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,xl(t.collectedStyles,t.currentQuerySelector,{});const s=au(this,Jl(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:bu(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ul(e.timings,t.errors,!0);return{type:12,animation:au(this,Jl(e.animation),t),timings:n,options:null}}}class gu{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function vu(e){return!Array.isArray(e)&&"object"==typeof e}function bu(e){var t;return e?(e=$l(e)).params&&(e.params=(t=e.params)?$l(t):null):e={},e}function wu(e,t,n){return{duration:e,delay:t,easing:n}}function Eu(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class xu{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const _u=new RegExp(":enter","g"),Su=new RegExp(":leave","g");function Cu(e,t,n,r,i,o={},s={},a,l,u=[]){return(new ku).buildKeyframes(e,t,n,r,i,o,s,a,l,u)}class ku{buildKeyframes(e,t,n,r,i,o,s,a,l,u=[]){l=l||new xu;const c=new Ou(e,t,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),au(this,n,c);const d=c.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(s).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,c.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[Eu(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let r=t.currentTimeline.currentTime;const i=null!=n.duration?Vl(n.duration):null,o=null!=n.delay?Vl(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),au(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let r=t;const i=e.options;if(i&&(i.params||i.delay)&&(r=t.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Tu);const e=Vl(i.delay);r.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>au(this,e,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let r=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Vl(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);i&&s.delayNextStep(i),au(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return Ul(t.params?tu(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,r=e.options||{},i=r.delay?Vl(r.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Tu);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,r)=>{t.currentQueryIndex=r;const s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(a=s.currentTimeline),au(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=t.currentTimeline;a&&l.delayNextStep(a);const u=l.currentTime;au(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const Tu={};class Ou{constructor(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Tu,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Lu(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let r=this.options;null!=n.duration&&(r.duration=Vl(n.duration)),null!=n.delay&&(r.delay=Vl(n.delay));const i=n.params;if(i){let e=r.params;e||(e=this.options.params={}),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=tu(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const r=t||this.element,i=new Ou(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Tu,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new Iu(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,i,o){let s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(_u,"."+this._enterClassName)).replace(Su,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return i||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class Lu{constructor(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Lu(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||cl,this._currentKeyframe[e]=cl}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&(this._previousKeyframe.easing=t);const i=r&&r.params||{},o=function(e,t){const n={};let r;return e.forEach(e=>{"*"===e?(r=r||Object.keys(t),r.forEach(e=>{n[e]=cl})):Ql(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(o).forEach(e=>{const t=tu(o[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:cl),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],r=e._styleSummary[t];(!n||r.time>n.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,o)=>{const s=Ql(i,!0);Object.keys(s).forEach(n=>{const r=s[n];"!"==r?e.add(n):r==cl&&t.add(n)}),n||(s.offset=o/this.duration),r.push(s)});const i=e.size?nu(e.values()):[],o=t.size?nu(t.values()):[];if(n){const e=r[0],t=$l(e);e.offset=0,t.offset=1,r=[e,t]}return Eu(this.element,r,i,o,this.duration,this.startTime,this.easing,!1)}}class Iu extends Lu{constructor(e,t,n,r,i,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],o=n+t,s=t/o,a=Ql(e[0],!1);a.offset=0,i.push(a);const l=Ql(e[0],!1);l.offset=Ru(s),i.push(l);const u=e.length-1;for(let r=1;r<=u;r++){let s=Ql(e[r],!1);s.offset=Ru((t+s.offset*n)/o),i.push(s)}n=o,t=0,r="",e=i}return Eu(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}}function Ru(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Pu{}class Nu extends Pu{normalizePropertyName(e,t){return iu(e)}normalizeStyleValue(e,t,n,r){let i="";const o=n.toString().trim();if(Au[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&r.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+i}}const Au=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Du(e,t,n,r,i,o,s,a,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}const Mu={};class qu{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return function(e,t,n,r,i){return e.some(e=>e(t,n,r,i))}(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){const r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}build(e,t,n,r,i,o,s,a,l,u){const c=[],d=this.ast.options&&this.ast.options.params||Mu,h=this.buildStyles(n,s&&s.params||Mu,c),p=a&&a.params||Mu,f=this.buildStyles(r,p,c),m=new Set,y=new Map,g=new Map,v="void"===r,b={params:Object.assign(Object.assign({},d),p)},w=u?[]:Cu(e,t,this.ast.animation,i,o,h,f,b,l,c);let E=0;if(w.forEach(e=>{E=Math.max(e.duration+e.delay,E)}),c.length)return Du(t,this._triggerName,n,r,v,h,f,[],[],y,g,E,c);w.forEach(e=>{const n=e.element,r=xl(y,n,{});e.preStyleProps.forEach(e=>r[e]=!0);const i=xl(g,n,{});e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&m.add(n)});const x=nu(m.values());return Du(t,this._triggerName,n,r,v,h,f,w,x,y,g,E)}}class ju{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},r=$l(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let o=i[e];o.length>1&&(o=tu(o,r,t)),n[e]=o})}}),n}}class Fu{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new ju(e.style,e.options&&e.options.params||{})}),zu(this.states,"true","1"),zu(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new qu(e,t,this.states))}),this.fallbackTransition=new qu(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(i=>i.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function zu(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Bu=new xu;class Hu{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],r=mu(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}_buildPlayer(e,t,n){const r=e.element,i=vl(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const r=[],i=this._animations[e];let o;const s=new Map;if(i?(o=Cu(this._driver,t,i,ql,jl,{},{},n,Bu,r),o.forEach(e=>{const t=xl(s,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),o=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));s.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,cl)})});const a=gl(o.map(e=>{const t=s.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=a,a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,r){const i=El(t,"","","");return bl(this._getPlayer(e),n,i,r),()=>{}}command(e,t,n,r){if("register"==n)return void this.register(e,r[0]);if("create"==n)return void this.create(e,t,r[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const Vu="ng-animate-queued",Wu="ng-animate-disabled",Uu=".ng-animate-disabled",$u=[],Qu={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ku={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Zu{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(r=n?e.value:e)?r:null,n){const t=$l(e);delete t.value,this.options=t}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Gu="void",Xu=new Zu(Gu);class Ju{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,oc(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const o=xl(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};o.push(s);const a=xl(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(oc(e,Fl),oc(e,"ng-trigger-"+t),a[t]=Xu),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,r=!0){const i=this._getTrigger(t),o=new ec(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(oc(e,Fl),oc(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const l=new Zu(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[t]=l,a||(a=Xu),l.value!==Gu&&a.value===l.value){if(!function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(a.params,l.params)){const t=[],n=i.matchStyles(a.value,a.params,t),r=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{Xl(e,n),Gl(e,r)})}return}const u=xl(this._engine.playersByElement,e,[]);u.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let c=i.matchTransition(a.value,l.value,e,l.params),d=!1;if(!c){if(!r)return;c=i.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(oc(e,Vu),o.onStart(()=>{sc(e,Vu)})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),u.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,zl,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,r){const i=this._engine.statesByElement.get(e);if(i){const o=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Gu,r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&gl(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const r=t.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,o=this._engine.statesByElement.get(e)[r]||Xu,s=new Zu(Gu),a=new ec(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:i,fromState:o,toState:s,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)r=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{const r=e.__ng_removed;r&&r!==Qu||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){oc(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach(t=>{if(t.name==n.triggerName){const r=El(i,n.triggerName,n.fromState.value,n.toState.value);r._data=e,bl(n.player,t.phase,r,t.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,r=t.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class Yu{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Ju(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let r=0;r<e.length;r++){const i=n[e[r]].namespaceId;if(i){const e=this._fetchNamespace(i);e&&t.add(e)}}}return t}trigger(e,t,n,r){if(tc(t)){const i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!tc(t))return;const i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const r=this._fetchNamespace(e);r&&r.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),oc(e,Wu)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),sc(e,Wu))}removeNode(e,t,n,r){if(tc(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,r,i){return tc(t)?this._fetchNamespace(e).listen(t,n,r,i):()=>{}}_buildInstruction(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,zl,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Hl,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return gl(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Qu,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Uu)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Uu,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)oc(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?gl(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new xu,r=[],i=new Map,o=[],s=new Map,a=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)u.add(t[n])});const c=this.bodyNode,d=Array.from(this.statesByElement.keys()),h=ic(d,this.collectedEnterElements),p=new Map;let f=0;h.forEach((e,t)=>{const n=ql+f++;p.set(t,n),e.forEach(e=>oc(e,n))});const m=[],y=new Set,g=new Set;for(let I=0;I<this.collectedLeaveElements.length;I++){const e=this.collectedLeaveElements[I],t=e.__ng_removed;t&&t.setForRemoval&&(m.push(e),y.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>y.add(e)):g.add(e))}const v=new Map,b=ic(d,Array.from(y));b.forEach((e,t)=>{const n=jl+f++;v.set(t,n),e.forEach(e=>oc(e,n))}),e.push(()=>{h.forEach((e,t)=>{const n=p.get(t);e.forEach(e=>sc(e,n))}),b.forEach((e,t)=>{const n=v.get(t);e.forEach(e=>sc(e,n))}),m.forEach(e=>{this.processLeaveNode(e)})});const w=[],E=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(w.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const u=!c||!this.driver.containsElement(c,i),d=v.get(i),h=p.get(i),f=this._buildInstruction(e,n,h,d,u);if(f.errors&&f.errors.length)E.push(f);else{if(u)return t.onStart(()=>Xl(i,f.fromStyles)),t.onDestroy(()=>Gl(i,f.toStyles)),void r.push(t);if(e.isFallbackTransition)return t.onStart(()=>Xl(i,f.fromStyles)),t.onDestroy(()=>Gl(i,f.toStyles)),void r.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,f.timelines),o.push({instruction:f,player:t,element:i}),f.queriedElements.forEach(e=>xl(s,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=a.get(t);e||a.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let r=l.get(t);r||l.set(t,r=new Set),n.forEach(e=>r.add(e))})}});if(E.length){const e=[];E.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,_=new Map;o.forEach(e=>{const t=e.element;n.has(t)&&(_.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),r.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{xl(x,t,[]).push(e),e.destroy()})});const S=m.filter(e=>lc(e,a,l)),C=new Map;rc(C,this.driver,g,l,cl).forEach(e=>{lc(e,a,l)&&S.push(e)});const k=new Map;h.forEach((e,t)=>{rc(k,this.driver,new Set(e),a,"!")}),S.forEach(e=>{const t=C.get(e),n=k.get(e);C.set(e,Object.assign(Object.assign({},t),n))});const T=[],O=[],L={};o.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(u.has(t))return o.onDestroy(()=>Gl(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);let e=L;if(_.size>1){let n=t;const r=[];for(;n=n.parentNode;){const t=_.get(n);if(t){e=t;break}r.push(n)}r.forEach(t=>_.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,x,i,k,C);if(o.setRealPlayer(n),e===L)T.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=gl(t)),r.push(o)}}else Xl(t,s.fromStyles),o.onDestroy(()=>Gl(t,s.toStyles)),O.push(o),u.has(t)&&r.push(o)}),O.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=gl(t);e.setRealPlayer(n)}}),r.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let I=0;I<m.length;I++){const e=m[I],t=e.__ng_removed;if(sc(e,jl),t&&t.hasAnimation)continue;let n=[];if(s.size){let t=s.get(e);t&&t.length&&n.push(...t);let r=this.driver.query(e,Hl,!0);for(let e=0;e<r.length;e++){let t=s.get(r[e]);t&&t.length&&n.push(...t)}}const r=n.filter(e=>!e.destroyed);r.length?ac(this,e,r):this.processLeaveNode(e)}return m.length=0,T.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),T}elementContainsData(e,t){let n=!1;const r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,i){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==Gu;t.forEach(t=>{t.queued||(e||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||r&&r!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const r=t.element,i=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==r,l=xl(n,e,[]);this._getPreviousPlayers(e,a,i,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}Xl(r,t.fromStyles)}_buildAnimation(e,t,n,r,i,o){const s=t.triggerName,a=t.element,l=[],u=new Set,c=new Set,d=t.timelines.map(t=>{const d=t.element;u.add(d);const h=d.__ng_removed;if(h&&h.removedBeforeQueried)return new fl(t.duration,t.delay);const p=d!==a,f=function(e){const t=[];return function e(t,n){for(let r=0;r<t.length;r++){const i=t[r];i instanceof ml?e(i.players,n):n.push(i)}}(e,t),t}((n.get(d)||$u).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===d),m=i.get(d),y=o.get(d),g=vl(0,this._normalizer,0,t.keyframes,m,y),v=this._buildPlayer(t,g,f);if(t.subTimeline&&r&&c.add(d),p){const t=new ec(e,s,d);t.setRealPlayer(v),l.push(t)}return v});l.forEach(e=>{xl(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let r;if(e instanceof Map){if(r=e.get(t),r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&e.delete(t)}}else if(r=e[t],r){if(r.length){const e=r.indexOf(n);r.splice(e,1)}0==r.length&&delete e[t]}return r}(this.playersByQueriedElement,e.element,e))}),u.forEach(e=>oc(e,Bl));const h=gl(d);return h.onDestroy(()=>{u.forEach(e=>sc(e,Bl)),Gl(a,t.toStyles)}),c.forEach(e=>{xl(r,e,[]).push(h)}),h}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new fl(e.duration,e.delay)}}class ec{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new fl,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>bl(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){xl(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function tc(e){return e&&1===e.nodeType}function nc(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function rc(e,t,n,r,i){const o=[];n.forEach(e=>o.push(nc(e)));const s=[];r.forEach((n,r)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ku,s.push(r))}),e.set(r,o)});let a=0;return n.forEach(e=>nc(e,o[a++])),s}function ic(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const r=new Set(t),i=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let o=i.get(t);if(o)return o;const s=t.parentNode;return o=n.has(s)?s:r.has(s)?1:e(s),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}function oc(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function sc(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function ac(e,t,n){gl(n).onDone(()=>e.processLeaveNode(t))}function lc(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(e=>i.add(e)):t.set(e,r),n.delete(e),!0}class uc{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new Yu(e,t,n),this._timelineEngine=new Hu(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,r,i){const o=e+"-"+r;let s=this._triggerCache[o];if(!s){const e=[],t=mu(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Fu(e,t)}(r,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if("@"==n.charAt(0)){const[e,i]=_l(n);this._timelineEngine.command(e,t,i,r)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,i){if("@"==n.charAt(0)){const[e,r]=_l(n);return this._timelineEngine.listen(e,t,r,i)}return this._transitionEngine.listen(e,t,n,r,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function cc(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=hc(t[0]),t.length>1&&(r=hc(t[t.length-1]))):t&&(n=hc(t)),n||r?new dc(e,n,r):null}let dc=(()=>{class e{constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Gl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Gl(this._element,this._initialStyles),this._endStyles&&(Gl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Xl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xl(this._element,this._endStyles),this._endStyles=null),Gl(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function hc(e){let t=null;const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];pc(i)&&(t=t||{},t[i]=e[i])}return t}function pc(e){return"display"===e||"position"===e}const fc="animation",mc="animationend";class yc{constructor(e,t,n,r,i,o,s){this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=xc(e,"").trim();n.length&&(function(e,t){let n=0;for(let r=0;r<e.length;r++)","===e.charAt(r)&&n++}(n),t=`${n}, ${t}`),Ec(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),wc(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){gc(this._element,this._name,"paused")}resume(){gc(this._element,this._name,"running")}setPosition(e){const t=vc(this._element,this._name);this._position=e*this._duration,Ec(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),wc(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=xc(e,"").split(","),r=bc(n,t);r>=0&&(n.splice(r,1),Ec(e,"",n.join(",")))}(this._element,this._name))}}function gc(e,t,n){Ec(e,"PlayState",n,vc(e,t))}function vc(e,t){const n=xc(e,"");return n.indexOf(",")>0?bc(n.split(","),t):bc([n],t)}function bc(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function wc(e,t,n){n?e.removeEventListener(mc,t):e.addEventListener(mc,t)}function Ec(e,t,n,r){const i=fc+t;if(null!=r){const t=e.style[i];if(t.length){const e=t.split(",");e[r]=n,n=e.join(",")}}e.style[i]=n}function xc(e,t){return e.style[fc+t]}class _c{constructor(e,t,n,r,i,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new yc(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:lu(this.element,n))})}this.currentSnapshot=e}}class Sc extends fl{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Al(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Cc{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>Al(e));let r=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);r+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${t}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const o=document.createElement("style");return o.innerHTML=r,o}animate(e,t,n,r,i,o=[],s){s&&this._notifyFaultyScrubber();const a=o.filter(e=>e instanceof _c),l={};ou(n,r)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const u=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=su(e,t,l));if(0==n)return new Sc(e,u);const c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);const h=cc(e,t),p=new _c(e,t,c,n,r,i,u,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class kc{constructor(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:lu(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Tc{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Oc().toString()),this._cssKeyframesDriver=new Cc}validateStyleProperty(e){return Il(e)}matchesElement(e,t){return Rl(e,t)}containsElement(e,t){return Pl(e,t)}query(e,t,n){return Nl(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,r,i,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},u=o.filter(e=>e instanceof kc);ou(n,r)&&u.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=cc(e,t=su(e,t=t.map(e=>Ql(e,!1)),l));return new kc(e,t,a,c)}}function Oc(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Lc=(()=>{class e extends ul{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:nt.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?dl(e):e;return Pc(this._renderer,null,t,"register",[n]),new Ic(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)($e(ro),$e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Ic extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Rc(this._id,e,t||{},this._renderer)}}class Rc{constructor(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Pc(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function Pc(e,t,n,r,i){return e.setProperty(t,`@@${n}:${r}`,i)}const Nc="@",Ac="@.disabled";let Dc=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new Mc("",n,this.engine),this._rendererCache.set(n,e)),e}const r=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(r,i,e,t.name,t)};return t.data.animation.forEach(o),new qc(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)($e(ro),$e(uc),$e(Ts))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Mc{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Nc&&t==Ac?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class qc extends Mc{constructor(e,t,n,r){super(t,n,r),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Nc?"."==t.charAt(1)&&t==Ac?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==Nc){const r=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),o="";return i.charAt(0)!=Nc&&([i,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,r,i,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let jc=(()=>{class e extends uc{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)($e(ya),$e(Ml),$e(Pu))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();const Fc=[{provide:Ml,useFactory:function(){return"function"==typeof Oc()?new Tc:new Cc}},{provide:new De("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:ul,useClass:Lc},{provide:Pu,useFactory:function(){return new Nu}},{provide:uc,useClass:jc},{provide:ro,useFactory:function(e,t,n){return new Dc(e,t,n)},deps:[Ga,uc,Ts]}];let zc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:Fc,imports:[ll]}),e})(),Bc=(()=>{class e{constructor(e){this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container",t=this._document.querySelectorAll("."+e);if(null==t?void 0:t.length)this._containerElement=t[0];else{const t=this._document.createElement("div");t.classList.add(e),this._document.body.appendChild(t),this._containerElement=t}}}return e.\u0275fac=function(t){return new(t||e)($e(ya))},e.\u0275prov=ae({token:e,factory:e.\u0275fac}),e})();class Hc extends _{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(e){super.next(this._value=e)}}function Vc(){}class Wc{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Uc(e,this.nextOrObserver,this.error,this.complete))}}class Uc extends f{constructor(e,t,n,i){super(e),this._tapNext=Vc,this._tapError=Vc,this._tapComplete=Vc,this._tapError=n||Vc,this._tapComplete=i||Vc,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Vc,this._tapError=t.error||Vc,this._tapComplete=t.complete||Vc)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const $c={provide:ps,useFactory:function(e,t){return()=>{if(xa(t)){const t=Array.from(e.querySelectorAll(`[class*=${Qc}]`)),n=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(Qc+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(n,"")})}}},deps:[ya,hs],multi:!0},Qc="flex-layout-";let Kc=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},providers:[$c]}),e})();class Zc{constructor(e=!1,t="all",n="",r="",i=0){this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}clone(){return new Zc(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let Gc=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,n){const r=this.stylesheet.get(e);r?r.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const n=this.stylesheet.get(e);let r="";if(n){const e=n.get(t);"number"!=typeof e&&"string"!=typeof e||(r=e+"")}return r}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ae({factory:function(){return new e},token:e,providedIn:"root"}),e})();const Xc={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},Jc=new De("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Xc}),Yc=new De("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),ed=new De("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function td(e,t){return e=e?e.clone():new Zc,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const nd="inline",rd=["row","column","row-reverse","column-reverse"];function id(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let od=(()=>{class e{constructor(e,t,n,r){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new _,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const n=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const n=this.styleBuilder,r=n.shouldCache;let i=this.styleCache.get(e);i&&r||(i=n.buildStyles(e,t),r&&this.styleCache.set(e,i)),this.mru=Object.assign({},i),this.applyStyleToElement(i),n.sideEffect(e,i,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[n,r]=this.styler.getFlowDirection(e);if(!r&&t){const t=function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return rd.find(e=>e===t)||(t=rd[0]),n===nd&&(n=r!==nd?r:"",r=nd),[t,id(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(n);this.styler.applyStyleToElements(t,[e])}return n.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,n=this.nativeElement){this.styler.applyStyleToElement(n,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=ht({type:e,features:[St]}),e})();const sd=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],ad="(orientation: portrait) and (max-width: 599.9px)",ld="(orientation: landscape) and (max-width: 959.9px)",ud="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",cd="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",dd="(orientation: portrait) and (min-width: 840px)",hd="(orientation: landscape) and (min-width: 1280px)",pd={HANDSET:`${ad}, ${ld}`,TABLET:`${ud} , ${cd}`,WEB:`${dd}, ${hd} `,HANDSET_PORTRAIT:""+ad,TABLET_PORTRAIT:ud+" ",WEB_PORTRAIT:""+dd,HANDSET_LANDSCAPE:""+ld,TABLET_LANDSCAPE:""+cd,WEB_LANDSCAPE:""+hd},fd=[{alias:"handset",priority:2e3,mediaQuery:pd.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pd.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pd.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pd.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pd.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pd.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pd.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pd.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pd.WEB_PORTRAIT,overlapping:!0}],md=/(\.|-|_)/g;function yd(e){let t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}const gd=new De("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=Qe(ed),t=Qe(Jc),n=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const n={};return e.forEach(e=>{n[e.alias]=e}),t.forEach(e=>{n[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let n of t)if(null!=n)for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t])}(n[e.alias],e):n[e.alias]=e}),(r=Object.keys(n).map(e=>n[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(md,"|").split("|").map(yd).join(""),e.overlapping=!!e.overlapping)}),r;var r}((t.disableDefaultBps?[]:sd).concat(t.addOrientationBps?fd:[]),n)}});function vd(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function bd(e,t){return(e.priority||0)-(t.priority||0)}let wd=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(bd)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null}}return e.\u0275fac=function(t){return new(t||e)($e(gd))},e.\u0275prov=ae({factory:function(){return new e($e(gd))},token:e,providedIn:"root"}),e})(),Ed=(()=>{class e{constructor(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new Hc(new Zc(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,n)=>{t.matches&&e.push(n)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const n=this._observable$.pipe(ea(n=>!t||e.indexOf(n.mediaQuery)>-1));return V(new v(t=>{const n=this.registerQuery(e);if(n.length){const e=n.pop();n.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),n)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],n=[];return function(e,t){const n=e.filter(e=>!xd[e]);if(n.length>0){const e=n.join(", ");try{const r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(r),n.forEach(e=>xd[e]=r)}catch(r){console.error(r)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new Zc(t.matches,e)))};let r=this.registry.get(e);r||(r=this.buildMQL(e),r.addListener(t),this.pendingRemoveListenerFns.push(()=>r.removeListener(t)),this.registry.set(e,r)),r.matches&&n.push(new Zc(!0,e))}),n}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,xa(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)($e(Ts),$e(hs),$e(ya))},e.\u0275prov=ae({factory:function(){return new e($e(Ts),$e(hs),$e(ya))},token:e,providedIn:"root"}),e})();const xd={},_d="print",Sd={alias:_d,mediaQuery:_d,priority:1e3};let Cd=(()=>{class e{constructor(e,t,n){this.breakpoints=e,this.layoutConfig=t,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new kd,this.deactivations=[]}withPrintQuery(e){return[...e,_d]}isPrintEvent(e){return e.mediaQuery.startsWith(_d)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(vd)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),td(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Zc(!0,_d))),e.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(n)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(vd))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)($e(wd),$e(Jc),$e(ya))},e.\u0275prov=ae({factory:function(){return new e($e(wd),$e(Jc),$e(ya))},token:e,providedIn:"root"}),e})();class kd{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Sd),e.sort(vd),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith(_d)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function Td(e){for(let t in e){let n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}let Od=(()=>{class e{constructor(e,t,n,r){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=r}applyStyleToElement(e,t,n=null){let r={};"string"==typeof t&&(r[t]=n,t=r),r=this.layoutConfig.disableVendorPrefixes?t:Td(t),this._applyMultiValueStyleToElement(r,e)}applyStyleToElements(e,t=[]){const n=this.layoutConfig.disableVendorPrefixes?e:Td(e);t.forEach(e=>{this._applyMultiValueStyleToElement(n,e)})}getFlowDirection(e){const t="flex-direction";let n=this.lookupStyle(e,t);return[n||"row",this.lookupInlineStyle(e,t)||_a(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return xa(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,n=!1){let r="";return e&&((r=this.lookupInlineStyle(e,t))||(xa(this._platformId)?n||(r=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,t)))),r?r.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(n=>{const r=e[n],i=Array.isArray(r)?r:[r];i.sort();for(let e of i)e=e?e+"":"",xa(this._platformId)||!this._serverModuleLoaded?xa(this._platformId)?t.style.setProperty(n,e):this._setServerStyle(t,n,e):this._serverStylesheet.addStyleToElement(t,n,e)})}_setServerStyle(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const r=this._readStyleAttribute(e);r[t]=n||"",this._writeStyleAttribute(e,r)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},n=e.getAttribute("style");if(n){const e=n.split(/;+/g);for(let n=0;n<e.length;n++){const r=e[n].trim();if(r.length>0){const e=r.indexOf(":");if(-1===e)throw new Error("Invalid CSS style: "+r);t[r.substr(0,e).trim()]=r.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let n="";for(const r in t)t[r]&&(n+=r+":"+t[r]+";");e.setAttribute("style",n)}}return e.\u0275fac=function(t){return new(t||e)($e(Gc),$e(Yc),$e(hs),$e(Jc))},e.\u0275prov=ae({factory:function(){return new e($e(Gc),$e(Yc),$e(hs),$e(Jc))},token:e,providedIn:"root"}),e})(),Ld=(()=>{class e{constructor(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new _,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=td(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(vd),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(vd),this.updateStyles()))}init(e,t,n,r,i=[]){Id(this.updateMap,e,t,n),Id(this.clearMap,e,t,r),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)}getValue(e,t,n){const r=this.elementMap.get(e);if(r){const e=void 0!==n?r.get(n):this.getActivatedValues(r,t);if(e)return e.get(t)}}hasValue(e,t){const n=this.elementMap.get(e);if(n){const e=this.getActivatedValues(n,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,n,r){let i=this.elementMap.get(e);if(i){const o=(i.get(r)||new Map).set(t,n);i.set(r,o),this.elementMap.set(e,i)}else i=(new Map).set(r,(new Map).set(t,n)),this.elementMap.set(e,i);const o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}trackValue(e,t){return this.subject.asObservable().pipe(ea(n=>n.element===e&&n.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const n=new Set(this.elementKeyMap.get(t));let r=this.getActivatedValues(e);r&&r.forEach((e,r)=>{this.updateElement(t,r,e),n.delete(r)}),n.forEach(n=>{if(r=this.getActivatedValues(e,n),r){const e=r.get(n);this.updateElement(t,n,e)}else this.clearElement(t,n)})})}clearElement(e,t){const n=this.clearMap.get(e);if(n){const r=n.get(t);r&&(r(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,n){const r=this.updateMap.get(e);if(r){const i=r.get(t);i&&(i(n),this.subject.next({element:e,key:t,value:n}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const n=this.elementMap.get(e);n&&(n.forEach((e,t)=>n.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const n=this.elementMap.get(e);if(n){const r=this.getActivatedValues(n,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach((t,n)=>this.updateElement(e,n,t)))}}buildElementKeyMap(e,t){let n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}watchExtraTriggers(e,t,n){if(n&&n.length){let r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){const i=V(...n).subscribe(()=>{const n=this.getValue(e,t);this.updateElement(e,t,n)});r.set(t,i)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let r=0;r<this.activatedBreakpoints.length;r++){const n=e.get(this.activatedBreakpoints[r].alias);if(n&&(void 0===t||n.has(t)&&null!=n.get(t)))return n}const n=e.get("");return void 0===t||n&&n.has(t)?n:void 0}observeActivations(){const e=this.breakpoints.items.map(e=>e.mediaQuery);var t;this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe((t=this.hook.interceptEvents(this),function(e){return e.lift(new Wc(t,void 0,void 0))}),ea(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)($e(Ed),$e(wd),$e(Cd))},e.\u0275prov=ae({factory:function(){return new e($e(Ed),$e(wd),$e(Cd))},token:e,providedIn:"root"}),e})();function Id(e,t,n,r){if(void 0!==r){let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)}}let Rd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})();const Pd="inline",Nd=["row","column","row-reverse","column-reverse"];function Ad(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let Dd=(()=>{class e extends class{constructor(){this.shouldCache=!0}sideEffect(e,t,n){}}{buildStyles(e){return function(e){let[t,n,r]=function(e){e=e?e.toLowerCase():"";let[t,n,r]=e.split(" ");return Nd.find(e=>e===t)||(t=Nd[0]),n===Pd&&(n=r!==Pd?r:"",r=Pd),[t,Ad(n),!!r]}(e);return function(e,t=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,n,r)}(e)}}e.\u0275fac=function(n){return t(n||e)},e.\u0275prov=ae({factory:function(){return new e},token:e,providedIn:"root"});const t=Vn(e);return e})();const Md=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let qd=(()=>{class e extends od{constructor(e,t,n,r){super(e,n,t,r),this.DIRECTIVE_KEY="layout",this.styleCache=Fd,this.init()}}return e.\u0275fac=function(t){return new(t||e)(zi(to),zi(Od),zi(Dd),zi(Ld))},e.\u0275dir=ht({type:e,features:[Qi]}),e})(),jd=(()=>{class e extends qd{constructor(){super(...arguments),this.inputs=Md}}e.\u0275fac=function(n){return t(n||e)},e.\u0275dir=ht({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[Qi]});const t=Vn(e);return e})();const Fd=new Map;let zd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc,Ca]]}),e})(),Bd=(()=>{class e{}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)},imports:[[Kc]]}),e})(),Hd=(()=>{class e{constructor(e,t){_a(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,n=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Jc,useValue:Object.assign(Object.assign({},Xc),t)},{provide:ed,useValue:n,multi:!0},{provide:Yc,useValue:!0}]:[{provide:Jc,useValue:Object.assign(Object.assign({},Xc),t)},{provide:ed,useValue:n,multi:!0}]}}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Yc),$e(hs))},imports:[[zd,Rd,Bd],zd,Rd,Bd]}),e})();function Vd(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}var Wd=n("eteH"),Ud=n("wwtf"),$d=n.n(Ud);const Qd=new Map,Kd=[],Zd=Kd.map,Gd=Kd.some,Xd=Kd.hasOwnProperty,Jd="https://cdn.jsdelivr.net/npm/",Yd=/^((?:@[^/@]+\/)?[^/@]+)(?:@([^/]+))?(?:\/(.*))?$/,eh=/^\d+\.\d+\.\d+(-[\w-.+]+)?$/,th=/\.[^/]*$/,nh=["unpkg","jsdelivr","browser","main"];class rh extends Error{constructor(e){super(e)}}function ih(e){const t=Yd.exec(e);return t&&{name:t[1],version:t[2],path:t[3]}}function oh(e){const t=`${Jd}${e.name}${e.version?"@"+e.version:""}/package.json`;let n=Qd.get(t);return n||Qd.set(t,n=fetch(t).then(e=>{if(!e.ok)throw new rh("unable to load package.json");return e.redirected&&!Qd.has(e.url)&&Qd.set(e.url,n),e.json()})),n}function sh(e){const t=new Map,n=s(null);let r=0,i=void 0;function o(e){if("string"!=typeof e)return e;let n=t.get(e);return n||t.set(e,n=new Promise((t,n)=>{const o=document.createElement("script");o.onload=()=>{try{t(Kd.pop()(s(e)))}catch(a){n(new rh("invalid module"))}o.remove(),r--,0===r&&(window.define=i)},o.onerror=()=>{n(new rh("unable to load module")),o.remove(),r--,0===r&&(window.define=i)},o.async=!0,o.src=e,0===r&&(i=window.define,window.define=ch),r++,document.head.appendChild(o)})),n}function s(t){return n=>Promise.resolve(e(n,t)).then(o)}function a(e){return arguments.length>1?Promise.all(Zd.call(arguments,n)).then(ah):n(e)}return a.alias=function(t){return sh((n,r)=>n in t&&(r=null,"string"!=typeof(n=t[n]))?n:e(n,r))},a.resolve=e,a}function ah(e){const t={};for(const n of e)for(const e in n)Xd.call(n,e)&&(null==n[e]?Object.defineProperty(t,e,{get:lh(n,e)}):t[e]=n[e]);return t}function lh(e,t){return()=>e[t]}function uh(e){return"exports"==(e+="")||"module"===e}function ch(e,t,n){const r=arguments.length;r<2?(n=e,t=[]):r<3&&(n=t,t="string"==typeof e?[]:e),Kd.push(Gd.call(t,uh)?e=>{const r={},i={exports:r};return Promise.all(Zd.call(t,t=>"exports"==(t+="")?r:"module"===t?i:e(t))).then(e=>(n.apply(null,e),i.exports))}:e=>Promise.all(Zd.call(t,e)).then(e=>"function"==typeof n?n.apply(null,e):n))}rh.prototype.name=rh.name,sh((function(e,t){return Vd(this,void 0,void 0,(function*(){if(e.startsWith(Jd)&&(e=e.substring(Jd.length)),/^(\w+:)|\/\//i.test(e))return e;if(/^[.]{0,2}\//i.test(e))return new URL(e,null==t?location:t).href;if(!e.length||/^[\s._]/.test(e)||/\s$/.test(e))throw new rh("illegal name");const n=ih(e);if(!n)return`${Jd}${e}`;if(!n.version&&null!=t&&t.startsWith(Jd)){const e=yield oh(ih(t.substring(Jd.length)));n.version=e.dependencies&&e.dependencies[n.name]||e.peerDependencies&&e.peerDependencies[n.name]}if(n.path&&!th.test(n.path)&&(n.path+=".js"),n.path&&n.version&&eh.test(n.version))return`${Jd}${n.name}@${n.version}/${n.path}`;const r=yield oh(n);return`${Jd}${r.name}@${r.version}/${n.path||function(e){for(const t of nh){const n=e[t];if("string"==typeof n)return th.test(n)?n:n+".js"}}(r)||"index.js"}`}))})),ch.amd={};const dh=["toolbar"],hh=["viz"],ph=sh(e=>"https://unpkg.com/@nebula.js/"+e).alias({"@nebula.js/stardust":Wd});let fh=(()=>{class e{ngAfterViewInit(){return Vd(this,void 0,void 0,(function*(){yield this.render()}))}render(){return Vd(this,void 0,void 0,(function*(){this.oldQLayout=JSON.parse(JSON.stringify(this.qLayout));const e={getLayout:()=>this.qLayout,selectHyperCubeCells:(...e)=>{},getEffectiveProperties:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getEffectiveProperties",args:e})})),getHyperCubeReducedData:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getHyperCubeReducedData",args:e})})),getHyperCubeData:(...e)=>Vd(this,void 0,void 0,(function*(){return yield this.onVizMethod({name:"getHyperCubeData",args:e})})),getStackedDataPages:(...e)=>(console.log("getStackedDataPages",e),this.qLayout.qHyperCube.qDataPages),getFullPropertyTree:()=>{console.log("getFullPropertyTree")},getHyperCubeTreeData:()=>{console.log("getHyperCubeTreeData")},beginSelections:(...e)=>{},selectHyperCubeValues:(...e)=>Vd(this,void 0,void 0,(function*(){var t;yield null===(t=this.onSelections)||void 0===t?void 0:t.call(this,{selections:e,method:"selectHyperCubeValues"})})),rangeSelectHyperCubeValues:(...e)=>Vd(this,void 0,void 0,(function*(){var t;yield null===(t=this.onSelections)||void 0===t?void 0:t.call(this,{selections:e,method:"rangeSelectHyperCubeValues"})})),resetMadeSelections:(...e)=>{},clearSelections:(...e)=>{},endSelections:(...e)=>{},removeListener:(...e)=>{},useKeyboard:(...e)=>{},on:(...e)=>{}};this.app=yield $d.a.fromGenericObjects([e]),this.app.getMeasure=e=>Vd(this,void 0,void 0,(function*(){return console.log({measureId:e}),{getMeasure:()=>Vd(this,void 0,void 0,(function*(){return yield this.onGetMeasure({measureId:e})}))}}));const t=this.app.getObject;this.app.getObject=e=>Vd(this,void 0,void 0,(function*(){return e===this.qLayout.qInfo.qId?yield t(this.qLayout.qInfo.qId):{getLayout:()=>Vd(this,void 0,void 0,(function*(){return yield this.onGetObject({objectId:e})}))}}));const n=[["sn-action-button","action-button"],["sn-bar-chart","barchart"],["sn-bullet-chart","bullet-chart"],["sn-combo-chart","combo-chart"],["sn-funnel-chart","funnel-chart"],["sn-grid-chart","sn-grid-chart"],["sn-kpi","kpi"],["sn-line-chart","line-chart"],["sn-mekko-chart","mekko"],["sn-org-chart","org"],["sn-pie-chart","piechart"],["sn-sankey-chart","sankey"],["sn-table","table"],["sn-video-player","video-player"],["sn-scatter-plot","scatterplot"]].map(e=>({name:e[1],load:()=>ph(e[0])}));this.n=Wd.embed(this.app,{types:n,themes:[{id:"customTheme",load:()=>Vd(this,void 0,void 0,(function*(){return this.theme}))}],context:{theme:"customTheme"}}),this.qLayout&&(this.viz=yield this.n.render({element:this.vizEl.nativeElement,id:this.qLayout.qInfo.qId}))}))}destroyApp(){var e;null===(e=document.querySelector(`div[data-app-id='${this.app.id}']`))||void 0===e||e.remove()}ngOnDestroy(){this.destroyApp()}ngOnChanges(e){return Vd(this,void 0,void 0,(function*(){this.viz&&JSON.stringify(this.qLayout)!==JSON.stringify(this.oldQLayout)&&(this.viz.destroy(),this.destroyApp(),yield this.render())}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=st({type:e,selectors:[["drayman-nebula-internal"]],viewQuery:function(e,t){var n;1&e&&(rs(dh,!0),rs(hh,!0)),2&e&&(ns(n=is())&&(t.toolbarEl=n.first),ns(n=is())&&(t.vizEl=n.first))},inputs:{qLayout:"qLayout",theme:"theme",onSelections:"onSelections",onVizMethod:"onVizMethod",onGetMeasure:"onGetMeasure",onGetObject:"onGetObject"},features:[St],decls:5,vars:0,consts:[["fxLayout","column",1,"nebula-container"],["toolbar",""],[1,"viz"],["viz",""]],template:function(e,t){1&e&&(Hi(0,"div",0),Wi(1,"div",null,1),Wi(3,"div",2,3),Vi())},directives:[jd],styles:[".nebula-container[_ngcontent-%COMP%]{width:100%;margin:0;height:100%;min-width:100%;min-height:100%}.viz[_ngcontent-%COMP%]{flex:1}"]}),e})(),mh=(()=>{class e{constructor(e){this.injector=e}ngDoBootstrap(){const e=function(e,t){const n=function(e,t){return t.get(eo).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Ra(e,t.injector),i=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var r;t[(r=n,r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()))]=e}),t}(n);class o extends Na{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=r.create(this.injector||t.injector),i=n.filter(({propName:e})=>this.hasOwnProperty(e)).map(({propName:e})=>[e,this[e]]);this instanceof o?i.forEach(([e])=>delete this[e]):Aa(n,this),i.forEach(([t,n])=>e.setInputValue(t,n))}return this._ngElementStrategy}attributeChangedCallback(e,t,n,r){this.ngElementStrategy.setInputValue(i[e],n)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}}return o.observedAttributes=Object.keys(i),Object.defineProperty(o.prototype,"ngElementStrategy",{enumerable:!0}),Aa(n,o.prototype),o}(fh,{injector:this.injector});customElements.define("drayman-nebula",e)}}return e.\u0275mod=ct({type:e}),e.\u0275inj=le({factory:function(t){return new(t||e)($e(Ai))},providers:[{provide:Ta,useClass:Bc}],imports:[[ll,zc,Hd]]}),e})();(function(){if(Zn)throw new Error("Cannot enable prod mode after platform setup.");Kn=!1})(),sl().bootstrapModule(mh).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}});
|