@nebula.js/stardust 4.3.0 → 4.4.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/core/esm/dev.js +1763 -2520
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +3 -3
- package/core/esm/index.js.map +1 -1
- package/core/package.json +1 -1
- package/dist/stardust.dev.js +6537 -7294
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +13 -13
- package/dist/stardust.js.map +1 -1
- package/package.json +11 -11
- package/types/index.d.ts +10 -10
package/dist/stardust.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v4.
|
|
2
|
+
* @nebula.js/stardust v4.4.0
|
|
3
3
|
* Copyright (c) 2023 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).stardust={})}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}function o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof v?t:v,i=Object.create(a.prototype),l=new T(r||[]);return o(i,"_invoke",{value:R(e,n,l)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",g={};function v(){}function b(){}function y(){}var x={};c(x,i,(function(){return this}));var S=Object.getPrototypeOf,w=S&&S(S(P([])));w&&w!==n&&r.call(w,i)&&(x=w);var E=y.prototype=v.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,a,i,l){var s=d(e[o],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,i,l)}),(function(e){n("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return a=a?a.then(o,o):o()}})}function R(e,t,n){var r=p;return function(o,a){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw a;return _()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=L(i,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===p)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=d(e,t,n);if("normal"===s.type){if(r=n.done?m:f,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=m,n.method="throw",n.arg=s.arg)}}}function L(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=d(o,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var i=a.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(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 I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:_}}function _(){return{value:t,done:!0}}return b.prototype=y,o(E,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},C(k.prototype),c(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,a){void 0===a&&(a=Promise);var i=new k(u(t,n,r,o),a);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},C(E),c(E,s,"Generator"),c(E,i,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=P,T.prototype={constructor:T,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(I),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},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),I(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var c={exports:{}},u={},d=Symbol.for("react.element"),p=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.iterator;var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,k={};function R(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||E}function L(){}function O(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||E}R.prototype.isReactComponent={},R.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},R.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},L.prototype=R.prototype;var I=O.prototype=new L;I.constructor=O,C(I,R.prototype),I.isPureReactComponent=!0;var T=Array.isArray,P=Object.prototype.hasOwnProperty,_={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var r,o={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)P.call(t,r)&&!N.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:d,type:e,key:a,ref:i,props:o,_owner:_.current}}function q(e){return"object"==typeof e&&null!==e&&e.$$typeof===d}var z=/\/+/g;function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,n,r,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var i=!1;if(null===e)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case d:case p:i=!0}}if(i)return o=o(i=e),e=""===r?"."+D(i,0):r,T(o)?(n="",null!=e&&(n=e.replace(z,"$&/")+"/"),A(o,t,n,"",(function(e){return e}))):null!=o&&(q(o)&&(o=function(e,t){return{$$typeof:d,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(z,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=""===r?".":r+":",T(e))for(var l=0;l<e.length;l++){var s=r+D(a=e[l],l);i+=A(a,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=w&&e[w]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(a=e.next()).done;)i+=A(a=a.value,t,n,s=r+D(a,l++),o);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function j(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function F(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var B={current:null},W={transition:null},$={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:W,ReactCurrentOwner:_};u.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!q(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},u.Component=R,u.Fragment=f,u.Profiler=m,u.PureComponent=O,u.StrictMode=h,u.Suspense=y,u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,u.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=C({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)P.call(t,s)&&!N.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:d,type:e.type,key:o,ref:a,props:r,_owner:i}},u.createContext=function(e){return(e={$$typeof:v,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:g,_context:e},e.Consumer=e},u.createElement=M,u.createFactory=function(e){var t=M.bind(null,e);return t.type=e,t},u.createRef=function(){return{current:null}},u.forwardRef=function(e){return{$$typeof:b,render:e}},u.isValidElement=q,u.lazy=function(e){return{$$typeof:S,_payload:{_status:-1,_result:e},_init:F}},u.memo=function(e,t){return{$$typeof:x,type:e,compare:void 0===t?null:t}},u.startTransition=function(e){var t=W.transition;W.transition={};try{e()}finally{W.transition=t}},u.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},u.useCallback=function(e,t){return B.current.useCallback(e,t)},u.useContext=function(e){return B.current.useContext(e)},u.useDebugValue=function(){},u.useDeferredValue=function(e){return B.current.useDeferredValue(e)},u.useEffect=function(e,t){return B.current.useEffect(e,t)},u.useId=function(){return B.current.useId()},u.useImperativeHandle=function(e,t,n){return B.current.useImperativeHandle(e,t,n)},u.useInsertionEffect=function(e,t){return B.current.useInsertionEffect(e,t)},u.useLayoutEffect=function(e,t){return B.current.useLayoutEffect(e,t)},u.useMemo=function(e,t){return B.current.useMemo(e,t)},u.useReducer=function(e,t,n){return B.current.useReducer(e,t,n)},u.useRef=function(e){return B.current.useRef(e)},u.useState=function(e){return B.current.useState(e)},u.useSyncExternalStore=function(e,t,n){return B.current.useSyncExternalStore(e,t,n)},u.useTransition=function(){return B.current.useTransition()},u.version="18.2.0",c.exports=u;var H=c.exports,U=n(H),V=t({__proto__:null,default:U},[H]);const G=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={};let r=e;const o={language:e=>(e&&(r=e),r),add:e=>{const{id:t,locale:r}=e;Object.keys(r).forEach((e=>{n[e]||(n[e]={}),n[e][t]=r[e]}))},get(e,o){let a;return a=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==o?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))}(a,o):a}};return o}({initial:e,fallback:t});return{translator:n}};var K={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"キャンセル","ko-KR":"취소","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"Отмена","sv-SE":"Avbryt","tr-TR":"İptal","zh-CN":"取消","zh-TW":"取消"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"すべて","ko-KR":"모두","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"ВСЕ","sv-SE":"ALLA","tr-TR":"TÜMÜ","zh-CN":"全部","zh-TW":"全部"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Dismiss:{id:"Listbox.Dismiss",locale:{"de-DE":"Schließen","en-US":"Dismiss","es-ES":"Descartar","fr-FR":"Ignorer","it-IT":"Ignora","ja-JP":"却下","ko-KR":"해제","nl-NL":"Overslaan","pl-PL":"Zamknij","pt-BR":"Ignorar","ru-RU":"Пропустить","sv-SE":"Hoppa över","tr-TR":"Kapat","zh-CN":"离开","zh-TW":"解除"}},Listbox_DrillDown:{id:"Listbox.DrillDown",locale:{"de-DE":"Drilldown-Dimension","en-US":"Drill-down dimension","es-ES":"Dimensión jerárquica","fr-FR":"Dimension hiérarchique","it-IT":"Dimensione drill-down","ja-JP":"軸のドリルダウン","ko-KR":"드릴다운 차원","nl-NL":"Drill-downdimensie","pl-PL":"Wymiar hierarchiczny","pt-BR":"Dimensão de detalhamento","ru-RU":"Детализированное измерение","sv-SE":"Hierarkisk dimension","tr-TR":"Detaya inme boyutu","zh-CN":"钻取维度","zh-TW":"向下探查維度"}},Listbox_ItemsOverflow:{id:"Listbox.ItemsOverflow",locale:{"de-DE":"Derzeit wird ein eingeschränkter Datensatz angezeigt, verwenden Sie die Suche, um die Größe zu reduzieren","en-US":"Currently showing a limited data set, use search to reduce the size","es-ES":"Actualmente se muestra un conjunto de datos limitado, utilice la búsqueda para reducir el tamaño","fr-FR":"Ensemble de données limité actuellement affiché. Utilisez la rechercher pour réduire la taille.","it-IT":"Attualmente visualizzato un set di dati limitato; utilizzare la ricerca per ridurre le dimensioni","ja-JP":"現在表示されているデータ セットは制限されているため、検索を使ってサイズを縮小してください","ko-KR":"현재 제한된 데이터 집합이 표시되고 있습니다. 검색을 사용하여 크기를 줄이십시오.","nl-NL":"Er wordt momenteel een beperkte gegevensverzameling getoond, gebruik Zoeken om de omvang te verkleinen","pl-PL":"Wyświetlany jest ograniczony zestaw danych. Użyj wyszukiwania, aby zmniejszyć rozmiar.","pt-BR":"Atualmente mostrando um conjunto de dados limitado, use a pesquisa para reduzir o tamanho","ru-RU":"Сейчас отображается ограниченный набор данных. Используйте поиск, чтобы уменьшить размер.","sv-SE":"En begränsad datauppsättning visas. Använd sök för att minska storleken","tr-TR":"Şu anda sınırlı bir veri kümesi gösteriliyor. Boyutu azaltmak için arama işlevini kullanın","zh-CN":"目前显示有限的数据集,使用搜索来减少大小","zh-TW":"目前顯示有限資料集,請使用搜尋減少大小"}},Listbox_Lock:{id:"Listbox.Lock",locale:{"de-DE":"Auswahlen sperren","en-US":"Lock selections","es-ES":"Bloquear selecciones","fr-FR":"Verrouiller les sélections","it-IT":"Blocca selezioni","ja-JP":"選択をロック","ko-KR":"선택 내용 잠금","nl-NL":"Selecties vergrendelen","pl-PL":"Zablokuj wybory","pt-BR":"Bloquear seleções","ru-RU":"Заблокировать выборки","sv-SE":"Lås urval","tr-TR":"Seçimleri kilitle","zh-CN":"锁定选择项","zh-TW":"鎖定選項"}},Listbox_NoMatchesForYourTerms:{id:"Listbox.NoMatchesForYourTerms",locale:{"de-DE":"Für Ihre Suche wurden keine Übereinstimmungen gefunden.","en-US":"There are no matches for your search.","es-ES":"No hay resultados para su búsqueda.","fr-FR":"Aucun résultat ne correspond à votre recherche.","it-IT":"Non è stata trovata alcuna corrispondenza per questa ricerca.","ja-JP":"検索に一致するものがありません。","ko-KR":"검색에 대해 일치하는 항목이 없습니다.","nl-NL":"Er zijn geen overeenkomsten voor uw zoekopdracht.","pl-PL":"Brak dopasowań dla tego wyszukiwania.","pt-BR":"Não há correspondências para sua pesquisa.","ru-RU":"Нет совпадений по вашему поисковому запросу.","sv-SE":"Det finns inga matchningar för din sökning.","tr-TR":"Aramanızla eşleşen sonuç yok.","zh-CN":"您的搜索条件没有任何匹配结果。","zh-TW":"沒有與您搜尋相符的項目。"}},Listbox_ResultFilterLabel:{id:"Listbox.ResultFilterLabel",locale:{"de-DE":"Suchergebnisfilter","en-US":"Search Results Filter","es-ES":"Filtro de resultados de búsqueda","fr-FR":"Filtre de résultats de recherche","it-IT":"Filtro risultati Ricerca","ja-JP":"検索結果フィルター","ko-KR":"검색 결과 필터","nl-NL":"Filter voor zoekresultaten","pl-PL":"Filtr wyników wyszukiwania","pt-BR":"Filtro de resultados da pesquisa","ru-RU":"Фильтр результатов поиска","sv-SE":"Filter för sökresultat","tr-TR":"Arama Sonuçları Filtresi","zh-CN":"搜索结果筛选器","zh-TW":"搜尋結果篩選"}},Listbox_ScreenReader_SearchThenSelectionsMenu_WithAccSelMenu:{id:"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu",locale:{"de-DE":"Drücken Sie die Umschalttaste zusammen mit der Tabulatortaste, um den Fokus in die Suchleiste zu setzen, und dann erneut beide Tasten, um den Fokus in das Auswahlmenü zu setzen.","en-US":"Press Shift plus Tab to set focus on the search bar, then Shift plus Tab again to set focus on the selections menu.","es-ES":"Pulse Mayús + Tabulador para establecer el foco en la barra de búsqueda, luego Mayús + Tabulador nuevamente para establecer el foco en el menú de selecciones.","fr-FR":"Appuyez sur Maj + Tab pour mettre le focus sur la barre de recherche, puis de nouveau sur Maj + Tab pour mettre le focus sur le menu de sélections.","it-IT":"Premere MAIUSC+TAB per impostare lo stato attivo sulla barra di ricerca, quindi premere nuovamente MAIUSC+TAB per impostare lo stato attivo sul menu selezioni.","ja-JP":"Shift + Tab を押して検索バーにフォーカスを設定し、Shift + Tab をもう一度押して選択メニューにフォーカスを設定します。","ko-KR":"Shift+Tab을 눌러 검색 막대에 초점을 맞춘 다음 Shift+Tab을 다시 눌러 선택 메뉴에 초점을 맞추십시오.","nl-NL":"Druk op Shift + Tab om de focus in te stellen op de zoekbalk, druk vervolgens nogmaals op Shift + Tab om de focus in te stellen op het selectiemenu.","pl-PL":"Naciśnij Shift i Tab, aby ustawić ostrość na pasku wyszukiwania. Następnie ponownie użyj tej kombinacji klawiszy, aby ustawić ostrość na menu wyboru.","pt-BR":"Pressione Shift + Tab para definir o foco na barra de pesquisa e Shift + Tab novamente para definir o foco no menu de seleções.","ru-RU":"Нажмите клавиши SHIFT+TAB, чтобы переключиться на строку поиска. Затем снова нажмите клавиши SHIFT+TAB, чтобы переключиться на меню выбора.","sv-SE":"Tryck på Skift plus Tabb för att ställa in fokus på sökfältet, sedan Skift plus Tabb igen för att ställa in fokus på urvalsmenyn.","tr-TR":"Odağı arama çubuğuna ayarlamak için Shift ve Sekme tuşlarına birlikte basın, ardından bu tuşlara birlikte tekrar basarak odağı seçim menüsüne ayarlayın.","zh-CN":"按 Shift+Tab 在搜索栏上设置焦点,然后再次按 Shift+Tab 在“选择”菜单上设置焦点。","zh-TW":"按下 Shift 加 Tab 鍵以設定搜尋列上的焦點,然後再次按下 Shift 加 Tab 鍵,以設定選項功能表上的焦點。"}},Listbox_ScreenReader_SelectionMenu_WithAccSelMenu:{id:"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",locale:{"de-DE":"Drücken Sie gleichzeitig die Umschalt- und die Tabulatortaste, um den Fokus in das Auswahlmenü zu setzen.","en-US":"Press Shift plus Tab to set focus on the selections menu.","es-ES":"Pulse Mayús + Tabulador para establecer el foco en el menú de selecciones.","fr-FR":"Appuyez sur Maj + Tab pour mettre le focus sur le menu de sélections.","it-IT":"Premere i tasti MAIUSC+TAB per evidenziare il menu di selezione.","ja-JP":"Shift キー + Tab キーを押して選択メニューにフォーカスを設定します。","ko-KR":"선택 메뉴에 초점을 설정하려면 Shift+Tab을 누르십시오.","nl-NL":"Druk op Shift + Tab om de focus in te stellen op het selectiemenu.","pl-PL":"Naciśnij Shift i Tab, aby ustawić ostrość na menu wyboru.","pt-BR":"Pressione Shift + Tab para definir o foco sobre o menu de seleções.","ru-RU":"Нажмите клавиши SHIFT+TAB, чтобы переключиться на меню выбора.","sv-SE":"Tryck på Skift plus Tabb när du vill ställa in fokus på urvalsmenyn.","tr-TR":"Odağı seçim menüsüne ayarlamak için Shift ve Sekme tuşlarına birlikte basın.","zh-CN":"按下 Shift 加 Tab 以将焦点设置在选择菜单上。","zh-TW":"按下 Shift 加 Tab 以在選項功能表上設定焦點。"}},Listbox_ScreenReaderInstructions:{id:"Listbox.ScreenReaderInstructions",locale:{"de-DE":"Bei Aktivierung der Elemente unten wird der Seiteninhalt aktualisiert","en-US":"Activating the elements below will cause content on the page to be updated","es-ES":"La activación de los elementos siguientes hará que se actualice el contenido en la página","fr-FR":"L'activation des éléments ci-dessous actualisera le contenu de la page.","it-IT":"L'attivazione degli elementi sottostanti causerà l'aggiornamento del contenuto della pagina","ja-JP":"下記の要素をアクティブ化すると、ページのコンテンツが更新されます","ko-KR":"아래 요소를 활성화하면 페이지의 콘텐츠가 업데이트됩니다.","nl-NL":"Door de onderstaande elementen te activeren wordt de inhoud op de pagina bijgewerkt","pl-PL":"Aktywacja poniższych elementów spowoduje aktualizację zawartości na stronie","pt-BR":"A ativação dos elementos abaixo fará com que o conteúdo da página seja atualizado","ru-RU":"Активация приведенных ниже элементов приведет к обновлению содержимого страницы","sv-SE":"Om du aktiverar elementen nedan kommer innehåll på sidan att uppdateras","tr-TR":"Aşağıdaki öğeleri etkinleştirmek sayfadaki içeriğin güncellenmesine neden olur","zh-CN":"激活下面的元素将导致页面上的内容更新","zh-TW":"啟用以下元素將會造成更新頁面上的內容"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de sélection","it-IT":"Cerca nella casella di elenco","ja-JP":"リストボックス内を検索","ko-KR":"목록 상자에서 검색","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w liście wartości","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"Поиск в списке","sv-SE":"Sök i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"在列表框中搜索","zh-TW":"在清單方塊中搜尋"}},Listbox_Search_ScreenReaderInstructions:{id:"Listbox.Search.ScreenReaderInstructions",locale:{"de-DE":"Über das folgende Suchfeld werden Ergebnisse während der Eingabe gefiltert","en-US":"The following search field filters results below as you type","es-ES":"El siguiente campo de búsqueda filtra los resultados siguientes a medida que escribe","fr-FR":"Le champ de recherche suivant filtrer les résultats ci-dessous à mesure de votre saisie.","it-IT":"Il seguente campo di ricerca filtra i risultati man mano che vengono digitati","ja-JP":"次の検索フィールドは、入力と同時に下記の結果をフィルターします","ko-KR":"다음 검색 필드는 입력할 때 아래의 결과를 필터링합니다.","nl-NL":"Het volgende zoekveld filtert resultaten terwijl u typt","pl-PL":"Następujące pole wyszukiwania filtruje wyniki poniżej w miarę pisania","pt-BR":"O campo de pesquisa a seguir filtra os resultados abaixo conforme você digita","ru-RU":"Следующее поле поиска фильтрует результаты ниже по мере ввода текста","sv-SE":"Följande sökfält filtrerar resultaten nedan medan du skriver","tr-TR":"Aşağıdaki arama alanı siz yazarken aşağıdaki sonuçları filtreler","zh-CN":"键入时,以下搜索字段筛选结果如下","zh-TW":"下列搜尋欄位在您輸入時篩選以下結果"}},Listbox_Unlock:{id:"Listbox.Unlock",locale:{"de-DE":"Auswahlen entsperren","en-US":"Unlock selections","es-ES":"Desbloquear selecciones","fr-FR":"Déverrouiller les sélections","it-IT":"Sblocca selezioni","ja-JP":"選択をロック解除","ko-KR":"선택 내용 잠금 해제","nl-NL":"Selecties ontgrendelen","pl-PL":"Odblokuj wybory","pt-BR":"Desbloquear seleções","ru-RU":"Разблокировать выборки","sv-SE":"Lås upp urval","tr-TR":"Seçimlerin kilidini aç","zh-CN":"将选择项解锁","zh-TW":"解鎖選項"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"Más","fr-FR":"Plus","it-IT":"Altro","ja-JP":"詳細","ko-KR":"자세히","nl-NL":"Meer","pl-PL":"Więcej","pt-BR":"Mais","ru-RU":"Дополнительно","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"更多","zh-TW":"更多"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zurück","en-US":"Step back","es-ES":"Atrás","fr-FR":"Retour en arrière","it-IT":"Torna indietro","ja-JP":"1 段階戻る","ko-KR":"이전 단계","nl-NL":"Stap terug","pl-PL":"Krok do tyłu","pt-BR":"Voltar uma etapa","ru-RU":"Шаг назад","sv-SE":"Gå bakåt","tr-TR":"Bir adım geri","zh-CN":"后退","zh-TW":"倒退"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"Étape suivante","it-IT":"Vai avanti","ja-JP":"1段階進む","ko-KR":"다음 단계","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avançar uma etapa","ru-RU":"Шаг вперед","sv-SE":"Gå framåt","tr-TR":"Bir adım ileri","zh-CN":"前进","zh-TW":"前進"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"확인","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"ОК","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"确定","zh-TW":"確定"}},Object_Listbox_Alternative:{id:"Object.Listbox.Alternative",locale:{"de-DE":"Alternative","en-US":"Alternative","es-ES":"Alternativo","fr-FR":"Alternatif","it-IT":"Alternativo","ja-JP":"代替","ko-KR":"대체 항목","nl-NL":"Alternatief","pl-PL":"Alternatywne","pt-BR":"Alternativo","ru-RU":"Альтернативные","sv-SE":"Alternativ","tr-TR":"Alternatif","zh-CN":"可选","zh-TW":"替代選項"}},Object_Listbox_Excluded:{id:"Object.Listbox.Excluded",locale:{"de-DE":"Ausgeschlossen","en-US":"Excluded","es-ES":"Excluido","fr-FR":"Exclu","it-IT":"Escluso","ja-JP":"除外済み","ko-KR":"제외됨","nl-NL":"Uitgesloten","pl-PL":"Wykluczone","pt-BR":"Excluído","ru-RU":"Исключенные","sv-SE":"Uteslutet","tr-TR":"Hariç tutulan","zh-CN":"已排除","zh-TW":"已排除"}},Object_Listbox_ExcludedLock:{id:"Object.Listbox.ExcludedLock",locale:{"de-DE":"Ausgeschlossene Sperre","en-US":"Excluded lock","es-ES":"Bloqueo excluido","fr-FR":"Exclu verrouillé","it-IT":"Blocco escluso","ja-JP":"除外されたロック","ko-KR":"제외된 잠금","nl-NL":"Uitsluitingsvergrendeling","pl-PL":"Wykluczone zablokowane","pt-BR":"Bloqueado excluído","ru-RU":"Блокировать исключенные элементы","sv-SE":"Uteslutet låst","tr-TR":"Hariç tutulan kilit","zh-CN":"已排除锁定","zh-TW":"已排除鎖定"}},Object_Listbox_Locked:{id:"Object.Listbox.Locked",locale:{"de-DE":"Gesperrt","en-US":"Locked","es-ES":"Bloqueado","fr-FR":"Verrouillé","it-IT":"Bloccato","ja-JP":"ロック済み","ko-KR":"잠김","nl-NL":"Vergrendeld","pl-PL":"Zablokowane","pt-BR":"Bloqueado","ru-RU":"Заблокированные","sv-SE":"Låst","tr-TR":"Kilitli","zh-CN":"已锁定","zh-TW":"已鎖定"}},Object_Listbox_Optional:{id:"Object.Listbox.Optional",locale:{"de-DE":"Optional","en-US":"Optional","es-ES":"Opcional","fr-FR":"Facultatif","it-IT":"Opzionale","ja-JP":"オプション","ko-KR":"선택 사항","nl-NL":"Optioneel","pl-PL":"Opcjonalne","pt-BR":"Opcional","ru-RU":"Дополнительные","sv-SE":"Valfritt","tr-TR":"İsteğe bağlı","zh-CN":"可选","zh-TW":"選用"}},Object_Listbox_Selected:{id:"Object.Listbox.Selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбранные","sv-SE":"Urval","tr-TR":"Seçilen","zh-CN":"已选择","zh-TW":"已選取"}},Object_Listbox_SelectedExcluded:{id:"Object.Listbox.SelectedExcluded",locale:{"de-DE":"Ausgeschlossen ausgewählt","en-US":"Selected excluded","es-ES":"Seleccionado excluido","fr-FR":"Sélectionné exclu","it-IT":"Selezionato escluso","ja-JP":"選択された除外値","ko-KR":"제외 항목 선택됨","nl-NL":"Geselecteerde uitgesloten","pl-PL":"Wybrane wykluczone","pt-BR":"Excluído selecionado","ru-RU":"Выбранные исключенные элементы","sv-SE":"Urval uteslutet","tr-TR":"Seçili hariç tutulan","zh-CN":"已排除选择","zh-TW":"已選取排除值"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de données en cours","it-IT":"Caricamento dati in corso","ja-JP":"データのロード中","ko-KR":"데이터 로드 중","nl-NL":"Gegevens worden geladen","pl-PL":"Ładowanie danych","pt-BR":"Carregando dados","ru-RU":"Загрузка данных","sv-SE":"Laddar data","tr-TR":"Veriler yükleniyor","zh-CN":"加载数据","zh-TW":"正在載入資料"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualización de datos","fr-FR":"Mise à jour des données annulée","it-IT":"Aggiornamento dati annullato","ja-JP":"データの更新がキャンセルされました","ko-KR":"데이터 업데이트가 취소되었습니다.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych została anulowana","pt-BR":"A atualização de dados foi cancelada","ru-RU":"Обновление данных отменено","sv-SE":"Datauppdateringen avbröts.","tr-TR":"Veri güncelleştirme iptal edildi","zh-CN":"数据更新已取消","zh-TW":"資料更新已取消"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"Réessayer","it-IT":"Riprova","ja-JP":"再試行","ko-KR":"다시 시도","nl-NL":"Opnieuw","pl-PL":"Ponów próbę","pt-BR":"Tentar novamente","ru-RU":"Повторить попытку","sv-SE":"Försök igen","tr-TR":"Yeniden dene","zh-CN":"重试","zh-TW":"重試"}},ScreenReader_ManySearchResults:{id:"ScreenReader.ManySearchResults",locale:{"de-DE":"Es sind {0} Ergebnisse verfügbar","en-US":"There are {0} available results","es-ES":"Hay {0} resultados disponibles","fr-FR":"Il existe {0} résultats disponibles.","it-IT":"{0} risultati disponibili","ja-JP":"利用可能な結果が {0} つあります","ko-KR":"{0}개의 결과를 사용할 수 있음","nl-NL":"Er zijn {0} beschikbare resultaten","pl-PL":"Liczba dostępnych wyników: {0}","pt-BR":"Há {0} resultados disponíveis","ru-RU":"Имеются доступные результаты: {0}","sv-SE":"Det finns {0} tillgängliga resultat","tr-TR":"Kullanılabilir {0} sonuç mevcut","zh-CN":"有 {0} 个可用结果","zh-TW":"有 {0} 個可用的結果"}},ScreenReader_ManySelected:{id:"ScreenReader.ManySelected",locale:{"de-DE":"Es sind {0} Werte ausgewählt.","en-US":"There are {0} selected values.","es-ES":"Hay {0} valores seleccionados.","fr-FR":"{0} valeurs sont sélectionnées.","it-IT":"Sono presenti {0} valori selezionati.","ja-JP":"値が {0} 個選択されています。","ko-KR":"{0}개의 값이 선택되었습니다.","nl-NL":"Er zijn {0} geselecteerde waarden.","pl-PL":"Wybranych wartości: {0}","pt-BR":"Há {0} valores selecionados.","ru-RU":"Выбраны {0} значений(я).","sv-SE":"{0} värden är valda.","tr-TR":"Seçilen {0} değer var.","zh-CN":"存在 {0} 个已选择的值。","zh-TW":"有 {0} 個選取的值。"}},ScreenReader_OneSearchResult:{id:"ScreenReader.OneSearchResult",locale:{"de-DE":"Es ist ein Ergebnis verfügbar","en-US":"There is one available result","es-ES":"Hay un resultado disponible","fr-FR":"Il existe un résultat disponible.","it-IT":"Un risultato disponibile","ja-JP":"利用可能な結果が 1 つあります","ko-KR":"하나의 결과를 사용할 수 있음","nl-NL":"Er is één beschikbaar resultaat","pl-PL":"Jest jeden dostępny wynik","pt-BR":"Há um resultado disponível","ru-RU":"Имеется один доступный результат","sv-SE":"Det finns ett tillgängligt resultat","tr-TR":"Kullanılabilir bir sonuç mevcut","zh-CN":"有一个可用结果","zh-TW":"有一個可用的結果"}},ScreenReader_OneSelected:{id:"ScreenReader.OneSelected",locale:{"de-DE":"Es ist ein Wert ausgewählt.","en-US":"There is one selected value.","es-ES":"Hay un valor seleccionado.","fr-FR":"Une valeur est sélectionnée.","it-IT":"È presente un valore selezionato.","ja-JP":"値が 1 つ選択されています。","ko-KR":"하나의 값이 선택되었습니다.","nl-NL":"Er is één waarde geselecteerd.","pl-PL":"Istnieje jedna wybrana wartość.","pt-BR":"Há um valor selecionado.","ru-RU":"Выбрано одно значение.","sv-SE":"Ett värde är valt.","tr-TR":"Seçilen bir değer var.","zh-CN":"存在一个已选择的值。","zh-TW":"有一個選取的值。"}},ScreenReader_SearchFieldLabel:{id:"ScreenReader.SearchFieldLabel",locale:{"de-DE":"Suchfeld","en-US":"Search Field","es-ES":"Buscar campo","fr-FR":"Champ de recherche","it-IT":"Campo di ricerca","ja-JP":"検索フィールド","ko-KR":"검색 필드","nl-NL":"Zoekveld","pl-PL":"Pole wyszukiwania","pt-BR":"Campo de busca","ru-RU":"Поле поиска","sv-SE":"Sökfält","tr-TR":"Arama Alanı","zh-CN":"搜索字段","zh-TW":"搜尋欄位"}},ScreenReader_ZeroSelected:{id:"ScreenReader.ZeroSelected",locale:{"de-DE":"Es sind keine Werte ausgewählt.","en-US":"No values are selected.","es-ES":"No se ha seleccionado ningún valor.","fr-FR":"Aucune valeur n'est sélectionnée.","it-IT":"Nessun valore selezionato.","ja-JP":"値が選択されていません。","ko-KR":"선택된 값이 없습니다.","nl-NL":"Geen waarden geselecteerd.","pl-PL":"Brak wybranych wartości.","pt-BR":"Nenhum valor selecionado.","ru-RU":"Значения не выбраны.","sv-SE":"Inga värden är valda.","tr-TR":"Seçilen değer yok.","zh-CN":"未选择值。","zh-TW":"沒有選取任何值。"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selección","fr-FR":"Annuler la sélection","it-IT":"Annulla selezione","ja-JP":"選択のキャンセル","ko-KR":"선택 취소","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcję","pt-BR":"Cancelar seleção","ru-RU":"Отменить выборку","sv-SE":"Avbryt urval","tr-TR":"Seçimi iptal et","zh-CN":"取消选择","zh-TW":"取消選取"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selection","es-ES":"Borrar selección","fr-FR":"Effacer la sélection","it-IT":"Cancella selezione","ja-JP":"選択をクリア","ko-KR":"선택 해제","nl-NL":"Selectie wissen","pl-PL":"Wyczyść selekcję","pt-BR":"Limpar seleção","ru-RU":"Очистить выбор","sv-SE":"Rensa urval","tr-TR":"Seçimi temizle","zh-CN":"清除选择","zh-TW":"清除選項"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen löschen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les sélections","it-IT":"Cancella tutte le selezioni","ja-JP":"選択をすべてクリアする","ko-KR":"모든 선택 해제","nl-NL":"Alle selecties wissen","pl-PL":"Wyczyść wszystkie selekcje","pt-BR":"Limpar todas as seleções","ru-RU":"Очистить от всех выборок","sv-SE":"Radera alla urval","tr-TR":"Tüm seçimleri temizle","zh-CN":"清除所有选择项","zh-TW":"清除所有選項"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status löschen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les états","it-IT":"Cancella tutti gli stati","ja-JP":"全ステートをクリア","ko-KR":"모든 상태 지우기","nl-NL":"Alle states wissen","pl-PL":"Wyczyść wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"Очистить все состояния","sv-SE":"Rensa alla tillstånd","tr-TR":"Tüm durumları temizle","zh-CN":"清除所有状态","zh-TW":"清除所有狀態"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl bestätigen","en-US":"Confirm selection","es-ES":"Confirmar selección","fr-FR":"Confirmer la sélection","it-IT":"Conferma selezione","ja-JP":"選択の確認","ko-KR":"선택 확인","nl-NL":"Selectie bevestigen","pl-PL":"Potwierdź selekcję","pt-BR":"Confirmar seleção","ru-RU":"Подтвердить выборку","sv-SE":"Bekräfta urval","tr-TR":"Seçimi onayla","zh-CN":"确认选择","zh-TW":"確認選取"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmenü","en-US":"Selection menu","es-ES":"Menú de selección","fr-FR":"Menu Sélection","it-IT":"Menu Selezione","ja-JP":"選択メニュー","ko-KR":"선택 메뉴","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de seleção","ru-RU":'Меню "Выборка"',"sv-SE":"Urvalsmeny","tr-TR":"Seçim menüsü","zh-CN":"选择菜单","zh-TW":"選項功能表"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutto","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替値を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外値を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluído","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込値を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possível","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olasıyı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},SelectionToolbar_ClickToUnlock:{id:"SelectionToolbar.ClickToUnlock",locale:{"de-DE":"Zum Entsperren klicken","en-US":"Click to unlock","es-ES":"Haga clic para desbloquearla","fr-FR":"Cliquez pour déverrouiller","it-IT":"Fare clic per sbloccare","ja-JP":"クリックしてロック解除","ko-KR":"잠금을 해제하려면 클릭하십시오.","nl-NL":"Klik om te ontgrendelen","pl-PL":"Aby odblokować, kliknij","pt-BR":"Clique para destravar","ru-RU":"Щелкните, чтобы разблокировать","sv-SE":"Klicka för att låsa upp","tr-TR":"Kilidi kaldırmak için tıklayın","zh-CN":"单击以解锁","zh-TW":"按一下以解除鎖定"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollständige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualización incompleta","fr-FR":"Visualisation incomplète","it-IT":"Visualizzazione incompleta","ja-JP":"未完了のビジュアライゼーション","ko-KR":"완료되지 않은 시각화","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualização incompleta","ru-RU":"Незавершенная визуализация","sv-SE":"Ofullständig visualisering","tr-TR":"Tamamlanmamış görselleştirme","zh-CN":"不完整的可视化","zh-TW":"視覺化未完成"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} 軸","ko-KR":"{1} 차원의 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiarów","pt-BR":"{0} de {1} dimensões","ru-RU":"Измерения: {0} из {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} 个维度","zh-TW":"{1} 個維度中的 {0} 個"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} メジャー","ko-KR":"{1} 측정값의 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"Меры: {0} из {1}","sv-SE":"{0} av {1} mått","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} 个度量","zh-TW":"{1} 個量值中的 {0} 個"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ungültige Dimension","en-US":"Invalid dimension","es-ES":"Dimensión no válida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"無効な軸です","ko-KR":"잘못된 차원","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawidłowy wymiar","pt-BR":"Dimensão inválida","ru-RU":"Недопустимое измерение","sv-SE":"Ogiltig dimension","tr-TR":"Geçersiz boyut","zh-CN":"无效维度","zh-TW":"維度無效"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ungültige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no válida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"無効なメジャーです","ko-KR":"잘못된 측정값","nl-NL":"Ongeldige meting","pl-PL":"Nieprawidłowa miara","pt-BR":"Medida inválida","ru-RU":"Недопустимая мера","sv-SE":"Ogiltigt mått","tr-TR":"Geçersiz hesaplama","zh-CN":"无效度量项","zh-TW":"量值無效"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"エラー","ko-KR":"오류","nl-NL":"Fout","pl-PL":"Błąd","pt-BR":"Erro","ru-RU":"Ошибка","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"错误","zh-TW":"錯誤"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erfüllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condición de cálculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non è soddisfatta","ja-JP":"演算実行条件が満たされていません","ko-KR":"계산 조건이 충족되지 않았습니다.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spełniony","pt-BR":"A condição de cálculo não foi atendida","ru-RU":"Условие вычисления не выполнено","sv-SE":"Beräkningsvillkoret uppfylls inte","tr-TR":"Hesaplama koşulu yerine getirilmedi","zh-CN":"不满足计算条件","zh-TW":"不符計算條件"}}};function Z(e){const t=G({initial:e});return Object.keys(K).forEach((e=>{t.translator.add(K[e])})),{translator:t.translator}}var X={};function Q(){Q.init.call(this)}X.isObject=function(e){return"object"==typeof e&&null!==e},X.isNumber=function(e){return"number"==typeof e},X.isUndefined=function(e){return void 0===e},X.isFunction=function(e){return"function"==typeof e};var J=Q;Q.EventEmitter=Q,Q.prototype._events=void 0,Q.prototype._maxListeners=void 0,Q.defaultMaxListeners=10,Q.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},Q.prototype.setMaxListeners=function(e){if(!X.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},Q.prototype.emit=function(e){var t,n,r,o,a,i;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],X.isUndefined(n))return!1;if(X.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),a=1;a<r;a++)o[a-1]=arguments[a];n.apply(this,o)}else if(X.isObject(n)){for(r=arguments.length,o=new Array(r-1),a=1;a<r;a++)o[a-1]=arguments[a];for(r=(i=n.slice()).length,a=0;a<r;a++)i[a].apply(this,o)}return!0},Q.prototype.addListener=function(e,t){var n;if(!X.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,X.isFunction(t.listener)?t.listener:t),this._events[e]?X.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,X.isObject(this._events[e])&&!this._events[e].warned)&&((n=X.isUndefined(this._maxListeners)?Q.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,X.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),X.isFunction(console.trace)&&console.trace()));return this},Q.prototype.on=Q.prototype.addListener,Q.prototype.once=function(e,t){if(!X.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},Q.prototype.removeListener=function(e,t){var n,r,o,a;if(!X.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||X.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(X.isObject(n)){for(a=o;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},Q.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],X.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},Q.prototype.listeners=function(e){return this._events&&this._events[e]?X.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},Q.listenerCount=function(e,t){return e._events&&e._events[t]?X.isFunction(e._events[t])?1:e._events[t].length:0};var Y=n(J);function ee(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function te(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ne(){}var re=.7,oe=1/re,ae="\\s*([+-]?\\d+)\\s*",ie="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",le="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",se=/^#([0-9a-f]{3,8})$/,ce=new RegExp(`^rgb\\(${ae},${ae},${ae}\\)$`),ue=new RegExp(`^rgb\\(${le},${le},${le}\\)$`),de=new RegExp(`^rgba\\(${ae},${ae},${ae},${ie}\\)$`),pe=new RegExp(`^rgba\\(${le},${le},${le},${ie}\\)$`),fe=new RegExp(`^hsl\\(${ie},${le},${le}\\)$`),he=new RegExp(`^hsla\\(${ie},${le},${le},${ie}\\)$`),me={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 ge(){return this.rgb().formatHex()}function ve(){return this.rgb().formatRgb()}function be(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=se.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ye(t):3===n?new we(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?xe(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?xe(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=ce.exec(e))?new we(t[1],t[2],t[3],1):(t=ue.exec(e))?new we(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=de.exec(e))?xe(t[1],t[2],t[3],t[4]):(t=pe.exec(e))?xe(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=fe.exec(e))?Oe(t[1],t[2]/100,t[3]/100,1):(t=he.exec(e))?Oe(t[1],t[2]/100,t[3]/100,t[4]):me.hasOwnProperty(e)?ye(me[e]):"transparent"===e?new we(NaN,NaN,NaN,0):null}function ye(e){return new we(e>>16&255,e>>8&255,255&e,1)}function xe(e,t,n,r){return r<=0&&(e=t=n=NaN),new we(e,t,n,r)}function Se(e,t,n,r){return 1===arguments.length?((o=e)instanceof ne||(o=be(o)),o?new we((o=o.rgb()).r,o.g,o.b,o.opacity):new we):new we(e,t,n,null==r?1:r);var o}function we(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ee(){return`#${Le(this.r)}${Le(this.g)}${Le(this.b)}`}function Ce(){const e=ke(this.opacity);return`${1===e?"rgb(":"rgba("}${Re(this.r)}, ${Re(this.g)}, ${Re(this.b)}${1===e?")":`, ${e})`}`}function ke(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Re(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Le(e){return((e=Re(e))<16?"0":"")+e.toString(16)}function Oe(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 Ie(e){if(e instanceof Te)return new Te(e.h,e.s,e.l,e.opacity);if(e instanceof ne||(e=be(e)),!e)return new Te;if(e instanceof Te)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=NaN,l=a-o,s=(a+o)/2;return l?(i=t===a?(n-r)/l+6*(n<r):n===a?(r-t)/l+2:(t-n)/l+4,l/=s<.5?a+o:2-a-o,i*=60):l=s>0&&s<1?0:i,new Te(i,l,s,e.opacity)}function Te(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Pe(e){return(e=(e||0)%360)<0?e+360:e}function _e(e){return Math.max(0,Math.min(1,e||0))}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)}ee(ne,be,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ge,formatHex:ge,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ie(this).formatHsl()},formatRgb:ve,toString:ve}),ee(we,Se,te(ne,{brighter(e){return e=null==e?oe:Math.pow(oe,e),new we(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?re:Math.pow(re,e),new we(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new we(Re(this.r),Re(this.g),Re(this.b),ke(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ee,formatHex:Ee,formatHex8:function(){return`#${Le(this.r)}${Le(this.g)}${Le(this.b)}${Le(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ce,toString:Ce})),ee(Te,(function(e,t,n,r){return 1===arguments.length?Ie(e):new Te(e,t,n,null==r?1:r)}),te(ne,{brighter(e){return e=null==e?oe:Math.pow(oe,e),new Te(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?re:Math.pow(re,e),new Te(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new we(Ne(e>=240?e-240:e+120,o,r),Ne(e,o,r),Ne(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Te(Pe(this.h),_e(this.s),_e(this.l),ke(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ke(this.opacity);return`${1===e?"hsl(":"hsla("}${Pe(this.h)}, ${100*_e(this.s)}%, ${100*_e(this.l)}%${1===e?")":`, ${e})`}`}}));var Me=Object.prototype.hasOwnProperty,qe=Object.prototype.toString,ze=Object.defineProperty,De=Object.getOwnPropertyDescriptor,Ae=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===qe.call(e)},je=function(e){if(!e||"[object Object]"!==qe.call(e))return!1;var t,n=Me.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&Me.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||Me.call(e,t)},Fe=function(e,t){ze&&"__proto__"===t.name?ze(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Be=function(e,t){if("__proto__"===t){if(!Me.call(e,t))return;if(De)return De(e,t).value}return e[t]},We=function e(){var t,n,r,o,a,i,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=Be(l,n),l!==(o=Be(t,n))&&(u&&o&&(je(o)||(a=Ae(o)))?(a?(a=!1,i=r&&Ae(r)?r:[]):i=r&&je(r)?r:{},Fe(l,{name:n,newValue:e(u,i,o)})):void 0!==o&&Fe(l,{name:n,newValue:o}));return l},$e=n(We),He={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"]}]}},Ue={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},Ve={_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"},Ge={object:{listBox:{backgroundColor:"#ffffff",title:{main:{color:"#404040",fontSize:"14px",fontWeight:"bold"}},content:{color:"#404040",fontSize:"12px"}}}};class Ke{constructor(e){this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=be(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([be(e),be(t)])}getColor(e,t){const n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);const r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length);let o=Math.floor(r);o=o===r?o-1:o;const a=this.colorParts[t][o],i=a[0],l=a[1];if(e===this.min)return l;if(e===this.max)return i;const s=function(e,t,n){return Se(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(i,l,r-o);return s}}function Ze(e,t,n){const r=.25+(t+1)/n*.25,o=.5-r;return o+e/1*(.5+r-o)}function Xe(e,t,n){const r=[],o=new Ke(t);r.push(e[0]),n||r.push(e[0]);let a=1;for(;a<e.length-1;a++)r.push(e[a]),r.push(e[a]);r.push(e[a]),n||r.push(e[a]);for(let e=0;e<r.length;e+=2)o.addColorPart(r[e],r[e+1]);return o}function Qe(e,t,n){const r=[];for(let o=0;o<t+1;o++){let a;switch(t){case 0:a=e.getColor(.5);break;default:{const r=Ze(1/t*o,t,n);a=e.getColor(r);break}}r.push(be(a).formatHex())}return r}function Je(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach((e=>{if("class"===e.type){const n=function(e,t,n){const r=Xe(e,n,!0),o=Xe(Qe(r,t-1,t),n,!1),a=[null];for(let e=0;e<t;e++)a.push(Qe(o,e,t));return a}(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}}))}function Ye(e,t){const n=[];let r,o;if(e){let a=e.length;for(;a>=0;){for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat(e)),r.pop(),o--;e.pop(),a--}}else for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat()),r.pop(),o--;return n}function et(e,t){let n=e;for(let e=0;e<t.length;e++){if(!n[t[e]])return;n=n[t[e]]}return n}function tt(e,t,n,r){let o;if(""===e)o=Ye(null,n);else{o=Ye(e.split("."),n)}return function(e,t,n){const r=t.split(".");for(let t=0;t<e.length;t++){const o=et(n,[...e[t],...r]);if(void 0!==o)return o}}(o,t,r)}function nt(e,t){const n=e.split(".");return{getStyle:(e,r)=>tt(e,r,n.concat(),t)}}function rt(e,t){Object.keys(e).forEach((n=>{"object"==typeof e[n]&&null!==e[n]?rt(e[n],t):"string"==typeof e[n]&&"@"===e[n].charAt(0)&&(e[n]=t[e[n]])}))}function ot(e){const t=be(e).rgb(),{r:n,g:r,b:o}=t,[a,i,l]=[n,r,o].map((e=>e/255)),[s,c,u]=[a,i,l].map((e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4));return+(.2126*s+.7152*c+.0722*u).toFixed(5)}nt.resolveRawTheme=e=>{const t=$e(!0,{},e);return rt(t,t._variables),t.scales&&Je(t.scales,t.dataColors&&t.dataColors.nullColor),t};const at=1e3;function it(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(ot);return{getBestContrastColor(o){if(!t[o]){n>at&&(t={},n=0);const a=ot(o),i=r.map((e=>{return t=a,n=e,+((Math.max(t,n)+.05)/(Math.min(t,n)+.05)).toFixed(5);var t,n})),l=e[i.indexOf(Math.max(...i))];t[o]=l,n++}return t[o]}}}function lt(){let e,t,n,r={};const o={getDataColorScales:()=>t.dataScales(),getDataColorPalettes:()=>t.dataPalettes(),getDataColorPickerPalettes:()=>t.uiPalettes(),getDataColorSpecials:()=>t.dataColors(),getColorPickerColor(){return t.uiColor(...arguments)},getContrastingColorTo:e=>n.getBestContrastColor(e),getStyle:(t,n,o)=>(r[t]||(r[t]=nt(t,e)),r[t].getStyle(n,o)),validateColor(){const e=arguments.length<=0?void 0:arguments[0];let t;if("string"==typeof e&&(t=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))){const e=parseInt(t[1],10)/255,n=parseInt(t[2],10),r=parseInt(t[3],10),o=parseInt(t[4],10);return"rgba(".concat(n,",").concat(r,",").concat(o,",").concat(e,")")}const n=be(...arguments);return n?n.toString():void 0}},a={setTheme(a,i){e=function(e,t){const n="dark"===e.type?Ve:Ue;let r=Ge;!1!==e._inherit&&"false"!==e._inherit||(r={});const o=$e(!0,{},He,n,r),a=$e(!0,{},o,{scales:null,palettes:{data:null,ui:null}},e);return a.palettes.data&&a.palettes.data.length||(a.palettes.data=o.palettes.data),a.palettes.ui&&a.palettes.ui.length||(a.palettes.ui=o.palettes.ui),a.scales&&a.scales.length||(a.scales=o.scales),t(a)}(a,nt.resolveRawTheme),r={},t=function(e){let t;return{dataScales(){const t=[];return e.scales.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,scheme:!0,type:e.type,colors:e.scale})})),t},dataPalettes(){const t=[];return e.palettes.data.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,type:e.type,colors:e.scale})})),t},uiPalettes(){const t=[];return e.palettes.ui.forEach((e=>{t.push({key:"ui",name:e.name,translation:e.translation,type:"row",colors:e.colors})})),t},dataColors:()=>({primary:e.dataColors.primaryColor,nil:e.dataColors.nullColor,others:e.dataColors.othersColor}),uiColor(e,n){return n=!!n,e.index<0||void 0===e.index?e.color:(void 0===t&&(t=this.uiPalettes()[0]||!1),t?void 0===t.colors[e.index-n]?e.color:t.colors[e.index-n]:e.color)}}}(e);const l=o.getStyle("","","color"),s=ot(l);n=it([l,s<.2?"#ffffff":"#333333"]),o.emit("changed"),o.name=()=>i}};return Object.keys(Y.prototype).forEach((e=>{o[e]=Y.prototype[e]})),Y.init(o),a.setTheme({},"light"),{externalAPI:o,internalAPI:a}}const st=(e,t)=>new Promise((n=>{setTimeout((()=>n(t)),e)})),ct=5e3;function ut(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 dt={},pt={exports:{}},ft={},ht={exports:{}},mt={};
|
|
7
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).stardust={})}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),l=new T(r||[]);return o(a,"_invoke",{value:L(e,n,l)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",g={};function v(){}function b(){}function y(){}var x={};c(x,a,(function(){return this}));var S=Object.getPrototypeOf,w=S&&S(S(P([])));w&&w!==n&&r.call(w,a)&&(x=w);var E=y.prototype=v.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(o,i,a,l){var s=d(e[o],e,i);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,l)}))}l(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function L(e,n,r){var o=p;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var s=R(l,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=d(e,n,r);if("normal"===c.type){if(o=r.done?m:f,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function R(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,R(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function O(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 I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(typeof e+" is not iterable")}return b.prototype=y,o(E,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},C(k.prototype),c(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(E),c(E,s,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=P,T.prototype={constructor:T,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(I),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},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),I(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var c={exports:{}},u={},d=Symbol.for("react.element"),p=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),w=Symbol.iterator;var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,k={};function L(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||E}function R(){}function O(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||E}L.prototype.isReactComponent={},L.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},L.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},R.prototype=L.prototype;var I=O.prototype=new R;I.constructor=O,C(I,L.prototype),I.isPureReactComponent=!0;var T=Array.isArray,P=Object.prototype.hasOwnProperty,_={current:null},N={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)P.call(t,r)&&!N.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var s=Array(l),c=0;c<l;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:d,type:e,key:i,ref:a,props:o,_owner:_.current}}function q(e){return"object"==typeof e&&null!==e&&e.$$typeof===d}var z=/\/+/g;function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function A(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case d:case p:a=!0}}if(a)return o=o(a=e),e=""===r?"."+D(a,0):r,T(o)?(n="",null!=e&&(n=e.replace(z,"$&/")+"/"),A(o,t,n,"",(function(e){return e}))):null!=o&&(q(o)&&(o=function(e,t){return{$$typeof:d,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(z,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",T(e))for(var l=0;l<e.length;l++){var s=r+D(i=e[l],l);a+=A(i,t,n,s,o)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=w&&e[w]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),l=0;!(i=e.next()).done;)a+=A(i=i.value,t,n,s=r+D(i,l++),o);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function j(e,t,n){if(null==e)return e;var r=[],o=0;return A(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function F(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var B={current:null},W={transition:null},$={ReactCurrentDispatcher:B,ReactCurrentBatchConfig:W,ReactCurrentOwner:_};u.Children={map:j,forEach:function(e,t,n){j(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!q(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},u.Component=L,u.Fragment=f,u.Profiler=m,u.PureComponent=O,u.StrictMode=h,u.Suspense=y,u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,u.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=C({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)P.call(t,s)&&!N.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){l=Array(s);for(var c=0;c<s;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:d,type:e.type,key:o,ref:i,props:r,_owner:a}},u.createContext=function(e){return(e={$$typeof:v,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:g,_context:e},e.Consumer=e},u.createElement=M,u.createFactory=function(e){var t=M.bind(null,e);return t.type=e,t},u.createRef=function(){return{current:null}},u.forwardRef=function(e){return{$$typeof:b,render:e}},u.isValidElement=q,u.lazy=function(e){return{$$typeof:S,_payload:{_status:-1,_result:e},_init:F}},u.memo=function(e,t){return{$$typeof:x,type:e,compare:void 0===t?null:t}},u.startTransition=function(e){var t=W.transition;W.transition={};try{e()}finally{W.transition=t}},u.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},u.useCallback=function(e,t){return B.current.useCallback(e,t)},u.useContext=function(e){return B.current.useContext(e)},u.useDebugValue=function(){},u.useDeferredValue=function(e){return B.current.useDeferredValue(e)},u.useEffect=function(e,t){return B.current.useEffect(e,t)},u.useId=function(){return B.current.useId()},u.useImperativeHandle=function(e,t,n){return B.current.useImperativeHandle(e,t,n)},u.useInsertionEffect=function(e,t){return B.current.useInsertionEffect(e,t)},u.useLayoutEffect=function(e,t){return B.current.useLayoutEffect(e,t)},u.useMemo=function(e,t){return B.current.useMemo(e,t)},u.useReducer=function(e,t,n){return B.current.useReducer(e,t,n)},u.useRef=function(e){return B.current.useRef(e)},u.useState=function(e){return B.current.useState(e)},u.useSyncExternalStore=function(e,t,n){return B.current.useSyncExternalStore(e,t,n)},u.useTransition=function(){return B.current.useTransition()},u.version="18.2.0",c.exports=u;var H=c.exports,U=n(H),V=t({__proto__:null,default:U},[H]);const G=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=function(){let{initial:e="en-US",fallback:t="en-US"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n={};let r=e;const o={language:e=>(e&&(r=e),r),add:e=>{const{id:t,locale:r}=e;Object.keys(r).forEach((e=>{n[e]||(n[e]={}),n[e][t]=r[e]}))},get(e,o){let i;return i=n[r]&&void 0!==n[r][e]?n[r][e]:n[t]&&void 0!==n[t][e]?n[t][e]:e,void 0!==o?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))}(i,o):i}};return o}({initial:e,fallback:t});return{translator:n}};var K={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"キャンセル","ko-KR":"취소","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"Отмена","sv-SE":"Avbryt","tr-TR":"İptal","zh-CN":"取消","zh-TW":"取消"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"すべて","ko-KR":"모두","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"ВСЕ","sv-SE":"ALLA","tr-TR":"TÜMÜ","zh-CN":"全部","zh-TW":"全部"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Dismiss:{id:"Listbox.Dismiss",locale:{"de-DE":"Schließen","en-US":"Dismiss","es-ES":"Descartar","fr-FR":"Ignorer","it-IT":"Ignora","ja-JP":"却下","ko-KR":"해제","nl-NL":"Overslaan","pl-PL":"Zamknij","pt-BR":"Ignorar","ru-RU":"Пропустить","sv-SE":"Hoppa över","tr-TR":"Kapat","zh-CN":"离开","zh-TW":"解除"}},Listbox_DrillDown:{id:"Listbox.DrillDown",locale:{"de-DE":"Drilldown-Dimension","en-US":"Drill-down dimension","es-ES":"Dimensión jerárquica","fr-FR":"Dimension hiérarchique","it-IT":"Dimensione drill-down","ja-JP":"軸のドリルダウン","ko-KR":"드릴다운 차원","nl-NL":"Drill-downdimensie","pl-PL":"Wymiar hierarchiczny","pt-BR":"Dimensão de detalhamento","ru-RU":"Детализированное измерение","sv-SE":"Hierarkisk dimension","tr-TR":"Detaya inme boyutu","zh-CN":"钻取维度","zh-TW":"向下探查維度"}},Listbox_ItemsOverflow:{id:"Listbox.ItemsOverflow",locale:{"de-DE":"Derzeit wird ein eingeschränkter Datensatz angezeigt, verwenden Sie die Suche, um die Größe zu reduzieren","en-US":"Currently showing a limited data set, use search to reduce the size","es-ES":"Actualmente se muestra un conjunto de datos limitado, utilice la búsqueda para reducir el tamaño","fr-FR":"Ensemble de données limité actuellement affiché. Utilisez la rechercher pour réduire la taille.","it-IT":"Attualmente visualizzato un set di dati limitato; utilizzare la ricerca per ridurre le dimensioni","ja-JP":"現在表示されているデータ セットは制限されているため、検索を使ってサイズを縮小してください","ko-KR":"현재 제한된 데이터 집합이 표시되고 있습니다. 검색을 사용하여 크기를 줄이십시오.","nl-NL":"Er wordt momenteel een beperkte gegevensverzameling getoond, gebruik Zoeken om de omvang te verkleinen","pl-PL":"Wyświetlany jest ograniczony zestaw danych. Użyj wyszukiwania, aby zmniejszyć rozmiar.","pt-BR":"Atualmente mostrando um conjunto de dados limitado, use a pesquisa para reduzir o tamanho","ru-RU":"Сейчас отображается ограниченный набор данных. Используйте поиск, чтобы уменьшить размер.","sv-SE":"En begränsad datauppsättning visas. Använd sök för att minska storleken","tr-TR":"Şu anda sınırlı bir veri kümesi gösteriliyor. Boyutu azaltmak için arama işlevini kullanın","zh-CN":"目前显示有限的数据集,使用搜索来减少大小","zh-TW":"目前顯示有限資料集,請使用搜尋減少大小"}},Listbox_Lock:{id:"Listbox.Lock",locale:{"de-DE":"Auswahlen sperren","en-US":"Lock selections","es-ES":"Bloquear selecciones","fr-FR":"Verrouiller les sélections","it-IT":"Blocca selezioni","ja-JP":"選択をロック","ko-KR":"선택 내용 잠금","nl-NL":"Selecties vergrendelen","pl-PL":"Zablokuj wybory","pt-BR":"Bloquear seleções","ru-RU":"Заблокировать выборки","sv-SE":"Lås urval","tr-TR":"Seçimleri kilitle","zh-CN":"锁定选择项","zh-TW":"鎖定選項"}},Listbox_NoMatchesForYourTerms:{id:"Listbox.NoMatchesForYourTerms",locale:{"de-DE":"Für Ihre Suche wurden keine Übereinstimmungen gefunden.","en-US":"There are no matches for your search.","es-ES":"No hay resultados para su búsqueda.","fr-FR":"Aucun résultat ne correspond à votre recherche.","it-IT":"Non è stata trovata alcuna corrispondenza per questa ricerca.","ja-JP":"検索に一致するものがありません。","ko-KR":"검색에 대해 일치하는 항목이 없습니다.","nl-NL":"Er zijn geen overeenkomsten voor uw zoekopdracht.","pl-PL":"Brak dopasowań dla tego wyszukiwania.","pt-BR":"Não há correspondências para sua pesquisa.","ru-RU":"Нет совпадений по вашему поисковому запросу.","sv-SE":"Det finns inga matchningar för din sökning.","tr-TR":"Aramanızla eşleşen sonuç yok.","zh-CN":"您的搜索条件没有任何匹配结果。","zh-TW":"沒有與您搜尋相符的項目。"}},Listbox_ResultFilterLabel:{id:"Listbox.ResultFilterLabel",locale:{"de-DE":"Suchergebnisfilter","en-US":"Search Results Filter","es-ES":"Filtro de resultados de búsqueda","fr-FR":"Filtre de résultats de recherche","it-IT":"Filtro risultati Ricerca","ja-JP":"検索結果フィルター","ko-KR":"검색 결과 필터","nl-NL":"Filter voor zoekresultaten","pl-PL":"Filtr wyników wyszukiwania","pt-BR":"Filtro de resultados da pesquisa","ru-RU":"Фильтр результатов поиска","sv-SE":"Filter för sökresultat","tr-TR":"Arama Sonuçları Filtresi","zh-CN":"搜索结果筛选器","zh-TW":"搜尋結果篩選"}},Listbox_ScreenReader_SearchThenSelectionsMenu_WithAccSelMenu:{id:"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu",locale:{"de-DE":"Drücken Sie die Umschalttaste zusammen mit der Tabulatortaste, um den Fokus in die Suchleiste zu setzen, und dann erneut beide Tasten, um den Fokus in das Auswahlmenü zu setzen.","en-US":"Press Shift plus Tab to set focus on the search bar, then Shift plus Tab again to set focus on the selections menu.","es-ES":"Pulse Mayús + Tabulador para establecer el foco en la barra de búsqueda, luego Mayús + Tabulador nuevamente para establecer el foco en el menú de selecciones.","fr-FR":"Appuyez sur Maj + Tab pour mettre le focus sur la barre de recherche, puis de nouveau sur Maj + Tab pour mettre le focus sur le menu de sélections.","it-IT":"Premere MAIUSC+TAB per impostare lo stato attivo sulla barra di ricerca, quindi premere nuovamente MAIUSC+TAB per impostare lo stato attivo sul menu selezioni.","ja-JP":"Shift + Tab を押して検索バーにフォーカスを設定し、Shift + Tab をもう一度押して選択メニューにフォーカスを設定します。","ko-KR":"Shift+Tab을 눌러 검색 막대에 초점을 맞춘 다음 Shift+Tab을 다시 눌러 선택 메뉴에 초점을 맞추십시오.","nl-NL":"Druk op Shift + Tab om de focus in te stellen op de zoekbalk, druk vervolgens nogmaals op Shift + Tab om de focus in te stellen op het selectiemenu.","pl-PL":"Naciśnij Shift i Tab, aby ustawić ostrość na pasku wyszukiwania. Następnie ponownie użyj tej kombinacji klawiszy, aby ustawić ostrość na menu wyboru.","pt-BR":"Pressione Shift + Tab para definir o foco na barra de pesquisa e Shift + Tab novamente para definir o foco no menu de seleções.","ru-RU":"Нажмите клавиши SHIFT+TAB, чтобы переключиться на строку поиска. Затем снова нажмите клавиши SHIFT+TAB, чтобы переключиться на меню выбора.","sv-SE":"Tryck på Skift plus Tabb för att ställa in fokus på sökfältet, sedan Skift plus Tabb igen för att ställa in fokus på urvalsmenyn.","tr-TR":"Odağı arama çubuğuna ayarlamak için Shift ve Sekme tuşlarına birlikte basın, ardından bu tuşlara birlikte tekrar basarak odağı seçim menüsüne ayarlayın.","zh-CN":"按 Shift+Tab 在搜索栏上设置焦点,然后再次按 Shift+Tab 在“选择”菜单上设置焦点。","zh-TW":"按下 Shift 加 Tab 鍵以設定搜尋列上的焦點,然後再次按下 Shift 加 Tab 鍵,以設定選項功能表上的焦點。"}},Listbox_ScreenReader_SelectionMenu_WithAccSelMenu:{id:"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",locale:{"de-DE":"Drücken Sie gleichzeitig die Umschalt- und die Tabulatortaste, um den Fokus in das Auswahlmenü zu setzen.","en-US":"Press Shift plus Tab to set focus on the selections menu.","es-ES":"Pulse Mayús + Tabulador para establecer el foco en el menú de selecciones.","fr-FR":"Appuyez sur Maj + Tab pour mettre le focus sur le menu de sélections.","it-IT":"Premere i tasti MAIUSC+TAB per evidenziare il menu di selezione.","ja-JP":"Shift キー + Tab キーを押して選択メニューにフォーカスを設定します。","ko-KR":"선택 메뉴에 초점을 설정하려면 Shift+Tab을 누르십시오.","nl-NL":"Druk op Shift + Tab om de focus in te stellen op het selectiemenu.","pl-PL":"Naciśnij Shift i Tab, aby ustawić ostrość na menu wyboru.","pt-BR":"Pressione Shift + Tab para definir o foco sobre o menu de seleções.","ru-RU":"Нажмите клавиши SHIFT+TAB, чтобы переключиться на меню выбора.","sv-SE":"Tryck på Skift plus Tabb när du vill ställa in fokus på urvalsmenyn.","tr-TR":"Odağı seçim menüsüne ayarlamak için Shift ve Sekme tuşlarına birlikte basın.","zh-CN":"按下 Shift 加 Tab 以将焦点设置在选择菜单上。","zh-TW":"按下 Shift 加 Tab 以在選項功能表上設定焦點。"}},Listbox_ScreenReaderInstructions:{id:"Listbox.ScreenReaderInstructions",locale:{"de-DE":"Bei Aktivierung der Elemente unten wird der Seiteninhalt aktualisiert","en-US":"Activating the elements below will cause content on the page to be updated","es-ES":"La activación de los elementos siguientes hará que se actualice el contenido en la página","fr-FR":"L'activation des éléments ci-dessous actualisera le contenu de la page.","it-IT":"L'attivazione degli elementi sottostanti causerà l'aggiornamento del contenuto della pagina","ja-JP":"下記の要素をアクティブ化すると、ページのコンテンツが更新されます","ko-KR":"아래 요소를 활성화하면 페이지의 콘텐츠가 업데이트됩니다.","nl-NL":"Door de onderstaande elementen te activeren wordt de inhoud op de pagina bijgewerkt","pl-PL":"Aktywacja poniższych elementów spowoduje aktualizację zawartości na stronie","pt-BR":"A ativação dos elementos abaixo fará com que o conteúdo da página seja atualizado","ru-RU":"Активация приведенных ниже элементов приведет к обновлению содержимого страницы","sv-SE":"Om du aktiverar elementen nedan kommer innehåll på sidan att uppdateras","tr-TR":"Aşağıdaki öğeleri etkinleştirmek sayfadaki içeriğin güncellenmesine neden olur","zh-CN":"激活下面的元素将导致页面上的内容更新","zh-TW":"啟用以下元素將會造成更新頁面上的內容"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de sélection","it-IT":"Cerca nella casella di elenco","ja-JP":"リストボックス内を検索","ko-KR":"목록 상자에서 검색","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w liście wartości","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"Поиск в списке","sv-SE":"Sök i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"在列表框中搜索","zh-TW":"在清單方塊中搜尋"}},Listbox_Search_ScreenReaderInstructions:{id:"Listbox.Search.ScreenReaderInstructions",locale:{"de-DE":"Über das folgende Suchfeld werden Ergebnisse während der Eingabe gefiltert","en-US":"The following search field filters results below as you type","es-ES":"El siguiente campo de búsqueda filtra los resultados siguientes a medida que escribe","fr-FR":"Le champ de recherche suivant filtrer les résultats ci-dessous à mesure de votre saisie.","it-IT":"Il seguente campo di ricerca filtra i risultati man mano che vengono digitati","ja-JP":"次の検索フィールドは、入力と同時に下記の結果をフィルターします","ko-KR":"다음 검색 필드는 입력할 때 아래의 결과를 필터링합니다.","nl-NL":"Het volgende zoekveld filtert resultaten terwijl u typt","pl-PL":"Następujące pole wyszukiwania filtruje wyniki poniżej w miarę pisania","pt-BR":"O campo de pesquisa a seguir filtra os resultados abaixo conforme você digita","ru-RU":"Следующее поле поиска фильтрует результаты ниже по мере ввода текста","sv-SE":"Följande sökfält filtrerar resultaten nedan medan du skriver","tr-TR":"Aşağıdaki arama alanı siz yazarken aşağıdaki sonuçları filtreler","zh-CN":"键入时,以下搜索字段筛选结果如下","zh-TW":"下列搜尋欄位在您輸入時篩選以下結果"}},Listbox_Unlock:{id:"Listbox.Unlock",locale:{"de-DE":"Auswahlen entsperren","en-US":"Unlock selections","es-ES":"Desbloquear selecciones","fr-FR":"Déverrouiller les sélections","it-IT":"Sblocca selezioni","ja-JP":"選択をロック解除","ko-KR":"선택 내용 잠금 해제","nl-NL":"Selecties ontgrendelen","pl-PL":"Odblokuj wybory","pt-BR":"Desbloquear seleções","ru-RU":"Разблокировать выборки","sv-SE":"Lås upp urval","tr-TR":"Seçimlerin kilidini aç","zh-CN":"将选择项解锁","zh-TW":"解鎖選項"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"Más","fr-FR":"Plus","it-IT":"Altro","ja-JP":"詳細","ko-KR":"자세히","nl-NL":"Meer","pl-PL":"Więcej","pt-BR":"Mais","ru-RU":"Дополнительно","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"更多","zh-TW":"更多"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zurück","en-US":"Step back","es-ES":"Atrás","fr-FR":"Retour en arrière","it-IT":"Torna indietro","ja-JP":"1 段階戻る","ko-KR":"이전 단계","nl-NL":"Stap terug","pl-PL":"Krok do tyłu","pt-BR":"Voltar uma etapa","ru-RU":"Шаг назад","sv-SE":"Gå bakåt","tr-TR":"Bir adım geri","zh-CN":"后退","zh-TW":"倒退"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"Étape suivante","it-IT":"Vai avanti","ja-JP":"1段階進む","ko-KR":"다음 단계","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avançar uma etapa","ru-RU":"Шаг вперед","sv-SE":"Gå framåt","tr-TR":"Bir adım ileri","zh-CN":"前进","zh-TW":"前進"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"확인","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"ОК","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"确定","zh-TW":"確定"}},Object_Listbox_Alternative:{id:"Object.Listbox.Alternative",locale:{"de-DE":"Alternative","en-US":"Alternative","es-ES":"Alternativo","fr-FR":"Alternatif","it-IT":"Alternativo","ja-JP":"代替","ko-KR":"대체 항목","nl-NL":"Alternatief","pl-PL":"Alternatywne","pt-BR":"Alternativo","ru-RU":"Альтернативные","sv-SE":"Alternativ","tr-TR":"Alternatif","zh-CN":"可选","zh-TW":"替代選項"}},Object_Listbox_Excluded:{id:"Object.Listbox.Excluded",locale:{"de-DE":"Ausgeschlossen","en-US":"Excluded","es-ES":"Excluido","fr-FR":"Exclu","it-IT":"Escluso","ja-JP":"除外済み","ko-KR":"제외됨","nl-NL":"Uitgesloten","pl-PL":"Wykluczone","pt-BR":"Excluído","ru-RU":"Исключенные","sv-SE":"Uteslutet","tr-TR":"Hariç tutulan","zh-CN":"已排除","zh-TW":"已排除"}},Object_Listbox_ExcludedLock:{id:"Object.Listbox.ExcludedLock",locale:{"de-DE":"Ausgeschlossene Sperre","en-US":"Excluded lock","es-ES":"Bloqueo excluido","fr-FR":"Exclu verrouillé","it-IT":"Blocco escluso","ja-JP":"除外されたロック","ko-KR":"제외된 잠금","nl-NL":"Uitsluitingsvergrendeling","pl-PL":"Wykluczone zablokowane","pt-BR":"Bloqueado excluído","ru-RU":"Блокировать исключенные элементы","sv-SE":"Uteslutet låst","tr-TR":"Hariç tutulan kilit","zh-CN":"已排除锁定","zh-TW":"已排除鎖定"}},Object_Listbox_Locked:{id:"Object.Listbox.Locked",locale:{"de-DE":"Gesperrt","en-US":"Locked","es-ES":"Bloqueado","fr-FR":"Verrouillé","it-IT":"Bloccato","ja-JP":"ロック済み","ko-KR":"잠김","nl-NL":"Vergrendeld","pl-PL":"Zablokowane","pt-BR":"Bloqueado","ru-RU":"Заблокированные","sv-SE":"Låst","tr-TR":"Kilitli","zh-CN":"已锁定","zh-TW":"已鎖定"}},Object_Listbox_Optional:{id:"Object.Listbox.Optional",locale:{"de-DE":"Optional","en-US":"Optional","es-ES":"Opcional","fr-FR":"Facultatif","it-IT":"Opzionale","ja-JP":"オプション","ko-KR":"선택 사항","nl-NL":"Optioneel","pl-PL":"Opcjonalne","pt-BR":"Opcional","ru-RU":"Дополнительные","sv-SE":"Valfritt","tr-TR":"İsteğe bağlı","zh-CN":"可选","zh-TW":"選用"}},Object_Listbox_Selected:{id:"Object.Listbox.Selected",locale:{"de-DE":"Ausgewählt","en-US":"Selected","es-ES":"Seleccionado","fr-FR":"Sélectionné","it-IT":"Selezionato","ja-JP":"選択済み","ko-KR":"선택됨","nl-NL":"Geselecteerd","pl-PL":"Wybrane","pt-BR":"Selecionado","ru-RU":"Выбранные","sv-SE":"Urval","tr-TR":"Seçilen","zh-CN":"已选择","zh-TW":"已選取"}},Object_Listbox_SelectedExcluded:{id:"Object.Listbox.SelectedExcluded",locale:{"de-DE":"Ausgeschlossen ausgewählt","en-US":"Selected excluded","es-ES":"Seleccionado excluido","fr-FR":"Sélectionné exclu","it-IT":"Selezionato escluso","ja-JP":"選択された除外値","ko-KR":"제외 항목 선택됨","nl-NL":"Geselecteerde uitgesloten","pl-PL":"Wybrane wykluczone","pt-BR":"Excluído selecionado","ru-RU":"Выбранные исключенные элементы","sv-SE":"Urval uteslutet","tr-TR":"Seçili hariç tutulan","zh-CN":"已排除选择","zh-TW":"已選取排除值"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de données en cours","it-IT":"Caricamento dati in corso","ja-JP":"データのロード中","ko-KR":"데이터 로드 중","nl-NL":"Gegevens worden geladen","pl-PL":"Ładowanie danych","pt-BR":"Carregando dados","ru-RU":"Загрузка данных","sv-SE":"Laddar data","tr-TR":"Veriler yükleniyor","zh-CN":"加载数据","zh-TW":"正在載入資料"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualización de datos","fr-FR":"Mise à jour des données annulée","it-IT":"Aggiornamento dati annullato","ja-JP":"データの更新がキャンセルされました","ko-KR":"데이터 업데이트가 취소되었습니다.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych została anulowana","pt-BR":"A atualização de dados foi cancelada","ru-RU":"Обновление данных отменено","sv-SE":"Datauppdateringen avbröts.","tr-TR":"Veri güncelleştirme iptal edildi","zh-CN":"数据更新已取消","zh-TW":"資料更新已取消"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"Réessayer","it-IT":"Riprova","ja-JP":"再試行","ko-KR":"다시 시도","nl-NL":"Opnieuw","pl-PL":"Ponów próbę","pt-BR":"Tentar novamente","ru-RU":"Повторить попытку","sv-SE":"Försök igen","tr-TR":"Yeniden dene","zh-CN":"重试","zh-TW":"重試"}},ScreenReader_ManySearchResults:{id:"ScreenReader.ManySearchResults",locale:{"de-DE":"Es sind {0} Ergebnisse verfügbar","en-US":"There are {0} available results","es-ES":"Hay {0} resultados disponibles","fr-FR":"Il existe {0} résultats disponibles.","it-IT":"{0} risultati disponibili","ja-JP":"利用可能な結果が {0} つあります","ko-KR":"{0}개의 결과를 사용할 수 있음","nl-NL":"Er zijn {0} beschikbare resultaten","pl-PL":"Liczba dostępnych wyników: {0}","pt-BR":"Há {0} resultados disponíveis","ru-RU":"Имеются доступные результаты: {0}","sv-SE":"Det finns {0} tillgängliga resultat","tr-TR":"Kullanılabilir {0} sonuç mevcut","zh-CN":"有 {0} 个可用结果","zh-TW":"有 {0} 個可用的結果"}},ScreenReader_ManySelected:{id:"ScreenReader.ManySelected",locale:{"de-DE":"Es sind {0} Werte ausgewählt.","en-US":"There are {0} selected values.","es-ES":"Hay {0} valores seleccionados.","fr-FR":"{0} valeurs sont sélectionnées.","it-IT":"Sono presenti {0} valori selezionati.","ja-JP":"値が {0} 個選択されています。","ko-KR":"{0}개의 값이 선택되었습니다.","nl-NL":"Er zijn {0} geselecteerde waarden.","pl-PL":"Wybranych wartości: {0}","pt-BR":"Há {0} valores selecionados.","ru-RU":"Выбраны {0} значений(я).","sv-SE":"{0} värden är valda.","tr-TR":"Seçilen {0} değer var.","zh-CN":"存在 {0} 个已选择的值。","zh-TW":"有 {0} 個選取的值。"}},ScreenReader_OneSearchResult:{id:"ScreenReader.OneSearchResult",locale:{"de-DE":"Es ist ein Ergebnis verfügbar","en-US":"There is one available result","es-ES":"Hay un resultado disponible","fr-FR":"Il existe un résultat disponible.","it-IT":"Un risultato disponibile","ja-JP":"利用可能な結果が 1 つあります","ko-KR":"하나의 결과를 사용할 수 있음","nl-NL":"Er is één beschikbaar resultaat","pl-PL":"Jest jeden dostępny wynik","pt-BR":"Há um resultado disponível","ru-RU":"Имеется один доступный результат","sv-SE":"Det finns ett tillgängligt resultat","tr-TR":"Kullanılabilir bir sonuç mevcut","zh-CN":"有一个可用结果","zh-TW":"有一個可用的結果"}},ScreenReader_OneSelected:{id:"ScreenReader.OneSelected",locale:{"de-DE":"Es ist ein Wert ausgewählt.","en-US":"There is one selected value.","es-ES":"Hay un valor seleccionado.","fr-FR":"Une valeur est sélectionnée.","it-IT":"È presente un valore selezionato.","ja-JP":"値が 1 つ選択されています。","ko-KR":"하나의 값이 선택되었습니다.","nl-NL":"Er is één waarde geselecteerd.","pl-PL":"Istnieje jedna wybrana wartość.","pt-BR":"Há um valor selecionado.","ru-RU":"Выбрано одно значение.","sv-SE":"Ett värde är valt.","tr-TR":"Seçilen bir değer var.","zh-CN":"存在一个已选择的值。","zh-TW":"有一個選取的值。"}},ScreenReader_ZeroSelected:{id:"ScreenReader.ZeroSelected",locale:{"de-DE":"Es sind keine Werte ausgewählt.","en-US":"No values are selected.","es-ES":"No se ha seleccionado ningún valor.","fr-FR":"Aucune valeur n'est sélectionnée.","it-IT":"Nessun valore selezionato.","ja-JP":"値が選択されていません。","ko-KR":"선택된 값이 없습니다.","nl-NL":"Geen waarden geselecteerd.","pl-PL":"Brak wybranych wartości.","pt-BR":"Nenhum valor selecionado.","ru-RU":"Значения не выбраны.","sv-SE":"Inga värden är valda.","tr-TR":"Seçilen değer yok.","zh-CN":"未选择值。","zh-TW":"沒有選取任何值。"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selección","fr-FR":"Annuler la sélection","it-IT":"Annulla selezione","ja-JP":"選択のキャンセル","ko-KR":"선택 취소","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcję","pt-BR":"Cancelar seleção","ru-RU":"Отменить выборку","sv-SE":"Avbryt urval","tr-TR":"Seçimi iptal et","zh-CN":"取消选择","zh-TW":"取消選取"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selection","es-ES":"Borrar selección","fr-FR":"Effacer la sélection","it-IT":"Cancella selezione","ja-JP":"選択をクリア","ko-KR":"선택 해제","nl-NL":"Selectie wissen","pl-PL":"Wyczyść selekcję","pt-BR":"Limpar seleção","ru-RU":"Очистить выбор","sv-SE":"Rensa urval","tr-TR":"Seçimi temizle","zh-CN":"清除选择","zh-TW":"清除選項"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen löschen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les sélections","it-IT":"Cancella tutte le selezioni","ja-JP":"選択をすべてクリアする","ko-KR":"모든 선택 해제","nl-NL":"Alle selecties wissen","pl-PL":"Wyczyść wszystkie selekcje","pt-BR":"Limpar todas as seleções","ru-RU":"Очистить от всех выборок","sv-SE":"Radera alla urval","tr-TR":"Tüm seçimleri temizle","zh-CN":"清除所有选择项","zh-TW":"清除所有選項"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status löschen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les états","it-IT":"Cancella tutti gli stati","ja-JP":"全ステートをクリア","ko-KR":"모든 상태 지우기","nl-NL":"Alle states wissen","pl-PL":"Wyczyść wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"Очистить все состояния","sv-SE":"Rensa alla tillstånd","tr-TR":"Tüm durumları temizle","zh-CN":"清除所有状态","zh-TW":"清除所有狀態"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl bestätigen","en-US":"Confirm selection","es-ES":"Confirmar selección","fr-FR":"Confirmer la sélection","it-IT":"Conferma selezione","ja-JP":"選択の確認","ko-KR":"선택 확인","nl-NL":"Selectie bevestigen","pl-PL":"Potwierdź selekcję","pt-BR":"Confirmar seleção","ru-RU":"Подтвердить выборку","sv-SE":"Bekräfta urval","tr-TR":"Seçimi onayla","zh-CN":"确认选择","zh-TW":"確認選取"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmenü","en-US":"Selection menu","es-ES":"Menú de selección","fr-FR":"Menu Sélection","it-IT":"Menu Selezione","ja-JP":"選択メニュー","ko-KR":"선택 메뉴","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de seleção","ru-RU":'Меню "Выборка"',"sv-SE":"Urvalsmeny","tr-TR":"Seçim menüsü","zh-CN":"选择菜单","zh-TW":"選項功能表"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutto","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替値を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外値を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluído","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込値を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possível","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olasıyı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},SelectionToolbar_ClickToUnlock:{id:"SelectionToolbar.ClickToUnlock",locale:{"de-DE":"Zum Entsperren klicken","en-US":"Click to unlock","es-ES":"Haga clic para desbloquearla","fr-FR":"Cliquez pour déverrouiller","it-IT":"Fare clic per sbloccare","ja-JP":"クリックしてロック解除","ko-KR":"잠금을 해제하려면 클릭하십시오.","nl-NL":"Klik om te ontgrendelen","pl-PL":"Aby odblokować, kliknij","pt-BR":"Clique para destravar","ru-RU":"Щелкните, чтобы разблокировать","sv-SE":"Klicka för att låsa upp","tr-TR":"Kilidi kaldırmak için tıklayın","zh-CN":"单击以解锁","zh-TW":"按一下以解除鎖定"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollständige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualización incompleta","fr-FR":"Visualisation incomplète","it-IT":"Visualizzazione incompleta","ja-JP":"未完了のビジュアライゼーション","ko-KR":"완료되지 않은 시각화","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualização incompleta","ru-RU":"Незавершенная визуализация","sv-SE":"Ofullständig visualisering","tr-TR":"Tamamlanmamış görselleştirme","zh-CN":"不完整的可视化","zh-TW":"視覺化未完成"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} 軸","ko-KR":"{1} 차원의 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiarów","pt-BR":"{0} de {1} dimensões","ru-RU":"Измерения: {0} из {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} 个维度","zh-TW":"{1} 個維度中的 {0} 個"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} メジャー","ko-KR":"{1} 측정값의 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"Меры: {0} из {1}","sv-SE":"{0} av {1} mått","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} 个度量","zh-TW":"{1} 個量值中的 {0} 個"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ungültige Dimension","en-US":"Invalid dimension","es-ES":"Dimensión no válida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"無効な軸です","ko-KR":"잘못된 차원","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawidłowy wymiar","pt-BR":"Dimensão inválida","ru-RU":"Недопустимое измерение","sv-SE":"Ogiltig dimension","tr-TR":"Geçersiz boyut","zh-CN":"无效维度","zh-TW":"維度無效"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ungültige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no válida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"無効なメジャーです","ko-KR":"잘못된 측정값","nl-NL":"Ongeldige meting","pl-PL":"Nieprawidłowa miara","pt-BR":"Medida inválida","ru-RU":"Недопустимая мера","sv-SE":"Ogiltigt mått","tr-TR":"Geçersiz hesaplama","zh-CN":"无效度量项","zh-TW":"量值無效"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"エラー","ko-KR":"오류","nl-NL":"Fout","pl-PL":"Błąd","pt-BR":"Erro","ru-RU":"Ошибка","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"错误","zh-TW":"錯誤"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erfüllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condición de cálculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non è soddisfatta","ja-JP":"演算実行条件が満たされていません","ko-KR":"계산 조건이 충족되지 않았습니다.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spełniony","pt-BR":"A condição de cálculo não foi atendida","ru-RU":"Условие вычисления не выполнено","sv-SE":"Beräkningsvillkoret uppfylls inte","tr-TR":"Hesaplama koşulu yerine getirilmedi","zh-CN":"不满足计算条件","zh-TW":"不符計算條件"}}};function Z(e){const t=G({initial:e});return Object.keys(K).forEach((e=>{t.translator.add(K[e])})),{translator:t.translator}}var X={};function Q(){Q.init.call(this)}X.isObject=function(e){return"object"==typeof e&&null!==e},X.isNumber=function(e){return"number"==typeof e},X.isUndefined=function(e){return void 0===e},X.isFunction=function(e){return"function"==typeof e};var J=Q;Q.EventEmitter=Q,Q.prototype._events=void 0,Q.prototype._maxListeners=void 0,Q.defaultMaxListeners=10,Q.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},Q.prototype.setMaxListeners=function(e){if(!X.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},Q.prototype.emit=function(e){var t,n,r,o,i,a;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],X.isUndefined(n))return!1;if(X.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];n.apply(this,o)}else if(X.isObject(n)){for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];for(r=(a=n.slice()).length,i=0;i<r;i++)a[i].apply(this,o)}return!0},Q.prototype.addListener=function(e,t){var n;if(!X.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,X.isFunction(t.listener)?t.listener:t),this._events[e]?X.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,X.isObject(this._events[e])&&!this._events[e].warned)&&((n=X.isUndefined(this._maxListeners)?Q.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,X.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),X.isFunction(console.trace)&&console.trace()));return this},Q.prototype.on=Q.prototype.addListener,Q.prototype.once=function(e,t){if(!X.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},Q.prototype.removeListener=function(e,t){var n,r,o,i;if(!X.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||X.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(X.isObject(n)){for(i=o;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){r=i;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},Q.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],X.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},Q.prototype.listeners=function(e){return this._events&&this._events[e]?X.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},Q.listenerCount=function(e,t){return e._events&&e._events[t]?X.isFunction(e._events[t])?1:e._events[t].length:0};var Y=n(J);function ee(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function te(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ne(){}var re=.7,oe=1/re,ie="\\s*([+-]?\\d+)\\s*",ae="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",le="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",se=/^#([0-9a-f]{3,8})$/,ce=new RegExp(`^rgb\\(${ie},${ie},${ie}\\)$`),ue=new RegExp(`^rgb\\(${le},${le},${le}\\)$`),de=new RegExp(`^rgba\\(${ie},${ie},${ie},${ae}\\)$`),pe=new RegExp(`^rgba\\(${le},${le},${le},${ae}\\)$`),fe=new RegExp(`^hsl\\(${ae},${le},${le}\\)$`),he=new RegExp(`^hsla\\(${ae},${le},${le},${ae}\\)$`),me={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 ge(){return this.rgb().formatHex()}function ve(){return this.rgb().formatRgb()}function be(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=se.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ye(t):3===n?new we(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?xe(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?xe(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=ce.exec(e))?new we(t[1],t[2],t[3],1):(t=ue.exec(e))?new we(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=de.exec(e))?xe(t[1],t[2],t[3],t[4]):(t=pe.exec(e))?xe(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=fe.exec(e))?Oe(t[1],t[2]/100,t[3]/100,1):(t=he.exec(e))?Oe(t[1],t[2]/100,t[3]/100,t[4]):me.hasOwnProperty(e)?ye(me[e]):"transparent"===e?new we(NaN,NaN,NaN,0):null}function ye(e){return new we(e>>16&255,e>>8&255,255&e,1)}function xe(e,t,n,r){return r<=0&&(e=t=n=NaN),new we(e,t,n,r)}function Se(e,t,n,r){return 1===arguments.length?((o=e)instanceof ne||(o=be(o)),o?new we((o=o.rgb()).r,o.g,o.b,o.opacity):new we):new we(e,t,n,null==r?1:r);var o}function we(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ee(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}`}function Ce(){const e=ke(this.opacity);return`${1===e?"rgb(":"rgba("}${Le(this.r)}, ${Le(this.g)}, ${Le(this.b)}${1===e?")":`, ${e})`}`}function ke(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Le(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Re(e){return((e=Le(e))<16?"0":"")+e.toString(16)}function Oe(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 Ie(e){if(e instanceof Te)return new Te(e.h,e.s,e.l,e.opacity);if(e instanceof ne||(e=be(e)),!e)return new Te;if(e instanceof Te)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new Te(a,l,s,e.opacity)}function Te(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Pe(e){return(e=(e||0)%360)<0?e+360:e}function _e(e){return Math.max(0,Math.min(1,e||0))}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)}ee(ne,be,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ge,formatHex:ge,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ie(this).formatHsl()},formatRgb:ve,toString:ve}),ee(we,Se,te(ne,{brighter(e){return e=null==e?oe:Math.pow(oe,e),new we(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?re:Math.pow(re,e),new we(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new we(Le(this.r),Le(this.g),Le(this.b),ke(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ee,formatHex:Ee,formatHex8:function(){return`#${Re(this.r)}${Re(this.g)}${Re(this.b)}${Re(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ce,toString:Ce})),ee(Te,(function(e,t,n,r){return 1===arguments.length?Ie(e):new Te(e,t,n,null==r?1:r)}),te(ne,{brighter(e){return e=null==e?oe:Math.pow(oe,e),new Te(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?re:Math.pow(re,e),new Te(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new we(Ne(e>=240?e-240:e+120,o,r),Ne(e,o,r),Ne(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Te(Pe(this.h),_e(this.s),_e(this.l),ke(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ke(this.opacity);return`${1===e?"hsl(":"hsla("}${Pe(this.h)}, ${100*_e(this.s)}%, ${100*_e(this.l)}%${1===e?")":`, ${e})`}`}}));var Me=Object.prototype.hasOwnProperty,qe=Object.prototype.toString,ze=Object.defineProperty,De=Object.getOwnPropertyDescriptor,Ae=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===qe.call(e)},je=function(e){if(!e||"[object Object]"!==qe.call(e))return!1;var t,n=Me.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&Me.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||Me.call(e,t)},Fe=function(e,t){ze&&"__proto__"===t.name?ze(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Be=function(e,t){if("__proto__"===t){if(!Me.call(e,t))return;if(De)return De(e,t).value}return e[t]},We=function e(){var t,n,r,o,i,a,l=arguments[0],s=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)r=Be(l,n),l!==(o=Be(t,n))&&(u&&o&&(je(o)||(i=Ae(o)))?(i?(i=!1,a=r&&Ae(r)?r:[]):a=r&&je(r)?r:{},Fe(l,{name:n,newValue:e(u,a,o)})):void 0!==o&&Fe(l,{name:n,newValue:o}));return l},$e=n(We),He={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"]}]}},Ue={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},Ve={_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"},Ge={object:{listBox:{backgroundColor:"#ffffff",title:{main:{color:"#404040",fontSize:"14px",fontWeight:"bold"}},content:{color:"#404040",fontSize:"12px"}}}};class Ke{constructor(e){this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=be(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([be(e),be(t)])}getColor(e,t){const n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);const r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length);let o=Math.floor(r);o=o===r?o-1:o;const i=this.colorParts[t][o],a=i[0],l=i[1];if(e===this.min)return l;if(e===this.max)return a;const s=function(e,t,n){return Se(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(a,l,r-o);return s}}function Ze(e,t,n){const r=.25+(t+1)/n*.25,o=.5-r;return o+e/1*(.5+r-o)}function Xe(e,t,n){const r=[],o=new Ke(t);r.push(e[0]),n||r.push(e[0]);let i=1;for(;i<e.length-1;i++)r.push(e[i]),r.push(e[i]);r.push(e[i]),n||r.push(e[i]);for(let e=0;e<r.length;e+=2)o.addColorPart(r[e],r[e+1]);return o}function Qe(e,t,n){const r=[];for(let o=0;o<t+1;o++){let i;switch(t){case 0:i=e.getColor(.5);break;default:{const r=Ze(1/t*o,t,n);i=e.getColor(r);break}}r.push(be(i).formatHex())}return r}function Je(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach((e=>{if("class"===e.type){const n=function(e,t,n){const r=Xe(e,n,!0),o=Xe(Qe(r,t-1,t),n,!1),i=[null];for(let e=0;e<t;e++)i.push(Qe(o,e,t));return i}(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}}))}function Ye(e,t){const n=[];let r,o;if(e){let i=e.length;for(;i>=0;){for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat(e)),r.pop(),o--;e.pop(),i--}}else for(r=t.slice(),o=r.length;o>=0;)n.push(r.concat()),r.pop(),o--;return n}function et(e,t){let n=e;for(let e=0;e<t.length;e++){if(!n[t[e]])return;n=n[t[e]]}return n}function tt(e,t,n,r){let o;if(""===e)o=Ye(null,n);else{o=Ye(e.split("."),n)}return function(e,t,n){const r=t.split(".");for(let t=0;t<e.length;t++){const o=et(n,[...e[t],...r]);if(void 0!==o)return o}}(o,t,r)}function nt(e,t){const n=e.split(".");return{getStyle:(e,r)=>tt(e,r,n.concat(),t)}}function rt(e,t){Object.keys(e).forEach((n=>{"object"==typeof e[n]&&null!==e[n]?rt(e[n],t):"string"==typeof e[n]&&"@"===e[n].charAt(0)&&(e[n]=t[e[n]])}))}function ot(e){const t=be(e).rgb(),{r:n,g:r,b:o}=t,[i,a,l]=[n,r,o].map((e=>e/255)),[s,c,u]=[i,a,l].map((e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4));return+(.2126*s+.7152*c+.0722*u).toFixed(5)}nt.resolveRawTheme=e=>{const t=$e(!0,{},e);return rt(t,t._variables),t.scales&&Je(t.scales,t.dataColors&&t.dataColors.nullColor),t};const it=1e3;function at(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0;const r=e.map(ot);return{getBestContrastColor(o){if(!t[o]){n>it&&(t={},n=0);const i=ot(o),a=r.map((e=>{return t=i,n=e,+((Math.max(t,n)+.05)/(Math.min(t,n)+.05)).toFixed(5);var t,n})),l=e[a.indexOf(Math.max(...a))];t[o]=l,n++}return t[o]}}}function lt(){let e,t,n,r={};const o={getDataColorScales:()=>t.dataScales(),getDataColorPalettes:()=>t.dataPalettes(),getDataColorPickerPalettes:()=>t.uiPalettes(),getDataColorSpecials:()=>t.dataColors(),getColorPickerColor(){return t.uiColor(...arguments)},getContrastingColorTo:e=>n.getBestContrastColor(e),getStyle:(t,n,o)=>(r[t]||(r[t]=nt(t,e)),r[t].getStyle(n,o)),validateColor(){const e=arguments.length<=0?void 0:arguments[0];let t;if("string"==typeof e&&(t=/^ARGB\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e))){const e=parseInt(t[1],10)/255,n=parseInt(t[2],10),r=parseInt(t[3],10),o=parseInt(t[4],10);return"rgba(".concat(n,",").concat(r,",").concat(o,",").concat(e,")")}const n=be(...arguments);return n?n.toString():void 0}},i={setTheme(i,a){e=function(e,t){const n="dark"===e.type?Ve:Ue;let r=Ge;!1!==e._inherit&&"false"!==e._inherit||(r={});const o=$e(!0,{},He,n,r),i=$e(!0,{},o,{scales:null,palettes:{data:null,ui:null}},e);return i.palettes.data&&i.palettes.data.length||(i.palettes.data=o.palettes.data),i.palettes.ui&&i.palettes.ui.length||(i.palettes.ui=o.palettes.ui),i.scales&&i.scales.length||(i.scales=o.scales),t(i)}(i,nt.resolveRawTheme),r={},t=function(e){let t;return{dataScales(){const t=[];return e.scales.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,scheme:!0,type:e.type,colors:e.scale})})),t},dataPalettes(){const t=[];return e.palettes.data.forEach((e=>{t.push({key:e.propertyValue,name:e.name,translation:e.translation,type:e.type,colors:e.scale})})),t},uiPalettes(){const t=[];return e.palettes.ui.forEach((e=>{t.push({key:"ui",name:e.name,translation:e.translation,type:"row",colors:e.colors})})),t},dataColors:()=>({primary:e.dataColors.primaryColor,nil:e.dataColors.nullColor,others:e.dataColors.othersColor}),uiColor(e,n){return n=!!n,e.index<0||void 0===e.index?e.color:(void 0===t&&(t=this.uiPalettes()[0]||!1),t?void 0===t.colors[e.index-n]?e.color:t.colors[e.index-n]:e.color)}}}(e);const l=o.getStyle("","","color"),s=ot(l);n=at([l,s<.2?"#ffffff":"#333333"]),o.emit("changed"),o.name=()=>a}};return Object.keys(Y.prototype).forEach((e=>{o[e]=Y.prototype[e]})),Y.init(o),i.setTheme({},"light"),{externalAPI:o,internalAPI:i}}const st=(e,t)=>new Promise((n=>{setTimeout((()=>n(t)),e)})),ct=5e3;function ut(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 dt={},pt={exports:{}},ft={},ht={exports:{}},mt={};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* scheduler.production.min.js
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
!function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,
|
|
17
|
+
!function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],c=l+1,u=e[c];if(0>o(s,n))c<i&&0>o(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else{if(!(c<i&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],c=[],u=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(c);null!==o;){if(null===o.callback)r(c);else{if(!(o.startTime<=e))break;r(c),o.sortIndex=o.expirationTime,t(s,o)}o=n(c)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,_(S);else{var t=n(c);null!==t&&N(x,t.startTime-e)}}function S(t,o){h=!1,m&&(m=!1,v(k),k=-1),f=!0;var i=p;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!O());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var u=!0;else{var g=n(c);null!==g&&N(x,g.startTime-o),u=!1}return u}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,E=!1,C=null,k=-1,L=5,R=-1;function O(){return!(e.unstable_now()-R<L)}function I(){if(null!==C){var t=e.unstable_now();R=t;var n=!0;try{n=C(!0,t)}finally{n?w():(E=!1,C=null)}}else E=!1}if("function"==typeof b)w=function(){b(I)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,P=T.port2;T.port1.onmessage=I,w=function(){P.postMessage(null)}}else w=function(){g(I,0)};function _(e){C=e,E||(E=!0,w())}function N(t,n){k=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,_(S))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:u++,callback:o,priorityLevel:r,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(r.sortIndex=i,t(c,r),null===n(s)&&r===n(c)&&(m?(v(k),k=-1):m=!0,N(x,i-a))):(r.sortIndex=l,t(s,r),h||f||(h=!0,_(S))),r},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(mt),ht.exports=mt;var gt=ht.exports,vt=H,bt=gt;
|
|
18
18
|
/**
|
|
19
19
|
* @license React
|
|
20
20
|
* react-dom.production.min.js
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the MIT license found in the
|
|
25
25
|
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/function yt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var xt=new Set,St={};function wt(e,t){Et(e,t),Et(e+"Capture",t)}function Et(e,t){for(St[e]=t,e=0;e<t.length;e++)xt.add(t[e])}var Ct=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),kt=Object.prototype.hasOwnProperty,Rt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Lt={},Ot={};function It(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var Tt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Tt[e]=new It(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Tt[t]=new It(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Tt[e]=new It(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Tt[e]=new It(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Tt[e]=new It(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Tt[e]=new It(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Tt[e]=new It(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Tt[e]=new It(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Tt[e]=new It(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Pt=/[\-:]([a-z])/g;function _t(e){return e[1].toUpperCase()}function Nt(e,t,n,r){var o=Tt.hasOwnProperty(t)?Tt[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!kt.call(Ot,e)||!kt.call(Lt,e)&&(Rt.test(e)?Ot[e]=!0:(Lt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Pt,_t);Tt[t]=new It(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Pt,_t);Tt[t]=new It(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Pt,_t);Tt[t]=new It(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Tt[e]=new It(e,1,!1,e.toLowerCase(),null,!1,!1)})),Tt.xlinkHref=new It("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Tt[e]=new It(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Mt=vt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,qt=Symbol.for("react.element"),zt=Symbol.for("react.portal"),Dt=Symbol.for("react.fragment"),At=Symbol.for("react.strict_mode"),jt=Symbol.for("react.profiler"),Ft=Symbol.for("react.provider"),Bt=Symbol.for("react.context"),Wt=Symbol.for("react.forward_ref"),$t=Symbol.for("react.suspense"),Ht=Symbol.for("react.suspense_list"),Ut=Symbol.for("react.memo"),Vt=Symbol.for("react.lazy"),Gt=Symbol.for("react.offscreen"),Kt=Symbol.iterator;function Zt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Kt&&e[Kt]||e["@@iterator"])?e:null}var Xt,Qt=Object.assign;function Jt(e){if(void 0===Xt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Xt=t&&t[1]||""}return"\n"+Xt+e}var Yt=!1;function en(e,t){if(!e||Yt)return"";Yt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{Yt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jt(e):""}function tn(e){switch(e.tag){case 5:return Jt(e.type);case 16:return Jt("Lazy");case 13:return Jt("Suspense");case 19:return Jt("SuspenseList");case 0:case 2:case 15:return e=en(e.type,!1);case 11:return e=en(e.type.render,!1);case 1:return e=en(e.type,!0);default:return""}}function nn(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Dt:return"Fragment";case zt:return"Portal";case jt:return"Profiler";case At:return"StrictMode";case $t:return"Suspense";case Ht:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Bt:return(e.displayName||"Context")+".Consumer";case Ft:return(e._context.displayName||"Context")+".Provider";case Wt:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ut:return null!==(t=e.displayName||null)?t:nn(e.type)||"Memo";case Vt:t=e._payload,e=e._init;try{return nn(e(t))}catch(e){}}return null}function rn(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return nn(t);case 8:return t===At?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function an(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ln(e){e._valueTracker||(e._valueTracker=function(e){var t=an(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function sn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=an(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function cn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function un(e,t){var n=t.checked;return Qt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function dn(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=on(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function pn(e,t){null!=(t=t.checked)&&Nt(e,"checked",t,!1)}function fn(e,t){pn(e,t);var n=on(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?mn(e,t.type,n):t.hasOwnProperty("defaultValue")&&mn(e,t.type,on(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function hn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function mn(e,t,n){"number"===t&&cn(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gn=Array.isArray;function vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+on(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function bn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(yt(91));return Qt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function yn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(yt(92));if(gn(n)){if(1<n.length)throw Error(yt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:on(n)}}function xn(e,t){var n=on(t.value),r=on(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Sn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function wn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function En(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?wn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Cn,kn,Rn=(kn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Cn=Cn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Cn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return kn(e,t)}))}:kn);function Ln(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var On={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},In=["Webkit","ms","Moz","O"];function Tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function Pn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(On).forEach((function(e){In.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]}))}));var _n=Qt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Nn(e,t){if(t){if(_n[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(yt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(yt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(yt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(yt(62))}}function Mn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qn=null;function zn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Dn=null,An=null,jn=null;function Fn(e){if(e=Mi(e)){if("function"!=typeof Dn)throw Error(yt(280));var t=e.stateNode;t&&(t=zi(t),Dn(e.stateNode,e.type,t))}}function Bn(e){An?jn?jn.push(e):jn=[e]:An=e}function Wn(){if(An){var e=An,t=jn;if(jn=An=null,Fn(e),t)for(e=0;e<t.length;e++)Fn(t[e])}}function $n(e,t){return e(t)}function Hn(){}var Un=!1;function Vn(e,t,n){if(Un)return e(t,n);Un=!0;try{return $n(e,t,n)}finally{Un=!1,(null!==An||null!==jn)&&(Hn(),Wn())}}function Gn(e,t){var n=e.stateNode;if(null===n)return null;var r=zi(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(yt(231,t,typeof n));return n}var Kn=!1;if(Ct)try{var Zn={};Object.defineProperty(Zn,"passive",{get:function(){Kn=!0}}),window.addEventListener("test",Zn,Zn),window.removeEventListener("test",Zn,Zn)}catch(kn){Kn=!1}function Xn(e,t,n,r,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Qn=!1,Jn=null,Yn=!1,er=null,tr={onError:function(e){Qn=!0,Jn=e}};function nr(e,t,n,r,o,a,i,l,s){Qn=!1,Jn=null,Xn.apply(tr,arguments)}function rr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function or(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ar(e){if(rr(e)!==e)throw Error(yt(188))}function ir(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=rr(e)))throw Error(yt(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return ar(o),e;if(a===r)return ar(o),t;a=a.sibling}throw Error(yt(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(yt(189))}}if(n.alternate!==r)throw Error(yt(190))}if(3!==n.tag)throw Error(yt(188));return n.stateNode.current===n?e:t}(e),null!==e?lr(e):null}function lr(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=lr(e);if(null!==t)return t;e=e.sibling}return null}var sr=bt.unstable_scheduleCallback,cr=bt.unstable_cancelCallback,ur=bt.unstable_shouldYield,dr=bt.unstable_requestPaint,pr=bt.unstable_now,fr=bt.unstable_getCurrentPriorityLevel,hr=bt.unstable_ImmediatePriority,mr=bt.unstable_UserBlockingPriority,gr=bt.unstable_NormalPriority,vr=bt.unstable_LowPriority,br=bt.unstable_IdlePriority,yr=null,xr=null;var Sr=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(wr(e)/Er|0)|0},wr=Math.log,Er=Math.LN2;var Cr=64,kr=4194304;function Rr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Lr(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=Rr(l):0!==(a&=i)&&(r=Rr(a))}else 0!==(i=n&~o)?r=Rr(i):0!==a&&(r=Rr(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Sr(t)),r|=e[n],t&=~o;return r}function Or(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ir(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Tr(){var e=Cr;return 0==(4194240&(Cr<<=1))&&(Cr=64),e}function Pr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _r(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Sr(t)]=n}function Nr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Sr(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Mr=0;function qr(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var zr,Dr,Ar,jr,Fr,Br=!1,Wr=[],$r=null,Hr=null,Ur=null,Vr=new Map,Gr=new Map,Kr=[],Zr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Xr(e,t){switch(e){case"focusin":case"focusout":$r=null;break;case"dragenter":case"dragleave":Hr=null;break;case"mouseover":case"mouseout":Ur=null;break;case"pointerover":case"pointerout":Vr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gr.delete(t.pointerId)}}function Qr(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=Mi(t))&&Dr(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Jr(e){var t=Ni(e.target);if(null!==t){var n=rr(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=or(n)))return e.blockedOn=t,void Fr(e.priority,(function(){Ar(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Yr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=uo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Mi(n))&&Dr(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);qn=r,n.target.dispatchEvent(r),qn=null,t.shift()}return!0}function eo(e,t,n){Yr(e)&&n.delete(t)}function to(){Br=!1,null!==$r&&Yr($r)&&($r=null),null!==Hr&&Yr(Hr)&&(Hr=null),null!==Ur&&Yr(Ur)&&(Ur=null),Vr.forEach(eo),Gr.forEach(eo)}function no(e,t){e.blockedOn===t&&(e.blockedOn=null,Br||(Br=!0,bt.unstable_scheduleCallback(bt.unstable_NormalPriority,to)))}function ro(e){function t(t){return no(t,e)}if(0<Wr.length){no(Wr[0],e);for(var n=1;n<Wr.length;n++){var r=Wr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==$r&&no($r,e),null!==Hr&&no(Hr,e),null!==Ur&&no(Ur,e),Vr.forEach(t),Gr.forEach(t),n=0;n<Kr.length;n++)(r=Kr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Kr.length&&null===(n=Kr[0]).blockedOn;)Jr(n),null===n.blockedOn&&Kr.shift()}var oo=Mt.ReactCurrentBatchConfig,ao=!0;function io(e,t,n,r){var o=Mr,a=oo.transition;oo.transition=null;try{Mr=1,so(e,t,n,r)}finally{Mr=o,oo.transition=a}}function lo(e,t,n,r){var o=Mr,a=oo.transition;oo.transition=null;try{Mr=4,so(e,t,n,r)}finally{Mr=o,oo.transition=a}}function so(e,t,n,r){if(ao){var o=uo(e,t,n,r);if(null===o)ai(e,t,r,co,n),Xr(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return $r=Qr($r,e,t,n,r,o),!0;case"dragenter":return Hr=Qr(Hr,e,t,n,r,o),!0;case"mouseover":return Ur=Qr(Ur,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Vr.set(a,Qr(Vr.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Gr.set(a,Qr(Gr.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Xr(e,r),4&t&&-1<Zr.indexOf(e)){for(;null!==o;){var a=Mi(o);if(null!==a&&zr(a),null===(a=uo(e,t,n,r))&&ai(e,t,r,co,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else ai(e,t,r,null,n)}}var co=null;function uo(e,t,n,r){if(co=null,null!==(e=Ni(e=zn(r))))if(null===(t=rr(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=or(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return co=e,null}function po(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(fr()){case hr:return 1;case mr:return 4;case gr:case vr:return 16;case br:return 536870912;default:return 16}default:return 16}}var fo=null,ho=null,mo=null;function go(){if(mo)return mo;var e,t,n=ho,r=n.length,o="value"in fo?fo.value:fo.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return mo=o.slice(e,1<t?1-t:void 0)}function vo(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function bo(){return!0}function yo(){return!1}function xo(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?bo:yo,this.isPropagationStopped=yo,this}return Qt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=bo)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=bo)},persist:function(){},isPersistent:bo}),t}var So,wo,Eo,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ko=xo(Co),Ro=Qt({},Co,{view:0,detail:0}),Lo=xo(Ro),Oo=Qt({},Ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fo,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Eo&&(Eo&&"mousemove"===e.type?(So=e.screenX-Eo.screenX,wo=e.screenY-Eo.screenY):wo=So=0,Eo=e),So)},movementY:function(e){return"movementY"in e?e.movementY:wo}}),Io=xo(Oo),To=xo(Qt({},Oo,{dataTransfer:0})),Po=xo(Qt({},Ro,{relatedTarget:0})),_o=xo(Qt({},Co,{animationName:0,elapsedTime:0,pseudoElement:0})),No=Qt({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mo=xo(No),qo=xo(Qt({},Co,{data:0})),zo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Do={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"},Ao={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ao[e])&&!!t[e]}function Fo(){return jo}var Bo=Qt({},Ro,{key:function(e){if(e.key){var t=zo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=vo(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Do[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fo,charCode:function(e){return"keypress"===e.type?vo(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?vo(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Wo=xo(Bo),$o=xo(Qt({},Oo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ho=xo(Qt({},Ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fo})),Uo=xo(Qt({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0})),Vo=Qt({},Oo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Go=xo(Vo),Ko=[9,13,27,32],Zo=Ct&&"CompositionEvent"in window,Xo=null;Ct&&"documentMode"in document&&(Xo=document.documentMode);var Qo=Ct&&"TextEvent"in window&&!Xo,Jo=Ct&&(!Zo||Xo&&8<Xo&&11>=Xo),Yo=String.fromCharCode(32),ea=!1;function ta(e,t){switch(e){case"keyup":return-1!==Ko.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function na(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ra=!1;var oa={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function aa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!oa[e.type]:"textarea"===t}function ia(e,t,n,r){Bn(r),0<(t=li(t,"onChange")).length&&(n=new ko("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var la=null,sa=null;function ca(e){Ya(e,0)}function ua(e){if(sn(qi(e)))return e}function da(e,t){if("change"===e)return t}var pa=!1;if(Ct){var fa;if(Ct){var ha="oninput"in document;if(!ha){var ma=document.createElement("div");ma.setAttribute("oninput","return;"),ha="function"==typeof ma.oninput}fa=ha}else fa=!1;pa=fa&&(!document.documentMode||9<document.documentMode)}function ga(){la&&(la.detachEvent("onpropertychange",va),sa=la=null)}function va(e){if("value"===e.propertyName&&ua(sa)){var t=[];ia(t,sa,e,zn(e)),Vn(ca,t)}}function ba(e,t,n){"focusin"===e?(ga(),sa=n,(la=t).attachEvent("onpropertychange",va)):"focusout"===e&&ga()}function ya(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ua(sa)}function xa(e,t){if("click"===e)return ua(t)}function Sa(e,t){if("input"===e||"change"===e)return ua(t)}var wa="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ea(e,t){if(wa(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!kt.call(t,o)||!wa(e[o],t[o]))return!1}return!0}function Ca(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ka(e,t){var n,r=Ca(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ca(r)}}function Ra(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Ra(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function La(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function Oa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Ia(e){var t=La(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ra(n.ownerDocument.documentElement,n)){if(null!==r&&Oa(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=ka(n,a);var i=ka(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ta=Ct&&"documentMode"in document&&11>=document.documentMode,Pa=null,_a=null,Na=null,Ma=!1;function qa(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ma||null==Pa||Pa!==cn(r)||("selectionStart"in(r=Pa)&&Oa(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Na&&Ea(Na,r)||(Na=r,0<(r=li(_a,"onSelect")).length&&(t=new ko("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pa)))}function za(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Da={animationend:za("Animation","AnimationEnd"),animationiteration:za("Animation","AnimationIteration"),animationstart:za("Animation","AnimationStart"),transitionend:za("Transition","TransitionEnd")},Aa={},ja={};function Fa(e){if(Aa[e])return Aa[e];if(!Da[e])return e;var t,n=Da[e];for(t in n)if(n.hasOwnProperty(t)&&t in ja)return Aa[e]=n[t];return e}Ct&&(ja=document.createElement("div").style,"AnimationEvent"in window||(delete Da.animationend.animation,delete Da.animationiteration.animation,delete Da.animationstart.animation),"TransitionEvent"in window||delete Da.transitionend.transition);var Ba=Fa("animationend"),Wa=Fa("animationiteration"),$a=Fa("animationstart"),Ha=Fa("transitionend"),Ua=new Map,Va="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ga(e,t){Ua.set(e,t),wt(t,[e])}for(var Ka=0;Ka<Va.length;Ka++){var Za=Va[Ka];Ga(Za.toLowerCase(),"on"+(Za[0].toUpperCase()+Za.slice(1)))}Ga(Ba,"onAnimationEnd"),Ga(Wa,"onAnimationIteration"),Ga($a,"onAnimationStart"),Ga("dblclick","onDoubleClick"),Ga("focusin","onFocus"),Ga("focusout","onBlur"),Ga(Ha,"onTransitionEnd"),Et("onMouseEnter",["mouseout","mouseover"]),Et("onMouseLeave",["mouseout","mouseover"]),Et("onPointerEnter",["pointerout","pointerover"]),Et("onPointerLeave",["pointerout","pointerover"]),wt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wt("onBeforeInput",["compositionend","keypress","textInput","paste"]),wt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xa="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qa=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xa));function Ja(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(nr.apply(this,arguments),Qn){if(!Qn)throw Error(yt(198));var c=Jn;Qn=!1,Jn=null,Yn||(Yn=!0,er=c)}}(r,t,void 0,e),e.currentTarget=null}function Ya(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Ja(o,l,c),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Ja(o,l,c),a=s}}}if(Yn)throw e=er,Yn=!1,er=null,e}function ei(e,t){var n=t[Ti];void 0===n&&(n=t[Ti]=new Set);var r=e+"__bubble";n.has(r)||(oi(t,e,2,!1),n.add(r))}function ti(e,t,n){var r=0;t&&(r|=4),oi(n,e,r,t)}var ni="_reactListening"+Math.random().toString(36).slice(2);function ri(e){if(!e[ni]){e[ni]=!0,xt.forEach((function(t){"selectionchange"!==t&&(Qa.has(t)||ti(t,!1,e),ti(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ni]||(t[ni]=!0,ti("selectionchange",!1,t))}}function oi(e,t,n,r){switch(po(t)){case 1:var o=io;break;case 4:o=lo;break;default:o=so}n=o.bind(null,t,n,e),o=void 0,!Kn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function ai(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=Ni(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}Vn((function(){var r=a,o=zn(n),i=[];e:{var l=Ua.get(e);if(void 0!==l){var s=ko,c=e;switch(e){case"keypress":if(0===vo(n))break e;case"keydown":case"keyup":s=Wo;break;case"focusin":c="focus",s=Po;break;case"focusout":c="blur",s=Po;break;case"beforeblur":case"afterblur":s=Po;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Io;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=To;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Ho;break;case Ba:case Wa:case $a:s=_o;break;case Ha:s=Uo;break;case"scroll":s=Lo;break;case"wheel":s=Go;break;case"copy":case"cut":case"paste":s=Mo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=$o}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Gn(h,p))&&u.push(ii(h,m,f)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),i.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===qn||!(c=n.relatedTarget||n.fromElement)||!Ni(c)&&!c[Ii])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?Ni(c):null)&&(c!==(d=rr(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=Io,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=$o,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:qi(s),f=null==c?l:qi(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Ni(o)===r&&((u=new u(p,h+"enter",c,n,o)).target=f,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(p=c,h=0,f=u=s;f;f=si(f))h++;for(f=0,m=p;m;m=si(m))f++;for(;0<h-f;)u=si(u),h--;for(;0<f-h;)p=si(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=si(u),p=si(p)}u=null}else u=null;null!==s&&ci(i,l,s,u,!1),null!==c&&null!==d&&ci(i,d,c,u,!0)}if("select"===(s=(l=r?qi(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=da;else if(aa(l))if(pa)g=Sa;else{g=ya;var v=ba}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=xa);switch(g&&(g=g(e,r))?ia(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&mn(l,"number",l.value)),v=r?qi(r):window,e){case"focusin":(aa(v)||"true"===v.contentEditable)&&(Pa=v,_a=r,Na=null);break;case"focusout":Na=_a=Pa=null;break;case"mousedown":Ma=!0;break;case"contextmenu":case"mouseup":case"dragend":Ma=!1,qa(i,n,o);break;case"selectionchange":if(Ta)break;case"keydown":case"keyup":qa(i,n,o)}var b;if(Zo)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else ra?ta(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Jo&&"ko"!==n.locale&&(ra||"onCompositionStart"!==y?"onCompositionEnd"===y&&ra&&(b=go()):(ho="value"in(fo=o)?fo.value:fo.textContent,ra=!0)),0<(v=li(r,y)).length&&(y=new qo(y,e,null,n,o),i.push({event:y,listeners:v}),b?y.data=b:null!==(b=na(n))&&(y.data=b))),(b=Qo?function(e,t){switch(e){case"compositionend":return na(t);case"keypress":return 32!==t.which?null:(ea=!0,Yo);case"textInput":return(e=t.data)===Yo&&ea?null:e;default:return null}}(e,n):function(e,t){if(ra)return"compositionend"===e||!Zo&&ta(e,t)?(e=go(),mo=ho=fo=null,ra=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jo&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=li(r,"onBeforeInput")).length&&(o=new qo("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=b))}Ya(i,t)}))}function ii(e,t,n){return{instance:e,listener:t,currentTarget:n}}function li(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Gn(e,n))&&r.unshift(ii(e,a,o)),null!=(a=Gn(e,t))&&r.push(ii(e,a,o))),e=e.return}return r}function si(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ci(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Gn(n,a))&&i.unshift(ii(n,s,l)):o||null!=(s=Gn(n,a))&&i.push(ii(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var ui=/\r\n?/g,di=/\u0000|\uFFFD/g;function pi(e){return("string"==typeof e?e:""+e).replace(ui,"\n").replace(di,"")}function fi(e,t,n){if(t=pi(t),pi(e)!==t&&n)throw Error(yt(425))}function hi(){}var mi=null,gi=null;function vi(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bi="function"==typeof setTimeout?setTimeout:void 0,yi="function"==typeof clearTimeout?clearTimeout:void 0,xi="function"==typeof Promise?Promise:void 0,Si="function"==typeof queueMicrotask?queueMicrotask:void 0!==xi?function(e){return xi.resolve(null).then(e).catch(wi)}:bi;function wi(e){setTimeout((function(){throw e}))}function Ei(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void ro(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);ro(t)}function Ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ki(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Ri=Math.random().toString(36).slice(2),Li="__reactFiber$"+Ri,Oi="__reactProps$"+Ri,Ii="__reactContainer$"+Ri,Ti="__reactEvents$"+Ri,Pi="__reactListeners$"+Ri,_i="__reactHandles$"+Ri;function Ni(e){var t=e[Li];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ii]||n[Li]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ki(e);null!==e;){if(n=e[Li])return n;e=ki(e)}return t}n=(e=n).parentNode}return null}function Mi(e){return!(e=e[Li]||e[Ii])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function qi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(yt(33))}function zi(e){return e[Oi]||null}var Di=[],Ai=-1;function ji(e){return{current:e}}function Fi(e){0>Ai||(e.current=Di[Ai],Di[Ai]=null,Ai--)}function Bi(e,t){Ai++,Di[Ai]=e.current,e.current=t}var Wi={},$i=ji(Wi),Hi=ji(!1),Ui=Wi;function Vi(e,t){var n=e.type.contextTypes;if(!n)return Wi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Gi(e){return null!=(e=e.childContextTypes)}function Ki(){Fi(Hi),Fi($i)}function Zi(e,t,n){if($i.current!==Wi)throw Error(yt(168));Bi($i,t),Bi(Hi,n)}function Xi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(yt(108,rn(e)||"Unknown",o));return Qt({},n,r)}function Qi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wi,Ui=$i.current,Bi($i,e),Bi(Hi,Hi.current),!0}function Ji(e,t,n){var r=e.stateNode;if(!r)throw Error(yt(169));n?(e=Xi(e,t,Ui),r.__reactInternalMemoizedMergedChildContext=e,Fi(Hi),Fi($i),Bi($i,e)):Fi(Hi),Bi(Hi,n)}var Yi=null,el=!1,tl=!1;function nl(e){null===Yi?Yi=[e]:Yi.push(e)}function rl(){if(!tl&&null!==Yi){tl=!0;var e=0,t=Mr;try{var n=Yi;for(Mr=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Yi=null,el=!1}catch(t){throw null!==Yi&&(Yi=Yi.slice(e+1)),sr(hr,rl),t}finally{Mr=t,tl=!1}}return null}var ol=[],al=0,il=null,ll=0,sl=[],cl=0,ul=null,dl=1,pl="";function fl(e,t){ol[al++]=ll,ol[al++]=il,il=e,ll=t}function hl(e,t,n){sl[cl++]=dl,sl[cl++]=pl,sl[cl++]=ul,ul=e;var r=dl;e=pl;var o=32-Sr(r)-1;r&=~(1<<o),n+=1;var a=32-Sr(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,dl=1<<32-Sr(t)+o|n<<o|r,pl=a+e}else dl=1<<a|n<<o|r,pl=e}function ml(e){null!==e.return&&(fl(e,1),hl(e,1,0))}function gl(e){for(;e===il;)il=ol[--al],ol[al]=null,ll=ol[--al],ol[al]=null;for(;e===ul;)ul=sl[--cl],sl[cl]=null,pl=sl[--cl],sl[cl]=null,dl=sl[--cl],sl[cl]=null}var vl=null,bl=null,yl=!1,xl=null;function Sl(e,t){var n=Vd(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function wl(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,vl=e,bl=Ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,vl=e,bl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ul?{id:dl,overflow:pl}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Vd(18,null,null,0)).stateNode=t,n.return=e,e.child=n,vl=e,bl=null,!0);default:return!1}}function El(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Cl(e){if(yl){var t=bl;if(t){var n=t;if(!wl(e,t)){if(El(e))throw Error(yt(418));t=Ci(n.nextSibling);var r=vl;t&&wl(e,t)?Sl(r,n):(e.flags=-4097&e.flags|2,yl=!1,vl=e)}}else{if(El(e))throw Error(yt(418));e.flags=-4097&e.flags|2,yl=!1,vl=e}}}function kl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;vl=e}function Rl(e){if(e!==vl)return!1;if(!yl)return kl(e),yl=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!vi(e.type,e.memoizedProps)),t&&(t=bl)){if(El(e))throw Ll(),Error(yt(418));for(;t;)Sl(e,t),t=Ci(t.nextSibling)}if(kl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(yt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){bl=Ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}bl=null}}else bl=vl?Ci(e.stateNode.nextSibling):null;return!0}function Ll(){for(var e=bl;e;)e=Ci(e.nextSibling)}function Ol(){bl=vl=null,yl=!1}function Il(e){null===xl?xl=[e]:xl.push(e)}var Tl=Mt.ReactCurrentBatchConfig;function Pl(e,t){if(e&&e.defaultProps){for(var n in t=Qt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var _l=ji(null),Nl=null,Ml=null,ql=null;function zl(){ql=Ml=Nl=null}function Dl(e){var t=_l.current;Fi(_l),e._currentValue=t}function Al(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function jl(e,t){Nl=e,ql=Ml=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Mc=!0),e.firstContext=null)}function Fl(e){var t=e._currentValue;if(ql!==e)if(e={context:e,memoizedValue:t,next:null},null===Ml){if(null===Nl)throw Error(yt(308));Ml=e,Nl.dependencies={lanes:0,firstContext:e}}else Ml=Ml.next=e;return t}var Bl=null;function Wl(e){null===Bl?Bl=[e]:Bl.push(e)}function $l(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Wl(t)):(n.next=o.next,o.next=n),t.interleaved=n,Hl(e,r)}function Hl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ul=!1;function Vl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gl(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Kl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&$u)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Hl(e,n)}return null===(o=r.interleaved)?(t.next=t,Wl(r)):(t.next=o.next,o.next=t),r.interleaved=t,Hl(e,n)}function Xl(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nr(e,n)}}function Ql(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Jl(e,t,n,r){var o=e.updateQueue;Ul=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=Qt({},d,p);break e;case 2:Ul=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=f,s=d):u=u.next=f,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Qu|=i,e.lanes=i,e.memoizedState=d}}function Yl(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(yt(191,o));o.call(r)}}}var es=(new vt.Component).refs;function ts(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Qt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ns={isMounted:function(e){return!!(e=e._reactInternals)&&rr(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=md(),o=gd(e),a=Kl(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Zl(e,a,o))&&(vd(t,e,o,r),Xl(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=md(),o=gd(e),a=Kl(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Zl(e,a,o))&&(vd(t,e,o,r),Xl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=md(),r=gd(e),o=Kl(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Zl(e,o,r))&&(vd(t,e,r,n),Xl(t,e,r))}};function rs(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!Ea(n,r)||!Ea(o,a))}function os(e,t,n){var r=!1,o=Wi,a=t.contextType;return"object"==typeof a&&null!==a?a=Fl(a):(o=Gi(t)?Ui:$i.current,a=(r=null!=(r=t.contextTypes))?Vi(e,o):Wi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ns,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function as(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ns.enqueueReplaceState(t,t.state,null)}function is(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=es,Vl(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Fl(a):(a=Gi(t)?Ui:$i.current,o.context=Vi(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ts(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ns.enqueueReplaceState(o,o.state,null),Jl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ls(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(yt(309));var r=n.stateNode}if(!r)throw Error(yt(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===es&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(yt(284));if(!n._owner)throw Error(yt(290,e))}return e}function ss(e,t){throw e=Object.prototype.toString.call(t),Error(yt(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function cs(e){return(0,e._init)(e._payload)}function us(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Kd(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Jd(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var a=n.type;return a===Dt?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===Vt&&cs(a)===t.type)?((r=o(t,n.props)).ref=ls(e,t,n),r.return=e,r):((r=Zd(n.type,n.key,n.props,null,e.mode,r)).ref=ls(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yd(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,r,a){return null===t||7!==t.tag?((t=Xd(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Jd(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case qt:return(n=Zd(t.type,t.key,t.props,null,e.mode,n)).ref=ls(e,null,t),n.return=e,n;case zt:return(t=Yd(t,e.mode,n)).return=e,t;case Vt:return d(e,(0,t._init)(t._payload),n)}if(gn(t)||Zt(t))return(t=Xd(t,e.mode,n,null)).return=e,t;ss(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case qt:return n.key===o?s(e,t,n,r):null;case zt:return n.key===o?c(e,t,n,r):null;case Vt:return p(e,t,(o=n._init)(n._payload),r)}if(gn(n)||Zt(n))return null!==o?null:u(e,t,n,r,null);ss(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case qt:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case zt:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Vt:return f(e,t,n,(0,r._init)(r._payload),o)}if(gn(r)||Zt(r))return u(t,e=e.get(n)||null,r,o,null);ss(t,r)}return null}function h(o,i,l,s){for(var c=null,u=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,h=g}if(m===l.length)return n(o,h),yl&&fl(o,m),c;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===u?c=h:u.sibling=h,u=h);return yl&&fl(o,m),c}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(o,e)})),yl&&fl(o,m),c}function m(o,i,l,s){var c=Zt(l);if("function"!=typeof c)throw Error(yt(150));if(null==(l=c.call(l)))throw Error(yt(151));for(var u=c=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var b=p(o,h,v.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(o,h),i=a(b,i,m),null===u?c=b:u.sibling=b,u=b,h=g}if(v.done)return n(o,h),yl&&fl(o,m),c;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return yl&&fl(o,m),c}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&h.forEach((function(e){return t(o,e)})),yl&&fl(o,m),c}return function e(r,a,l,s){if("object"==typeof l&&null!==l&&l.type===Dt&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case qt:e:{for(var c=l.key,u=a;null!==u;){if(u.key===c){if((c=l.type)===Dt){if(7===u.tag){n(r,u.sibling),(a=o(u,l.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Vt&&cs(c)===u.type){n(r,u.sibling),(a=o(u,l.props)).ref=ls(r,u,l),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}l.type===Dt?((a=Xd(l.props.children,r.mode,s,l.key)).return=r,r=a):((s=Zd(l.type,l.key,l.props,null,r.mode,s)).ref=ls(r,a,l),s.return=r,r=s)}return i(r);case zt:e:{for(u=l.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===l.containerInfo&&a.stateNode.implementation===l.implementation){n(r,a.sibling),(a=o(a,l.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=Yd(l,r.mode,s)).return=r,r=a}return i(r);case Vt:return e(r,a,(u=l._init)(l._payload),s)}if(gn(l))return h(r,a,l,s);if(Zt(l))return m(r,a,l,s);ss(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,l)).return=r,r=a):(n(r,a),(a=Jd(l,r.mode,s)).return=r,r=a),i(r)):n(r,a)}}var ds=us(!0),ps=us(!1),fs={},hs=ji(fs),ms=ji(fs),gs=ji(fs);function vs(e){if(e===fs)throw Error(yt(174));return e}function bs(e,t){switch(Bi(gs,t),Bi(ms,e),Bi(hs,fs),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:En(null,"");break;default:t=En(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Fi(hs),Bi(hs,t)}function ys(){Fi(hs),Fi(ms),Fi(gs)}function xs(e){vs(gs.current);var t=vs(hs.current),n=En(t,e.type);t!==n&&(Bi(ms,e),Bi(hs,n))}function Ss(e){ms.current===e&&(Fi(hs),Fi(ms))}var ws=ji(0);function Es(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Cs=[];function ks(){for(var e=0;e<Cs.length;e++)Cs[e]._workInProgressVersionPrimary=null;Cs.length=0}var Rs=Mt.ReactCurrentDispatcher,Ls=Mt.ReactCurrentBatchConfig,Os=0,Is=null,Ts=null,Ps=null,_s=!1,Ns=!1,Ms=0,qs=0;function zs(){throw Error(yt(321))}function Ds(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wa(e[n],t[n]))return!1;return!0}function As(e,t,n,r,o,a){if(Os=a,Is=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Rs.current=null===e||null===e.memoizedState?Sc:wc,e=n(r,o),Ns){a=0;do{if(Ns=!1,Ms=0,25<=a)throw Error(yt(301));a+=1,Ps=Ts=null,t.updateQueue=null,Rs.current=Ec,e=n(r,o)}while(Ns)}if(Rs.current=xc,t=null!==Ts&&null!==Ts.next,Os=0,Ps=Ts=Is=null,_s=!1,t)throw Error(yt(300));return e}function js(){var e=0!==Ms;return Ms=0,e}function Fs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ps?Is.memoizedState=Ps=e:Ps=Ps.next=e,Ps}function Bs(){if(null===Ts){var e=Is.alternate;e=null!==e?e.memoizedState:null}else e=Ts.next;var t=null===Ps?Is.memoizedState:Ps.next;if(null!==t)Ps=t,Ts=e;else{if(null===e)throw Error(yt(310));e={memoizedState:(Ts=e).memoizedState,baseState:Ts.baseState,baseQueue:Ts.baseQueue,queue:Ts.queue,next:null},null===Ps?Is.memoizedState=Ps=e:Ps=Ps.next=e}return Ps}function Ws(e,t){return"function"==typeof t?t(e):t}function $s(e){var t=Bs(),n=t.queue;if(null===n)throw Error(yt(311));n.lastRenderedReducer=e;var r=Ts,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=i=null,s=null,c=a;do{var u=c.lane;if((Os&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(l=s=d,i=r):s=s.next=d,Is.lanes|=u,Qu|=u}c=c.next}while(null!==c&&c!==a);null===s?i=r:s.next=l,wa(r,t.memoizedState)||(Mc=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,Is.lanes|=a,Qu|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Hs(e){var t=Bs(),n=t.queue;if(null===n)throw Error(yt(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);wa(a,t.memoizedState)||(Mc=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Us(){}function Vs(e,t){var n=Is,r=Bs(),o=t(),a=!wa(r.memoizedState,o);if(a&&(r.memoizedState=o,Mc=!0),r=r.queue,oc(Zs.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==Ps&&1&Ps.memoizedState.tag){if(n.flags|=2048,Ys(9,Ks.bind(null,n,r,o,t),void 0,null),null===Hu)throw Error(yt(349));0!=(30&Os)||Gs(n,t,o)}return o}function Gs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Is.updateQueue)?(t={lastEffect:null,stores:null},Is.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ks(e,t,n,r){t.value=n,t.getSnapshot=r,Xs(t)&&Qs(e)}function Zs(e,t,n){return n((function(){Xs(t)&&Qs(e)}))}function Xs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wa(e,n)}catch(e){return!0}}function Qs(e){var t=Hl(e,1);null!==t&&vd(t,e,1,-1)}function Js(e){var t=Fs();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ws,lastRenderedState:e},t.queue=e,e=e.dispatch=gc.bind(null,Is,e),[t.memoizedState,e]}function Ys(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Is.updateQueue)?(t={lastEffect:null,stores:null},Is.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ec(){return Bs().memoizedState}function tc(e,t,n,r){var o=Fs();Is.flags|=e,o.memoizedState=Ys(1|t,n,void 0,void 0===r?null:r)}function nc(e,t,n,r){var o=Bs();r=void 0===r?null:r;var a=void 0;if(null!==Ts){var i=Ts.memoizedState;if(a=i.destroy,null!==r&&Ds(r,i.deps))return void(o.memoizedState=Ys(t,n,a,r))}Is.flags|=e,o.memoizedState=Ys(1|t,n,a,r)}function rc(e,t){return tc(8390656,8,e,t)}function oc(e,t){return nc(2048,8,e,t)}function ac(e,t){return nc(4,2,e,t)}function ic(e,t){return nc(4,4,e,t)}function lc(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sc(e,t,n){return n=null!=n?n.concat([e]):null,nc(4,4,lc.bind(null,t,e),n)}function cc(){}function uc(e,t){var n=Bs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ds(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function dc(e,t){var n=Bs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ds(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function pc(e,t,n){return 0==(21&Os)?(e.baseState&&(e.baseState=!1,Mc=!0),e.memoizedState=n):(wa(n,t)||(n=Tr(),Is.lanes|=n,Qu|=n,e.baseState=!0),t)}function fc(e,t){var n=Mr;Mr=0!==n&&4>n?n:4,e(!0);var r=Ls.transition;Ls.transition={};try{e(!1),t()}finally{Mr=n,Ls.transition=r}}function hc(){return Bs().memoizedState}function mc(e,t,n){var r=gd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vc(e))bc(t,n);else if(null!==(n=$l(e,t,n,r))){vd(n,e,r,md()),yc(n,t,r)}}function gc(e,t,n){var r=gd(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vc(e))bc(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,wa(l,i)){var s=t.interleaved;return null===s?(o.next=o,Wl(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=$l(e,t,o,r))&&(vd(n,e,r,o=md()),yc(n,t,r))}}function vc(e){var t=e.alternate;return e===Is||null!==t&&t===Is}function bc(e,t){Ns=_s=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yc(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nr(e,n)}}var xc={readContext:Fl,useCallback:zs,useContext:zs,useEffect:zs,useImperativeHandle:zs,useInsertionEffect:zs,useLayoutEffect:zs,useMemo:zs,useReducer:zs,useRef:zs,useState:zs,useDebugValue:zs,useDeferredValue:zs,useTransition:zs,useMutableSource:zs,useSyncExternalStore:zs,useId:zs,unstable_isNewReconciler:!1},Sc={readContext:Fl,useCallback:function(e,t){return Fs().memoizedState=[e,void 0===t?null:t],e},useContext:Fl,useEffect:rc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,tc(4194308,4,lc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return tc(4194308,4,e,t)},useInsertionEffect:function(e,t){return tc(4,2,e,t)},useMemo:function(e,t){var n=Fs();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Fs();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=mc.bind(null,Is,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Fs().memoizedState=e},useState:Js,useDebugValue:cc,useDeferredValue:function(e){return Fs().memoizedState=e},useTransition:function(){var e=Js(!1),t=e[0];return e=fc.bind(null,e[1]),Fs().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Is,o=Fs();if(yl){if(void 0===n)throw Error(yt(407));n=n()}else{if(n=t(),null===Hu)throw Error(yt(349));0!=(30&Os)||Gs(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,rc(Zs.bind(null,r,a,e),[e]),r.flags|=2048,Ys(9,Ks.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Fs(),t=Hu.identifierPrefix;if(yl){var n=pl;t=":"+t+"R"+(n=(dl&~(1<<32-Sr(dl)-1)).toString(32)+n),0<(n=Ms++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=qs++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},wc={readContext:Fl,useCallback:uc,useContext:Fl,useEffect:oc,useImperativeHandle:sc,useInsertionEffect:ac,useLayoutEffect:ic,useMemo:dc,useReducer:$s,useRef:ec,useState:function(){return $s(Ws)},useDebugValue:cc,useDeferredValue:function(e){return pc(Bs(),Ts.memoizedState,e)},useTransition:function(){return[$s(Ws)[0],Bs().memoizedState]},useMutableSource:Us,useSyncExternalStore:Vs,useId:hc,unstable_isNewReconciler:!1},Ec={readContext:Fl,useCallback:uc,useContext:Fl,useEffect:oc,useImperativeHandle:sc,useInsertionEffect:ac,useLayoutEffect:ic,useMemo:dc,useReducer:Hs,useRef:ec,useState:function(){return Hs(Ws)},useDebugValue:cc,useDeferredValue:function(e){var t=Bs();return null===Ts?t.memoizedState=e:pc(t,Ts.memoizedState,e)},useTransition:function(){return[Hs(Ws)[0],Bs().memoizedState]},useMutableSource:Us,useSyncExternalStore:Vs,useId:hc,unstable_isNewReconciler:!1};function Cc(e,t){try{var n="",r=t;do{n+=tn(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function kc(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Rc(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Lc="function"==typeof WeakMap?WeakMap:Map;function Oc(e,t,n){(n=Kl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ad||(ad=!0,id=r),Rc(0,t)},n}function Ic(e,t,n){(n=Kl(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Rc(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){Rc(0,t),"function"!=typeof r&&(null===ld?ld=new Set([this]):ld.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Tc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Lc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Fd.bind(null,e,t,n),t.then(e,e))}function Pc(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function _c(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Kl(-1,1)).tag=2,Zl(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Nc=Mt.ReactCurrentOwner,Mc=!1;function qc(e,t,n,r){t.child=null===e?ps(t,null,n,r):ds(t,e.child,n,r)}function zc(e,t,n,r,o){n=n.render;var a=t.ref;return jl(t,o),r=As(e,t,n,r,a,o),n=js(),null===e||Mc?(yl&&n&&ml(t),t.flags|=1,qc(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,au(e,t,o))}function Dc(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Gd(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zd(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ac(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:Ea)(i,r)&&e.ref===t.ref)return au(e,t,o)}return t.flags|=1,(e=Kd(a,r)).ref=t.ref,e.return=t,t.child=e}function Ac(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(Ea(a,r)&&e.ref===t.ref){if(Mc=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,au(e,t,o);0!=(131072&e.flags)&&(Mc=!0)}}return Bc(e,t,n,r,o)}function jc(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Bi(Ku,Gu),Gu|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Bi(Ku,Gu),Gu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Bi(Ku,Gu),Gu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Bi(Ku,Gu),Gu|=r;return qc(e,t,o,n),t.child}function Fc(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bc(e,t,n,r,o){var a=Gi(n)?Ui:$i.current;return a=Vi(t,a),jl(t,o),n=As(e,t,n,r,a,o),r=js(),null===e||Mc?(yl&&r&&ml(t),t.flags|=1,qc(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,au(e,t,o))}function Wc(e,t,n,r,o){if(Gi(n)){var a=!0;Qi(t)}else a=!1;if(jl(t,o),null===t.stateNode)ou(e,t),os(t,n,r),is(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=Fl(c):c=Vi(t,c=Gi(n)?Ui:$i.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==c)&&as(t,i,r,c),Ul=!1;var p=t.memoizedState;i.state=p,Jl(t,r,i,o),s=t.memoizedState,l!==r||p!==s||Hi.current||Ul?("function"==typeof u&&(ts(t,n,u,r),s=t.memoizedState),(l=Ul||rs(t,n,l,r,p,s,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Gl(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Pl(t.type,l),i.props=c,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Fl(s):s=Vi(t,s=Gi(n)?Ui:$i.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&as(t,i,r,s),Ul=!1,p=t.memoizedState,i.state=p,Jl(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||Hi.current||Ul?("function"==typeof f&&(ts(t,n,f,r),h=t.memoizedState),(c=Ul||rs(t,n,c,r,p,h,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return $c(e,t,n,r,a,o)}function $c(e,t,n,r,o,a){Fc(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Ji(t,n,!1),au(e,t,a);r=t.stateNode,Nc.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ds(t,e.child,null,a),t.child=ds(t,null,l,a)):qc(e,t,l,a),t.memoizedState=r.state,o&&Ji(t,n,!0),t.child}function Hc(e){var t=e.stateNode;t.pendingContext?Zi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Zi(0,t.context,!1),bs(e,t.containerInfo)}function Uc(e,t,n,r,o){return Ol(),Il(o),t.flags|=256,qc(e,t,n,r),t.child}var Vc,Gc,Kc,Zc,Xc={dehydrated:null,treeContext:null,retryLane:0};function Qc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jc(e,t,n){var r,o=t.pendingProps,a=ws.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Bi(ws,1&a),null===e)return Cl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,i?(o=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=Qd(l,o,0,null),e=Xd(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Qc(n),t.memoizedState=Xc,e):Yc(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,i){if(n)return 256&t.flags?(t.flags&=-257,eu(e,t,i,r=kc(Error(yt(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Qd({mode:"visible",children:r.children},o,0,null),(a=Xd(a,o,i,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&ds(t,e.child,null,i),t.child.memoizedState=Qc(i),t.memoizedState=Xc,a);if(0==(1&t.mode))return eu(e,t,i,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,eu(e,t,i,r=kc(a=Error(yt(419)),r,void 0))}if(l=0!=(i&e.childLanes),Mc||l){if(null!==(r=Hu)){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Hl(e,o),vd(r,e,o,-1))}return Td(),eu(e,t,i,r=kc(Error(yt(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Wd.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,bl=Ci(o.nextSibling),vl=t,yl=!0,xl=null,null!==e&&(sl[cl++]=dl,sl[cl++]=pl,sl[cl++]=ul,dl=e.id,pl=e.overflow,ul=t),t=Yc(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(i){i=o.fallback,l=t.mode,r=(a=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Kd(a,s)).subtreeFlags=14680064&a.subtreeFlags,null!==r?i=Kd(r,i):(i=Xd(i,l,n,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,l=null===(l=e.child.memoizedState)?Qc(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=Xc,o}return e=(i=e.child).sibling,o=Kd(i,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Yc(e,t){return(t=Qd({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function eu(e,t,n,r){return null!==r&&Il(r),ds(t,e.child,null,n),(e=Yc(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function tu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Al(e.return,t,n)}function nu(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function ru(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(qc(e,t,r.children,n),0!=(2&(r=ws.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&tu(e,n,t);else if(19===e.tag)tu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Bi(ws,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Es(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),nu(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Es(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}nu(t,!0,n,null,a);break;case"together":nu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ou(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function au(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Qu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(yt(153));if(null!==t.child){for(n=Kd(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Kd(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iu(e,t){if(!yl)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function lu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function su(e,t,n){var r=t.pendingProps;switch(gl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lu(t),null;case 1:case 17:return Gi(t.type)&&Ki(),lu(t),null;case 3:return r=t.stateNode,ys(),Fi(Hi),Fi($i),ks(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Rl(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==xl&&(Sd(xl),xl=null))),Gc(e,t),lu(t),null;case 5:Ss(t);var o=vs(gs.current);if(n=t.type,null!==e&&null!=t.stateNode)Kc(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(yt(166));return lu(t),null}if(e=vs(hs.current),Rl(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Li]=t,r[Oi]=a,e=0!=(1&t.mode),n){case"dialog":ei("cancel",r),ei("close",r);break;case"iframe":case"object":case"embed":ei("load",r);break;case"video":case"audio":for(o=0;o<Xa.length;o++)ei(Xa[o],r);break;case"source":ei("error",r);break;case"img":case"image":case"link":ei("error",r),ei("load",r);break;case"details":ei("toggle",r);break;case"input":dn(r,a),ei("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},ei("invalid",r);break;case"textarea":yn(r,a),ei("invalid",r)}for(var i in Nn(n,a),o=null,a)if(a.hasOwnProperty(i)){var l=a[i];"children"===i?"string"==typeof l?r.textContent!==l&&(!0!==a.suppressHydrationWarning&&fi(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&fi(r.textContent,l,e),o=["children",""+l]):St.hasOwnProperty(i)&&null!=l&&"onScroll"===i&&ei("scroll",r)}switch(n){case"input":ln(r),hn(r,a,!0);break;case"textarea":ln(r),Sn(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=hi)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{i=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=wn(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Li]=t,e[Oi]=r,Vc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Mn(n,r),n){case"dialog":ei("cancel",e),ei("close",e),o=r;break;case"iframe":case"object":case"embed":ei("load",e),o=r;break;case"video":case"audio":for(o=0;o<Xa.length;o++)ei(Xa[o],e);o=r;break;case"source":ei("error",e),o=r;break;case"img":case"image":case"link":ei("error",e),ei("load",e),o=r;break;case"details":ei("toggle",e),o=r;break;case"input":dn(e,r),o=un(e,r),ei("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Qt({},r,{value:void 0}),ei("invalid",e);break;case"textarea":yn(e,r),o=bn(e,r),ei("invalid",e)}for(a in Nn(n,o),l=o)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Pn(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&Rn(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&Ln(e,s):"number"==typeof s&&Ln(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(St.hasOwnProperty(a)?null!=s&&"onScroll"===a&&ei("scroll",e):null!=s&&Nt(e,a,s,i))}switch(n){case"input":ln(e),hn(e,r,!1);break;case"textarea":ln(e),Sn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+on(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?vn(e,!!r.multiple,a,!1):null!=r.defaultValue&&vn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=hi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return lu(t),null;case 6:if(e&&null!=t.stateNode)Zc(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(yt(166));if(n=vs(gs.current),vs(hs.current),Rl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Li]=t,(a=r.nodeValue!==n)&&null!==(e=vl))switch(e.tag){case 3:fi(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&fi(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Li]=t,t.stateNode=r}return lu(t),null;case 13:if(Fi(ws),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(yl&&null!==bl&&0!=(1&t.mode)&&0==(128&t.flags))Ll(),Ol(),t.flags|=98560,a=!1;else if(a=Rl(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(yt(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(yt(317));a[Li]=t}else Ol(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lu(t),a=!1}else null!==xl&&(Sd(xl),xl=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ws.current)?0===Zu&&(Zu=3):Td())),null!==t.updateQueue&&(t.flags|=4),lu(t),null);case 4:return ys(),Gc(e,t),null===e&&ri(t.stateNode.containerInfo),lu(t),null;case 10:return Dl(t.type._context),lu(t),null;case 19:if(Fi(ws),null===(a=t.memoizedState))return lu(t),null;if(r=0!=(128&t.flags),null===(i=a.rendering))if(r)iu(a,!1);else{if(0!==Zu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(i=Es(e))){for(t.flags|=128,iu(a,!1),null!==(r=i.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Bi(ws,1&ws.current|2),t.child}e=e.sibling}null!==a.tail&&pr()>rd&&(t.flags|=128,r=!0,iu(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Es(i))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),iu(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!yl)return lu(t),null}else 2*pr()-a.renderingStartTime>rd&&1073741824!==n&&(t.flags|=128,r=!0,iu(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=a.last)?n.sibling=i:t.child=i,a.last=i)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=pr(),t.sibling=null,n=ws.current,Bi(ws,r?1&n|2:1&n),t):(lu(t),null);case 22:case 23:return Rd(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Gu)&&(lu(t),6&t.subtreeFlags&&(t.flags|=8192)):lu(t),null;case 24:case 25:return null}throw Error(yt(156,t.tag))}function cu(e,t){switch(gl(t),t.tag){case 1:return Gi(t.type)&&Ki(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ys(),Fi(Hi),Fi($i),ks(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ss(t),null;case 13:if(Fi(ws),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(yt(340));Ol()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Fi(ws),null;case 4:return ys(),null;case 10:return Dl(t.type._context),null;case 22:case 23:return Rd(),null;default:return null}}Vc=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Gc=function(){},Kc=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,vs(hs.current);var a,i=null;switch(n){case"input":o=un(e,o),r=un(e,r),i=[];break;case"select":o=Qt({},o,{value:void 0}),r=Qt({},r,{value:void 0}),i=[];break;case"textarea":o=bn(e,o),r=bn(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=hi)}for(c in Nn(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(St.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(St.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&ei("scroll",e),i||l===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Zc=function(e,t,n,r){n!==r&&(t.flags|=4)};var uu=!1,du=!1,pu="function"==typeof WeakSet?WeakSet:Set,fu=null;function hu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){jd(e,t,n)}else n.current=null}function mu(e,t,n){try{n()}catch(n){jd(e,t,n)}}var gu=!1;function vu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&mu(t,n,a)}o=o.next}while(o!==r)}}function bu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function yu(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function xu(e){var t=e.alternate;null!==t&&(e.alternate=null,xu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Li],delete t[Oi],delete t[Ti],delete t[Pi],delete t[_i])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Su(e){return 5===e.tag||3===e.tag||4===e.tag}function wu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Su(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Eu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=hi));else if(4!==r&&null!==(e=e.child))for(Eu(e,t,n),e=e.sibling;null!==e;)Eu(e,t,n),e=e.sibling}function Cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Cu(e,t,n),e=e.sibling;null!==e;)Cu(e,t,n),e=e.sibling}var ku=null,Ru=!1;function Lu(e,t,n){for(n=n.child;null!==n;)Ou(e,t,n),n=n.sibling}function Ou(e,t,n){if(xr&&"function"==typeof xr.onCommitFiberUnmount)try{xr.onCommitFiberUnmount(yr,n)}catch(e){}switch(n.tag){case 5:du||hu(n,t);case 6:var r=ku,o=Ru;ku=null,Lu(e,t,n),Ru=o,null!==(ku=r)&&(Ru?(e=ku,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ku.removeChild(n.stateNode));break;case 18:null!==ku&&(Ru?(e=ku,n=n.stateNode,8===e.nodeType?Ei(e.parentNode,n):1===e.nodeType&&Ei(e,n),ro(e)):Ei(ku,n.stateNode));break;case 4:r=ku,o=Ru,ku=n.stateNode.containerInfo,Ru=!0,Lu(e,t,n),ku=r,Ru=o;break;case 0:case 11:case 14:case 15:if(!du&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&mu(n,t,i),o=o.next}while(o!==r)}Lu(e,t,n);break;case 1:if(!du&&(hu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){jd(n,t,e)}Lu(e,t,n);break;case 21:Lu(e,t,n);break;case 22:1&n.mode?(du=(r=du)||null!==n.memoizedState,Lu(e,t,n),du=r):Lu(e,t,n);break;default:Lu(e,t,n)}}function Iu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pu),t.forEach((function(t){var r=$d.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Tu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,i=t,l=i;e:for(;null!==l;){switch(l.tag){case 5:ku=l.stateNode,Ru=!1;break e;case 3:case 4:ku=l.stateNode.containerInfo,Ru=!0;break e}l=l.return}if(null===ku)throw Error(yt(160));Ou(a,i,o),ku=null,Ru=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){jd(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Pu(t,e),t=t.sibling}function Pu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tu(t,e),_u(e),4&r){try{vu(3,e,e.return),bu(3,e)}catch(t){jd(e,e.return,t)}try{vu(5,e,e.return)}catch(t){jd(e,e.return,t)}}break;case 1:Tu(t,e),_u(e),512&r&&null!==n&&hu(n,n.return);break;case 5:if(Tu(t,e),_u(e),512&r&&null!==n&&hu(n,n.return),32&e.flags){var o=e.stateNode;try{Ln(o,"")}catch(t){jd(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,i=null!==n?n.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===a.type&&null!=a.name&&pn(o,a),Mn(l,i);var c=Mn(l,a);for(i=0;i<s.length;i+=2){var u=s[i],d=s[i+1];"style"===u?Pn(o,d):"dangerouslySetInnerHTML"===u?Rn(o,d):"children"===u?Ln(o,d):Nt(o,u,d,c)}switch(l){case"input":fn(o,a);break;case"textarea":xn(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?vn(o,!!a.multiple,f,!1):p!==!!a.multiple&&(null!=a.defaultValue?vn(o,!!a.multiple,a.defaultValue,!0):vn(o,!!a.multiple,a.multiple?[]:"",!1))}o[Oi]=a}catch(t){jd(e,e.return,t)}}break;case 6:if(Tu(t,e),_u(e),4&r){if(null===e.stateNode)throw Error(yt(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){jd(e,e.return,t)}}break;case 3:if(Tu(t,e),_u(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{ro(t.containerInfo)}catch(t){jd(e,e.return,t)}break;case 4:default:Tu(t,e),_u(e);break;case 13:Tu(t,e),_u(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(nd=pr())),4&r&&Iu(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(du=(c=du)||u,Tu(t,e),du=c):Tu(t,e),_u(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&0!=(1&e.mode))for(fu=e,u=e.child;null!==u;){for(d=fu=u;null!==fu;){switch(f=(p=fu).child,p.tag){case 0:case 11:case 14:case 15:vu(4,p,p.return);break;case 1:hu(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){jd(r,n,e)}}break;case 5:hu(p,p.return);break;case 22:if(null!==p.memoizedState){zu(d);continue}}null!==f?(f.return=p,fu=f):zu(d)}u=u.sibling}e:for(u=null,d=e;;){if(5===d.tag){if(null===u){u=d;try{o=d.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,i=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=Tn("display",i))}catch(t){jd(e,e.return,t)}}}else if(6===d.tag){if(null===u)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){jd(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Tu(t,e),_u(e),4&r&&Iu(e);case 21:}}function _u(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Su(n)){var r=n;break e}n=n.return}throw Error(yt(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(Ln(o,""),r.flags&=-33),Cu(e,wu(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;Eu(e,wu(e),a);break;default:throw Error(yt(161))}}catch(t){jd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Nu(e,t,n){fu=e,Mu(e)}function Mu(e,t,n){for(var r=0!=(1&e.mode);null!==fu;){var o=fu,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||uu;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||du;l=uu;var c=du;if(uu=i,(du=s)&&!c)for(fu=o;null!==fu;)s=(i=fu).child,22===i.tag&&null!==i.memoizedState?Du(o):null!==s?(s.return=i,fu=s):Du(o);for(;null!==a;)fu=a,Mu(a),a=a.sibling;fu=o,uu=l,du=c}qu(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,fu=a):qu(e)}}function qu(e){for(;null!==fu;){var t=fu;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:du||bu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!du)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Pl(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Yl(t,a,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Yl(t,i,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var d=u.dehydrated;null!==d&&ro(d)}}}break;default:throw Error(yt(163))}du||512&t.flags&&yu(t)}catch(e){jd(t,t.return,e)}}if(t===e){fu=null;break}if(null!==(n=t.sibling)){n.return=t.return,fu=n;break}fu=t.return}}function zu(e){for(;null!==fu;){var t=fu;if(t===e){fu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,fu=n;break}fu=t.return}}function Du(e){for(;null!==fu;){var t=fu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{bu(4,t)}catch(e){jd(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){jd(t,o,e)}}var a=t.return;try{yu(t)}catch(e){jd(t,a,e)}break;case 5:var i=t.return;try{yu(t)}catch(e){jd(t,i,e)}}}catch(e){jd(t,t.return,e)}if(t===e){fu=null;break}var l=t.sibling;if(null!==l){l.return=t.return,fu=l;break}fu=t.return}}var Au,ju=Math.ceil,Fu=Mt.ReactCurrentDispatcher,Bu=Mt.ReactCurrentOwner,Wu=Mt.ReactCurrentBatchConfig,$u=0,Hu=null,Uu=null,Vu=0,Gu=0,Ku=ji(0),Zu=0,Xu=null,Qu=0,Ju=0,Yu=0,ed=null,td=null,nd=0,rd=1/0,od=null,ad=!1,id=null,ld=null,sd=!1,cd=null,ud=0,dd=0,pd=null,fd=-1,hd=0;function md(){return 0!=(6&$u)?pr():-1!==fd?fd:fd=pr()}function gd(e){return 0==(1&e.mode)?1:0!=(2&$u)&&0!==Vu?Vu&-Vu:null!==Tl.transition?(0===hd&&(hd=Tr()),hd):0!==(e=Mr)?e:e=void 0===(e=window.event)?16:po(e.type)}function vd(e,t,n,r){if(50<dd)throw dd=0,pd=null,Error(yt(185));_r(e,n,r),0!=(2&$u)&&e===Hu||(e===Hu&&(0==(2&$u)&&(Ju|=n),4===Zu&&wd(e,Vu)),bd(e,r),1===n&&0===$u&&0==(1&t.mode)&&(rd=pr()+500,el&&rl()))}function bd(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Sr(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=Or(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=Lr(e,e===Hu?Vu:0);if(0===r)null!==n&&cr(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&cr(n),1===t)0===e.tag?function(e){el=!0,nl(e)}(Ed.bind(null,e)):nl(Ed.bind(null,e)),Si((function(){0==(6&$u)&&rl()})),n=null;else{switch(qr(r)){case 1:n=hr;break;case 4:n=mr;break;case 16:default:n=gr;break;case 536870912:n=br}n=Hd(n,yd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function yd(e,t){if(fd=-1,hd=0,0!=(6&$u))throw Error(yt(327));var n=e.callbackNode;if(Dd()&&e.callbackNode!==n)return null;var r=Lr(e,e===Hu?Vu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Pd(e,r);else{t=r;var o=$u;$u|=2;var a=Id();for(Hu===e&&Vu===t||(od=null,rd=pr()+500,Ld(e,t));;)try{Nd();break}catch(t){Od(e,t)}zl(),Fu.current=a,$u=o,null!==Uu?t=0:(Hu=null,Vu=0,t=Zu)}if(0!==t){if(2===t&&(0!==(o=Ir(e))&&(r=o,t=xd(e,o))),1===t)throw n=Xu,Ld(e,0),wd(e,r),bd(e,pr()),n;if(6===t)wd(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!wa(a(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=Pd(e,r))&&(0!==(a=Ir(e))&&(r=a,t=xd(e,a))),1===t))throw n=Xu,Ld(e,0),wd(e,r),bd(e,pr()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(yt(345));case 2:case 5:zd(e,td,od);break;case 3:if(wd(e,r),(130023424&r)===r&&10<(t=nd+500-pr())){if(0!==Lr(e,0))break;if(((o=e.suspendedLanes)&r)!==r){md(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=bi(zd.bind(null,e,td,od),t);break}zd(e,td,od);break;case 4:if(wd(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var i=31-Sr(r);a=1<<i,(i=t[i])>o&&(o=i),r&=~a}if(r=o,10<(r=(120>(r=pr()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ju(r/1960))-r)){e.timeoutHandle=bi(zd.bind(null,e,td,od),r);break}zd(e,td,od);break;default:throw Error(yt(329))}}}return bd(e,pr()),e.callbackNode===n?yd.bind(null,e):null}function xd(e,t){var n=ed;return e.current.memoizedState.isDehydrated&&(Ld(e,t).flags|=256),2!==(e=Pd(e,t))&&(t=td,td=n,null!==t&&Sd(t)),e}function Sd(e){null===td?td=e:td.push.apply(td,e)}function wd(e,t){for(t&=~Yu,t&=~Ju,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Sr(t),r=1<<n;e[n]=-1,t&=~r}}function Ed(e){if(0!=(6&$u))throw Error(yt(327));Dd();var t=Lr(e,0);if(0==(1&t))return bd(e,pr()),null;var n=Pd(e,t);if(0!==e.tag&&2===n){var r=Ir(e);0!==r&&(t=r,n=xd(e,r))}if(1===n)throw n=Xu,Ld(e,0),wd(e,t),bd(e,pr()),n;if(6===n)throw Error(yt(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,zd(e,td,od),bd(e,pr()),null}function Cd(e,t){var n=$u;$u|=1;try{return e(t)}finally{0===($u=n)&&(rd=pr()+500,el&&rl())}}function kd(e){null!==cd&&0===cd.tag&&0==(6&$u)&&Dd();var t=$u;$u|=1;var n=Wu.transition,r=Mr;try{if(Wu.transition=null,Mr=1,e)return e()}finally{Mr=r,Wu.transition=n,0==(6&($u=t))&&rl()}}function Rd(){Gu=Ku.current,Fi(Ku)}function Ld(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,yi(n)),null!==Uu)for(n=Uu.return;null!==n;){var r=n;switch(gl(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ki();break;case 3:ys(),Fi(Hi),Fi($i),ks();break;case 5:Ss(r);break;case 4:ys();break;case 13:case 19:Fi(ws);break;case 10:Dl(r.type._context);break;case 22:case 23:Rd()}n=n.return}if(Hu=e,Uu=e=Kd(e.current,null),Vu=Gu=t,Zu=0,Xu=null,Yu=Ju=Qu=0,td=ed=null,null!==Bl){for(t=0;t<Bl.length;t++)if(null!==(r=(n=Bl[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Bl=null}return e}function Od(e,t){for(;;){var n=Uu;try{if(zl(),Rs.current=xc,_s){for(var r=Is.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}_s=!1}if(Os=0,Ps=Ts=Is=null,Ns=!1,Ms=0,Bu.current=null,null===n||null===n.return){Zu=1,Xu=t,Uu=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=Vu,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,u=l,d=u.tag;if(0==(1&u.mode)&&(0===d||11===d||15===d)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=Pc(i);if(null!==f){f.flags&=-257,_c(f,i,l,0,t),1&f.mode&&Tc(a,c,t),s=c;var h=(t=f).updateQueue;if(null===h){var m=new Set;m.add(s),t.updateQueue=m}else h.add(s);break e}if(0==(1&t)){Tc(a,c,t),Td();break e}s=Error(yt(426))}else if(yl&&1&l.mode){var g=Pc(i);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),_c(g,i,l,0,t),Il(Cc(s,l));break e}}a=s=Cc(s,l),4!==Zu&&(Zu=2),null===ed?ed=[a]:ed.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Ql(a,Oc(0,s,t));break e;case 1:l=s;var v=a.type,b=a.stateNode;if(0==(128&a.flags)&&("function"==typeof v.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===ld||!ld.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Ql(a,Ic(a,l,t));break e}}a=a.return}while(null!==a)}qd(n)}catch(e){t=e,Uu===n&&null!==n&&(Uu=n=n.return);continue}break}}function Id(){var e=Fu.current;return Fu.current=xc,null===e?xc:e}function Td(){0!==Zu&&3!==Zu&&2!==Zu||(Zu=4),null===Hu||0==(268435455&Qu)&&0==(268435455&Ju)||wd(Hu,Vu)}function Pd(e,t){var n=$u;$u|=2;var r=Id();for(Hu===e&&Vu===t||(od=null,Ld(e,t));;)try{_d();break}catch(t){Od(e,t)}if(zl(),$u=n,Fu.current=r,null!==Uu)throw Error(yt(261));return Hu=null,Vu=0,Zu}function _d(){for(;null!==Uu;)Md(Uu)}function Nd(){for(;null!==Uu&&!ur();)Md(Uu)}function Md(e){var t=Au(e.alternate,e,Gu);e.memoizedProps=e.pendingProps,null===t?qd(e):Uu=t,Bu.current=null}function qd(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=su(n,t,Gu)))return void(Uu=n)}else{if(null!==(n=cu(n,t)))return n.flags&=32767,void(Uu=n);if(null===e)return Zu=6,void(Uu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Uu=t);Uu=t=e}while(null!==t);0===Zu&&(Zu=5)}function zd(e,t,n){var r=Mr,o=Wu.transition;try{Wu.transition=null,Mr=1,function(e,t,n,r){do{Dd()}while(null!==cd);if(0!=(6&$u))throw Error(yt(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(yt(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Sr(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,a),e===Hu&&(Uu=Hu=null,Vu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||sd||(sd=!0,Hd(gr,(function(){return Dd(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Wu.transition,Wu.transition=null;var i=Mr;Mr=1;var l=$u;$u|=4,Bu.current=null,function(e,t){if(mi=ao,Oa(e=La())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var i=0,l=-1,s=-1,c=0,u=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==o&&3!==d.nodeType||(l=i+o),d!==a||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++c===o&&(l=i),p===a&&++u===r&&(s=i),null!==(f=d.nextSibling))break;p=(d=p).parentNode}d=f}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(gi={focusedElem:e,selectionRange:n},ao=!1,fu=t;null!==fu;)if(e=(t=fu).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,fu=e;else for(;null!==fu;){t=fu;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,g=h.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Pl(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(yt(163))}}catch(e){jd(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,fu=e;break}fu=t.return}h=gu,gu=!1}(e,n),Pu(n,e),Ia(gi),ao=!!mi,gi=mi=null,e.current=n,Nu(n),dr(),$u=l,Mr=i,Wu.transition=a}else e.current=n;if(sd&&(sd=!1,cd=e,ud=o),a=e.pendingLanes,0===a&&(ld=null),function(e){if(xr&&"function"==typeof xr.onCommitFiberRoot)try{xr.onCommitFiberRoot(yr,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),bd(e,pr()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(ad)throw ad=!1,e=id,id=null,e;0!=(1&ud)&&0!==e.tag&&Dd(),a=e.pendingLanes,0!=(1&a)?e===pd?dd++:(dd=0,pd=e):dd=0,rl()}(e,t,n,r)}finally{Wu.transition=o,Mr=r}return null}function Dd(){if(null!==cd){var e=qr(ud),t=Wu.transition,n=Mr;try{if(Wu.transition=null,Mr=16>e?16:e,null===cd)var r=!1;else{if(e=cd,cd=null,ud=0,0!=(6&$u))throw Error(yt(331));var o=$u;for($u|=4,fu=e.current;null!==fu;){var a=fu,i=a.child;if(0!=(16&fu.flags)){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(fu=c;null!==fu;){var u=fu;switch(u.tag){case 0:case 11:case 15:vu(8,u,a)}var d=u.child;if(null!==d)d.return=u,fu=d;else for(;null!==fu;){var p=(u=fu).sibling,f=u.return;if(xu(u),u===c){fu=null;break}if(null!==p){p.return=f,fu=p;break}fu=f}}}var h=a.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}fu=a}}if(0!=(2064&a.subtreeFlags)&&null!==i)i.return=a,fu=i;else e:for(;null!==fu;){if(0!=(2048&(a=fu).flags))switch(a.tag){case 0:case 11:case 15:vu(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,fu=v;break e}fu=a.return}}var b=e.current;for(fu=b;null!==fu;){var y=(i=fu).child;if(0!=(2064&i.subtreeFlags)&&null!==y)y.return=i,fu=y;else e:for(i=b;null!==fu;){if(0!=(2048&(l=fu).flags))try{switch(l.tag){case 0:case 11:case 15:bu(9,l)}}catch(e){jd(l,l.return,e)}if(l===i){fu=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,fu=x;break e}fu=l.return}}if($u=o,rl(),xr&&"function"==typeof xr.onPostCommitFiberRoot)try{xr.onPostCommitFiberRoot(yr,e)}catch(e){}r=!0}return r}finally{Mr=n,Wu.transition=t}}return!1}function Ad(e,t,n){e=Zl(e,t=Oc(0,t=Cc(n,t),1),1),t=md(),null!==e&&(_r(e,1,t),bd(e,t))}function jd(e,t,n){if(3===e.tag)Ad(e,e,n);else for(;null!==t;){if(3===t.tag){Ad(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ld||!ld.has(r))){t=Zl(t,e=Ic(t,e=Cc(n,e),1),1),e=md(),null!==t&&(_r(t,1,e),bd(t,e));break}}t=t.return}}function Fd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=md(),e.pingedLanes|=e.suspendedLanes&n,Hu===e&&(Vu&n)===n&&(4===Zu||3===Zu&&(130023424&Vu)===Vu&&500>pr()-nd?Ld(e,0):Yu|=n),bd(e,t)}function Bd(e,t){0===t&&(0==(1&e.mode)?t=1:(t=kr,0==(130023424&(kr<<=1))&&(kr=4194304)));var n=md();null!==(e=Hl(e,t))&&(_r(e,t,n),bd(e,n))}function Wd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Bd(e,n)}function $d(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(yt(314))}null!==r&&r.delete(t),Bd(e,n)}function Hd(e,t){return sr(e,t)}function Ud(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vd(e,t,n,r){return new Ud(e,t,n,r)}function Gd(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Kd(e,t){var n=e.alternate;return null===n?((n=Vd(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zd(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Gd(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Dt:return Xd(n.children,o,a,t);case At:i=8,o|=8;break;case jt:return(e=Vd(12,n,t,2|o)).elementType=jt,e.lanes=a,e;case $t:return(e=Vd(13,n,t,o)).elementType=$t,e.lanes=a,e;case Ht:return(e=Vd(19,n,t,o)).elementType=Ht,e.lanes=a,e;case Gt:return Qd(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ft:i=10;break e;case Bt:i=9;break e;case Wt:i=11;break e;case Ut:i=14;break e;case Vt:i=16,r=null;break e}throw Error(yt(130,null==e?e:typeof e,""))}return(t=Vd(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Xd(e,t,n,r){return(e=Vd(7,e,r,t)).lanes=n,e}function Qd(e,t,n,r){return(e=Vd(22,e,r,t)).elementType=Gt,e.lanes=n,e.stateNode={isHidden:!1},e}function Jd(e,t,n){return(e=Vd(6,e,null,t)).lanes=n,e}function Yd(e,t,n){return(t=Vd(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ep(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pr(0),this.expirationTimes=Pr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pr(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function tp(e,t,n,r,o,a,i,l,s){return e=new ep(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Vd(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vl(a),e}function np(e){if(!e)return Wi;e:{if(rr(e=e._reactInternals)!==e||1!==e.tag)throw Error(yt(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Gi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(yt(171))}if(1===e.tag){var n=e.type;if(Gi(n))return Xi(e,n,t)}return t}function rp(e,t,n,r,o,a,i,l,s){return(e=tp(n,r,!0,e,0,a,0,l,s)).context=np(null),n=e.current,(a=Kl(r=md(),o=gd(n))).callback=null!=t?t:null,Zl(n,a,o),e.current.lanes=o,_r(e,o,r),bd(e,r),e}function op(e,t,n,r){var o=t.current,a=md(),i=gd(o);return n=np(n),null===t.context?t.context=n:t.pendingContext=n,(t=Kl(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Zl(o,t,i))&&(vd(e,o,i,a),Xl(e,o,i)),i}function ap(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ip(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function lp(e,t){ip(e,t),(e=e.alternate)&&ip(e,t)}Au=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Hi.current)Mc=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return Mc=!1,function(e,t,n){switch(t.tag){case 3:Hc(t),Ol();break;case 5:xs(t);break;case 1:Gi(t.type)&&Qi(t);break;case 4:bs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Bi(_l,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Bi(ws,1&ws.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Jc(e,t,n):(Bi(ws,1&ws.current),null!==(e=au(e,t,n))?e.sibling:null);Bi(ws,1&ws.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return ru(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Bi(ws,ws.current),r)break;return null;case 22:case 23:return t.lanes=0,jc(e,t,n)}return au(e,t,n)}(e,t,n);Mc=0!=(131072&e.flags)}else Mc=!1,yl&&0!=(1048576&t.flags)&&hl(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ou(e,t),e=t.pendingProps;var o=Vi(t,$i.current);jl(t,n),o=As(null,t,r,e,o,n);var a=js();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Gi(r)?(a=!0,Qi(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Vl(t),o.updater=ns,t.stateNode=o,o._reactInternals=t,is(t,r,e,n),t=$c(null,t,r,!0,a,n)):(t.tag=0,yl&&a&&ml(t),qc(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ou(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Gd(e)?1:0;if(null!=e){if((e=e.$$typeof)===Wt)return 11;if(e===Ut)return 14}return 2}(r),e=Pl(r,e),o){case 0:t=Bc(null,t,r,e,n);break e;case 1:t=Wc(null,t,r,e,n);break e;case 11:t=zc(null,t,r,e,n);break e;case 14:t=Dc(null,t,r,Pl(r.type,e),n);break e}throw Error(yt(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Bc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 1:return r=t.type,o=t.pendingProps,Wc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 3:e:{if(Hc(t),null===e)throw Error(yt(387));r=t.pendingProps,o=(a=t.memoizedState).element,Gl(e,t),Jl(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Uc(e,t,r,n,o=Cc(Error(yt(423)),t));break e}if(r!==o){t=Uc(e,t,r,n,o=Cc(Error(yt(424)),t));break e}for(bl=Ci(t.stateNode.containerInfo.firstChild),vl=t,yl=!0,xl=null,n=ps(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Ol(),r===o){t=au(e,t,n);break e}qc(e,t,r,n)}t=t.child}return t;case 5:return xs(t),null===e&&Cl(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,vi(r,o)?i=null:null!==a&&vi(r,a)&&(t.flags|=32),Fc(e,t),qc(e,t,i,n),t.child;case 6:return null===e&&Cl(t),null;case 13:return Jc(e,t,n);case 4:return bs(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ds(t,null,r,n):qc(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,zc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 7:return qc(e,t,t.pendingProps,n),t.child;case 8:case 12:return qc(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,Bi(_l,r._currentValue),r._currentValue=i,null!==a)if(wa(a.value,i)){if(a.children===o.children&&!Hi.current){t=au(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){i=a.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=Kl(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var u=(c=c.shared).pending;null===u?s.next=s:(s.next=u.next,u.next=s),c.pending=s}}a.lanes|=n,null!==(s=a.alternate)&&(s.lanes|=n),Al(a.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===a.tag)i=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(yt(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),Al(i,n,t),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===t){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}qc(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,jl(t,n),r=r(o=Fl(o)),t.flags|=1,qc(e,t,r,n),t.child;case 14:return o=Pl(r=t.type,t.pendingProps),Dc(e,t,r,o=Pl(r.type,o),n);case 15:return Ac(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Pl(r,o),ou(e,t),t.tag=1,Gi(r)?(e=!0,Qi(t)):e=!1,jl(t,n),os(t,r,o),is(t,r,o,n),$c(null,t,r,!0,e,n);case 19:return ru(e,t,n);case 22:return jc(e,t,n)}throw Error(yt(156,t.tag))};var sp="function"==typeof reportError?reportError:function(e){console.error(e)};function cp(e){this._internalRoot=e}function up(e){this._internalRoot=e}function dp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function pp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function fp(){}function hp(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=ap(i);l.call(e)}}op(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=ap(i);a.call(e)}}var i=rp(t,r,e,0,null,!1,0,"",fp);return e._reactRootContainer=i,e[Ii]=i.current,ri(8===e.nodeType?e.parentNode:e),kd(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=ap(s);l.call(e)}}var s=tp(e,0,!1,null,0,!1,0,"",fp);return e._reactRootContainer=s,e[Ii]=s.current,ri(8===e.nodeType?e.parentNode:e),kd((function(){op(t,s,n,r)})),s}(n,t,e,o,r);return ap(i)}up.prototype.render=cp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(yt(409));op(e,t,null,null)},up.prototype.unmount=cp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;kd((function(){op(null,e,null,null)})),t[Ii]=null}},up.prototype.unstable_scheduleHydration=function(e){if(e){var t=jr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kr.length&&0!==t&&t<Kr[n].priority;n++);Kr.splice(n,0,e),0===n&&Jr(e)}},zr=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Rr(t.pendingLanes);0!==n&&(Nr(t,1|n),bd(t,pr()),0==(6&$u)&&(rd=pr()+500,rl()))}break;case 13:kd((function(){var t=Hl(e,1);if(null!==t){var n=md();vd(t,e,1,n)}})),lp(e,1)}},Dr=function(e){if(13===e.tag){var t=Hl(e,134217728);if(null!==t)vd(t,e,134217728,md());lp(e,134217728)}},Ar=function(e){if(13===e.tag){var t=gd(e),n=Hl(e,t);if(null!==n)vd(n,e,t,md());lp(e,t)}},jr=function(){return Mr},Fr=function(e,t){var n=Mr;try{return Mr=e,t()}finally{Mr=n}},Dn=function(e,t,n){switch(t){case"input":if(fn(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=zi(r);if(!o)throw Error(yt(90));sn(r),fn(r,o)}}}break;case"textarea":xn(e,n);break;case"select":null!=(t=n.value)&&vn(e,!!n.multiple,t,!1)}},$n=Cd,Hn=kd;var mp={usingClientEntryPoint:!1,Events:[Mi,qi,zi,Bn,Wn,Cd]},gp={findFiberByHostInstance:Ni,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},vp={bundleType:gp.bundleType,version:gp.version,rendererPackageName:gp.rendererPackageName,rendererConfig:gp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Mt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ir(e))?null:e.stateNode},findFiberByHostInstance:gp.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bp.isDisabled&&bp.supportsFiber)try{yr=bp.inject(vp),xr=bp}catch(kn){}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mp,ft.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!dp(t))throw Error(yt(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:zt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},ft.createRoot=function(e,t){if(!dp(e))throw Error(yt(299));var n=!1,r="",o=sp;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=tp(e,1,!1,null,0,n,0,r,o),e[Ii]=t.current,ri(8===e.nodeType?e.parentNode:e),new cp(t)},ft.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(yt(188));throw e=Object.keys(e).join(","),Error(yt(268,e))}return e=null===(e=ir(t))?null:e.stateNode},ft.flushSync=function(e){return kd(e)},ft.hydrate=function(e,t,n){if(!pp(t))throw Error(yt(200));return hp(null,e,t,!0,n)},ft.hydrateRoot=function(e,t,n){if(!dp(e))throw Error(yt(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",i=sp;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=rp(t,null,e,1,null!=n?n:null,o,0,a,i),e[Ii]=t.current,ri(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new up(t)},ft.render=function(e,t,n){if(!pp(t))throw Error(yt(200));return hp(null,e,t,!1,n)},ft.unmountComponentAtNode=function(e){if(!pp(e))throw Error(yt(40));return!!e._reactRootContainer&&(kd((function(){hp(null,null,e,!1,(function(){e._reactRootContainer=null,e[Ii]=null}))})),!0)},ft.unstable_batchedUpdates=Cd,ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!pp(n))throw Error(yt(200));if(null==e||void 0===e._reactInternals)throw Error(yt(38));return hp(e,t,n,!1,r)},ft.version="18.2.0-next-9e3b772b8-20220608",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)}}(),pt.exports=ft;var yp=pt.exports,xp=n(yp),Sp=yp;function wp(){return wp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wp.apply(this,arguments)}function Ep(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Cp(e){if(!Ep(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Cp(e[n])})),t}function kp(e,t,n={clone:!0}){const r=n.clone?wp({},e):e;return Ep(e)&&Ep(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Ep(t[o])&&o in e&&Ep(e[o])?r[o]=kp(e[o],t[o],n):n.clone?r[o]=Ep(t[o])?Cp(t[o]):t[o]:r[o]=t[o])})),r}function Rp(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}dt.createRoot=Sp.createRoot,dt.hydrateRoot=Sp.hydrateRoot;var Lp,Op={exports:{}},Ip={},Tp=Symbol.for("react.element"),Pp=Symbol.for("react.portal"),_p=Symbol.for("react.fragment"),Np=Symbol.for("react.strict_mode"),Mp=Symbol.for("react.profiler"),qp=Symbol.for("react.provider"),zp=Symbol.for("react.context"),Dp=Symbol.for("react.server_context"),Ap=Symbol.for("react.forward_ref"),jp=Symbol.for("react.suspense"),Fp=Symbol.for("react.suspense_list"),Bp=Symbol.for("react.memo"),Wp=Symbol.for("react.lazy"),$p=Symbol.for("react.offscreen");function Hp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Tp:switch(e=e.type){case _p:case Mp:case Np:case jp:case Fp:return e;default:switch(e=e&&e.$$typeof){case Dp:case zp:case Ap:case Wp:case Bp:case qp:return e;default:return t}}case Pp:return t}}}Lp=Symbol.for("react.module.reference"),Ip.ContextConsumer=zp,Ip.ContextProvider=qp,Ip.Element=Tp,Ip.ForwardRef=Ap,Ip.Fragment=_p,Ip.Lazy=Wp,Ip.Memo=Bp,Ip.Portal=Pp,Ip.Profiler=Mp,Ip.StrictMode=Np,Ip.Suspense=jp,Ip.SuspenseList=Fp,Ip.isAsyncMode=function(){return!1},Ip.isConcurrentMode=function(){return!1},Ip.isContextConsumer=function(e){return Hp(e)===zp},Ip.isContextProvider=function(e){return Hp(e)===qp},Ip.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Tp},Ip.isForwardRef=function(e){return Hp(e)===Ap},Ip.isFragment=function(e){return Hp(e)===_p},Ip.isLazy=function(e){return Hp(e)===Wp},Ip.isMemo=function(e){return Hp(e)===Bp},Ip.isPortal=function(e){return Hp(e)===Pp},Ip.isProfiler=function(e){return Hp(e)===Mp},Ip.isStrictMode=function(e){return Hp(e)===Np},Ip.isSuspense=function(e){return Hp(e)===jp},Ip.isSuspenseList=function(e){return Hp(e)===Fp},Ip.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===_p||e===Mp||e===Np||e===jp||e===Fp||e===$p||"object"==typeof e&&null!==e&&(e.$$typeof===Wp||e.$$typeof===Bp||e.$$typeof===qp||e.$$typeof===zp||e.$$typeof===Ap||e.$$typeof===Lp||void 0!==e.getModuleId)},Ip.typeOf=Hp,Op.exports=Ip;var Up=Op.exports;function Vp(e){if("string"!=typeof e)throw new Error(Rp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gp(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Kp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Zp(e,t){return H.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Xp(e){return e&&e.ownerDocument||document}function Qp(e){return Xp(e).defaultView||window}function Jp(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Yp="undefined"!=typeof window?H.useLayoutEffect:H.useEffect;let ef=0;const tf=V["useId".toString()];function nf(e){if(void 0!==tf){const t=tf();return null!=e?e:t}return function(e){const[t,n]=H.useState(e),r=e||t;return H.useEffect((()=>{null==t&&(ef+=1,n(`mui-${ef}`))}),[t]),r}(e)}function rf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=H.useRef(void 0!==e),[a,i]=H.useState(t);return[o?e:a,H.useCallback((e=>{o||i(e)}),[])]}function of(e){const t=H.useRef(e);return Yp((()=>{t.current=e})),H.useCallback(((...e)=>(0,t.current)(...e)),[])}function af(...e){return H.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{Jp(e,t)}))}),e)}let lf,sf=!0,cf=!1;const uf={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 df(e){e.metaKey||e.altKey||e.ctrlKey||(sf=!0)}function pf(){sf=!1}function ff(){"hidden"===this.visibilityState&&cf&&(sf=!0)}function hf(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return sf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!uf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function mf(){const e=H.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",df,!0),t.addEventListener("mousedown",pf,!0),t.addEventListener("pointerdown",pf,!0),t.addEventListener("touchstart",pf,!0),t.addEventListener("visibilitychange",ff,!0))}),[]),t=H.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!hf(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(cf=!0,window.clearTimeout(lf),lf=window.setTimeout((()=>{cf=!1}),100),t.current=!1,!0)},ref:e}}function gf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var vf=e=>{const t=H.useRef({});return H.useEffect((()=>{t.current=e})),t.current};function bf(e,t){const n=wp({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=wp({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=wp({},a),Object.keys(o).forEach((e=>{n[r][e]=bf(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function yf(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const xf=e=>e;var Sf=(()=>{let e=xf;return{configure(t){e=t},generate:t=>e(t),reset(){e=xf}}})();const wf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Ef(e,t,n="Mui"){const r=wf[t];return r?`${n}-${r}`:`${Sf.generate(e)}-${t}`}function Cf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Ef(e,t,n)})),r}var kf="$$material";function Rf(){return Rf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rf.apply(this,arguments)}function Lf(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Of(){return Of=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Of.apply(this,arguments)}function If(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Tf=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Pf=If((function(e){return Tf.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var _f=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Nf="-ms-",Mf="-moz-",qf="-webkit-",zf="comm",Df="rule",Af="decl",jf="@keyframes",Ff=Math.abs,Bf=String.fromCharCode,Wf=Object.assign;function $f(e){return e.trim()}function Hf(e,t,n){return e.replace(t,n)}function Uf(e,t){return e.indexOf(t)}function Vf(e,t){return 0|e.charCodeAt(t)}function Gf(e,t,n){return e.slice(t,n)}function Kf(e){return e.length}function Zf(e){return e.length}function Xf(e,t){return t.push(e),e}var Qf=1,Jf=1,Yf=0,eh=0,th=0,nh="";function rh(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Qf,column:Jf,length:i,return:""}}function oh(e,t){return Wf(rh("",null,null,"",null,null,0),e,{length:-e.length},t)}function ah(){return th=eh>0?Vf(nh,--eh):0,Jf--,10===th&&(Jf=1,Qf--),th}function ih(){return th=eh<Yf?Vf(nh,eh++):0,Jf++,10===th&&(Jf=1,Qf++),th}function lh(){return Vf(nh,eh)}function sh(){return eh}function ch(e,t){return Gf(nh,e,t)}function uh(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dh(e){return Qf=Jf=1,Yf=Kf(nh=e),eh=0,[]}function ph(e){return nh="",e}function fh(e){return $f(ch(eh-1,gh(91===e?e+2:40===e?e+1:e)))}function hh(e){for(;(th=lh())&&th<33;)ih();return uh(e)>2||uh(th)>3?"":" "}function mh(e,t){for(;--t&&ih()&&!(th<48||th>102||th>57&&th<65||th>70&&th<97););return ch(e,sh()+(t<6&&32==lh()&&32==ih()))}function gh(e){for(;ih();)switch(th){case e:return eh;case 34:case 39:34!==e&&39!==e&&gh(th);break;case 40:41===e&&gh(e);break;case 92:ih()}return eh}function vh(e,t){for(;ih()&&e+th!==57&&(e+th!==84||47!==lh()););return"/*"+ch(t,eh-1)+"*"+Bf(47===e?e:ih())}function bh(e){for(;!uh(lh());)ih();return ch(e,eh)}function yh(e){return ph(xh("",null,null,null,[""],e=dh(e),0,[0],e))}function xh(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,v=1,b=0,y="",x=o,S=a,w=r,E=y;g;)switch(h=b,b=ih()){case 40:if(108!=h&&58==Vf(E,d-1)){-1!=Uf(E+=Hf(fh(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=fh(b);break;case 9:case 10:case 13:case 32:E+=hh(h);break;case 92:E+=mh(sh()-1,7);continue;case 47:switch(lh()){case 42:case 47:Xf(wh(vh(ih(),sh()),t,n),s);break;default:E+="/"}break;case 123*m:l[c++]=Kf(E)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==v&&(E=Hf(E,/\f/g,"")),f>0&&Kf(E)-d&&Xf(f>32?Eh(E+";",r,n,d-1):Eh(Hf(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(Xf(w=Sh(E,t,n,c,u,o,l,y,x=[],S=[],d),a),123===b)if(0===u)xh(E,t,w,w,x,a,d,l,S);else switch(99===p&&110===Vf(E,3)?100:p){case 100:case 108:case 109:case 115:xh(e,w,w,r&&Xf(Sh(e,w,w,0,0,o,l,y,o,x=[],d),S),o,S,d,l,r?x:S);break;default:xh(E,w,w,w,[""],S,0,l,S)}}c=u=f=0,m=v=1,y=E="",d=i;break;case 58:d=1+Kf(E),f=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==ah())continue;switch(E+=Bf(b),b*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:l[c++]=(Kf(E)-1)*v,v=1;break;case 64:45===lh()&&(E+=fh(ih())),p=lh(),u=d=Kf(y=E+=bh(sh())),b++;break;case 45:45===h&&2==Kf(E)&&(m=0)}}return a}function Sh(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=Zf(p),h=0,m=0,g=0;h<r;++h)for(var v=0,b=Gf(e,d+1,d=Ff(m=i[h])),y=e;v<f;++v)(y=$f(m>0?p[v]+" "+b:Hf(b,/&\f/g,p[v])))&&(s[g++]=y);return rh(e,t,n,0===o?Df:l,s,c,u)}function wh(e,t,n){return rh(e,t,n,zf,Bf(th),Gf(e,2,-2),0)}function Eh(e,t,n,r){return rh(e,t,n,Af,Gf(e,0,r),Gf(e,r+1,-1),r)}function Ch(e,t){for(var n="",r=Zf(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function kh(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Af:return e.return=e.return||e.value;case zf:return"";case jf:return e.return=e.value+"{"+Ch(e.children,r)+"}";case Df:e.value=e.props.join(",")}return Kf(n=Ch(e.children,r))?e.return=e.value+"{"+n+"}":""}function Rh(e){var t=Zf(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var Lh=function(e,t,n){for(var r=0,o=0;r=o,o=lh(),38===r&&12===o&&(t[n]=1),!uh(o);)ih();return ch(e,eh)},Oh=function(e,t){return ph(function(e,t){var n=-1,r=44;do{switch(uh(r)){case 0:38===r&&12===lh()&&(t[n]=1),e[n]+=Lh(eh-1,t,n);break;case 2:e[n]+=fh(r);break;case 4:if(44===r){e[++n]=58===lh()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Bf(r)}}while(r=ih());return e}(dh(e),t))},Ih=new WeakMap,Th=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ih.get(n))&&!r){Ih.set(e,!0);for(var o=[],a=Oh(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},Ph=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function _h(e,t){switch(function(e,t){return 45^Vf(e,0)?(((t<<2^Vf(e,0))<<2^Vf(e,1))<<2^Vf(e,2))<<2^Vf(e,3):0}(e,t)){case 5103:return qf+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return qf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qf+e+Mf+e+Nf+e+e;case 6828:case 4268:return qf+e+Nf+e+e;case 6165:return qf+e+Nf+"flex-"+e+e;case 5187:return qf+e+Hf(e,/(\w+).+(:[^]+)/,qf+"box-$1$2"+Nf+"flex-$1$2")+e;case 5443:return qf+e+Nf+"flex-item-"+Hf(e,/flex-|-self/,"")+e;case 4675:return qf+e+Nf+"flex-line-pack"+Hf(e,/align-content|flex-|-self/,"")+e;case 5548:return qf+e+Nf+Hf(e,"shrink","negative")+e;case 5292:return qf+e+Nf+Hf(e,"basis","preferred-size")+e;case 6060:return qf+"box-"+Hf(e,"-grow","")+qf+e+Nf+Hf(e,"grow","positive")+e;case 4554:return qf+Hf(e,/([^-])(transform)/g,"$1"+qf+"$2")+e;case 6187:return Hf(Hf(Hf(e,/(zoom-|grab)/,qf+"$1"),/(image-set)/,qf+"$1"),e,"")+e;case 5495:case 3959:return Hf(e,/(image-set\([^]*)/,qf+"$1$`$1");case 4968:return Hf(Hf(e,/(.+:)(flex-)?(.*)/,qf+"box-pack:$3"+Nf+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qf+e+e;case 4095:case 3583:case 4068:case 2532:return Hf(e,/(.+)-inline(.+)/,qf+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kf(e)-1-t>6)switch(Vf(e,t+1)){case 109:if(45!==Vf(e,t+4))break;case 102:return Hf(e,/(.+:)(.+)-([^]+)/,"$1"+qf+"$2-$3$1"+Mf+(108==Vf(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Uf(e,"stretch")?_h(Hf(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Vf(e,t+1))break;case 6444:switch(Vf(e,Kf(e)-3-(~Uf(e,"!important")&&10))){case 107:return Hf(e,":",":"+qf)+e;case 101:return Hf(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qf+(45===Vf(e,14)?"inline-":"")+"box$3$1"+qf+"$2$3$1"+Nf+"$2box$3")+e}break;case 5936:switch(Vf(e,t+11)){case 114:return qf+e+Nf+Hf(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qf+e+Nf+Hf(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qf+e+Nf+Hf(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qf+e+Nf+e+e}return e}var Nh="undefined"!=typeof document,Mh=Nh?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return If((function(){var e={};return function(t){return e[t]}}))})),qh=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Af:e.return=_h(e.value,e.length);break;case jf:return Ch([oh(e,{value:Hf(e.value,"@","@"+qf)})],r);case Df:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ch([oh(e,{props:[Hf(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ch([oh(e,{props:[Hf(t,/:(plac\w+)/,":"+qf+"input-$1")]}),oh(e,{props:[Hf(t,/:(plac\w+)/,":-moz-$1")]}),oh(e,{props:[Hf(t,/:(plac\w+)/,Nf+"input-$1")]})],r)}return""}))}}],zh=function(e){var t=e.key;if(Nh&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||qh,i={},l=[];Nh&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s,c=[Th,Ph];if(Nh){var u,d=[kh,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Rh(c.concat(a,d));o=function(e,t,n,r){u=n,function(e){Ch(yh(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[kh],h=Rh(c.concat(a,f)),m=Mh(a)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return Ch(yh(e),h)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};o=function(e,t,n,r){var o=t.name,a=g(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new _f({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return v.sheet.hydrate(l),v},Dh=Up,Ah={};Ah[Dh.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ah[Dh.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var jh="undefined"!=typeof document;var Fh=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===jh&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Bh=function(e,t,n){Fh(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);jh||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!jh&&0!==o.length)return o}};var Wh={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$h=/[A-Z]|^ms/g,Hh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Uh=function(e){return 45===e.charCodeAt(1)},Vh=function(e){return null!=e&&"boolean"!=typeof e},Gh=If((function(e){return Uh(e)?e:e.replace($h,"-$&").toLowerCase()})),Kh=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Hh,(function(e,t,n){return Xh={name:t,styles:n,next:Xh},t}))}return 1===Wh[e]||Uh(e)||"number"!=typeof t||0===t?t:t+"px"};function Zh(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Xh={name:n.name,styles:n.styles,next:Xh},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Xh={name:r.name,styles:r.styles,next:Xh},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Zh(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":Vh(i)&&(r+=Gh(a)+":"+Kh(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Zh(e,t,i);switch(a){case"animation":case"animationName":r+=Gh(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Vh(i[s])&&(r+=Gh(a)+":"+Kh(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Xh,a=n(e);return Xh=o,Zh(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Xh,Qh=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Jh=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Xh=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Zh(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Zh(n,t,e[i]),r&&(o+=a[i]);Qh.lastIndex=0;for(var l,s="";null!==(l=Qh.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:Xh}},Yh="undefined"!=typeof document,em=function(e){return e()},tm=!!V.useInsertionEffect&&V.useInsertionEffect,nm=Yh&&tm||em,rm=tm||H.useLayoutEffect,om="undefined"!=typeof document,am=H.createContext("undefined"!=typeof HTMLElement?zh({key:"css"}):null),im=am.Provider,lm=function(e){return H.forwardRef((function(t,n){var r=H.useContext(am);return e(t,r,n)}))};om||(lm=function(e){return function(t){var n=H.useContext(am);return null===n?(n=zh({key:"css"}),H.createElement(am.Provider,{value:n},e(t,n))):e(t,n)}});var sm=H.createContext({}),cm=lm((function(e,t){var n=e.styles,r=Jh([n],void 0,H.useContext(sm));if(!om){for(var o,a=r.name,i=r.styles,l=r.next;void 0!==l;)a+=" "+l.name,i+=l.styles,l=l.next;var s=!0===t.compat,c=t.insert("",{name:a,styles:i},t.sheet,s);return s?null:H.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var u=H.useRef();return rm((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),u.current=[n,o],function(){n.flush()}}),[t]),rm((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Bh(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function um(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jh(t)}var dm=function(){var e=um.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},pm=Pf,fm=function(e){return"theme"!==e},hm=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?pm:fm},mm=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},gm="undefined"!=typeof document,vm=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Fh(t,n,r);var o=nm((function(){return Bh(t,n,r)}));if(!gm&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return H.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},bm=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=mm(t,n,a),s=l||hm(i),c=!s("as");return function(){var u=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var h=lm((function(e,t,n){var r,a,u,p,f=c&&e.as||i,h="",m=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=H.useContext(sm)}"string"==typeof e.className?(r=t.registered,a=m,u=e.className,p="",u.split(" ").forEach((function(e){void 0!==r[e]?a.push(r[e]+";"):p+=e+" "})),h=p):null!=e.className&&(h=e.className+" ");var b=Jh(d.concat(m),t.registered,g);h+=t.key+"-"+b.name,void 0!==o&&(h+=" "+o);var y=c&&void 0===l?hm(f):s,x={};for(var S in e)c&&"as"===S||y(S)&&(x[S]=e[S]);return x.className=h,x.ref=n,H.createElement(H.Fragment,null,H.createElement(vm,{cache:t,serialized:b,isStringTag:"string"==typeof f}),H.createElement(f,x))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,Of({},n,r,{shouldForwardProp:mm(h,r,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){bm[e]=bm(e)}));var ym={exports:{}},xm={},Sm=H,wm=Symbol.for("react.element"),Em=Symbol.for("react.fragment"),Cm=Object.prototype.hasOwnProperty,km=Sm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Rm={key:!0,ref:!0,__self:!0,__source:!0};function Lm(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Cm.call(t,r)&&!Rm.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:wm,type:e,key:a,ref:i,props:o,_owner:km.current}}xm.Fragment=Em,xm.jsx=Lm,xm.jsxs=Lm,ym.exports=xm;var Om=ym.exports;let Im;function Tm(e){const{injectFirst:t,children:n}=e;return t&&Im?Om.jsx(im,{value:Im,children:n}):n}function Pm(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Om.jsx(cm,{styles:r})}
|
|
26
|
+
*/function yt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var xt=new Set,St={};function wt(e,t){Et(e,t),Et(e+"Capture",t)}function Et(e,t){for(St[e]=t,e=0;e<t.length;e++)xt.add(t[e])}var Ct=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),kt=Object.prototype.hasOwnProperty,Lt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Rt={},Ot={};function It(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Tt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Tt[e]=new It(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Tt[t]=new It(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Tt[e]=new It(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Tt[e]=new It(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Tt[e]=new It(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Tt[e]=new It(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Tt[e]=new It(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Tt[e]=new It(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Tt[e]=new It(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Pt=/[\-:]([a-z])/g;function _t(e){return e[1].toUpperCase()}function Nt(e,t,n,r){var o=Tt.hasOwnProperty(t)?Tt[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!kt.call(Ot,e)||!kt.call(Rt,e)&&(Lt.test(e)?Ot[e]=!0:(Rt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Pt,_t);Tt[t]=new It(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Pt,_t);Tt[t]=new It(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Pt,_t);Tt[t]=new It(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Tt[e]=new It(e,1,!1,e.toLowerCase(),null,!1,!1)})),Tt.xlinkHref=new It("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Tt[e]=new It(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Mt=vt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,qt=Symbol.for("react.element"),zt=Symbol.for("react.portal"),Dt=Symbol.for("react.fragment"),At=Symbol.for("react.strict_mode"),jt=Symbol.for("react.profiler"),Ft=Symbol.for("react.provider"),Bt=Symbol.for("react.context"),Wt=Symbol.for("react.forward_ref"),$t=Symbol.for("react.suspense"),Ht=Symbol.for("react.suspense_list"),Ut=Symbol.for("react.memo"),Vt=Symbol.for("react.lazy"),Gt=Symbol.for("react.offscreen"),Kt=Symbol.iterator;function Zt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Kt&&e[Kt]||e["@@iterator"])?e:null}var Xt,Qt=Object.assign;function Jt(e){if(void 0===Xt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Xt=t&&t[1]||""}return"\n"+Xt+e}var Yt=!1;function en(e,t){if(!e||Yt)return"";Yt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{Yt=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jt(e):""}function tn(e){switch(e.tag){case 5:return Jt(e.type);case 16:return Jt("Lazy");case 13:return Jt("Suspense");case 19:return Jt("SuspenseList");case 0:case 2:case 15:return e=en(e.type,!1);case 11:return e=en(e.type.render,!1);case 1:return e=en(e.type,!0);default:return""}}function nn(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Dt:return"Fragment";case zt:return"Portal";case jt:return"Profiler";case At:return"StrictMode";case $t:return"Suspense";case Ht:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Bt:return(e.displayName||"Context")+".Consumer";case Ft:return(e._context.displayName||"Context")+".Provider";case Wt:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ut:return null!==(t=e.displayName||null)?t:nn(e.type)||"Memo";case Vt:t=e._payload,e=e._init;try{return nn(e(t))}catch(e){}}return null}function rn(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return nn(t);case 8:return t===At?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function an(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ln(e){e._valueTracker||(e._valueTracker=function(e){var t=an(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function sn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=an(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function cn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function un(e,t){var n=t.checked;return Qt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function dn(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=on(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function pn(e,t){null!=(t=t.checked)&&Nt(e,"checked",t,!1)}function fn(e,t){pn(e,t);var n=on(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?mn(e,t.type,n):t.hasOwnProperty("defaultValue")&&mn(e,t.type,on(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function hn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function mn(e,t,n){"number"===t&&cn(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gn=Array.isArray;function vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+on(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function bn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(yt(91));return Qt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function yn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(yt(92));if(gn(n)){if(1<n.length)throw Error(yt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:on(n)}}function xn(e,t){var n=on(t.value),r=on(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Sn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function wn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function En(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?wn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Cn,kn,Ln=(kn=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Cn=Cn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Cn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return kn(e,t)}))}:kn);function Rn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var On={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},In=["Webkit","ms","Moz","O"];function Tn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function Pn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(On).forEach((function(e){In.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]}))}));var _n=Qt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Nn(e,t){if(t){if(_n[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(yt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(yt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(yt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(yt(62))}}function Mn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qn=null;function zn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Dn=null,An=null,jn=null;function Fn(e){if(e=Ma(e)){if("function"!=typeof Dn)throw Error(yt(280));var t=e.stateNode;t&&(t=za(t),Dn(e.stateNode,e.type,t))}}function Bn(e){An?jn?jn.push(e):jn=[e]:An=e}function Wn(){if(An){var e=An,t=jn;if(jn=An=null,Fn(e),t)for(e=0;e<t.length;e++)Fn(t[e])}}function $n(e,t){return e(t)}function Hn(){}var Un=!1;function Vn(e,t,n){if(Un)return e(t,n);Un=!0;try{return $n(e,t,n)}finally{Un=!1,(null!==An||null!==jn)&&(Hn(),Wn())}}function Gn(e,t){var n=e.stateNode;if(null===n)return null;var r=za(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(yt(231,t,typeof n));return n}var Kn=!1;if(Ct)try{var Zn={};Object.defineProperty(Zn,"passive",{get:function(){Kn=!0}}),window.addEventListener("test",Zn,Zn),window.removeEventListener("test",Zn,Zn)}catch(kn){Kn=!1}function Xn(e,t,n,r,o,i,a,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Qn=!1,Jn=null,Yn=!1,er=null,tr={onError:function(e){Qn=!0,Jn=e}};function nr(e,t,n,r,o,i,a,l,s){Qn=!1,Jn=null,Xn.apply(tr,arguments)}function rr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function or(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function ir(e){if(rr(e)!==e)throw Error(yt(188))}function ar(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=rr(e)))throw Error(yt(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return ir(o),e;if(i===r)return ir(o),t;i=i.sibling}throw Error(yt(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(yt(189))}}if(n.alternate!==r)throw Error(yt(190))}if(3!==n.tag)throw Error(yt(188));return n.stateNode.current===n?e:t}(e),null!==e?lr(e):null}function lr(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=lr(e);if(null!==t)return t;e=e.sibling}return null}var sr=bt.unstable_scheduleCallback,cr=bt.unstable_cancelCallback,ur=bt.unstable_shouldYield,dr=bt.unstable_requestPaint,pr=bt.unstable_now,fr=bt.unstable_getCurrentPriorityLevel,hr=bt.unstable_ImmediatePriority,mr=bt.unstable_UserBlockingPriority,gr=bt.unstable_NormalPriority,vr=bt.unstable_LowPriority,br=bt.unstable_IdlePriority,yr=null,xr=null;var Sr=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(wr(e)/Er|0)|0},wr=Math.log,Er=Math.LN2;var Cr=64,kr=4194304;function Lr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Rr(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=Lr(l):0!==(i&=a)&&(r=Lr(i))}else 0!==(a=n&~o)?r=Lr(a):0!==i&&(r=Lr(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Sr(t)),r|=e[n],t&=~o;return r}function Or(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ir(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Tr(){var e=Cr;return 0==(4194240&(Cr<<=1))&&(Cr=64),e}function Pr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _r(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Sr(t)]=n}function Nr(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Sr(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Mr=0;function qr(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var zr,Dr,Ar,jr,Fr,Br=!1,Wr=[],$r=null,Hr=null,Ur=null,Vr=new Map,Gr=new Map,Kr=[],Zr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Xr(e,t){switch(e){case"focusin":case"focusout":$r=null;break;case"dragenter":case"dragleave":Hr=null;break;case"mouseover":case"mouseout":Ur=null;break;case"pointerover":case"pointerout":Vr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gr.delete(t.pointerId)}}function Qr(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=Ma(t))&&Dr(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Jr(e){var t=Na(e.target);if(null!==t){var n=rr(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=or(n)))return e.blockedOn=t,void Fr(e.priority,(function(){Ar(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Yr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=uo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Ma(n))&&Dr(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);qn=r,n.target.dispatchEvent(r),qn=null,t.shift()}return!0}function eo(e,t,n){Yr(e)&&n.delete(t)}function to(){Br=!1,null!==$r&&Yr($r)&&($r=null),null!==Hr&&Yr(Hr)&&(Hr=null),null!==Ur&&Yr(Ur)&&(Ur=null),Vr.forEach(eo),Gr.forEach(eo)}function no(e,t){e.blockedOn===t&&(e.blockedOn=null,Br||(Br=!0,bt.unstable_scheduleCallback(bt.unstable_NormalPriority,to)))}function ro(e){function t(t){return no(t,e)}if(0<Wr.length){no(Wr[0],e);for(var n=1;n<Wr.length;n++){var r=Wr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==$r&&no($r,e),null!==Hr&&no(Hr,e),null!==Ur&&no(Ur,e),Vr.forEach(t),Gr.forEach(t),n=0;n<Kr.length;n++)(r=Kr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Kr.length&&null===(n=Kr[0]).blockedOn;)Jr(n),null===n.blockedOn&&Kr.shift()}var oo=Mt.ReactCurrentBatchConfig,io=!0;function ao(e,t,n,r){var o=Mr,i=oo.transition;oo.transition=null;try{Mr=1,so(e,t,n,r)}finally{Mr=o,oo.transition=i}}function lo(e,t,n,r){var o=Mr,i=oo.transition;oo.transition=null;try{Mr=4,so(e,t,n,r)}finally{Mr=o,oo.transition=i}}function so(e,t,n,r){if(io){var o=uo(e,t,n,r);if(null===o)ia(e,t,r,co,n),Xr(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return $r=Qr($r,e,t,n,r,o),!0;case"dragenter":return Hr=Qr(Hr,e,t,n,r,o),!0;case"mouseover":return Ur=Qr(Ur,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Vr.set(i,Qr(Vr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Gr.set(i,Qr(Gr.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Xr(e,r),4&t&&-1<Zr.indexOf(e)){for(;null!==o;){var i=Ma(o);if(null!==i&&zr(i),null===(i=uo(e,t,n,r))&&ia(e,t,r,co,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else ia(e,t,r,null,n)}}var co=null;function uo(e,t,n,r){if(co=null,null!==(e=Na(e=zn(r))))if(null===(t=rr(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=or(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return co=e,null}function po(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(fr()){case hr:return 1;case mr:return 4;case gr:case vr:return 16;case br:return 536870912;default:return 16}default:return 16}}var fo=null,ho=null,mo=null;function go(){if(mo)return mo;var e,t,n=ho,r=n.length,o="value"in fo?fo.value:fo.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return mo=o.slice(e,1<t?1-t:void 0)}function vo(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function bo(){return!0}function yo(){return!1}function xo(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?bo:yo,this.isPropagationStopped=yo,this}return Qt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=bo)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=bo)},persist:function(){},isPersistent:bo}),t}var So,wo,Eo,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ko=xo(Co),Lo=Qt({},Co,{view:0,detail:0}),Ro=xo(Lo),Oo=Qt({},Lo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fo,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Eo&&(Eo&&"mousemove"===e.type?(So=e.screenX-Eo.screenX,wo=e.screenY-Eo.screenY):wo=So=0,Eo=e),So)},movementY:function(e){return"movementY"in e?e.movementY:wo}}),Io=xo(Oo),To=xo(Qt({},Oo,{dataTransfer:0})),Po=xo(Qt({},Lo,{relatedTarget:0})),_o=xo(Qt({},Co,{animationName:0,elapsedTime:0,pseudoElement:0})),No=Qt({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mo=xo(No),qo=xo(Qt({},Co,{data:0})),zo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Do={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"},Ao={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ao[e])&&!!t[e]}function Fo(){return jo}var Bo=Qt({},Lo,{key:function(e){if(e.key){var t=zo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=vo(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Do[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fo,charCode:function(e){return"keypress"===e.type?vo(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?vo(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Wo=xo(Bo),$o=xo(Qt({},Oo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ho=xo(Qt({},Lo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fo})),Uo=xo(Qt({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0})),Vo=Qt({},Oo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Go=xo(Vo),Ko=[9,13,27,32],Zo=Ct&&"CompositionEvent"in window,Xo=null;Ct&&"documentMode"in document&&(Xo=document.documentMode);var Qo=Ct&&"TextEvent"in window&&!Xo,Jo=Ct&&(!Zo||Xo&&8<Xo&&11>=Xo),Yo=String.fromCharCode(32),ei=!1;function ti(e,t){switch(e){case"keyup":return-1!==Ko.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ni(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ri=!1;var oi={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 ii(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!oi[e.type]:"textarea"===t}function ai(e,t,n,r){Bn(r),0<(t=la(t,"onChange")).length&&(n=new ko("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var li=null,si=null;function ci(e){Yi(e,0)}function ui(e){if(sn(qa(e)))return e}function di(e,t){if("change"===e)return t}var pi=!1;if(Ct){var fi;if(Ct){var hi="oninput"in document;if(!hi){var mi=document.createElement("div");mi.setAttribute("oninput","return;"),hi="function"==typeof mi.oninput}fi=hi}else fi=!1;pi=fi&&(!document.documentMode||9<document.documentMode)}function gi(){li&&(li.detachEvent("onpropertychange",vi),si=li=null)}function vi(e){if("value"===e.propertyName&&ui(si)){var t=[];ai(t,si,e,zn(e)),Vn(ci,t)}}function bi(e,t,n){"focusin"===e?(gi(),si=n,(li=t).attachEvent("onpropertychange",vi)):"focusout"===e&&gi()}function yi(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ui(si)}function xi(e,t){if("click"===e)return ui(t)}function Si(e,t){if("input"===e||"change"===e)return ui(t)}var wi="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ei(e,t){if(wi(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!kt.call(t,o)||!wi(e[o],t[o]))return!1}return!0}function Ci(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ki(e,t){var n,r=Ci(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=Ci(r)}}function Li(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Li(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ri(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function Oi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Ii(e){var t=Ri(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Li(n.ownerDocument.documentElement,n)){if(null!==r&&Oi(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ki(n,i);var a=ki(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ti=Ct&&"documentMode"in document&&11>=document.documentMode,Pi=null,_i=null,Ni=null,Mi=!1;function qi(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Mi||null==Pi||Pi!==cn(r)||("selectionStart"in(r=Pi)&&Oi(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Ni&&Ei(Ni,r)||(Ni=r,0<(r=la(_i,"onSelect")).length&&(t=new ko("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pi)))}function zi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Di={animationend:zi("Animation","AnimationEnd"),animationiteration:zi("Animation","AnimationIteration"),animationstart:zi("Animation","AnimationStart"),transitionend:zi("Transition","TransitionEnd")},Ai={},ji={};function Fi(e){if(Ai[e])return Ai[e];if(!Di[e])return e;var t,n=Di[e];for(t in n)if(n.hasOwnProperty(t)&&t in ji)return Ai[e]=n[t];return e}Ct&&(ji=document.createElement("div").style,"AnimationEvent"in window||(delete Di.animationend.animation,delete Di.animationiteration.animation,delete Di.animationstart.animation),"TransitionEvent"in window||delete Di.transitionend.transition);var Bi=Fi("animationend"),Wi=Fi("animationiteration"),$i=Fi("animationstart"),Hi=Fi("transitionend"),Ui=new Map,Vi="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Gi(e,t){Ui.set(e,t),wt(t,[e])}for(var Ki=0;Ki<Vi.length;Ki++){var Zi=Vi[Ki];Gi(Zi.toLowerCase(),"on"+(Zi[0].toUpperCase()+Zi.slice(1)))}Gi(Bi,"onAnimationEnd"),Gi(Wi,"onAnimationIteration"),Gi($i,"onAnimationStart"),Gi("dblclick","onDoubleClick"),Gi("focusin","onFocus"),Gi("focusout","onBlur"),Gi(Hi,"onTransitionEnd"),Et("onMouseEnter",["mouseout","mouseover"]),Et("onMouseLeave",["mouseout","mouseover"]),Et("onPointerEnter",["pointerout","pointerover"]),Et("onPointerLeave",["pointerout","pointerover"]),wt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wt("onBeforeInput",["compositionend","keypress","textInput","paste"]),wt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qi=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xi));function Ji(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(nr.apply(this,arguments),Qn){if(!Qn)throw Error(yt(198));var c=Jn;Qn=!1,Jn=null,Yn||(Yn=!0,er=c)}}(r,t,void 0,e),e.currentTarget=null}function Yi(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Ji(o,l,c),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,c=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Ji(o,l,c),i=s}}}if(Yn)throw e=er,Yn=!1,er=null,e}function ea(e,t){var n=t[Ta];void 0===n&&(n=t[Ta]=new Set);var r=e+"__bubble";n.has(r)||(oa(t,e,2,!1),n.add(r))}function ta(e,t,n){var r=0;t&&(r|=4),oa(n,e,r,t)}var na="_reactListening"+Math.random().toString(36).slice(2);function ra(e){if(!e[na]){e[na]=!0,xt.forEach((function(t){"selectionchange"!==t&&(Qi.has(t)||ta(t,!1,e),ta(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[na]||(t[na]=!0,ta("selectionchange",!1,t))}}function oa(e,t,n,r){switch(po(t)){case 1:var o=ao;break;case 4:o=lo;break;default:o=so}n=o.bind(null,t,n,e),o=void 0,!Kn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function ia(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=Na(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Vn((function(){var r=i,o=zn(n),a=[];e:{var l=Ui.get(e);if(void 0!==l){var s=ko,c=e;switch(e){case"keypress":if(0===vo(n))break e;case"keydown":case"keyup":s=Wo;break;case"focusin":c="focus",s=Po;break;case"focusout":c="blur",s=Po;break;case"beforeblur":case"afterblur":s=Po;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Io;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=To;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Ho;break;case Bi:case Wi:case $i:s=_o;break;case Hi:s=Uo;break;case"scroll":s=Ro;break;case"wheel":s=Go;break;case"copy":case"cut":case"paste":s=Mo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=$o}var u=0!=(4&t),d=!u&&"scroll"===e,p=u?null!==l?l+"Capture":null:l;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Gn(h,p))&&u.push(aa(h,m,f)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,n,o),a.push({event:l,listeners:u}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===qn||!(c=n.relatedTarget||n.fromElement)||!Na(c)&&!c[Ia])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(c=(c=n.relatedTarget||n.toElement)?Na(c):null)&&(c!==(d=rr(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=r),s!==c)){if(u=Io,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=$o,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:qa(s),f=null==c?l:qa(c),(l=new u(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,Na(o)===r&&((u=new u(p,h+"enter",c,n,o)).target=f,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(p=c,h=0,f=u=s;f;f=sa(f))h++;for(f=0,m=p;m;m=sa(m))f++;for(;0<h-f;)u=sa(u),h--;for(;0<f-h;)p=sa(p),f--;for(;h--;){if(u===p||null!==p&&u===p.alternate)break e;u=sa(u),p=sa(p)}u=null}else u=null;null!==s&&ca(a,l,s,u,!1),null!==c&&null!==d&&ca(a,d,c,u,!0)}if("select"===(s=(l=r?qa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=di;else if(ii(l))if(pi)g=Si;else{g=yi;var v=bi}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=xi);switch(g&&(g=g(e,r))?ai(a,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&mn(l,"number",l.value)),v=r?qa(r):window,e){case"focusin":(ii(v)||"true"===v.contentEditable)&&(Pi=v,_i=r,Ni=null);break;case"focusout":Ni=_i=Pi=null;break;case"mousedown":Mi=!0;break;case"contextmenu":case"mouseup":case"dragend":Mi=!1,qi(a,n,o);break;case"selectionchange":if(Ti)break;case"keydown":case"keyup":qi(a,n,o)}var b;if(Zo)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else ri?ti(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Jo&&"ko"!==n.locale&&(ri||"onCompositionStart"!==y?"onCompositionEnd"===y&&ri&&(b=go()):(ho="value"in(fo=o)?fo.value:fo.textContent,ri=!0)),0<(v=la(r,y)).length&&(y=new qo(y,e,null,n,o),a.push({event:y,listeners:v}),b?y.data=b:null!==(b=ni(n))&&(y.data=b))),(b=Qo?function(e,t){switch(e){case"compositionend":return ni(t);case"keypress":return 32!==t.which?null:(ei=!0,Yo);case"textInput":return(e=t.data)===Yo&&ei?null:e;default:return null}}(e,n):function(e,t){if(ri)return"compositionend"===e||!Zo&&ti(e,t)?(e=go(),mo=ho=fo=null,ri=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jo&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=la(r,"onBeforeInput")).length&&(o=new qo("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b))}Yi(a,t)}))}function aa(e,t,n){return{instance:e,listener:t,currentTarget:n}}function la(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Gn(e,n))&&r.unshift(aa(e,i,o)),null!=(i=Gn(e,t))&&r.push(aa(e,i,o))),e=e.return}return r}function sa(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ca(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,c=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=Gn(n,i))&&a.unshift(aa(n,s,l)):o||null!=(s=Gn(n,i))&&a.push(aa(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var ua=/\r\n?/g,da=/\u0000|\uFFFD/g;function pa(e){return("string"==typeof e?e:""+e).replace(ua,"\n").replace(da,"")}function fa(e,t,n){if(t=pa(t),pa(e)!==t&&n)throw Error(yt(425))}function ha(){}var ma=null,ga=null;function va(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ba="function"==typeof setTimeout?setTimeout:void 0,ya="function"==typeof clearTimeout?clearTimeout:void 0,xa="function"==typeof Promise?Promise:void 0,Sa="function"==typeof queueMicrotask?queueMicrotask:void 0!==xa?function(e){return xa.resolve(null).then(e).catch(wa)}:ba;function wa(e){setTimeout((function(){throw e}))}function Ea(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void ro(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);ro(t)}function Ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ka(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 La=Math.random().toString(36).slice(2),Ra="__reactFiber$"+La,Oa="__reactProps$"+La,Ia="__reactContainer$"+La,Ta="__reactEvents$"+La,Pa="__reactListeners$"+La,_a="__reactHandles$"+La;function Na(e){var t=e[Ra];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ia]||n[Ra]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ka(e);null!==e;){if(n=e[Ra])return n;e=ka(e)}return t}n=(e=n).parentNode}return null}function Ma(e){return!(e=e[Ra]||e[Ia])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function qa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(yt(33))}function za(e){return e[Oa]||null}var Da=[],Aa=-1;function ja(e){return{current:e}}function Fa(e){0>Aa||(e.current=Da[Aa],Da[Aa]=null,Aa--)}function Ba(e,t){Aa++,Da[Aa]=e.current,e.current=t}var Wa={},$a=ja(Wa),Ha=ja(!1),Ua=Wa;function Va(e,t){var n=e.type.contextTypes;if(!n)return Wa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ga(e){return null!=(e=e.childContextTypes)}function Ka(){Fa(Ha),Fa($a)}function Za(e,t,n){if($a.current!==Wa)throw Error(yt(168));Ba($a,t),Ba(Ha,n)}function Xa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(yt(108,rn(e)||"Unknown",o));return Qt({},n,r)}function Qa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wa,Ua=$a.current,Ba($a,e),Ba(Ha,Ha.current),!0}function Ja(e,t,n){var r=e.stateNode;if(!r)throw Error(yt(169));n?(e=Xa(e,t,Ua),r.__reactInternalMemoizedMergedChildContext=e,Fa(Ha),Fa($a),Ba($a,e)):Fa(Ha),Ba(Ha,n)}var Ya=null,el=!1,tl=!1;function nl(e){null===Ya?Ya=[e]:Ya.push(e)}function rl(){if(!tl&&null!==Ya){tl=!0;var e=0,t=Mr;try{var n=Ya;for(Mr=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ya=null,el=!1}catch(t){throw null!==Ya&&(Ya=Ya.slice(e+1)),sr(hr,rl),t}finally{Mr=t,tl=!1}}return null}var ol=[],il=0,al=null,ll=0,sl=[],cl=0,ul=null,dl=1,pl="";function fl(e,t){ol[il++]=ll,ol[il++]=al,al=e,ll=t}function hl(e,t,n){sl[cl++]=dl,sl[cl++]=pl,sl[cl++]=ul,ul=e;var r=dl;e=pl;var o=32-Sr(r)-1;r&=~(1<<o),n+=1;var i=32-Sr(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,dl=1<<32-Sr(t)+o|n<<o|r,pl=i+e}else dl=1<<i|n<<o|r,pl=e}function ml(e){null!==e.return&&(fl(e,1),hl(e,1,0))}function gl(e){for(;e===al;)al=ol[--il],ol[il]=null,ll=ol[--il],ol[il]=null;for(;e===ul;)ul=sl[--cl],sl[cl]=null,pl=sl[--cl],sl[cl]=null,dl=sl[--cl],sl[cl]=null}var vl=null,bl=null,yl=!1,xl=null;function Sl(e,t){var n=Vd(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function wl(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,vl=e,bl=Ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,vl=e,bl=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==ul?{id:dl,overflow:pl}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Vd(18,null,null,0)).stateNode=t,n.return=e,e.child=n,vl=e,bl=null,!0);default:return!1}}function El(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function Cl(e){if(yl){var t=bl;if(t){var n=t;if(!wl(e,t)){if(El(e))throw Error(yt(418));t=Ca(n.nextSibling);var r=vl;t&&wl(e,t)?Sl(r,n):(e.flags=-4097&e.flags|2,yl=!1,vl=e)}}else{if(El(e))throw Error(yt(418));e.flags=-4097&e.flags|2,yl=!1,vl=e}}}function kl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;vl=e}function Ll(e){if(e!==vl)return!1;if(!yl)return kl(e),yl=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!va(e.type,e.memoizedProps)),t&&(t=bl)){if(El(e))throw Rl(),Error(yt(418));for(;t;)Sl(e,t),t=Ca(t.nextSibling)}if(kl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(yt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){bl=Ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}bl=null}}else bl=vl?Ca(e.stateNode.nextSibling):null;return!0}function Rl(){for(var e=bl;e;)e=Ca(e.nextSibling)}function Ol(){bl=vl=null,yl=!1}function Il(e){null===xl?xl=[e]:xl.push(e)}var Tl=Mt.ReactCurrentBatchConfig;function Pl(e,t){if(e&&e.defaultProps){for(var n in t=Qt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var _l=ja(null),Nl=null,Ml=null,ql=null;function zl(){ql=Ml=Nl=null}function Dl(e){var t=_l.current;Fa(_l),e._currentValue=t}function Al(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function jl(e,t){Nl=e,ql=Ml=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Mc=!0),e.firstContext=null)}function Fl(e){var t=e._currentValue;if(ql!==e)if(e={context:e,memoizedValue:t,next:null},null===Ml){if(null===Nl)throw Error(yt(308));Ml=e,Nl.dependencies={lanes:0,firstContext:e}}else Ml=Ml.next=e;return t}var Bl=null;function Wl(e){null===Bl?Bl=[e]:Bl.push(e)}function $l(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Wl(t)):(n.next=o.next,o.next=n),t.interleaved=n,Hl(e,r)}function Hl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ul=!1;function Vl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gl(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Kl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zl(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&$u)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Hl(e,n)}return null===(o=r.interleaved)?(t.next=t,Wl(r)):(t.next=o.next,o.next=t),r.interleaved=t,Hl(e,n)}function Xl(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nr(e,n)}}function Ql(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Jl(e,t,n,r){var o=e.updateQueue;Ul=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===a?i=c:a.next=c,a=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,u=c=s=null,l=i;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=Qt({},d,p);break e;case 2:Ul=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=f,s=d):u=u.next=f,a|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Qu|=a,e.lanes=a,e.memoizedState=d}}function Yl(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(yt(191,o));o.call(r)}}}var es=(new vt.Component).refs;function ts(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Qt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ns={isMounted:function(e){return!!(e=e._reactInternals)&&rr(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=md(),o=gd(e),i=Kl(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Zl(e,i,o))&&(vd(t,e,o,r),Xl(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=md(),o=gd(e),i=Kl(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Zl(e,i,o))&&(vd(t,e,o,r),Xl(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=md(),r=gd(e),o=Kl(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Zl(e,o,r))&&(vd(t,e,r,n),Xl(t,e,r))}};function rs(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ei(n,r)||!Ei(o,i))}function os(e,t,n){var r=!1,o=Wa,i=t.contextType;return"object"==typeof i&&null!==i?i=Fl(i):(o=Ga(t)?Ua:$a.current,i=(r=null!=(r=t.contextTypes))?Va(e,o):Wa),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ns,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function is(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ns.enqueueReplaceState(t,t.state,null)}function as(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=es,Vl(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Fl(i):(i=Ga(t)?Ua:$a.current,o.context=Va(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(ts(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ns.enqueueReplaceState(o,o.state,null),Jl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ls(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(yt(309));var r=n.stateNode}if(!r)throw Error(yt(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===es&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(yt(284));if(!n._owner)throw Error(yt(290,e))}return e}function ss(e,t){throw e=Object.prototype.toString.call(t),Error(yt(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function cs(e){return(0,e._init)(e._payload)}function us(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Kd(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Jd(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===Dt?u(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===Vt&&cs(i)===t.type)?((r=o(t,n.props)).ref=ls(e,t,n),r.return=e,r):((r=Zd(n.type,n.key,n.props,null,e.mode,r)).ref=ls(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yd(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,r,i){return null===t||7!==t.tag?((t=Xd(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Jd(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case qt:return(n=Zd(t.type,t.key,t.props,null,e.mode,n)).ref=ls(e,null,t),n.return=e,n;case zt:return(t=Yd(t,e.mode,n)).return=e,t;case Vt:return d(e,(0,t._init)(t._payload),n)}if(gn(t)||Zt(t))return(t=Xd(t,e.mode,n,null)).return=e,t;ss(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case qt:return n.key===o?s(e,t,n,r):null;case zt:return n.key===o?c(e,t,n,r):null;case Vt:return p(e,t,(o=n._init)(n._payload),r)}if(gn(n)||Zt(n))return null!==o?null:u(e,t,n,r,null);ss(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case qt:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case zt:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Vt:return f(e,t,n,(0,r._init)(r._payload),o)}if(gn(r)||Zt(r))return u(t,e=e.get(n)||null,r,o,null);ss(t,r)}return null}function h(o,a,l,s){for(var c=null,u=null,h=a,m=a=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v,h=g}if(m===l.length)return n(o,h),yl&&fl(o,m),c;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===u?c=h:u.sibling=h,u=h);return yl&&fl(o,m),c}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(o,e)})),yl&&fl(o,m),c}function m(o,a,l,s){var c=Zt(l);if("function"!=typeof c)throw Error(yt(150));if(null==(l=c.call(l)))throw Error(yt(151));for(var u=c=null,h=a,m=a=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var b=p(o,h,v.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(o,h),a=i(b,a,m),null===u?c=b:u.sibling=b,u=b,h=g}if(v.done)return n(o,h),yl&&fl(o,m),c;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(a=i(v,a,m),null===u?c=v:u.sibling=v,u=v);return yl&&fl(o,m),c}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v);return e&&h.forEach((function(e){return t(o,e)})),yl&&fl(o,m),c}return function e(r,i,l,s){if("object"==typeof l&&null!==l&&l.type===Dt&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case qt:e:{for(var c=l.key,u=i;null!==u;){if(u.key===c){if((c=l.type)===Dt){if(7===u.tag){n(r,u.sibling),(i=o(u,l.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Vt&&cs(c)===u.type){n(r,u.sibling),(i=o(u,l.props)).ref=ls(r,u,l),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}l.type===Dt?((i=Xd(l.props.children,r.mode,s,l.key)).return=r,r=i):((s=Zd(l.type,l.key,l.props,null,r.mode,s)).ref=ls(r,i,l),s.return=r,r=s)}return a(r);case zt:e:{for(u=l.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===l.containerInfo&&i.stateNode.implementation===l.implementation){n(r,i.sibling),(i=o(i,l.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Yd(l,r.mode,s)).return=r,r=i}return a(r);case Vt:return e(r,i,(u=l._init)(l._payload),s)}if(gn(l))return h(r,i,l,s);if(Zt(l))return m(r,i,l,s);ss(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,l)).return=r,r=i):(n(r,i),(i=Jd(l,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var ds=us(!0),ps=us(!1),fs={},hs=ja(fs),ms=ja(fs),gs=ja(fs);function vs(e){if(e===fs)throw Error(yt(174));return e}function bs(e,t){switch(Ba(gs,t),Ba(ms,e),Ba(hs,fs),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:En(null,"");break;default:t=En(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Fa(hs),Ba(hs,t)}function ys(){Fa(hs),Fa(ms),Fa(gs)}function xs(e){vs(gs.current);var t=vs(hs.current),n=En(t,e.type);t!==n&&(Ba(ms,e),Ba(hs,n))}function Ss(e){ms.current===e&&(Fa(hs),Fa(ms))}var ws=ja(0);function Es(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Cs=[];function ks(){for(var e=0;e<Cs.length;e++)Cs[e]._workInProgressVersionPrimary=null;Cs.length=0}var Ls=Mt.ReactCurrentDispatcher,Rs=Mt.ReactCurrentBatchConfig,Os=0,Is=null,Ts=null,Ps=null,_s=!1,Ns=!1,Ms=0,qs=0;function zs(){throw Error(yt(321))}function Ds(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wi(e[n],t[n]))return!1;return!0}function As(e,t,n,r,o,i){if(Os=i,Is=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ls.current=null===e||null===e.memoizedState?Sc:wc,e=n(r,o),Ns){i=0;do{if(Ns=!1,Ms=0,25<=i)throw Error(yt(301));i+=1,Ps=Ts=null,t.updateQueue=null,Ls.current=Ec,e=n(r,o)}while(Ns)}if(Ls.current=xc,t=null!==Ts&&null!==Ts.next,Os=0,Ps=Ts=Is=null,_s=!1,t)throw Error(yt(300));return e}function js(){var e=0!==Ms;return Ms=0,e}function Fs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ps?Is.memoizedState=Ps=e:Ps=Ps.next=e,Ps}function Bs(){if(null===Ts){var e=Is.alternate;e=null!==e?e.memoizedState:null}else e=Ts.next;var t=null===Ps?Is.memoizedState:Ps.next;if(null!==t)Ps=t,Ts=e;else{if(null===e)throw Error(yt(310));e={memoizedState:(Ts=e).memoizedState,baseState:Ts.baseState,baseQueue:Ts.baseQueue,queue:Ts.queue,next:null},null===Ps?Is.memoizedState=Ps=e:Ps=Ps.next=e}return Ps}function Ws(e,t){return"function"==typeof t?t(e):t}function $s(e){var t=Bs(),n=t.queue;if(null===n)throw Error(yt(311));n.lastRenderedReducer=e;var r=Ts,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=a=null,s=null,c=i;do{var u=c.lane;if((Os&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(l=s=d,a=r):s=s.next=d,Is.lanes|=u,Qu|=u}c=c.next}while(null!==c&&c!==i);null===s?a=r:s.next=l,wi(r,t.memoizedState)||(Mc=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,Is.lanes|=i,Qu|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Hs(e){var t=Bs(),n=t.queue;if(null===n)throw Error(yt(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);wi(i,t.memoizedState)||(Mc=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Us(){}function Vs(e,t){var n=Is,r=Bs(),o=t(),i=!wi(r.memoizedState,o);if(i&&(r.memoizedState=o,Mc=!0),r=r.queue,oc(Zs.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==Ps&&1&Ps.memoizedState.tag){if(n.flags|=2048,Ys(9,Ks.bind(null,n,r,o,t),void 0,null),null===Hu)throw Error(yt(349));0!=(30&Os)||Gs(n,t,o)}return o}function Gs(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Is.updateQueue)?(t={lastEffect:null,stores:null},Is.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ks(e,t,n,r){t.value=n,t.getSnapshot=r,Xs(t)&&Qs(e)}function Zs(e,t,n){return n((function(){Xs(t)&&Qs(e)}))}function Xs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wi(e,n)}catch(e){return!0}}function Qs(e){var t=Hl(e,1);null!==t&&vd(t,e,1,-1)}function Js(e){var t=Fs();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ws,lastRenderedState:e},t.queue=e,e=e.dispatch=gc.bind(null,Is,e),[t.memoizedState,e]}function Ys(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Is.updateQueue)?(t={lastEffect:null,stores:null},Is.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ec(){return Bs().memoizedState}function tc(e,t,n,r){var o=Fs();Is.flags|=e,o.memoizedState=Ys(1|t,n,void 0,void 0===r?null:r)}function nc(e,t,n,r){var o=Bs();r=void 0===r?null:r;var i=void 0;if(null!==Ts){var a=Ts.memoizedState;if(i=a.destroy,null!==r&&Ds(r,a.deps))return void(o.memoizedState=Ys(t,n,i,r))}Is.flags|=e,o.memoizedState=Ys(1|t,n,i,r)}function rc(e,t){return tc(8390656,8,e,t)}function oc(e,t){return nc(2048,8,e,t)}function ic(e,t){return nc(4,2,e,t)}function ac(e,t){return nc(4,4,e,t)}function lc(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sc(e,t,n){return n=null!=n?n.concat([e]):null,nc(4,4,lc.bind(null,t,e),n)}function cc(){}function uc(e,t){var n=Bs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ds(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function dc(e,t){var n=Bs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ds(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function pc(e,t,n){return 0==(21&Os)?(e.baseState&&(e.baseState=!1,Mc=!0),e.memoizedState=n):(wi(n,t)||(n=Tr(),Is.lanes|=n,Qu|=n,e.baseState=!0),t)}function fc(e,t){var n=Mr;Mr=0!==n&&4>n?n:4,e(!0);var r=Rs.transition;Rs.transition={};try{e(!1),t()}finally{Mr=n,Rs.transition=r}}function hc(){return Bs().memoizedState}function mc(e,t,n){var r=gd(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vc(e))bc(t,n);else if(null!==(n=$l(e,t,n,r))){vd(n,e,r,md()),yc(n,t,r)}}function gc(e,t,n){var r=gd(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vc(e))bc(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,wi(l,a)){var s=t.interleaved;return null===s?(o.next=o,Wl(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=$l(e,t,o,r))&&(vd(n,e,r,o=md()),yc(n,t,r))}}function vc(e){var t=e.alternate;return e===Is||null!==t&&t===Is}function bc(e,t){Ns=_s=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yc(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Nr(e,n)}}var xc={readContext:Fl,useCallback:zs,useContext:zs,useEffect:zs,useImperativeHandle:zs,useInsertionEffect:zs,useLayoutEffect:zs,useMemo:zs,useReducer:zs,useRef:zs,useState:zs,useDebugValue:zs,useDeferredValue:zs,useTransition:zs,useMutableSource:zs,useSyncExternalStore:zs,useId:zs,unstable_isNewReconciler:!1},Sc={readContext:Fl,useCallback:function(e,t){return Fs().memoizedState=[e,void 0===t?null:t],e},useContext:Fl,useEffect:rc,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,tc(4194308,4,lc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return tc(4194308,4,e,t)},useInsertionEffect:function(e,t){return tc(4,2,e,t)},useMemo:function(e,t){var n=Fs();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Fs();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=mc.bind(null,Is,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Fs().memoizedState=e},useState:Js,useDebugValue:cc,useDeferredValue:function(e){return Fs().memoizedState=e},useTransition:function(){var e=Js(!1),t=e[0];return e=fc.bind(null,e[1]),Fs().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Is,o=Fs();if(yl){if(void 0===n)throw Error(yt(407));n=n()}else{if(n=t(),null===Hu)throw Error(yt(349));0!=(30&Os)||Gs(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,rc(Zs.bind(null,r,i,e),[e]),r.flags|=2048,Ys(9,Ks.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Fs(),t=Hu.identifierPrefix;if(yl){var n=pl;t=":"+t+"R"+(n=(dl&~(1<<32-Sr(dl)-1)).toString(32)+n),0<(n=Ms++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=qs++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},wc={readContext:Fl,useCallback:uc,useContext:Fl,useEffect:oc,useImperativeHandle:sc,useInsertionEffect:ic,useLayoutEffect:ac,useMemo:dc,useReducer:$s,useRef:ec,useState:function(){return $s(Ws)},useDebugValue:cc,useDeferredValue:function(e){return pc(Bs(),Ts.memoizedState,e)},useTransition:function(){return[$s(Ws)[0],Bs().memoizedState]},useMutableSource:Us,useSyncExternalStore:Vs,useId:hc,unstable_isNewReconciler:!1},Ec={readContext:Fl,useCallback:uc,useContext:Fl,useEffect:oc,useImperativeHandle:sc,useInsertionEffect:ic,useLayoutEffect:ac,useMemo:dc,useReducer:Hs,useRef:ec,useState:function(){return Hs(Ws)},useDebugValue:cc,useDeferredValue:function(e){var t=Bs();return null===Ts?t.memoizedState=e:pc(t,Ts.memoizedState,e)},useTransition:function(){return[Hs(Ws)[0],Bs().memoizedState]},useMutableSource:Us,useSyncExternalStore:Vs,useId:hc,unstable_isNewReconciler:!1};function Cc(e,t){try{var n="",r=t;do{n+=tn(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function kc(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Lc(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var Rc="function"==typeof WeakMap?WeakMap:Map;function Oc(e,t,n){(n=Kl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){id||(id=!0,ad=r),Lc(0,t)},n}function Ic(e,t,n){(n=Kl(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Lc(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){Lc(0,t),"function"!=typeof r&&(null===ld?ld=new Set([this]):ld.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Tc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new Rc;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Fd.bind(null,e,t,n),t.then(e,e))}function Pc(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function _c(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Kl(-1,1)).tag=2,Zl(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var Nc=Mt.ReactCurrentOwner,Mc=!1;function qc(e,t,n,r){t.child=null===e?ps(t,null,n,r):ds(t,e.child,n,r)}function zc(e,t,n,r,o){n=n.render;var i=t.ref;return jl(t,o),r=As(e,t,n,r,i,o),n=js(),null===e||Mc?(yl&&n&&ml(t),t.flags|=1,qc(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,iu(e,t,o))}function Dc(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Gd(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zd(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ac(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:Ei)(a,r)&&e.ref===t.ref)return iu(e,t,o)}return t.flags|=1,(e=Kd(i,r)).ref=t.ref,e.return=t,t.child=e}function Ac(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Ei(i,r)&&e.ref===t.ref){if(Mc=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,iu(e,t,o);0!=(131072&e.flags)&&(Mc=!0)}}return Bc(e,t,n,r,o)}function jc(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ba(Ku,Gu),Gu|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ba(Ku,Gu),Gu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Ba(Ku,Gu),Gu|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ba(Ku,Gu),Gu|=r;return qc(e,t,o,n),t.child}function Fc(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bc(e,t,n,r,o){var i=Ga(n)?Ua:$a.current;return i=Va(t,i),jl(t,o),n=As(e,t,n,r,i,o),r=js(),null===e||Mc?(yl&&r&&ml(t),t.flags|=1,qc(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,iu(e,t,o))}function Wc(e,t,n,r,o){if(Ga(n)){var i=!0;Qa(t)}else i=!1;if(jl(t,o),null===t.stateNode)ou(e,t),os(t,n,r),as(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=Fl(c):c=Va(t,c=Ga(n)?Ua:$a.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==c)&&is(t,a,r,c),Ul=!1;var p=t.memoizedState;a.state=p,Jl(t,r,a,o),s=t.memoizedState,l!==r||p!==s||Ha.current||Ul?("function"==typeof u&&(ts(t,n,u,r),s=t.memoizedState),(l=Ul||rs(t,n,l,r,p,s,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=c,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Gl(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Pl(t.type,l),a.props=c,d=t.pendingProps,p=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=Fl(s):s=Va(t,s=Ga(n)?Ua:$a.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||p!==s)&&is(t,a,r,s),Ul=!1,p=t.memoizedState,a.state=p,Jl(t,r,a,o);var h=t.memoizedState;l!==d||p!==h||Ha.current||Ul?("function"==typeof f&&(ts(t,n,f,r),h=t.memoizedState),(c=Ul||rs(t,n,c,r,p,h,s)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=c):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return $c(e,t,n,r,i,o)}function $c(e,t,n,r,o,i){Fc(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Ja(t,n,!1),iu(e,t,i);r=t.stateNode,Nc.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=ds(t,e.child,null,i),t.child=ds(t,null,l,i)):qc(e,t,l,i),t.memoizedState=r.state,o&&Ja(t,n,!0),t.child}function Hc(e){var t=e.stateNode;t.pendingContext?Za(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Za(0,t.context,!1),bs(e,t.containerInfo)}function Uc(e,t,n,r,o){return Ol(),Il(o),t.flags|=256,qc(e,t,n,r),t.child}var Vc,Gc,Kc,Zc,Xc={dehydrated:null,treeContext:null,retryLane:0};function Qc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jc(e,t,n){var r,o=t.pendingProps,i=ws.current,a=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ba(ws,1&i),null===e)return Cl(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,a?(o=t.mode,a=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==a?(a.childLanes=0,a.pendingProps=l):a=Qd(l,o,0,null),e=Xd(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Qc(n),t.memoizedState=Xc,e):Yc(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,eu(e,t,a,r=kc(Error(yt(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Qd({mode:"visible",children:r.children},o,0,null),(i=Xd(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&ds(t,e.child,null,a),t.child.memoizedState=Qc(a),t.memoizedState=Xc,i);if(0==(1&t.mode))return eu(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,eu(e,t,a,r=kc(i=Error(yt(419)),r,void 0))}if(l=0!=(a&e.childLanes),Mc||l){if(null!==(r=Hu)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Hl(e,o),vd(r,e,o,-1))}return Td(),eu(e,t,a,r=kc(Error(yt(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Wd.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,bl=Ca(o.nextSibling),vl=t,yl=!0,xl=null,null!==e&&(sl[cl++]=dl,sl[cl++]=pl,sl[cl++]=ul,dl=e.id,pl=e.overflow,ul=t),t=Yc(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,i,n);if(a){a=o.fallback,l=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Kd(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?a=Kd(r,a):(a=Xd(a,l,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,l=null===(l=e.child.memoizedState)?Qc(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~n,t.memoizedState=Xc,o}return e=(a=e.child).sibling,o=Kd(a,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Yc(e,t){return(t=Qd({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function eu(e,t,n,r){return null!==r&&Il(r),ds(t,e.child,null,n),(e=Yc(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function tu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Al(e.return,t,n)}function nu(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function ru(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(qc(e,t,r.children,n),0!=(2&(r=ws.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&tu(e,n,t);else if(19===e.tag)tu(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ba(ws,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Es(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),nu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Es(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}nu(t,!0,n,null,i);break;case"together":nu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ou(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function iu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Qu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(yt(153));if(null!==t.child){for(n=Kd(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Kd(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function au(e,t){if(!yl)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function lu(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function su(e,t,n){var r=t.pendingProps;switch(gl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lu(t),null;case 1:case 17:return Ga(t.type)&&Ka(),lu(t),null;case 3:return r=t.stateNode,ys(),Fa(Ha),Fa($a),ks(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ll(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==xl&&(Sd(xl),xl=null))),Gc(e,t),lu(t),null;case 5:Ss(t);var o=vs(gs.current);if(n=t.type,null!==e&&null!=t.stateNode)Kc(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(yt(166));return lu(t),null}if(e=vs(hs.current),Ll(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ra]=t,r[Oa]=i,e=0!=(1&t.mode),n){case"dialog":ea("cancel",r),ea("close",r);break;case"iframe":case"object":case"embed":ea("load",r);break;case"video":case"audio":for(o=0;o<Xi.length;o++)ea(Xi[o],r);break;case"source":ea("error",r);break;case"img":case"image":case"link":ea("error",r),ea("load",r);break;case"details":ea("toggle",r);break;case"input":dn(r,i),ea("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ea("invalid",r);break;case"textarea":yn(r,i),ea("invalid",r)}for(var a in Nn(n,i),o=null,i)if(i.hasOwnProperty(a)){var l=i[a];"children"===a?"string"==typeof l?r.textContent!==l&&(!0!==i.suppressHydrationWarning&&fa(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==i.suppressHydrationWarning&&fa(r.textContent,l,e),o=["children",""+l]):St.hasOwnProperty(a)&&null!=l&&"onScroll"===a&&ea("scroll",r)}switch(n){case"input":ln(r),hn(r,i,!0);break;case"textarea":ln(r),Sn(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=ha)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{a=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=wn(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ra]=t,e[Oa]=r,Vc(e,t,!1,!1),t.stateNode=e;e:{switch(a=Mn(n,r),n){case"dialog":ea("cancel",e),ea("close",e),o=r;break;case"iframe":case"object":case"embed":ea("load",e),o=r;break;case"video":case"audio":for(o=0;o<Xi.length;o++)ea(Xi[o],e);o=r;break;case"source":ea("error",e),o=r;break;case"img":case"image":case"link":ea("error",e),ea("load",e),o=r;break;case"details":ea("toggle",e),o=r;break;case"input":dn(e,r),o=un(e,r),ea("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Qt({},r,{value:void 0}),ea("invalid",e);break;case"textarea":yn(e,r),o=bn(e,r),ea("invalid",e)}for(i in Nn(n,o),l=o)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?Pn(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&Ln(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&Rn(e,s):"number"==typeof s&&Rn(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(St.hasOwnProperty(i)?null!=s&&"onScroll"===i&&ea("scroll",e):null!=s&&Nt(e,i,s,a))}switch(n){case"input":ln(e),hn(e,r,!1);break;case"textarea":ln(e),Sn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+on(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?vn(e,!!r.multiple,i,!1):null!=r.defaultValue&&vn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=ha)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return lu(t),null;case 6:if(e&&null!=t.stateNode)Zc(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(yt(166));if(n=vs(gs.current),vs(hs.current),Ll(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ra]=t,(i=r.nodeValue!==n)&&null!==(e=vl))switch(e.tag){case 3:fa(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&fa(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Ra]=t,t.stateNode=r}return lu(t),null;case 13:if(Fa(ws),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(yl&&null!==bl&&0!=(1&t.mode)&&0==(128&t.flags))Rl(),Ol(),t.flags|=98560,i=!1;else if(i=Ll(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(yt(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(yt(317));i[Ra]=t}else Ol(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lu(t),i=!1}else null!==xl&&(Sd(xl),xl=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ws.current)?0===Zu&&(Zu=3):Td())),null!==t.updateQueue&&(t.flags|=4),lu(t),null);case 4:return ys(),Gc(e,t),null===e&&ra(t.stateNode.containerInfo),lu(t),null;case 10:return Dl(t.type._context),lu(t),null;case 19:if(Fa(ws),null===(i=t.memoizedState))return lu(t),null;if(r=0!=(128&t.flags),null===(a=i.rendering))if(r)au(i,!1);else{if(0!==Zu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=Es(e))){for(t.flags|=128,au(i,!1),null!==(r=a.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ba(ws,1&ws.current|2),t.child}e=e.sibling}null!==i.tail&&pr()>rd&&(t.flags|=128,r=!0,au(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Es(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),au(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!yl)return lu(t),null}else 2*pr()-i.renderingStartTime>rd&&1073741824!==n&&(t.flags|=128,r=!0,au(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=i.last)?n.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=pr(),t.sibling=null,n=ws.current,Ba(ws,r?1&n|2:1&n),t):(lu(t),null);case 22:case 23:return Ld(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Gu)&&(lu(t),6&t.subtreeFlags&&(t.flags|=8192)):lu(t),null;case 24:case 25:return null}throw Error(yt(156,t.tag))}function cu(e,t){switch(gl(t),t.tag){case 1:return Ga(t.type)&&Ka(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ys(),Fa(Ha),Fa($a),ks(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ss(t),null;case 13:if(Fa(ws),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(yt(340));Ol()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Fa(ws),null;case 4:return ys(),null;case 10:return Dl(t.type._context),null;case 22:case 23:return Ld(),null;default:return null}}Vc=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Gc=function(){},Kc=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,vs(hs.current);var i,a=null;switch(n){case"input":o=un(e,o),r=un(e,r),a=[];break;case"select":o=Qt({},o,{value:void 0}),r=Qt({},r,{value:void 0}),a=[];break;case"textarea":o=bn(e,o),r=bn(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=ha)}for(c in Nn(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(St.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var s=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(St.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&ea("scroll",e),a||l===s||(a=[])):(a=a||[]).push(c,s))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Zc=function(e,t,n,r){n!==r&&(t.flags|=4)};var uu=!1,du=!1,pu="function"==typeof WeakSet?WeakSet:Set,fu=null;function hu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){jd(e,t,n)}else n.current=null}function mu(e,t,n){try{n()}catch(n){jd(e,t,n)}}var gu=!1;function vu(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&mu(t,n,i)}o=o.next}while(o!==r)}}function bu(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function yu(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function xu(e){var t=e.alternate;null!==t&&(e.alternate=null,xu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[Ra],delete t[Oa],delete t[Ta],delete t[Pa],delete t[_a])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Su(e){return 5===e.tag||3===e.tag||4===e.tag}function wu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Su(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Eu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ha));else if(4!==r&&null!==(e=e.child))for(Eu(e,t,n),e=e.sibling;null!==e;)Eu(e,t,n),e=e.sibling}function Cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Cu(e,t,n),e=e.sibling;null!==e;)Cu(e,t,n),e=e.sibling}var ku=null,Lu=!1;function Ru(e,t,n){for(n=n.child;null!==n;)Ou(e,t,n),n=n.sibling}function Ou(e,t,n){if(xr&&"function"==typeof xr.onCommitFiberUnmount)try{xr.onCommitFiberUnmount(yr,n)}catch(e){}switch(n.tag){case 5:du||hu(n,t);case 6:var r=ku,o=Lu;ku=null,Ru(e,t,n),Lu=o,null!==(ku=r)&&(Lu?(e=ku,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ku.removeChild(n.stateNode));break;case 18:null!==ku&&(Lu?(e=ku,n=n.stateNode,8===e.nodeType?Ea(e.parentNode,n):1===e.nodeType&&Ea(e,n),ro(e)):Ea(ku,n.stateNode));break;case 4:r=ku,o=Lu,ku=n.stateNode.containerInfo,Lu=!0,Ru(e,t,n),ku=r,Lu=o;break;case 0:case 11:case 14:case 15:if(!du&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&mu(n,t,a),o=o.next}while(o!==r)}Ru(e,t,n);break;case 1:if(!du&&(hu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){jd(n,t,e)}Ru(e,t,n);break;case 21:Ru(e,t,n);break;case 22:1&n.mode?(du=(r=du)||null!==n.memoizedState,Ru(e,t,n),du=r):Ru(e,t,n);break;default:Ru(e,t,n)}}function Iu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new pu),t.forEach((function(t){var r=$d.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Tu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 5:ku=l.stateNode,Lu=!1;break e;case 3:case 4:ku=l.stateNode.containerInfo,Lu=!0;break e}l=l.return}if(null===ku)throw Error(yt(160));Ou(i,a,o),ku=null,Lu=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){jd(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)Pu(t,e),t=t.sibling}function Pu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Tu(t,e),_u(e),4&r){try{vu(3,e,e.return),bu(3,e)}catch(t){jd(e,e.return,t)}try{vu(5,e,e.return)}catch(t){jd(e,e.return,t)}}break;case 1:Tu(t,e),_u(e),512&r&&null!==n&&hu(n,n.return);break;case 5:if(Tu(t,e),_u(e),512&r&&null!==n&&hu(n,n.return),32&e.flags){var o=e.stateNode;try{Rn(o,"")}catch(t){jd(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,a=null!==n?n.memoizedProps:i,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===i.type&&null!=i.name&&pn(o,i),Mn(l,a);var c=Mn(l,i);for(a=0;a<s.length;a+=2){var u=s[a],d=s[a+1];"style"===u?Pn(o,d):"dangerouslySetInnerHTML"===u?Ln(o,d):"children"===u?Rn(o,d):Nt(o,u,d,c)}switch(l){case"input":fn(o,i);break;case"textarea":xn(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;null!=f?vn(o,!!i.multiple,f,!1):p!==!!i.multiple&&(null!=i.defaultValue?vn(o,!!i.multiple,i.defaultValue,!0):vn(o,!!i.multiple,i.multiple?[]:"",!1))}o[Oa]=i}catch(t){jd(e,e.return,t)}}break;case 6:if(Tu(t,e),_u(e),4&r){if(null===e.stateNode)throw Error(yt(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){jd(e,e.return,t)}}break;case 3:if(Tu(t,e),_u(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{ro(t.containerInfo)}catch(t){jd(e,e.return,t)}break;case 4:default:Tu(t,e),_u(e);break;case 13:Tu(t,e),_u(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(nd=pr())),4&r&&Iu(e);break;case 22:if(u=null!==n&&null!==n.memoizedState,1&e.mode?(du=(c=du)||u,Tu(t,e),du=c):Tu(t,e),_u(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&0!=(1&e.mode))for(fu=e,u=e.child;null!==u;){for(d=fu=u;null!==fu;){switch(f=(p=fu).child,p.tag){case 0:case 11:case 14:case 15:vu(4,p,p.return);break;case 1:hu(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){jd(r,n,e)}}break;case 5:hu(p,p.return);break;case 22:if(null!==p.memoizedState){zu(d);continue}}null!==f?(f.return=p,fu=f):zu(d)}u=u.sibling}e:for(u=null,d=e;;){if(5===d.tag){if(null===u){u=d;try{o=d.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=d.stateNode,a=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=Tn("display",a))}catch(t){jd(e,e.return,t)}}}else if(6===d.tag){if(null===u)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){jd(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Tu(t,e),_u(e),4&r&&Iu(e);case 21:}}function _u(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Su(n)){var r=n;break e}n=n.return}throw Error(yt(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(Rn(o,""),r.flags&=-33),Cu(e,wu(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;Eu(e,wu(e),i);break;default:throw Error(yt(161))}}catch(t){jd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Nu(e,t,n){fu=e,Mu(e)}function Mu(e,t,n){for(var r=0!=(1&e.mode);null!==fu;){var o=fu,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||uu;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||du;l=uu;var c=du;if(uu=a,(du=s)&&!c)for(fu=o;null!==fu;)s=(a=fu).child,22===a.tag&&null!==a.memoizedState?Du(o):null!==s?(s.return=a,fu=s):Du(o);for(;null!==i;)fu=i,Mu(i),i=i.sibling;fu=o,uu=l,du=c}qu(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,fu=i):qu(e)}}function qu(e){for(;null!==fu;){var t=fu;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:du||bu(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!du)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Pl(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Yl(t,i,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Yl(t,a,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var d=u.dehydrated;null!==d&&ro(d)}}}break;default:throw Error(yt(163))}du||512&t.flags&&yu(t)}catch(e){jd(t,t.return,e)}}if(t===e){fu=null;break}if(null!==(n=t.sibling)){n.return=t.return,fu=n;break}fu=t.return}}function zu(e){for(;null!==fu;){var t=fu;if(t===e){fu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,fu=n;break}fu=t.return}}function Du(e){for(;null!==fu;){var t=fu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{bu(4,t)}catch(e){jd(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){jd(t,o,e)}}var i=t.return;try{yu(t)}catch(e){jd(t,i,e)}break;case 5:var a=t.return;try{yu(t)}catch(e){jd(t,a,e)}}}catch(e){jd(t,t.return,e)}if(t===e){fu=null;break}var l=t.sibling;if(null!==l){l.return=t.return,fu=l;break}fu=t.return}}var Au,ju=Math.ceil,Fu=Mt.ReactCurrentDispatcher,Bu=Mt.ReactCurrentOwner,Wu=Mt.ReactCurrentBatchConfig,$u=0,Hu=null,Uu=null,Vu=0,Gu=0,Ku=ja(0),Zu=0,Xu=null,Qu=0,Ju=0,Yu=0,ed=null,td=null,nd=0,rd=1/0,od=null,id=!1,ad=null,ld=null,sd=!1,cd=null,ud=0,dd=0,pd=null,fd=-1,hd=0;function md(){return 0!=(6&$u)?pr():-1!==fd?fd:fd=pr()}function gd(e){return 0==(1&e.mode)?1:0!=(2&$u)&&0!==Vu?Vu&-Vu:null!==Tl.transition?(0===hd&&(hd=Tr()),hd):0!==(e=Mr)?e:e=void 0===(e=window.event)?16:po(e.type)}function vd(e,t,n,r){if(50<dd)throw dd=0,pd=null,Error(yt(185));_r(e,n,r),0!=(2&$u)&&e===Hu||(e===Hu&&(0==(2&$u)&&(Ju|=n),4===Zu&&wd(e,Vu)),bd(e,r),1===n&&0===$u&&0==(1&t.mode)&&(rd=pr()+500,el&&rl()))}function bd(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Sr(i),l=1<<a,s=o[a];-1===s?0!=(l&n)&&0==(l&r)||(o[a]=Or(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=Rr(e,e===Hu?Vu:0);if(0===r)null!==n&&cr(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&cr(n),1===t)0===e.tag?function(e){el=!0,nl(e)}(Ed.bind(null,e)):nl(Ed.bind(null,e)),Sa((function(){0==(6&$u)&&rl()})),n=null;else{switch(qr(r)){case 1:n=hr;break;case 4:n=mr;break;case 16:default:n=gr;break;case 536870912:n=br}n=Hd(n,yd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function yd(e,t){if(fd=-1,hd=0,0!=(6&$u))throw Error(yt(327));var n=e.callbackNode;if(Dd()&&e.callbackNode!==n)return null;var r=Rr(e,e===Hu?Vu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=Pd(e,r);else{t=r;var o=$u;$u|=2;var i=Id();for(Hu===e&&Vu===t||(od=null,rd=pr()+500,Rd(e,t));;)try{Nd();break}catch(t){Od(e,t)}zl(),Fu.current=i,$u=o,null!==Uu?t=0:(Hu=null,Vu=0,t=Zu)}if(0!==t){if(2===t&&(0!==(o=Ir(e))&&(r=o,t=xd(e,o))),1===t)throw n=Xu,Rd(e,0),wd(e,r),bd(e,pr()),n;if(6===t)wd(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!wi(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=Pd(e,r))&&(0!==(i=Ir(e))&&(r=i,t=xd(e,i))),1===t))throw n=Xu,Rd(e,0),wd(e,r),bd(e,pr()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(yt(345));case 2:case 5:zd(e,td,od);break;case 3:if(wd(e,r),(130023424&r)===r&&10<(t=nd+500-pr())){if(0!==Rr(e,0))break;if(((o=e.suspendedLanes)&r)!==r){md(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ba(zd.bind(null,e,td,od),t);break}zd(e,td,od);break;case 4:if(wd(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Sr(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=pr()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ju(r/1960))-r)){e.timeoutHandle=ba(zd.bind(null,e,td,od),r);break}zd(e,td,od);break;default:throw Error(yt(329))}}}return bd(e,pr()),e.callbackNode===n?yd.bind(null,e):null}function xd(e,t){var n=ed;return e.current.memoizedState.isDehydrated&&(Rd(e,t).flags|=256),2!==(e=Pd(e,t))&&(t=td,td=n,null!==t&&Sd(t)),e}function Sd(e){null===td?td=e:td.push.apply(td,e)}function wd(e,t){for(t&=~Yu,t&=~Ju,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Sr(t),r=1<<n;e[n]=-1,t&=~r}}function Ed(e){if(0!=(6&$u))throw Error(yt(327));Dd();var t=Rr(e,0);if(0==(1&t))return bd(e,pr()),null;var n=Pd(e,t);if(0!==e.tag&&2===n){var r=Ir(e);0!==r&&(t=r,n=xd(e,r))}if(1===n)throw n=Xu,Rd(e,0),wd(e,t),bd(e,pr()),n;if(6===n)throw Error(yt(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,zd(e,td,od),bd(e,pr()),null}function Cd(e,t){var n=$u;$u|=1;try{return e(t)}finally{0===($u=n)&&(rd=pr()+500,el&&rl())}}function kd(e){null!==cd&&0===cd.tag&&0==(6&$u)&&Dd();var t=$u;$u|=1;var n=Wu.transition,r=Mr;try{if(Wu.transition=null,Mr=1,e)return e()}finally{Mr=r,Wu.transition=n,0==(6&($u=t))&&rl()}}function Ld(){Gu=Ku.current,Fa(Ku)}function Rd(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ya(n)),null!==Uu)for(n=Uu.return;null!==n;){var r=n;switch(gl(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ka();break;case 3:ys(),Fa(Ha),Fa($a),ks();break;case 5:Ss(r);break;case 4:ys();break;case 13:case 19:Fa(ws);break;case 10:Dl(r.type._context);break;case 22:case 23:Ld()}n=n.return}if(Hu=e,Uu=e=Kd(e.current,null),Vu=Gu=t,Zu=0,Xu=null,Yu=Ju=Qu=0,td=ed=null,null!==Bl){for(t=0;t<Bl.length;t++)if(null!==(r=(n=Bl[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Bl=null}return e}function Od(e,t){for(;;){var n=Uu;try{if(zl(),Ls.current=xc,_s){for(var r=Is.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}_s=!1}if(Os=0,Ps=Ts=Is=null,Ns=!1,Ms=0,Bu.current=null,null===n||null===n.return){Zu=1,Xu=t,Uu=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Vu,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,u=l,d=u.tag;if(0==(1&u.mode)&&(0===d||11===d||15===d)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=Pc(a);if(null!==f){f.flags&=-257,_c(f,a,l,0,t),1&f.mode&&Tc(i,c,t),s=c;var h=(t=f).updateQueue;if(null===h){var m=new Set;m.add(s),t.updateQueue=m}else h.add(s);break e}if(0==(1&t)){Tc(i,c,t),Td();break e}s=Error(yt(426))}else if(yl&&1&l.mode){var g=Pc(a);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),_c(g,a,l,0,t),Il(Cc(s,l));break e}}i=s=Cc(s,l),4!==Zu&&(Zu=2),null===ed?ed=[i]:ed.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ql(i,Oc(0,s,t));break e;case 1:l=s;var v=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof v.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===ld||!ld.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ql(i,Ic(i,l,t));break e}}i=i.return}while(null!==i)}qd(n)}catch(e){t=e,Uu===n&&null!==n&&(Uu=n=n.return);continue}break}}function Id(){var e=Fu.current;return Fu.current=xc,null===e?xc:e}function Td(){0!==Zu&&3!==Zu&&2!==Zu||(Zu=4),null===Hu||0==(268435455&Qu)&&0==(268435455&Ju)||wd(Hu,Vu)}function Pd(e,t){var n=$u;$u|=2;var r=Id();for(Hu===e&&Vu===t||(od=null,Rd(e,t));;)try{_d();break}catch(t){Od(e,t)}if(zl(),$u=n,Fu.current=r,null!==Uu)throw Error(yt(261));return Hu=null,Vu=0,Zu}function _d(){for(;null!==Uu;)Md(Uu)}function Nd(){for(;null!==Uu&&!ur();)Md(Uu)}function Md(e){var t=Au(e.alternate,e,Gu);e.memoizedProps=e.pendingProps,null===t?qd(e):Uu=t,Bu.current=null}function qd(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=su(n,t,Gu)))return void(Uu=n)}else{if(null!==(n=cu(n,t)))return n.flags&=32767,void(Uu=n);if(null===e)return Zu=6,void(Uu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Uu=t);Uu=t=e}while(null!==t);0===Zu&&(Zu=5)}function zd(e,t,n){var r=Mr,o=Wu.transition;try{Wu.transition=null,Mr=1,function(e,t,n,r){do{Dd()}while(null!==cd);if(0!=(6&$u))throw Error(yt(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(yt(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Sr(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===Hu&&(Uu=Hu=null,Vu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||sd||(sd=!0,Hd(gr,(function(){return Dd(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Wu.transition,Wu.transition=null;var a=Mr;Mr=1;var l=$u;$u|=4,Bu.current=null,function(e,t){if(ma=io,Oi(e=Ri())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var a=0,l=-1,s=-1,c=0,u=0,d=e,p=null;t:for(;;){for(var f;d!==n||0!==o&&3!==d.nodeType||(l=a+o),d!==i||0!==r&&3!==d.nodeType||(s=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++c===o&&(l=a),p===i&&++u===r&&(s=a),null!==(f=d.nextSibling))break;p=(d=p).parentNode}d=f}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ga={focusedElem:e,selectionRange:n},io=!1,fu=t;null!==fu;)if(e=(t=fu).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,fu=e;else for(;null!==fu;){t=fu;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,g=h.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Pl(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(yt(163))}}catch(e){jd(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,fu=e;break}fu=t.return}h=gu,gu=!1}(e,n),Pu(n,e),Ii(ga),io=!!ma,ga=ma=null,e.current=n,Nu(n),dr(),$u=l,Mr=a,Wu.transition=i}else e.current=n;if(sd&&(sd=!1,cd=e,ud=o),i=e.pendingLanes,0===i&&(ld=null),function(e){if(xr&&"function"==typeof xr.onCommitFiberRoot)try{xr.onCommitFiberRoot(yr,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),bd(e,pr()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(id)throw id=!1,e=ad,ad=null,e;0!=(1&ud)&&0!==e.tag&&Dd(),i=e.pendingLanes,0!=(1&i)?e===pd?dd++:(dd=0,pd=e):dd=0,rl()}(e,t,n,r)}finally{Wu.transition=o,Mr=r}return null}function Dd(){if(null!==cd){var e=qr(ud),t=Wu.transition,n=Mr;try{if(Wu.transition=null,Mr=16>e?16:e,null===cd)var r=!1;else{if(e=cd,cd=null,ud=0,0!=(6&$u))throw Error(yt(331));var o=$u;for($u|=4,fu=e.current;null!==fu;){var i=fu,a=i.child;if(0!=(16&fu.flags)){var l=i.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(fu=c;null!==fu;){var u=fu;switch(u.tag){case 0:case 11:case 15:vu(8,u,i)}var d=u.child;if(null!==d)d.return=u,fu=d;else for(;null!==fu;){var p=(u=fu).sibling,f=u.return;if(xu(u),u===c){fu=null;break}if(null!==p){p.return=f,fu=p;break}fu=f}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}fu=i}}if(0!=(2064&i.subtreeFlags)&&null!==a)a.return=i,fu=a;else e:for(;null!==fu;){if(0!=(2048&(i=fu).flags))switch(i.tag){case 0:case 11:case 15:vu(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,fu=v;break e}fu=i.return}}var b=e.current;for(fu=b;null!==fu;){var y=(a=fu).child;if(0!=(2064&a.subtreeFlags)&&null!==y)y.return=a,fu=y;else e:for(a=b;null!==fu;){if(0!=(2048&(l=fu).flags))try{switch(l.tag){case 0:case 11:case 15:bu(9,l)}}catch(e){jd(l,l.return,e)}if(l===a){fu=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,fu=x;break e}fu=l.return}}if($u=o,rl(),xr&&"function"==typeof xr.onPostCommitFiberRoot)try{xr.onPostCommitFiberRoot(yr,e)}catch(e){}r=!0}return r}finally{Mr=n,Wu.transition=t}}return!1}function Ad(e,t,n){e=Zl(e,t=Oc(0,t=Cc(n,t),1),1),t=md(),null!==e&&(_r(e,1,t),bd(e,t))}function jd(e,t,n){if(3===e.tag)Ad(e,e,n);else for(;null!==t;){if(3===t.tag){Ad(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ld||!ld.has(r))){t=Zl(t,e=Ic(t,e=Cc(n,e),1),1),e=md(),null!==t&&(_r(t,1,e),bd(t,e));break}}t=t.return}}function Fd(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=md(),e.pingedLanes|=e.suspendedLanes&n,Hu===e&&(Vu&n)===n&&(4===Zu||3===Zu&&(130023424&Vu)===Vu&&500>pr()-nd?Rd(e,0):Yu|=n),bd(e,t)}function Bd(e,t){0===t&&(0==(1&e.mode)?t=1:(t=kr,0==(130023424&(kr<<=1))&&(kr=4194304)));var n=md();null!==(e=Hl(e,t))&&(_r(e,t,n),bd(e,n))}function Wd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Bd(e,n)}function $d(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(yt(314))}null!==r&&r.delete(t),Bd(e,n)}function Hd(e,t){return sr(e,t)}function Ud(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vd(e,t,n,r){return new Ud(e,t,n,r)}function Gd(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Kd(e,t){var n=e.alternate;return null===n?((n=Vd(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zd(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Gd(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Dt:return Xd(n.children,o,i,t);case At:a=8,o|=8;break;case jt:return(e=Vd(12,n,t,2|o)).elementType=jt,e.lanes=i,e;case $t:return(e=Vd(13,n,t,o)).elementType=$t,e.lanes=i,e;case Ht:return(e=Vd(19,n,t,o)).elementType=Ht,e.lanes=i,e;case Gt:return Qd(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ft:a=10;break e;case Bt:a=9;break e;case Wt:a=11;break e;case Ut:a=14;break e;case Vt:a=16,r=null;break e}throw Error(yt(130,null==e?e:typeof e,""))}return(t=Vd(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Xd(e,t,n,r){return(e=Vd(7,e,r,t)).lanes=n,e}function Qd(e,t,n,r){return(e=Vd(22,e,r,t)).elementType=Gt,e.lanes=n,e.stateNode={isHidden:!1},e}function Jd(e,t,n){return(e=Vd(6,e,null,t)).lanes=n,e}function Yd(e,t,n){return(t=Vd(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ep(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Pr(0),this.expirationTimes=Pr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pr(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function tp(e,t,n,r,o,i,a,l,s){return e=new ep(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Vd(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vl(i),e}function np(e){if(!e)return Wa;e:{if(rr(e=e._reactInternals)!==e||1!==e.tag)throw Error(yt(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ga(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(yt(171))}if(1===e.tag){var n=e.type;if(Ga(n))return Xa(e,n,t)}return t}function rp(e,t,n,r,o,i,a,l,s){return(e=tp(n,r,!0,e,0,i,0,l,s)).context=np(null),n=e.current,(i=Kl(r=md(),o=gd(n))).callback=null!=t?t:null,Zl(n,i,o),e.current.lanes=o,_r(e,o,r),bd(e,r),e}function op(e,t,n,r){var o=t.current,i=md(),a=gd(o);return n=np(n),null===t.context?t.context=n:t.pendingContext=n,(t=Kl(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Zl(o,t,a))&&(vd(e,o,a,i),Xl(e,o,a)),a}function ip(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function ap(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function lp(e,t){ap(e,t),(e=e.alternate)&&ap(e,t)}Au=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ha.current)Mc=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return Mc=!1,function(e,t,n){switch(t.tag){case 3:Hc(t),Ol();break;case 5:xs(t);break;case 1:Ga(t.type)&&Qa(t);break;case 4:bs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ba(_l,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ba(ws,1&ws.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Jc(e,t,n):(Ba(ws,1&ws.current),null!==(e=iu(e,t,n))?e.sibling:null);Ba(ws,1&ws.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return ru(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ba(ws,ws.current),r)break;return null;case 22:case 23:return t.lanes=0,jc(e,t,n)}return iu(e,t,n)}(e,t,n);Mc=0!=(131072&e.flags)}else Mc=!1,yl&&0!=(1048576&t.flags)&&hl(t,ll,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ou(e,t),e=t.pendingProps;var o=Va(t,$a.current);jl(t,n),o=As(null,t,r,e,o,n);var i=js();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ga(r)?(i=!0,Qa(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Vl(t),o.updater=ns,t.stateNode=o,o._reactInternals=t,as(t,r,e,n),t=$c(null,t,r,!0,i,n)):(t.tag=0,yl&&i&&ml(t),qc(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ou(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Gd(e)?1:0;if(null!=e){if((e=e.$$typeof)===Wt)return 11;if(e===Ut)return 14}return 2}(r),e=Pl(r,e),o){case 0:t=Bc(null,t,r,e,n);break e;case 1:t=Wc(null,t,r,e,n);break e;case 11:t=zc(null,t,r,e,n);break e;case 14:t=Dc(null,t,r,Pl(r.type,e),n);break e}throw Error(yt(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Bc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 1:return r=t.type,o=t.pendingProps,Wc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 3:e:{if(Hc(t),null===e)throw Error(yt(387));r=t.pendingProps,o=(i=t.memoizedState).element,Gl(e,t),Jl(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Uc(e,t,r,n,o=Cc(Error(yt(423)),t));break e}if(r!==o){t=Uc(e,t,r,n,o=Cc(Error(yt(424)),t));break e}for(bl=Ca(t.stateNode.containerInfo.firstChild),vl=t,yl=!0,xl=null,n=ps(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Ol(),r===o){t=iu(e,t,n);break e}qc(e,t,r,n)}t=t.child}return t;case 5:return xs(t),null===e&&Cl(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,va(r,o)?a=null:null!==i&&va(r,i)&&(t.flags|=32),Fc(e,t),qc(e,t,a,n),t.child;case 6:return null===e&&Cl(t),null;case 13:return Jc(e,t,n);case 4:return bs(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ds(t,null,r,n):qc(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,zc(e,t,r,o=t.elementType===r?o:Pl(r,o),n);case 7:return qc(e,t,t.pendingProps,n),t.child;case 8:case 12:return qc(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Ba(_l,r._currentValue),r._currentValue=a,null!==i)if(wi(i.value,a)){if(i.children===o.children&&!Ha.current){t=iu(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){a=i.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Kl(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var u=(c=c.shared).pending;null===u?s.next=s:(s.next=u.next,u.next=s),c.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Al(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===i.tag)a=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(a=i.return))throw Error(yt(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Al(a,n,t),a=i.sibling}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===t){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}qc(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,jl(t,n),r=r(o=Fl(o)),t.flags|=1,qc(e,t,r,n),t.child;case 14:return o=Pl(r=t.type,t.pendingProps),Dc(e,t,r,o=Pl(r.type,o),n);case 15:return Ac(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Pl(r,o),ou(e,t),t.tag=1,Ga(r)?(e=!0,Qa(t)):e=!1,jl(t,n),os(t,r,o),as(t,r,o,n),$c(null,t,r,!0,e,n);case 19:return ru(e,t,n);case 22:return jc(e,t,n)}throw Error(yt(156,t.tag))};var sp="function"==typeof reportError?reportError:function(e){console.error(e)};function cp(e){this._internalRoot=e}function up(e){this._internalRoot=e}function dp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function pp(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function fp(){}function hp(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=ip(a);l.call(e)}}op(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=ip(a);i.call(e)}}var a=rp(t,r,e,0,null,!1,0,"",fp);return e._reactRootContainer=a,e[Ia]=a.current,ra(8===e.nodeType?e.parentNode:e),kd(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=ip(s);l.call(e)}}var s=tp(e,0,!1,null,0,!1,0,"",fp);return e._reactRootContainer=s,e[Ia]=s.current,ra(8===e.nodeType?e.parentNode:e),kd((function(){op(t,s,n,r)})),s}(n,t,e,o,r);return ip(a)}up.prototype.render=cp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(yt(409));op(e,t,null,null)},up.prototype.unmount=cp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;kd((function(){op(null,e,null,null)})),t[Ia]=null}},up.prototype.unstable_scheduleHydration=function(e){if(e){var t=jr();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Kr.length&&0!==t&&t<Kr[n].priority;n++);Kr.splice(n,0,e),0===n&&Jr(e)}},zr=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Lr(t.pendingLanes);0!==n&&(Nr(t,1|n),bd(t,pr()),0==(6&$u)&&(rd=pr()+500,rl()))}break;case 13:kd((function(){var t=Hl(e,1);if(null!==t){var n=md();vd(t,e,1,n)}})),lp(e,1)}},Dr=function(e){if(13===e.tag){var t=Hl(e,134217728);if(null!==t)vd(t,e,134217728,md());lp(e,134217728)}},Ar=function(e){if(13===e.tag){var t=gd(e),n=Hl(e,t);if(null!==n)vd(n,e,t,md());lp(e,t)}},jr=function(){return Mr},Fr=function(e,t){var n=Mr;try{return Mr=e,t()}finally{Mr=n}},Dn=function(e,t,n){switch(t){case"input":if(fn(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=za(r);if(!o)throw Error(yt(90));sn(r),fn(r,o)}}}break;case"textarea":xn(e,n);break;case"select":null!=(t=n.value)&&vn(e,!!n.multiple,t,!1)}},$n=Cd,Hn=kd;var mp={usingClientEntryPoint:!1,Events:[Ma,qa,za,Bn,Wn,Cd]},gp={findFiberByHostInstance:Na,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},vp={bundleType:gp.bundleType,version:gp.version,rendererPackageName:gp.rendererPackageName,rendererConfig:gp.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Mt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ar(e))?null:e.stateNode},findFiberByHostInstance:gp.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bp.isDisabled&&bp.supportsFiber)try{yr=bp.inject(vp),xr=bp}catch(kn){}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mp,ft.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!dp(t))throw Error(yt(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:zt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},ft.createRoot=function(e,t){if(!dp(e))throw Error(yt(299));var n=!1,r="",o=sp;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=tp(e,1,!1,null,0,n,0,r,o),e[Ia]=t.current,ra(8===e.nodeType?e.parentNode:e),new cp(t)},ft.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(yt(188));throw e=Object.keys(e).join(","),Error(yt(268,e))}return e=null===(e=ar(t))?null:e.stateNode},ft.flushSync=function(e){return kd(e)},ft.hydrate=function(e,t,n){if(!pp(t))throw Error(yt(200));return hp(null,e,t,!0,n)},ft.hydrateRoot=function(e,t,n){if(!dp(e))throw Error(yt(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=sp;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=rp(t,null,e,1,null!=n?n:null,o,0,i,a),e[Ia]=t.current,ra(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new up(t)},ft.render=function(e,t,n){if(!pp(t))throw Error(yt(200));return hp(null,e,t,!1,n)},ft.unmountComponentAtNode=function(e){if(!pp(e))throw Error(yt(40));return!!e._reactRootContainer&&(kd((function(){hp(null,null,e,!1,(function(){e._reactRootContainer=null,e[Ia]=null}))})),!0)},ft.unstable_batchedUpdates=Cd,ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!pp(n))throw Error(yt(200));if(null==e||void 0===e._reactInternals)throw Error(yt(38));return hp(e,t,n,!1,r)},ft.version="18.2.0-next-9e3b772b8-20220608",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)}}(),pt.exports=ft;var yp=pt.exports,xp=n(yp),Sp=yp;function wp(){return wp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wp.apply(this,arguments)}function Ep(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Cp(e){if(!Ep(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Cp(e[n])})),t}function kp(e,t,n={clone:!0}){const r=n.clone?wp({},e):e;return Ep(e)&&Ep(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Ep(t[o])&&o in e&&Ep(e[o])?r[o]=kp(e[o],t[o],n):n.clone?r[o]=Ep(t[o])?Cp(t[o]):t[o]:r[o]=t[o])})),r}function Lp(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}dt.createRoot=Sp.createRoot,dt.hydrateRoot=Sp.hydrateRoot;var Rp,Op={exports:{}},Ip={},Tp=Symbol.for("react.element"),Pp=Symbol.for("react.portal"),_p=Symbol.for("react.fragment"),Np=Symbol.for("react.strict_mode"),Mp=Symbol.for("react.profiler"),qp=Symbol.for("react.provider"),zp=Symbol.for("react.context"),Dp=Symbol.for("react.server_context"),Ap=Symbol.for("react.forward_ref"),jp=Symbol.for("react.suspense"),Fp=Symbol.for("react.suspense_list"),Bp=Symbol.for("react.memo"),Wp=Symbol.for("react.lazy"),$p=Symbol.for("react.offscreen");function Hp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Tp:switch(e=e.type){case _p:case Mp:case Np:case jp:case Fp:return e;default:switch(e=e&&e.$$typeof){case Dp:case zp:case Ap:case Wp:case Bp:case qp:return e;default:return t}}case Pp:return t}}}Rp=Symbol.for("react.module.reference"),Ip.ContextConsumer=zp,Ip.ContextProvider=qp,Ip.Element=Tp,Ip.ForwardRef=Ap,Ip.Fragment=_p,Ip.Lazy=Wp,Ip.Memo=Bp,Ip.Portal=Pp,Ip.Profiler=Mp,Ip.StrictMode=Np,Ip.Suspense=jp,Ip.SuspenseList=Fp,Ip.isAsyncMode=function(){return!1},Ip.isConcurrentMode=function(){return!1},Ip.isContextConsumer=function(e){return Hp(e)===zp},Ip.isContextProvider=function(e){return Hp(e)===qp},Ip.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Tp},Ip.isForwardRef=function(e){return Hp(e)===Ap},Ip.isFragment=function(e){return Hp(e)===_p},Ip.isLazy=function(e){return Hp(e)===Wp},Ip.isMemo=function(e){return Hp(e)===Bp},Ip.isPortal=function(e){return Hp(e)===Pp},Ip.isProfiler=function(e){return Hp(e)===Mp},Ip.isStrictMode=function(e){return Hp(e)===Np},Ip.isSuspense=function(e){return Hp(e)===jp},Ip.isSuspenseList=function(e){return Hp(e)===Fp},Ip.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===_p||e===Mp||e===Np||e===jp||e===Fp||e===$p||"object"==typeof e&&null!==e&&(e.$$typeof===Wp||e.$$typeof===Bp||e.$$typeof===qp||e.$$typeof===zp||e.$$typeof===Ap||e.$$typeof===Rp||void 0!==e.getModuleId)},Ip.typeOf=Hp,Op.exports=Ip;var Up=Op.exports;function Vp(e){if("string"!=typeof e)throw new Error(Lp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Gp(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Kp(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Zp(e,t){return H.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function Xp(e){return e&&e.ownerDocument||document}function Qp(e){return Xp(e).defaultView||window}function Jp(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Yp="undefined"!=typeof window?H.useLayoutEffect:H.useEffect;let ef=0;const tf=V["useId".toString()];function nf(e){if(void 0!==tf){const t=tf();return null!=e?e:t}return function(e){const[t,n]=H.useState(e),r=e||t;return H.useEffect((()=>{null==t&&(ef+=1,n(`mui-${ef}`))}),[t]),r}(e)}function rf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=H.useRef(void 0!==e),[i,a]=H.useState(t);return[o?e:i,H.useCallback((e=>{o||a(e)}),[])]}function of(e){const t=H.useRef(e);return Yp((()=>{t.current=e})),H.useCallback(((...e)=>(0,t.current)(...e)),[])}function af(...e){return H.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{Jp(e,t)}))}),e)}let lf,sf=!0,cf=!1;const uf={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 df(e){e.metaKey||e.altKey||e.ctrlKey||(sf=!0)}function pf(){sf=!1}function ff(){"hidden"===this.visibilityState&&cf&&(sf=!0)}function hf(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return sf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!uf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function mf(){const e=H.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",df,!0),t.addEventListener("mousedown",pf,!0),t.addEventListener("pointerdown",pf,!0),t.addEventListener("touchstart",pf,!0),t.addEventListener("visibilitychange",ff,!0))}),[]),t=H.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!hf(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(cf=!0,window.clearTimeout(lf),lf=window.setTimeout((()=>{cf=!1}),100),t.current=!1,!0)},ref:e}}function gf(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var vf=e=>{const t=H.useRef({});return H.useEffect((()=>{t.current=e})),t.current};function bf(e,t){const n=wp({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=wp({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=wp({},i),Object.keys(o).forEach((e=>{n[r][e]=bf(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function yf(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const xf=e=>e;var Sf=(()=>{let e=xf;return{configure(t){e=t},generate:t=>e(t),reset(){e=xf}}})();const wf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Ef(e,t,n="Mui"){const r=wf[t];return r?`${n}-${r}`:`${Sf.generate(e)}-${t}`}function Cf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Ef(e,t,n)})),r}var kf="$$material";function Lf(){return Lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lf.apply(this,arguments)}function Rf(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Of(){return Of=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Of.apply(this,arguments)}function If(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Tf=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Pf=If((function(e){return Tf.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var _f=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Nf="-ms-",Mf="-moz-",qf="-webkit-",zf="comm",Df="rule",Af="decl",jf="@keyframes",Ff=Math.abs,Bf=String.fromCharCode,Wf=Object.assign;function $f(e){return e.trim()}function Hf(e,t,n){return e.replace(t,n)}function Uf(e,t){return e.indexOf(t)}function Vf(e,t){return 0|e.charCodeAt(t)}function Gf(e,t,n){return e.slice(t,n)}function Kf(e){return e.length}function Zf(e){return e.length}function Xf(e,t){return t.push(e),e}var Qf=1,Jf=1,Yf=0,eh=0,th=0,nh="";function rh(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Qf,column:Jf,length:a,return:""}}function oh(e,t){return Wf(rh("",null,null,"",null,null,0),e,{length:-e.length},t)}function ih(){return th=eh>0?Vf(nh,--eh):0,Jf--,10===th&&(Jf=1,Qf--),th}function ah(){return th=eh<Yf?Vf(nh,eh++):0,Jf++,10===th&&(Jf=1,Qf++),th}function lh(){return Vf(nh,eh)}function sh(){return eh}function ch(e,t){return Gf(nh,e,t)}function uh(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dh(e){return Qf=Jf=1,Yf=Kf(nh=e),eh=0,[]}function ph(e){return nh="",e}function fh(e){return $f(ch(eh-1,gh(91===e?e+2:40===e?e+1:e)))}function hh(e){for(;(th=lh())&&th<33;)ah();return uh(e)>2||uh(th)>3?"":" "}function mh(e,t){for(;--t&&ah()&&!(th<48||th>102||th>57&&th<65||th>70&&th<97););return ch(e,sh()+(t<6&&32==lh()&&32==ah()))}function gh(e){for(;ah();)switch(th){case e:return eh;case 34:case 39:34!==e&&39!==e&&gh(th);break;case 40:41===e&&gh(e);break;case 92:ah()}return eh}function vh(e,t){for(;ah()&&e+th!==57&&(e+th!==84||47!==lh()););return"/*"+ch(t,eh-1)+"*"+Bf(47===e?e:ah())}function bh(e){for(;!uh(lh());)ah();return ch(e,eh)}function yh(e){return ph(xh("",null,null,null,[""],e=dh(e),0,[0],e))}function xh(e,t,n,r,o,i,a,l,s){for(var c=0,u=0,d=a,p=0,f=0,h=0,m=1,g=1,v=1,b=0,y="",x=o,S=i,w=r,E=y;g;)switch(h=b,b=ah()){case 40:if(108!=h&&58==Vf(E,d-1)){-1!=Uf(E+=Hf(fh(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=fh(b);break;case 9:case 10:case 13:case 32:E+=hh(h);break;case 92:E+=mh(sh()-1,7);continue;case 47:switch(lh()){case 42:case 47:Xf(wh(vh(ah(),sh()),t,n),s);break;default:E+="/"}break;case 123*m:l[c++]=Kf(E)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==v&&(E=Hf(E,/\f/g,"")),f>0&&Kf(E)-d&&Xf(f>32?Eh(E+";",r,n,d-1):Eh(Hf(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(Xf(w=Sh(E,t,n,c,u,o,l,y,x=[],S=[],d),i),123===b)if(0===u)xh(E,t,w,w,x,i,d,l,S);else switch(99===p&&110===Vf(E,3)?100:p){case 100:case 108:case 109:case 115:xh(e,w,w,r&&Xf(Sh(e,w,w,0,0,o,l,y,o,x=[],d),S),o,S,d,l,r?x:S);break;default:xh(E,w,w,w,[""],S,0,l,S)}}c=u=f=0,m=v=1,y=E="",d=a;break;case 58:d=1+Kf(E),f=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==ih())continue;switch(E+=Bf(b),b*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:l[c++]=(Kf(E)-1)*v,v=1;break;case 64:45===lh()&&(E+=fh(ah())),p=lh(),u=d=Kf(y=E+=bh(sh())),b++;break;case 45:45===h&&2==Kf(E)&&(m=0)}}return i}function Sh(e,t,n,r,o,i,a,l,s,c,u){for(var d=o-1,p=0===o?i:[""],f=Zf(p),h=0,m=0,g=0;h<r;++h)for(var v=0,b=Gf(e,d+1,d=Ff(m=a[h])),y=e;v<f;++v)(y=$f(m>0?p[v]+" "+b:Hf(b,/&\f/g,p[v])))&&(s[g++]=y);return rh(e,t,n,0===o?Df:l,s,c,u)}function wh(e,t,n){return rh(e,t,n,zf,Bf(th),Gf(e,2,-2),0)}function Eh(e,t,n,r){return rh(e,t,n,Af,Gf(e,0,r),Gf(e,r+1,-1),r)}function Ch(e,t){for(var n="",r=Zf(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function kh(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Af:return e.return=e.return||e.value;case zf:return"";case jf:return e.return=e.value+"{"+Ch(e.children,r)+"}";case Df:e.value=e.props.join(",")}return Kf(n=Ch(e.children,r))?e.return=e.value+"{"+n+"}":""}function Lh(e){var t=Zf(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}var Rh=function(e,t,n){for(var r=0,o=0;r=o,o=lh(),38===r&&12===o&&(t[n]=1),!uh(o);)ah();return ch(e,eh)},Oh=function(e,t){return ph(function(e,t){var n=-1,r=44;do{switch(uh(r)){case 0:38===r&&12===lh()&&(t[n]=1),e[n]+=Rh(eh-1,t,n);break;case 2:e[n]+=fh(r);break;case 4:if(44===r){e[++n]=58===lh()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Bf(r)}}while(r=ah());return e}(dh(e),t))},Ih=new WeakMap,Th=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ih.get(n))&&!r){Ih.set(e,!0);for(var o=[],i=Oh(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var c=0;c<a.length;c++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},Ph=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function _h(e,t){switch(function(e,t){return 45^Vf(e,0)?(((t<<2^Vf(e,0))<<2^Vf(e,1))<<2^Vf(e,2))<<2^Vf(e,3):0}(e,t)){case 5103:return qf+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return qf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qf+e+Mf+e+Nf+e+e;case 6828:case 4268:return qf+e+Nf+e+e;case 6165:return qf+e+Nf+"flex-"+e+e;case 5187:return qf+e+Hf(e,/(\w+).+(:[^]+)/,qf+"box-$1$2"+Nf+"flex-$1$2")+e;case 5443:return qf+e+Nf+"flex-item-"+Hf(e,/flex-|-self/,"")+e;case 4675:return qf+e+Nf+"flex-line-pack"+Hf(e,/align-content|flex-|-self/,"")+e;case 5548:return qf+e+Nf+Hf(e,"shrink","negative")+e;case 5292:return qf+e+Nf+Hf(e,"basis","preferred-size")+e;case 6060:return qf+"box-"+Hf(e,"-grow","")+qf+e+Nf+Hf(e,"grow","positive")+e;case 4554:return qf+Hf(e,/([^-])(transform)/g,"$1"+qf+"$2")+e;case 6187:return Hf(Hf(Hf(e,/(zoom-|grab)/,qf+"$1"),/(image-set)/,qf+"$1"),e,"")+e;case 5495:case 3959:return Hf(e,/(image-set\([^]*)/,qf+"$1$`$1");case 4968:return Hf(Hf(e,/(.+:)(flex-)?(.*)/,qf+"box-pack:$3"+Nf+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qf+e+e;case 4095:case 3583:case 4068:case 2532:return Hf(e,/(.+)-inline(.+)/,qf+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Kf(e)-1-t>6)switch(Vf(e,t+1)){case 109:if(45!==Vf(e,t+4))break;case 102:return Hf(e,/(.+:)(.+)-([^]+)/,"$1"+qf+"$2-$3$1"+Mf+(108==Vf(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Uf(e,"stretch")?_h(Hf(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Vf(e,t+1))break;case 6444:switch(Vf(e,Kf(e)-3-(~Uf(e,"!important")&&10))){case 107:return Hf(e,":",":"+qf)+e;case 101:return Hf(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qf+(45===Vf(e,14)?"inline-":"")+"box$3$1"+qf+"$2$3$1"+Nf+"$2box$3")+e}break;case 5936:switch(Vf(e,t+11)){case 114:return qf+e+Nf+Hf(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qf+e+Nf+Hf(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qf+e+Nf+Hf(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qf+e+Nf+e+e}return e}var Nh="undefined"!=typeof document,Mh=Nh?void 0:function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}((function(){return If((function(){var e={};return function(t){return e[t]}}))})),qh=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Af:e.return=_h(e.value,e.length);break;case jf:return Ch([oh(e,{value:Hf(e.value,"@","@"+qf)})],r);case Df:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ch([oh(e,{props:[Hf(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ch([oh(e,{props:[Hf(t,/:(plac\w+)/,":"+qf+"input-$1")]}),oh(e,{props:[Hf(t,/:(plac\w+)/,":-moz-$1")]}),oh(e,{props:[Hf(t,/:(plac\w+)/,Nf+"input-$1")]})],r)}return""}))}}],zh=function(e){var t=e.key;if(Nh&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||qh,a={},l=[];Nh&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)})));var s,c=[Th,Ph];if(Nh){var u,d=[kh,(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Lh(c.concat(i,d));o=function(e,t,n,r){u=n,function(e){Ch(yh(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[kh],h=Lh(c.concat(i,f)),m=Mh(i)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return Ch(yh(e),h)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};o=function(e,t,n,r){var o=t.name,i=g(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),i):r?void(v.inserted[o]=i):i}}var v={key:t,sheet:new _f({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return v.sheet.hydrate(l),v},Dh=Up,Ah={};Ah[Dh.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ah[Dh.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var jh="undefined"!=typeof document;var Fh=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===jh&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Bh=function(e,t,n){Fh(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var a=e.insert(t===i?"."+r:"",i,e.sheet,!0);jh||void 0===a||(o+=a),i=i.next}while(void 0!==i);if(!jh&&0!==o.length)return o}};var Wh={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$h=/[A-Z]|^ms/g,Hh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Uh=function(e){return 45===e.charCodeAt(1)},Vh=function(e){return null!=e&&"boolean"!=typeof e},Gh=If((function(e){return Uh(e)?e:e.replace($h,"-$&").toLowerCase()})),Kh=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Hh,(function(e,t,n){return Xh={name:t,styles:n,next:Xh},t}))}return 1===Wh[e]||Uh(e)||"number"!=typeof t||0===t?t:t+"px"};function Zh(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Xh={name:n.name,styles:n.styles,next:Xh},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Xh={name:r.name,styles:r.styles,next:Xh},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Zh(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":Vh(a)&&(r+=Gh(i)+":"+Kh(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Zh(e,t,a);switch(i){case"animation":case"animationName":r+=Gh(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var s=0;s<a.length;s++)Vh(a[s])&&(r+=Gh(i)+":"+Kh(i,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Xh,i=n(e);return Xh=o,Zh(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Xh,Qh=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Jh=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Xh=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Zh(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Zh(n,t,e[a]),r&&(o+=i[a]);Qh.lastIndex=0;for(var l,s="";null!==(l=Qh.exec(o));)s+="-"+l[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:c,styles:o,next:Xh}},Yh="undefined"!=typeof document,em=function(e){return e()},tm=!!V.useInsertionEffect&&V.useInsertionEffect,nm=Yh&&tm||em,rm=tm||H.useLayoutEffect,om="undefined"!=typeof document,im=H.createContext("undefined"!=typeof HTMLElement?zh({key:"css"}):null),am=im.Provider,lm=function(e){return H.forwardRef((function(t,n){var r=H.useContext(im);return e(t,r,n)}))};om||(lm=function(e){return function(t){var n=H.useContext(im);return null===n?(n=zh({key:"css"}),H.createElement(im.Provider,{value:n},e(t,n))):e(t,n)}});var sm=H.createContext({}),cm=lm((function(e,t){var n=e.styles,r=Jh([n],void 0,H.useContext(sm));if(!om){for(var o,i=r.name,a=r.styles,l=r.next;void 0!==l;)i+=" "+l.name,a+=l.styles,l=l.next;var s=!0===t.compat,c=t.insert("",{name:i,styles:a},t.sheet,s);return s?null:H.createElement("style",((o={})["data-emotion"]=t.key+"-global "+i,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var u=H.useRef();return rm((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),u.current=[n,o],function(){n.flush()}}),[t]),rm((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Bh(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function um(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Jh(t)}var dm=function(){var e=um.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},pm=Pf,fm=function(e){return"theme"!==e},hm=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?pm:fm},mm=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},gm="undefined"!=typeof document,vm=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Fh(t,n,r);var o=nm((function(){return Bh(t,n,r)}));if(!gm&&void 0!==o){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return H.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},bm=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=mm(t,n,i),s=l||hm(a),c=!s("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var h=lm((function(e,t,n){var r,i,u,p,f=c&&e.as||a,h="",m=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=H.useContext(sm)}"string"==typeof e.className?(r=t.registered,i=m,u=e.className,p="",u.split(" ").forEach((function(e){void 0!==r[e]?i.push(r[e]+";"):p+=e+" "})),h=p):null!=e.className&&(h=e.className+" ");var b=Jh(d.concat(m),t.registered,g);h+=t.key+"-"+b.name,void 0!==o&&(h+=" "+o);var y=c&&void 0===l?hm(f):s,x={};for(var S in e)c&&"as"===S||y(S)&&(x[S]=e[S]);return x.className=h,x.ref=n,H.createElement(H.Fragment,null,H.createElement(vm,{cache:t,serialized:b,isStringTag:"string"==typeof f}),H.createElement(f,x))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=a,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,Of({},n,r,{shouldForwardProp:mm(h,r,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){bm[e]=bm(e)}));var ym={exports:{}},xm={},Sm=H,wm=Symbol.for("react.element"),Em=Symbol.for("react.fragment"),Cm=Object.prototype.hasOwnProperty,km=Sm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Lm={key:!0,ref:!0,__self:!0,__source:!0};function Rm(e,t,n){var r,o={},i=null,a=null;for(r in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)Cm.call(t,r)&&!Lm.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:wm,type:e,key:i,ref:a,props:o,_owner:km.current}}xm.Fragment=Em,xm.jsx=Rm,xm.jsxs=Rm,ym.exports=xm;var Om=ym.exports;let Im;function Tm(e){const{injectFirst:t,children:n}=e;return t&&Im?Om.jsx(am,{value:Im,children:n}):n}function Pm(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Om.jsx(cm,{styles:r})}
|
|
27
27
|
/**
|
|
28
28
|
* @mui/styled-engine v5.13.2
|
|
29
29
|
*
|
|
30
30
|
* @license MIT
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/function _m(e,t){return bm(e,t)}"object"==typeof document&&(Im=zh({key:"css",prepend:!0}));function Nm(){return Nm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nm.apply(this,arguments)}function Mm(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const qm=["values","unit","step"],zm=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Nm({},e,{[t.key]:t.val})),{})};function Dm(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Mm(e,qm),a=zm(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return Nm({keys:i,values:a,up:l,down:s,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var Am={borderRadius:4};function jm(e,t){return t?kp(e,t,{clone:!1}):e}const Fm={xs:0,sm:600,md:900,lg:1200,xl:1536},Bm={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Fm[e]}px)`};function Wm(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Bm;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Bm;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Fm).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function $m(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function Hm(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function Um({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let a;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[a],a=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[a],a=n):t[n]=e,t)),{})}function Vm(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Gm(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Vm(e,n)||r,t&&(o=t(o,r,e)),o}function Km(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Vm(e.theme,r)||{};return Wm(e,a,(e=>{let r=Gm(i,o,e);return e===r&&"string"==typeof e&&(r=Gm(i,o,`${t}${"default"===e?"":Vp(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes={},a.filterProps=[t],a}const Zm={m:"margin",p:"padding"},Xm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Jm=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Qm[e])return[e];e=Qm[e]}const[t,n]=e.split(""),r=Zm[t],o=Xm[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Ym=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],eg=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function tg(e,t,n,r){var o;const a=null!=(o=Vm(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function ng(e){return tg(e,"spacing",8)}function rg(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function og(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=rg(t,n),e)),{})}(Jm(n),r);return Wm(e,e[n],o)}function ag(e,t){const n=ng(e.theme);return Object.keys(e).map((r=>og(e,t,r,n))).reduce(jm,{})}function ig(e){return ag(e,Ym)}function lg(e){return ag(e,eg)}function sg(e=8){if(e.mui)return e;const t=ng({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}function cg(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?jm(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function ug(e){return"number"!=typeof e?e:`${e}px solid`}ig.propTypes={},ig.filterProps=Ym,lg.propTypes={},lg.filterProps=eg;const dg=Km({prop:"border",themeKey:"borders",transform:ug}),pg=Km({prop:"borderTop",themeKey:"borders",transform:ug}),fg=Km({prop:"borderRight",themeKey:"borders",transform:ug}),hg=Km({prop:"borderBottom",themeKey:"borders",transform:ug}),mg=Km({prop:"borderLeft",themeKey:"borders",transform:ug}),gg=Km({prop:"borderColor",themeKey:"palette"}),vg=Km({prop:"borderTopColor",themeKey:"palette"}),bg=Km({prop:"borderRightColor",themeKey:"palette"}),yg=Km({prop:"borderBottomColor",themeKey:"palette"}),xg=Km({prop:"borderLeftColor",themeKey:"palette"}),Sg=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=tg(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:rg(t,e)});return Wm(e,e.borderRadius,n)}return null};Sg.propTypes={},Sg.filterProps=["borderRadius"],cg(dg,pg,fg,hg,mg,gg,vg,bg,yg,xg,Sg);const wg=e=>{if(void 0!==e.gap&&null!==e.gap){const t=tg(e.theme,"spacing",8),n=e=>({gap:rg(t,e)});return Wm(e,e.gap,n)}return null};wg.propTypes={},wg.filterProps=["gap"];const Eg=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=tg(e.theme,"spacing",8),n=e=>({columnGap:rg(t,e)});return Wm(e,e.columnGap,n)}return null};Eg.propTypes={},Eg.filterProps=["columnGap"];const Cg=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=tg(e.theme,"spacing",8),n=e=>({rowGap:rg(t,e)});return Wm(e,e.rowGap,n)}return null};Cg.propTypes={},Cg.filterProps=["rowGap"];function kg(e,t){return"grey"===t?t:e}cg(wg,Eg,Cg,Km({prop:"gridColumn"}),Km({prop:"gridRow"}),Km({prop:"gridAutoFlow"}),Km({prop:"gridAutoColumns"}),Km({prop:"gridAutoRows"}),Km({prop:"gridTemplateColumns"}),Km({prop:"gridTemplateRows"}),Km({prop:"gridTemplateAreas"}),Km({prop:"gridArea"}));function Rg(e){return e<=1&&0!==e?100*e+"%":e}cg(Km({prop:"color",themeKey:"palette",transform:kg}),Km({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:kg}),Km({prop:"backgroundColor",themeKey:"palette",transform:kg}));const Lg=Km({prop:"width",transform:Rg}),Og=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n;return{maxWidth:(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Fm[t]||Rg(t)}};return Wm(e,e.maxWidth,t)}return null};Og.filterProps=["maxWidth"];const Ig=Km({prop:"minWidth",transform:Rg}),Tg=Km({prop:"height",transform:Rg}),Pg=Km({prop:"maxHeight",transform:Rg}),_g=Km({prop:"minHeight",transform:Rg});Km({prop:"size",cssProperty:"width",transform:Rg}),Km({prop:"size",cssProperty:"height",transform:Rg});cg(Lg,Og,Ig,Tg,Pg,_g,Km({prop:"boxSizing"}));var Ng={border:{themeKey:"borders",transform:ug},borderTop:{themeKey:"borders",transform:ug},borderRight:{themeKey:"borders",transform:ug},borderBottom:{themeKey:"borders",transform:ug},borderLeft:{themeKey:"borders",transform:ug},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sg},color:{themeKey:"palette",transform:kg},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:kg},backgroundColor:{themeKey:"palette",transform:kg},p:{style:lg},pt:{style:lg},pr:{style:lg},pb:{style:lg},pl:{style:lg},px:{style:lg},py:{style:lg},padding:{style:lg},paddingTop:{style:lg},paddingRight:{style:lg},paddingBottom:{style:lg},paddingLeft:{style:lg},paddingX:{style:lg},paddingY:{style:lg},paddingInline:{style:lg},paddingInlineStart:{style:lg},paddingInlineEnd:{style:lg},paddingBlock:{style:lg},paddingBlockStart:{style:lg},paddingBlockEnd:{style:lg},m:{style:ig},mt:{style:ig},mr:{style:ig},mb:{style:ig},ml:{style:ig},mx:{style:ig},my:{style:ig},margin:{style:ig},marginTop:{style:ig},marginRight:{style:ig},marginBottom:{style:ig},marginLeft:{style:ig},marginX:{style:ig},marginY:{style:ig},marginInline:{style:ig},marginInlineStart:{style:ig},marginInlineEnd:{style:ig},marginBlock:{style:ig},marginBlockStart:{style:ig},marginBlockEnd:{style:ig},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wg},rowGap:{style:Cg},columnGap:{style:Eg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rg},maxWidth:{style:Og},minWidth:{transform:Rg},height:{transform:Rg},maxHeight:{transform:Rg},minHeight:{transform:Rg},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Mg=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:c}=a;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const u=Vm(n,l)||{};if(c)return c(o);return Wm(o,t,(t=>{let n=Gm(u,s,t);return t===n&&"string"==typeof t&&(n=Gm(u,s,`${e}${"default"===t?"":Vp(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:Ng;function l(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const o=$m(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(i[n])s=jm(s,e(n,o,a,i));else{const e=Wm({theme:a},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=jm(s,e):s[n]=t({sx:o,theme:a})}else s=jm(s,e(n,o,a,i))})),Hm(l,s)}return Array.isArray(o)?o.map(l):l(o)}}();Mg.filterProps=["sx"];var qg=Mg;const zg=["breakpoints","palette","spacing","shape"];function Dg(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=Mm(e,zg),l=Dm(n),s=sg(o);let c=kp({breakpoints:l,direction:"ltr",components:{},palette:Nm({mode:"light"},r),spacing:s,shape:Nm({},Am,a)},i);return c=t.reduce(((e,t)=>kp(e,t)),c),c.unstable_sxConfig=Nm({},Ng,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return qg({sx:e,theme:this})},c}function Ag(e=null){const t=H.useContext(sm);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const jg=Dg();function Fg(e=jg){return Ag(e)}function Bg({styles:e,themeId:t,defaultTheme:n={}}){const r=Fg(n),o="function"==typeof e?e(t&&r[t]||r):e;return Om.jsx(Pm,{styles:o})}const Wg=["sx"],$g=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Ng;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Hg(e){const{sx:t}=e,n=Mm(e,Wg),{systemProps:r,otherProps:o}=$g(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Ep(n)?Nm({},r,n):r}:Nm({},r,t),Nm({},o,{sx:a})}function Ug(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=Ug(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Vg(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ug(e))&&(r&&(r+=" "),r+=t);return r}const Gg=["className","component"];const Kg=["variant"];function Zg(e){return 0===e.length}function Xg(e){const{variant:t}=e,n=Mm(e,Kg);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?Zg(r)?e[t]:Vp(e[t]):`${Zg(r)?t:Vp(t)}${Vp(e[t].toString())}`})),r}const Qg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Jg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Yg=Dg();function ev({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function tv(e={}){const{themeId:t,defaultTheme:n=Yg,rootShouldForwardProp:r=Jg,slotShouldForwardProp:o=Jg}=e,a=e=>qg(Nm({},e,{theme:ev(Nm({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d}=i,p=Mm(i,Qg),f=void 0!==c?c:s&&"Root"!==s||!1,h=u||!1;let m=Jg;"Root"===s?m=r:s?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=_m(e,Nm({shouldForwardProp:m,label:undefined},p)),v=(r,...o)=>{const i=o?o.map((e=>"function"==typeof e&&e.__emotion_real!==e?r=>e(Nm({},r,{theme:ev(Nm({},r,{defaultTheme:n,themeId:t}))})):e)):[];let s=r;l&&d&&i.push((e=>{const r=ev(Nm({},e,{defaultTheme:n,themeId:t})),o=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(l,r);if(o){const t={};return Object.entries(o).forEach((([n,o])=>{t[n]="function"==typeof o?o(Nm({},e,{theme:r})):o})),d(e,t)}return null})),l&&!f&&i.push((e=>{const r=ev(Nm({},e,{defaultTheme:n,themeId:t}));return((e,t,n,r)=>{var o;const{ownerState:a={}}=e,i=[],l=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return l&&l.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&i.push(t[Xg(n.props)])})),i})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=Xg(e.props);r[t]=e.style})),r})(l,r),r,l)})),h||i.push(a);const c=i.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");s=[...r,...e],s.raw=[...r.raw,...e]}else"function"==typeof r&&r.__emotion_real!==r&&(s=e=>r(Nm({},e,{theme:ev(Nm({},e,{defaultTheme:n,themeId:t}))})));const u=g(s,...i);return e.muiName&&(u.muiName=e.muiName),u};return g.withConfig&&(v.withConfig=g.withConfig),v}}var nv=tv();function rv({props:e,name:t,defaultTheme:n,themeId:r}){let o=Fg(n);r&&(o=o[r]||o);const a=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?bf(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e});return a}function ov(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function av(e){if(e.type)return e;if("#"===e.charAt(0))return av(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Rp(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(Rp(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function iv(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function lv(e){let t="hsl"===(e=av(e)).type||"hsla"===e.type?av(function(e){e=av(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),iv({type:l,values:s})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function sv(e,t){return e=av(e),t=ov(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,iv(e)}function cv(){return cv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cv.apply(this,arguments)}var uv=H.createContext(null);function dv(){return H.useContext(uv)}var pv="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function fv(e){const{children:t,theme:n}=e,r=dv(),o=H.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return cv({},e,t)}(r,n);return null!=e&&(e[pv]=null!==r),e}),[n,r]);return Om.jsx(uv.Provider,{value:o,children:t})}const hv={};function mv(e,t,n,r=!1){return H.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const a=n(o),i=e?Nm({},t,{[e]:a}):a;return r?()=>i:i}return Nm({},t,e?{[e]:n}:n)}),[e,t,n,r])}function gv(e){const{children:t,theme:n,themeId:r}=e,o=Ag(hv),a=dv()||hv,i=mv(r,o,n),l=mv(r,a,n,!0);return Om.jsx(fv,{theme:l,children:Om.jsx(sm.Provider,{value:i,children:t})})}const vv=["component","direction","spacing","divider","children","className","useFlexGap"],bv=Dg(),yv=nv("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function xv(e){return rv({props:e,name:"MuiStack",defaultTheme:bv})}function Sv(e,t){const n=H.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(H.cloneElement(t,{key:`separator-${o}`})),e)),[])}const wv=({ownerState:e,theme:t})=>{let n=Nm({display:"flex",flexDirection:"column"},Wm({theme:t},Um({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=ng(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),a=Um({values:e.direction,base:o}),i=Um({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach(((e,t,n)=>{if(!a[e]){const r=t>0?a[n[t-1]]:"column";a[e]=r}}));n=kp(n,Wm({theme:t},i,((t,n)=>{return e.useFlexGap?{gap:rg(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?a[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:rg(r,t)}};var o})))}return n=function(e,...t){const n=$m(e),r=[n,...t].reduce(((e,t)=>kp(e,t)),{});return Hm(Object.keys(n),r)}(t.breakpoints,n),n};const Ev=["defaultProps","mixins","overrides","palette","props","styleOverrides"],Cv=["type","mode"];var kv={black:"#000",white:"#fff"};var Rv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var Lv={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var Ov={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var Iv={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var Tv={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var Pv={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var _v={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const Nv=["mode","contrastThreshold","tonalOffset"],Mv={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:kv.white,default:kv.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},qv={text:{primary:kv.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:kv.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 zv(e,t,n,r){const o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=av(e),t=ov(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return iv(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=av(e),t=ov(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return iv(e)}(e.main,a)))}function Dv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Lf(e,Nv),a=e.primary||function(e="light"){return"dark"===e?{main:Tv[200],light:Tv[50],dark:Tv[400]}:{main:Tv[700],light:Tv[400],dark:Tv[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:Lv[200],light:Lv[50],dark:Lv[400]}:{main:Lv[500],light:Lv[300],dark:Lv[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Ov[500],light:Ov[300],dark:Ov[700]}:{main:Ov[700],light:Ov[400],dark:Ov[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:Pv[400],light:Pv[300],dark:Pv[700]}:{main:Pv[700],light:Pv[500],dark:Pv[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:_v[400],light:_v[300],dark:_v[700]}:{main:_v[800],light:_v[500],dark:_v[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Iv[400],light:Iv[300],dark:Iv[700]}:{main:"#ed6c02",light:Iv[500],dark:Iv[900]}}(t);function d(e){const t=function(e,t){const n=lv(e),r=lv(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,qv.text.primary)>=n?qv.text.primary:Mv.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=Rf({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Rp(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Rp(12,t?` (${t})`:"",JSON.stringify(e.main)));return zv(e,"light",o,r),zv(e,"dark",a,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:qv,light:Mv};return kp(Rf({common:Rf({},kv),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:Rv,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Av=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const jv={textTransform:"uppercase"},Fv='"Roboto", "Helvetica", "Arial", sans-serif';function Bv(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Fv,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Lf(n,Av),f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,a)=>{return Rf({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Fv?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5)+"em"}:{},a,u);var i},g={h1:m(a,96,1.167,-1.5),h2:m(a,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(l,14,1.75,.4,jv),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,jv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return kp(Rf({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function Wv(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var $v=["none",Wv(0,2,1,-1,0,1,1,0,0,1,3,0),Wv(0,3,1,-2,0,2,2,0,0,1,5,0),Wv(0,3,3,-2,0,3,4,0,0,1,8,0),Wv(0,2,4,-1,0,4,5,0,0,1,10,0),Wv(0,3,5,-1,0,5,8,0,0,1,14,0),Wv(0,3,5,-1,0,6,10,0,0,1,18,0),Wv(0,4,5,-2,0,7,10,1,0,2,16,1),Wv(0,5,5,-3,0,8,10,1,0,3,14,2),Wv(0,5,6,-3,0,9,12,1,0,3,16,2),Wv(0,6,6,-3,0,10,14,1,0,4,18,3),Wv(0,6,7,-4,0,11,15,1,0,4,20,3),Wv(0,7,8,-4,0,12,17,2,0,5,22,4),Wv(0,7,8,-4,0,13,19,2,0,5,24,4),Wv(0,7,9,-4,0,14,21,2,0,5,26,4),Wv(0,8,9,-5,0,15,22,2,0,6,28,5),Wv(0,8,10,-5,0,16,24,2,0,6,30,5),Wv(0,8,11,-5,0,17,26,2,0,6,32,5),Wv(0,9,11,-5,0,18,28,2,0,7,34,6),Wv(0,9,12,-6,0,19,29,2,0,7,36,6),Wv(0,10,13,-6,0,20,31,3,0,8,38,7),Wv(0,10,13,-6,0,21,33,3,0,8,40,7),Wv(0,10,14,-6,0,22,35,3,0,8,42,7),Wv(0,11,14,-7,0,23,36,3,0,9,44,8),Wv(0,11,15,-7,0,24,38,3,0,9,46,8)];const Hv=["duration","easing","delay"],Uv={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)"},Vv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Gv(e){return`${Math.round(e)}ms`}function Kv(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Zv(e){const t=Rf({},Uv,e.easing),n=Rf({},Vv,e.duration);return Rf({getAutoHeightDuration:Kv,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0}=r;return Lf(r,Hv),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Gv(o)} ${a} ${"string"==typeof i?i:Gv(i)}`)).join(",")}},e,{easing:t,duration:n})}var Xv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Qv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Jv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:a={}}=e,i=Lf(e,Qv);if(e.vars)throw new Error(Rp(18));const l=Dv(r),s=Dg(e);let c=kp(s,{mixins:(u=s.breakpoints,d=n,Rf({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:$v.slice(),typography:Bv(l,a),transitions:Zv(o),zIndex:Rf({},Xv)});var u,d;return c=kp(c,i),c=t.reduce(((e,t)=>kp(e,t)),c),c.unstable_sxConfig=Rf({},Ng,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return qg({sx:e,theme:this})},c}var Yv=Jv();function eb(){const e=Fg(Yv);return e[kf]||e}function tb({props:e,name:t}){return rv({props:e,name:t,defaultTheme:Yv,themeId:kf})}const nb=e=>Jg(e)&&"classes"!==e;var rb=tv({themeId:kf,defaultTheme:Yv,rootShouldForwardProp:nb});const ob=["theme"];function ab(e){let{theme:t}=e,n=Lf(e,ob);const r=t[kf];return Om.jsx(gv,Rf({},n,{themeId:r?kf:void 0,theme:r||t}))}var ib=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function lb(){return lb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lb.apply(this,arguments)}function sb(e){return"string"==typeof e}function cb(e,t,n){return void 0===e||sb(e)?t:lb({},t,{ownerState:lb({},t.ownerState,n)})}const ub={disableDefaultClasses:!1},db=H.createContext(ub);function pb(e){const{disableDefaultClasses:t}=H.useContext(db);return n=>t?"":e(n)}function fb(e,t,n){return"function"==typeof e?e(t,n):e}function hb(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function mb(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function gb(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Vg(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=lb({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=lb({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(lb({},o,r)),l=mb(r),s=mb(o),c=t(i),u=Vg(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=lb({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=lb({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}const vb=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function bb(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=hb(e,vb),l=a?{}:fb(r,o),{props:s,internalRef:c}=gb(lb({},i,{externalSlotProps:l}));return cb(n,lb({},s,{ref:af(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const yb=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xb(e){const t=[],n=[];return Array.from(e.querySelectorAll(yb)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Sb(){return!0}function wb(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=xb,isEnabled:i=Sb,open:l}=e,s=H.useRef(!1),c=H.useRef(null),u=H.useRef(null),d=H.useRef(null),p=H.useRef(null),f=H.useRef(!1),h=H.useRef(null),m=af(t.ref,h),g=H.useRef(null);H.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),H.useEffect((()=>{if(!l||!h.current)return;const e=Xp(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),H.useEffect((()=>{if(!l||!h.current)return;const e=Xp(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&i()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=a(h.current)),r.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else s.current=!1},n=t=>{g.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,u.current&&u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,i,l,a]);const v=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Om.jsxs(H.Fragment,{children:[Om.jsx("div",{tabIndex:l?0:-1,onFocus:v,ref:c,"data-testid":"sentinelStart"}),H.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Om.jsx("div",{tabIndex:l?0:-1,onFocus:v,ref:u,"data-testid":"sentinelEnd"})]})}var Eb="top",Cb="bottom",kb="right",Rb="left",Lb="auto",Ob=[Eb,Cb,kb,Rb],Ib="start",Tb="end",Pb="clippingParents",_b="viewport",Nb="popper",Mb="reference",qb=Ob.reduce((function(e,t){return e.concat([t+"-"+Ib,t+"-"+Tb])}),[]),zb=[].concat(Ob,[Lb]).reduce((function(e,t){return e.concat([t,t+"-"+Ib,t+"-"+Tb])}),[]),Db=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ab(e){return e?(e.nodeName||"").toLowerCase():null}function jb(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fb(e){return e instanceof jb(e).Element||e instanceof Element}function Bb(e){return e instanceof jb(e).HTMLElement||e instanceof HTMLElement}function Wb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof jb(e).ShadowRoot||e instanceof ShadowRoot)}var $b={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Bb(o)&&Ab(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Bb(r)&&Ab(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Hb(e){return e.split("-")[0]}var Ub=Math.max,Vb=Math.min,Gb=Math.round;function Kb(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Zb(){return!/^((?!chrome|android).)*safari/i.test(Kb())}function Xb(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Bb(e)&&(o=e.offsetWidth>0&&Gb(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Gb(r.height)/e.offsetHeight||1);var i=(Fb(e)?jb(e):window).visualViewport,l=!Zb()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Qb(e){var t=Xb(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Jb(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Wb(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Yb(e){return jb(e).getComputedStyle(e)}function ey(e){return["table","td","th"].indexOf(Ab(e))>=0}function ty(e){return((Fb(e)?e.ownerDocument:e.document)||window.document).documentElement}function ny(e){return"html"===Ab(e)?e:e.assignedSlot||e.parentNode||(Wb(e)?e.host:null)||ty(e)}function ry(e){return Bb(e)&&"fixed"!==Yb(e).position?e.offsetParent:null}function oy(e){for(var t=jb(e),n=ry(e);n&&ey(n)&&"static"===Yb(n).position;)n=ry(n);return n&&("html"===Ab(n)||"body"===Ab(n)&&"static"===Yb(n).position)?t:n||function(e){var t=/firefox/i.test(Kb());if(/Trident/i.test(Kb())&&Bb(e)&&"fixed"===Yb(e).position)return null;var n=ny(e);for(Wb(n)&&(n=n.host);Bb(n)&&["html","body"].indexOf(Ab(n))<0;){var r=Yb(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function ay(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function iy(e,t,n){return Ub(e,Vb(t,n))}function ly(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function sy(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var cy={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Hb(n.placement),s=ay(l),c=[Rb,kb].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return ly("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:sy(e,Ob))}(o.padding,n),d=Qb(a),p="y"===s?Eb:Rb,f="y"===s?Cb:kb,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],g=oy(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=u[p],x=v-d[c]-u[f],S=v/2-d[c]/2+b,w=iy(y,S,x),E=s;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Jb(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function uy(e){return e.split("-")[1]}var dy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function py(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=Rb,x=Eb,S=window;if(c){var w=oy(n),E="clientHeight",C="clientWidth";if(w===jb(n)&&"static"!==Yb(w=ty(n)).position&&"absolute"===l&&(E="scrollHeight",C="scrollWidth"),o===Eb||(o===Rb||o===kb)&&a===Tb)x=Cb,m-=(d&&w===S&&S.visualViewport?S.visualViewport.height:w[E])-r.height,m*=s?1:-1;if(o===Rb||(o===Eb||o===Cb)&&a===Tb)y=kb,f-=(d&&w===S&&S.visualViewport?S.visualViewport.width:w[C])-r.width,f*=s?1:-1}var k,R=Object.assign({position:l},c&&dy),L=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Gb(n*o)/o||0,y:Gb(r*o)/o||0}}({x:f,y:m},jb(n)):{x:f,y:m};return f=L.x,m=L.y,s?Object.assign({},R,((k={})[x]=b?"0":"",k[y]=v?"0":"",k.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},R,((t={})[x]=b?m+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var fy={passive:!0};var hy={left:"right",right:"left",bottom:"top",top:"bottom"};function my(e){return e.replace(/left|right|bottom|top/g,(function(e){return hy[e]}))}var gy={start:"end",end:"start"};function vy(e){return e.replace(/start|end/g,(function(e){return gy[e]}))}function by(e){var t=jb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yy(e){return Xb(ty(e)).left+by(e).scrollLeft}function xy(e){var t=Yb(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Sy(e){return["html","body","#document"].indexOf(Ab(e))>=0?e.ownerDocument.body:Bb(e)&&xy(e)?e:Sy(ny(e))}function wy(e,t){var n;void 0===t&&(t=[]);var r=Sy(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=jb(r),i=o?[a].concat(a.visualViewport||[],xy(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(wy(ny(i)))}function Ey(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Cy(e,t,n){return t===_b?Ey(function(e,t){var n=jb(e),r=ty(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Zb();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+yy(e),y:s}}(e,n)):Fb(t)?function(e,t){var n=Xb(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ey(function(e){var t,n=ty(e),r=by(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Ub(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Ub(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+yy(e),s=-r.scrollTop;return"rtl"===Yb(o||n).direction&&(l+=Ub(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(ty(e)))}function ky(e,t,n,r){var o="clippingParents"===t?function(e){var t=wy(ny(e)),n=["absolute","fixed"].indexOf(Yb(e).position)>=0&&Bb(e)?oy(e):e;return Fb(n)?t.filter((function(e){return Fb(e)&&Jb(e,n)&&"body"!==Ab(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=Cy(e,n,r);return t.top=Ub(o.top,t.top),t.right=Vb(o.right,t.right),t.bottom=Vb(o.bottom,t.bottom),t.left=Ub(o.left,t.left),t}),Cy(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ry(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Hb(o):null,i=o?uy(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Eb:t={x:l,y:n.y-r.height};break;case Cb:t={x:l,y:n.y+n.height};break;case kb:t={x:n.x+n.width,y:s};break;case Rb:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?ay(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Ib:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Tb:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function Ly(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?Pb:l,c=n.rootBoundary,u=void 0===c?_b:c,d=n.elementContext,p=void 0===d?Nb:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=ly("number"!=typeof g?g:sy(g,Ob)),b=p===Nb?Mb:Nb,y=e.rects.popper,x=e.elements[h?b:p],S=ky(Fb(x)?x:x.contextElement||ty(e.elements.popper),s,u,i),w=Xb(e.elements.reference),E=Ry({reference:w,element:y,strategy:"absolute",placement:o}),C=Ey(Object.assign({},y,E)),k=p===Nb?C:w,R={top:S.top-k.top+v.top,bottom:k.bottom-S.bottom+v.bottom,left:S.left-k.left+v.left,right:k.right-S.right+v.right},L=e.modifiersData.offset;if(p===Nb&&L){var O=L[o];Object.keys(R).forEach((function(e){var t=[kb,Cb].indexOf(e)>=0?1:-1,n=[Eb,Cb].indexOf(e)>=0?"y":"x";R[e]+=O[n]*t}))}return R}function Oy(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?zb:s,u=uy(r),d=u?l?qb:qb.filter((function(e){return uy(e)===u})):Ob,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=Ly(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Hb(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Iy={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=Hb(g),b=s||(v===g||!h?[my(g)]:function(e){if(Hb(e)===Lb)return[];var t=my(e);return[vy(e),t,vy(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Hb(n)===Lb?Oy(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,S=t.rects.popper,w=new Map,E=!0,C=y[0],k=0;k<y.length;k++){var R=y[k],L=Hb(R),O=uy(R)===Ib,I=[Eb,Cb].indexOf(L)>=0,T=I?"width":"height",P=Ly(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),_=I?O?kb:Rb:O?Cb:Eb;x[T]>S[T]&&(_=my(_));var N=my(_),M=[];if(a&&M.push(P[L]<=0),l&&M.push(P[_]<=0,P[N]<=0),M.every((function(e){return e}))){C=R,E=!1;break}w.set(R,M)}if(E)for(var q=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},z=h?3:1;z>0;z--){if("break"===q(z))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ty(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Py(e){return[Eb,kb,Cb,Rb].some((function(t){return e[t]>=0}))}var _y={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=zb.reduce((function(e,n){return e[n]=function(e,t,n){var r=Hb(e),o=[Rb,Eb].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[Rb,kb].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var Ny={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=Ly(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Hb(t.placement),b=uy(t.placement),y=!b,x=ay(v),S="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(w){if(a){var I,T="y"===x?Eb:Rb,P="y"===x?Cb:kb,_="y"===x?"height":"width",N=w[x],M=N+g[T],q=N-g[P],z=f?-C[_]/2:0,D=b===Ib?E[_]:C[_],A=b===Ib?-C[_]:-E[_],j=t.elements.arrow,F=f&&j?Qb(j):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[T],$=B[P],H=iy(0,E[_],F[_]),U=y?E[_]/2-z-H-W-R.mainAxis:D-H-W-R.mainAxis,V=y?-E[_]/2+z+H+$+R.mainAxis:A+H+$+R.mainAxis,G=t.elements.arrow&&oy(t.elements.arrow),K=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,Z=null!=(I=null==L?void 0:L[x])?I:0,X=N+V-Z,Q=iy(f?Vb(M,N+U-Z-K):M,N,f?Ub(q,X):q);w[x]=Q,O[x]=Q-N}if(l){var J,Y="x"===x?Eb:Rb,ee="x"===x?Cb:kb,te=w[S],ne="y"===S?"height":"width",re=te+g[Y],oe=te-g[ee],ae=-1!==[Eb,Rb].indexOf(v),ie=null!=(J=null==L?void 0:L[S])?J:0,le=ae?re:te-E[ne]-C[ne]-ie+R.altAxis,se=ae?te+E[ne]+C[ne]-ie-R.altAxis:oe,ce=f&&ae?function(e,t,n){var r=iy(e,t,n);return r>n?n:r}(le,te,se):iy(f?le:re,te,f?se:oe);w[S]=ce,O[S]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};function My(e,t,n){void 0===n&&(n=!1);var r=Bb(t),o=Bb(t)&&function(e){var t=e.getBoundingClientRect(),n=Gb(t.width)/e.offsetWidth||1,r=Gb(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=ty(t),i=Xb(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Ab(t)||xy(a))&&(l=function(e){return e!==jb(e)&&Bb(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:by(e);var t}(t)),Bb(t)?((s=Xb(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=yy(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function qy(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var zy={placement:"bottom",modifiers:[],strategy:"absolute"};function Dy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ay(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?zy:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},zy,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:Fb(e)?wy(e):e.contextElement?wy(e.contextElement):[],popper:wy(t)};var i,c,p=function(e){var t=qy(e);return Db.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r}),i=function(){};s.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Dy(t,n)){l.rects={reference:My(t,oy(n),"fixed"===l.options.strategy),popper:Qb(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!Dy(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var jy=Ay({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=jb(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,fy)})),l&&s.addEventListener("resize",n.update,fy),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,fy)})),l&&s.removeEventListener("resize",n.update,fy)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ry({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:Hb(t.placement),variation:uy(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,py(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,py(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},$b,_y,Iy,Ny,cy,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Ly(t,{elementContext:"reference"}),l=Ly(t,{altBoundary:!0}),s=Ty(i,r),c=Ty(l,o,a),u=Py(s),d=Py(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});var Fy=H.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=H.useState(null),l=af(H.isValidElement(n)?n.ref:null,t);if(Yp((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),Yp((()=>{if(a&&!o)return Jp(t,a),()=>{Jp(t,null)}}),[t,a,o]),o){if(H.isValidElement(n)){const e={ref:l};return H.cloneElement(n,e)}return Om.jsx(H.Fragment,{children:n})}return Om.jsx(H.Fragment,{children:a?yp.createPortal(n,a):a})}));function By(e){return Ef("MuiPopper",e)}Cf("MuiPopper",["root"]);const Wy=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],$y=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Hy(e){return"function"==typeof e?e():e}const Uy={},Vy=H.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:a,disablePortal:i,modifiers:l,open:s,placement:c,popperOptions:u,popperRef:d,slotProps:p={},slots:f={},TransitionProps:h}=e,m=hb(e,Wy),g=H.useRef(null),v=af(g,t),b=H.useRef(null),y=af(b,d),x=H.useRef(y);Yp((()=>{x.current=y}),[y]),H.useImperativeHandle(d,(()=>b.current),[]);const S=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,a),[w,E]=H.useState(S),[C,k]=H.useState(Hy(r));H.useEffect((()=>{b.current&&b.current.forceUpdate()})),H.useEffect((()=>{r&&k(Hy(r))}),[r]),Yp((()=>{if(!C||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{E(e.placement)}}];null!=l&&(e=e.concat(l)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=jy(C,g.current,lb({placement:S},u,{modifiers:e}));return x.current(t),()=>{t.destroy(),x.current(null)}}),[C,i,l,s,u,S]);const R={placement:w};null!==h&&(R.TransitionProps=h);const L=yf({root:["root"]},pb(By)),O=null!=(n=f.root)?n:"div",I=bb({elementType:O,externalSlotProps:p.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:v},ownerState:e,className:L.root});return Om.jsx(O,lb({},I,{children:"function"==typeof o?o(R):o}))})),Gy=H.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:c,placement:u="bottom",popperOptions:d=Uy,popperRef:p,style:f,transition:h=!1,slotProps:m={},slots:g={}}=e,v=hb(e,$y),[b,y]=H.useState(!0);if(!l&&!c&&(!h||b))return null;let x;if(o)x=o;else if(n){const e=Hy(n);x=e&&void 0!==e.nodeType?Xp(e).body:Xp(null).body}const S=c||!l||h&&!b?void 0:"none",w=h?{in:c,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:void 0;return Om.jsx(Fy,{disablePortal:i,container:x,children:Om.jsx(Vy,lb({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:h?!b:c,placement:u,popperOptions:d,popperRef:p,slotProps:m,slots:g},v,{style:lb({position:"fixed",top:0,left:0,display:S},f),TransitionProps:w,children:r}))})}));var Ky=Gy;function Zy(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Xy(e){return parseInt(Qp(e).getComputedStyle(e).paddingRight,10)||0}function Qy(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Zy(e,o)}))}function Jy(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Yy(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Xp(e);return t.body===e?Qp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=gf(Xp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Xy(r)+e}px`;const t=Xp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Xy(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Xp(r).body;else{const t=r.parentElement,n=Qp(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function ex(e){return Ef("MuiModal",e)}Cf("MuiModal",["root","hidden","backdrop"]);const tx=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];const nx=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Zy(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Qy(t,e.mount,e.modalRef,r,!0);const o=Jy(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Jy(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Yy(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Jy(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Zy(e.modalRef,t),Qy(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Zy(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},rx=H.forwardRef((function(e,t){var n,r;const{children:o,closeAfterTransition:a=!1,container:i,disableAutoFocus:l=!1,disableEnforceFocus:s=!1,disableEscapeKeyDown:c=!1,disablePortal:u=!1,disableRestoreFocus:d=!1,disableScrollLock:p=!1,hideBackdrop:f=!1,keepMounted:h=!1,manager:m=nx,onBackdropClick:g,onClose:v,onKeyDown:b,open:y,onTransitionEnter:x,onTransitionExited:S,slotProps:w={},slots:E={}}=e,C=hb(e,tx),k=m,[R,L]=H.useState(!y),O=H.useRef({}),I=H.useRef(null),T=H.useRef(null),P=af(T,t),_=function(e){return!!e&&e.props.hasOwnProperty("in")}(o),N=null==(n=e["aria-hidden"])||n,M=()=>(O.current.modalRef=T.current,O.current.mountNode=I.current,O.current),q=()=>{k.mount(M(),{disableScrollLock:p}),T.current&&(T.current.scrollTop=0)},z=of((()=>{const e=function(e){return"function"==typeof e?e():e}(i)||Xp(I.current).body;k.add(M(),e),T.current&&q()})),D=H.useCallback((()=>k.isTopModal(M())),[k]),A=of((e=>{I.current=e,e&&T.current&&(y&&D()?q():Zy(T.current,N))})),j=H.useCallback((()=>{k.remove(M(),N)}),[k,N]);H.useEffect((()=>()=>{j()}),[j]),H.useEffect((()=>{y?z():_&&a||j()}),[y,j,_,a,z]);const F=lb({},e,{closeAfterTransition:a,disableAutoFocus:l,disableEnforceFocus:s,disableEscapeKeyDown:c,disablePortal:u,disableRestoreFocus:d,disableScrollLock:p,exited:R,hideBackdrop:f,keepMounted:h}),B=(e=>{const{open:t,exited:n}=e;return yf({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},pb(ex))})(F),W=()=>{L(!1),x&&x()},$=()=>{L(!0),S&&S(),a&&j()},U={};void 0===o.props.tabIndex&&(U.tabIndex="-1"),_&&(U.onEnter=Gp(W,o.props.onEnter),U.onExited=Gp($,o.props.onExited));const V=null!=(r=E.root)?r:"div",G=bb({elementType:V,externalSlotProps:w.root,externalForwardedProps:C,additionalProps:{ref:P,role:"presentation",onKeyDown:e=>{b&&b(e),"Escape"===e.key&&D()&&(c||(e.stopPropagation(),v&&v(e,"escapeKeyDown")))}},className:B.root,ownerState:F}),K=E.backdrop,Z=bb({elementType:K,externalSlotProps:w.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(g&&g(e),v&&v(e,"backdropClick"))},open:y},className:B.backdrop,ownerState:F});return h||y||_&&!R?Om.jsx(Fy,{ref:A,container:i,disablePortal:u,children:Om.jsxs(V,lb({},G,{children:[!f&&K?Om.jsx(K,lb({},Z)):null,Om.jsx(wb,{disableEnforceFocus:s,disableAutoFocus:l,disableRestoreFocus:d,isEnabled:D,open:y,children:H.cloneElement(o,U)})]}))}):null}));var ox=rx;const ax=["onChange","maxRows","minRows","style","value"];function ix(e){return parseInt(e,10)||0}const lx={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function sx(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const cx=H.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=hb(e,ax),{current:s}=H.useRef(null!=i),c=H.useRef(null),u=af(t,c),d=H.useRef(null),p=H.useRef(0),[f,h]=H.useState({outerHeightStyle:0}),m=H.useCallback((()=>{const t=c.current,n=Qp(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const a=d.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n.boxSizing,l=ix(n.paddingBottom)+ix(n.paddingTop),s=ix(n.borderBottomWidth)+ix(n.borderTopWidth),u=a.scrollHeight;a.value="x";const p=a.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===i?l+s:0),overflow:Math.abs(f-u)<=1}}),[r,o,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},v=H.useCallback((()=>{const e=m();sx(e)||h((t=>g(t,e)))}),[m]);H.useEffect((()=>{const e=Kp((()=>{p.current=0,c.current&&(()=>{const e=m();sx(e)||yp.flushSync((()=>{h((t=>g(t,e)))}))})()}));let t;const n=c.current,r=Qp(n);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(n)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),Yp((()=>{v()})),H.useEffect((()=>{p.current=0}),[i]);return Om.jsxs(H.Fragment,{children:[Om.jsx("textarea",lb({value:i,onChange:e=>{p.current=0,s||v(),n&&n(e)},ref:u,rows:o,style:lb({height:f.outerHeightStyle,overflow:f.overflow?"hidden":void 0},a)},l)),Om.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:lb({},lx,a,{paddingTop:0,paddingBottom:0})})]})}));var ux=cx;function dx(){return dx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dx.apply(this,arguments)}function px(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function fx(e,t){return fx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fx(e,t)}function hx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,fx(e,t)}var mx=!1,gx=U.createContext(null),vx="unmounted",bx="exited",yx="entering",xx="entered",Sx="exiting",wx=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=bx,r.appearStatus=yx):o=xx:o=t.unmountOnExit||t.mountOnEnter?vx:bx,r.state={status:o},r.nextCallback=null,r}hx(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===vx?{status:bx}: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!==yx&&n!==xx&&(t=yx):n!==yx&&n!==xx||(t=Sx)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===yx){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:xp.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===bx&&this.setState({status:vx})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[xp.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||mx?this.safeSetState({status:xx},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:yx},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:xx},(function(){t.props.onEntered(a,i)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:xp.findDOMNode(this);t&&!mx?(this.props.onExit(r),this.safeSetState({status:Sx},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:bx},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:bx},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:xp.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===vx)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=px(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return U.createElement(gx.Provider,{value:null},"function"==typeof n?n(e,r):U.cloneElement(U.Children.only(n),r))},t}(U.Component);function Ex(){}wx.contextType=gx,wx.propTypes={},wx.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ex,onEntering:Ex,onEntered:Ex,onExit:Ex,onExiting:Ex,onExited:Ex},wx.UNMOUNTED=vx,wx.EXITED=bx,wx.ENTERING=yx,wx.ENTERED=xx,wx.EXITING=Sx;var Cx=wx;function kx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rx(e,t){var n=Object.create(null);return e&&H.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&H.isValidElement(e)?t(e):e}(e)})),n}function Lx(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Ox(e,t,n){var r=Rx(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<a.length;r++)l[a[r]]=n(a[r]);return l}(t,r);return Object.keys(o).forEach((function(a){var i=o[a];if(H.isValidElement(i)){var l=a in t,s=a in r,c=t[a],u=H.isValidElement(c)&&!c.props.in;!s||l&&!u?s||!l||u?s&&l&&H.isValidElement(c)&&(o[a]=H.cloneElement(i,{onExited:n.bind(null,i),in:c.props.in,exit:Lx(i,"exit",e),enter:Lx(i,"enter",e)})):o[a]=H.cloneElement(i,{in:!1}):o[a]=H.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:Lx(i,"exit",e),enter:Lx(i,"enter",e)})}})),o}var Ix=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Tx=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(kx(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}hx(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,Rx(n.children,(function(e){return H.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Lx(e,"appear",n),enter:Lx(e,"enter",n),exit:Lx(e,"exit",n)})}))):Ox(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=Rx(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=dx({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=px(e,["component","childFactory"]),o=this.state.contextValue,a=Ix(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?U.createElement(gx.Provider,{value:o},a):U.createElement(gx.Provider,{value:o},U.createElement(t,r,a))},t}(U.Component);Tx.propTypes={},Tx.defaultProps={component:"div",childFactory:function(e){return e}};var Px=Tx;var _x=Cf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Nx=["center","classes","className"];let Mx,qx,zx,Dx,Ax=e=>e;const jx=dm(Mx||(Mx=Ax`
|
|
33
|
+
*/function _m(e,t){return bm(e,t)}"object"==typeof document&&(Im=zh({key:"css",prepend:!0}));function Nm(){return Nm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nm.apply(this,arguments)}function Mm(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}const qm=["values","unit","step"],zm=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Nm({},e,{[t.key]:t.val})),{})};function Dm(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Mm(e,qm),i=zm(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return Nm({keys:a,values:i,up:l,down:s,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}var Am={borderRadius:4};function jm(e,t){return t?kp(e,t,{clone:!1}):e}const Fm={xs:0,sm:600,md:900,lg:1200,xl:1536},Bm={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Fm[e]}px)`};function Wm(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Bm;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Bm;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Fm).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function $m(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function Hm(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function Um({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r<e.length&&(n[t]=!0)})):r.forEach((t=>{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}function Vm(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Gm(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Vm(e,n)||r,t&&(o=t(o,r,e)),o}function Km(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Vm(e.theme,r)||{};return Wm(e,i,(e=>{let r=Gm(a,o,e);return e===r&&"string"==typeof e&&(r=Gm(a,o,`${t}${"default"===e?"":Vp(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes={},i.filterProps=[t],i}const Zm={m:"margin",p:"padding"},Xm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Jm=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Qm[e])return[e];e=Qm[e]}const[t,n]=e.split(""),r=Zm[t],o=Xm[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Ym=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],eg=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function tg(e,t,n,r){var o;const i=null!=(o=Vm(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function ng(e){return tg(e,"spacing",8)}function rg(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function og(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=rg(t,n),e)),{})}(Jm(n),r);return Wm(e,e[n],o)}function ig(e,t){const n=ng(e.theme);return Object.keys(e).map((r=>og(e,t,r,n))).reduce(jm,{})}function ag(e){return ig(e,Ym)}function lg(e){return ig(e,eg)}function sg(e=8){if(e.mui)return e;const t=ng({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}function cg(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?jm(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function ug(e){return"number"!=typeof e?e:`${e}px solid`}ag.propTypes={},ag.filterProps=Ym,lg.propTypes={},lg.filterProps=eg;const dg=Km({prop:"border",themeKey:"borders",transform:ug}),pg=Km({prop:"borderTop",themeKey:"borders",transform:ug}),fg=Km({prop:"borderRight",themeKey:"borders",transform:ug}),hg=Km({prop:"borderBottom",themeKey:"borders",transform:ug}),mg=Km({prop:"borderLeft",themeKey:"borders",transform:ug}),gg=Km({prop:"borderColor",themeKey:"palette"}),vg=Km({prop:"borderTopColor",themeKey:"palette"}),bg=Km({prop:"borderRightColor",themeKey:"palette"}),yg=Km({prop:"borderBottomColor",themeKey:"palette"}),xg=Km({prop:"borderLeftColor",themeKey:"palette"}),Sg=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=tg(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:rg(t,e)});return Wm(e,e.borderRadius,n)}return null};Sg.propTypes={},Sg.filterProps=["borderRadius"],cg(dg,pg,fg,hg,mg,gg,vg,bg,yg,xg,Sg);const wg=e=>{if(void 0!==e.gap&&null!==e.gap){const t=tg(e.theme,"spacing",8),n=e=>({gap:rg(t,e)});return Wm(e,e.gap,n)}return null};wg.propTypes={},wg.filterProps=["gap"];const Eg=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=tg(e.theme,"spacing",8),n=e=>({columnGap:rg(t,e)});return Wm(e,e.columnGap,n)}return null};Eg.propTypes={},Eg.filterProps=["columnGap"];const Cg=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=tg(e.theme,"spacing",8),n=e=>({rowGap:rg(t,e)});return Wm(e,e.rowGap,n)}return null};Cg.propTypes={},Cg.filterProps=["rowGap"];function kg(e,t){return"grey"===t?t:e}cg(wg,Eg,Cg,Km({prop:"gridColumn"}),Km({prop:"gridRow"}),Km({prop:"gridAutoFlow"}),Km({prop:"gridAutoColumns"}),Km({prop:"gridAutoRows"}),Km({prop:"gridTemplateColumns"}),Km({prop:"gridTemplateRows"}),Km({prop:"gridTemplateAreas"}),Km({prop:"gridArea"}));function Lg(e){return e<=1&&0!==e?100*e+"%":e}cg(Km({prop:"color",themeKey:"palette",transform:kg}),Km({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:kg}),Km({prop:"backgroundColor",themeKey:"palette",transform:kg}));const Rg=Km({prop:"width",transform:Lg}),Og=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n;return{maxWidth:(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Fm[t]||Lg(t)}};return Wm(e,e.maxWidth,t)}return null};Og.filterProps=["maxWidth"];const Ig=Km({prop:"minWidth",transform:Lg}),Tg=Km({prop:"height",transform:Lg}),Pg=Km({prop:"maxHeight",transform:Lg}),_g=Km({prop:"minHeight",transform:Lg});Km({prop:"size",cssProperty:"width",transform:Lg}),Km({prop:"size",cssProperty:"height",transform:Lg});cg(Rg,Og,Ig,Tg,Pg,_g,Km({prop:"boxSizing"}));var Ng={border:{themeKey:"borders",transform:ug},borderTop:{themeKey:"borders",transform:ug},borderRight:{themeKey:"borders",transform:ug},borderBottom:{themeKey:"borders",transform:ug},borderLeft:{themeKey:"borders",transform:ug},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sg},color:{themeKey:"palette",transform:kg},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:kg},backgroundColor:{themeKey:"palette",transform:kg},p:{style:lg},pt:{style:lg},pr:{style:lg},pb:{style:lg},pl:{style:lg},px:{style:lg},py:{style:lg},padding:{style:lg},paddingTop:{style:lg},paddingRight:{style:lg},paddingBottom:{style:lg},paddingLeft:{style:lg},paddingX:{style:lg},paddingY:{style:lg},paddingInline:{style:lg},paddingInlineStart:{style:lg},paddingInlineEnd:{style:lg},paddingBlock:{style:lg},paddingBlockStart:{style:lg},paddingBlockEnd:{style:lg},m:{style:ag},mt:{style:ag},mr:{style:ag},mb:{style:ag},ml:{style:ag},mx:{style:ag},my:{style:ag},margin:{style:ag},marginTop:{style:ag},marginRight:{style:ag},marginBottom:{style:ag},marginLeft:{style:ag},marginX:{style:ag},marginY:{style:ag},marginInline:{style:ag},marginInlineStart:{style:ag},marginInlineEnd:{style:ag},marginBlock:{style:ag},marginBlockStart:{style:ag},marginBlockEnd:{style:ag},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wg},rowGap:{style:Cg},columnGap:{style:Eg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Lg},maxWidth:{style:Og},minWidth:{transform:Lg},height:{transform:Lg},maxHeight:{transform:Lg},minHeight:{transform:Lg},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Mg=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:c}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const u=Vm(n,l)||{};if(c)return c(o);return Wm(o,t,(t=>{let n=Gm(u,s,t);return t===n&&"string"==typeof t&&(n=Gm(u,s,`${e}${"default"===t?"":Vp(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Ng;function l(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=$m(i.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=i,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(a[n])s=jm(s,e(n,o,i,a));else{const e=Wm({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=jm(s,e):s[n]=t({sx:o,theme:i})}else s=jm(s,e(n,o,i,a))})),Hm(l,s)}return Array.isArray(o)?o.map(l):l(o)}}();Mg.filterProps=["sx"];var qg=Mg;const zg=["breakpoints","palette","spacing","shape"];function Dg(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Mm(e,zg),l=Dm(n),s=sg(o);let c=kp({breakpoints:l,direction:"ltr",components:{},palette:Nm({mode:"light"},r),spacing:s,shape:Nm({},Am,i)},a);return c=t.reduce(((e,t)=>kp(e,t)),c),c.unstable_sxConfig=Nm({},Ng,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return qg({sx:e,theme:this})},c}function Ag(e=null){const t=H.useContext(sm);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const jg=Dg();function Fg(e=jg){return Ag(e)}function Bg({styles:e,themeId:t,defaultTheme:n={}}){const r=Fg(n),o="function"==typeof e?e(t&&r[t]||r):e;return Om.jsx(Pm,{styles:o})}const Wg=["sx"],$g=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Ng;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Hg(e){const{sx:t}=e,n=Mm(e,Wg),{systemProps:r,otherProps:o}=$g(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Ep(n)?Nm({},r,n):r}:Nm({},r,t),Nm({},o,{sx:i})}function Ug(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=Ug(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Vg(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ug(e))&&(r&&(r+=" "),r+=t);return r}const Gg=["className","component"];const Kg=["variant"];function Zg(e){return 0===e.length}function Xg(e){const{variant:t}=e,n=Mm(e,Kg);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?Zg(r)?e[t]:Vp(e[t]):`${Zg(r)?t:Vp(t)}${Vp(e[t].toString())}`})),r}const Qg=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Jg(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Yg=Dg(),ev=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function tv({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function nv(e){return e?(t,n)=>n[e]:null}function rv(e={}){const{themeId:t,defaultTheme:n=Yg,rootShouldForwardProp:r=Jg,slotShouldForwardProp:o=Jg}=e,i=e=>qg(Nm({},e,{theme:tv(Nm({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d=nv(ev(s))}=a,p=Mm(a,Qg),f=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,h=u||!1;let m=Jg;"Root"===s||"root"===s?m=r:s?m=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const g=_m(e,Nm({shouldForwardProp:m,label:undefined},p)),v=(r,...o)=>{const a=o?o.map((e=>"function"==typeof e&&e.__emotion_real!==e?r=>e(Nm({},r,{theme:tv(Nm({},r,{defaultTheme:n,themeId:t}))})):e)):[];let s=r;l&&d&&a.push((e=>{const r=tv(Nm({},e,{defaultTheme:n,themeId:t})),o=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(l,r);if(o){const t={};return Object.entries(o).forEach((([n,o])=>{t[n]="function"==typeof o?o(Nm({},e,{theme:r})):o})),d(e,t)}return null})),l&&!f&&a.push((e=>{const r=tv(Nm({},e,{defaultTheme:n,themeId:t}));return((e,t,n,r)=>{var o;const{ownerState:i={}}=e,a=[],l=null==n||null==(o=n.components)||null==(o=o[r])?void 0:o.variants;return l&&l.forEach((n=>{let r=!0;Object.keys(n.props).forEach((t=>{i[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&a.push(t[Xg(n.props)])})),a})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach((e=>{const t=Xg(e.props);r[t]=e.style})),r})(l,r),r,l)})),h||a.push(i);const c=a.length-o.length;if(Array.isArray(r)&&c>0){const e=new Array(c).fill("");s=[...r,...e],s.raw=[...r.raw,...e]}else"function"==typeof r&&r.__emotion_real!==r&&(s=e=>r(Nm({},e,{theme:tv(Nm({},e,{defaultTheme:n,themeId:t}))})));const u=g(s,...a);return e.muiName&&(u.muiName=e.muiName),u};return g.withConfig&&(v.withConfig=g.withConfig),v}}var ov=rv();function iv({props:e,name:t,defaultTheme:n,themeId:r}){let o=Fg(n);r&&(o=o[r]||o);const i=function(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?bf(t.components[n].defaultProps,r):r}({theme:o,name:t,props:e});return i}function av(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function lv(e){if(e.type)return e;if("#"===e.charAt(0))return lv(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Lp(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(Lp(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function sv(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function cv(e){let t="hsl"===(e=lv(e)).type||"hsla"===e.type?lv(function(e){e=lv(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),sv({type:l,values:s})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function uv(e,t){return e=lv(e),t=av(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,sv(e)}function dv(){return dv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dv.apply(this,arguments)}var pv=H.createContext(null);function fv(){return H.useContext(pv)}var hv="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function mv(e){const{children:t,theme:n}=e,r=fv(),o=H.useMemo((()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return dv({},e,t)}(r,n);return null!=e&&(e[hv]=null!==r),e}),[n,r]);return Om.jsx(pv.Provider,{value:o,children:t})}const gv={};function vv(e,t,n,r=!1){return H.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?Nm({},t,{[e]:i}):i;return r?()=>a:a}return Nm({},t,e?{[e]:n}:n)}),[e,t,n,r])}function bv(e){const{children:t,theme:n,themeId:r}=e,o=Ag(gv),i=fv()||gv,a=vv(r,o,n),l=vv(r,i,n,!0);return Om.jsx(mv,{theme:l,children:Om.jsx(sm.Provider,{value:a,children:t})})}const yv=["component","direction","spacing","divider","children","className","useFlexGap"],xv=Dg(),Sv=ov("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function wv(e){return iv({props:e,name:"MuiStack",defaultTheme:xv})}function Ev(e,t){const n=H.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o<n.length-1&&e.push(H.cloneElement(t,{key:`separator-${o}`})),e)),[])}const Cv=({ownerState:e,theme:t})=>{let n=Nm({display:"flex",flexDirection:"column"},Wm({theme:t},Um({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=ng(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=Um({values:e.direction,base:o}),a=Um({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));n=kp(n,Wm({theme:t},a,((t,n)=>{return e.useFlexGap?{gap:rg(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:rg(r,t)}};var o})))}return n=function(e,...t){const n=$m(e),r=[n,...t].reduce(((e,t)=>kp(e,t)),{});return Hm(Object.keys(n),r)}(t.breakpoints,n),n};const kv=["defaultProps","mixins","overrides","palette","props","styleOverrides"],Lv=["type","mode"];var Rv={black:"#000",white:"#fff"};var Ov={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};var Iv={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var Tv={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var Pv={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var _v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var Nv={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var Mv={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const qv=["mode","contrastThreshold","tonalOffset"],zv={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Rv.white,default:Rv.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Dv={text:{primary:Rv.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Rv.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 Av(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=lv(e),t=av(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return sv(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=lv(e),t=av(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return sv(e)}(e.main,i)))}function jv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Rf(e,qv),i=e.primary||function(e="light"){return"dark"===e?{main:_v[200],light:_v[50],dark:_v[400]}:{main:_v[700],light:_v[400],dark:_v[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Iv[200],light:Iv[50],dark:Iv[400]}:{main:Iv[500],light:Iv[300],dark:Iv[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Tv[500],light:Tv[300],dark:Tv[700]}:{main:Tv[700],light:Tv[400],dark:Tv[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:Nv[400],light:Nv[300],dark:Nv[700]}:{main:Nv[700],light:Nv[500],dark:Nv[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Mv[400],light:Mv[300],dark:Mv[700]}:{main:Mv[800],light:Mv[500],dark:Mv[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Pv[400],light:Pv[300],dark:Pv[700]}:{main:"#ed6c02",light:Pv[500],dark:Pv[900]}}(t);function d(e){const t=function(e,t){const n=cv(e),r=cv(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Dv.text.primary)>=n?Dv.text.primary:zv.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=Lf({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(Lp(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(Lp(12,t?` (${t})`:"",JSON.stringify(e.main)));return Av(e,"light",o,r),Av(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Dv,light:zv};return kp(Lf({common:Lf({},Rv),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:Ov,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Fv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Bv={textTransform:"uppercase"},Wv='"Roboto", "Helvetica", "Arial", sans-serif';function $v(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Wv,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Rf(n,Fv),f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,i)=>{return Lf({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Wv?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,u);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,Bv),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Bv),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return kp(Lf({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function Hv(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var Uv=["none",Hv(0,2,1,-1,0,1,1,0,0,1,3,0),Hv(0,3,1,-2,0,2,2,0,0,1,5,0),Hv(0,3,3,-2,0,3,4,0,0,1,8,0),Hv(0,2,4,-1,0,4,5,0,0,1,10,0),Hv(0,3,5,-1,0,5,8,0,0,1,14,0),Hv(0,3,5,-1,0,6,10,0,0,1,18,0),Hv(0,4,5,-2,0,7,10,1,0,2,16,1),Hv(0,5,5,-3,0,8,10,1,0,3,14,2),Hv(0,5,6,-3,0,9,12,1,0,3,16,2),Hv(0,6,6,-3,0,10,14,1,0,4,18,3),Hv(0,6,7,-4,0,11,15,1,0,4,20,3),Hv(0,7,8,-4,0,12,17,2,0,5,22,4),Hv(0,7,8,-4,0,13,19,2,0,5,24,4),Hv(0,7,9,-4,0,14,21,2,0,5,26,4),Hv(0,8,9,-5,0,15,22,2,0,6,28,5),Hv(0,8,10,-5,0,16,24,2,0,6,30,5),Hv(0,8,11,-5,0,17,26,2,0,6,32,5),Hv(0,9,11,-5,0,18,28,2,0,7,34,6),Hv(0,9,12,-6,0,19,29,2,0,7,36,6),Hv(0,10,13,-6,0,20,31,3,0,8,38,7),Hv(0,10,13,-6,0,21,33,3,0,8,40,7),Hv(0,10,14,-6,0,22,35,3,0,8,42,7),Hv(0,11,14,-7,0,23,36,3,0,9,44,8),Hv(0,11,15,-7,0,24,38,3,0,9,46,8)];const Vv=["duration","easing","delay"],Gv={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)"},Kv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zv(e){return`${Math.round(e)}ms`}function Xv(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Qv(e){const t=Lf({},Gv,e.easing),n=Lf({},Kv,e.duration);return Lf({getAutoHeightDuration:Xv,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return Rf(r,Vv),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Zv(o)} ${i} ${"string"==typeof a?a:Zv(a)}`)).join(",")}},e,{easing:t,duration:n})}var Jv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Yv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function eb(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Rf(e,Yv);if(e.vars)throw new Error(Lp(18));const l=jv(r),s=Dg(e);let c=kp(s,{mixins:(u=s.breakpoints,d=n,Lf({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:Uv.slice(),typography:$v(l,i),transitions:Qv(o),zIndex:Lf({},Jv)});var u,d;return c=kp(c,a),c=t.reduce(((e,t)=>kp(e,t)),c),c.unstable_sxConfig=Lf({},Ng,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return qg({sx:e,theme:this})},c}var tb=eb();function nb(){const e=Fg(tb);return e[kf]||e}function rb({props:e,name:t}){return iv({props:e,name:t,defaultTheme:tb,themeId:kf})}const ob=e=>Jg(e)&&"classes"!==e;var ib=rv({themeId:kf,defaultTheme:tb,rootShouldForwardProp:ob});const ab=["theme"];function lb(e){let{theme:t}=e,n=Rf(e,ab);const r=t[kf];return Om.jsx(bv,Lf({},n,{themeId:r?kf:void 0,theme:r||t}))}var sb=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function cb(){return cb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cb.apply(this,arguments)}function ub(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function db(e,t){return db=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},db(e,t)}function pb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,db(e,t)}var fb=!1,hb=U.createContext(null),mb="unmounted",gb="exited",vb="entering",bb="entered",yb="exiting",xb=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=gb,r.appearStatus=vb):o=bb:o=t.unmountOnExit||t.mountOnEnter?mb:gb,r.state={status:o},r.nextCallback=null,r}pb(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===mb?{status:gb}: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!==vb&&n!==bb&&(t=vb):n!==vb&&n!==bb||(t=yb)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===vb){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:xp.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===gb&&this.setState({status:mb})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[xp.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||fb?this.safeSetState({status:bb},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:vb},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:bb},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:xp.findDOMNode(this);t&&!fb?(this.props.onExit(r),this.safeSetState({status:yb},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:gb},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:gb},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:xp.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===mb)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=ub(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return U.createElement(hb.Provider,{value:null},"function"==typeof n?n(e,r):U.cloneElement(U.Children.only(n),r))},t}(U.Component);function Sb(){}xb.contextType=hb,xb.propTypes={},xb.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Sb,onEntering:Sb,onEntered:Sb,onExit:Sb,onExiting:Sb,onExited:Sb},xb.UNMOUNTED=mb,xb.EXITED=gb,xb.ENTERING=vb,xb.ENTERED=bb,xb.EXITING=yb;var wb=xb;function Eb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cb(e,t){var n=Object.create(null);return e&&H.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&H.isValidElement(e)?t(e):e}(e)})),n}function kb(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Lb(e,t,n){var r=Cb(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var c=o[s][r];l[o[s][r]]=n(c)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(H.isValidElement(a)){var l=i in t,s=i in r,c=t[i],u=H.isValidElement(c)&&!c.props.in;!s||l&&!u?s||!l||u?s&&l&&H.isValidElement(c)&&(o[i]=H.cloneElement(a,{onExited:n.bind(null,a),in:c.props.in,exit:kb(a,"exit",e),enter:kb(a,"enter",e)})):o[i]=H.cloneElement(a,{in:!1}):o[i]=H.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:kb(a,"exit",e),enter:kb(a,"enter",e)})}})),o}var Rb=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ob=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(Eb(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}pb(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,Cb(n.children,(function(e){return H.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:kb(e,"appear",n),enter:kb(e,"enter",n),exit:kb(e,"exit",n)})}))):Lb(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Cb(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=cb({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=ub(e,["component","childFactory"]),o=this.state.contextValue,i=Rb(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?U.createElement(hb.Provider,{value:o},i):U.createElement(hb.Provider,{value:o},U.createElement(t,r,i))},t}(U.Component);Ob.propTypes={},Ob.defaultProps={component:"div",childFactory:function(e){return e}};var Ib=Ob;var Tb=Cf("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Pb=["center","classes","className"];let _b,Nb,Mb,qb,zb=e=>e;const Db=dm(_b||(_b=zb`
|
|
34
34
|
0% {
|
|
35
35
|
transform: scale(0);
|
|
36
36
|
opacity: 0.1;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
transform: scale(1);
|
|
41
41
|
opacity: 0.3;
|
|
42
42
|
}
|
|
43
|
-
`)),
|
|
43
|
+
`)),Ab=dm(Nb||(Nb=zb`
|
|
44
44
|
0% {
|
|
45
45
|
opacity: 1;
|
|
46
46
|
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
100% {
|
|
49
49
|
opacity: 0;
|
|
50
50
|
}
|
|
51
|
-
`)),
|
|
51
|
+
`)),jb=dm(Mb||(Mb=zb`
|
|
52
52
|
0% {
|
|
53
53
|
transform: scale(1);
|
|
54
54
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
100% {
|
|
61
61
|
transform: scale(1);
|
|
62
62
|
}
|
|
63
|
-
`)),
|
|
63
|
+
`)),Fb=ib("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Bb=ib((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:c}=e,[u,d]=H.useState(!1),p=Vg(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),f={width:a,height:a,top:-a/2+i,left:-a/2+o},h=Vg(n.child,u&&n.childLeaving,r&&n.childPulsate);return l||u||d(!0),H.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,c);return()=>{clearTimeout(e)}}}),[s,l,c]),Om.jsx("span",{className:p,style:f,children:Om.jsx("span",{className:h})})}),{name:"MuiTouchRipple",slot:"Ripple"})(qb||(qb=zb`
|
|
64
64
|
opacity: 0;
|
|
65
65
|
position: absolute;
|
|
66
66
|
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
animation-iteration-count: infinite;
|
|
104
104
|
animation-delay: 200ms;
|
|
105
105
|
}
|
|
106
|
-
`),_x.rippleVisible,jx,550,(({theme:e})=>e.transitions.easing.easeInOut),_x.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),_x.child,_x.childLeaving,Fx,550,(({theme:e})=>e.transitions.easing.easeInOut),_x.childPulsate,Bx,(({theme:e})=>e.transitions.easing.easeInOut)),Hx=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:a}=n,i=Lf(n,Nx),[l,s]=H.useState([]),c=H.useRef(0),u=H.useRef(null);H.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[l]);const d=H.useRef(!1),p=H.useRef(0),f=H.useRef(null),h=H.useRef(null);H.useEffect((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const m=H.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:i}=e;s((e=>[...e,Om.jsx($x,{classes:{ripple:Vg(o.ripple,_x.ripple),rippleVisible:Vg(o.rippleVisible,_x.rippleVisible),ripplePulsate:Vg(o.ripplePulsate,_x.ripplePulsate),child:Vg(o.child,_x.child),childLeaving:Vg(o.childLeaving,_x.childLeaving),childPulsate:Vg(o.childPulsate,_x.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},c.current)])),c.current+=1,u.current=i}),[o]),g=H.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const l=i?null:h.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(a)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,m]),v=H.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=H.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{b(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),u.current=t}),[]);return H.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),Om.jsx(Wx,Rf({className:Vg(_x.root,o.root,a),ref:h},i,{children:Om.jsx(Px,{component:null,exit:!0,children:l})}))}));var Ux=Hx;function Vx(e){return Ef("MuiButtonBase",e)}var Gx=Cf("MuiButtonBase",["root","disabled","focusVisible"]);const Kx=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Zx=rb("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Gx.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Xx=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:a,className:i,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:S,onMouseLeave:w,onMouseUp:E,onTouchEnd:C,onTouchMove:k,onTouchStart:R,tabIndex:L=0,TouchRippleProps:O,touchRippleRef:I,type:T}=n,P=Lf(n,Kx),_=H.useRef(null),N=H.useRef(null),M=af(N,I),{isFocusVisibleRef:q,onFocus:z,onBlur:D,ref:A}=mf(),[j,F]=H.useState(!1);s&&j&&F(!1),H.useImperativeHandle(r,(()=>({focusVisible:()=>{F(!0),_.current.focus()}})),[]);const[B,W]=H.useState(!1);H.useEffect((()=>{W(!0)}),[]);const $=B&&!c&&!s;function U(e,t,n=u){return of((r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0}))}H.useEffect((()=>{j&&d&&!c&&B&&N.current.pulsate()}),[c,d,j,B]);const V=U("start",S),G=U("stop",m),K=U("stop",g),Z=U("stop",E),X=U("stop",(e=>{j&&e.preventDefault(),w&&w(e)})),Q=U("start",R),J=U("stop",C),Y=U("stop",k),ee=U("stop",(e=>{D(e),!1===q.current&&F(!1),f&&f(e)}),!1),te=of((e=>{_.current||(_.current=e.currentTarget),z(e),!0===q.current&&(F(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=_.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=H.useRef(!1),oe=of((e=>{d&&!re.current&&j&&N.current&&" "===e.key&&(re.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ae=of((e=>{d&&" "===e.key&&N.current&&j&&!e.defaultPrevented&&(re.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ie=l;"button"===ie&&(P.href||P.to)&&(ie=p);const le={};"button"===ie?(le.type=void 0===T?"button":T,le.disabled=s):(P.href||P.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=af(t,A,_),ce=Rf({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:L,focusVisible:j}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=yf({root:["root",t&&"disabled",n&&"focusVisible"]},Vx,o);return n&&r&&(a.root+=` ${r}`),a})(ce);return Om.jsxs(Zx,Rf({as:ie,className:Vg(ue.root,i),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ae,onMouseDown:V,onMouseLeave:X,onMouseUp:Z,onDragLeave:K,onTouchEnd:J,onTouchMove:Y,onTouchStart:Q,ref:se,tabIndex:s?-1:L,type:T},le,P,{children:[a,$?Om.jsx(Ux,Rf({ref:M,center:o},O)):null]}))}));var Qx=Xx;function Jx(e){return Ef("MuiButton",e)}var Yx=Cf("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var eS=H.createContext({});const tS=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],nS=e=>Rf({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),rS=rb(Qx,{shouldForwardProp:e=>nb(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Vp(n.color)}`],t[`size${Vp(n.size)}`],t[`${n.variant}Size${Vp(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return Rf({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Rf({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:sv(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:sv(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:sv(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Rf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Yx.focusVisible}`]:Rf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Yx.disabled}`]:Rf({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${sv(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Yx.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Yx.disabled}`]:{boxShadow:"none"}})),oS=rb("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Vp(n.size)}`]]}})((({ownerState:e})=>Rf({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},nS(e)))),aS=rb("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Vp(n.size)}`]]}})((({ownerState:e})=>Rf({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},nS(e)))),iS=H.forwardRef((function(e,t){const n=H.useContext(eS),r=tb({props:bf(n,e),name:"MuiButton"}),{children:o,color:a="primary",component:i="button",className:l,disabled:s=!1,disableElevation:c=!1,disableFocusRipple:u=!1,endIcon:d,focusVisibleClassName:p,fullWidth:f=!1,size:h="medium",startIcon:m,type:g,variant:v="text"}=r,b=Lf(r,tS),y=Rf({},r,{color:a,component:i,disabled:s,disableElevation:c,disableFocusRipple:u,fullWidth:f,size:h,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:i}=e;return Rf({},i,yf({root:["root",a,`${a}${Vp(t)}`,`size${Vp(o)}`,`${a}Size${Vp(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Vp(o)}`],endIcon:["endIcon",`iconSize${Vp(o)}`]},Jx,i))})(y),S=m&&Om.jsx(oS,{className:x.startIcon,ownerState:y,children:m}),w=d&&Om.jsx(aS,{className:x.endIcon,ownerState:y,children:d});return Om.jsxs(rS,Rf({ownerState:y,className:Vg(n.className,x.root,l),component:i,disabled:s,focusRipple:!u,focusVisibleClassName:Vg(x.focusVisible,p),ref:t,type:g},b,{classes:x,children:[S,o,w]}))}));var lS=iS,sS={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1},MuiCheckbox:{color:"secondary"},MuiRadio:{color:"secondary"},MuiTabs:{indicatorColor:"secondary"}}};const cS="#009845",uS="#3F8AB3",dS="#ffffff",pS="#404040",fS="#333333",hS="#1A1A1A",mS={mode:"light",palette:{primary:{main:pS,contrastText:dS},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:pS,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:"#545454",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:dS,default:dS,lightest:dS,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:uS,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:cS,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:dS,alternativeContrastText:pS,excludedContrastText:pS},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)"}}},gS={mode:"dark",palette:{primary:{main:fS,contrastText:dS},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:dS,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:dS,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:pS,lighter:fS,darker:"#262626",darkest:hS},custom:{focusBorder:uS,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:cS,alternative:fS,excluded:hS,mainContrastText:dS,alternativeContrastText:dS,excludedContrastText:dS},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)"}}},vS={},bS=e=>({MuiTypography:{root:{color:e.palette.text.primary}},MuiGrid:{variants:[{props:{alignItems:"center"},style:{"align-items":"center"}}]},MuiButtonBase:{root:{borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:hover":{backgroundColor:e.palette.btn.hover},"&:focus-visible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:active":{borderColor:"transparent",boxShadow:"none",backgroundColor:e.palette.btn.active},"&:not(:active):not(:focus-visible)":{borderColor:"transparent",boxShadow:"none"}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.btn.border},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px",["&.".concat(Yx.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none",["&.".concat(Yx.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none",["&.".concat(Yx.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(Yx.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function yS(e){let t=mS,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=gS));const r=JSON.stringify(t);if(vS[r])return vS[r];const o={palette:a(a({type:t.mode},sS.palette),t.palette),typography:a({},sS.typography),shadows:sS.shadows,props:a({},sS.props),shape:a({},sS.shape)};return vS[r]=Jv(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:a={},styleOverrides:i={}}=e,l=Rf({},Lf(e,Ev),{components:{}});Object.keys(t).forEach((e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n})),Object.keys(a).forEach((e=>{const t=l.components[e]||{};t.defaultProps=a[e],l.components[e]=t})),Object.keys(i).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=i[e],l.components[e]=t})),Object.keys(r).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=r[e],l.components[e]=t})),l.spacing=sg(e.spacing);const s=Dm(e.breakpoints||{}),c=l.spacing;l.mixins=Rf({gutters:(e={})=>Rf({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:Rf({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=Lf(o,Cv),f=d||u||"light";return l.palette=Rf({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(a(a({},o),{},{overrides:bS(o)}))),vS[r].name=n,vS[r]}Sf.configure((e=>"njs-".concat("c9e4","-").concat(e.replace("Mui",""))));var xS=U.createContext({language:null,theme:null,translator:null,constraints:{},interactions:{},themeApi:null}),SS=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]=H.useState(t);return H.useEffect((()=>(n.push(e),()=>{const t=n.indexOf(e);n.splice(t,1)})),[e]),[r]},r]};const[wS,ES]=SS({}),[CS,kS]=SS({}),[RS,LS]=SS({});function OS(e){if(!e.session)return[];const[t]=wS(),n=e?e.id:null;let r=t.get(n);return H.useEffect((()=>{e&&!r&&(r=function(e){let{app:t}=e;const n="".concat(t.id),r=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const{model:t,objectSelections:r}=LS.get(n)||{};t&&(await t.endSelections(e),LS.clear(n),r.emit("deactivated"))},o={begin:async e=>{var o;let{model:a,paths:i,accept:l=!0,objectSelections:s}=e;if(s===(null===(o=LS.get(n))||void 0===o?void 0:o.objectSelections))return;r(l),LS.set(n,{model:a,objectSelections:s});const c=Array.isArray(i)?i:[i],u=async e=>{try{await a.beginSelections(c),LS.set(n,{model:a,objectSelections:s})}catch(r){6003!==r.code||e?LS.clear(n):(await t.abortModal(l),u(!0))}};await u()},end:r};kS.set(n,o);const a={model:t,isInModal:()=>!!LS.get(n),isModal(e){var t;return e?(null===(t=LS.get(n))||void 0===t?void 0:t.objectSelections)===e:!!LS.get(n)},forward:()=>o.end().then((()=>t.forward())),back:()=>o.end().then((()=>t.back())),clear:()=>o.end().then((()=>t.clearAll())),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return o.end().then((()=>t.getField(e,n).then((e=>e.clear()))))}};return a}({app:e}),t.set(n,r),t.dispatch(!0))}),[e]),[r]}const IS={active:!0,select:!0,passive:!0,edit:!1};function TS(e){const t={},n={},r=function(e){const{constraints:t={},interactions:n={}}=e;if(Object.keys(n).length>0)return n;const r={};return Object.keys(t).forEach((e=>{r[e]=!t[e]})),r}(e);Object.keys(IS).forEach((e=>{void 0!==r[e]?(t[e]=r[e],n[e]=!r[e]):(t[e]=IS[e],n[e]=!IS[e])})),e.constraints=n,e.interactions=t}const PS=H.forwardRef(((e,t)=>{let{initialContext:n,app:r,renderCallback:o}=e;const[a]=OS(r),[i,l]=H.useState(n),[s,c]=H.useState(),{theme:u}=H.useMemo((()=>({theme:yS(s)})),[s]),[d,p]=H.useState([]);return H.useEffect((()=>{o&&o()}),[]),H.useImperativeHandle(t,(()=>({setComps(e){p([...e])},setMuiThemeName:c,setContext:e=>l((t=>JSON.stringify(t)!==JSON.stringify(e)?e:t)),getAppSelections:()=>a})),[]),U.createElement(Tm,{injectFirst:!0},U.createElement(ab,{theme:u},U.createElement(xS.Provider,{value:i},d)))}));function _S(e){return Ef("MuiSvgIcon",e)}Cf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const NS=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],MS=rb("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Vp(n.color)}`],t[`fontSize${Vp(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,a,i,l,s,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(i=a.pxToRem)?void 0:i.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),qS=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=Lf(n,NS),f=H.isValidElement(r)&&"svg"===r.type,h=Rf({},n,{color:a,component:i,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:f}),m={};c||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return yf({root:["root","inherit"!==t&&`color${Vp(t)}`,`fontSize${Vp(n)}`]},_S,r)})(h);return Om.jsxs(MS,Rf({as:i,className:Vg(g.root,o),focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,f&&r.props,{ownerState:h,children:[f?r.props.children:r,u?Om.jsx("title",{children:u}):null]}))}));qS.muiName="SvgIcon";var zS=qS;function DS(e,t){function n(n,r){return Om.jsx(zS,Rf({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=zS.muiName,H.memo(H.forwardRef(n))}const AS={configure:e=>{Sf.configure(e)}};var jS=Object.freeze({__proto__:null,capitalize:Vp,createChainedFunction:Gp,createSvgIcon:DS,debounce:Kp,deprecatedPropType:function(e,t){return()=>null},isMuiElement:Zp,ownerDocument:Xp,ownerWindow:Qp,requirePropFactory:function(e,t){return()=>null},setRef:Jp,unstable_ClassNameGenerator:AS,unstable_useEnhancedEffect:Yp,unstable_useId:nf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:rf,useEventCallback:of,useForkRef:af,useIsFocusVisible:mf});const FS=e=>e.scrollTop;function BS(e,t){var n,r;const{timeout:o,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=i.transitionTimingFunction)?r:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function WS(e){return Ef("MuiPaper",e)}Cf("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const $S=["className","component","elevation","square","variant"],HS=rb("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return Rf({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&Rf({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${sv("#fff",ib(t.elevation))}, ${sv("#fff",ib(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),US=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:a=1,square:i=!1,variant:l="elevation"}=n,s=Lf(n,$S),c=Rf({},n,{component:o,elevation:a,square:i,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return yf({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},WS,o)})(c);return Om.jsx(HS,Rf({as:o,ownerState:c,className:Vg(u.root,r),ref:t},s))}));var VS=US;function GS(e){return Ef("MuiIconButton",e)}var KS=Cf("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const ZS=["edge","children","className","color","disabled","disableFocusRipple","size"],XS=rb(Qx,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Vp(n.color)}`],n.edge&&t[`edge${Vp(n.edge)}`],t[`size${Vp(n.size)}`]]}})((({theme:e,ownerState:t})=>Rf({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:sv(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return Rf({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&Rf({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":Rf({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:sv(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${KS.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),QS=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:a,color:i="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=Lf(n,ZS),d=Rf({},n,{edge:r,color:i,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:a}=e;return yf({root:["root",n&&"disabled","default"!==r&&`color${Vp(r)}`,o&&`edge${Vp(o)}`,`size${Vp(a)}`]},GS,t)})(d);return Om.jsx(XS,Rf({className:Vg(p.root,a),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))}));var JS=QS;function YS(e){return Ef("MuiTypography",e)}Cf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const ew=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],tw=rb("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Vp(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>Rf({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),nw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},rw={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ow=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiTypography"}),r=(e=>rw[e]||e)(n.color),o=Hg(Rf({},n,{color:r})),{align:a="inherit",className:i,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=nw}=o,f=Lf(o,ew),h=Rf({},o,{align:a,color:r,className:i,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=l||(u?"p":p[d]||nw[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:i}=e;return yf({root:["root",a,"inherit"!==e.align&&`align${Vp(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},YS,i)})(h);return Om.jsx(tw,Rf({as:m,ref:t,ownerState:h,className:Vg(g.root,i)},f))}));var aw=ow;const iw=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],lw=rb(Ky,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sw=H.forwardRef((function(e,t){var n;const r=Ag(),o=tb({props:e,name:"MuiPopper"}),{anchorEl:a,component:i,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:v,slots:b,slotProps:y}=o,x=Lf(o,iw),S=null!=(n=null==b?void 0:b.root)?n:null==l?void 0:l.Root,w=Rf({anchorEl:a,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:v},x);return Om.jsx(lw,Rf({as:i,direction:null==r?void 0:r.direction,slots:{root:S},slotProps:null!=y?y:s},w,{ref:t}))}));var cw=sw;function uw({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}var dw=H.createContext(void 0);function pw(){return H.useContext(dw)}function fw(e){return Om.jsx(Bg,Rf({},e,{defaultTheme:Yv,themeId:kf}))}function hw(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function mw(e){return Ef("MuiInputBase",e)}var gw=Cf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const vw=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],bw=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Vp(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},yw=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xw=rb("div",{name:"MuiInputBase",slot:"Root",overridesResolver:bw})((({theme:e,ownerState:t})=>Rf({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${gw.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Rf({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),Sw=rb("input",{name:"MuiInputBase",slot:"Input",overridesResolver:yw})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=Rf({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return Rf({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${gw.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${gw.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),ww=Om.jsx(fw,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Ew=H.forwardRef((function(e,t){var n;const r=tb({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:i,className:l,components:s={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:v={},inputRef:b,maxRows:y,minRows:x,multiline:S=!1,name:w,onBlur:E,onChange:C,onClick:k,onFocus:R,onKeyDown:L,onKeyUp:O,placeholder:I,readOnly:T,renderSuffix:P,rows:_,slotProps:N={},slots:M={},startAdornment:q,type:z="text",value:D}=r,A=Lf(r,vw),j=null!=v.value?v.value:D,{current:F}=H.useRef(null!=j),B=H.useRef(),W=H.useCallback((e=>{}),[]),$=af(B,b,v.ref,W),[U,V]=H.useState(!1),G=pw(),K=uw({props:r,muiFormControl:G,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=G?G.focused:U,H.useEffect((()=>{!G&&d&&U&&(V(!1),E&&E())}),[G,d,U,E]);const Z=G&&G.onFilled,X=G&&G.onEmpty,Q=H.useCallback((e=>{!function(e,t=!1){return e&&(hw(e.value)&&""!==e.value||t&&hw(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():Z&&Z()}),[Z,X]);Yp((()=>{F&&Q({value:j})}),[j,Q,F]);H.useEffect((()=>{Q(B.current)}),[]);let J=g,Y=v;S&&"input"===J&&(Y=Rf(_?{type:void 0,minRows:_,maxRows:_}:{type:void 0,maxRows:y,minRows:x},Y),J=ux);H.useEffect((()=>{G&&G.setAdornedStart(Boolean(q))}),[G,q]);const ee=Rf({},r,{color:K.color||"primary",disabled:K.disabled,endAdornment:f,error:K.error,focused:K.focused,formControl:G,fullWidth:h,hiddenLabel:K.hiddenLabel,multiline:S,size:K.size,startAdornment:q,type:z}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return yf({root:["root",`color${Vp(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",i&&"focused",l&&"formControl","small"===p&&"sizeSmall",u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},mw,t)})(ee),ne=M.root||s.Root||xw,re=N.root||c.root||{},oe=M.input||s.Input||Sw;return Y=Rf({},Y,null!=(n=N.input)?n:c.input),Om.jsxs(H.Fragment,{children:[!p&&ww,Om.jsxs(ne,Rf({},re,!sb(ne)&&{ownerState:Rf({},ee,re.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),k&&!K.disabled&&k(e)}},A,{className:Vg(te.root,re.className,l,T&&"MuiInputBase-readOnly"),children:[q,Om.jsx(dw.Provider,{value:null,children:Om.jsx(oe,Rf({ownerState:ee,"aria-invalid":K.error,"aria-describedby":o,autoComplete:a,autoFocus:i,defaultValue:u,disabled:K.disabled,id:m,onAnimationStart:e=>{Q("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:w,placeholder:I,readOnly:T,required:K.required,rows:_,value:j,onKeyDown:L,onKeyUp:O,type:z},Y,!sb(oe)&&{as:J,ownerState:Rf({},ee,Y.ownerState)},{ref:$,className:Vg(te.input,Y.className,T&&"MuiInputBase-readOnly"),onBlur:e=>{E&&E(e),v.onBlur&&v.onBlur(e),G&&G.onBlur?G.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!F){const t=e.target||B.current;if(null==t)throw new Error(Rp(1));Q({value:t.value})}v.onChange&&v.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{K.disabled?e.stopPropagation():(R&&R(e),v.onFocus&&v.onFocus(e),G&&G.onFocus?G.onFocus(e):V(!0))}}))}),f,P?P(Rf({},K,{startAdornment:q})):null]}))]})}));var Cw=Ew;function kw(e){return Ef("MuiOutlinedInput",e)}var Rw=Rf({},gw,Cf("MuiOutlinedInput",["root","notchedOutline","input"]));const Lw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ow={entering:{opacity:1},entered:{opacity:1}},Iw=H.forwardRef((function(e,t){const n=eb(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:v=Cx}=e,b=Lf(e,Lw),y=H.useRef(null),x=af(y,i.ref,t),S=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},w=S(d),E=S(((e,t)=>{FS(e);const r=BS({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)})),C=S(u),k=S(h),R=S((e=>{const t=BS({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),L=S(f);return Om.jsx(v,Rf({appear:a,in:s,nodeRef:y,onEnter:E,onEntered:C,onEntering:w,onExit:R,onExited:L,onExiting:k,addEndListener:e=>{o&&o(y.current,e)},timeout:g},b,{children:(e,t)=>H.cloneElement(i,Rf({style:Rf({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Ow[e],m,i.props.style),ref:x},t))}))}));var Tw=Iw;function Pw(e){return Ef("MuiBackdrop",e)}Cf("MuiBackdrop",["root","invisible"]);const _w=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Nw=rb("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Rf({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),Mw=H.forwardRef((function(e,t){var n,r,o;const a=tb({props:e,name:"MuiBackdrop"}),{children:i,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=Tw,transitionDuration:g}=a,v=Lf(a,_w),b=Rf({},a,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return yf({root:["root",n&&"invisible"]},Pw,t)})(b),x=null!=(n=f.root)?n:u.root;return Om.jsx(m,Rf({in:p,timeout:g},v,{children:Om.jsx(Nw,Rf({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:c.Root)?r:s,className:Vg(y.root,l,null==x?void 0:x.className),ownerState:Rf({},b,null==x?void 0:x.ownerState),classes:y,ref:t,children:i}))}))}));var qw=Mw;function zw(e){return Ef("MuiBadge",e)}var Dw=Cf("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);const Aw=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],jw=rb("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Fw=rb("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Vp(n.anchorOrigin.vertical)}${Vp(n.anchorOrigin.horizontal)}${Vp(n.overlap)}`],"default"!==n.color&&t[`color${Vp(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>Rf({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Dw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),Bw=H.forwardRef((function(e,t){var n,r,o,a,i,l;const s=tb({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:p={},componentsProps:f={},children:h,overlap:m="rectangular",color:g="default",invisible:v=!1,max:b=99,badgeContent:y,slots:x,slotProps:S,showZero:w=!1,variant:E="standard"}=s,C=Lf(s,Aw),{badgeContent:k,invisible:R,max:L,displayValue:O}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,a=vf({badgeContent:t,max:r});let i=n;!1!==n||0!==t||o||(i=!0);const{badgeContent:l,max:s=r}=i?a:e;return{badgeContent:l,invisible:i,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:b,invisible:v,badgeContent:y,showZero:w}),I=vf({anchorOrigin:c,color:g,overlap:m,variant:E,badgeContent:y}),T=R||null==k&&"dot"!==E,{color:P=g,overlap:_=m,anchorOrigin:N=c,variant:M=E}=T?I:s,q="dot"!==M?O:void 0,z=Rf({},s,{badgeContent:k,invisible:T,max:L,displayValue:q,showZero:w,anchorOrigin:N,color:P,overlap:_,variant:M}),D=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:a,classes:i={}}=e;return yf({root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${Vp(n.vertical)}${Vp(n.horizontal)}`,`anchorOrigin${Vp(n.vertical)}${Vp(n.horizontal)}${Vp(o)}`,`overlap${Vp(o)}`,"default"!==t&&`color${Vp(t)}`]},zw,i)})(z),A=null!=(n=null!=(r=null==x?void 0:x.root)?r:p.Root)?n:jw,j=null!=(o=null!=(a=null==x?void 0:x.badge)?a:p.Badge)?o:Fw,F=null!=(i=null==S?void 0:S.root)?i:f.root,B=null!=(l=null==S?void 0:S.badge)?l:f.badge,W=bb({elementType:A,externalSlotProps:F,externalForwardedProps:C,additionalProps:{ref:t,as:d},ownerState:z,className:Vg(null==F?void 0:F.className,D.root,u)}),$=bb({elementType:j,externalSlotProps:B,ownerState:z,className:Vg(D.badge,null==B?void 0:B.className)});return Om.jsxs(A,Rf({},W,{children:[h,Om.jsx(j,Rf({},$,{children:q}))]}))}));var Ww=Bw;const $w=Jv(),Hw=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,a=_m("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(qg),i=H.forwardRef((function(e,i){const l=Fg(n),s=Hg(e),{className:c,component:u="div"}=s,d=Mm(s,Gg);return Om.jsx(a,Nm({as:u,ref:i,className:Vg(c,o?o(r):r),theme:t&&l[t]||l},d))}));return i}({themeId:kf,defaultTheme:$w,defaultClassName:"MuiBox-root",generateClassName:Sf.generate});var Uw=Hw;function Vw(e){return Ef("PrivateSwitchBase",e)}Cf("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Gw=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Kw=rb(Qx)((({ownerState:e})=>Rf({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Zw=rb("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Xw=H.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:a,defaultChecked:i,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:g,onFocus:v,readOnly:b,required:y=!1,tabIndex:x,type:S,value:w}=e,E=Lf(e,Gw),[C,k]=rf({controlled:r,default:Boolean(i),name:"SwitchBase",state:"checked"}),R=pw();let L=l;R&&void 0===L&&(L=R.disabled);const O="checkbox"===S||"radio"===S,I=Rf({},e,{checked:C,disabled:L,disableFocusRipple:s,edge:c}),T=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return yf({root:["root",n&&"checked",r&&"disabled",o&&`edge${Vp(o)}`],input:["input"]},Vw,t)})(I);return Om.jsxs(Kw,Rf({component:"span",className:Vg(T.root,a),centerRipple:!0,focusRipple:!s,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),R&&R.onFocus&&R.onFocus(e)},onBlur:e=>{m&&m(e),R&&R.onBlur&&R.onBlur(e)},ownerState:I,ref:t},E,{children:[Om.jsx(Zw,Rf({autoFocus:n,checked:r,defaultChecked:i,className:T.input,disabled:L,id:O?d:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;k(t),g&&g(e,t)},readOnly:b,ref:f,required:y,ownerState:I,tabIndex:x,type:S},"checkbox"===S&&void 0===w?{}:{value:w},p)),C?o:u]}))}));var Qw=Xw,Jw=DS(Om.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Yw=DS(Om.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),eE=DS(Om.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function tE(e){return Ef("MuiCheckbox",e)}var nE=Cf("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]);const rE=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],oE=rb(Qw,{shouldForwardProp:e=>nb(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${Vp(n.color)}`]]}})((({theme:e,ownerState:t})=>Rf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:sv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${nE.checked}, &.${nE.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${nE.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),aE=Om.jsx(Yw,{}),iE=Om.jsx(Jw,{}),lE=Om.jsx(eE,{}),sE=H.forwardRef((function(e,t){var n,r;const o=tb({props:e,name:"MuiCheckbox"}),{checkedIcon:a=aE,color:i="primary",icon:l=iE,indeterminate:s=!1,indeterminateIcon:c=lE,inputProps:u,size:d="medium",className:p}=o,f=Lf(o,rE),h=s?c:l,m=s?c:a,g=Rf({},o,{color:i,indeterminate:s,size:d}),v=(e=>{const{classes:t,indeterminate:n,color:r}=e;return Rf({},t,yf({root:["root",n&&"indeterminate",`color${Vp(r)}`]},tE,t))})(g);return Om.jsx(oE,Rf({type:"checkbox",inputProps:Rf({"data-indeterminate":s},u),icon:H.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),checkedIcon:H.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:g,ref:t,className:Vg(v.root,p)},f,{classes:v}))}));var cE=sE;function uE(e){return Ef("MuiCircularProgress",e)}Cf("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const dE=["className","color","disableShrink","size","style","thickness","value","variant"];let pE,fE,hE,mE,gE=e=>e;const vE=44,bE=dm(pE||(pE=gE`
|
|
106
|
+
`),Tb.rippleVisible,Db,550,(({theme:e})=>e.transitions.easing.easeInOut),Tb.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Tb.child,Tb.childLeaving,Ab,550,(({theme:e})=>e.transitions.easing.easeInOut),Tb.childPulsate,jb,(({theme:e})=>e.transitions.easing.easeInOut)),Wb=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=Rf(n,Pb),[l,s]=H.useState([]),c=H.useRef(0),u=H.useRef(null);H.useEffect((()=>{u.current&&(u.current(),u.current=null)}),[l]);const d=H.useRef(!1),p=H.useRef(0),f=H.useRef(null),h=H.useRef(null);H.useEffect((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const m=H.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s((e=>[...e,Om.jsx(Bb,{classes:{ripple:Vg(o.ripple,Tb.ripple),rippleVisible:Vg(o.rippleVisible,Tb.rippleVisible),ripplePulsate:Vg(o.ripplePulsate,Tb.ripplePulsate),child:Vg(o.child,Tb.child),childLeaving:Vg(o.childLeaving,Tb.childLeaving),childPulsate:Vg(o.childPulsate,Tb.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},c.current)])),c.current+=1,u.current=a}),[o]),g=H.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&d.current)return void(d.current=!1);"touchstart"===(null==e?void 0:e.type)&&(d.current=!0);const l=a?null:h.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(i)g=Math.sqrt((2*s.width**2+s.height**2)/3),g%2==0&&(g+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})},p.current=setTimeout((()=>{f.current&&(f.current(),f.current=null)}),80)):m({pulsate:o,rippleX:c,rippleY:u,rippleSize:g,cb:n})}),[r,m]),v=H.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=H.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void(p.current=setTimeout((()=>{b(e,t)})));f.current=null,s((e=>e.length>0?e.slice(1):e)),u.current=t}),[]);return H.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),Om.jsx(Fb,Lf({className:Vg(Tb.root,o.root,i),ref:h},a,{children:Om.jsx(Ib,{component:null,exit:!0,children:l})}))}));var $b=Wb;function Hb(e){return Ef("MuiButtonBase",e)}var Ub=Cf("MuiButtonBase",["root","disabled","focusVisible"]);const Vb=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Gb=ib("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ub.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Kb=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:u=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:f,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:S,onMouseLeave:w,onMouseUp:E,onTouchEnd:C,onTouchMove:k,onTouchStart:L,tabIndex:R=0,TouchRippleProps:O,touchRippleRef:I,type:T}=n,P=Rf(n,Vb),_=H.useRef(null),N=H.useRef(null),M=af(N,I),{isFocusVisibleRef:q,onFocus:z,onBlur:D,ref:A}=mf(),[j,F]=H.useState(!1);s&&j&&F(!1),H.useImperativeHandle(r,(()=>({focusVisible:()=>{F(!0),_.current.focus()}})),[]);const[B,W]=H.useState(!1);H.useEffect((()=>{W(!0)}),[]);const $=B&&!c&&!s;function U(e,t,n=u){return of((r=>{t&&t(r);return!n&&N.current&&N.current[e](r),!0}))}H.useEffect((()=>{j&&d&&!c&&B&&N.current.pulsate()}),[c,d,j,B]);const V=U("start",S),G=U("stop",m),K=U("stop",g),Z=U("stop",E),X=U("stop",(e=>{j&&e.preventDefault(),w&&w(e)})),Q=U("start",L),J=U("stop",C),Y=U("stop",k),ee=U("stop",(e=>{D(e),!1===q.current&&F(!1),f&&f(e)}),!1),te=of((e=>{_.current||(_.current=e.currentTarget),z(e),!0===q.current&&(F(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=_.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},re=H.useRef(!1),oe=of((e=>{d&&!re.current&&j&&N.current&&" "===e.key&&(re.current=!0,N.current.stop(e,(()=>{N.current.start(e)}))),e.target===e.currentTarget&&ne()&&" "===e.key&&e.preventDefault(),y&&y(e),e.target===e.currentTarget&&ne()&&"Enter"===e.key&&!s&&(e.preventDefault(),h&&h(e))})),ie=of((e=>{d&&" "===e.key&&N.current&&j&&!e.defaultPrevented&&(re.current=!1,N.current.stop(e,(()=>{N.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let ae=l;"button"===ae&&(P.href||P.to)&&(ae=p);const le={};"button"===ae?(le.type=void 0===T?"button":T,le.disabled=s):(P.href||P.to||(le.role="button"),s&&(le["aria-disabled"]=s));const se=af(t,A,_),ce=Lf({},n,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:u,focusRipple:d,tabIndex:R,focusVisible:j}),ue=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=yf({root:["root",t&&"disabled",n&&"focusVisible"]},Hb,o);return n&&r&&(i.root+=` ${r}`),i})(ce);return Om.jsxs(Gb,Lf({as:ae,className:Vg(ue.root,a),ownerState:ce,onBlur:ee,onClick:h,onContextMenu:G,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:V,onMouseLeave:X,onMouseUp:Z,onDragLeave:K,onTouchEnd:J,onTouchMove:Y,onTouchStart:Q,ref:se,tabIndex:s?-1:R,type:T},le,P,{children:[i,$?Om.jsx($b,Lf({ref:M,center:o},O)):null]}))}));var Zb=Kb;function Xb(e){return Ef("MuiButton",e)}var Qb=Cf("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Jb=H.createContext({});const Yb=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],ey=e=>Lf({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),ty=ib(Zb,{shouldForwardProp:e=>ob(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Vp(n.color)}`],t[`size${Vp(n.size)}`],t[`${n.variant}Size${Vp(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return Lf({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Lf({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:uv(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:uv(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:uv(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Lf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Qb.focusVisible}`]:Lf({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Qb.disabled}`]:Lf({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${uv(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Qb.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Qb.disabled}`]:{boxShadow:"none"}})),ny=ib("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Vp(n.size)}`]]}})((({ownerState:e})=>Lf({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},ey(e)))),ry=ib("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Vp(n.size)}`]]}})((({ownerState:e})=>Lf({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},ey(e)))),oy=H.forwardRef((function(e,t){const n=H.useContext(Jb),r=rb({props:bf(n,e),name:"MuiButton"}),{children:o,color:i="primary",component:a="button",className:l,disabled:s=!1,disableElevation:c=!1,disableFocusRipple:u=!1,endIcon:d,focusVisibleClassName:p,fullWidth:f=!1,size:h="medium",startIcon:m,type:g,variant:v="text"}=r,b=Rf(r,Yb),y=Lf({},r,{color:i,component:a,disabled:s,disableElevation:c,disableFocusRipple:u,fullWidth:f,size:h,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return Lf({},a,yf({root:["root",i,`${i}${Vp(t)}`,`size${Vp(o)}`,`${i}Size${Vp(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Vp(o)}`],endIcon:["endIcon",`iconSize${Vp(o)}`]},Xb,a))})(y),S=m&&Om.jsx(ny,{className:x.startIcon,ownerState:y,children:m}),w=d&&Om.jsx(ry,{className:x.endIcon,ownerState:y,children:d});return Om.jsxs(ty,Lf({ownerState:y,className:Vg(n.className,x.root,l),component:a,disabled:s,focusRipple:!u,focusVisibleClassName:Vg(x.focusVisible,p),ref:t,type:g},b,{classes:x,children:[S,o,w]}))}));var iy=oy,ay={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],props:{MuiButtonBase:{disableRipple:!0,disableTouchRipple:!0,focusRipple:!1},MuiCheckbox:{color:"secondary"},MuiRadio:{color:"secondary"},MuiTabs:{indicatorColor:"secondary"}}};const ly="#009845",sy="#3F8AB3",cy="#ffffff",uy="#404040",dy="#333333",py="#1A1A1A",fy={mode:"light",palette:{primary:{main:uy,contrastText:cy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:uy,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:"#545454",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:cy,default:cy,lightest:cy,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:sy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:ly,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:cy,alternativeContrastText:uy,excludedContrastText:uy},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)"}}},hy={mode:"dark",palette:{primary:{main:dy,contrastText:cy},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:cy,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:cy,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:uy,lighter:dy,darker:"#262626",darkest:py},custom:{focusBorder:sy,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:ly,alternative:dy,excluded:py,mainContrastText:cy,alternativeContrastText:cy,excludedContrastText:cy},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)"}}},my={},gy=e=>({MuiTypography:{root:{color:e.palette.text.primary}},MuiGrid:{variants:[{props:{alignItems:"center"},style:{"align-items":"center"}}]},MuiButtonBase:{root:{borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:hover":{backgroundColor:e.palette.btn.hover},"&:focus-visible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:active":{borderColor:"transparent",boxShadow:"none",backgroundColor:e.palette.btn.active},"&:not(:active):not(:focus-visible)":{borderColor:"transparent",boxShadow:"none"}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.btn.border},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px",["&.".concat(Qb.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none",["&.".concat(Qb.focusVisible)]:{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none",["&.".concat(Qb.disabled)]:{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},["&.".concat(Qb.disabled)]:{backgroundColor:e.palette.btn.disabled}}},MuiAccordionSummary:{content:{margin:"8px 0"}}});function vy(e){let t=fy,n="";"string"==typeof e&&(n=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=hy));const r=JSON.stringify(t);if(my[r])return my[r];const o={palette:i(i({type:t.mode},ay.palette),t.palette),typography:i({},ay.typography),shadows:ay.shadows,props:i({},ay.props),shape:i({},ay.shape)};return my[r]=eb(function(e){const{defaultProps:t={},mixins:n={},overrides:r={},palette:o={},props:i={},styleOverrides:a={}}=e,l=Lf({},Rf(e,kv),{components:{}});Object.keys(t).forEach((e=>{const n=l.components[e]||{};n.defaultProps=t[e],l.components[e]=n})),Object.keys(i).forEach((e=>{const t=l.components[e]||{};t.defaultProps=i[e],l.components[e]=t})),Object.keys(a).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=a[e],l.components[e]=t})),Object.keys(r).forEach((e=>{const t=l.components[e]||{};t.styleOverrides=r[e],l.components[e]=t})),l.spacing=sg(e.spacing);const s=Dm(e.breakpoints||{}),c=l.spacing;l.mixins=Lf({gutters:(e={})=>Lf({paddingLeft:c(2),paddingRight:c(2)},e,{[s.up("sm")]:Lf({paddingLeft:c(3),paddingRight:c(3)},e[s.up("sm")])})},n);const{type:u,mode:d}=o,p=Rf(o,Lv),f=d||u||"light";return l.palette=Lf({text:{hint:"dark"===f?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.38)"},mode:f,type:f},p),l}(i(i({},o),{},{overrides:gy(o)}))),my[r].name=n,my[r]}Sf.configure((e=>"njs-".concat("9b4b","-").concat(e.replace("Mui",""))));var by=U.createContext({language:null,theme:null,translator:null,constraints:{},interactions:{},themeApi:null}),yy=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]=H.useState(t);return H.useEffect((()=>(n.push(e),()=>{const t=n.indexOf(e);n.splice(t,1)})),[e]),[r]},r]};const[xy,Sy]=yy({}),[wy,Ey]=yy({}),[Cy,ky]=yy({});function Ly(e){if(!e.session)return[];const[t]=xy(),n=e?e.id:null;let r=t.get(n);return H.useEffect((()=>{e&&!r&&(r=function(e){let{app:t}=e;const n="".concat(t.id),r=async function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const{model:t,objectSelections:r}=ky.get(n)||{};t&&(await t.endSelections(e),ky.clear(n),r.emit("deactivated"))},o={begin:async e=>{var o;let{model:i,paths:a,accept:l=!0,objectSelections:s}=e;if(s===(null===(o=ky.get(n))||void 0===o?void 0:o.objectSelections))return;r(l),ky.set(n,{model:i,objectSelections:s});const c=Array.isArray(a)?a:[a],u=async e=>{try{await i.beginSelections(c),ky.set(n,{model:i,objectSelections:s})}catch(r){6003!==r.code||e?ky.clear(n):(await t.abortModal(l),u(!0))}};await u()},end:r};Ey.set(n,o);const i={model:t,isInModal:()=>!!ky.get(n),isModal(e){var t;return e?(null===(t=ky.get(n))||void 0===t?void 0:t.objectSelections)===e:!!ky.get(n)},forward:()=>o.end().then((()=>t.forward())),back:()=>o.end().then((()=>t.back())),clear:()=>o.end().then((()=>t.clearAll())),clearField(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return o.end().then((()=>t.getField(e,n).then((e=>e.clear()))))}};return i}({app:e}),t.set(n,r),t.dispatch(!0))}),[e]),[r]}const Ry={active:!0,select:!0,passive:!0,edit:!1};function Oy(e){const t={},n={},r=function(e){const{constraints:t={},interactions:n={}}=e;if(Object.keys(n).length>0)return n;const r={};return Object.keys(t).forEach((e=>{r[e]=!t[e]})),r}(e);Object.keys(Ry).forEach((e=>{void 0!==r[e]?(t[e]=r[e],n[e]=!r[e]):(t[e]=Ry[e],n[e]=!Ry[e])})),e.constraints=n,e.interactions=t}const Iy=H.forwardRef(((e,t)=>{let{initialContext:n,app:r,renderCallback:o}=e;const[i]=Ly(r),[a,l]=H.useState(n),[s,c]=H.useState(),{theme:u}=H.useMemo((()=>({theme:vy(s)})),[s]),[d,p]=H.useState([]);return H.useEffect((()=>{o&&o()}),[]),H.useImperativeHandle(t,(()=>({setComps(e){p([...e])},setMuiThemeName:c,setContext:e=>l((t=>JSON.stringify(t)!==JSON.stringify(e)?e:t)),getAppSelections:()=>i})),[]),U.createElement(Tm,{injectFirst:!0},U.createElement(lb,{theme:u},U.createElement(by.Provider,{value:a},d)))}));function Ty(e){return Ef("MuiSvgIcon",e)}Cf("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Py=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_y=ib("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Vp(n.color)}`],t[`fontSize${Vp(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),Ny=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:u,viewBox:d="0 0 24 24"}=n,p=Rf(n,Py),f=H.isValidElement(r)&&"svg"===r.type,h=Lf({},n,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:f}),m={};c||(m.viewBox=d);const g=(e=>{const{color:t,fontSize:n,classes:r}=e;return yf({root:["root","inherit"!==t&&`color${Vp(t)}`,`fontSize${Vp(n)}`]},Ty,r)})(h);return Om.jsxs(_y,Lf({as:a,className:Vg(g.root,o),focusable:"false",color:s,"aria-hidden":!u||void 0,role:u?"img":void 0,ref:t},m,p,f&&r.props,{ownerState:h,children:[f?r.props.children:r,u?Om.jsx("title",{children:u}):null]}))}));Ny.muiName="SvgIcon";var My=Ny;function qy(e,t){function n(n,r){return Om.jsx(My,Lf({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=My.muiName,H.memo(H.forwardRef(n))}const zy={configure:e=>{Sf.configure(e)}};var Dy=Object.freeze({__proto__:null,capitalize:Vp,createChainedFunction:Gp,createSvgIcon:qy,debounce:Kp,deprecatedPropType:function(e,t){return()=>null},isMuiElement:Zp,ownerDocument:Xp,ownerWindow:Qp,requirePropFactory:function(e,t){return()=>null},setRef:Jp,unstable_ClassNameGenerator:zy,unstable_useEnhancedEffect:Yp,unstable_useId:nf,unsupportedProp:function(e,t,n,r,o){return null},useControlled:rf,useEventCallback:of,useForkRef:af,useIsFocusVisible:mf});const Ay=e=>e.scrollTop;function jy(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function Fy(e){return Ef("MuiPaper",e)}Cf("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const By=["className","component","elevation","square","variant"],Wy=ib("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return Lf({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&Lf({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${uv("#fff",sb(t.elevation))}, ${uv("#fff",sb(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),$y=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiPaper"}),{className:r,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=Rf(n,By),c=Lf({},n,{component:o,elevation:i,square:a,variant:l}),u=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e;return yf({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},Fy,o)})(c);return Om.jsx(Wy,Lf({as:o,ownerState:c,className:Vg(u.root,r),ref:t},s))}));var Hy=$y;function Uy(e){return Ef("MuiIconButton",e)}var Vy=Cf("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const Gy=["edge","children","className","color","disabled","disableFocusRipple","size"],Ky=ib(Zb,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Vp(n.color)}`],n.edge&&t[`edge${Vp(n.edge)}`],t[`size${Vp(n.size)}`]]}})((({theme:e,ownerState:t})=>Lf({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:uv(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return Lf({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&Lf({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":Lf({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:uv(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Vy.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Zy=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:l=!1,disableFocusRipple:s=!1,size:c="medium"}=n,u=Rf(n,Gy),d=Lf({},n,{edge:r,color:a,disabled:l,disableFocusRipple:s,size:c}),p=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return yf({root:["root",n&&"disabled","default"!==r&&`color${Vp(r)}`,o&&`edge${Vp(o)}`,`size${Vp(i)}`]},Uy,t)})(d);return Om.jsx(Ky,Lf({className:Vg(p.root,i),centerRipple:!0,focusRipple:!s,disabled:l,ref:t,ownerState:d},u,{children:o}))}));var Xy=Zy;function Qy(e){return Ef("MuiTypography",e)}Cf("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Jy=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yy=ib("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Vp(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>Lf({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),ex={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},tx={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},nx=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiTypography"}),r=(e=>tx[e]||e)(n.color),o=Hg(Lf({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=ex}=o,f=Rf(o,Jy),h=Lf({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=l||(u?"p":p[d]||ex[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return yf({root:["root",i,"inherit"!==e.align&&`align${Vp(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Qy,a)})(h);return Om.jsx(Yy,Lf({as:m,ref:t,ownerState:h,className:Vg(g.root,a)},f))}));var rx=nx;function ox(){return ox=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ox.apply(this,arguments)}function ix(e){return"string"==typeof e}function ax(e,t,n){return void 0===e||ix(e)?t:ox({},t,{ownerState:ox({},t.ownerState,n)})}const lx={disableDefaultClasses:!1},sx=H.createContext(lx);function cx(e){const{disableDefaultClasses:t}=H.useContext(sx);return n=>t?"":e(n)}function ux(e,t,n){return"function"==typeof e?e(t,n):e}function dx(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function px(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function fx(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Vg(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),t=ox({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=ox({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(ox({},o,r)),l=px(r),s=px(o),c=t(a),u=Vg(null==c?void 0:c.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),d=ox({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=ox({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}const hx=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function mx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=dx(e,hx),l=i?{}:ux(r,o),{props:s,internalRef:c}=fx(ox({},a,{externalSlotProps:l}));return ax(n,ox({},s,{ref:af(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const gx=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function vx(e){const t=[],n=[];return Array.from(e.querySelectorAll(gx)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function bx(){return!0}function yx(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=vx,isEnabled:a=bx,open:l}=e,s=H.useRef(!1),c=H.useRef(null),u=H.useRef(null),d=H.useRef(null),p=H.useRef(null),f=H.useRef(!1),h=H.useRef(null),m=af(t.ref,h),g=H.useRef(null);H.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),H.useEffect((()=>{if(!l||!h.current)return;const e=Xp(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),H.useEffect((()=>{if(!l||!h.current)return;const e=Xp(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&a()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==u.current||(r=i(h.current)),r.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else s.current=!1},n=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,u.current&&u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,a,l,i]);const v=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Om.jsxs(H.Fragment,{children:[Om.jsx("div",{tabIndex:l?0:-1,onFocus:v,ref:c,"data-testid":"sentinelStart"}),H.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Om.jsx("div",{tabIndex:l?0:-1,onFocus:v,ref:u,"data-testid":"sentinelEnd"})]})}var xx="top",Sx="bottom",wx="right",Ex="left",Cx="auto",kx=[xx,Sx,wx,Ex],Lx="start",Rx="end",Ox="clippingParents",Ix="viewport",Tx="popper",Px="reference",_x=kx.reduce((function(e,t){return e.concat([t+"-"+Lx,t+"-"+Rx])}),[]),Nx=[].concat(kx,[Cx]).reduce((function(e,t){return e.concat([t,t+"-"+Lx,t+"-"+Rx])}),[]),Mx=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function qx(e){return e?(e.nodeName||"").toLowerCase():null}function zx(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Dx(e){return e instanceof zx(e).Element||e instanceof Element}function Ax(e){return e instanceof zx(e).HTMLElement||e instanceof HTMLElement}function jx(e){return"undefined"!=typeof ShadowRoot&&(e instanceof zx(e).ShadowRoot||e instanceof ShadowRoot)}var Fx={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ax(o)&&qx(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ax(r)&&qx(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Bx(e){return e.split("-")[0]}var Wx=Math.max,$x=Math.min,Hx=Math.round;function Ux(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Vx(){return!/^((?!chrome|android).)*safari/i.test(Ux())}function Gx(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Ax(e)&&(o=e.offsetWidth>0&&Hx(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Hx(r.height)/e.offsetHeight||1);var a=(Dx(e)?zx(e):window).visualViewport,l=!Vx()&&n,s=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Kx(e){var t=Gx(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Zx(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&jx(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Xx(e){return zx(e).getComputedStyle(e)}function Qx(e){return["table","td","th"].indexOf(qx(e))>=0}function Jx(e){return((Dx(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yx(e){return"html"===qx(e)?e:e.assignedSlot||e.parentNode||(jx(e)?e.host:null)||Jx(e)}function eS(e){return Ax(e)&&"fixed"!==Xx(e).position?e.offsetParent:null}function tS(e){for(var t=zx(e),n=eS(e);n&&Qx(n)&&"static"===Xx(n).position;)n=eS(n);return n&&("html"===qx(n)||"body"===qx(n)&&"static"===Xx(n).position)?t:n||function(e){var t=/firefox/i.test(Ux());if(/Trident/i.test(Ux())&&Ax(e)&&"fixed"===Xx(e).position)return null;var n=Yx(e);for(jx(n)&&(n=n.host);Ax(n)&&["html","body"].indexOf(qx(n))<0;){var r=Xx(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function nS(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function rS(e,t,n){return Wx(e,$x(t,n))}function oS(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function iS(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var aS={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Bx(n.placement),s=nS(l),c=[Ex,wx].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return oS("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:iS(e,kx))}(o.padding,n),d=Kx(i),p="y"===s?xx:Ex,f="y"===s?Sx:wx,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],g=tS(i),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,y=u[p],x=v-d[c]-u[f],S=v/2-d[c]/2+b,w=rS(y,S,x),E=s;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Zx(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lS(e){return e.split("-")[1]}var sS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cS(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,f=void 0===p?0:p,h=a.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Ex,x=xx,S=window;if(c){var w=tS(n),E="clientHeight",C="clientWidth";if(w===zx(n)&&"static"!==Xx(w=Jx(n)).position&&"absolute"===l&&(E="scrollHeight",C="scrollWidth"),o===xx||(o===Ex||o===wx)&&i===Rx)x=Sx,m-=(d&&w===S&&S.visualViewport?S.visualViewport.height:w[E])-r.height,m*=s?1:-1;if(o===Ex||(o===xx||o===Sx)&&i===Rx)y=wx,f-=(d&&w===S&&S.visualViewport?S.visualViewport.width:w[C])-r.width,f*=s?1:-1}var k,L=Object.assign({position:l},c&&sS),R=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Hx(n*o)/o||0,y:Hx(r*o)/o||0}}({x:f,y:m},zx(n)):{x:f,y:m};return f=R.x,m=R.y,s?Object.assign({},L,((k={})[x]=b?"0":"",k[y]=v?"0":"",k.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},L,((t={})[x]=b?m+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var uS={passive:!0};var dS={left:"right",right:"left",bottom:"top",top:"bottom"};function pS(e){return e.replace(/left|right|bottom|top/g,(function(e){return dS[e]}))}var fS={start:"end",end:"start"};function hS(e){return e.replace(/start|end/g,(function(e){return fS[e]}))}function mS(e){var t=zx(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function gS(e){return Gx(Jx(e)).left+mS(e).scrollLeft}function vS(e){var t=Xx(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function bS(e){return["html","body","#document"].indexOf(qx(e))>=0?e.ownerDocument.body:Ax(e)&&vS(e)?e:bS(Yx(e))}function yS(e,t){var n;void 0===t&&(t=[]);var r=bS(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=zx(r),a=o?[i].concat(i.visualViewport||[],vS(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(yS(Yx(a)))}function xS(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function SS(e,t,n){return t===Ix?xS(function(e,t){var n=zx(e),r=Jx(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;var c=Vx();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l+gS(e),y:s}}(e,n)):Dx(t)?function(e,t){var n=Gx(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):xS(function(e){var t,n=Jx(e),r=mS(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Wx(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Wx(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+gS(e),s=-r.scrollTop;return"rtl"===Xx(o||n).direction&&(l+=Wx(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Jx(e)))}function wS(e,t,n,r){var o="clippingParents"===t?function(e){var t=yS(Yx(e)),n=["absolute","fixed"].indexOf(Xx(e).position)>=0&&Ax(e)?tS(e):e;return Dx(n)?t.filter((function(e){return Dx(e)&&Zx(e,n)&&"body"!==qx(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce((function(t,n){var o=SS(e,n,r);return t.top=Wx(o.top,t.top),t.right=$x(o.right,t.right),t.bottom=$x(o.bottom,t.bottom),t.left=Wx(o.left,t.left),t}),SS(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ES(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Bx(o):null,a=o?lS(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case xx:t={x:l,y:n.y-r.height};break;case Sx:t={x:l,y:n.y+n.height};break;case wx:t={x:n.x+n.width,y:s};break;case Ex:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?nS(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Lx:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Rx:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function CS(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?Ox:l,c=n.rootBoundary,u=void 0===c?Ix:c,d=n.elementContext,p=void 0===d?Tx:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=oS("number"!=typeof g?g:iS(g,kx)),b=p===Tx?Px:Tx,y=e.rects.popper,x=e.elements[h?b:p],S=wS(Dx(x)?x:x.contextElement||Jx(e.elements.popper),s,u,a),w=Gx(e.elements.reference),E=ES({reference:w,element:y,strategy:"absolute",placement:o}),C=xS(Object.assign({},y,E)),k=p===Tx?C:w,L={top:S.top-k.top+v.top,bottom:k.bottom-S.bottom+v.bottom,left:S.left-k.left+v.left,right:k.right-S.right+v.right},R=e.modifiersData.offset;if(p===Tx&&R){var O=R[o];Object.keys(L).forEach((function(e){var t=[wx,Sx].indexOf(e)>=0?1:-1,n=[xx,Sx].indexOf(e)>=0?"y":"x";L[e]+=O[n]*t}))}return L}function kS(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Nx:s,u=lS(r),d=u?l?_x:_x.filter((function(e){return lS(e)===u})):kx,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=CS(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Bx(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var LS={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=Bx(g),b=s||(v===g||!h?[pS(g)]:function(e){if(Bx(e)===Cx)return[];var t=pS(e);return[hS(e),t,hS(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Bx(n)===Cx?kS(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,S=t.rects.popper,w=new Map,E=!0,C=y[0],k=0;k<y.length;k++){var L=y[k],R=Bx(L),O=lS(L)===Lx,I=[xx,Sx].indexOf(R)>=0,T=I?"width":"height",P=CS(t,{placement:L,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),_=I?O?wx:Ex:O?Sx:xx;x[T]>S[T]&&(_=pS(_));var N=pS(_),M=[];if(i&&M.push(P[R]<=0),l&&M.push(P[_]<=0,P[N]<=0),M.every((function(e){return e}))){C=L,E=!1;break}w.set(L,M)}if(E)for(var q=function(e){var t=y.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},z=h?3:1;z>0;z--){if("break"===q(z))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function RS(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function OS(e){return[xx,wx,Sx,Ex].some((function(t){return e[t]>=0}))}var IS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Nx.reduce((function(e,n){return e[n]=function(e,t,n){var r=Bx(e),o=[Ex,xx].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[Ex,wx].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var TS={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=CS(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Bx(t.placement),b=lS(t.placement),y=!b,x=nS(v),S="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,L="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(w){if(i){var I,T="y"===x?xx:Ex,P="y"===x?Sx:wx,_="y"===x?"height":"width",N=w[x],M=N+g[T],q=N-g[P],z=f?-C[_]/2:0,D=b===Lx?E[_]:C[_],A=b===Lx?-C[_]:-E[_],j=t.elements.arrow,F=f&&j?Kx(j):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[T],$=B[P],H=rS(0,E[_],F[_]),U=y?E[_]/2-z-H-W-L.mainAxis:D-H-W-L.mainAxis,V=y?-E[_]/2+z+H+$+L.mainAxis:A+H+$+L.mainAxis,G=t.elements.arrow&&tS(t.elements.arrow),K=G?"y"===x?G.clientTop||0:G.clientLeft||0:0,Z=null!=(I=null==R?void 0:R[x])?I:0,X=N+V-Z,Q=rS(f?$x(M,N+U-Z-K):M,N,f?Wx(q,X):q);w[x]=Q,O[x]=Q-N}if(l){var J,Y="x"===x?xx:Ex,ee="x"===x?Sx:wx,te=w[S],ne="y"===S?"height":"width",re=te+g[Y],oe=te-g[ee],ie=-1!==[xx,Ex].indexOf(v),ae=null!=(J=null==R?void 0:R[S])?J:0,le=ie?re:te-E[ne]-C[ne]-ae+L.altAxis,se=ie?te+E[ne]+C[ne]-ae-L.altAxis:oe,ce=f&&ie?function(e,t,n){var r=rS(e,t,n);return r>n?n:r}(le,te,se):rS(f?le:re,te,f?se:oe);w[S]=ce,O[S]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]};function PS(e,t,n){void 0===n&&(n=!1);var r=Ax(t),o=Ax(t)&&function(e){var t=e.getBoundingClientRect(),n=Hx(t.width)/e.offsetWidth||1,r=Hx(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=Jx(t),a=Gx(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==qx(t)||vS(i))&&(l=function(e){return e!==zx(e)&&Ax(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:mS(e);var t}(t)),Ax(t)?((s=Gx(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=gS(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function _S(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var NS={placement:"bottom",modifiers:[],strategy:"absolute"};function MS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function qS(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?NS:o;return function(e,t,n){void 0===n&&(n=i);var o,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},NS,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,o),l.scrollParents={reference:Dx(e)?yS(e):e.contextElement?yS(e.contextElement):[],popper:yS(t)};var a,c,p=function(e){var t=_S(e);return Mx.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,l.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:l,name:t,instance:u,options:r}),a=function(){};s.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(MS(t,n)){l.rects={reference:PS(t,tS(n),"fixed"===l.options.strategy),popper:Kx(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,d=o.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){d(),c=!0}};if(!MS(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var zS=qS({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=zx(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,uS)})),l&&s.addEventListener("resize",n.update,uS),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,uS)})),l&&s.removeEventListener("resize",n.update,uS)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ES({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:Bx(t.placement),variation:lS(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,cS(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,cS(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Fx,IS,LS,TS,aS,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=CS(t,{elementContext:"reference"}),l=CS(t,{altBoundary:!0}),s=RS(a,r),c=RS(l,o,i),u=OS(s),d=OS(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const DS=H.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=H.useState(null),l=af(H.isValidElement(n)?n.ref:null,t);if(Yp((()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),Yp((()=>{if(i&&!o)return Jp(t,i),()=>{Jp(t,null)}}),[t,i,o]),o){if(H.isValidElement(n)){const e={ref:l};return H.cloneElement(n,e)}return Om.jsx(H.Fragment,{children:n})}return Om.jsx(H.Fragment,{children:i?yp.createPortal(n,i):i})}));function AS(e){return Ef("MuiPopper",e)}Cf("MuiPopper",["root"]);const jS=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],FS=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function BS(e){return"function"==typeof e?e():e}const WS={},$S=H.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:i,disablePortal:a,modifiers:l,open:s,placement:c,popperOptions:u,popperRef:d,slotProps:p={},slots:f={},TransitionProps:h}=e,m=dx(e,jS),g=H.useRef(null),v=af(g,t),b=H.useRef(null),y=af(b,d),x=H.useRef(y);Yp((()=>{x.current=y}),[y]),H.useImperativeHandle(d,(()=>b.current),[]);const S=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,i),[w,E]=H.useState(S),[C,k]=H.useState(BS(r));H.useEffect((()=>{b.current&&b.current.forceUpdate()})),H.useEffect((()=>{r&&k(BS(r))}),[r]),Yp((()=>{if(!C||!s)return;let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{E(e.placement)}}];null!=l&&(e=e.concat(l)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=zS(C,g.current,ox({placement:S},u,{modifiers:e}));return x.current(t),()=>{t.destroy(),x.current(null)}}),[C,a,l,s,u,S]);const L={placement:w};null!==h&&(L.TransitionProps=h);const R=yf({root:["root"]},cx(AS)),O=null!=(n=f.root)?n:"div",I=mx({elementType:O,externalSlotProps:p.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:v},ownerState:e,className:R.root});return Om.jsx(O,ox({},I,{children:"function"==typeof o?o(L):o}))})),HS=H.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:s,open:c,placement:u="bottom",popperOptions:d=WS,popperRef:p,style:f,transition:h=!1,slotProps:m={},slots:g={}}=e,v=dx(e,FS),[b,y]=H.useState(!0);if(!l&&!c&&(!h||b))return null;let x;if(o)x=o;else if(n){const e=BS(n);x=e&&void 0!==e.nodeType?Xp(e).body:Xp(null).body}const S=c||!l||h&&!b?void 0:"none",w=h?{in:c,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:void 0;return Om.jsx(DS,{disablePortal:a,container:x,children:Om.jsx($S,ox({anchorEl:n,direction:i,disablePortal:a,modifiers:s,ref:t,open:h?!b:c,placement:u,popperOptions:d,popperRef:p,slotProps:m,slots:g},v,{style:ox({position:"fixed",top:0,left:0,display:S},f),TransitionProps:w,children:r}))})}));function US(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function VS(e){return parseInt(Qp(e).getComputedStyle(e).paddingRight,10)||0}function GS(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&US(e,o)}))}function KS(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function ZS(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Xp(e);return t.body===e?Qp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=gf(Xp(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${VS(r)+e}px`;const t=Xp(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${VS(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Xp(r).body;else{const t=r.parentElement,n=Qp(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function XS(e){return Ef("MuiModal",e)}Cf("MuiModal",["root","hidden","backdrop"]);const QS=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"];const JS=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&US(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);GS(t,e.mount,e.modalRef,r,!0);const o=KS(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=KS(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=ZS(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=KS(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&US(e.modalRef,t),GS(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&US(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},YS=H.forwardRef((function(e,t){var n,r;const{children:o,closeAfterTransition:i=!1,container:a,disableAutoFocus:l=!1,disableEnforceFocus:s=!1,disableEscapeKeyDown:c=!1,disablePortal:u=!1,disableRestoreFocus:d=!1,disableScrollLock:p=!1,hideBackdrop:f=!1,keepMounted:h=!1,manager:m=JS,onBackdropClick:g,onClose:v,onKeyDown:b,open:y,onTransitionEnter:x,onTransitionExited:S,slotProps:w={},slots:E={}}=e,C=dx(e,QS),k=m,[L,R]=H.useState(!y),O=H.useRef({}),I=H.useRef(null),T=H.useRef(null),P=af(T,t),_=function(e){return!!e&&e.props.hasOwnProperty("in")}(o),N=null==(n=e["aria-hidden"])||n,M=()=>(O.current.modalRef=T.current,O.current.mountNode=I.current,O.current),q=()=>{k.mount(M(),{disableScrollLock:p}),T.current&&(T.current.scrollTop=0)},z=of((()=>{const e=function(e){return"function"==typeof e?e():e}(a)||Xp(I.current).body;k.add(M(),e),T.current&&q()})),D=H.useCallback((()=>k.isTopModal(M())),[k]),A=of((e=>{I.current=e,e&&T.current&&(y&&D()?q():US(T.current,N))})),j=H.useCallback((()=>{k.remove(M(),N)}),[k,N]);H.useEffect((()=>()=>{j()}),[j]),H.useEffect((()=>{y?z():_&&i||j()}),[y,j,_,i,z]);const F=ox({},e,{closeAfterTransition:i,disableAutoFocus:l,disableEnforceFocus:s,disableEscapeKeyDown:c,disablePortal:u,disableRestoreFocus:d,disableScrollLock:p,exited:L,hideBackdrop:f,keepMounted:h}),B=(e=>{const{open:t,exited:n}=e;return yf({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},cx(XS))})(F),W=()=>{R(!1),x&&x()},$=()=>{R(!0),S&&S(),i&&j()},U={};void 0===o.props.tabIndex&&(U.tabIndex="-1"),_&&(U.onEnter=Gp(W,o.props.onEnter),U.onExited=Gp($,o.props.onExited));const V=null!=(r=E.root)?r:"div",G=mx({elementType:V,externalSlotProps:w.root,externalForwardedProps:C,additionalProps:{ref:P,role:"presentation",onKeyDown:e=>{b&&b(e),"Escape"===e.key&&D()&&(c||(e.stopPropagation(),v&&v(e,"escapeKeyDown")))}},className:B.root,ownerState:F}),K=E.backdrop,Z=mx({elementType:K,externalSlotProps:w.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(g&&g(e),v&&v(e,"backdropClick"))},open:y},className:B.backdrop,ownerState:F});return h||y||_&&!L?Om.jsx(DS,{ref:A,container:a,disablePortal:u,children:Om.jsxs(V,ox({},G,{children:[!f&&K?Om.jsx(K,ox({},Z)):null,Om.jsx(yx,{disableEnforceFocus:s,disableAutoFocus:l,disableRestoreFocus:d,isEnabled:D,open:y,children:H.cloneElement(o,U)})]}))}):null})),ew=["onChange","maxRows","minRows","style","value"];function tw(e){return parseInt(e,10)||0}const nw={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function rw(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const ow=H.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=dx(e,ew),{current:s}=H.useRef(null!=a),c=H.useRef(null),u=af(t,c),d=H.useRef(null),p=H.useRef(0),[f,h]=H.useState({outerHeightStyle:0}),m=H.useCallback((()=>{const t=c.current,n=Qp(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const i=d.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n.boxSizing,l=tw(n.paddingBottom)+tw(n.paddingTop),s=tw(n.borderBottomWidth)+tw(n.borderTopWidth),u=i.scrollHeight;i.value="x";const p=i.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===a?l+s:0),overflow:Math.abs(f-u)<=1}}),[r,o,e.placeholder]),g=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},v=H.useCallback((()=>{const e=m();rw(e)||h((t=>g(t,e)))}),[m]);H.useEffect((()=>{const e=Kp((()=>{p.current=0,c.current&&(()=>{const e=m();rw(e)||yp.flushSync((()=>{h((t=>g(t,e)))}))})()}));let t;const n=c.current,r=Qp(n);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(n)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),Yp((()=>{v()})),H.useEffect((()=>{p.current=0}),[a]);return Om.jsxs(H.Fragment,{children:[Om.jsx("textarea",ox({value:a,onChange:e=>{p.current=0,s||v(),n&&n(e)},ref:u,rows:o,style:ox({height:f.outerHeightStyle,overflow:f.overflow?"hidden":void 0},i)},l)),Om.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:ox({},nw,i,{paddingTop:0,paddingBottom:0})})]})})),iw=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],aw=ib(HS,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lw=H.forwardRef((function(e,t){var n;const r=Ag(),o=rb({props:e,name:"MuiPopper"}),{anchorEl:i,component:a,components:l,componentsProps:s,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:v,slots:b,slotProps:y}=o,x=Rf(o,iw),S=null!=(n=null==b?void 0:b.root)?n:null==l?void 0:l.Root,w=Lf({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,transition:v},x);return Om.jsx(aw,Lf({as:a,direction:null==r?void 0:r.direction,slots:{root:S},slotProps:null!=y?y:s},w,{ref:t}))}));var sw=lw;function cw({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}var uw=H.createContext(void 0);function dw(){return H.useContext(uw)}function pw(e){return Om.jsx(Bg,Lf({},e,{defaultTheme:tb,themeId:kf}))}function fw(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function hw(e){return Ef("MuiInputBase",e)}var mw=Cf("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const gw=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],vw=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Vp(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},bw=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},yw=ib("div",{name:"MuiInputBase",slot:"Root",overridesResolver:vw})((({theme:e,ownerState:t})=>Lf({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${mw.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Lf({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),xw=ib("input",{name:"MuiInputBase",slot:"Input",overridesResolver:bw})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=Lf({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return Lf({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${mw.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${mw.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Sw=Om.jsx(pw,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),ww=H.forwardRef((function(e,t){var n;const r=rb({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:c={},defaultValue:u,disabled:d,disableInjectingGlobalStyles:p,endAdornment:f,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:v={},inputRef:b,maxRows:y,minRows:x,multiline:S=!1,name:w,onBlur:E,onChange:C,onClick:k,onFocus:L,onKeyDown:R,onKeyUp:O,placeholder:I,readOnly:T,renderSuffix:P,rows:_,slotProps:N={},slots:M={},startAdornment:q,type:z="text",value:D}=r,A=Rf(r,gw),j=null!=v.value?v.value:D,{current:F}=H.useRef(null!=j),B=H.useRef(),W=H.useCallback((e=>{}),[]),$=af(B,b,v.ref,W),[U,V]=H.useState(!1),G=dw(),K=cw({props:r,muiFormControl:G,states:["color","disabled","error","hiddenLabel","size","required","filled"]});K.focused=G?G.focused:U,H.useEffect((()=>{!G&&d&&U&&(V(!1),E&&E())}),[G,d,U,E]);const Z=G&&G.onFilled,X=G&&G.onEmpty,Q=H.useCallback((e=>{!function(e,t=!1){return e&&(fw(e.value)&&""!==e.value||t&&fw(e.defaultValue)&&""!==e.defaultValue)}(e)?X&&X():Z&&Z()}),[Z,X]);Yp((()=>{F&&Q({value:j})}),[j,Q,F]);H.useEffect((()=>{Q(B.current)}),[]);let J=g,Y=v;S&&"input"===J&&(Y=Lf(_?{type:void 0,minRows:_,maxRows:_}:{type:void 0,maxRows:y,minRows:x},Y),J=ow);H.useEffect((()=>{G&&G.setAdornedStart(Boolean(q))}),[G,q]);const ee=Lf({},r,{color:K.color||"primary",disabled:K.disabled,endAdornment:f,error:K.error,focused:K.focused,formControl:G,fullWidth:h,hiddenLabel:K.hiddenLabel,multiline:S,size:K.size,startAdornment:q,type:z}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:h}=e;return yf({root:["root",`color${Vp(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl","small"===p&&"sizeSmall",u&&"multiline",f&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},hw,t)})(ee),ne=M.root||s.Root||yw,re=N.root||c.root||{},oe=M.input||s.Input||xw;return Y=Lf({},Y,null!=(n=N.input)?n:c.input),Om.jsxs(H.Fragment,{children:[!p&&Sw,Om.jsxs(ne,Lf({},re,!ix(ne)&&{ownerState:Lf({},ee,re.ownerState)},{ref:t,onClick:e=>{B.current&&e.currentTarget===e.target&&B.current.focus(),k&&!K.disabled&&k(e)}},A,{className:Vg(te.root,re.className,l,T&&"MuiInputBase-readOnly"),children:[q,Om.jsx(uw.Provider,{value:null,children:Om.jsx(oe,Lf({ownerState:ee,"aria-invalid":K.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:u,disabled:K.disabled,id:m,onAnimationStart:e=>{Q("mui-auto-fill-cancel"===e.animationName?B.current:{value:"x"})},name:w,placeholder:I,readOnly:T,required:K.required,rows:_,value:j,onKeyDown:R,onKeyUp:O,type:z},Y,!ix(oe)&&{as:J,ownerState:Lf({},ee,Y.ownerState)},{ref:$,className:Vg(te.input,Y.className,T&&"MuiInputBase-readOnly"),onBlur:e=>{E&&E(e),v.onBlur&&v.onBlur(e),G&&G.onBlur?G.onBlur(e):V(!1)},onChange:(e,...t)=>{if(!F){const t=e.target||B.current;if(null==t)throw new Error(Lp(1));Q({value:t.value})}v.onChange&&v.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{K.disabled?e.stopPropagation():(L&&L(e),v.onFocus&&v.onFocus(e),G&&G.onFocus?G.onFocus(e):V(!0))}}))}),f,P?P(Lf({},K,{startAdornment:q})):null]}))]})}));var Ew=ww;function Cw(e){return Ef("MuiOutlinedInput",e)}var kw=Lf({},mw,Cf("MuiOutlinedInput",["root","notchedOutline","input"]));const Lw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Rw={entering:{opacity:1},entered:{opacity:1}},Ow=H.forwardRef((function(e,t){const n=nb(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:h,style:m,timeout:g=r,TransitionComponent:v=wb}=e,b=Rf(e,Lw),y=H.useRef(null),x=af(y,a.ref,t),S=e=>t=>{if(e){const n=y.current;void 0===t?e(n):e(n,t)}},w=S(d),E=S(((e,t)=>{Ay(e);const r=jy({style:m,timeout:g,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),c&&c(e,t)})),C=S(u),k=S(h),L=S((e=>{const t=jy({style:m,timeout:g,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),R=S(f);return Om.jsx(v,Lf({appear:i,in:s,nodeRef:y,onEnter:E,onEntered:C,onEntering:w,onExit:L,onExited:R,onExiting:k,addEndListener:e=>{o&&o(y.current,e)},timeout:g},b,{children:(e,t)=>H.cloneElement(a,Lf({style:Lf({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Rw[e],m,a.props.style),ref:x},t))}))}));var Iw=Ow;function Tw(e){return Ef("MuiBackdrop",e)}Cf("MuiBackdrop",["root","invisible"]);const Pw=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],_w=ib("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>Lf({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),Nw=H.forwardRef((function(e,t){var n,r,o;const i=rb({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:c={},componentsProps:u={},invisible:d=!1,open:p,slotProps:f={},slots:h={},TransitionComponent:m=Iw,transitionDuration:g}=i,v=Rf(i,Pw),b=Lf({},i,{component:s,invisible:d}),y=(e=>{const{classes:t,invisible:n}=e;return yf({root:["root",n&&"invisible"]},Tw,t)})(b),x=null!=(n=f.root)?n:u.root;return Om.jsx(m,Lf({in:p,timeout:g},v,{children:Om.jsx(_w,Lf({"aria-hidden":!0},x,{as:null!=(r=null!=(o=h.root)?o:c.Root)?r:s,className:Vg(y.root,l,null==x?void 0:x.className),ownerState:Lf({},b,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var Mw=Nw;function qw(e){return Ef("MuiBadge",e)}var zw=Cf("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);const Dw=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],Aw=ib("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),jw=ib("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Vp(n.anchorOrigin.vertical)}${Vp(n.anchorOrigin.horizontal)}${Vp(n.overlap)}`],"default"!==n.color&&t[`color${Vp(n.color)}`],n.invisible&&t.invisible]}})((({theme:e,ownerState:t})=>Lf({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${zw.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}))),Fw=H.forwardRef((function(e,t){var n,r,o,i,a,l;const s=rb({props:e,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:u,component:d,components:p={},componentsProps:f={},children:h,overlap:m="rectangular",color:g="default",invisible:v=!1,max:b=99,badgeContent:y,slots:x,slotProps:S,showZero:w=!1,variant:E="standard"}=s,C=Rf(s,Dw),{badgeContent:k,invisible:L,max:R,displayValue:O}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=vf({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:l,max:s=r}=a?i:e;return{badgeContent:l,invisible:a,max:s,displayValue:l&&Number(l)>s?`${s}+`:l}}({max:b,invisible:v,badgeContent:y,showZero:w}),I=vf({anchorOrigin:c,color:g,overlap:m,variant:E,badgeContent:y}),T=L||null==k&&"dot"!==E,{color:P=g,overlap:_=m,anchorOrigin:N=c,variant:M=E}=T?I:s,q="dot"!==M?O:void 0,z=Lf({},s,{badgeContent:k,invisible:T,max:R,displayValue:q,showZero:w,anchorOrigin:N,color:P,overlap:_,variant:M}),D=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e;return yf({root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${Vp(n.vertical)}${Vp(n.horizontal)}`,`anchorOrigin${Vp(n.vertical)}${Vp(n.horizontal)}${Vp(o)}`,`overlap${Vp(o)}`,"default"!==t&&`color${Vp(t)}`]},qw,a)})(z),A=null!=(n=null!=(r=null==x?void 0:x.root)?r:p.Root)?n:Aw,j=null!=(o=null!=(i=null==x?void 0:x.badge)?i:p.Badge)?o:jw,F=null!=(a=null==S?void 0:S.root)?a:f.root,B=null!=(l=null==S?void 0:S.badge)?l:f.badge,W=mx({elementType:A,externalSlotProps:F,externalForwardedProps:C,additionalProps:{ref:t,as:d},ownerState:z,className:Vg(null==F?void 0:F.className,D.root,u)}),$=mx({elementType:j,externalSlotProps:B,ownerState:z,className:Vg(D.badge,null==B?void 0:B.className)});return Om.jsxs(A,Lf({},W,{children:[h,Om.jsx(j,Lf({},$,{children:q}))]}))}));var Bw=Fw;const Ww=eb(),$w=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=_m("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(qg),a=H.forwardRef((function(e,a){const l=Fg(n),s=Hg(e),{className:c,component:u="div"}=s,d=Mm(s,Gg);return Om.jsx(i,Nm({as:u,ref:a,className:Vg(c,o?o(r):r),theme:t&&l[t]||l},d))}));return a}({themeId:kf,defaultTheme:Ww,defaultClassName:"MuiBox-root",generateClassName:Sf.generate});var Hw=$w;function Uw(e){return Ef("PrivateSwitchBase",e)}Cf("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Vw=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Gw=ib(Zb)((({ownerState:e})=>Lf({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),Kw=ib("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Zw=H.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:o,className:i,defaultChecked:a,disabled:l,disableFocusRipple:s=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:f,name:h,onBlur:m,onChange:g,onFocus:v,readOnly:b,required:y=!1,tabIndex:x,type:S,value:w}=e,E=Rf(e,Vw),[C,k]=rf({controlled:r,default:Boolean(a),name:"SwitchBase",state:"checked"}),L=dw();let R=l;L&&void 0===R&&(R=L.disabled);const O="checkbox"===S||"radio"===S,I=Lf({},e,{checked:C,disabled:R,disableFocusRipple:s,edge:c}),T=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e;return yf({root:["root",n&&"checked",r&&"disabled",o&&`edge${Vp(o)}`],input:["input"]},Uw,t)})(I);return Om.jsxs(Gw,Lf({component:"span",className:Vg(T.root,i),centerRipple:!0,focusRipple:!s,disabled:R,tabIndex:null,role:void 0,onFocus:e=>{v&&v(e),L&&L.onFocus&&L.onFocus(e)},onBlur:e=>{m&&m(e),L&&L.onBlur&&L.onBlur(e)},ownerState:I,ref:t},E,{children:[Om.jsx(Kw,Lf({autoFocus:n,checked:r,defaultChecked:a,className:T.input,disabled:R,id:O?d:void 0,name:h,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;k(t),g&&g(e,t)},readOnly:b,ref:f,required:y,ownerState:I,tabIndex:x,type:S},"checkbox"===S&&void 0===w?{}:{value:w},p)),C?o:u]}))}));var Xw=Zw,Qw=qy(Om.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Jw=qy(Om.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Yw=qy(Om.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function eE(e){return Ef("MuiCheckbox",e)}var tE=Cf("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);const nE=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],rE=ib(Xw,{shouldForwardProp:e=>ob(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,"default"!==n.color&&t[`color${Vp(n.color)}`]]}})((({theme:e,ownerState:t})=>Lf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:uv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${tE.checked}, &.${tE.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${tE.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),oE=Om.jsx(Jw,{}),iE=Om.jsx(Qw,{}),aE=Om.jsx(Yw,{}),lE=H.forwardRef((function(e,t){var n,r;const o=rb({props:e,name:"MuiCheckbox"}),{checkedIcon:i=oE,color:a="primary",icon:l=iE,indeterminate:s=!1,indeterminateIcon:c=aE,inputProps:u,size:d="medium",className:p}=o,f=Rf(o,nE),h=s?c:l,m=s?c:i,g=Lf({},o,{color:a,indeterminate:s,size:d}),v=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e;return Lf({},t,yf({root:["root",n&&"indeterminate",`color${Vp(r)}`,`size${Vp(o)}`]},eE,t))})(g);return Om.jsx(rE,Lf({type:"checkbox",inputProps:Lf({"data-indeterminate":s},u),icon:H.cloneElement(h,{fontSize:null!=(n=h.props.fontSize)?n:d}),checkedIcon:H.cloneElement(m,{fontSize:null!=(r=m.props.fontSize)?r:d}),ownerState:g,ref:t,className:Vg(v.root,p)},f,{classes:v}))}));var sE=lE;function cE(e){return Ef("MuiCircularProgress",e)}Cf("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const uE=["className","color","disableShrink","size","style","thickness","value","variant"];let dE,pE,fE,hE,mE=e=>e;const gE=44,vE=dm(dE||(dE=mE`
|
|
107
107
|
0% {
|
|
108
108
|
transform: rotate(0deg);
|
|
109
109
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
100% {
|
|
112
112
|
transform: rotate(360deg);
|
|
113
113
|
}
|
|
114
|
-
`)),
|
|
114
|
+
`)),bE=dm(pE||(pE=mE`
|
|
115
115
|
0% {
|
|
116
116
|
stroke-dasharray: 1px, 200px;
|
|
117
117
|
stroke-dashoffset: 0;
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
stroke-dasharray: 100px, 200px;
|
|
127
127
|
stroke-dashoffset: -125px;
|
|
128
128
|
}
|
|
129
|
-
`)),
|
|
129
|
+
`)),yE=ib("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Vp(n.color)}`]]}})((({ownerState:e,theme:t})=>Lf({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&um(fE||(fE=mE`
|
|
130
130
|
animation: ${0} 1.4s linear infinite;
|
|
131
|
-
`),
|
|
131
|
+
`),vE))),xE=ib("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),SE=ib("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Vp(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>Lf({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&um(hE||(hE=mE`
|
|
132
132
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
133
|
-
`),yE))),EE=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:i=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=Lf(n,dE),p=Rf({},n,{color:o,disableShrink:a,size:i,thickness:s,value:c,variant:u}),f=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return yf({root:["root",n,`color${Vp(r)}`],svg:["svg"],circle:["circle",`circle${Vp(n)}`,o&&"circleDisableShrink"]},uE,t)})(p),h={},m={},g={};if("determinate"===u){const e=2*Math.PI*((vE-s)/2);h.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return Om.jsx(xE,Rf({className:Vg(f.root,r),style:Rf({width:i,height:i},m,l),ownerState:p,ref:t,role:"progressbar"},g,d,{children:Om.jsx(SE,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:Om.jsx(wE,{className:f.circle,style:h,ownerState:p,cx:vE,cy:vE,r:(vE-s)/2,fill:"none",strokeWidth:s})})}))}));var CE=EE;const kE=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],RE=rb("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>Rf({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),LE=rb(qw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),OE=H.forwardRef((function(e,t){var n,r,o,a,i,l;const s=tb({name:"MuiModal",props:e}),{BackdropComponent:c=LE,BackdropProps:u,classes:d,className:p,closeAfterTransition:f=!1,children:h,container:m,component:g,components:v={},componentsProps:b={},disableAutoFocus:y=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:w=!1,disableRestoreFocus:E=!1,disableScrollLock:C=!1,hideBackdrop:k=!1,keepMounted:R=!1,onBackdropClick:L,onClose:O,open:I,slotProps:T,slots:P,theme:_}=s,N=Lf(s,kE),[M,q]=H.useState(!0),z={container:m,closeAfterTransition:f,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:w,disableRestoreFocus:E,disableScrollLock:C,hideBackdrop:k,keepMounted:R,onBackdropClick:L,onClose:O,open:I},D=Rf({},s,z,{exited:M}),A=null!=(n=null!=(r=null==P?void 0:P.root)?r:v.Root)?n:RE,j=null!=(o=null!=(a=null==P?void 0:P.backdrop)?a:v.Backdrop)?o:c,F=null!=(i=null==T?void 0:T.root)?i:b.root,B=null!=(l=null==T?void 0:T.backdrop)?l:b.backdrop;return Om.jsx(ox,Rf({slots:{root:A,backdrop:j},slotProps:{root:()=>Rf({},fb(F,D),!sb(A)&&{as:g,theme:_},{className:Vg(p,null==F?void 0:F.className,null==d?void 0:d.root,!D.open&&D.exited&&(null==d?void 0:d.hidden))}),backdrop:()=>Rf({},u,fb(B,D),{className:Vg(null==B?void 0:B.className,null==u?void 0:u.className,null==d?void 0:d.backdrop)})},onTransitionEnter:()=>q(!1),onTransitionExited:()=>q(!0),ref:t},N,z,{children:h}))}));var IE=OE;function TE(e){return Ef("MuiDivider",e)}var PE=Cf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const _E=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],NE=rb("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>Rf({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:sv(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>Rf({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>Rf({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>Rf({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>Rf({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),ME=rb("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>Rf({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),qE=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:a,component:i=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==i?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=n,f=Lf(n,_E),h=Rf({},n,{absolute:r,component:i,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:s}=e;return yf({root:["root",t&&"absolute",s,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},TE,r)})(h);return Om.jsx(NE,Rf({as:i,className:Vg(m.root,a),role:u,ref:t,ownerState:h},f,{children:o?Om.jsx(ME,{className:m.wrapper,ownerState:h,children:o}):null}))}));qE.muiSkipListHighlight=!0;var zE=qE;const DE=function(e={}){const{createStyledComponent:t=yv,useThemeProps:n=xv,componentName:r="MuiStack"}=e,o=t(wv),a=H.forwardRef((function(e,t){const a=Hg(n(e)),{component:i="div",direction:l="column",spacing:s=0,divider:c,children:u,className:d,useFlexGap:p=!1}=a,f=Mm(a,vv),h={direction:l,spacing:s,useFlexGap:p},m=yf({root:["root"]},(e=>Ef(r,e)),{});return Om.jsx(o,Nm({as:i,ownerState:h,ref:t,className:Vg(m.root,d)},f,{children:c?Sv(u,c):u}))}));return a}({createStyledComponent:rb("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>tb({props:e,name:"MuiStack"})});var AE=DE;function jE(e){return Ef("MuiFormControlLabel",e)}var FE=Cf("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);const BE=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],WE=rb("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${FE.label}`]:t.label},t.root,t[`labelPlacement${Vp(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>Rf({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${FE.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${FE.label}`]:{[`&.${FE.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),$E=rb("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${FE.error}`]:{color:(e.vars||e).palette.error.main}}))),HE=H.forwardRef((function(e,t){var n,r;const o=tb({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:i={},control:l,disabled:s,disableTypography:c,label:u,labelPlacement:d="end",required:p,slotProps:f={}}=o,h=Lf(o,BE),m=pw(),g=null!=(n=null!=s?s:l.props.disabled)?n:null==m?void 0:m.disabled,v=null!=p?p:l.props.required,b={disabled:g,required:v};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==o[e]&&(b[e]=o[e])}));const y=uw({props:o,muiFormControl:m,states:["error"]}),x=Rf({},o,{disabled:g,labelPlacement:d,required:v,error:y.error}),S=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e;return yf({root:["root",n&&"disabled",`labelPlacement${Vp(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]},jE,t)})(x),w=null!=(r=f.typography)?r:i.typography;let E=u;return null==E||E.type===aw||c||(E=Om.jsx(aw,Rf({component:"span"},w,{className:Vg(S.label,null==w?void 0:w.className),children:E}))),Om.jsxs(WE,Rf({className:Vg(S.root,a),ownerState:x,ref:t},h,{children:[H.cloneElement(l,b),v?Om.jsxs(AE,{direction:"row",alignItems:"center",children:[E,Om.jsxs($E,{ownerState:x,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):E]}))}));var UE=HE;var VE=H.createContext();function GE(e){return Ef("MuiGrid",e)}const KE=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],ZE=Cf("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...KE.map((e=>`grid-xs-${e}`)),...KE.map((e=>`grid-sm-${e}`)),...KE.map((e=>`grid-md-${e}`)),...KE.map((e=>`grid-lg-${e}`)),...KE.map((e=>`grid-xl-${e}`))]),XE=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function QE(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function JE({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const YE=rb("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:i,wrap:l,zeroMinWidth:s,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(i,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,a&&t.item,s&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})((({ownerState:e})=>Rf({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return Wm({theme:e},Um({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${ZE.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=Um({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=JE({breakpoints:e.breakpoints.values,values:t})),o=Wm({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${QE(a)}`,[`& > .${ZE.item}`]:{paddingTop:QE(a)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${ZE.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=Um({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=JE({breakpoints:e.breakpoints.values,values:t})),o=Wm({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${QE(a)})`,marginLeft:`-${QE(a)}`,[`& > .${ZE.item}`]:{paddingLeft:QE(a)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${ZE.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let a={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const i=Um({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof i?i[o]:i;if(null==l)return r;const s=Math.round(n/l*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${s} + ${QE(n)})`;c={flexBasis:e,maxWidth:e}}}a=Rf({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===e.breakpoints.values[o]?Object.assign(r,a):r[e.breakpoints.up(o)]=a,r}),{})}));const eC=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:i,zeroMinWidth:l,breakpoints:s}=e;let c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(a,s));const u=[];s.forEach((t=>{const n=e[t];n&&u.push(`grid-${t}-${String(n)}`)}));return yf({root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...u]},GE,t)},tC=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiGrid"}),{breakpoints:r}=eb(),o=Hg(n),{className:a,columns:i,columnSpacing:l,component:s="div",container:c=!1,direction:u="row",item:d=!1,rowSpacing:p,spacing:f=0,wrap:h="wrap",zeroMinWidth:m=!1}=o,g=Lf(o,XE),v=p||f,b=l||f,y=H.useContext(VE),x=c?i||12:y,S={},w=Rf({},g);r.keys.forEach((e=>{null!=g[e]&&(S[e]=g[e],delete w[e])}));const E=Rf({},o,{columns:x,container:c,direction:u,item:d,rowSpacing:v,columnSpacing:b,wrap:h,zeroMinWidth:m,spacing:f},S,{breakpoints:r.keys}),C=eC(E);return Om.jsx(VE.Provider,{value:x,children:Om.jsx(YE,Rf({ownerState:E,className:Vg(C.root,a),as:s,ref:t},w))})}));var nC=tC;const rC=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function oC(e){return`scale(${e}, ${e**2})`}const aC={entering:{opacity:1,transform:oC(1)},entered:{opacity:1,transform:"none"}},iC="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),lC=H.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:a,in:i,onEnter:l,onEntered:s,onEntering:c,onExit:u,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=Cx}=e,g=Lf(e,rC),v=H.useRef(),b=H.useRef(),y=eb(),x=H.useRef(null),S=af(x,o.ref,t),w=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=w(c),C=w(((e,t)=>{FS(e);const{duration:n,delay:r,easing:o}=BS({style:f,timeout:h,easing:a},{mode:"enter"});let i;"auto"===h?(i=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=i):i=n,e.style.transition=[y.transitions.create("opacity",{duration:i,delay:r}),y.transitions.create("transform",{duration:iC?i:.666*i,delay:r,easing:o})].join(","),l&&l(e,t)})),k=w(s),R=w(p),L=w((e=>{const{duration:t,delay:n,easing:r}=BS({style:f,timeout:h,easing:a},{mode:"exit"});let o;"auto"===h?(o=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:n}),y.transitions.create("transform",{duration:iC?o:.666*o,delay:iC?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=oC(.75),u&&u(e)})),O=w(d);return H.useEffect((()=>()=>{clearTimeout(v.current)}),[]),Om.jsx(m,Rf({appear:r,in:i,nodeRef:x,onEnter:C,onEntered:k,onEntering:E,onExit:L,onExited:O,onExiting:R,addEndListener:e=>{"auto"===h&&(v.current=setTimeout(e,b.current||0)),n&&n(x.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>H.cloneElement(o,Rf({style:Rf({opacity:0,transform:oC(.75),visibility:"exited"!==e||i?void 0:"hidden"},aC[e],f,o.props.style),ref:S},t))}))}));lC.muiSupportAuto=!0;var sC=lC;function cC(e){return Ef("MuiIcon",e)}Cf("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const uC=["baseClassName","className","color","component","fontSize"],dC=rb("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Vp(n.color)}`],t[`fontSize${Vp(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),pC=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:a="inherit",component:i="span",fontSize:l="medium"}=n,s=Lf(n,uC),c=Rf({},n,{baseClassName:r,color:a,component:i,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e;return yf({root:["root","inherit"!==t&&`color${Vp(t)}`,`fontSize${Vp(n)}`]},cC,r)})(c);return Om.jsx(dC,Rf({as:i,className:Vg(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));pC.muiName="Icon";var fC=pC;function hC(e){return Ef("MuiInputAdornment",e)}var mC,gC=Cf("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);const vC=["children","className","component","disablePointerEvents","disableTypography","position","variant"],bC=rb("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Vp(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>Rf({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${gC.positionStart}&:not(.${gC.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),yC=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:a="div",disablePointerEvents:i=!1,disableTypography:l=!1,position:s,variant:c}=n,u=Lf(n,vC),d=pw()||{};let p=c;c&&d.variant,d&&!p&&(p=d.variant);const f=Rf({},n,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:i,position:s,variant:p}),h=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e;return yf({root:["root",n&&"disablePointerEvents",o&&`position${Vp(o)}`,i,r&&"hiddenLabel",a&&`size${Vp(a)}`]},hC,t)})(f);return Om.jsx(dw.Provider,{value:null,children:Om.jsx(bC,Rf({as:a,ownerState:f,className:Vg(h.root,o),ref:t},u,{children:"string"!=typeof r||l?Om.jsxs(H.Fragment,{children:["start"===s?mC||(mC=Om.jsx("span",{className:"notranslate",children:""})):null,r]}):Om.jsx(aw,{color:"text.secondary",children:r})}))})}));var xC=yC;var SC=H.createContext({});function wC(e){return Ef("MuiList",e)}Cf("MuiList",["root","padding","dense","subheader"]);const EC=["children","className","component","dense","disablePadding","subheader"],CC=rb("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>Rf({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),kC=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:i=!1,disablePadding:l=!1,subheader:s}=n,c=Lf(n,EC),u=H.useMemo((()=>({dense:i})),[i]),d=Rf({},n,{component:a,dense:i,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return yf({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},wC,t)})(d);return Om.jsx(SC.Provider,{value:u,children:Om.jsxs(CC,Rf({as:a,className:Vg(p.root,o),ref:t,ownerState:d},c,{children:[s,r]}))})}));var RC=kC;function LC(e){return Ef("MuiListItem",e)}var OC=Cf("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var IC=Cf("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function TC(e){return Ef("MuiListItemSecondaryAction",e)}Cf("MuiListItemSecondaryAction",["root","disableGutters"]);const PC=["className"],_C=rb("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>Rf({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),NC=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=Lf(n,PC),a=Rf({},n,{disableGutters:H.useContext(SC).disableGutters}),i=(e=>{const{disableGutters:t,classes:n}=e;return yf({root:["root",t&&"disableGutters"]},TC,n)})(a);return Om.jsx(_C,Rf({className:Vg(i.root,r),ownerState:a,ref:t},o))}));NC.muiName="ListItemSecondaryAction";var MC=NC;const qC=["className"],zC=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],DC=rb("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>Rf({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Rf({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${IC.root}`]:{paddingRight:48}},{[`&.${OC.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${OC.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:sv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${OC.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:sv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${OC.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${OC.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:sv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:sv(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),AC=rb("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),jC=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:a=!1,children:i,className:l,component:s,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:p}={},dense:f=!1,disabled:h=!1,disableGutters:m=!1,disablePadding:g=!1,divider:v=!1,focusVisibleClassName:b,secondaryAction:y,selected:x=!1,slotProps:S={},slots:w={}}=n,E=Lf(n.ContainerProps,qC),C=Lf(n,zC),k=H.useContext(SC),R=H.useMemo((()=>({dense:f||k.dense||!1,alignItems:r,disableGutters:m})),[r,k.dense,f,m]),L=H.useRef(null);Yp((()=>{o&&L.current&&L.current.focus()}),[o]);const O=H.Children.toArray(i),I=O.length&&Zp(O[O.length-1],["ListItemSecondaryAction"]),T=Rf({},n,{alignItems:r,autoFocus:o,button:a,dense:R.dense,disabled:h,disableGutters:m,disablePadding:g,divider:v,hasSecondaryAction:I,selected:x}),P=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:a,disableGutters:i,disablePadding:l,divider:s,hasSecondaryAction:c,selected:u}=e;return yf({root:["root",o&&"dense",!i&&"gutters",!l&&"padding",s&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},LC,r)})(T),_=af(L,t),N=w.root||c.Root||DC,M=S.root||u.root||{},q=Rf({className:Vg(P.root,M.className,l),disabled:h},C);let z=s||"li";return a&&(q.component=s||"div",q.focusVisibleClassName=Vg(OC.focusVisible,b),z=Qx),I?(z=q.component||s?z:"div","li"===d&&("li"===z?z="div":"li"===q.component&&(q.component="div")),Om.jsx(SC.Provider,{value:R,children:Om.jsxs(AC,Rf({as:d,className:Vg(P.container,p),ref:_,ownerState:T},E,{children:[Om.jsx(N,Rf({},M,!sb(N)&&{as:z,ownerState:Rf({},T,M.ownerState)},q,{children:O})),O.pop()]}))})):Om.jsx(SC.Provider,{value:R,children:Om.jsxs(N,Rf({},M,{as:z,ref:_},!sb(N)&&{ownerState:Rf({},T,M.ownerState)},q,{children:[O,y&&Om.jsx(MC,{children:y})]}))})}));var FC=jC;function BC(e){return Ef("MuiListItemIcon",e)}var WC=Cf("MuiListItemIcon",["root","alignItemsFlexStart"]);const $C=["className"],HC=rb("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>Rf({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),UC=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Lf(n,$C),a=Rf({},n,{alignItems:H.useContext(SC).alignItems}),i=(e=>{const{alignItems:t,classes:n}=e;return yf({root:["root","flex-start"===t&&"alignItemsFlexStart"]},BC,n)})(a);return Om.jsx(HC,Rf({className:Vg(i.root,r),ownerState:a,ref:t},o))}));var VC=UC;var GC=Cf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const KC=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function ZC(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function XC(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function QC(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function JC(e,t,n,r,o,a){let i=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&QC(l,a)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const YC=H.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:a,className:i,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:c,variant:u="selectedMenu"}=e,d=Lf(e,KC),p=H.useRef(null),f=H.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yp((()=>{r&&p.current.focus()}),[r]),H.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${gf(Xp(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=af(p,t);let m=-1;H.Children.forEach(a,((e,t)=>{H.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))):m===t&&(m+=1,m>=a.length&&(m=-1))}));const g=H.Children.map(a,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),H.cloneElement(e,t)}return e}));return Om.jsx(RC,Rf({role:"menu",ref:h,className:i,onKeyDown:e=>{const t=p.current,n=e.key,r=Xp(t).activeElement;if("ArrowDown"===n)e.preventDefault(),JC(t,r,s,l,ZC);else if("ArrowUp"===n)e.preventDefault(),JC(t,r,s,l,XC);else if("Home"===n)e.preventDefault(),JC(t,null,s,l,ZC);else if("End"===n)e.preventDefault(),JC(t,null,s,l,XC);else if(1===n.length){const o=f.current,a=n.toLowerCase(),i=performance.now();o.keys.length>0&&(i-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&a!==o.keys[0]&&(o.repeating=!1)),o.lastTime=i,o.keys.push(a);const s=r&&!o.repeating&&QC(r,o);o.previousKeyMatched&&(s||JC(t,r,!1,l,ZC,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:r?0:-1},d,{children:g}))}));var ek=YC;function tk(e){return Ef("MuiPopover",e)}Cf("MuiPopover",["root","paper"]);const nk=["onEntering"],rk=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],ok=["slotProps"];function ak(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function ik(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function lk(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function sk(e){return"function"==typeof e?e():e}const ck=rb(IE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),uk=rb(VS,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),dk=H.forwardRef((function(e,t){var n,r,o;const a=tb({props:e,name:"MuiPopover"}),{action:i,anchorEl:l,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:u="anchorEl",children:d,className:p,container:f,elevation:h=8,marginThreshold:m=16,open:g,PaperProps:v={},slots:b,slotProps:y,transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:S=sC,transitionDuration:w="auto",TransitionProps:{onEntering:E}={}}=a,C=Lf(a.TransitionProps,nk),k=Lf(a,rk),R=null!=(n=null==y?void 0:y.paper)?n:v,L=H.useRef(),O=af(L,R.ref),I=Rf({},a,{anchorOrigin:s,anchorReference:u,elevation:h,marginThreshold:m,externalPaperSlotProps:R,transformOrigin:x,TransitionComponent:S,transitionDuration:w,TransitionProps:C}),T=(e=>{const{classes:t}=e;return yf({root:["root"],paper:["paper"]},tk,t)})(I),P=H.useCallback((()=>{if("anchorPosition"===u)return c;const e=sk(l),t=(e&&1===e.nodeType?e:Xp(L.current).body).getBoundingClientRect();return{top:t.top+ak(t,s.vertical),left:t.left+ik(t,s.horizontal)}}),[l,s.horizontal,s.vertical,c,u]),_=H.useCallback((e=>({vertical:ak(e,x.vertical),horizontal:ik(e,x.horizontal)})),[x.horizontal,x.vertical]),N=H.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=_(t);if("none"===u)return{top:null,left:null,transformOrigin:lk(n)};const r=P();let o=r.top-n.vertical,a=r.left-n.horizontal;const i=o+t.height,s=a+t.width,c=Qp(sk(l)),d=c.innerHeight-m,p=c.innerWidth-m;if(o<m){const e=o-m;o-=e,n.vertical+=e}else if(i>d){const e=i-d;o-=e,n.vertical+=e}if(a<m){const e=a-m;a-=e,n.horizontal+=e}else if(s>p){const e=s-p;a-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:lk(n)}}),[l,u,P,_,m]),[M,q]=H.useState(g),z=H.useCallback((()=>{const e=L.current;if(!e)return;const t=N(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,q(!0)}),[N]);H.useEffect((()=>{g&&z()})),H.useImperativeHandle(i,(()=>g?{updatePosition:()=>{z()}}:null),[g,z]),H.useEffect((()=>{if(!g)return;const e=Kp((()=>{z()})),t=Qp(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,g,z]);let D=w;"auto"!==w||S.muiSupportAuto||(D=void 0);const A=f||(l?Xp(sk(l)).body:void 0),j=null!=(r=null==b?void 0:b.root)?r:ck,F=null!=(o=null==b?void 0:b.paper)?o:uk,B=bb({elementType:F,externalSlotProps:Rf({},R,{style:M?R.style:Rf({},R.style,{opacity:0})}),additionalProps:{elevation:h,ref:O},ownerState:I,className:Vg(T.paper,null==R?void 0:R.className)}),W=bb({elementType:j,externalSlotProps:(null==y?void 0:y.root)||{},externalForwardedProps:k,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:A,open:g},ownerState:I,className:Vg(T.root,p)}),{slotProps:$}=W,U=Lf(W,ok);return Om.jsx(j,Rf({},U,!sb(j)&&{slotProps:$},{children:Om.jsx(S,Rf({appear:!0,in:g,onEntering:(e,t)=>{E&&E(e,t),z()},onExited:()=>{q(!1)},timeout:D},C,{children:Om.jsx(F,Rf({},B,{children:d}))}))}))}));var pk=dk;function fk(e){return Ef("MuiMenuItem",e)}var hk=Cf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const mk=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],gk=rb(Qx,{shouldForwardProp:e=>nb(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>Rf({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${hk.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:sv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${hk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:sv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${hk.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:sv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:sv(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${hk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${hk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${PE.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${PE.inset}`]:{marginLeft:52},[`& .${GC.root}`]:{marginTop:0,marginBottom:0},[`& .${GC.inset}`]:{paddingLeft:36},[`& .${WC.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Rf({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${WC.root} svg`]:{fontSize:"1.25rem"}})))),vk=H.forwardRef((function(e,t){const n=tb({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:a=!1,divider:i=!1,disableGutters:l=!1,focusVisibleClassName:s,role:c="menuitem",tabIndex:u,className:d}=n,p=Lf(n,mk),f=H.useContext(SC),h=H.useMemo((()=>({dense:a||f.dense||!1,disableGutters:l})),[f.dense,a,l]),m=H.useRef(null);Yp((()=>{r&&m.current&&m.current.focus()}),[r]);const g=Rf({},n,{dense:h.dense,divider:i,disableGutters:l}),v=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:i}=e;return Rf({},i,yf({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},fk,i))})(n),b=af(m,t);let y;return n.disabled||(y=void 0!==u?u:-1),Om.jsx(SC.Provider,{value:h,children:Om.jsx(gk,Rf({ref:b,role:c,tabIndex:y,component:o,focusVisibleClassName:Vg(v.focusVisible,s),className:Vg(v.root,d)},p,{ownerState:g,classes:v}))})}));var bk,yk=vk;const xk=["children","classes","className","label","notched"],Sk=rb("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),wk=rb("legend")((({ownerState:e,theme:t})=>Rf({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Rf({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const Ek=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Ck=rb(xw,{shouldForwardProp:e=>nb(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:bw})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Rf({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Rw.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Rw.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Rw.focused} .${Rw.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Rw.error} .${Rw.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Rw.disabled} .${Rw.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Rf({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),kk=rb((function(e){const{className:t,label:n,notched:r}=e,o=Lf(e,xk),a=null!=n&&""!==n,i=Rf({},e,{notched:r,withLabel:a});return Om.jsx(Sk,Rf({"aria-hidden":!0,className:t,ownerState:i},o,{children:Om.jsx(wk,{ownerState:i,children:a?Om.jsx("span",{children:n}):bk||(bk=Om.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),Rk=rb(Sw,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:yw})((({theme:e,ownerState:t})=>Rf({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),Lk=H.forwardRef((function(e,t){var n,r,o,a,i;const l=tb({props:e,name:"MuiOutlinedInput"}),{components:s={},fullWidth:c=!1,inputComponent:u="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=l,g=Lf(l,Ek),v=(e=>{const{classes:t}=e;return Rf({},t,yf({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},kw,t))})(l),b=pw(),y=uw({props:l,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x=Rf({},l,{color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:b,fullWidth:c,hiddenLabel:y.hiddenLabel,multiline:p,size:y.size,type:m}),S=null!=(n=null!=(r=h.root)?r:s.Root)?n:Ck,w=null!=(o=null!=(a=h.input)?a:s.Input)?o:Rk;return Om.jsx(Cw,Rf({slots:{root:S,input:w},renderSuffix:e=>Om.jsx(kk,{ownerState:x,className:v.notchedOutline,label:null!=d&&""!==d&&y.required?i||(i=Om.jsxs(H.Fragment,{children:[d," ","*"]})):d,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:p,ref:t,type:m},g,{classes:Rf({},v,{notchedOutline:null})}))}));Lk.muiName="Input";var Ok=Lk,Ik=DS(Om.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Tk=DS(Om.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const Pk=rb("span")({position:"relative",display:"flex"}),_k=rb(Ik)({transform:"scale(1)"}),Nk=rb(Tk)((({theme:e,ownerState:t})=>Rf({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function Mk(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=Rf({},e,{checked:t});return Om.jsxs(Pk,{className:n.root,ownerState:o,children:[Om.jsx(_k,{fontSize:r,className:n.background,ownerState:o}),Om.jsx(Nk,{fontSize:r,className:n.dot,ownerState:o})]})}var qk=H.createContext(void 0);function zk(e){return Ef("MuiRadio",e)}var Dk=Cf("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);const Ak=["checked","checkedIcon","color","icon","name","onChange","size","className"],jk=rb(Qw,{shouldForwardProp:e=>nb(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Vp(n.color)}`]]}})((({theme:e,ownerState:t})=>Rf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:sv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${Dk.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${Dk.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const Fk=Om.jsx(Mk,{checked:!0}),Bk=Om.jsx(Mk,{}),Wk=H.forwardRef((function(e,t){var n,r;const o=tb({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:i=Fk,color:l="primary",icon:s=Bk,name:c,onChange:u,size:d="medium",className:p}=o,f=Lf(o,Ak),h=Rf({},o,{color:l,size:d}),m=(e=>{const{classes:t,color:n}=e;return Rf({},t,yf({root:["root",`color${Vp(n)}`]},zk,t))})(h),g=H.useContext(qk);let v=a;const b=Gp(u,g&&g.onChange);let y=c;return g&&(void 0===v&&(v=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(g.value,o.value)),void 0===y&&(y=g.name)),Om.jsx(jk,Rf({type:"radio",icon:H.cloneElement(s,{fontSize:null!=(n=Bk.props.fontSize)?n:d}),checkedIcon:H.cloneElement(i,{fontSize:null!=(r=Fk.props.fontSize)?r:d}),ownerState:h,classes:m,name:y,checked:v,onChange:b,ref:t,className:Vg(m.root,p)},f))}));var $k=Wk;function Hk(e){return Ef("MuiTooltip",e)}var Uk=Cf("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const Vk=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const Gk=rb(cw,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>Rf({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Uk.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Uk.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Uk.arrow}`]:Rf({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Uk.arrow}`]:Rf({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Kk=rb("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Vp(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return Rf({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:sv(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${Uk.popper}[data-popper-placement*="left"] &`]:Rf({transformOrigin:"right center"},t.isRtl?Rf({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Rf({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Uk.popper}[data-popper-placement*="right"] &`]:Rf({transformOrigin:"left center"},t.isRtl?Rf({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Rf({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Uk.popper}[data-popper-placement*="top"] &`]:Rf({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Uk.popper}[data-popper-placement*="bottom"] &`]:Rf({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),Zk=rb("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:sv(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Xk=!1,Qk=null,Jk={x:0,y:0};function Yk(e,t){return n=>{t&&t(n),e(n)}}const eR=H.forwardRef((function(e,t){var n,r,o,a,i,l,s,c,u,d,p,f,h,m,g,v,b,y,x;const S=tb({props:e,name:"MuiTooltip"}),{arrow:w=!1,children:E,components:C={},componentsProps:k={},describeChild:R=!1,disableFocusListener:L=!1,disableHoverListener:O=!1,disableInteractive:I=!1,disableTouchListener:T=!1,enterDelay:P=100,enterNextDelay:_=0,enterTouchDelay:N=700,followCursor:M=!1,id:q,leaveDelay:z=0,leaveTouchDelay:D=1500,onClose:A,onOpen:j,open:F,placement:B="bottom",PopperComponent:W,PopperProps:$={},slotProps:U={},slots:V={},title:G,TransitionComponent:K=sC,TransitionProps:Z}=S,X=Lf(S,Vk),Q=H.isValidElement(E)?E:Om.jsx("span",{children:E}),J=eb(),Y="rtl"===J.direction,[ee,te]=H.useState(),[ne,re]=H.useState(null),oe=H.useRef(!1),ae=I||M,ie=H.useRef(),le=H.useRef(),se=H.useRef(),ce=H.useRef(),[ue,de]=rf({controlled:F,default:!1,name:"Tooltip",state:"open"});let pe=ue;const fe=nf(q),he=H.useRef(),me=H.useCallback((()=>{void 0!==he.current&&(document.body.style.WebkitUserSelect=he.current,he.current=void 0),clearTimeout(ce.current)}),[]);H.useEffect((()=>()=>{clearTimeout(ie.current),clearTimeout(le.current),clearTimeout(se.current),me()}),[me]);const ge=e=>{clearTimeout(Qk),Xk=!0,de(!0),j&&!pe&&j(e)},ve=of((e=>{clearTimeout(Qk),Qk=setTimeout((()=>{Xk=!1}),800+z),de(!1),A&&pe&&A(e),clearTimeout(ie.current),ie.current=setTimeout((()=>{oe.current=!1}),J.transitions.duration.shortest)})),be=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),clearTimeout(le.current),clearTimeout(se.current),P||Xk&&_?le.current=setTimeout((()=>{ge(e)}),Xk?_:P):ge(e))},ye=e=>{clearTimeout(le.current),clearTimeout(se.current),se.current=setTimeout((()=>{ve(e)}),z)},{isFocusVisibleRef:xe,onBlur:Se,onFocus:we,ref:Ee}=mf(),[,Ce]=H.useState(!1),ke=e=>{Se(e),!1===xe.current&&(Ce(!1),ye(e))},Re=e=>{ee||te(e.currentTarget),we(e),!0===xe.current&&(Ce(!0),be(e))},Le=e=>{oe.current=!0;const t=Q.props;t.onTouchStart&&t.onTouchStart(e)},Oe=be,Ie=ye,Te=e=>{Le(e),clearTimeout(se.current),clearTimeout(ie.current),me(),he.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ce.current=setTimeout((()=>{document.body.style.WebkitUserSelect=he.current,be(e)}),N)},Pe=e=>{Q.props.onTouchEnd&&Q.props.onTouchEnd(e),me(),clearTimeout(se.current),se.current=setTimeout((()=>{ve(e)}),D)};H.useEffect((()=>{if(pe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ve(e)}}),[ve,pe]);const _e=af(Q.ref,Ee,te,t);G||0===G||(pe=!1);const Ne=H.useRef(),Me={},qe="string"==typeof G;R?(Me.title=pe||!qe||O?null:G,Me["aria-describedby"]=pe?fe:null):(Me["aria-label"]=qe?G:null,Me["aria-labelledby"]=pe&&!qe?fe:null);const ze=Rf({},Me,X,Q.props,{className:Vg(X.className,Q.props.className),onTouchStart:Le,ref:_e},M?{onMouseMove:e=>{const t=Q.props;t.onMouseMove&&t.onMouseMove(e),Jk={x:e.clientX,y:e.clientY},Ne.current&&Ne.current.update()}}:{}),De={};T||(ze.onTouchStart=Te,ze.onTouchEnd=Pe),O||(ze.onMouseOver=Yk(Oe,ze.onMouseOver),ze.onMouseLeave=Yk(Ie,ze.onMouseLeave),ae||(De.onMouseOver=Oe,De.onMouseLeave=Ie)),L||(ze.onFocus=Yk(Re,ze.onFocus),ze.onBlur=Yk(ke,ze.onBlur),ae||(De.onFocus=Re,De.onBlur=ke));const Ae=H.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ne),options:{element:ne,padding:4}}];return null!=(e=$.popperOptions)&&e.modifiers&&(t=t.concat($.popperOptions.modifiers)),Rf({},$.popperOptions,{modifiers:t})}),[ne,$]),je=Rf({},S,{isRtl:Y,arrow:w,disableInteractive:ae,placement:B,PopperComponentProp:W,touch:oe.current}),Fe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e;return yf({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Vp(a.split("-")[0])}`],arrow:["arrow"]},Hk,t)})(je),Be=null!=(n=null!=(r=V.popper)?r:C.Popper)?n:Gk,We=null!=(o=null!=(a=null!=(i=V.transition)?i:C.Transition)?a:K)?o:sC,$e=null!=(l=null!=(s=V.tooltip)?s:C.Tooltip)?l:Kk,He=null!=(c=null!=(u=V.arrow)?u:C.Arrow)?c:Zk,Ue=cb(Be,Rf({},$,null!=(d=U.popper)?d:k.popper,{className:Vg(Fe.popper,null==$?void 0:$.className,null==(p=null!=(f=U.popper)?f:k.popper)?void 0:p.className)}),je),Ve=cb(We,Rf({},Z,null!=(h=U.transition)?h:k.transition),je),Ge=cb($e,Rf({},null!=(m=U.tooltip)?m:k.tooltip,{className:Vg(Fe.tooltip,null==(g=null!=(v=U.tooltip)?v:k.tooltip)?void 0:g.className)}),je),Ke=cb(He,Rf({},null!=(b=U.arrow)?b:k.arrow,{className:Vg(Fe.arrow,null==(y=null!=(x=U.arrow)?x:k.arrow)?void 0:y.className)}),je);return Om.jsxs(H.Fragment,{children:[H.cloneElement(Q,ze),Om.jsx(Be,Rf({as:null!=W?W:cw,placement:B,anchorEl:M?{getBoundingClientRect:()=>({top:Jk.y,left:Jk.x,right:Jk.x,bottom:Jk.y,width:0,height:0})}:ee,popperRef:Ne,open:!!ee&&pe,id:fe,transition:!0},De,Ue,{popperOptions:Ae,children:({TransitionProps:e})=>Om.jsx(We,Rf({timeout:J.transitions.duration.shorter},e,Ve,{children:Om.jsxs($e,Rf({},Ge,{children:[G,w?Om.jsx(He,Rf({},Ke,{ref:re})):null]}))}))}))]})}));var tR=eR;const[nR,rR]=SS({}),[oR,aR]=SS({}),[iR,lR]=SS({}),[sR,cR]=SS({}),[uR,dR]=SS({}),[,pR]=SS({}),fR=e=>{let{type:t,value:n}=e;const r=pR.get(n.id);pR.set(n.id,{});const o=()=>{aR.clear(n.id),dR.set(n.id,{}),dR.dispatch(!0)},a=()=>{n.removeListener("changed",o),rR.clear(n.id),aR.clear(n.id),lR.clear(n.id),cR.clear(n.id),dR.clear(n.id),pR.clear(n.id)};if("SET"===t)r||(n.on("changed",o),n.once("closed",(()=>{a()})));return a},[hR,mR]=SS({},fR),gR=e=>{const t=fR({type:"SET",value:e});return()=>{t(),mR.clear(e.id)}};function vR(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=hR(),[o]=iR(),[a,i]=H.useState();let l;n&&(l=o.get(n));for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];return H.useEffect((()=>{if(!t)return;(async()=>{if(!l){const r=t.createSessionObject(e);l=r,o.set(n,l)}const a=await l;r.set(n,a),i(a)})()}),[t,...c]),[a]}const bR={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function yR(e){return vR(bR,e)}const xR=(e,t)=>{const{rpcResultStore:n,key:r,method:o}=t;let i;switch(t.type){case"INVALID":i=a(a({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":i={result:a({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":i=a(a({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let l=n.get(r);return l||(l={}),l[o]=i,n.set(r,l),i};function SR(e,t){const n=e?"".concat(e.id):null,[r]=nR(),[o,a]=H.useReducer(xR,n?r.get(n):null),[i]=uR(),[l]=oR();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const c=async o=>{let i=s[t];if(!i||i&&i.rpcRetry){i={rpc:e[t](),rpcRetry:!1},s[t]=i,a({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0})}try{const o=await i.rpc;a({type:"VALID",result:o,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||o||(i.rpcRetry||(i.rpcRetry=!0),c(!0))}},u={cancel:async()=>{const o=e.session.getObjectApi({handle:-1});await o.cancelRequest(s[t].rpc.requestId),a({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{s[t].rpcRetry=!0,c()}};return H.useEffect((()=>{e&&c()}),[e,i.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},u]}function wR(e){return SR(e,"getLayout")}function ER(e){return SR(e,"getAppLayout")}function CR(){const[e,t]=H.useState(),[n,r]=H.useState(),o=H.useCallback((e=>{e&&t(e)}),[]),a=()=>{const{left:t,top:n,width:o,height:a}=e.getBoundingClientRect();r({left:t,top:n,width:o,height:a})};return H.useLayoutEffect((()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(a);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return a(),window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}}}),[e]),[o,n,e]}function kR(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function RR(e){let{size:t,style:n={},viewBox:r="0 0 16 16",shapes:o=[]}=e;const i=a({fontSize:kR(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},n);return U.createElement("i",{style:i},U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},o.map(((e,t)=>{let{type:n,attrs:r}=e;return U.createElement(n,l({key:t},r))}))))}var LR=e=>RR((e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]}))(e));var OR=e=>RR((e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M8 10a1 1 0 0 1 .5 1.866v.634a.5.5 0 0 1-1 0v-.634A1 1 0 0 1 8 10ZM3.625 7.035A2 2 0 0 0 2 9v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V9a2 2 0 0 0-1.625-1.965V5.383a4.375 4.375 0 0 0-8.75 0v1.652ZM3 9a1 1 0 0 1 .931-.998h8.138A1 1 0 0 1 13 9v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9Zm8.375-3.617V7h-6.75V5.383a3.375 3.375 0 0 1 6.75 0Z"}}]}))(e));var IR=e=>RR((e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));var TR=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}}(),PR=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},_R=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=PR(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},PR(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),TR(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,a=n.minimumBatchSize,i=void 0===a?10:a,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,a=e.stopIndex,i=[],l=null,s=null,c=o;c<=a;c++)t(c)?null!==s&&(i.push(l,s),l=s=null):(s=c,null===l&&(l=c));if(null!==s){for(var u=Math.min(Math.max(s,l+r-1),n-1),d=s+1;d<=u&&!t(d);d++)s=d;i.push(l,s)}if(i.length)for(;i[1]-i[0]+1<r&&i[0]>0;){var p=i[0]-1;if(t(p))break;i[0]=p}return i}({isItemLoaded:r,itemCount:o,minimumBatchSize:i,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],a=e[r+1],i=n(o,a);null!=i&&i.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:a})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(H.PureComponent);const NR=["S","XS"],MR=e=>e.reduce(((e,t)=>e.concat(t)));function qR(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return n=t.qState,!!NR.includes(n)&&t.qElemNumber;var n}));return t.filter((e=>!1!==e))}));return MR(t)}async function zR(e){let{selections:t,elemNumbers:n,toggle:r,isSingleSelect:o}=e;if(0===n.length)return!1;let a=!1;if(!n.some((e=>Number.isNaN(e)))){const e=n;try{a=!1!==await t.select({method:"selectListObjectValues",params:["/qListObjectDef",e,r]})}catch(e){a=!1}a||(o?t.cancel():t.clear())}return a}const DR="RowColumn",AR={row:"".concat(DR,"-row"),rowBorderBottom:"".concat(DR,"-rowBorderBottom"),column:"".concat(DR,"-column"),fieldRoot:"".concat(DR,"-fieldRoot"),cell:"".concat(DR,"-cell"),labelText:"".concat(DR,"-labelText"),labelDense:"".concat(DR,"-labelDense"),highlighted:"".concat(DR,"-highlighted"),checkboxLabel:"".concat(DR,"-checkboxLabel"),icon:"".concat(DR,"-icon"),S:"".concat(DR,"-S"),XS:"".concat(DR,"-XS"),A:"".concat(DR,"-A"),X:"".concat(DR,"-X"),frequencyCount:"".concat(DR,"-frequencyCount"),barContainer:"".concat(DR,"-barContainer"),bar:"".concat(DR,"-bar"),barSelected:"".concat(DR,"-barSelected"),barWithCheckbox:"".concat(DR,"-barWithCheckbox"),barSelectedWithCheckbox:"".concat(DR,"-barSelectedWithCheckbox"),excludedTextWithCheckbox:"".concat(DR,"-excludedTextWithCheckbox")},jR=".".concat(AR.fieldRoot),FR=e=>!(null!=e&&e.metaKey||null!=e&&e.ctrlKey);function BR(e){var t;let{selectionState:n,selections:r,checkboxes:o=!1,doc:a=document,loaderRef:i}=e;const l=H.useRef({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});H.useEffect((()=>{var e;if(null===(e=i.current)||void 0===e||null===(e=e._listRef)||void 0===e||!e._outerRef)return;const t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=e=>e.preventDefault(),o=i.current._listRef._outerRef;return o.addEventListener("gesturestart",t),o.addEventListener("gesturechange",n),o.addEventListener("gestureend",r),()=>{o.removeEventListener("gesturestart",t),o.removeEventListener("gesturechange",n),o.removeEventListener("gestureend",r)}}),[null===(t=i.current)||void 0===t||null===(t=t._listRef)||void 0===t?void 0:t._outerRef]);const s=()=>(n.setSelectableValuesUpdating(),zR({selections:r,elemNumbers:l.current.elemNumbers,isSingleSelect:n.isSingleSelect,toggle:l.current.toggle})),c=(e,t)=>{const r=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return MR(t)}(n.enginePages);return function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([e,t],r)},u=e=>{const{startElemNumber:t}=l.current;if(t===e)return;const r=c(l.current.startElemNumber,e);n.updateItems(r,!0,l.current.elemNumbers)},d=H.useCallback((e=>{if(n.selectDisabled())return;const t=+e.target.getAttribute("data-n"),r=!n.isSingleSelect&&FR(e.nativeEvent);l.current.elemNumbers=[t],l.current.toggle=r,r||n.clearItemStates(!0),n.updateItem(t),l.current.active=!1,s()}),[]),p=H.useCallback((e=>{if(0!==e.button||n.selectDisabled())return;const t=+e.currentTarget.getAttribute("data-n"),r=!n.isSingleSelect&&FR(e);l.current.isRange=!1,l.current.startElemNumber=t,l.current.elemNumbers=[t],l.current.toggle=r,l.current.active=!0,r||n.clearItemStates(!0),n.updateItem(t),n.isSingleSelect&&(l.current.active=!1,s()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(e,e.currentTarget)}),[]),f=H.useCallback((e=>{if(0===e.button&&l.current.active){if(l.current.active=!1,l.current.isRange){const t=+e.currentTarget.getAttribute("data-n");u(t)}s()}}),[]),h=H.useCallback((e=>{0===e.button&&l.current.active&&(l.current.active=!1,s())}),[]),m=H.useCallback((e=>{if(!l.current.active)return;l.current.isRange||(l.current.isRange=!0,n.isSelected(l.current.startElemNumber)||(n.updateItem(l.current.startElemNumber,!0),l.current.elemNumbers=[]));const t=+e.currentTarget.getAttribute("data-n");u(t)}),[]),g=H.useCallback((e=>{var t,r;if(l.current.active||l.current.isRange||n.isSingleSelect||e.touches.length<=1)return;if(e.touches.length>2)return void s();const o=Number(null===(t=e.touches[0].target)||void 0===t||null===(t=t.closest(jR))||void 0===t?void 0:t.getAttribute("data-n")),a=Number(null===(r=e.touches[1].target)||void 0===r||null===(r=r.closest(jR))||void 0===r?void 0:r.getAttribute("data-n"));if(Number.isNaN(o)||Number.isNaN(o))return void s();l.current.active=!0;c(o,a).length<7&&(l.current.touchRangeSmall=!0),l.current.elemNumbers=[],l.current.touchElemNumbers=[o,a]}),[]),v=H.useCallback((()=>{if(2!==l.current.touchElemNumbers.length)return;if(l.current.touchRangeSmall)return l.current.touchRangeSmall=!1,l.current.touchElemNumbers=[],void(l.current.active=!1);const[e,t]=l.current.touchElemNumbers;l.current.startElemNumber=e,u(t),l.current.touchElemNumbers=[],l.current.active=!1,l.current.toggle=!0,s()}),[]);H.useEffect((()=>(a.addEventListener("mouseup",h),()=>{a.removeEventListener("mouseup",h)})),[h]),H.useEffect((()=>{const e=()=>{n.clearItemStates(!1)},t=()=>{n.clearItemStates(!0),n.triggerStateChanged()};return r.on("clearItemStates",e),r.on("deactivated",e),r.on("cleared",t),()=>{r.removeListener("clearItemStates",e),r.removeListener("deactivated",e),r.removeListener("cleared",t)}}),[r]);const b={};return o?Object.assign(b,{onChange:d}):Object.assign(b,{onMouseUp:f,onMouseDown:p,onMouseEnter:m,onTouchStart:g,onTouchEnd:v}),{interactionEvents:b,select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const a=!n.isSingleSelect&&FR(null==o?void 0:o.nativeEvent);a||n.clearItemStates(!0);const i=[];return n.updateItems(e,t,i),n.setSelectableValuesUpdating(),zR({selections:r,elemNumbers:t?i:e,isSingleSelect:n.isSingleSelect,toggle:a})}}}const WR=e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var $R=e=>RR(WR(e));const HR=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,UR=e=>e?"A"===e.qState:null,VR=e=>{let{cell:t,checkboxes:n}=e;return(UR(t)||HR(t))&&n},GR=e=>{let{column:t,histogram:n,checkboxes:r,cell:o,showGray:a}=e;const i=[t?AR.column:AR.row];return n||i.push(AR.rowBorderBottom),o?(r||("XS"===o.qState?i.push(a?AR.XS:AR.S):"S"===o.qState||"L"===o.qState?i.push(AR.S):a&&UR(o)?i.push(AR.A):a&&HR(o)&&i.push(AR.X)),i):[]},KR=9,ZR=80,XR=10,QR=150,JR=56,YR=20,eL="-",tL=e=>e.filter((e=>!!e)).join(" ").trim(),nL=e=>{let{qFrequency:t,frequencyMax:n}=e;const r=String(t),o="%"===r.substring(r.length-1),a=parseFloat(o?r:t);return"".concat(o?a:a/n*100,"%")},rL=e=>e||eL,oL=e=>{let{sizes:t,frequencyMode:n,isGridMode:r,freqHitsValue:o}=e;if("P"===n)return"".concat(t.freqMinWidth,"px");return r&&!o?"max-content":"25%"},aL=e=>{let{sizes:t,frequencyMode:n,isGridMode:r}=e;return r?"max-content":"P"===n?t.freqMinWidth:t.freqMaxWidth},iL=e=>{let{theme:t}=e;return{background:t.palette.selected.main,color:t.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.custom.focusBorder),outline:"none"},"& $cell":{paddingRight:0}}},lL={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},sL=rb("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue"].includes(e)})((e=>{var t,n,r,o,i,l;let{theme:s,checkboxes:c,isGridMode:u,isGridCol:d,dense:p,direction:f,sizes:h,frequencyMode:m,freqHitsValue:g}=e;return{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(s.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"},"& .value":{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(s.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},["& .".concat(AR.row)]:{flexWrap:"nowrap",color:null!==(t=null===(n=s.listBox)||void 0===n||null===(n=n.content)||void 0===n?void 0:n.color)&&void 0!==t?t:s.palette.text.primary},["& .".concat(AR.rowBorderBottom)]:{borderBottom:d?"none":"1px solid ".concat(s.palette.divider),borderLeft:d?"1px solid ".concat(s.palette.divider):"none"},["& .".concat(AR.column)]:{flexWrap:"nowrap",borderRight:"1px solid ".concat(s.palette.divider),color:null!==(r=null===(o=s.listBox)||void 0===o||null===(o=o.content)||void 0===o?void 0:o.color)&&void 0!==r?r:s.palette.text.primary},["& .".concat(AR.cell)]:{display:"flex",alignItems:"center",flexGrow:1,minWidth:c?"52px":"26px",flexBasis:c?"auto":"max-content",paddingLeft:"".concat(KR,"px"),paddingRight:0},["& .".concat(AR.labelText)]:a(a({lineHeight:"16px",userSelect:"none",paddingRight:"1px"},lL),{},{fontSize:null===(i=s.listBox)||void 0===i||null===(i=i.content)||void 0===i?void 0:i.fontSize,fontFamily:null===(l=s.listBox)||void 0===l||null===(l=l.content)||void 0===l?void 0:l.fontFamily}),["& .".concat(AR.labelDense)]:{fontSize:12},["& .".concat(AR.highlighted)]:{backgroundColor:"#FFC72A"},["& .".concat(AR.checkboxLabel)]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":a(a({},lL),{},{display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"})},["& .".concat(AR.icon)]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},["& .".concat(AR.S)]:a(a({},iL({theme:s})),{},{border:u?"none":void 0}),["& .".concat(AR.XS)]:a(a({},iL({theme:s})),{},{background:s.palette.selected.excluded,color:s.palette.selected.excludedContrastText,border:u?"none":void 0}),["& .".concat(AR.A)]:{background:s.palette.selected.alternative,color:s.palette.selected.alternativeContrastText,border:u?"none":void 0},["& .".concat(AR.X)]:{background:s.palette.selected.excluded,color:s.palette.selected.excludedContrastText,border:u?"none":void 0},["& .".concat(AR.frequencyCount)]:a(a({justifyContent:"flex-end"},lL),{},{flex:"0 0 ".concat(oL({sizes:h,frequencyMode:m,isGridMode:u,freqHitsValue:g})),minWidth:!u&&"P"!==m&&g?h.freqMinWidth:"max-content",maxWidth:aL({sizes:h,frequencyMode:m,isGridMode:u}),textAlign:"rtl"===f?"left":"right",paddingLeft:"rtl"!==f?"8px":0}),["&.".concat(AR.barContainer)]:{height:"100%",display:"flex",alignItems:"center"},["& .".concat(AR.bar)]:{height:p?"16px":"20px",position:"absolute",zIndex:"-1",alignSelf:"center",left:4,width:"calc(100% - ".concat(8,"px)"),display:"flex",alignItems:"center","& .bar-filled":{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",transition:"width 0.2s",backgroundColor:"#FAFAFA",height:"100%"}},["& .".concat(AR.barSelected)]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:s.palette.background.lighter}},["& .".concat(AR.barWithCheckbox)]:{left:"rtl"===f?4:29,width:"calc(100% - ".concat(33,"px)")},["& .".concat(AR.barSelectedWithCheckbox)]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},["& .".concat(AR.excludedTextWithCheckbox)]:{color:"#828282",fontStyle:"italic"}}}));var cL=U.memo(sL);const uL="ListBoxCheckbox",dL={cbIcon:"".concat(uL,"-cbIcon"),cbIconChecked:"".concat(uL,"-cbIconChecked"),cbIconExcluded:"".concat(uL,"-cbIconExcluded"),cbIconAlternative:"".concat(uL,"-cbIconAlternative"),checkbox:"".concat(uL,"-checkbox"),dense:"".concat(uL,"-dense")},pL=rb(cE)((e=>{let{theme:t}=e;return{["& .".concat(dL.cbIcon)]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},["& .".concat(dL.cbIconChecked)]:{borderRadius:3,backgroundColor:t.palette.selected.main,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},["& .".concat(dL.cbIconExcluded)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.excluded},["& .".concat(dL.cbIconAlternative)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.alternative},["&.".concat(dL.checkbox)]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},["&.".concat(dL.dense)]:{padding:"4px 8px"}}})),fL=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return U.createElement("span",{className:e.cbIcon},n&&U.createElement("span",{className:t&&n?e.cbIconExcluded:""}))};function hL(e){let{onChange:t,checked:n,label:r,dense:o,excluded:a,showGray:i=!0,dataN:l}=e;return U.createElement(pL,{edge:"start",onChange:t,checked:n,disableRipple:!0,className:[dL.checkbox,o&&dL.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:fL(dL,i,a),checkedIcon:U.createElement("span",{className:dL.cbIconChecked})})}const mL="ListBoxRadioButton",gL={denseRadioButton:"".concat(mL,"-denseRadioButton"),radioButton:"".concat(mL,"-radioButton")},vL=rb($k)((e=>{let{theme:t,checked:n}=e;return{["&.".concat(gL.radioButton)]:{right:"5px",color:n?t.palette.selected.main:t.palette.main}}}));function bL(e){let{onChange:t,checked:n,label:r,dense:o,dataN:a}=e;return U.createElement(vL,{checked:n,onChange:t,value:r,name:r,className:gL.radioButton,inputProps:{"data-n":a},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}function yL(e){let{label:t,color:n,dense:r,showGray:o=!0,checkboxes:a,cell:i,valueTextAlign:l}=e;return U.createElement(aw,{component:"span",variant:"body2",className:tL([AR.labelText,r&&AR.labelDense,o&&VR({cell:i,checkboxes:a})&&AR.excludedTextWithCheckbox]),color:n,align:l,dir:"auto"},U.createElement("span",null,t))}function xL(e){let{label:t,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}=e;return"string"==typeof t?U.createElement(yL,{label:t,color:n,dense:r,showGray:o,checkboxes:a,cell:i,valueTextAlign:l}):t}function SL(e){let{onChange:t,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:p}=e;const f=U.createElement(hL,{onChange:t,label:n,checked:a,dense:i,excluded:HR(l),isGridCol:s,showGray:c,dataN:o}),h=U.createElement(bL,{onChange:t,label:n,checked:a,dense:i,dataN:o});return U.createElement(UE,{color:r,control:u?h:f,className:AR.checkboxLabel,label:U.createElement(xL,{label:n,color:r,dense:i,showGray:c,checkboxes:d,cell:l,valueTextAlign:p}),key:o})}function wL(e){let{labels:t,dense:n,showGray:r,checkboxes:o}=e;const a=t.map(((e,t)=>{let[n,r]=e;return U.createElement("span",{id:t,className:r?AR.highlighted:""},n)}));return U.createElement(yL,{label:a,dense:n,showGray:r,checkboxes:o})}function EL(e){let{onChange:t,labels:n,checkboxes:r,dense:o,showGray:a,color:i,qElemNumber:l,isSelected:s,cell:c,isGridCol:u,isSingleSelect:d,valueTextAlign:p}=e;const f=U.createElement(wL,{labels:n,dense:o,showGray:a,checkboxes:r});return r?U.createElement(SL,{onChange:t,label:f,color:i,qElemNumber:l,isSelected:s,dense:o,cell:c,isGridCol:u,showGray:a,isSingleSelect:d,checkboxes:r,valueTextAlign:p}):f}var CL=U.memo((function(e){let{onChange:t,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:p}=e;return d?U.createElement(SL,{onChange:t,label:n,color:r,qElemNumber:o,isSelected:a,dense:i,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:p}):U.createElement(yL,{label:n,color:r,dense:i,showGray:!0,checkboxes:d,cell:l,valueTextAlign:p})}));function kL(e){let{qFrequency:t,histogram:n,checkboxes:r,isSelected:o,frequencyMax:a}=e;if(!(t&&n&&rL(t)!==eL))return;const i=nL({qFrequency:t,checkboxes:r,frequencyMax:a});return U.createElement(Uw,{className:tL([AR.bar,r&&AR.barWithCheckbox,o&&(r?AR.barSelectedWithCheckbox:AR.barSelected)])},U.createElement(Uw,{className:"bar-filled",width:i}))}function RL(e){let{cell:t,checkboxes:n,dense:r,showGray:o}=e;const a=rL(null==t?void 0:t.qFrequency);return U.createElement(nC,{item:!0,style:{display:"flex",alignItems:"center"},className:AR.frequencyCount,"aria-label":a,title:a},U.createElement(aw,{noWrap:!0,color:"inherit",variant:"body2",className:tL([r&&AR.labelDense,AR.labelText,o&&VR({cell:t,checkboxes:n})&&AR.excludedTextWithCheckbox])},a))}function LL(e){let{dataLayout:t,layoutOrder:n,itemPadding:r}=e;if("singleColumn"===t)return{height:"100%",width:"100%"};switch(n){case"row":case"column":return{height:"calc(100% - ".concat(r,"px)"),width:"calc(100% - ".concat(2*r,"px)"),position:"absolute",left:4};default:return{}}}const OL=rb(nC,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction"].includes(e)})((e=>{let{dataLayout:t,layoutOrder:n,itemPadding:r,cellPaddingRight:o,direction:i}=e;const l="padding".concat("rtl"===i?"Left":"Right");return{["&.".concat(AR.fieldRoot)]:a(a({},LL({dataLayout:t,layoutOrder:n,itemPadding:r})),{},{[l]:o?"8px":void 0})}}));const IL={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"};function TL(e){var t;let{layout:n}=e;const{translator:r}=H.useContext(xS),{qStateCounts:o={}}=(null==n||null===(t=n.qListObject)||void 0===t?void 0:t.qDimensionInfo)||{},a=o.qSelected+o.qSelectedExcluded+o.qLocked+o.qLockedExcluded;let i;switch(a){case 0:i="ScreenReader.ZeroSelected";break;case 1:i="ScreenReader.OneSelected";break;default:i="ScreenReader.ManySelected"}const l=r.get(i,[a]);return U.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},l)}const PL=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===PL.ARROW_UP||e===PL.ARROW_DOWN||e===PL.ARROW_LEFT||e===PL.ARROW_RIGHT}),_L=e=>+e.getAttribute("data-n"),NL=e=>{const t=null==e?void 0:e.querySelector(".search input");return null==t||t.focus(),t},ML=e=>{const t=null==e?void 0:e.querySelector(".value.last-focused, .value.selector, .value");return null==t||t.setAttribute("tabIndex",0),null==t||t.focus(),t},qL=e=>{let{rowIndex:t,columnIndex:n,rowCount:r,columnCount:o,layoutOrder:a,keyCode:i,numCells:l}=e;const s=e=>{let t;return"row"===a?(t=l%o,e<t?r:r-1):(t=l%r,e<o-1?r:t)};let c=t,u=n;if(i===PL.ARROW_DOWN)if(t>=s(n)-1){if(n===o-1)return-1;c=0,u=n+1}else c=t+1;else if(0===t){if(0===n)return-1;c=s(n-1)-1,u=n-1}else c=t-1;if("row"===a)return c*o+u;const d=l%r;return 0===d||c<d?c*o+u:(c-d)*(o-1)+u+d*o};function zL(e){var t,n;let{index:r,rowIndex:o,columnIndex:i,style:l,data:s}=e;const{onChange:c,onClick:u,onMouseDown:d,onMouseUp:p,onMouseEnter:f,onTouchStart:h,onTouchEnd:m,pages:g,isLocked:v,column:b=!1,checkboxes:y=!1,textAlign:x,direction:S,layoutOptions:w={},freqIsAllowed:E,isSingleSelect:C,actions:k,frequencyMax:R="",histogram:L=!1,keyboard:O,showGray:I=!0,showTick:T=!0,columnCount:P=1,rowCount:_=1,dataOffset:N,deducedFrequencyMode:M,focusListItems:q,listCount:z,sizes:D,translator:A,showSearch:j,isModal:F}=s,{dense:B=!1,dataLayout:W="singleColumn",layoutOrder:$}=w,{itemPadding:V}=D;let G,K;const Z={max:null,currentIndex:null};if("number"==typeof o&&"number"==typeof i){"row"===$?(G=o*P+i,Z.max=_,Z.currentIndex=o):(G=i*_+o,Z.max=P,Z.currentIndex=i);const e=0;K=a(a({},l),{},{left:e+(0===i?l.left:Number(l.left)+i*e),top:0===o?l.top:Number(l.top)+o*e})}else G=r,Z.max=z,Z.currentIndex=r,K=a({},l);G+=N;const[X,Q]=H.useState(null);H.useEffect((()=>{null!==X&&(0===Z.currentIndex&&q.first&&(X.focus(),q.setFirst(!1)),Z.currentIndex===Z.max-1&&q.last&&(X.focus(),q.setLast(!1)))}),[X,q.first,q.last]);const J=H.useCallback(function(e){let{select:t,selectAll:n,onCtrlF:r,confirm:o,cancel:a,setScrollPosition:i,focusListItems:l,keyboard:s,isModal:c,rowCount:u,columnCount:d,rowIndex:p,columnIndex:f,layoutOrder:h}=e;const m=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e===PL.ARROW_LEFT||e===PL.ARROW_RIGHT||"number"!=typeof p||"number"!=typeof f){const e=null==t?void 0:t.parentElement[n?"nextElementSibling":"previousElementSibling"];return null==e?void 0:e.querySelector("[role]")}const r=null==t?void 0:t.parentElement.parentElement,o=null==r?void 0:r.childElementCount;if(o){const n=qL({rowIndex:p,columnIndex:f,rowCount:u,columnCount:d,layoutOrder:h,keyCode:e,numCells:o}),r=null==t?void 0:t.parentElement.parentElement.children[n];return null==r?void 0:r.querySelector("[role]")}};let g=!1;const v=e=>{g=e};return e=>{let u;const{currentTarget:d,nativeEvent:p}=e,{keyCode:f,shiftKey:h=!1,ctrlKey:b=!1,metaKey:y=!1}=p;switch(f){case PL.TAB:{const e=d.closest(".listbox-container"),t=c();if(d.classList.add("last-focused"),h){NL(e)||(t?s.focusSelection():s.blur(!0));break}t?s.focusSelection():(d.blur(),s.blur());break}case PL.SHIFT:v(!0);break;case PL.SPACE:t([_L(d)],!1,e);break;case PL.ARROW_DOWN:case PL.ARROW_RIGHT:u=m(f,d,!0),h&&u&&(g&&(t([_L(d)],!0),v(!1)),t([_L(u)],!0));break;case PL.ARROW_UP:case PL.ARROW_LEFT:u=m(f,d,!1),h&&u&&(g&&(t([_L(d)],!0),v(!1)),t([_L(u)],!0));break;case PL.ENTER:o();break;case PL.ESCAPE:if(!c())return;a();break;case PL.HOME:if(l.setFirst(!0),b){null==i||i("overflowStart");break}null==i||i("start");break;case PL.END:if(l.setLast(!0),b){null==i||i("overflowEnd");break}null==i||i("end");break;case PL.A:if(b||y){n();break}return;case PL.F:if(b||y){r();break}return;default:return}u&&u.focus(),e.preventDefault(),e.stopPropagation()}}(a(a({},k),{},{focusListItems:q,keyboard:O,isModal:F,rowCount:_,columnCount:P,rowIndex:o,columnIndex:i,layoutOrder:$})),[k,null==O?void 0:O.innerTabStops,_,P,o,i,$]),Y=H.useMemo((()=>function(e){let t,{pages:n,cellIndex:r}=e;const o=n.filter((e=>e.qArea.qTop<=r&&r<e.qArea.qTop+e.qArea.qHeight))[0];if(o){const e=o.qArea;r>=e.qTop&&r<e.qTop+e.qHeight&&([t]=o.qMatrix[r-e.qTop])}return t}({pages:g,cellIndex:G})),[g,G]),ee="S"===(null==Y?void 0:Y.qState)||"XS"===(null==Y?void 0:Y.qState)||"L"===(null==Y?void 0:Y.qState)||"XL"===(null==Y?void 0:Y.qState),te=H.useMemo((()=>GR({column:b,histogram:L,checkboxes:y,cell:Y,showGray:I})),[null==Y?void 0:Y.qState,L,B,y]),ne=H.useCallback((e=>{e.preventDefault()}),[y]),re=H.useMemo((()=>Y&&function(e){let{direction:t,cell:n,textAlign:r}=e;const o=!["NaN",void 0].includes(null==n?void 0:n.qNum);let a;return a=!r||r.auto?o?"rtl"===t?"left":"right":{rtl:"right",ltr:"left"}[t]:(null==r?void 0:r.align)||"left",["left","center","right"].includes(a)?a:"left"}({direction:S,cell:Y,textAlign:x})),[S,Y,x]);if(!Y)return null;const oe="grid"===W&&"column"===$,ae=null!==(t=null==Y?void 0:Y.qText)&&void 0!==t?t:"";let ie;if(null!==(n=Y.qHighlightRanges)&&void 0!==n&&null!==(n=n.qRanges)&&void 0!==n&&n.length){const e=Y.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[];ie=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const a=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{qCharPos:r,qCharCount:o}=t,a=[];return r>n&&a.push([e.slice(n,r),!1]),a.push([e.slice(r,r+o),!0]),a}(e,r,a));const i=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return i&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(ae,e)}const le={alignItems:"center",display:"flex",fontSize:"8px"},se="rtl"===S,ce={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:se?8:y?0:void 0,paddingRight:y?0:se?8:0,justifyContent:re},ue=0===r,de=ee&&v,pe=!y&&ee&&!v,fe=!y&&T,he=y||!T,me=function(e){let{translator:t,label:n,qState:r,isSelected:o,currentIndex:a,maxIndex:i,showSearch:l}=e;const s=IL[r],c=t.get(s),u=[];if(o){const e=l?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=t.get(e);u.push(n)}const d="".concat(n," ").concat(c),p=t.get("CurrentSelections.Of",[a+1,i+1]);return u.unshift(d,p),u.join(". ").trim()}({translator:A,label:ae,qState:Y.qState,currentIndex:Z.currentIndex,maxIndex:Z.max,showSearch:j}),ge=!se&&"right"===re||se&&"left"===re;return U.createElement(cL,{className:AR.barContainer,checkboxes:y,style:K,isGridCol:oe,isGridMode:"grid"===W,dense:B,direction:S,sizes:D,frequencyMode:M,freqHitsValue:ge,"data-testid":"listbox.item"},U.createElement(OL,{role:"row","aria-label":me,"aria-selected":ee,"aria-setsize":Z.max,"aria-rowindex":Z.currentIndex,ref:Q,container:!0,dataLayout:W,cellPaddingRight:he,layoutOrder:$,itemPadding:V,gap:0,className:tL(["value",...te]),classes:{root:AR.fieldRoot},onClick:u,onMouseDown:d,onMouseUp:p,onMouseEnter:f,onKeyDown:J,onTouchStart:h,onTouchEnd:m,onContextMenu:ne,tabIndex:ue&&O.innerTabStops?0:-1,"data-n":null==Y?void 0:Y.qElemNumber,direction:S},(null==Y?void 0:Y.qFrequency)&&U.createElement(kL,{qFrequency:null==Y?void 0:Y.qFrequency,histogram:L,checkboxes:y,isSelected:ee,frequencyMax:R}),U.createElement(nC,{item:!0,style:ce,className:tL([AR.cell,AR.selectedCell]),title:"".concat(ae)},ie?U.createElement(EL,{onChange:c,labels:ie,checkboxes:y,dense:B,showGray:I,color:"inherit",qElemNumber:Y.qElemNumber,isSelected:ee,cell:Y,isGridCol:oe,isSingleSelect:C,valueTextAlign:re}):U.createElement(CL,{onChange:c,label:ae,color:"inherit",qElemNumber:Y.qElemNumber,isSelected:ee,dense:B,cell:Y,isGridCol:oe,showGray:I,isSingleSelect:C,checkboxes:y,valueTextAlign:re})),E&&U.createElement(RL,{cell:Y,checkboxes:y,dense:B,showGray:I}),fe&&U.createElement(nC,{item:!0,className:AR.icon},de&&U.createElement(OR,{style:le,size:"small"}),pe&&U.createElement($R,{style:le,size:"small"}))))}var DL=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function AL(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||DL(r)&&DL(o)))return!1;var r,o;return!0}function jL(e,t){var n;void 0===t&&(t=AL);var r,o=[],a=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return a&&n===this&&t(i,o)||(r=e.apply(this,i),a=!0,n=this,o=i),r}}var FL="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function BL(e){cancelAnimationFrame(e.id)}function WL(e,t){var n=FL();var r={id:requestAnimationFrame((function o(){FL()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var $L=-1;function HL(e){if(void 0===e&&(e=!1),-1===$L||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),$L=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return $L}var UL=null;function VL(e){if(void 0===e&&(e=!1),null===UL||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?UL="positive-descending":(t.scrollLeft=1,UL=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),UL}return UL}var GL=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function KL(e){var t,n=e.getColumnOffset,r=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,a=e.getColumnWidth,i=e.getEstimatedTotalHeight,l=e.getEstimatedTotalWidth,s=e.getOffsetForColumnAndAlignment,c=e.getOffsetForRowAndAlignment,u=e.getRowHeight,d=e.getRowOffset,p=e.getRowStartIndexForOffset,f=e.getRowStopIndexForStartIndex,h=e.initInstanceProps,m=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=h(r.props,kx(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:kx(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=jL((function(e,t,n,o,a,i,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:a,visibleColumnStopIndex:i,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=jL((function(e,t,n,o,a){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:a})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,i=r.props,l=i.columnWidth,s=i.direction,c=i.rowHeight,p=r._getItemStyleCache(m&&l,m&&s,m&&c),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=n(r.props,t,r._instanceProps),g="rtl"===s;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(r.props,e,r._instanceProps),height:u(r.props,e,r._instanceProps),width:a(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=jL((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,a=t.scrollLeft,i=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===a&&e.scrollTop===i)return null;var t=r.props.direction,c=a;if("rtl"===t)switch(VL()){case"negative":c=-a;break;case"positive-descending":c=s-o-a}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(i,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<a?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<i?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&BL(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=WL(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}hx(t,e),t.getDerivedStateFromProps=function(e,t){return ZL(e,t),g(e),null};var v=t.prototype;return v.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},v.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,a=this.props,u=a.columnCount,d=a.height,p=a.rowCount,f=a.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,v=HL();void 0!==r&&(r=Math.max(0,Math.min(r,u-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var b=i(this.props,this._instanceProps),y=l(this.props,this._instanceProps)>f?v:0,x=b>d?v:0;this.scrollTo({scrollLeft:void 0!==r?s(this.props,r,n,m,this._instanceProps,x):m,scrollTop:void 0!==o?c(this.props,o,n,g,this._instanceProps,y):g})},v.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},v.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(VL()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var a=o.clientWidth,i=o.scrollWidth;o.scrollLeft=i-a-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},v.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&BL(this._resetIsScrollingTimeoutId)},v.render=function(){var e=this.props,t=e.children,n=e.className,r=e.columnCount,o=e.direction,a=e.height,s=e.innerRef,c=e.innerElementType,u=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?GL:p,h=e.outerElementType,m=e.outerTagName,g=e.rowCount,v=e.style,b=e.useIsScrolling,y=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),w=S[0],E=S[1],C=this._getVerticalRangeToRender(),k=C[0],R=C[1],L=[];if(r>0&&g)for(var O=k;O<=R;O++)for(var I=w;I<=E;I++)L.push(H.createElement(t,{columnIndex:I,data:d,isScrolling:b?x:void 0,key:f({columnIndex:I,data:d,rowIndex:O}),rowIndex:O,style:this._getItemStyle(O,I)}));var T=i(this.props,this._instanceProps),P=l(this.props,this._instanceProps);return H.createElement(h||m||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:dx({position:"relative",height:a,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},v)},H.createElement(c||u||"div",{children:L,ref:s,style:{height:T,pointerEvents:x?"none":void 0,width:P}}))},v._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var a=this._getHorizontalRangeToRender(),i=a[0],l=a[1],s=a[2],c=a[3],u=this._getVerticalRangeToRender(),d=u[0],p=u[1],f=u[2],h=u[3];this._callOnItemsRendered(i,l,d,p,s,c,f,h)}if("function"==typeof r){var m=this.state,g=m.horizontalScrollDirection,v=m.scrollLeft,b=m.scrollTop,y=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(v,b,g,x,y)}},v._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,a=e.overscanColumnsCount,i=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,p=n||a||i||1;if(0===t||0===l)return[0,0,0,0];var f=r(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,p),g=u&&"forward"!==c?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},v._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,a=e.rowCount,i=this.state,l=i.isScrolling,s=i.verticalScrollDirection,c=i.scrollTop,u=r||o||n||1;if(0===t||0===a)return[0,0,0,0];var d=p(this.props,c,this._instanceProps),h=f(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),g=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(a-1,h+g)),d,h]},t}(H.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var ZL=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},XL=function(e,t){return e};function QL(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,a=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,u=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,kx(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:kx(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=jL((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=jL((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,a=r.props,i=a.direction,l=a.itemSize,s=a.layout,u=r._getItemStyleCache(c&&l,c&&s,c&&i);if(u.hasOwnProperty(e))t=u[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===s,h="rtl"===i,m=f?d:0;u[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=jL((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,a=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,i=o;if("rtl"===t)switch(VL()){case"negative":i=-o;break;case"positive-descending":i=a-n-o}return i=Math.max(0,Math.min(i,a-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,a=t.scrollTop;r.setState((function(e){if(e.scrollOffset===a)return null;var t=Math.max(0,Math.min(a,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&BL(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=WL(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}hx(t,e),t.getDerivedStateFromProps=function(e,t){return JL(e,t),u(e),null};var d=t.prototype;return d.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,i=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?HL():0:s.scrollHeight>s.clientHeight?HL():0}this.scrollTo(a(this.props,e,t,i,this._instanceProps,l))},d.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var a=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(VL()){case"negative":a.scrollLeft=-o;break;case"positive-ascending":a.scrollLeft=o;break;default:var i=a.clientWidth,l=a.scrollWidth;a.scrollLeft=l-i-o}else a.scrollLeft=o;else a.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&BL(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,a=e.height,i=e.innerRef,l=e.innerElementType,s=e.innerTagName,c=e.itemCount,u=e.itemData,d=e.itemKey,p=void 0===d?XL:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,v=e.useIsScrolling,b=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),E=w[0],C=w[1],k=[];if(c>0)for(var R=E;R<=C;R++)k.push(H.createElement(t,{data:u,key:p(R,u),index:R,isScrolling:v?y:void 0,style:this._getItemStyle(R)}));var L=r(this.props,this._instanceProps);return H.createElement(h||m||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:dx({position:"relative",height:a,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},H.createElement(l||s||"div",{children:k,ref:i,style:{height:x?"100%":L,pointerEvents:y?"none":void 0,width:x?L:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var a=this.state,i=a.scrollDirection,l=a.scrollOffset,s=a.scrollUpdateWasRequested;this._callOnScroll(i,l,s)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,a=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var c=i(this.props,s,this._instanceProps),u=l(this.props,c,s,this._instanceProps),d=o&&"backward"!==a?1:Math.max(1,n),p=o&&"forward"!==a?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(H.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var JL=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},YL=KL({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,a){var i=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,i*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+a+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(s/2)?0:p>c+Math.floor(s/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,a){var i=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*i-l),u=Math.min(c,t*i),d=Math.max(0,t*i-l+a+i);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(l/2)?0:p>c+Math.floor(l/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,a=e.width,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,a=e.height,i=t*r,l=Math.ceil((a+n-i)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),eO=QL({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,a){var i=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,p="horizontal"===i||"horizontal"===u?d:l,f=Math.max(0,s*c-p),h=Math.min(f,t*c),m=Math.max(0,t*c-p+c+a);switch("smart"===n&&(n=r>=m-p&&r<=h+p?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var g=Math.round(m+(h-m)/2);return g<Math.ceil(p/2)?0:g>f+Math.floor(p/2)?f:g;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,a=e.itemCount,i=e.itemSize,l=e.layout,s=e.width,c=t*i,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(a-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const tO="#BBB",nO="#f1f1f1",rO={styledScrollbars:"".concat("ListBox","-styledScrollbars")};const oO=(e,t)=>void 0!==(null==e?void 0:e.visibleRowStopIndex)||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,aO=(e,t)=>void 0!==(null==e?void 0:e.visibleRowStartIndex)||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,iO=(e,t,n,r)=>e===t*n+r+n;function lO(e){let{renderProps:t,layoutOptions:n,maxCount:r,columnCount:o,rowCount:a,overflowDisclaimer:i,qCardinal:l,dataOffset:s}=e;const c="column"===(null==n?void 0:n.layoutOrder)&&"singleColumn"!==n.dataLayout,u=oO(t,c),d=c?r.column:r.row,p=(c?o:a)>=d,f=iO(l,u,c?a:o,s),h=!!s&&aO(t,c),m=p&&!f&&u>=d-1||h||i.state.show;i.set(m)}const{StyledFixedSizeList:sO,StyledFixedSizeGrid:cO}=function(){const e=e=>({scrollbarColor:"".concat(tO," ").concat(nO),overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:nO},"&::-webkit-scrollbar-thumb":{backgroundColor:tO,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:bm(eO,{shouldForwardProp:e=>"scrollDisabled"!==e})((t=>{let{scrollDisabled:n}=t;return{["&.".concat(rO.styledScrollbars)]:e(n)}})),StyledFixedSizeGrid:bm(YL,{shouldForwardProp:e=>"scrollDisabled"!==e})((t=>{let{scrollDisabled:n}=t;return{["&.".concat(rO.styledScrollbars)]:e(n)}}))}}();const uO=(e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)},dO=e=>{const t=H.useMemo((()=>"text"in e?e:{}),[e]);return H.useMemo((()=>uO(t.text,t.font||"12px Source Sans Pro")),[t.text,t.font])};function pO(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}function fO(e){var t;let{layout:n,width:r,height:o,listCount:a,count:i,freqIsAllowed:l,checkboxes:s,theme:c}=e;const{layoutOptions:u={}}=n||{},{layoutOrder:d,maxVisibleRows:p={},maxVisibleColumns:f,dense:h,dataLayout:m}=u,{fontSize:g="12px",fontFamily:v="Source sans pro"}=(null==c||null===(t=c.listBox)||void 0===t?void 0:t.content)||{},b="".concat(g," ").concat(v),y=dO({text:pO(n),font:b}),x=dO({text:pO(5),font:b}),S=dO({text:pO(8),font:b}),w=l?x:0,E=s?YR:0;let C=JR+w+E;!s&&C>=ZR&&(C+=YR);let k,R,L,O,I=y+18+w+E;!s&&I>=ZR&&(I+=YR),I=Math.min(QR,Math.max(I,C));const T="grid"===m;let P=h?20:T?32:29;T&&(P+=4);const _=null!=o?o:8*P;if(d){let e=r;"row"===d?(k={overflowX:"hidden"},e+=8,({rowCount:O,columnWidth:L,columnCount:R}=function(e){let{maxVisibleColumns:t,listCount:n,containerWidth:r,columnAutoWidth:o,itemMinWidth:a}=e;const i=(null==t?void 0:t.maxColumns)||3,l=r-XR;let s;const c=Math.min(n,Math.max(1,Math.round(l/Math.max(a,o))));s=!1!==(null==t?void 0:t.auto)?c:Math.min(n,i,c);const u=l/s;return{rowCount:Math.ceil(n/s),columnWidth:u,columnCount:s}}({maxVisibleColumns:f,listCount:a,containerWidth:e,columnAutoWidth:I,itemMinWidth:C}))):(k={overflowY:"hidden"},({rowCount:O,columnWidth:L,columnCount:R}=function(e){let t,{maxVisibleRows:n,itemHeight:r,listCount:o,listHeight:a,columnAutoWidth:i,containerWidth:l,itemMinWidth:s}=e;const c=(null==n?void 0:n.maxRows)||3,u=Math.floor(a/r);t=!1!==n.auto?u:Math.min(o,c,u);const d=Math.ceil(o/t);return{columnWidth:Math.max(i,l/d,s),columnCount:d,rowCount:t}}({maxVisibleRows:p,itemHeight:P,listCount:a,listHeight:_,columnAutoWidth:I,containerWidth:e,itemMinWidth:C})))}R=("singleColumn"===m?1:R)||1,O=("singleColumn"===m?i:O)||a;const N=u.dense?838e3:577e3;O=Math.min(O,N);const M=Math.floor(3355e4/L);R=Math.min(R,M)||1;const q=O*R,z=Math.min(a,q);return{columnCount:R,columnWidth:L,rowCount:O,overflowStyling:k,itemHeight:P,listHeight:_,listWidth:r,scrollBarWidth:XR,count:i,listCount:z,maxCount:{row:N,column:M},itemPadding:4,textWidth:y,freqMinWidth:x,freqMaxWidth:S}}const hO=e=>{let{pages:t=[],minimumBatchSize:n,count:r}=e;const o=t.some((e=>e.qArea.qHeight<n)),a=Math.max(...t.map((e=>e.qArea.qTop+e.qArea.qHeight)));return o?a:r};const[mO,gO]=SS({});function vO(e){const t="".concat(e.id),[n]=mO();return{setStoreValue:(e,r)=>n.set("".concat(t,"/").concat(e),r),getStoreValue:e=>n.get("".concat(t,"/").concat(e))}}const bO=rb(aw,{shouldForwardProp:e=>!["width","dense"].includes(e)})((e=>{let{width:t,dense:n}=e;return a({minWidth:"".concat(t,"px"),textAlign:"center",fontSize:"".concat(n?"12px":"14px")},n&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:t})}));function yO(e){let{width:t,text:n,dense:r,tooltip:o}=e;const{translator:a}=H.useContext(xS);return U.createElement(tR,{title:o?a.get(n):""},U.createElement(bO,{width:t,dense:r,component:"div",variant:"body1",py:"12px"},a.get(n)))}var xO={},SO={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(SO);var wO,EO=SO.exports,CO={},kO=r(jS);var RO=EO;Object.defineProperty(xO,"__esModule",{value:!0});var LO=xO.default=void 0,OO=RO((wO||(wO=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=kO}(CO)),CO)),IO=Om,TO=(0,OO.default)((0,IO.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");LO=xO.default=TO;const PO=rb(VS)((e=>{let{theme:t,left:n}=e;return{position:"absolute",bottom:"12px",display:"flex",border:"1px solid ".concat(t.palette.divider),width:"calc(100% - 11px)",left:n}})),_O=rb("div")((()=>({paddingLeft:"6px",flexGrow:1}))),NO=rb("div")((e=>{let{dense:t}=e;return{display:"flex",alignItems:"".concat(t?"center":"flex-start")}})),MO=rb(LO)((()=>({fontSize:"14px"})));function qO(e){let{text:t,dismiss:n,dense:r,parentWidth:o=0}=e;const a="function"==typeof n,i=r?370:282,l=Math.max(o/2-i/2,0),s=Math.min(i,o)-42,c=r&&o<i;return U.createElement(PO,{left:l,style:{maxWidth:i}},U.createElement(_O,null,U.createElement(yO,{text:t,dense:r,width:s,tooltip:c})),U.createElement(NO,{dense:r},a&&U.createElement(JS,{"aria-label":"close",onClick:()=>n()},U.createElement(MO,null))))}const zO=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t;const DO=80;function AO(e){let{itemWidth:t,layout:n,frequencyMode:r}=e;const o=t>DO,{frequencyEnabled:a=!1}=(null==n?void 0:n.qListObject)||{},i=!["N",void 0].includes(r);return!(!o||!i&&!a)}const jO=e=>{const t=(e=>e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:"[".concat(e.replace(/\]/g,"]]"),"]"):e)(e);return"Max(AGGR(Count(".concat(t,"), ").concat(t,"))")},FO=(e,t)=>{const n=(e=>"fetch"===(null==e?void 0:e.frequencyMax))(t),[r,o]=H.useState(),[a,i]=H.useState(n);return H.useEffect((()=>{if(!n)return;(async()=>{const n=await(async(e,t)=>{const n=e.qListObject.qDimensionInfo,r=n.qGroupFieldDefs[n.qGroupPos],o=jO(r);return(await t.evaluateEx(o)).qNumber})(t,e);o(n),i(!1)})()}),[n&&t]),{frequencyMax:n?r:null==t?void 0:t.frequencyMax,awaitingFrequencyMax:a}};const BO=["isLoadingData"],WO=100,$O=rb("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function HO(e){var t,n;let{model:r,app:o,constraints:i,theme:c,layout:u,selections:d,selectionState:p,direction:f,checkboxes:h,height:m,width:g,frequencyMode:v,update:b,fetchStart:y,postProcessPages:x,calculatePagesHeight:S=!1,keyboard:w={},showGray:E=!0,scrollState:C,selectDisabled:k=(()=>!1),keyScroll:R={state:{},reset:()=>{}},currentScrollIndex:L={set:()=>{}},renderedCallback:O,onCtrlF:I,showSearch:T,isModal:P}=e;const{translator:_}=H.useContext(xS),[N,M]=H.useState(!1),q=!(!u||!u.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:z=h,histogram:D}=null!=u?u:{},[A,j]=H.useState(""),F=H.useRef(null),B=H.useRef({queue:[],validPages:!1,dataOffset:0}),W=H.useRef({pages:[]}),{frequencyMax:$,awaitingFrequencyMax:V}=FO(o,u),G=function(e){let{local:t,loaderRef:n,model:r,fetchStart:o,scrollTimeout:a,postProcessPages:i,listData:l}=e;const[s,c]=H.useState(!1),[u,d]=H.useState([]);let[p]=H.useState(0);const f=(e,s)=>{const u=t.current.dataOffset;t.current.queue.push({start:e+u,stop:s+u});const f=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return t.current.queue.length>10&&t.current.queue.shift(),clearTimeout(t.current.timeout),c(!0),new Promise((e=>{t.current.timeout=setTimeout((()=>{const n=t.current.queue.slice(-1)[0],a=r.getListObjectData("/qListObjectDef",[{qTop:n.start>p?n.start-p:0,qHeight:p,qLeft:0,qWidth:1},{qTop:n.start,qHeight:p,qLeft:0,qWidth:1}]).then((n=>{const r=i?i(n):n;t.current.validPages=!0,l.current.pages=r,d(r),c(!1),e()}));o&&o(a)}),f?a:0)}))};return{loadMoreItems:{with(e){let{minimumBatchSize:t}=e;return t&&(p=t),f}},pages:u,isLoading:s}}({local:B,loaderRef:F,model:r,fetchStart:y,scrollTimeout:0,postProcessPages:x,listData:W}),K=s(G,BO),{getStoreValue:Z,setStoreValue:X}=vO(r),Q=H.useCallback(K.loadMoreItems,[u]),[J,Y]=H.useState({show:!1,dismissed:!1}),[ee,te]=H.useState([]);null!=K&&K.pages&&p.update({setPages:te,pages:K.pages,isSingleSelect:q,selectDisabled:k,layout:u});const ne=null==u?void 0:u.qListObject.qDimensionInfo.qCardinal;(null!=K&&K.pages.length&&!V||0===ne)&&(null==O||O());const re=H.useCallback((e=>{if(null==ee||!ee.length||!B.current.validPages)return!1;B.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=ee.filter((e=>t(e)))[0];return n&&t(n)}),[u,ee]),{interactionEvents:oe,select:ae}=BR({selectionState:p,selections:d,checkboxes:z,doc:document,loaderRef:F}),{layoutOptions:ie={}}=u||{};let le=!0;ie.dataLayout&&(le="singleColumn"===ie.dataLayout||"row"===(null==ie?void 0:ie.layoutOrder));const se="grid"===(null==ie?void 0:ie.dataLayout),ce=e=>{const t=a({},le?{rowIndex:e}:{columnIndex:e}),n=se?t:e;F.current._listRef.scrollToItem(n)},ue=()=>{if(B.current.queue=[],B.current.validPages=!1,F.current){F.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===R.state.scrollPosition;if(u&&u.qSelectionInfo.qInSelections||e)return void(e&&R.reset());B.current.dataOffset=0,ce(0)}};b&&b.call(null,ue),H.useEffect((()=>{C&&!N&&F.current&&(F.current._listRef.scrollToItem(C.initScrollPos),M(!0))}),[F.current]),H.useEffect((()=>{ue()}),[u,B.current.dataOffset]);let de=WO;const pe="grid"!==ie.dataLayout,fe=null==u||null===(t=u.qListObject.qSize)||void 0===t?void 0:t.qcy,he=function(e){let{pages:t,minimumBatchSize:n,count:r,calculatePagesHeight:o=!1}=e;return(null!=t&&t.length&&o?hO({pages:t,minimumBatchSize:n,count:r}):r)||0}({pages:ee,minimumBatchSize:de,count:fe,calculatePagesHeight:S,layoutOptions:ie,model:r});let me=AO({itemWidth:g,layout:u,frequencyMode:v});const ge=function(e){return e.some((e=>{let{qMatrix:t}=e;return t.some((e=>{var t;let[n]=e;return!(null===(t=n.qFrequency)||void 0===t||!t.match("%"))}))}))?"P":"-"}(ee),ve=fO({layout:u,width:g,height:m,listCount:he,count:fe,freqIsAllowed:me,checkboxes:z,theme:c});ve.columnWidth&&(me=AO({itemWidth:ve.columnWidth,layout:u,frequencyMode:v}));const{listCount:be}=ve;X("listCount",be);const ye=Z("inputText");H.useEffect((()=>{if(ye){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(be),t=_.get(e,[be]);j(t)}}),[ye,be]);const xe=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function(e){let t,{position:n,isRow:r,sizes:o,layout:a,offset:i}=e,l=!1,s=null!=i?i:0;switch(n){case"start":t=0;break;case"end":t=r?o.rowCount:o.columnCount;break;case"overflowStart":s=0,t=0,l=!0;break;case"overflowEnd":s=zO(a,o.listCount),t=a.qListObject.qDimensionInfo.qCardinal,l=!0}return{scrollIndex:t,offset:s,triggerRerender:l}}({position:e,isRow:le,sizes:ve,layout:u,offset:B.current.dataOffset});B.current.dataOffset=n,r&&p.triggerStateChanged(),ce(t)};H.useEffect((()=>{const e=R.state;e.up?ce(L.state.start-e.up):e.down?ce(L.state.stop+e.down):e.scrollPosition&&xe(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&R.reset()}),[R.state.up,R.state.down,R.state.scrollPosition]);const{textAlign:Se}=(null==u?void 0:u.qListObject.qDimensionInfo)||{},[we,Ee]=H.useState({first:!1,last:!1}),{List:Ce,Grid:ke}=function(e){let{layout:t,width:n,checkboxes:r,local:o,isVertical:i,pages:s,selectDisabled:c,interactionEvents:u,deducedFrequencyMode:d,histogram:p,isSingleSelect:f,select:h,selectAll:m,onCtrlF:g,textAlign:v,selections:b,keyboard:y,showGray:x,scrollState:S,direction:w,sizes:E,listCount:C,overflowDisclaimer:k,setScrollPosition:R,focusListItems:L,setCurrentScrollIndex:O,constraints:I,frequencyMax:T,freqIsAllowed:P,translator:_,showSearch:N,isModal:M}=e;const{layoutOptions:q={}}=t||{},{columnWidth:z,listHeight:D,itemHeight:A,rowCount:j,columnCount:F}=E||{},B=("grid"===q.dataLayout?z:n)>ZR,W={direction:"rtl"===w?"rtl":"ltr",useIsScrolling:!0,className:rO.styledScrollbars},$=null==t?void 0:t.qListObject.qDimensionInfo.qLocked,H=a(a({isLocked:$,column:!i,pages:s},$||c()?{}:u),{},{checkboxes:r,layoutOptions:q,deducedFrequencyMode:d,freqIsAllowed:P,isSingleSelect:f,textAlign:v,sizes:E,actions:{select:h,confirm:()=>null==b?void 0:b.confirm.call(b),cancel:()=>null==b?void 0:b.cancel.call(b),setScrollPosition:R,selectAll:m,onCtrlF:g},frequencyMax:T,histogram:p,keyboard:y,showGray:x,showTick:B,dataOffset:o.current.dataOffset,focusListItems:L,direction:w,translator:_,showSearch:N,isModal:M});return{List:e=>{let{onItemsRendered:r,ref:i}=e;return o.current.listRef=i,U.createElement(sO,l({},W,{dataTestid:"fixed-size-list",scrollDisabled:null==I?void 0:I.active,height:D,width:n,itemCount:C,itemData:a(a({},H),{},{listCount:C}),itemSize:A,onItemsRendered:e=>{var n;O({start:e.visibleStartIndex,stop:e.visibleStopIndex}),S&&S.setScrollPos(e.visibleStopIndex),lO({renderProps:e,layoutOptions:q,maxCount:E.maxCount,columnCount:F,rowCount:j,overflowDisclaimer:k,qCardinal:null==t||null===(n=t.qListObject)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.qCardinal,dataOffset:o.current.dataOffset}),r(a({},e))},ref:i}),zL)},Grid:e=>{let{onItemsRendered:r,ref:i}=e;const{overflowStyling:s,scrollBarWidth:c}=E,{layoutOrder:u}=q||{},d=Math.min(D,j*A+c);return o.current.listRef=i,U.createElement(cO,l({},W,{dataTestid:"fixed-size-grid",scrollDisabled:null==I?void 0:I.active,height:d,width:n,columnCount:F,columnWidth:z,rowCount:j,rowHeight:A,style:a({},s),itemData:a(a({},H),{},{column:void 0,columnCount:F,rowCount:j}),onItemsRendered:e=>{var n;const a="row"===u;O({start:a?e.visibleRowStartIndex:e.visibleColumnStartIndex,stop:a?e.visibleRowStopIndex:e.visibleColumnStopIndex});const i=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:a}=e,{overscanRowStartIndex:i,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,p,f,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,p=i,f=c*o,h=l):(d=s,p=i*a,f=c,h=l*a),{visibleStartIndex:d+p,visibleStopIndex:f+h}}({renderProps:e,scrollState:S,layoutOrder:u,rowCount:j,columnCount:F});lO({renderProps:e,layoutOptions:q,maxCount:E.maxCount,columnCount:F,rowCount:j,overflowDisclaimer:k,qCardinal:null==t||null===(n=t.qListObject)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.qCardinal,dataOffset:o.current.dataOffset}),r(i)},ref:i}),zL)}}}({direction:f,layout:u,height:m,width:g,checkboxes:z,deducedFrequencyMode:ge,histogram:D,keyboard:w,showGray:E,interactionEvents:oe,select:ae,selectAll:()=>{p.clearItemStates(!1),r.selectListObjectAll("/qListObjectDef")},onCtrlF:I,textAlign:Se,isVertical:pe,pages:ee,selectDisabled:k,isSingleSelect:q,selections:d,scrollState:C,local:B,sizes:ve,listCount:be,overflowDisclaimer:{state:J,set:e=>Y((t=>a(a({},t),{},{show:e})))},setScrollPosition:xe,focusListItems:{first:we.first,setFirst:e=>Ee((t=>a(a({},t),{},{first:e}))),last:we.last,setLast:e=>Ee((t=>a(a({},t),{},{last:e})))},setCurrentScrollIndex:L.set,constraints:i,frequencyMax:$,freqIsAllowed:me,translator:_,showSearch:T,isModal:P}),{columnWidth:Re,listHeight:Le,itemHeight:Oe}=ve||{};return pe||(de=function(e){let{width:t,columnWidth:n,listHeight:r,itemHeight:o}=e;return Math.ceil(t/n)*Math.ceil(r/o)*2}({width:g,columnWidth:Re,listHeight:Le,itemHeight:Oe})),U.createElement($O,null,U.createElement(TL,{className:"screenReaderOnly",layout:u}),U.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},A),!be&&ne>0&&U.createElement(yO,{width:g,text:"Listbox.NoMatchesForYourTerms"}),U.createElement(_R,{isItemLoaded:re,itemCount:be||1,loadMoreItems:Q.with({minimumBatchSize:de}),threshold:0,minimumBatchSize:de,ref:F,role:"grid"},pe?Ce:ke),J.show&&!J.dismissed&&U.createElement(qO,{text:"Listbox.ItemsOverflow",dismiss:()=>Y((e=>a(a({},e),{},{dismissed:!0}))),parentWidth:null==F||null===(n=F.current)||void 0===n||null===(n=n._listRef)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.width,dense:null==ie?void 0:ie.dense}))}const UO=e=>a(a({},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"}}]}),VO=e=>a(a({},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"}}]}),GO=e=>a(a({},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"}}]}),KO=e=>a(a({},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 ZO=e=>{let{layout:t,model:n,translator:r,selectionState:o,isDirectQuery:a=!1}=e;if(t.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:UO,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:GO,enabled:()=>["qOption"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectPossible("/qListObjectDef")}},!a&&{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:VO,enabled:()=>["qAlternative"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectAlternative("/qListObjectDef")}},!a&&{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:KO,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean)};const XO=e=>a(a({},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 QO(e){const t=eb(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const JO={className:"njs-cell-action"},YO=U.forwardRef(((e,t)=>{let{ariaExpanded:n=!1,item:r,addAnchor:o=!1}=e;const a=eb(),{hidden:i,disabled:l,style:s,hasSvgIconShape:c}=QO(r);if(i)return null;const u=Number.parseInt(a.spacing(.5),10),d=r.keyboardAction||r.action,p=d?e=>["Enter"].includes(e.key)&&d():null,f=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,h="actions-toolbar-".concat(r.key);return U.createElement(JS,{ref:o?null:t,title:r.label,onClick:r.action,onKeyDown:p,onKeyUp:f,disabled:l,style:s,className:[JO.className,h].join(" "),size:"large",disableRipple:!0,"aria-expanded":n,"aria-controls":"moreMenuList","data-testid":h},c&&RR(r.getSvgIconShape()),o&&U.createElement("div",{ref:t,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),eI=e=>a(a({},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"}}]}),tI=e=>a(a({},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 nI=e=>RR(tI(e));const rI="njs-action-toolbar-more",oI={icon:"".concat("More","-icon")},aI=rb(pk)((e=>{let{theme:t}=e;return{pointerEvents:"none",["& .".concat(oI.icon)]:{color:t.palette.text.primary}}}));function iI(e){let{item:t,autoFocus:n,onActionClick:r=(()=>{})}=e;const{hidden:o,disabled:a,hasSvgIconShape:i}=QO(t);return o?null:U.createElement(yk,{autoFocus:n,title:t.label,onClick:()=>{t.action(),r()},disabled:a,tabindex:"0"},i&&U.createElement(VC,{className:oI.icon},RR(t.getSvgIconShape())),U.createElement(aw,{noWrap:!0},t.label))}const lI=U.forwardRef(((e,t)=>{let{actions:n=[],show:r=!0,alignTo:o,popoverProps:i={},popoverPaperStyle:s={},onCloseOrActionClick:c=(()=>{})}=e;const u=n.length>0,d=n.findIndex((e=>!e.disabled));return u&&U.createElement(aI,l({},i,{onClose:c,ref:t,open:r,anchorEl:o.current,getContentAnchorEl:null,container:o.current,disablePortal:!0,hideBackdrop:!0,transitionDuration:0,slotProps:{root:{className:rI}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:a({pointerEvents:"auto",maxWidth:"250px"},s)}}),U.createElement(ek,{id:"moreMenuList"},n.map(((e,t)=>U.createElement(iI,{key:t,item:e,autoFocus:t===d,onActionClick:c})))))})),sI=e=>{const t=e.closest("#actions-toolbar"),n=null==t?void 0:t.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)},cI=e=>{const t=document.querySelector("#actions-toolbar"),n=null==t?void 0:t.querySelectorAll(".njs-cell-action");if(!n.length)return;n[Math.min(Math.max(0,e),n.length-1)].focus()};const uI="ActionsToolbar",dI={item:"".concat(uI,"-item"),itemSpacing:"".concat(uI,"-itemSpacing")},pI=rb(pk)((e=>{let{theme:t}=e;return{["& .".concat(dI.itemSpacing)]:{padding:t.spacing(0,.25)}}})),fI={className:"njs-action-toolbar-popover"},hI=U.forwardRef(((e,t)=>{let{className:n,ariaExpanded:r=!1,actions:o=[],addAnchor:a=!1,isRtl:i=!1}=e;return o.length>0?U.createElement(nC,{item:!0,container:!0,gap:0,flexDirection:i?"row-reverse":"row",wrap:"nowrap",className:n},o.map(((e,n)=>U.createElement(nC,{item:!0,key:e.key,className:"".concat(dI.itemSpacing," ").concat(dI.item)},U.createElement(YO,{ariaExpanded:r,key:e.key,item:e,ref:0===n?t:null,addAnchor:a}))))):null})),mI={pointerEvents:"none"},gI={vertical:"bottom",horizontal:"right"};function vI(e){var t,n;let{show:r=!0,actions:o=[],maxItems:a=3,selections:i={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:l={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:s={show:!1,anchorEl:null},focusHandler:c=null,actionsRefMock:u=null,direction:d="ltr"}=e;const p=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}=e;const{translator:a}=H.useContext(xS);return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:tI},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:()=>{o(),r(),t.cancel()},getSvgIconShape:eI},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:()=>{o(),n(),t.confirm()},getSvgIconShape:WR}]}(i),{translator:f,keyboardNavigation:h}=H.useContext(xS),[m,g]=H.useState(!1),v={vertical:12,horizontal:(null!==(t=null===(n=s.anchorEl)||void 0===n?void 0:n.clientWidth)&&void 0!==t?t:0)-7},b=H.useRef(),y=H.useRef(),x=eb(),S=H.useMemo((()=>({margin:x.spacing(.5,0)}))),w=e=>{const t=b.current||u;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]},E=H.useMemo((()=>function(e){let{keyboardNavigation:t,focusHandler:n,getEnabledButton:r,selections:o}=e;return e=>{const{target:a,nativeEvent:i}=e,{keyCode:l}=i;switch(l){case PL.ARROW_LEFT:case PL.ARROW_DOWN:case PL.ARROW_RIGHT:case PL.ARROW_UP:if(a.classList.contains("njs-cell-action")){const e=sI(a),t=[PL.ARROW_LEFT,PL.ARROW_DOWN].includes(l);cI(t?e-1:e+1)}e.stopPropagation(),e.preventDefault();break;case PL.SPACE:e.preventDefault();break;case PL.TAB:t&&null!=n&&n.refocusContent&&(e.shiftKey&&r(!1)===e.target||!e.shiftKey&&r(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),n.refocusContent());break;case PL.ESCAPE:o&&(o.onCancel(),o.api.cancel(),e.preventDefault(),e.stopPropagation())}}}({keyboardNavigation:h,focusHandler:c,getEnabledButton:w,selections:i})),[h,c,w,i]);H.useEffect((()=>()=>{g(!1)}),[s.show,r,i.show]),H.useEffect((()=>{if(!c)return;c.on("focus_toolbar_first",(()=>{const e=w(!1);e&&e.focus()})),c.on("focus_toolbar_last",(()=>{const e=w(!0);e&&e.focus()}))}),[]);let C=l.enabled,k=l.actions;const R=l.alignTo||y,L=o.filter((e=>!e.hidden));if(L.length>a){const e=L.splice(-(L.length-a)-1);C=!0,k=[...e,...l.actions]}if(!i.show&&0===L.length)return null;const O={key:"more",label:f.get("Menu.More"),getSvgIconShape:XO,hidden:!1,active:m,enabled:()=>C,action:()=>g(!m)},I=L.length>0,T=k.length>0,P=I&&i.show||T&&i.show,_="rtl"===d,N=U.createElement(nC,{ref:b,onKeyDown:E,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:_?"row-reverse":"row"}},I&&U.createElement(hI,{actions:L}),T&&U.createElement(hI,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:y,ariaExpanded:m,actions:[O],addAnchor:!0}),P&&U.createElement(nC,{item:!0,className:dI.itemSpacing,style:S},U.createElement(zE,{orientation:"vertical"})),i.show&&U.createElement(hI,{className:"actions-toolbar-default-actions",actions:p,isRtl:_}),m&&U.createElement(lI,{show:m,actions:k,alignTo:R,popoverProps:l.popoverProps,popoverPaperStyle:l.popoverPaperStyle,onCloseOrActionClick:()=>{g(!1)}}));return s.show?U.createElement(pI,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:s.show,anchorEl:s.anchorEl,anchorOrigin:v,transformOrigin:gI,hideBackdrop:!0,style:mI,PaperProps:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:fI.className,style:{pointerEvents:"auto",padding:x.spacing(.5,.25)}}},N):r&&N}var bI=e=>RR((e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M8.588 11.415a6 6 0 1 1 2.828-2.829l4.101 4a1.5 1.5 0 0 1 .014 2.134l-.707.707a1.5 1.5 0 0 1-2.108.014l-4.128-4.026ZM11 6A5 5 0 1 0 1 6a5 5 0 0 0 10 0Zm-1.52 4.888 3.934 3.837a.5.5 0 0 0 .703-.005l.707-.707a.5.5 0 0 0-.005-.711l-3.926-3.829a6.034 6.034 0 0 1-1.413 1.415Z"}}]}))(e));const yI="/qListObjectDef",xI="**",SI=rb(xC)((e=>{var t;let{theme:n}=e;return{color:null===(t=n.listBox)||void 0===t||null===(t=t.content)||void 0===t?void 0:t.color}})),wI=rb(Ok)((e=>{var t;let{theme:n}=e;return{color:null===(t=n.listBox)||void 0===t||null===(t=t.content)||void 0===t?void 0:t.color,display:"flex"}}));function EI(e){let{selections:t,selectionState:n,model:r,keyboard:o,dense:a=!1,visible:i=!0,autoFocus:l=!0,wildCardSearch:s=!1,searchEnabled:c,direction:u,hide:d}=e;const{translator:p}=H.useContext(xS),[f,h]=H.useState(""),[m,g]=H.useState(!1),v=H.useRef(),b=eb(),{getStoreValue:y,setStoreValue:x}=vO(r),S="rtl"===u,w=S?"right":"left",E=async()=>{if(t.isModal())try{await r.abortListObjectSearch(yI)}finally{h("")}};H.useEffect((()=>{i||E()}),[i]),H.useEffect((()=>(t.on("deactivated",E),()=>{t.removeListener&&t.removeListener("deactivated",E)})),[]),H.useEffect((()=>{if(m&&v.current){const e=f.length-1;v.current.setSelectionRange(e,e),g(!1)}}),[m,v.current]),H.useEffect((()=>{x("inputText",f)}),[f]);const C=async()=>{let e;return await r.searchListObjectFor(yI,f)&&f.length&&y("listCount")>0&&(e=r.acceptListObjectSearch(yI,!0),t.selectionsMade=!0,n.clearItemStates(!1),h("")),e};function k(e){const t=(null==e?void 0:e.querySelector(".last-focused"))||(null==e?void 0:e.querySelector('[role="row"]:first-child'));t.setAttribute("tabIndex",0),null==t||t.focus()}return i&&!1!==c?U.createElement(wI,{startAdornment:U.createElement(SI,{position:"start"},U.createElement(bI,{size:a?"small":"normal"})),className:"search",sx:[{border:"none",fontSize:14,borderRadius:0,backgroundColor:"transparent","& fieldset":{border:"1px solid ".concat(b.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"},paddingLeft:"".concat(KR,"px")},a&&{fontSize:12,paddingLeft:b.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:S?"row-reverse":"row"}],inputRef:v,size:"small",fullWidth:!0,placeholder:p.get("Listbox.Search"),value:f,onFocus:()=>{s&&(h(xI),g(!0)),t.isModal()||t.begin(["/qListObjectDef"])},onChange:async e=>(h(e.target.value),e.target.value.length?r.searchListObjectFor(yI,e.target.value):E()),onKeyDown:async e=>{const{currentTarget:n}=e,r=n.closest(".listbox-container");switch(e.key){case"Enter":C();break;case"Escape":k(r),t.isActive()&&t.cancel();break;case"Tab":e.shiftKey?o.focusSelection():(k(r),null==r||r.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!e.ctrlKey&&!e.metaKey)return;d&&(d(),k(r));break;default:return}e.preventDefault(),e.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,style:{textAlign:"".concat(w)},"data-testid":"search-input-field","aria-label":p.get("ScreenReader.SearchFieldLabel")}}):null}function CI(e){return Object.keys(Y.prototype).forEach((t=>{e[t]=Y.prototype[t]})),Y.init(e),e}const kI=e=>{let t,{appSelections:n,appModal:r,model:o}=e,a=!1,i=!1;const l={id:o.id,setLayout(e){t=e},begin(e){const t=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",t),t.isPrevented()?Promise.resolve():(a=!0,this.emit("activated"),r.begin({model:o,paths:e,accept:!0,objectSelections:l}))},clear(){return i=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm(){return i=!1,a=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return i=!1,a=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},async select(e){const t=this.begin([e.params[0]]);if(!n.isModal())return!1;await t;const r=await o[e.method](...e.params);return i="resetMadeSelections"!==e.method,!!r||(o.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked&&!t.qListObject.qDimensionInfo.qIsOneAndOnlyOne:i,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:i,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo)||!t.qListObject.qDimensionInfo.qLocked,isActive:()=>a,isModal:()=>n.isModal(l),goModal:e=>r.begin({model:o,paths:e,accept:!1,objectSelections:l}),noModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.end(e)}};return CI(l),l},RI=e=>{let{elements:t,objectSelections:n,options:r={}}=e;const o=function(e){let{elements:t,handleClickOutside:n}=e;return e=>{if(!document.contains(e.target))return;const r=t.map((e=>"string"==typeof e?document.querySelector(e):null==e?void 0:e.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((t=>t.contains(e.target)))&&n(e)}}({elements:t,handleClickOutside:()=>n.confirm.call(n)});return{activateClickOut(){var e;document.addEventListener("mousedown",o),null==r||null===(e=r.onSelectionActivated)||void 0===e||e.call(r)},deactivateClickOut(){var e;document.removeEventListener("mousedown",o),null==r||null===(e=r.onSelectionDeactivated)||void 0===e||e.call(r)}}};function LI(e,t,n,r){const o=Array.isArray(n)?n:[n],[a]=OS(e),[i]=wR(t),[l]=CS(),s=l.get(e.id),[c,u]=H.useState();return H.useEffect((()=>{a&&t&&!c&&u(kI({appSelections:a,appModal:s,model:t}))}),[a,t]),H.useEffect((()=>{if(!c)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=RI({elements:o,objectSelections:c,options:r});return c.addListener("activated",e),c.addListener("deactivated",t),()=>{c.isActive()&&c.confirm(),c.removeListener("activated",e),c.removeListener("deactivated",t)}}),[c]),H.useEffect((()=>{c&&c.setLayout(i)}),[c,i]),[c]}function OI(){const e={itemStates:{},ignoreSelectionState:!1,selectedInEngine:[],enginePages:[],setPages:void 0,lastRowCount:void 0,lastApprMaxGlyphCount:void 0,update(t){var n,r;let{setPages:o,pages:a,isSingleSelect:i,selectDisabled:l,layout:s}=t;this.setPages=o;const c=this.lastRowCount===s.qListObject.qSize.qcy,u=this.lastApprMaxGlyphCount===s.qListObject.qDimensionInfo.qApprMaxGlyphCount;c&&u||(this.lastRowCount=s.qListObject.qSize.qcy,this.lastApprMaxGlyphCount=s.qListObject.qDimensionInfo.qApprMaxGlyphCount,this.clearItemStates(!1)),e.enginePages!==a&&void 0!==a&&(e.enginePages=null!=a?a:[],e.selectedInEngine=qR(a),e.selectableValuesUpdating=!1,e.triggerStateChanged()),e.isSingleSelect=i,e.selectDisabled=l,e.isDimCalculated=null!==(n=null==s||null===(r=s.qListObject)||void 0===r||null===(r=r.qDimensionInfo)||void 0===r?void 0:r.qIsCalculated)&&void 0!==n&&n},allowedToSelect:()=>!e.selectDisabled()&&!(e.isDimCalculated&&e.selectableValuesUpdating),setSelectableValuesUpdating(){e.selectableValuesUpdating=!0},useClientItemState:t=>e.ignoreSelectionState||t in e.itemStates,isSelected:t=>e.useClientItemState(t)?!!e.itemStates[t]:e.selectedInEngine.includes(t),getState(t){const{qElemNumber:n,qState:r}=t;return e.useClientItemState(n)?e.itemStates[n]?"XS"===r?"XS":"S":"S"===r||"XS"===r?"A":r:r},updateItemNoEvents(t,n,r){const o=e.isSelected(t);o&&!n?e.itemStates[t]=!1:o||(null==r||r.push(t),e.itemStates[t]=!0)},triggerStateChanged(){if(this.setPages){const t=e.applySelectionsOnPages(e.enginePages);this.setPages(t)}},applySelectionsOnPages(t){const n=t.map((t=>{const n=t.qMatrix.map((t=>{const[n]=t,r=e.getState(n);return[a(a({},n),{},{qState:r}),...t.slice(1)]}));return a(a({},t),{},{qMatrix:n})}));return n},updateItem(t,n,r){e.updateItemNoEvents(t,n,r),e.triggerStateChanged()},updateItems(t,n,r){t.forEach((t=>{e.updateItemNoEvents(t,n,r)})),e.triggerStateChanged()},clearItemStates(t){e.itemStates={},e.ignoreSelectionState=t}};return e}const II=function(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:r};function TI(e){let{alignTo:t,anchorOrigin:n={vertical:"bottom",horizontal:"center"},transformOrigin:r={vertical:"top",horizontal:"center"},show:o,close:a,app:i,fieldName:l,stateName:s="$",autoFocus:c}=e;const u=Boolean(null==l?void 0:l.qLibraryId),d=o&&Boolean(t.current),[p,f]=H.useState(0),h=eb(),m=H.useRef(),[g]=vR({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:u?void 0:[l]},qLibraryId:u?l.qLibraryId:void 0}},i,l,s),v=H.useCallback((()=>{g.lock("/qListObjectDef")}),[g]),b=H.useCallback((()=>{g.unlock("/qListObjectDef")}),[g]),{translator:y}=H.useContext(xS),x=H.useRef(),S=H.useRef(),[w]=LI(i,g,S),[E]=wR(g),[C]=H.useState((()=>OI()));if(H.useEffect((()=>{w&&d&&(w.isModal(g)||w.goModal("/qListObjectDef"))}),[w,d]),!g||!E||!y)return null;const k=!0===E.qListObject.qDimensionInfo.qLocked,R=(e,t)=>{const n="escapeKeyDown"!==t;w.noModal(n),a()},L=ZO({layout:E,model:g,translator:y,selectionState:C}),O=function(e){const t=(null==e?void 0:e.qListObject.qDimensionInfo.qStateCounts)||{};return II(t,"qSelected",0)+II(t,"qSelectedExcluded",0)+II(t,"qLocked",0)+II(t,"qLockedExcluded",0)>0}(E);return U.createElement(pk,{open:d,onClose:R,anchorEl:t.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},U.createElement(nC,{container:!0,direction:"column",gap:0,ref:S},U.createElement(nC,{item:!0,container:!0,style:{padding:h.spacing(1)}},U.createElement(nC,{item:!0},k?U.createElement(JS,{onClick:b,disabled:!k,size:"large"},U.createElement(OR,{title:y.get("Listbox.Unlock")})):U.createElement(JS,{onClick:v,disabled:!O,size:"large"},U.createElement(IR,{title:y.get("Listbox.Lock")}))),U.createElement(nC,{item:!0,xs:!0}),U.createElement(nC,{item:!0},U.createElement(vI,{more:{enabled:!k,actions:L,alignTo:x,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:w,onConfirm:R,onCancel:()=>R(0,"escapeKeyDown")}}))),U.createElement(nC,{item:!0,xs:!0},U.createElement("div",{ref:x}),U.createElement(nC,{item:!0,ref:m},U.createElement(EI,{visible:!0,model:g,listCount:p,selections:w,selectionState:C,keyboard:{enabled:!1},autoFocus:null==c||c})),U.createElement(HO,{model:g,app:i,layout:E,selections:w,selectionState:C,direction:"ltr",onSetListCount:e=>f(e),onCtrlF:()=>{const e=m.current.querySelector("input");null==e||e.focus()},theme:h}))))}function PI(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:a=null,onClose:i=(()=>{})}=e;const{translator:l}=H.useContext(xS),s=a||H.useRef(),c=eb(),[u,d]=H.useState(!1),p=e=>{e.currentTarget.contains(e.target)&&d(!u)},f=()=>{d(!1),i()},h=t.selections[r];void 0===h.qTotal&&(h.qTotal=0);const m=h.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},g=(m.qSelected+m.qLocked)/h.qTotal,v=m.qAlternative/h.qTotal,b=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/h.qTotal,y=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,x=0===y&&0===h.qTotal;let S="";h.qTotal===y&&h.qTotal>1?S=l.get("CurrentSelections.All"):y>1&&h.qTotal?S=l.get("CurrentSelections.Of",[y,h.qTotal]):h.qSelectedFieldSelectionInfo&&(S=h.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==t.states[r]&&(S="".concat(t.states[r],": ").concat(S));const w=[{color:c.palette.selected.main,ratio:g},{color:c.palette.selected.alternative,ratio:v},{color:c.palette.selected.excluded,ratio:b}];w.forEach(((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0}));let E=null,C=null,k=null,R=null;return a||(E=U.createElement(nC,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:h.qLocked?"0.3":""}},U.createElement(aw,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},h.qField),U.createElement(aw,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},S)),h.qLocked?C=U.createElement(nC,{item:!0},U.createElement(JS,{size:"large"},U.createElement(OR,null))):h.qOneAndOnlyOne||(C=U.createElement(nC,{item:!0},U.createElement(JS,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(h.qField,t.states[r])},size:"large"},U.createElement(LR,null)))),k=U.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===x&&w.map((e=>U.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})))),R=U.createElement(nC,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&p||null},E,C,k,u&&U.createElement(TI,{alignTo:s,show:u,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}))),a?U.createElement(TI,{alignTo:s,show:!0,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}):R}var _I=e=>RR((e=>a(a({},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 NI={item:"".concat("MultiState","-item")},MI=rb(nC)((e=>{let{theme:t}=e;return{["&.".concat(NI.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"}}}));function qI(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const[a,i]=H.useState(!!r),[l,s]=H.useState(-1),[c,u]=H.useState(r?r.current:null),d=r||H.useRef(),{translator:p}=H.useContext(xS),f=p.get("Selection.ClearAllStates"),h=()=>{s(-1),o()};let m=null;r||(m=U.createElement(U.Fragment,null,U.createElement(nC,{item:!0,xs:!0,zeroMinWidth:!0},U.createElement(Ww,{style:{padding:"0px 8px"},color:"secondary",badgeContent:t.states.length},U.createElement(aw,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),U.createElement(nC,{item:!0},U.createElement("div",{style:{width:"12px"}})),U.createElement(nC,{item:!0},U.createElement(JS,{size:"large"},U.createElement(_I,null)))));const g=U.createElement(RC,{dense:!0},U.createElement(FC,{title:f,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},U.createElement(lS,{variant:"contained",fullWidth:!0},f)),t.states.map(((e,r)=>U.createElement(FC,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),s(t)})(e,r)},U.createElement(Uw,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},U.createElement(PI,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),v=U.createElement(pk,{open:a,onClose:()=>{i(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),b=r?v:U.createElement(MI,{container:!0,gap:0,className:NI.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,i(!a))}},m,a&&v,l>-1&&U.createElement(TI,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?U.createElement(TI,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const zI="More",DI={item:"".concat(zI,"-item"),badge:"".concat(zI,"-badge")},AI=rb(nC)((e=>{let{theme:t}=e;return{["&.".concat(DI.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(DI.badge)]:{padding:t.spacing(0,1)}}}));function jI(e){let{items:t=[],api:n}=e;const r=eb(),[o,a]=H.useState(!1),[i,l]=H.useState(-1),[s,c]=H.useState(null),u=H.useRef(),d=()=>{l(-1)};let p=null;return i>-1&&(p=t[i].states.length>1?U.createElement(qI,{field:t[i],api:n,moreAlignTo:u,onClose:d}):U.createElement(PI,{field:t[i],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),U.createElement(AI,{container:!0,gap:0,className:DI.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,a(!o))}},U.createElement(nC,{item:!0},U.createElement(Uw,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},U.createElement(aw,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),U.createElement(nC,{item:!0},U.createElement(JS,{size:"large"},U.createElement(_I,null))),o&&U.createElement(pk,{open:o,onClose:()=>{a(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},U.createElement(RC,{dense:!0},t.map(((e,t)=>U.createElement(FC,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),l(t)})(e,t)},U.createElement(Uw,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?U.createElement(qI,{field:e,api:n}):U.createElement(PI,{field:e,api:n}))))))),p)}const FI=120,BI=72;function WI(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function $I(e){let{api:t,app:n}=e;const r=eb(),[o]=yR(n),[a]=wR(o),[i,l]=H.useState({items:[],more:[]}),[s]=RS(),[c,u]=CR(),[d,p]=H.useState(0);return H.useEffect((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-BI,n=Math.floor(t/FI);p(n)}),[u]),H.useEffect((()=>{if(!(n&&o&&a&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&WI(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>WI(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e])).filter((e=>!e.selections.some((e=>e.qIsHidden))))}(a);l((t=>{const r=e;if((()=>{const{model:e}=s.get(n.id)||{};return"njsListbox"===(null==e?void 0:e.genericType)})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[n,o,a,t.isInModal(),d]),U.createElement(nC,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},i.items.map((e=>U.createElement(nC,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(FI,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?U.createElement(qI,{field:e,api:t}):U.createElement(PI,{field:e,api:t})))),i.more.length>0&&U.createElement(nC,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(BI,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},U.createElement(jI,{items:i.more,api:t})))}var HI=e=>RR((e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e));var UI=e=>RR((e=>a(a({},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));const VI=(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)};function GI(e){let{api:t,app:n}=e;const{translator:r}=H.useContext(xS),[o]=function(e){const[t]=yR(e),[n]=wR(t),[r]=ER(e),[o,a]=H.useState(null);return H.useEffect((()=>{r&&t&&n&&VI(t,n,r)}),[r,t,n]),H.useEffect((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[o,t,n]}(n);return U.createElement(nC,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},U.createElement(nC,{item:!0},U.createElement(JS,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back(),size:"large"},U.createElement(HI,null))),U.createElement(nC,{item:!0},U.createElement(JS,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward(),size:"large"},U.createElement(UI,null))),U.createElement(nC,{item:!0},U.createElement(JS,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear(),size:"large"},U.createElement(nI,null))))}const KI=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function ZI(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function XI(){return KI.map(ZI).join("")}function QI(e){let{app:t}=e;const n=eb(),[r]=OS(t);return r?U.createElement(nC,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},U.createElement(nC,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},U.createElement(GI,{api:r,app:t})),U.createElement(nC,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},U.createElement($I,{api:r,app:t}))):null}let JI;JI="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;let YI=null,eT=null;const tT=JI.clearTimeout,nT=JI.setTimeout,rT=JI.cancelAnimationFrame||JI.mozCancelAnimationFrame||JI.webkitCancelAnimationFrame,oT=JI.requestAnimationFrame||JI.mozRequestAnimationFrame||JI.webkitRequestAnimationFrame;function aT(e){let t,n,r,o,a,i,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){i=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;i(this),this.__resizeRAF__&&YI(this.__resizeRAF__),this.__resizeRAF__=eT((function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(a,c){if(s)a.attachEvent("onresize",c);else{if(!a.__resizeTriggers__){const s=a.ownerDocument,c=JI.getComputedStyle(a);c&&"static"===c.position&&(a.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',a=n.head||n.getElementsByTagName("head")[0],i=n.createElement("style");i.id="detectElementResize",i.type="text/css",null!=e&&i.setAttribute("nonce",e),i.styleSheet?i.styleSheet.cssText=r:i.appendChild(n.createTextNode(r)),a.appendChild(i)}}(s),a.__resizeLast__={},a.__resizeListeners__=[],(a.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",a.__resizeTriggers__.appendChild(u),a.__resizeTriggers__.appendChild(d),a.appendChild(a.__resizeTriggers__),i(a),a.addEventListener("scroll",l,!0),r&&(a.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&i(a)},a.__resizeTriggers__.addEventListener(r,a.__resizeTriggers__.__animationListener__))}a.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==rT||null==oT?(YI=tT,eT=function(e){return nT(e,20)}):(YI=function([e,t]){rT(e),tT(t)},eT=function(e){const t=oT((function(){tT(n),e()})),n=nT((function(){rT(t),e()}),20);return[t,n]});class iT extends H.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,a,i;const l=window.getComputedStyle(this._parentNode)||{},s=parseFloat(null!==(r=l.paddingLeft)&&void 0!==r?r:"0"),c=parseFloat(null!==(o=l.paddingRight)&&void 0!==o?o:"0"),u=parseFloat(null!==(a=l.paddingTop)&&void 0!==a?a:"0"),d=parseFloat(null!==(i=l.paddingBottom)&&void 0!==i?i:"0"),p=this._parentNode.getBoundingClientRect(),f=p.height-u-d,h=p.width-s-c,m=this._parentNode.offsetHeight-u-d,g=this._parentNode.offsetWidth-s-c;(e||this.state.height===m&&this.state.scaledHeight===f)&&(t||this.state.width===g&&this.state.scaledWidth===h)||(this.setState({height:m,width:g,scaledHeight:f,scaledWidth:h}),"function"==typeof n&&n({height:m,scaledHeight:f,scaledWidth:h,width:g}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props;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,null!=this._parentNode&&("undefined"!=typeof ResizeObserver?(this._resizeObserver=new ResizeObserver((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=aT(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r=!1,disableWidth:o=!1,nonce:a,onResize:i,style:l={},tagName:s="div",...c}=this.props,{height:u,scaledHeight:d,scaledWidth:p,width:f}=this.state,h={overflow:"visible"},m={};let g=!1;return r||(0===u&&(g=!0),h.height=0,m.height=u,m.scaledHeight=d),o||(0===f&&(g=!0),h.width=0,m.width=f,m.scaledWidth=p),H.createElement(s,{ref:this._setRef,style:{...h,...l},...c},!g&&e(m))}}var lT=e=>RR((e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"}}]}))(e));function sT(e){null==e||e.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function cT(e){return(null==e?void 0:e.closest(".njs-cell"))||(null==e?void 0:e.closest(".qv-gridcell"))}function uT(e){let{keyboard:t,hovering:n,updateKeyScroll:r,containerRef:o,currentScrollIndex:a,isModal:i,constraints:l}=e;return{handleKeyDown:e=>{const{keyCode:n,shiftKey:r=!1}=e.nativeEvent,a=()=>{e.stopPropagation(),e.preventDefault()};if(!t.enabled)return;const l=e.currentTarget.closest(".listbox-container"),s=i();switch(n){case PL.TAB:if(s)r?ML(l)||NL(l):NL(l)||ML(l);else{if(!r)break;t.blur(!0)}a();break;case PL.ENTER:case PL.SPACE:if(!e.target.classList.contains("listbox-container"))break;t.focus(),a();break;case PL.ESCAPE:(e=>{const{currentTarget:n,target:r}=e,a=r.classList.contains("listbox-container"),i=cT(n.closest(".listbox-container")),l=1===(null==i?void 0:i.querySelectorAll(".listbox-container").length);if(a||l)t.blur(!0);else{sT(o.current),n.classList.add("last-focused"),t.blur();const e=n.closest(".listbox-container");e.setAttribute("tabIndex",-1),null==e||e.focus()}})(e)}},handleOnMouseEnter:()=>{(()=>{const e=(null==l?void 0:l.select)||(null==l?void 0:l.active),t=i();return e||t})()||(n.current=!0)},handleOnMouseLeave:()=>{n.current&&(n.current=!1)},globalKeyDown:e=>{if(!n.current)return;const{keyCode:t,ctrlKey:o=!1,shiftKey:i=!1}=e;switch(t){case PL.ARROW_UP:r({up:1});break;case PL.ARROW_DOWN:r({down:1});break;case PL.PAGE_UP:r({up:a.stop-a.start});break;case PL.PAGE_DOWN:r({down:a.stop-a.start});break;case PL.HOME:r({scrollPosition:o&&i?"overflowStart":"start"});break;case PL.END:r({scrollPosition:o&&i?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const dT=rb("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function pT(e){let{text:t}=e;const{translator:n}=H.useContext(xS);return U.createElement(dT,null,n.get(t))}const fT="ListBoxInline",hT={listBoxHeader:"".concat(fT,"-listBoxHeader"),screenReaderOnly:"".concat(fT,"-screenReaderOnly"),listboxWrapper:"".concat(fT,"-listboxWrapper")},mT=rb(nC,{shouldForwardProp:e=>!["containerPadding","isGridMode"].includes(e)})((e=>{var t,n;let{theme:r,containerPadding:o,isGridMode:a}=e;return{backgroundColor:null!==(t=null===(n=r.listBox)||void 0===n?void 0:n.backgroundColor)&&void 0!==t?t:r.palette.background.default,["& .".concat(hT.listBoxHeader)]:{alignSelf:"center",display:"flex"},["& .".concat(hT.screenReaderOnly)]:{position:"absolute",height:0,width:0,overflow:"hidden"},["& .".concat(hT.listboxWrapper)]:{padding:o},"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(r.palette.custom.focusBorder," !important")},"&:focus ::-webkit-scrollbar-track":{boxShadow:a?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}}})),gT=rb(aw)((e=>{var t,n,r,o;let{theme:a}=e;return{color:null===(t=a.listBox)||void 0===t||null===(t=t.title)||void 0===t||null===(t=t.main)||void 0===t?void 0:t.color,fontSize:null===(n=a.listBox)||void 0===n||null===(n=n.title)||void 0===n||null===(n=n.main)||void 0===n?void 0:n.fontSize,fontFamily:null===(r=a.listBox)||void 0===r||null===(r=r.title)||void 0===r||null===(r=r.main)||void 0===r?void 0:r.fontFamily,fontWeight:(null===(o=a.listBox)||void 0===o||null===(o=o.title)||void 0===o||null===(o=o.main)||void 0===o?void 0:o.fontWeight)||"bold"}}));const vT=U.memo((function(e){var t,n,r;let{options:o,layout:i}=e;const{app:s,direction:c,frequencyMode:u,checkboxes:d,search:p=!0,focusSearch:f=!1,rangeSelect:h=!0,model:m,selections:g,update:v,fetchStart:b,selectDisabled:y=(()=>!1),postProcessPages:x,calculatePagesHeight:S,showGray:w=!0,scrollState:E,renderedCallback:C,toolbar:k=!0,isPopover:R=!1}=o,L=eb(),O=H.useCallback((()=>{m.unlock("/qListObjectDef")}),[m]),{translator:I,keyboardNavigation:T,themeApi:P,constraints:_}=H.useContext(xS);L.listBox=(e=>{const t=(t,n)=>e.getStyle("object.listBox",t,n);return{backgroundColor:t("","backgroundColor"),title:{main:{color:t("title.main","color"),fontSize:t("title.main","fontSize"),fontFamily:t("title.main","fontFamily"),fontWeight:t("title.main","fontWeight")}},content:{color:t("content","color"),fontSize:t("content","fontSize"),fontFamily:t("content","fontFamily")}}})(P);const N=function(e){let{appLayout:t}=e;return!(null==t||!t.qIsDirectQueryMode)}({appLayout:null==s?void 0:s.layout}),M=H.useRef(),[q,z]=CR(),[D,A]=(()=>{const[e,t]=H.useState({}),n=H.useCallback((e=>{t({current:e})}),[t]);return[e,n]})(),[j,F]=H.useState(!1),[B,W]=H.useState(!1),$=H.useRef(!1),[V,G]=H.useState({down:0,up:0,scrollPosition:""}),K=e=>G((t=>a(a({},t),e))),[Z,X]=H.useState({start:0,stop:0}),[Q]=OS(s),J=H.useRef(null),[Y]=H.useState((()=>OI())),ee=function(e){let{containerRef:t,enabled:n}=e;const[r,o]=H.useState(!1),a={enabled:n,active:r,innerTabStops:!n||r,blur(e){var r;if(!n)return;o(!1);const a=cT(t.current)||(null===(r=t.current)||void 0===r?void 0:r.parentElement);var i;null==(i=t.current)||i.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),sT(t.current),e&&a&&(a.setAttribute("tabIndex",0),a.focus())},focus(){if(!n)return;o(!0);const e=t.current,r=null==e?void 0:e.querySelector(".search input"),a=null==e?void 0:e.querySelector(".value.last-focused"),i=null==e?void 0:e.querySelector(".value.selector, .value"),l=null==e?void 0:e.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=r||a||i||l;null==s||s.setAttribute("tabIndex",0),null==s||s.focus()},focusSelection(){const e=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm");null==e||e.setAttribute("tabIndex",0),null==e||e.focus()}};return a}({containerRef:M,enabled:T}),te=H.useCallback((()=>(e=>{var t,n;let{app:r,appSelections:o}=e;return null!==(t=null===(n=r.isInModalSelection)||void 0===n?void 0:n.call(r))&&void 0!==t?t:o.isInModal()})({app:s,appSelections:Q})),[s,Q]),ne=null==i?void 0:i.qListObject.qDimensionInfo.qError,re=ne&&_.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",[oe,ae]=H.useState(!1),{handleKeyDown:ie,handleOnMouseEnter:le,handleOnMouseLeave:se,globalKeyDown:ce}=H.useMemo((()=>uT({keyboard:ee,hovering:$,updateKeyScroll:K,containerRef:M,currentScrollIndex:Z,app:s,appSelections:Q,constraints:_,isModal:te})),[ee,$,K,M,Z,s,Q,_,te]),ue=k&&(""===(null==i?void 0:i.title)||!1===(null==i?void 0:i.showTitle))&&!R,de=k&&""!==(null==i?void 0:i.title)&&!1!==(null==i?void 0:i.showTitle)||R;H.useEffect((()=>(document.addEventListener("keydown",ce),()=>{document.removeEventListener("keydown",ce)})),[ce]),H.useEffect((()=>{const e=()=>{F(!0)},t=()=>{F(!1),"toggle"===p&&W(!1)};return R&&(g.isActive()||(g.begin("/qListObjectDef"),g.on("activated",e),g.on("deactivated",t)),F(R)),g&&(g.isModal()||(g.on("activated",e),g.on("deactivated",t)),F(g.isActive())),()=>{g&&g.removeListener&&(g.removeListener("activated",e),g.removeListener("deactivated",t))}}),[g,R]),H.useEffect((()=>{if(D&&D.current&&(p&&f||"toggle"===p&&B)){const e=D.current.querySelector("input");e&&e.focus()}}),[D&&D.current,B,p,f]);const{wildCardSearch:pe,searchEnabled:fe,layoutOptions:he={}}=null!=i?i:{},me=!1!==fe&&"toggle"===p,ge=!0===(null==i||null===(t=i.qListObject)||void 0===t||null===(t=t.qDimensionInfo)||void 0===t?void 0:t.qLocked),ve=ge||me,be="H"===(null==i||null===(n=i.qListObject)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.qGrouping),ye=ve||be,xe=(ve?28:0)+(be?19:0),Se="rtl"===c,we=KR-(ve?7:0),Ee=Se?KR-(ye?7:0):4;if(H.useEffect((()=>{if(!J.current||!z)return;const e=function(e){var t,n,r,o;let{containerRect:a,titleRef:i,iconsWidth:l,headerPaddingLeft:s,headerPaddingRight:c}=e;const u=s+c,d=a.width<(null!==(t=null==i||null===(n=i.current)||void 0===n?void 0:n.clientWidth)&&void 0!==t?t:0)+l+u+2+128,p=(null==i||null===(r=i.current)||void 0===r?void 0:r.scrollWidth)>(null==i||null===(o=i.current)||void 0===o?void 0:o.offsetWidth);return!(!d&&!p)}({containerRect:z,titleRef:J,iconsWidth:xe,headerPaddingLeft:we,headerPaddingRight:Ee});ae(e)}),[J.current,z]),!m||!i||!I)return null;const Ce=ZO({layout:i,model:m,translator:I,selectionState:Y,isDirectQuery:N}),ke=(!0===p||"toggle"===p&&B)&&!y()&&!1!==fe,Re=null!==(r=he.dense)&&void 0!==r&&r,Le=de?49+(ke?Re?27:40:0)+(Re?39:49):0,Oe=()=>{W(!B)},Ie=()=>{if("toggle"===p)Oe();else{const e=D.current.querySelector("input");null==e||e.focus()}},Te=e=>function(e){let{isDetached:t,showToolbar:n,containerRef:r,isLocked:o,listboxSelectionToolbarItems:a,selections:i,keyboard:l}=e;return{show:n&&!t,popover:{show:n&&t,anchorEl:r.current},more:{enabled:!o,actions:a,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:n,api:i,onConfirm:()=>{null==l||l.focus()},onCancel:()=>{null==l||l.focus()}}}}({isDetached:!R&&e,showToolbar:j,containerRef:M,isLocked:ge,listboxSelectionToolbarItems:Ce,selections:g,keyboard:ee}),Pe=ke&&"toggle"===p,_e="grid"===(null==he?void 0:he.dataLayout);let Ne;_e&&(Ne="row"===he.layoutOrder?"2px 4px":"2px 6px 2px 4px");const Me=null!=_&&_.active?U.createElement(bI,{title:I.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):U.createElement(JS,{onClick:Oe,tabIndex:-1,title:I.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},U.createElement(bI,{style:{fontSize:"12px"}})),qe=y()?U.createElement(OR,{size:"large",style:{fontSize:"12px",padding:"7px"}}):U.createElement(JS,{title:I.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:O,size:"large"},U.createElement(OR,{disableRipple:!0,style:{fontSize:"12px"}}));return ne&&(null==C||C()),U.createElement(U.Fragment,null,ue&&U.createElement(vI,l({direction:c},Te(!0))),U.createElement(mT,{className:"listbox-container",container:!0,tabIndex:ee.enabled?-1:void 0,direction:"column",gap:0,containerPadding:Ne,style:{height:"100%",minHeight:"".concat(Le,"px"),flexFlow:"column nowrap"},onKeyDown:ie,onMouseEnter:le,onMouseLeave:se,ref:e=>{M.current=e,q(e)},isGridMode:_e},de&&U.createElement(nC,{item:!0,container:!0,minHeight:32,flexDirection:Se?"row-reverse":"row",marginY:1,paddingLeft:"".concat(we,"px"),paddingRight:"".concat(Ee,"px"),wrap:"nowrap"},ye&&U.createElement(nC,{item:!0,container:!0,alignItems:"center",width:xe},ge?qe:me&&Me,be&&U.createElement(lT,{tabIndex:-1,title:I.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),U.createElement(nC,{item:!0,xs:!0,minWidth:0,justifyContent:Se?"flex-end":"flex-start",className:hT.listBoxHeader},U.createElement(gT,{variant:"h6",noWrap:!0,ref:J,title:i.title},i.title)),U.createElement(nC,{item:!0},U.createElement(vI,l({direction:c},Te(oe))))),U.createElement(nC,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":I.get("Listbox.ResultFilterLabel")},U.createElement(nC,{item:!0,ref:A},U.createElement("div",{className:hT.screenReaderOnly},I.get("Listbox.Search.ScreenReaderInstructions")),U.createElement(EI,{selections:g,selectionState:Y,model:m,dense:Re,keyboard:ee,visible:ke,search:p,autoFocus:Pe,wildCardSearch:pe,searchEnabled:fe,direction:c,hide:me&&Oe})),U.createElement(nC,{item:!0,xs:!0,className:hT.listboxWrapper},U.createElement("div",{className:hT.screenReaderOnly},I.get("Listbox.ScreenReaderInstructions")),ne?U.createElement(pT,{text:re}):U.createElement(iT,null,(e=>{let{height:t,width:n}=e;return U.createElement(HO,{model:m,app:s,theme:L,constraints:_,layout:i,selections:g,selectionState:Y,direction:c,frequencyMode:u,rangeSelect:h,checkboxes:d,height:t,width:n,update:v,fetchStart:b,postProcessPages:x,calculatePagesHeight:S,selectDisabled:y,keyboard:ee,showGray:w,scrollState:E,keyScroll:{state:V,reset:()=>G({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:Z,set:X},renderedCallback:C,onCtrlF:Ie,isModal:te})}))))))}));function bT(e){let{options:t={}}=e;const{model:n}=t,[r]=wR(n);return U.createElement(vT,{options:t,layout:r})}const yT={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function xT(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const ST=["__DO_NOT_USE__"],wT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,n={update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1};return a(a(a({},s(e,ST)),n),t)};function ET(e){let{app:t,fieldIdentifier:n,qId:r,stateName:o,element:i,options:l,renderedCallback:s}=e;const{isExistingObject:c,hasExternalSelectionsApi:u}=function(e){let{qId:t,options:n}=e;return{isExistingObject:!(!t&&!n.sessionModel),hasExternalSelectionsApi:!!n.selectionsApi}}({qId:r,options:l});c||Object.assign(l,{frequencyMode:xT(l.frequencyMode)});const[d,p]=H.useState(0);H.useEffect((()=>{if(d)throw new Error("Source or selection Api can not change after a listbox has been mounted");p(d+1)}),[c,u]);const f=c?function(e){let{app:t,qId:n,options:r={}}=e;const[o,a]=H.useState(),[i]=hR(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error('Option "'.concat(c.join(", "),'" is not applicable for existing objects.'));return H.useEffect((()=>{l?a(l):async function(){const e=i.get(n);if(e)a(e);else{const e=await t.getObject(n);i.set(e.id,e),e.once("closed",(()=>{i.clear(e.id)})),a(e)}}()}),[]),o}({app:t,qId:r,options:l}):function(e){var t;let{app:n,fieldIdentifier:r,stateName:o,options:a={}}=e;const[i,l]=H.useState(""),[s,c]=H.useState(!0),[u,d]=H.useState(),[p,f]=H.useState(),h=null!==(t=a.title)&&void 0!==t?t:p;let{histogram:m=!1,frequencyMode:g="N"}=a;i&&i.failedToFetchFieldDef&&(m=!1,g="N"),H.useEffect((()=>{const e=m||"N"!==g;r.qLibraryId&&e?async function(){try{const e=await n.getDimension(r.qLibraryId),t=await e.getLayout();f(t.qDim.title),"N"===t.qDim.qGrouping?l(t.qDim.qFieldDefs?t.qDim.qFieldDefs[0]:""):l({multiFieldDim:!0}),c(!1)}catch(e){throw c(!1),l({failedToFetchFieldDef:!0}),new Error("Disabling frequency count and histogram: ".concat(e&&e.message))}}():(c(!1),f(r))}),[]);const{dense:v,checkboxes:b,listLayout:y,properties:x={}}=a,S={dense:v};"horizontal"===y&&(S.dataLayout="grid",S.layoutOrder="column",S.maxVisibleColumns={auto:!0},S.maxVisibleRows={auto:!1,maxRows:1});const w=H.useRef();w.current||(w.current=XI());const E=$e(!0,{},yT,{qInfo:{qId:w.current},qListObjectDef:{qStateName:o,qFrequencyMode:m&&"N"===g?"V":g},histogram:m,checkboxes:b,layoutOptions:S,title:h});let C;if($e(!0,E,x),r.qLibraryId?(E.qListObjectDef.qLibraryId=r.qLibraryId,C=r.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[r],C=r),"P"!==g&&m)if(null!=i&&i.multiFieldDim)E.frequencyMax="fetch";else{const e=r.qLibraryId?i:C;E.frequencyMax={qValueExpression:jO(e)}}const[k]=vR(E,s?null:n,C,o);return H.useEffect((()=>{k&&d(k)}),[k]),u}({app:t,fieldIdentifier:n,stateName:o,options:l}),h=H.useRef(i),m=u?l.selectionsApi:LI(t,f,[h,".njs-action-toolbar-more",".njs-action-toolbar-popover"],l)[0],g=H.useMemo((()=>a(a({},l),{},{selections:m,model:f,app:t,renderedCallback:s})),[l,m,f,t]);return m&&f?U.createElement(bT,{options:g}):null}const CT={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function kT(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:a={}}=e;const[i,l]=H.useState(!!a.show);return U.createElement(TI,{show:i,app:t,alignTo:{current:o},anchorOrigin:a.anchorOrigin,transformOrigin:a.transformOrigin,close:()=>{l(!1),a.onPopoverClose&&a.onPopoverClose()},fieldName:n,stateName:r,autoFocus:a.autoFocus})}function RT(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function LT(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}const OT=e=>({qDef:{qFieldDefs:[e]}}),IT=e=>({qDef:{qDef:e}});function TT(e){let{dc:t,def:n,properties:r}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const o=r,i={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const r="string"==typeof e?OT(e):a(a({},e),{},{qDef:e.qDef||{}});return r.qDef.cId=r.qDef.cId||XI(),r.qDef.qSortCriterias=r.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],r.qOtherTotalSpec=r.qOtherTotalSpec||{},r.qAttributeExpressions=r.qAttributeExpressions||[],r.qAttributeDimensions=r.qAttributeDimensions||[],t.qDimensions.length<i.maxDimensions()?(t.qDimensions.push(r),RT(t.qInterColumnSortOrder,t.qDimensions.length-1),n.dimensions.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(r)),r},removeDimension(e){const r=t.qDimensions.splice(e,1)[0];return LT(t.qInterColumnSortOrder,e),n.dimensions.removed(r,o,e),r},addMeasure(e){const r="string"==typeof e?IT(e):a(a({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||XI(),r.qSortBy=r.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},r.qAttributeDimensions=r.qAttributeDimensions||[],r.qAttributeExpressions=r.qAttributeExpressions||[],t.qMeasures.length<i.maxMeasures()?(t.qMeasures.push(r),RT(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),n.measures.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(r))},removeMeasure(e){const r=t.qMeasures.splice(e,1)[0];LT(t.qInterColumnSortOrder,t.qDimensions.length+e),n.measures.removed(r,o,e)},maxDimensions:()=>n.dimensions.max(t.qMeasures.length),maxMeasures:()=>n.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<i.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<i.maxMeasures()};return i}const PT=e=>({qDef:{qFieldDefs:[e]}});function _T(e){let{dc:t,def:n,properties:r}=e;t.qInitialDataFetch=t.qInitialDataFetch||[];const o=r,i={dimensions:()=>t.qLibraryId||t.qDef&&t.qDef.qFieldDefs&&0!==t.qDef.qFieldDefs.length?[t]:[],measures:()=>[],addDimension(e){const r="string"==typeof e?PT(e):a(a({},e),{},{qDef:e.qDef||{}});return r.qDef.cId=r.qDef.cId||XI(),r.qDef.qSortCriterias=t.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(r).forEach((e=>{t[e]=r[e]})),n.dimensions.added(r,o),r},removeDimension(e){const r=t;return delete t.qDef,delete t.qLibraryId,n.dimensions.removed(r,o,e),r},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===i.dimensions().length,canAddMeasure:()=>!1};return i}const NT=e=>({qDef:{qFieldDefs:[e]}}),MT=e=>{let t;return t="string"==typeof e?$e(!0,{},yT,{qListObjectDef:NT(e)}):e.qListObjectDef?$e(!0,{},yT,e):$e(!0,{},yT,{qListObjectDef:e}),t};function qT(e){let{children:t,halo:n}=e;const r={async addDimension(e){const r=MT(e),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||XI(),!r.title)if(o.qLibraryId){const e=await n.app.getDimension(o.qLibraryId),t=await e.getProperties();t.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:t.qDim.qLabelExpression}}:r.title=t.qDim.title}else{var a,i;r.title=o.qDef.title||(null===(a=o.qDef.qFieldLabels)||void 0===a?void 0:a[0])||(null===(i=o.qDef.qFieldDefs)||void 0===i?void 0:i[0])}t.push({qProperty:r,qChildren:[]})},addMeasure(){}};return r}function zT(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"}async function DT(e,t){let{sn:n,properties:r,fields:o,children:a}=e;if(!o.length)return;const i=n.qae.data.targets[0];if(!i)return;const{propertyPath:l}=i,s=l.split("/");let c=r;for(let e=0;e<s.length;e++){const t=s[e];c=t?c[t]:c}const u=function(e){return e.match("/qListObjectDef")?_T:e.match("/qChildListDef")?qT:TT}(l),d=u({dc:c,def:i,properties:r,children:a,halo:t});for(let e=0;e<o.length;++e){const t=o[e];"measure"===zT(t)?await d.addMeasure(t):await d.addDimension(t)}}var AT={getValue:(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},setValue:(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let a=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==a[t]&&null!==a[t]||(a[t]=Number.isNaN(+r[e+1])?{}:[]),a=a[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?a[o]=n:delete a[o]},isEmpty:e=>0===Object.keys(e).length&&e.constructor===Object};var jT={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}};const FT=2**53-1;function BT(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function WT(e,t){const n=$e(!0,{},t,e);return AT.getValue(n,"qOtherTotalSpec.qOtherCounted")||AT.setValue(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),AT.getValue(n,"qOtherTotalSpec.qOtherLimit")||AT.setValue(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function $T(e,t){return $e(!0,{},t,e)}function HT(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var UT={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===AT.getValue(e,t)&&AT.setValue(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:BT,importCommonProperties:function(e,t,n){const r="masterobject"===AT.getValue(t,"properties.qInfo.qType")?"masterobject":AT.getValue(n,"qInfo.qType");AT.setValue(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:WT,createDefaultMeasure:$T,resolveValue:HT,getHypercubePath:function(e){const t=AT.getValue(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){let{exportFormat:t,newHyperCubeDef:n}=e;const r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let a=n.qInterColumnSortOrder.length;if(a!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());a!==o;)a<o?(jT.indexAdded(n.qInterColumnSortOrder,a),++a):(--a,jT.indexRemoved(n.qInterColumnSortOrder,a))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=$e(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?AT.setValue(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||BT(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=$e(!0,{},n,o),null===o.components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],o=n.dimensions||{max:0},a=n.measures||{max:0},i=HT(a.max,r.dimensions.length,FT),l=HT(a.min,r.dimensions.length,0);return{maxDimensions:HT(o.max,i,FT),minDimensions:HT(o.min,l,0),maxMeasures:i,minMeasures:l}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a}=e;const i=t.data[0];return i.dimensions.length>n&&n>0||i.measures.length>o&&o>0||i.excludedDimensions.length>0&&i.dimensions.length+i.excludedDimensions.length>r||i.excludedMeasures.length>0&&i.measures.length+i.excludedMeasures.length>a||!o&&i.measures.length>0||!n&&i.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:a,newHyperCubeDef:i}=e;const l=t.data[0];i.qLayoutExclude||(i.qLayoutExclude={}),i.qLayoutExclude.qHyperCubeDef||(i.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>a)&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(i.qLayoutExclude.qHyperCubeDef.qMeasures||(i.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(i.qLayoutExclude.qHyperCubeDef.qDimensions||(i.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:o,defaultDimension:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.dimensions.length;++l)o.qDimensions.length<n?o.qDimensions.push(WT(i.dimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(WT(i.dimensions[l],a));else if(i.dimensions.length)for(l=0;l<i.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(WT(i.dimensions[l],a));if(i.excludedDimensions.length)for(l=0;l<i.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(WT(i.excludedDimensions[l],a)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(WT(i.excludedDimensions[l],a))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:o,defaultMeasure:a}=e;const i=t.data[0];let l;if(n>0)for(l=0;l<i.measures.length;++l)o.qMeasures.length<n?o.qMeasures.push($T(i.measures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push($T(i.measures[l],a));else if(i.measures.length)for(l=0;l<i.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push($T(i.measures[l],a));if(i.excludedMeasures.length)for(l=0;l<i.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push($T(i.excludedMeasures[l],a)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push($T(i.excludedMeasures[l],a))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=AT.getValue(t,r||"").qHyperCubeDef,o=[...e.qDimensions];e.qDimensions=[],o.forEach((r=>{e.qDimensions.push(r),n.dimensions.added(r,t)}))}},updateMeasuresOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.measures&&"function"==typeof n.measures.added){const e=AT.getValue(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}};var VT={exportProperties:e=>function(e){let{propertyTree:t,hypercubePath:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),o=t.qProperty,a=AT.getValue(o,n||""),i=a.qHyperCubeDef,l=r.data[0];if(i.qInterColumnSortOrder||(i.qInterColumnSortOrder=[]),l.dimensions.push(...i.qDimensions),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qDimensions&&l.excludedDimensions.push(...i.qLayoutExclude.qHyperCubeDef.qDimensions),l.measures.push(...i.qMeasures),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qMeasures&&l.excludedMeasures.push(...i.qLayoutExclude.qHyperCubeDef.qMeasures),l.interColumnSortOrder=i.qInterColumnSortOrder.concat(),i.qLayoutExclude&&i.qLayoutExclude.qHyperCubeDef&&i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=i.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();jT.isOrderedSubset(e,l.interColumnSortOrder)&&(l.interColumnSortOrder=e)}return delete i.qLayoutExclude,Object.keys(o).forEach((e=>{r.properties[e]=o[e]})),n&&(r.properties.qHyperCubeDef=a.qHyperCubeDef,delete a.qHyperCubeDef),o.qLayoutExclude||(o.qLayoutExclude={}),o.qLayoutExclude.disabled&&(Object.keys(o.qLayoutExclude.disabled).forEach((e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=o.qLayoutExclude.disabled[e])})),delete o.qLayoutExclude.disabled),o.qLayoutExclude.changed&&(UT.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!AT.isEmpty(o.qLayoutExclude.quarantine)||delete o.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:o={},hypercubePath:a}=e;const i={qChildren:[]},l=UT.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:a}),s=AT.getValue(n,a||"").qHyperCubeDef,c=AT.getValue(l,a||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f}=UT.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:h=UT.getDefaultDimension(),defaultMeasure:m=UT.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,UT.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f})&&UT.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:c}),UT.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:h}),UT.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:c,defaultMeasure:m}),UT.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),UT.copyPropertyIfExist("qMaxStackedCells",s,c),UT.copyPropertyIfExist("qNoOfLeftDims",s,c),UT.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),UT.copyPropertyOrSetDefault("qMode",s,c,"S"),UT.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),UT.copyPropertyOrSetDefault("qSortbyYValue",s,c),UT.copyPropertyOrSetDefault("qIndentMode",s,c),UT.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),UT.importCommonProperties(l,t,n),UT.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),UT.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:a}),i.qProperty=l,i}(e)};const GT=e=>AT.getValue(e,"data.targets.0.propertyPath"),KT=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return VT.exportProperties})(GT(e))},ZT=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return VT.importProperties})(GT(e))},XT=async e=>{let{halo:t,model:n,cellRef:r,newType:o}=e;const i=await n.getFullPropertyTree(),l=r.current.getQae(),s=KT(l),c=await(async e=>{let{halo:t,name:n,version:r}=e;const{types:o}=t;return await o.get({name:n,version:r}).supernova()})({halo:t,name:o}),u=c.qae;return ZT(u)({exportFormat:s({propertyTree:i,hypercubePath:UT.getHypercubePath(l)}),initialProperties:a({qInfo:{qType:o},visualization:o},AT.getValue(u,"properties.initial",{})),dataDefinition:AT.getValue(u,"data.targets.0.",{}),hypercubePath:UT.getHypercubePath(u)})},QT={hypercube:VT};var JT=e=>RR((e=>a(a({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function YT(e){let{d:t}=e;const n=eb();let r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);const a={color:o},i=U.createElement(aw,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},U.createElement(fC,null,t.missing||t.error?U.createElement(JT,{style:a}):U.createElement($R,{style:a})));return U.createElement(nC,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},U.createElement(nC,{item:!0},i),U.createElement(nC,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},U.createElement(aw,{noWrap:!0,component:"p"},U.createElement(aw,{component:"span",variant:"subtitle2",color:r},t.description),U.createElement(aw,{component:"span"}," "),U.createElement(aw,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function eP(e){let{data:t}=e;const n=eb();return U.createElement(nC,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>U.createElement(YT,{d:e,key:t})));return r.length>0&&U.createElement(nC,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},U.createElement(aw,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))}function tP(e){let{title:t="Error",message:n="",data:r=[]}=e;return U.createElement(nC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},U.createElement(nC,{item:!0},U.createElement(JT,{style:{fontSize:"38px"}})),U.createElement(nC,{item:!0},U.createElement(aw,{variant:"h6",align:"center","data-tid":"error-title"},t)),U.createElement(nC,{item:!0},U.createElement(aw,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),U.createElement(eP,{data:r}))}const nP=["size"],rP="Progress",oP={root:"".concat(rP,"-root"),front:"".concat(rP,"-front"),back:"".concat(rP,"-back")},aP=rb("div")((e=>{let{theme:t}=e;return{["&.".concat(oP.root)]:{position:"relative",display:"inline-block"},["& .".concat(oP.front)]:{color:t.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},["& .".concat(oP.back)]:{color:t.palette.divider}}})),iP={small:16,medium:32,large:64,xlarge:128};function lP(e){let{size:t="medium"}=e,n=s(e,nP);const r=iP[t];return U.createElement(aP,{className:oP.root},U.createElement(CE,l({variant:"determinate",value:100,className:oP.back,size:r,thickness:3},n)),U.createElement(CE,l({variant:"indeterminate",disableShrink:!0,className:oP.front,size:r,thickness:3},n)))}const sP=["cancel","translator"],cP=["retry","translator"],uP={stripes:"".concat("LongRunningQuery","-stripes")},dP=rb(nC)((()=>({["& .".concat(uP.stripes)]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function pP(e){let{cancel:t,translator:n}=e,r=s(e,sP);return U.createElement(U.Fragment,null,U.createElement(dP,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},U.createElement(nC,{item:!0},U.createElement(lP,null)),U.createElement(nC,{item:!0},U.createElement(aw,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),U.createElement(nC,l({item:!0},r),U.createElement(lS,{variant:"contained",onClick:t},n.get("Cancel"))))}function fP(e){let{retry:t,translator:n}=e,r=s(e,cP);return U.createElement(U.Fragment,null,U.createElement(nC,{item:!0},U.createElement(JT,{style:{fontSize:"38px"}})),U.createElement(nC,{item:!0},U.createElement(aw,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),U.createElement(nC,{item:!0},U.createElement(lS,l({variant:"contained",onClick:t},r),n.get("Retry"))))}function hP(e){let{canCancel:t,canRetry:n,api:r}=e;const{translator:o}=H.useContext(xS);return U.createElement(nC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:uP.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t&&U.createElement(pP,{cancel:r.cancel,translator:o,className:uP.cancel}),n&&U.createElement(fP,{retry:r.retry,translator:o,className:uP.retry}))}function mP(){return U.createElement(nC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},U.createElement(lP,{size:"large"}))}const gP="Header",vP={containerStyle:"".concat(gP,"-containerStyle"),containerTitleStyle:"".concat(gP,"-containerTitleStyle")},bP=rb(nC)((e=>{let{theme:t}=e;return{["&.".concat(vP.containerStyle)]:{flexGrow:0},["&.".concat(vP.containerTitleStyle)]:{paddingBottom:t.spacing(1)}}})),yP="njs-cell-title",xP="njs-cell-sub-title";function SP(e){let{layout:t,sn:n,anchorEl:r,hovering:o,focusHandler:a,titleStyles:i={}}=e;const l=t.showTitles&&!!t.title,s=t.showTitles&&!!t.subtitle,c=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[u,d]=H.useState([]),[p,f]=CR(),[h,m]=H.useState(!1);H.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{d([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),H.useEffect((()=>{if(!f)return;const{width:e}=f;m(e<221)}),[f]);const g=l||s,v=[vP.containerStyle,...g?[vP.containerTitleStyle]:[]],b=(o||c)&&(h||!g),y=g&&!b&&!h,x=U.createElement(vI,{show:y,selections:{show:c,api:n.component.selections,onKeyDeactivate:a.refocusContent},actions:u,popover:{show:b,anchorEl:r},focusHandler:a});return U.createElement(bP,{ref:p,item:!0,container:!0,wrap:"nowrap",className:v.join(" ")},U.createElement(nC,{item:!0,zeroMinWidth:!0,xs:!0},U.createElement(nC,{container:!0,wrap:"nowrap",direction:"column"},l&&U.createElement(aw,{variant:"h6",noWrap:!0,className:yP,style:i.main},t.title),s&&U.createElement(aw,{variant:"body2",noWrap:!0,className:xP,style:i.subTitle},t.subtitle))),U.createElement(nC,{item:!0},x))}const wP={itemStyle:"".concat("Footer","-itemStyle")},EP=rb(nC)((e=>{let{theme:t}=e;return{["& .".concat(wP.itemStyle)]:{minWidth:0,paddingTop:t.spacing(1)}}})),CP="njs-cell-footer";function kP(e){let{layout:t,titleStyles:n={}}=e;return t&&t.showTitles&&t.footnote?U.createElement(EP,{container:!0},U.createElement(nC,{item:!0,className:wP.itemStyle},U.createElement(aw,{noWrap:!0,variant:"body2",className:CP,style:n.footer},t.footnote))):null}class RP{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 LP="njs-viz";function OP(e){let{sn:t,snOptions:n,snPlugins:r,layout:o,appLayout:i,halo:l}=e;const{component:s}=t,{theme:c,language:u,constraints:d,interactions:p,keyboardNavigation:f}=H.useContext(xS),[h]=H.useState((()=>new RP)),[m,g]=H.useState(!1),[v,b]=H.useState(0),[y,x,S]=CR(),[w,E]=H.useState(null),C=H.useCallback((e=>{e&&E(e)}),[]);return H.useEffect((()=>{if(w)return s.created({options:n}),s.mounted(w),g(!0),()=>{h.stop(),s.willUnmount()}}),[w,s]),H.useEffect((()=>{m&&w&&x&&(!s.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||h.schedule((()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),d.edit||e.push("edit"),l.app&&l.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:o,options:n,plugins:r,embed:l.public.nebbie,context:a({constraints:d,interactions:p,theme:l.public.theme,appLayout:i,keyboardNavigation:f},s.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(i||{}).qLocaleInfo,permissions:e})})).then((e=>{!1!==e&&(0===v&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),b(v+1))}))})))}),[x,n,r,w,S,o,i,c,u,d,p,m,f]),U.createElement("div",{ref:y,"data-render-count":v,style:{position:"relative",height:"100%"},className:LP},U.createElement("div",{ref:C,style:{position:"absolute",width:"100%",height:"100%"}}))}const IP={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},TP={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function PP(e,t){return t?function(e){var t;let n,r,o,a;return null!=e&&null!==(t=e.session)&&void 0!==t&&t.config?(n=e.session.config,r=new URL(n.url),a="wss:"===r.protocol,o=a?"https://":"http://",o+r.host):""}(e)+t:void 0}function _P(e,t){const n=null==e?void 0:e.bgImage;if(n){let o="";var r;if("media"===n.mode||"media"===e.useImage)o=null!=n&&null!==(r=n.mediaUrl)&&void 0!==r&&null!==(r=r.qStaticContentUrl)&&void 0!==r&&r.qUrl?decodeURIComponent(n.mediaUrl.qStaticContentUrl.qUrl):void 0,o=PP(t,o);"expression"===n.mode&&(o=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const a=function(e){var t;let n="center center";return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.position&&(n=TP[e.bgImage.position]),n}(e),i=function(e){var t;let n=IP.originalSize;return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.sizing&&(n=IP[e.bgImage.sizing]),n}(e);return o?{url:o,pos:a,size:i}:void 0}}function NP(e,t,n){const r=null==e?void 0:e.bgColor;return r&&t?r.useExpression?t.validateColor(r.colorExpression):r.color&&"none"!==r.color.color?t.getColorPickerColor(r.color,!0):void 0:t&&n?t.getStyle("object.".concat(n),"","backgroundColor"):t?t.getStyle("","","backgroundColor"):void 0}function MP(e,t,n,r){var o;const a=(null==e||null===(o=e.title)||void 0===o?void 0:o[t])||{},i=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(a.fontStyle,t);return{fontFamily:a.fontFamily||n.getStyle("object.".concat(r),"title.".concat(t),"fontFamily"),color:a.color&&"none"!==a.color.color?n.getColorPickerColor(a.color,!0):n.getStyle("object.".concat(r),t,"color"),fontWeight:i.includes("bold")?"bold":"normal",fontStyle:i.includes("italic")?"italic":"normal",textDecoration:i.includes("underline")?"underline":"initial"}}const qP="njs-cell",zP=(e,t)=>{switch(t.type){case"LOADING":return a(a({},e),{},{loading:!0});case"LOADED":return a(a({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return a(a({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return a(a({},e),{},{longRunningQuery:!0});case"ERROR":return a(a({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function DP(e){let{delay:t=750}=e;const[n,r]=H.useState(!1);return H.useEffect((()=>{const e=setTimeout((()=>r(!0)),t);return()=>clearTimeout(e)}),[]),n?U.createElement(mP,null):null}const AP=e=>!e.qError||7005===e.qError.qErrorCode,jP=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const a=!(!t||!t[e]),i=a&&t[e].qError&&7005===t[e].qError.qErrorCode,l=a&&!i&&t[e].qError,s=i&&t[e].qCalcCondMsg,c="".concat(l?r:i?s||o:a&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(c.length?":":""):null,label:c,missing:t&&!a&&!l&&e>=t.length||i,error:l}})),FP=e=>e&&(Array.isArray(e)?e:[e])||[],BP=(e,t,n,r)=>{const o=r.dimensions.min(),a=r.measures.min(),i=r.resolveLayout(t);return{reqDimErrors:jP(o,FP(i.qDimensionInfo||i.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:jP(a,FP(i.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},WP=async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:a,aggMinD:i,aggMinM:l,hasLayoutErrors:s,layoutErrors:c}=((e,t,n)=>{let r=!1,o=0,a=0,i=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),h=FP(f.qDimensionInfo||f.qItems).filter(AP),m=FP(f.qMeasureInfo).filter(AP);if(o+=d,a+=p,(h.length<d||m.length<p)&&(r=!0),f.qError){i=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:a,hasLayoutErrors:i,layoutErrors:s}})(e,o,t),u=[],d=[];let p=null;for(let n=0;n<o.length;++n){const i=o[n];if(!s&&a){const n=p||await r.getProperties();p=n;const o=BP(e,t,n,i);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=u.filter((e=>!(e.missing||e.error))).length,h=e.get("Visualization.Incomplete.Dimensions",[f,i]),m=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[m,l]),v=[{title:h,descriptions:[...u]},{title:g,descriptions:[...d]}],b=s?c:v;return[s||a,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:b}]},$P=H.forwardRef(((e,t)=>{let{halo:n,model:r,initialSnOptions:o,initialSnPlugins:i,initialError:l,onMount:s,currentId:c,emitter:u}=e;const{app:d,types:p}=n,{nebbie:f}=n.public,{theme:h,translator:m,language:g,keyboardNavigation:v,disableCellPadding:b=!1}=H.useContext(xS),y=eb(),[x,S,w]=CR(),[E,C]=H.useReducer(zP,{loading:!1,loaded:!1,longRunningQuery:!1,error:(k=l)?{title:k.message}:null,sn:null,visualization:null});var k;const[R,{validating:L,canCancel:O,canRetry:I},T]=wR(r),[P]=ER(d),[_,N,M]=CR(),[q,z]=H.useState(o),[D,A]=H.useState(i),j="njs-cell-".concat(c),[F]=LI(d,r,["#".concat(j),".njs-action-toolbar-popover"]),[B,W]=H.useState(!1),$=H.useRef({enter:null,leave:null}),[V,G]=H.useState(void 0),[K,Z]=H.useState(void 0),[X,Q]=H.useState(void 0),J=H.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});H.useEffect((()=>{CI(J.current)}),[]),H.useEffect((()=>{if(R&&n.public.theme){const e=R.components?R.components.find((e=>"general"===e.key)):null;Q({main:MP(e,"main",n.public.theme,R.visualization),footer:MP(e,"footer",n.public.theme,R.visualization),subTitle:MP(e,"subTitle",n.public.theme,R.visualization)}),G(NP(e,n.public.theme,R.visualization)),Z(_P(e,n.app))}}),[R,n.public.theme,n.app,h]),J.current.blurCallback=e=>{n.root.toggleFocusOfCells(),e&&M&&M.focus()},J.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()};H.useEffect((()=>{if(l||!P||!R)return;if(E.visualization===R.visualization&&E.sn)return void(async e=>{const[t,n]=await WP(m,R,e.generator.qae.data,r);C(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){const{targets:e}=t.generator.qae.data,n=e[0].propertyPath;o.goModal(n)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}})({sn:E.sn,layout:R,model:r})})(E.sn);const e=p.getSupportedVersion(R.visualization,R.version);return(async(e,t)=>{C({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:a,app:i,selections:l,nebbie:s,focusHandler:c,emitter:u}=e;try{const e=await(async e=>{let{types:t,name:n,version:r}=e;return await t.get({name:n,version:r}).supernova()})({types:n,name:r,version:o});return e.create({model:a,app:i,selections:l,nebbie:s,focusHandler:c,emitter:u})}catch(e){t(o?{type:"ERROR",error:{title:e.message}}:{type:"ERROR",error:{title:"Could not find a version of '".concat(r,"' that supports current object version. Did you forget to register ").concat(r,"?")}})}})({dispatch:C,types:p,visualization:e,version:t,model:r,app:d,selections:F,nebbie:f,focusHandler:J.current,emitter:u});n&&(C({type:"LOADED",sn:n,visualization:e}),s())})(R.visualization,e),()=>{}}),[p,E.sn,r,F,R,P,g]),H.useEffect((()=>{if(!L)return;const e=setTimeout((()=>C({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[L]),H.useImperativeHandle(t,(()=>({getQae:()=>E.sn.generator.qae,toggleFocus(e){"function"==typeof E.sn.component.focus&&(e?E.sn.component.focus():E.sn.component.blur())},setSnOptions:z,setSnPlugins:A,getImperativeHandle(){var e;return null!==(e=E.sn)&&void 0!==e&&e.component&&"function"==typeof E.sn.component.getImperativeHandle?E.sn.component.getImperativeHandle():{}},async takeSnapshot(){const{width:e,height:t}=S;let n=JSON.parse(JSON.stringify(R));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:y.name,appLayout:P,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof n.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return n.config.snapshot.capture(e)}})),[E.sn,N,S,R,y.name,P]);let Y=null;return E.loading&&!E.longRunningQuery?Y=U.createElement(DP,null):E.error?Y=U.createElement(tP,E.error):E.loaded&&(Y=U.createElement(OP,{key:R.visualization,sn:E.sn,halo:n,snOptions:q,snPlugins:D,layout:R,appLayout:P})),U.createElement(VS,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:V||"unset",backgroundImage:K&&K.url?"url(".concat(K.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:K&&K.size,backgroundPosition:K&&K.pos},elevation:0,square:!0,className:qP,ref:x,id:j,onMouseEnter:()=>{$.current.leave&&clearTimeout($.current.leave),$.enter||($.current.enter=setTimeout((()=>{W(!0),$.current.enter=null}),250))},onMouseLeave:()=>{$.current.enter&&clearTimeout($.current.enter),$.current.leave||($.current.leave=setTimeout((()=>{W(!1),$.current.leave=null}),750))}},U.createElement(nC,{container:!0,direction:"column",gap:0,style:a(a({position:"relative",width:"100%",height:"100%"},b?{}:{padding:y.spacing(1)}),E.longRunningQuery?{opacity:"0.3"}:{})},w&&R&&E.sn&&U.createElement(SP,{layout:R,sn:E.sn,anchorEl:w,hovering:B,focusHandler:J.current,titleStyles:X}," "),U.createElement(nC,{tabIndex:v?0:-1,onKeyDown:v?e=>{["Enter"," ","Spacebar"].includes(e.key)&&n.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:_},Y),w&&R&&E.sn&&U.createElement(kP,{layout:R,titleStyles:X})),E.longRunningQuery&&U.createElement(hP,{canCancel:O,canRetry:I,api:T}))}));function HP(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function UP(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r=[];return Object.keys(t).forEach((o=>{const a=t[o];"object"!=typeof n[o]||"object"!=typeof a||Array.isArray(a)?function(e,t){return HP(e)&&HP(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}(a,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...UP("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function VP(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 GP=()=>{};function KP(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=GP,i=null,l=null,s=null,c=null;const u=new Promise((e=>{s=e})),d=new Promise((e=>{c=e})),p=e=>()=>{e&&e(),c()};let f={},h=[];const m=new Y,g={id:e.id,model:e,async destroy(){await r(),o(),o=GP},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await XT({halo:t,model:e,cellRef:i,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},addListener(e,t){m.addListener(e,t)},removeListener(e,t){m.removeListener(e,t)},getImperativeHandle:async()=>(await d,i.current.getImperativeHandle()),__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[o,i]=function(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,emitter:l,initialError:s}=e;const{root:c}=t,u=U.createRef(),d=XI(),p=xp.createPortal(U.createElement($P,{ref:u,halo:t,model:r,currentId:d,initialSnOptions:o,initialSnPlugins:a,initialError:s,onMount:i,emitter:l}),n,d),f=()=>{c.remove(p),r.removeListener("closed",f)};return r.on("closed",f),c.add(p),c.addCell(d,u),[f,u]}({halo:t,element:r,model:e,initialSnOptions:f,initialSnPlugins:h,initialError:n,onMount:s,emitter:m}),u},async applyProperties(t){const n=UP("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;l?(async()=>{await u,i.current.setSnOptions(a(a(a({},f),e),{onInitialRender:p(t)}))})():f=a(a(a({},f),e),{onInitialRender:p(t)})})(e)},plugins(e){(async e=>{VP(e),l?(async()=>{await u,i.current.setSnPlugins(e)})():h=e})(e)},exportImage:()=>i.current.exportImage(),takeSnapshot:()=>i.current.takeSnapshot(),getModel:()=>e}};return g}async function ZP(e,t,n,r){const o=KP({model:e,halo:n,initialError:r,onDestroy:arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{}});return t.options&&o.__DO_NOT_USE__.options(t.options),t.plugins&&o.__DO_NOT_USE__.plugins(t.plugins),t.element&&await o.__DO_NOT_USE__.mount(t.element),o}async function XP(e,t,n){let{type:r,version:o,fields:a,properties:i,extendProperties:l}=e,s={};const c=[];try{const e=t.types.get({name:r,version:o});s=await e.initialProperties(i,l);const n=await e.supernova();a&&await DT({sn:n,properties:s,fields:a,children:c},t),i&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},s)}catch(e){s=n?null:{qInfo:{qType:r},visualization:r}}if(!n){const e=await t.app.createObject(s);return c.length>0&&await e.setFullPropertyTree({qProperty:s,qChildren:c}),mR.set(e.id,e),e}return s}const QP={className:"njs-sheet"};function JP(e){let{model:t,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:a,onMount:i}=e;const{root:l}=n,[s]=wR(t),{theme:c}=H.useContext(xS),[u,d]=H.useState([]),[p,f]=H.useState(void 0),[h,m]=H.useState(void 0),[g,v]=H.useState("");H.useEffect((()=>{if(s){const e=JSON.stringify(s.cells);if(e===g)return;v(e);const t=async()=>{u.forEach((e=>{l.removeCell(e.currentId)}));const e=s.cells,t=await Promise.all(e.map((async e=>{let t;const r=new Promise((e=>{t=e})),o=u.find((t=>t.id===e.name));if(o)return o.bounds=e.bounds,delete o.mountedPromise,o;const a=await async function(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=cR.get(i);l||(l=t.app.getObject(n),cR.set(i,l));const s=await l;return mR.set(i,s),ZP(s,{options:r,plugins:o,element:a},t)}({id:e.name},n);return{model:a.model,id:e.name,bounds:e.bounds,cellRef:U.createRef(),currentId:XI(),mounted:t,mountedPromise:r}})));t.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(t)};t()}}),[s]);const b=H.useMemo((()=>u?u.map((e=>function(e,t,n,r,o,a){const{x:i,y:l,width:s,height:c}=e.bounds;return U.createElement("div",{style:{left:"".concat(i,"%"),top:"".concat(l,"%"),width:"".concat(s,"%"),height:"".concat(c,"%"),position:"absolute"}},U.createElement($P,{ref:e.cellRef,halo:t,model:e.model,currentId:e.currentId,initialSnOptions:n,initialSnPlugins:r,initialError:o,onMount:a}))}(e,n,r,o,a,e.mounted))):[]),[u]);H.useEffect((()=>{const e=null!=s&&s.components?s.components.find((e=>"general"===e.key)):null;f(NP(e,n.public.theme)),m(_P(e,n.app))}),[s,n.public.theme,n.app,c]);const y=!s||Number.isNaN(s.height)?"100%":"".concat(Number(s.height),"%"),x=u.map((e=>e.mountedPromise)),S=x.filter((e=>!!e));return S.length&&Promise.all(x).then((()=>{i()})),U.createElement("div",{className:QP.className,style:{width:"100%",height:y,position:"relative",backgroundColor:p,backgroundImage:h&&h.url?"url(".concat(h.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:h&&h.size,backgroundPosition:h&&h.pos}},b)}const YP=()=>{};function e_(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=YP,i=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p={id:e.id,model:e,async destroy(){await r(),o(),o=YP},__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[o,i]=function(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:a,onMount:i,initialError:l}=e;const{root:s}=t,c=U.createRef(),u=xp.createPortal(U.createElement(JP,{ref:c,halo:t,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:i}),n,r.id),d=()=>{s.remove(u),r.removeListener("closed",d)};return r.on("closed",d),s.add(u),[d,c]}({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=UP("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{l?(async()=>{await c,i.current.setSnOptions(a(a({},u),e))})():u=a(a({},u),e)})(e)},plugins(e){(async e=>{VP(e),l?(async()=>{await c,i.current.setSnPlugins(e)})():d=e})(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return p}async function t_(e,t){let{id:n,options:r,plugins:o,element:a}=e;const i="".concat(n);let l=cR.get(i);l||(l=t.app.getObject(n),cR.set(i,l));const s=await l;return mR.set(i,s),"sheet"===s.genericType?async function(e,t,n,r){const o=e_({model:e,halo:n,initialError:r,onDestroy:arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{}});return t.options&&o.__DO_NOT_USE__.options(t.options),t.plugins&&o.__DO_NOT_USE__.plugins(t.plugins),t.element&&await o.__DO_NOT_USE__.mount(t.element),o}(s,{options:r,plugins:o,element:a},t):ZP(s,{options:r,plugins:o,element:a},t)}function n_(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const r_=$e.bind(null,!0),o_={},{isArray:a_}=Array;function i_(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function l_(e){return void 0===e}function s_(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function c_(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const a=isNaN(r)?{}:[];e[r||t]=l_(e[r||t])?a:e[t],e=e[r||t]})),e}function u_(e,t){let n=!0;if(i_(e)&&i_(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{u_(e[r],t[r])||(n=!1)})),n);if(a_(e)&&a_(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!u_(e[n],t[n]))return!1;return!0}return e===t}o_.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const a=function(e){return e?r_({},{val:e}).val:e}(t[o]),i=e[o],l="".concat(n,"/").concat(o);u_(a,i)||s_(t,o)||(l_(i)?r.push({op:"add",path:l,value:a}):i_(a)&&i_(i)?r=r.concat(o_.generate(i,a,l)):a_(a)&&a_(i)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let a=-1;function i(e,t,n){if(e[n]&&l_(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(u_(t,o))return r;if(!l_(t[0])&&l_(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)a=i(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===a?(r.push({op:"remove",path:"".concat(n,"/").concat(e)}),o.splice(e,1)):r=r.concat(o_.generate(o[e],t[a],"".concat(n,"/").concat(e)));for(let e=0,l=t.length;e<l;e+=1)a=i(o,t[e].qInfo&&t[e].qInfo.qId),-1===a?(r.push({op:"add",path:"".concat(n,"/").concat(e),value:t[e]}),o.splice(e,0,t[e])):a!==e&&(r.push({op:"move",path:"".concat(n,"/").concat(e),from:"".concat(n,"/").concat(a)}),o.splice(e,0,o.splice(a,1)[0]));return r}(i,a,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:a}))})),Object.keys(e).forEach((o=>{l_(t[o])&&!s_(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},o_.apply=function(e,t){t.forEach((t=>{let n=c_(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(a_(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(a_(o)&&a_(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(i_(o)&&i_(t.value))i=o,Object.keys(i).forEach((e=>{Object.getOwnPropertyDescriptor(i,e).configurable&&!s_(i,e)&&delete i[e]})),r_(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=c_(e,t.from);a_(n)?n.splice(+r,0,o.splice(+a,1)[0]):(n[r]=o[a],delete o[a])}else"remove"===t.op&&(a_(n)?n.splice(+r,1):delete n[r]);var i}))},o_.clone=function(e){return r_({},e)},o_.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},o_.updateObject=function(e,t){Object.keys(e).length?o_.apply(e,o_.generate(e,t)):r_(e,t)};const d_=e=>t=>{const n=(r=a(a({},t),{},{action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0}),Object.keys(Y.prototype).forEach((e=>{r[e]=Y.prototype[e]})),Y.init(r),r);var r;return n};let p_,f_;function h_(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 m_(e){let{explicitResize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function g_(e){b_(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 v_(e){if(e.__hooks.obsolete)return Promise.resolve();f_=-1,p_=e,p_.__hooks.initiated&&p_.__hooks.list.length;try{p_.fn.call(null)}catch(e){console.error(e)}p_.__hooks.initiated=!0;const t=p_.__hooks;return w_(p_),f_=void 0,p_=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){b_(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame((()=>{!function(e){b_(e.pendingEffects),e.macro=null,function(e){if(e.pendingPromises.length||e.micro||e.macro)return;e.chain.promise=null,e.chain.resolve(!e.waitForData)}(e)}(e)}))}(t),t.chain.promise}function b_(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 y_(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 x_(e,t,n,r){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n,r))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function S_(e){return e.__hooks.imperativeHandle}function w_(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function E_(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,w_(e))}function C_(e){if(void 0===p_)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=p_.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function k_(e){C_(++f_);return p_.context[e]}function R_(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function L_(e){return{__hooked:!0,fn:e,initiate:m_,run:v_,teardown:g_,runSnaps:y_,runMenu:x_,focus:N_,blur:M_,observeActions:E_,getImperativeHandle:S_,updateRectOnNextRun:R_}}function O_(e){const t=C_(++f_);if(!t.value){t.component=p_;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,v_(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function I_(e,t){const n=C_(++f_);h_(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===p_.__hooks.pendingEffects.indexOf(n)&&p_.__hooks.pendingEffects.push(n))}function T_(e,t){const n=C_(++f_);h_(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],p_.__hooks.pendingLayoutEffects.push(n))}function P_(e,t){const n=C_(++f_);return h_(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function __(){return k_("element")}function N_(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 M_(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 q_={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},z_=Object.keys(q_),D_=e=>(Object.keys(Y.prototype).forEach((t=>{e[t]=Y.prototype[t]})),Y.init(e),e);function A_(e,t){const n=a({},q_);D_(n);const r={emit(){n.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==z_.indexOf(t)?n[t]=e.component[t].bind(r):r[t]=e.component[t]}));const o=function(e){let{sn:t,component:n}=e;const r={},o=[],a=d_(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=a(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((e=>{const t=a(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy(){o.length=0}}}({sn:e,component:r}),i=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(r,{model:t.model,app:t.app,global:i,selections:t.selections,actions:o.actions}),Object.assign(n,{actions:o.actions,model:t.model,app:t.app,selections:t.selections}),[n,o]}function j_(e,t,n){"function"==typeof e.component&&(e.component=L_(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const i={},l=["appLayout","constraints","interactions"],s={},c={};t.model&&t.model.session||(s.select=!0,s.edit=!0,c.select=!1,c.edit=!1);const u={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:s,interactions:c,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}l.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify(a(a({},r[e]),s))),"interactions"===e&&(t=JSON.stringify(a(a({},r[e]),c))),t!==i[e]&&(n=!0,i[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==i.themeName&&(n=!0,i.themeName=this.context.theme.name()),this.context.translator.language()!==i.language&&(n=!0,i.language=u.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n,r){return e.component.runMenu(this,t,n,r)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return l.forEach((e=>{i[e]=JSON.stringify(u.context[e])})),i.themeName=u.context.theme?u.context.theme.name():void 0,i.language=u.context.translator?u.context.translator.language():void 0,Object.assign(u,{selections:t.selections}),[u,null]}(e,t,n):A_(e,t),i=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const a=o_.clone(o),i=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));o_.apply(o,i),e.qae.properties.onChange.call({model:t.model},o);const l=o_.generate(a,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},i.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){i.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const F_=()=>{};function B_(e,t){return void 0===e?()=>t:()=>e}function W_(e){const t=e||{};return{min:"function"==typeof t.min?t.min:B_(t.min,0),max:"function"==typeof t.max?t.max:B_(t.max,1e3),added:t.added||t.add||F_,description:t.description||F_,moved:t.moved||t.move||F_,removed:t.removed||t.remove||F_,replaced:t.replaced||t.replace||F_,isDefined:()=>!!e}}const $_=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function H_(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(e," at ").concat(t,". Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:e=>$_(e,n,{}),dimensions:W_(e.dimensions),measures:W_(e.measures)}}function U_(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);return{properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(H_)},exportProperties:t.exportProperties,importProperties:t.importProperties}}function V_(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:U_(n.qae),component:n.component||{},create:e=>j_(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var G_={exports:{}};var K_={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const Z_="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error("SEMVER",...t)}:()=>{};var X_=Z_;!function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=K_,a=X_,i=(t=e.exports={}).re=[],l=t.safeRe=[],s=t.src=[],c=t.t={};let u=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",o],[d,r]],f=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split("".concat(t,"*")).join("".concat(t,"{0,").concat(n,"}")).split("".concat(t,"+")).join("".concat(t,"{1,").concat(n,"}"));return e})(t),o=u++;a(e,o,t),c[e]=o,s[o]=t,i[o]=new RegExp(t,n?"g":void 0),l[o]=new RegExp(r,n?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-]".concat(d,"*")),f("MAINVERSION","(".concat(s[c.NUMERICIDENTIFIER],")\\.")+"(".concat(s[c.NUMERICIDENTIFIER],")\\.")+"(".concat(s[c.NUMERICIDENTIFIER],")")),f("MAINVERSIONLOOSE","(".concat(s[c.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[c.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[c.NUMERICIDENTIFIERLOOSE],")")),f("PRERELEASEIDENTIFIER","(?:".concat(s[c.NUMERICIDENTIFIER],"|").concat(s[c.NONNUMERICIDENTIFIER],")")),f("PRERELEASEIDENTIFIERLOOSE","(?:".concat(s[c.NUMERICIDENTIFIERLOOSE],"|").concat(s[c.NONNUMERICIDENTIFIER],")")),f("PRERELEASE","(?:-(".concat(s[c.PRERELEASEIDENTIFIER],"(?:\\.").concat(s[c.PRERELEASEIDENTIFIER],")*))")),f("PRERELEASELOOSE","(?:-?(".concat(s[c.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(s[c.PRERELEASEIDENTIFIERLOOSE],")*))")),f("BUILDIDENTIFIER","".concat(d,"+")),f("BUILD","(?:\\+(".concat(s[c.BUILDIDENTIFIER],"(?:\\.").concat(s[c.BUILDIDENTIFIER],")*))")),f("FULLPLAIN","v?".concat(s[c.MAINVERSION]).concat(s[c.PRERELEASE],"?").concat(s[c.BUILD],"?")),f("FULL","^".concat(s[c.FULLPLAIN],"$")),f("LOOSEPLAIN","[v=\\s]*".concat(s[c.MAINVERSIONLOOSE]).concat(s[c.PRERELEASELOOSE],"?").concat(s[c.BUILD],"?")),f("LOOSE","^".concat(s[c.LOOSEPLAIN],"$")),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE","".concat(s[c.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),f("XRANGEIDENTIFIER","".concat(s[c.NUMERICIDENTIFIER],"|x|X|\\*")),f("XRANGEPLAIN","[v=\\s]*(".concat(s[c.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIER],")")+"(?:".concat(s[c.PRERELEASE],")?").concat(s[c.BUILD],"?")+")?)?"),f("XRANGEPLAINLOOSE","[v=\\s]*(".concat(s[c.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(s[c.PRERELEASELOOSE],")?").concat(s[c.BUILD],"?")+")?)?"),f("XRANGE","^".concat(s[c.GTLT],"\\s*").concat(s[c.XRANGEPLAIN],"$")),f("XRANGELOOSE","^".concat(s[c.GTLT],"\\s*").concat(s[c.XRANGEPLAINLOOSE],"$")),f("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),f("COERCERTL",s[c.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM","(\\s*)".concat(s[c.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",f("TILDE","^".concat(s[c.LONETILDE]).concat(s[c.XRANGEPLAIN],"$")),f("TILDELOOSE","^".concat(s[c.LONETILDE]).concat(s[c.XRANGEPLAINLOOSE],"$")),f("LONECARET","(?:\\^)"),f("CARETTRIM","(\\s*)".concat(s[c.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",f("CARET","^".concat(s[c.LONECARET]).concat(s[c.XRANGEPLAIN],"$")),f("CARETLOOSE","^".concat(s[c.LONECARET]).concat(s[c.XRANGEPLAINLOOSE],"$")),f("COMPARATORLOOSE","^".concat(s[c.GTLT],"\\s*(").concat(s[c.LOOSEPLAIN],")$|^$")),f("COMPARATOR","^".concat(s[c.GTLT],"\\s*(").concat(s[c.FULLPLAIN],")$|^$")),f("COMPARATORTRIM","(\\s*)".concat(s[c.GTLT],"\\s*(").concat(s[c.LOOSEPLAIN],"|").concat(s[c.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE","^\\s*(".concat(s[c.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(s[c.XRANGEPLAIN],")")+"\\s*$"),f("HYPHENRANGELOOSE","^\\s*(".concat(s[c.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(s[c.XRANGEPLAINLOOSE],")")+"\\s*$"),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(G_,G_.exports);var Q_=G_.exports;const J_=Object.freeze({loose:!0}),Y_=Object.freeze({});var eN=e=>e?"object"!=typeof e?J_:e:Y_;const tN=/^[0-9]+$/,nN=(e,t)=>{const n=tN.test(e),r=tN.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var rN={compareIdentifiers:nN,rcompareIdentifiers:(e,t)=>nN(t,e)};const oN=X_,{MAX_LENGTH:aN,MAX_SAFE_INTEGER:iN}=K_,{safeRe:lN,t:sN}=Q_,cN=eN,{compareIdentifiers:uN}=rN;var dN=class e{constructor(t,n){if(n=cN(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError('Invalid version. Must be a string. Got type "'.concat(typeof t,'".'));if(t.length>aN)throw new TypeError("version is longer than ".concat(aN," characters"));oN("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?lN[sN.LOOSE]:lN[sN.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>iN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>iN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>iN||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<iN)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(t){if(oN("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),uN(this.major,t.major)||uN(this.minor,t.minor)||uN(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const e=this.prerelease[n],r=t.prerelease[n];if(oN("prerelease compare",n,e,r),void 0===e&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===e)return-1;if(e!==r)return uN(e,r)}while(++n)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let n=0;do{const e=this.build[n],r=t.build[n];if(oN("prerelease compare",n,e,r),void 0===e&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===e)return-1;if(e!==r)return uN(e,r)}while(++n)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);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":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===uN(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error("invalid increment argument: ".concat(e))}return this.raw=this.format(),this.build.length&&(this.raw+="+".concat(this.build.join("."))),this}};const pN=dN;var fN=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e instanceof pN)return e;try{return new pN(e,t)}catch(e){if(!n)return null;throw e}};const hN=fN;var mN=(e,t)=>{const n=hN(e,t);return n?n.version:null};const gN=fN;var vN=(e,t)=>{const n=gN(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};const bN=dN;var yN=(e,t,n,r,o)=>{"string"==typeof n&&(o=r,r=n,n=void 0);try{return new bN(e instanceof bN?e.version:e,n).inc(t,r,o).version}catch(e){return null}};const xN=fN;var SN=(e,t)=>{const n=xN(e,null,!0),r=xN(t,null,!0),o=n.compare(r);if(0===o)return null;const a=o>0,i=a?n:r,l=a?r:n,s=!!i.prerelease.length;if(!!l.prerelease.length&&!s)return l.patch||l.minor?i.patch?"patch":i.minor?"minor":"major":"major";const c=s?"pre":"";return n.major!==r.major?c+"major":n.minor!==r.minor?c+"minor":n.patch!==r.patch?c+"patch":"prerelease"};const wN=dN;var EN=(e,t)=>new wN(e,t).major;const CN=dN;var kN=(e,t)=>new CN(e,t).minor;const RN=dN;var LN=(e,t)=>new RN(e,t).patch;const ON=fN;var IN=(e,t)=>{const n=ON(e,t);return n&&n.prerelease.length?n.prerelease:null};const TN=dN;var PN=(e,t,n)=>new TN(e,n).compare(new TN(t,n));const _N=PN;var NN=(e,t,n)=>_N(t,e,n);const MN=PN;var qN=(e,t)=>MN(e,t,!0);const zN=dN;var DN=(e,t,n)=>{const r=new zN(e,n),o=new zN(t,n);return r.compare(o)||r.compareBuild(o)};const AN=DN;var jN=(e,t)=>e.sort(((e,n)=>AN(e,n,t)));const FN=DN;var BN=(e,t)=>e.sort(((e,n)=>FN(n,e,t)));const WN=PN;var $N=(e,t,n)=>WN(e,t,n)>0;const HN=PN;var UN=(e,t,n)=>HN(e,t,n)<0;const VN=PN;var GN=(e,t,n)=>0===VN(e,t,n);const KN=PN;var ZN=(e,t,n)=>0!==KN(e,t,n);const XN=PN;var QN=(e,t,n)=>XN(e,t,n)>=0;const JN=PN;var YN=(e,t,n)=>JN(e,t,n)<=0;const eM=GN,tM=ZN,nM=$N,rM=QN,oM=UN,aM=YN;var iM=(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 eM(e,n,r);case"!=":return tM(e,n,r);case">":return nM(e,n,r);case">=":return rM(e,n,r);case"<":return oM(e,n,r);case"<=":return aM(e,n,r);default:throw new TypeError("Invalid operator: ".concat(t))}};const lM=dN,sM=fN,{safeRe:cM,t:uM}=Q_;var dM,pM,fM=(e,t)=>{if(e instanceof lM)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=cM[uM.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),cM[uM.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;cM[uM.COERCERTL].lastIndex=-1}else n=e.match(cM[uM.COERCE]);return null===n?null:sM("".concat(n[2],".").concat(n[3]||"0",".").concat(n[4]||"0"),t)};var hM=mM;function mM(e){var t=this;if(t instanceof mM||(t=new mM),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}function gM(e,t,n){var r=t===e.head?new yM(n,null,t,e):new yM(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function vM(e,t){e.tail=new yM(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function bM(e,t){e.head=new yM(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function yM(e,t,n,r){if(!(this instanceof yM))return new yM(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}mM.Node=yM,mM.create=mM,mM.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},mM.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},mM.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},mM.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)vM(this,arguments[e]);return this.length},mM.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)bM(this,arguments[e]);return this.length},mM.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},mM.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},mM.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},mM.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},mM.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},mM.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},mM.prototype.map=function(e,t){t=t||this;for(var n=new mM,r=this.head;null!==r;)n.push(e.call(t,r.value,this)),r=r.next;return n},mM.prototype.mapReverse=function(e,t){t=t||this;for(var n=new mM,r=this.tail;null!==r;)n.push(e.call(t,r.value,this)),r=r.prev;return n},mM.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=e(n,r.value,o),r=r.next;return n},mM.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=e(n,r.value,o),r=r.prev;return n},mM.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},mM.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},mM.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new mM;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;for(;null!==o&&r<t;r++,o=o.next)n.push(o.value);return n},mM.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new mM;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,o=this.tail;null!==o&&r>t;r--)o=o.prev;for(;null!==o&&r>e;r--,o=o.prev)n.push(o.value);return n},mM.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var a=[];for(r=0;o&&r<t;r++)a.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=gM(this,o,n[r]);return a},mM.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{(pM||(pM=1,dM=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}),dM)(mM)}catch(e){}const xM=hM,SM=Symbol("max"),wM=Symbol("length"),EM=Symbol("lengthCalculator"),CM=Symbol("allowStale"),kM=Symbol("maxAge"),RM=Symbol("dispose"),LM=Symbol("noDisposeOnSet"),OM=Symbol("lruList"),IM=Symbol("cache"),TM=Symbol("updateAgeOnGet"),PM=()=>1;const _M=(e,t,n)=>{const r=e[IM].get(t);if(r){const t=r.value;if(NM(e,t)){if(qM(e,r),!e[CM])return}else n&&(e[TM]&&(r.value.now=Date.now()),e[OM].unshiftNode(r));return t.value}},NM=(e,t)=>{if(!t||!t.maxAge&&!e[kM])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[kM]&&n>e[kM]},MM=e=>{if(e[wM]>e[SM])for(let t=e[OM].tail;e[wM]>e[SM]&&null!==t;){const n=t.prev;qM(e,t),t=n}},qM=(e,t)=>{if(t){const n=t.value;e[RM]&&e[RM](n.key,n.value),e[wM]-=n.length,e[IM].delete(n.key),e[OM].removeNode(t)}};class zM{constructor(e,t,n,r,o){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=o||0}}const DM=(e,t,n,r)=>{let o=n.value;NM(e,o)&&(qM(e,n),e[CM]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};var AM,jM,FM,BM,WM=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[SM]=e.max||1/0;const t=e.length||PM;if(this[EM]="function"!=typeof t?PM:t,this[CM]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[kM]=e.maxAge||0,this[RM]=e.dispose,this[LM]=e.noDisposeOnSet||!1,this[TM]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[SM]=e||1/0,MM(this)}get max(){return this[SM]}set allowStale(e){this[CM]=!!e}get allowStale(){return this[CM]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[kM]=e,MM(this)}get maxAge(){return this[kM]}set lengthCalculator(e){"function"!=typeof e&&(e=PM),e!==this[EM]&&(this[EM]=e,this[wM]=0,this[OM].forEach((e=>{e.length=this[EM](e.value,e.key),this[wM]+=e.length}))),MM(this)}get lengthCalculator(){return this[EM]}get length(){return this[wM]}get itemCount(){return this[OM].length}rforEach(e,t){t=t||this;for(let n=this[OM].tail;null!==n;){const r=n.prev;DM(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[OM].head;null!==n;){const r=n.next;DM(this,e,n,t),n=r}}keys(){return this[OM].toArray().map((e=>e.key))}values(){return this[OM].toArray().map((e=>e.value))}reset(){this[RM]&&this[OM]&&this[OM].length&&this[OM].forEach((e=>this[RM](e.key,e.value))),this[IM]=new Map,this[OM]=new xM,this[wM]=0}dump(){return this[OM].map((e=>!NM(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[OM]}set(e,t,n){if((n=n||this[kM])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,o=this[EM](t,e);if(this[IM].has(e)){if(o>this[SM])return qM(this,this[IM].get(e)),!1;const a=this[IM].get(e).value;return this[RM]&&(this[LM]||this[RM](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[wM]+=o-a.length,a.length=o,this.get(e),MM(this),!0}const a=new zM(e,t,o,r,n);return a.length>this[SM]?(this[RM]&&this[RM](e,t),!1):(this[wM]+=a.length,this[OM].unshift(a),this[IM].set(e,this[OM].head),MM(this),!0)}has(e){if(!this[IM].has(e))return!1;const t=this[IM].get(e).value;return!NM(this,t)}get(e){return _M(this,e,!0)}peek(e){return _M(this,e,!1)}pop(){const e=this[OM].tail;return e?(qM(this,e),e.value):null}del(e){qM(this,this[IM].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{const e=o-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[IM].forEach(((e,t)=>_M(this,t,!1)))}};function $M(){if(jM)return AM;jM=1;class e{constructor(t,o){if(o=n(o),t instanceof e)return t.loose===!!o.loose&&t.includePrerelease===!!o.includePrerelease?t:new e(t.raw,o);if(t instanceof r)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=o,this.loose=!!o.loose,this.includePrerelease=!!o.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(this.raw));if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&h(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const n=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+e,a=t.get(n);if(a)return a;const h=this.options.loose,m=h?i[l.HYPHENRANGELOOSE]:i[l.HYPHENRANGE];e=e.replace(m,R(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(i[l.COMPARATORTRIM],s),o("comparator trim",e),e=e.replace(i[l.TILDETRIM],c),o("tilde trim",e),e=e.replace(i[l.CARETTRIM],u),o("caret trim",e);let v=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>k(e,this.options)));h&&(v=v.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(i[l.COMPARATORLOOSE]))))),o("range list",v);const b=new Map,y=v.map((e=>new r(e,this.options)));for(const e of y){if(f(e))return[e];b.set(e.value,e)}b.size>1&&b.has("")&&b.delete("");const x=[...b.values()];return t.set(n,x),x}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((e=>m(e,n)&&t.set.some((t=>m(t,n)&&e.every((e=>t.every((t=>e.intersects(t,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(L(this.set[t],e,this.options))return!0;return!1}}AM=e;const t=new WM({max:1e3}),n=eN,r=HM(),o=X_,a=dN,{safeRe:i,t:l,comparatorTrimReplace:s,tildeTrimReplace:c,caretTrimReplace:u}=Q_,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:p}=K_,f=e=>"<0.0.0-0"===e.value,h=e=>""===e.value,m=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},g=(e,t)=>(o("comp",e,t),e=x(e,t),o("caret",e),e=b(e,t),o("tildes",e),e=w(e,t),o("xrange",e),e=C(e,t),o("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?i[l.TILDELOOSE]:i[l.TILDE];return e.replace(n,((t,n,r,a,i)=>{let l;return o("tilde",e,t,n,r,a,i),v(n)?l="":v(r)?l=">=".concat(n,".0.0 <").concat(+n+1,".0.0-0"):v(a)?l=">=".concat(n,".").concat(r,".0 <").concat(n,".").concat(+r+1,".0-0"):i?(o("replaceTilde pr",i),l=">=".concat(n,".").concat(r,".").concat(a,"-").concat(i," <").concat(n,".").concat(+r+1,".0-0")):l=">=".concat(n,".").concat(r,".").concat(a," <").concat(n,".").concat(+r+1,".0-0"),o("tilde return",l),l}))},x=(e,t)=>e.trim().split(/\s+/).map((e=>S(e,t))).join(" "),S=(e,t)=>{o("caret",e,t);const n=t.loose?i[l.CARETLOOSE]:i[l.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,a,i,l)=>{let s;return o("caret",e,t,n,a,i,l),v(n)?s="":v(a)?s=">=".concat(n,".0.0").concat(r," <").concat(+n+1,".0.0-0"):v(i)?s="0"===n?">=".concat(n,".").concat(a,".0").concat(r," <").concat(n,".").concat(+a+1,".0-0"):">=".concat(n,".").concat(a,".0").concat(r," <").concat(+n+1,".0.0-0"):l?(o("replaceCaret pr",l),s="0"===n?"0"===a?">=".concat(n,".").concat(a,".").concat(i,"-").concat(l," <").concat(n,".").concat(a,".").concat(+i+1,"-0"):">=".concat(n,".").concat(a,".").concat(i,"-").concat(l," <").concat(n,".").concat(+a+1,".0-0"):">=".concat(n,".").concat(a,".").concat(i,"-").concat(l," <").concat(+n+1,".0.0-0")):(o("no pr"),s="0"===n?"0"===a?">=".concat(n,".").concat(a,".").concat(i).concat(r," <").concat(n,".").concat(a,".").concat(+i+1,"-0"):">=".concat(n,".").concat(a,".").concat(i).concat(r," <").concat(n,".").concat(+a+1,".0-0"):">=".concat(n,".").concat(a,".").concat(i," <").concat(+n+1,".0.0-0")),o("caret return",s),s}))},w=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>E(e,t))).join(" ")),E=(e,t)=>{e=e.trim();const n=t.loose?i[l.XRANGELOOSE]:i[l.XRANGE];return e.replace(n,((n,r,a,i,l,s)=>{o("xRange",e,n,r,a,i,l,s);const c=v(a),u=c||v(i),d=u||v(l),p=d;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(i=0),l=0,">"===r?(r=">=",u?(a=+a+1,i=0,l=0):(i=+i+1,l=0)):"<="===r&&(r="<",u?a=+a+1:i=+i+1),"<"===r&&(s="-0"),n="".concat(r+a,".").concat(i,".").concat(l).concat(s)):u?n=">=".concat(a,".0.0").concat(s," <").concat(+a+1,".0.0-0"):d&&(n=">=".concat(a,".").concat(i,".0").concat(s," <").concat(a,".").concat(+i+1,".0-0")),o("xRange return",n),n}))},C=(e,t)=>(o("replaceStars",e,t),e.trim().replace(i[l.STAR],"")),k=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(i[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),R=e=>(t,n,r,o,a,i,l,s,c,u,d,p,f)=>(n=v(r)?"":v(o)?">=".concat(r,".0.0").concat(e?"-0":""):v(a)?">=".concat(r,".").concat(o,".0").concat(e?"-0":""):i?">=".concat(n):">=".concat(n).concat(e?"-0":""),s=v(c)?"":v(u)?"<".concat(+c+1,".0.0-0"):v(d)?"<".concat(c,".").concat(+u+1,".0-0"):p?"<=".concat(c,".").concat(u,".").concat(d,"-").concat(p):e?"<".concat(c,".").concat(u,".").concat(+d+1,"-0"):"<=".concat(s),"".concat(n," ").concat(s).trim()),L=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(o(e[n].semver),e[n].semver!==r.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return AM}function HM(){if(BM)return FM;BM=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,o){if(o=n(o),r instanceof t){if(r.loose===!!o.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),i("comparator",r,o),this.options=o,this.loose=!!o.loose,this.parse(r),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(t){const n=this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR],a=t.match(n);if(!a)throw new TypeError("Invalid comparator: ".concat(t));this.operator=void 0!==a[1]?a[1]:"","="===this.operator&&(this.operator=""),a[2]?this.semver=new l(a[2],this.options.loose):this.semver=e}toString(){return this.value}test(t){if(i("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new l(t,this.options)}catch(e){return!1}return a(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new s(e.value,r).test(this.value):""===e.operator?""===e.value||new s(this.value,r).test(e.semver):(!(r=n(r)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(a(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(a(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}FM=t;const n=eN,{safeRe:r,t:o}=Q_,a=iM,i=X_,l=dN,s=$M();return FM}const UM=$M();var VM=(e,t,n)=>{try{t=new UM(t,n)}catch(e){return!1}return t.test(e)};const GM=$M();var KM=(e,t)=>new GM(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));const ZM=dN,XM=$M();var QM=(e,t,n)=>{let r=null,o=null,a=null;try{a=new XM(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(r&&-1!==o.compare(e)||(r=e,o=new ZM(r,n)))})),r};const JM=dN,YM=$M();var eq=(e,t,n)=>{let r=null,o=null,a=null;try{a=new YM(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(r&&1!==o.compare(e)||(r=e,o=new JM(r,n)))})),r};const tq=dN,nq=$M(),rq=$N;var oq=(e,t)=>{e=new nq(e,t);let n=new tq("0.0.0");if(e.test(n))return n;if(n=new tq("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const r=e.set[t];let o=null;r.forEach((e=>{const t=new tq(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!rq(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: ".concat(e.operator))}})),!o||n&&!rq(n,o)||(n=o)}return n&&e.test(n)?n:null};const aq=$M();var iq=(e,t)=>{try{return new aq(e,t).range||"*"}catch(e){return null}};const lq=dN,sq=HM(),{ANY:cq}=sq,uq=$M(),dq=VM,pq=$N,fq=UN,hq=YN,mq=QN;var gq=(e,t,n,r)=>{let o,a,i,l,s;switch(e=new lq(e,r),t=new uq(t,r),n){case">":o=pq,a=hq,i=fq,l=">",s=">=";break;case"<":o=fq,a=mq,i=pq,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(dq(e,t,r))return!1;for(let n=0;n<t.set.length;++n){const c=t.set[n];let u=null,d=null;if(c.forEach((e=>{e.semver===cq&&(e=new sq(">=0.0.0")),u=u||e,d=d||e,o(e.semver,u.semver,r)?u=e:i(e.semver,d.semver,r)&&(d=e)})),u.operator===l||u.operator===s)return!1;if((!d.operator||d.operator===l)&&a(e,d.semver))return!1;if(d.operator===s&&i(e,d.semver))return!1}return!0};const vq=gq;var bq=(e,t,n)=>vq(e,t,">",n);const yq=gq;var xq=(e,t,n)=>yq(e,t,"<",n);const Sq=$M();var wq=(e,t,n)=>(e=new Sq(e,n),t=new Sq(t,n),e.intersects(t,n));const Eq=VM,Cq=PN;const kq=$M(),Rq=HM(),{ANY:Lq}=Rq,Oq=VM,Iq=PN,Tq=[new Rq(">=0.0.0-0")],Pq=[new Rq(">=0.0.0")],_q=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===Lq){if(1===t.length&&t[0].semver===Lq)return!0;e=n.includePrerelease?Tq:Pq}if(1===t.length&&t[0].semver===Lq){if(n.includePrerelease)return!0;t=Pq}const r=new Set;let o,a,i,l,s,c,u;for(const t of e)">"===t.operator||">="===t.operator?o=Nq(o,t,n):"<"===t.operator||"<="===t.operator?a=Mq(a,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&a){if(i=Iq(o.semver,a.semver,n),i>0)return null;if(0===i&&(">="!==o.operator||"<="!==a.operator))return null}for(const e of r){if(o&&!Oq(e,String(o),n))return null;if(a&&!Oq(e,String(a),n))return null;for(const r of t)if(!Oq(e,String(r),n))return!1;return!0}let d=!(!a||n.includePrerelease||!a.semver.prerelease.length)&&a.semver,p=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;d&&1===d.prerelease.length&&"<"===a.operator&&0===d.prerelease[0]&&(d=!1);for(const e of t){if(u=u||">"===e.operator||">="===e.operator,c=c||"<"===e.operator||"<="===e.operator,o)if(p&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===p.major&&e.semver.minor===p.minor&&e.semver.patch===p.patch&&(p=!1),">"===e.operator||">="===e.operator){if(l=Nq(o,e,n),l===e&&l!==o)return!1}else if(">="===o.operator&&!Oq(o.semver,String(e),n))return!1;if(a)if(d&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===d.major&&e.semver.minor===d.minor&&e.semver.patch===d.patch&&(d=!1),"<"===e.operator||"<="===e.operator){if(s=Mq(a,e,n),s===e&&s!==a)return!1}else if("<="===a.operator&&!Oq(a.semver,String(e),n))return!1;if(!e.operator&&(a||o)&&0!==i)return!1}return!(o&&c&&!a&&0!==i)&&(!(a&&u&&!o&&0!==i)&&(!p&&!d))},Nq=(e,t,n)=>{if(!e)return t;const r=Iq(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},Mq=(e,t,n)=>{if(!e)return t;const r=Iq(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};var qq=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;e=new kq(e,n),t=new kq(t,n);let r=!1;e:for(const o of e.set){for(const e of t.set){const t=_q(o,e,n);if(r=r||null!==t,t)continue e}if(r)return!1}return!0};const zq=Q_,Dq=K_,Aq=dN,jq=rN,Fq=(e,t,n)=>{const r=[];let o=null,a=null;const i=e.sort(((e,t)=>Cq(e,t,n)));for(const e of i){Eq(e,t,n)?(a=e,o||(o=e)):(a&&r.push([o,a]),a=null,o=null)}o&&r.push([o,null]);const l=[];for(const[e,t]of r)e===t?l.push(e):t||e!==i[0]?t?e===i[0]?l.push("<=".concat(t)):l.push("".concat(e," - ").concat(t)):l.push(">=".concat(e)):l.push("*");const s=l.join(" || "),c="string"==typeof t.raw?t.raw:String(t);return s.length<c.length?s:t};var Bq={parse:fN,valid:mN,clean:vN,inc:yN,diff:SN,major:EN,minor:kN,patch:LN,prerelease:IN,compare:PN,rcompare:NN,compareLoose:qN,compareBuild:DN,sort:jN,rsort:BN,gt:$N,lt:UN,eq:GN,neq:ZN,gte:QN,lte:YN,cmp:iM,coerce:fM,Comparator:HM(),Range:$M(),satisfies:VM,toComparators:KM,maxSatisfying:QM,minSatisfying:eq,minVersion:oq,validRange:iq,outside:gq,gtr:bq,ltr:xq,intersects:wq,simplifyRange:Fq,subset:qq,SemVer:Aq,re:zq.re,src:zq.src,tokens:zq.t,SEMVER_SPEC_VERSION:Dq.SEMVER_SPEC_VERSION,RELEASE_TYPES:Dq.RELEASE_TYPES,compareIdentifiers:jq.compareIdentifiers,rcompareIdentifiers:jq.rcompareIdentifiers};const Wq={};function $q(e,t){let n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:i}=o,l={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&i&&i.deps&&i.deps.properties)||Bq.satisfies(e,i.deps.properties),supernova:()=>async function(e,t,n,r){let{config:o}=n;const a="".concat(e,"__").concat(t);if(!Wq[a]){const n="".concat(e).concat(t&&" v".concat(t)||"");if(r&&"function"!=typeof r)throw new Error("load of visualization '".concat(n,"' is not a fuction, wrap load promise in function"));const i=(r||o.load)({name:e,version:t}),l=Promise.resolve(i);Wq[a]=l.then((e=>{if(!e)throw new Error("load() of visualization '".concat(n,"' resolved to an invalid object"));return e})).catch((e=>{throw new Error("Failed to load visualization: '".concat(n,"'"))}))}return Wq[a]}(l.name,l.version,t,o.load).then((e=>(n=n||V_(e,t.public.galaxy),r=JSON.stringify(n.qae.properties.initial),n))),initialProperties(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.supernova().then((()=>{const n=a({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(r));return t?($e(!0,n,e),n):a(a({},n),e)}))}};return l}function Hq(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,a)=>{if(n[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));n[o]=$q({name:e,version:o},t,a),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--){if(n[r[t]].supportsPropertiesVersion(e))return r[t]}return null},versions:n}}function Uq(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=Hq(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:(e,t)=>{if(r[e])return r[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:n}=e;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:()=>Object.keys(r).map((e=>({name:e,versions:Object.keys(r[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{r[e]&&(r[e]=void 0),function(e){Object.keys(Wq).forEach((t=>{t.split("__")[0]===e&&(Wq[t]=void 0)}))}(e)}}}const Vq={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()))},Gq={context:{},load:()=>{},types:[],themes:[],anything:{},snapshot:Vq};Gq.context={theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1};const Kq=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(a({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),e)},Zq=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))};var Xq=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=Z(t.context.language);function r(e,o){if(o)return r.createConfiguration(o)(e);let i=a(a({},t.context),{},{translator:n.translator});const[l]=function(e){let t,{app:n,context:r}=e;const o=new Promise((e=>{t=e})),a=U.createRef(),i=document.createElement("div");i.style.display="none",i.setAttribute("data-nebulajs-version","4.3.0"),i.setAttribute("data-app-id",n.id),document.body.appendChild(i),r&&TS(r),dt.createRoot(i).render(U.createElement(PS,{ref:a,app:n,initialContext:r,renderCallback:t}));const l={},s=[];return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,s.push(e),a.current.setComps(s)})()},remove(e){(async()=>{await o;const t=s.indexOf(e);-1!==t&&s.splice(t,1),a.current.setComps(s)})()},setMuiThemeName(e){(async()=>{await o,a.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,e&&TS(e),a.current.setContext(e)})()},getAppSelections:async()=>(await o,a.current.getAppSelections())},a,o]}({app:e,context:i}),s=function(){let{themes:e=[],loadTheme:t,root:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=lt();return{setTheme:async o=>{let a=e.filter((e=>e.id===o))[0],i="dark"===o?"dark":"light";if(!a&&t&&(a={load:t}),a&&a.load)try{const e=await Promise.race([a.load(o),st(ct,{__timedOut:!0})]);e.__timedOut||(i="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(i))}catch(e){}else r.internalAPI.setTheme({type:i},o),n.setMuiThemeName(i)},externalAPI:r.externalAPI}}({themes:t.themes,loadTheme:t.loadTheme,root:l});i.themeApi=s.externalAPI;const c={galaxy:{translator:n.translator,flags:n_(t.flags),deviceType:ut(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:n.translator,nebbie:null},u={app:e,root:l,config:t,public:c,context:i,types:null},d=Uq({halo:u});t.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(t.context.theme),f=null,h=null;const m={render:async e=>(await p,e.id?t_(e,u):async function(e,t){let{type:n,version:r,fields:o,properties:a,options:i,plugins:l,element:s,extendProperties:c}=e,u={};const d=[];let p;try{const e=t.types.get({name:n,version:r});u=await e.initialProperties(a,c);const i=await e.supernova();o&&await DT({sn:i,properties:u,fields:o,children:d},t),a&&i&&i.qae.properties.onChange&&i.qae.properties.onChange.call({},u)}catch(e){p=e,u={qInfo:{qType:n},visualization:n}}const f=await t.app.createSessionObject(u);d.length>0&&await f.setFullPropertyTree({qProperty:u,qChildren:d}),mR.set(f.id,f);const h=gR(f);return ZP(f,{options:i,plugins:l,element:s},t,p,(async()=>{await t.app.destroySessionObject(f.id),h()}))}(e,u)),create:async e=>XP(e,u,!1),generateProperties:async e=>XP(e,u,!0),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==i[n]&&(t||(t={}),t[n]=e[n])})),t&&(i=a(a(a({},i),t),{},{translator:n.translator}),t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(i))},selections:async()=>(f||(f={mount(t){h||(h=function(e){let{element:t,app:n}=e;return xp.createPortal(U.createElement(QI,{app:n}),t,XI())}({element:t,app:e}),l.add(h))},unmount(){h&&(l.remove(h),h=null)}}),f),field:async t=>{let n;const r="string"==typeof t?t:t.qLibraryId;if(t.qId)n=t.qId;else if(!r)throw new Error("Field identifier or object id must be provided");const o={fieldName:r,async mount(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!i)throw new Error("Element for ".concat(r||n," not provided"));if(this._instance)throw new Error("Field or object ".concat(r||n," already mounted"));const c=()=>o.emit("selectionActivated"),u=()=>o.emit("selectionDeactivated");return new Promise((r=>{this._instance=function(e){let{element:t,app:n,fieldIdentifier:r,qId:o,stateName:a="$",options:i={},renderedCallback:l}=e;return xp.createPortal(U.createElement(ET,{app:n,element:t,fieldIdentifier:r,qId:o,stateName:a,options:i,renderedCallback:l}),t,XI())}({element:i,app:e,fieldIdentifier:t,qId:n,options:wT(a({onSelectionActivated:c,onSelectionDeactivated:u},s)),stateName:s.stateName||"$",renderedCallback:r}),l.add(this._instance)}))},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return CI(o),o},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d,popover(t,n,r){m._popoverInstance&&(l.remove(m._popoverInstance),m._popoverInstance=null);const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=a({},CT);return $e(!0,t,e),t}(a({onPopoverClose:()=>m.emit("fieldPopoverClose")},r));m._popoverInstance=U.createElement(kT,{element:t,key:XI(),app:e,fieldIdentifier:n,options:o,stateName:r.stateName||"$"}),l.add(m._popoverInstance)}}};return u.public.nebbie=m,u.types=d,CI(m),m}return r.createConfiguration=n=>e(((e,t)=>({context:Kq(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:a({},t.snapshot||e.snapshot),types:Zq(e.types,t.types),themes:Zq(e.themes,t.themes),flags:Kq(e.flags,t.flags),anything:Kq(e.anything,t.anything)}))(t,n)),r.config=t,r}(Gq);function Qq(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}const Jq=globalThis.crypto||{getRandomValues:()=>123456};function Yq(){return e=>{const t=$e({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||"mock-".concat(([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^Jq.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))));const n=t._mock;let r=t;return n&&(delete t._mock,r=$e({},t,n)),Promise.resolve(a({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId},t))}}const ez=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},tz=function(e){let{defaultValue:t,async:n=!0,delay:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];const l=ez(e,{defaultValue:t,args:a});return n?new Promise((e=>{setTimeout((()=>e(l)),r)})):l}},nz=["id","session"],rz=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function oz(e){return!rz.includes(e)}function az(e){const t=ez(e.getLayout);return t.qInfo&&t.qInfo.qId}function iz(e,t){return e.reduce(((e,n)=>a(a({},e),function(e,t){let n=az(e);const{delay:r}=t,{id:o,session:i}=e,l=s(e,nz);if(o&&n&&o!==n)throw new Error("Generic object has multiple IDs, qInfo.qId: ".concat(n,", id: ").concat(o));return n=n||o||"object - ".concat(+Date.now()),{[n]:a(a({id:n,session:ez(i,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(l).reduce(((e,t)=>{let[n,o]=t;return a(a({},e),{},{[n]:tz(o,{async:oz(n),delay:r})})}),{})),{},{genericType:e.type})}}(n,t))),{})}function lz(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!az(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function sz(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(lz);const n=iz(e,t);return async e=>Promise.resolve(n[e])}function cz(){return()=>Promise.resolve({id:"app-layout"})}const uz={fromGenericObjects(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Qq,r=new Yq,o=new sz(e,t),a=new cz,i={id:"app - ".concat(+Date.now()),session:n,createSessionObject:r,getObject:o,getAppLayout:a};return Promise.resolve(i)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},dz={generator:V_,hook:L_,theme:lt,locale:G};e.EnigmaMocker=uz,e.__DO_NOT_USE__=dz,e.conversion=QT,e.embed=Xq,e.onContextMenu=function(e){const t=C_(++f_);t.value||(t.value=1,p_.__hooks.menus.push(t)),t.fn=e},e.onTakeSnapshot=function(e){const t=C_(++f_);t.value||(t.value=1,p_.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=O_({action(){n._config.action.call(null)}});return n.component||(n.component=p_,p_.__hooks.actions.list.push(n)),P_((()=>{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=k_("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return k_("appLayout")},e.useConstraints=function(){return k_("constraints")},e.useDeviceType=function(){return k_("deviceType")},e.useEffect=I_,e.useElement=__,e.useEmbed=function(){return k_("nebbie")},e.useEmitter=function(){return k_("emitter")},e.useGlobal=function(){const e=k_("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=C_(++f_);if(n.imperative||(n.imperative=!0),h_(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],p_.__hooks.imperativeHandle=r}},e.useInteractionState=function(){return k_("interactions")},e.useKeyboard=function(){const e=k_("keyboardNavigation"),t=k_("focusHandler");if(!p_.__hooks.accessibility.exitFunction){const e=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const n=this.__hooks.accessibility;n.enabled&&n.active&&(M_(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(p_);p_.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),N_(this))}.bind(p_);p_.__hooks.accessibility.focusFunction=n;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(p_);p_.__hooks.accessibility.focusSelectionFunction=r}const n=p_.__hooks.accessibility.focusFunction,r=p_.__hooks.accessibility.exitFunction,o=p_.__hooks.accessibility.focusSelectionFunction,[a,i]=O_({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return p_.__hooks.accessibility.setter=i,p_.__hooks.accessibility.enabled=e,I_((()=>i({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),a},e.useLayout=function(){return k_("layout")},e.useMemo=P_,e.useModel=function(){const e=k_("model");return e&&e.session?e:void 0},e.useOptions=function(){return k_("options")},e.usePlugins=function(){return k_("plugins")},e.usePromise=function(e,t){const[n,r]=O_((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=C_(++f_);return o.component||(o.component=p_),T_((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]},e.useRect=function(){const e=__(),t=p_.__hooks.resizer,[n,r]=O_((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),T_((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:a}=e.getBoundingClientRect(),i=t.current;i.width===o&&i.height===a&&i.left===n&&i.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:a})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n},e.useRenderState=function(){C_(++f_);const e=p_.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return k_("selections")},e.useStaleLayout=function(){const e=k_("layout"),[t]=O_({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=O_,e.useTheme=function(){return k_("theme")},e.useTranslator=function(){return k_("translator")}}));
|
|
133
|
+
`),bE))),wE=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,size:a=40,style:l,thickness:s=3.6,value:c=0,variant:u="indeterminate"}=n,d=Rf(n,uE),p=Lf({},n,{color:o,disableShrink:i,size:a,thickness:s,value:c,variant:u}),f=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e;return yf({root:["root",n,`color${Vp(r)}`],svg:["svg"],circle:["circle",`circle${Vp(n)}`,o&&"circleDisableShrink"]},cE,t)})(p),h={},m={},g={};if("determinate"===u){const e=2*Math.PI*((gE-s)/2);h.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),h.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return Om.jsx(yE,Lf({className:Vg(f.root,r),style:Lf({width:a,height:a},m,l),ownerState:p,ref:t,role:"progressbar"},g,d,{children:Om.jsx(xE,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:Om.jsx(SE,{className:f.circle,style:h,ownerState:p,cx:gE,cy:gE,r:(gE-s)/2,fill:"none",strokeWidth:s})})}))}));var EE=wE;const CE=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],kE=ib("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>Lf({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),LE=ib(Mw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),RE=H.forwardRef((function(e,t){var n,r,o,i,a,l;const s=rb({name:"MuiModal",props:e}),{BackdropComponent:c=LE,BackdropProps:u,classes:d,className:p,closeAfterTransition:f=!1,children:h,container:m,component:g,components:v={},componentsProps:b={},disableAutoFocus:y=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:S=!1,disablePortal:w=!1,disableRestoreFocus:E=!1,disableScrollLock:C=!1,hideBackdrop:k=!1,keepMounted:L=!1,onBackdropClick:R,onClose:O,open:I,slotProps:T,slots:P,theme:_}=s,N=Rf(s,CE),[M,q]=H.useState(!0),z={container:m,closeAfterTransition:f,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:S,disablePortal:w,disableRestoreFocus:E,disableScrollLock:C,hideBackdrop:k,keepMounted:L,onBackdropClick:R,onClose:O,open:I},D=Lf({},s,z,{exited:M}),A=null!=(n=null!=(r=null==P?void 0:P.root)?r:v.Root)?n:kE,j=null!=(o=null!=(i=null==P?void 0:P.backdrop)?i:v.Backdrop)?o:c,F=null!=(a=null==T?void 0:T.root)?a:b.root,B=null!=(l=null==T?void 0:T.backdrop)?l:b.backdrop;return Om.jsx(YS,Lf({slots:{root:A,backdrop:j},slotProps:{root:()=>Lf({},ux(F,D),!ix(A)&&{as:g,theme:_},{className:Vg(p,null==F?void 0:F.className,null==d?void 0:d.root,!D.open&&D.exited&&(null==d?void 0:d.hidden))}),backdrop:()=>Lf({},u,ux(B,D),{className:Vg(null==B?void 0:B.className,null==u?void 0:u.className,null==d?void 0:d.backdrop)})},onTransitionEnter:()=>q(!1),onTransitionExited:()=>q(!0),ref:t},N,z,{children:h}))}));var OE=RE;function IE(e){return Ef("MuiDivider",e)}var TE=Cf("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const PE=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],_E=ib("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>Lf({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:uv(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>Lf({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>Lf({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>Lf({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>Lf({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),NE=ib("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>Lf({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),ME=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:u=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=n,f=Rf(n,PE),h=Lf({},n,{absolute:r,component:a,flexItem:l,light:s,orientation:c,role:u,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return yf({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},IE,r)})(h);return Om.jsx(_E,Lf({as:a,className:Vg(m.root,i),role:u,ref:t,ownerState:h},f,{children:o?Om.jsx(NE,{className:m.wrapper,ownerState:h,children:o}):null}))}));ME.muiSkipListHighlight=!0;var qE=ME;const zE=function(e={}){const{createStyledComponent:t=Sv,useThemeProps:n=wv,componentName:r="MuiStack"}=e,o=t(Cv),i=H.forwardRef((function(e,t){const i=Hg(n(e)),{component:a="div",direction:l="column",spacing:s=0,divider:c,children:u,className:d,useFlexGap:p=!1}=i,f=Mm(i,yv),h={direction:l,spacing:s,useFlexGap:p},m=yf({root:["root"]},(e=>Ef(r,e)),{});return Om.jsx(o,Nm({as:a,ownerState:h,ref:t,className:Vg(m.root,d)},f,{children:c?Ev(u,c):u}))}));return i}({createStyledComponent:ib("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>rb({props:e,name:"MuiStack"})});var DE=zE;function AE(e){return Ef("MuiFormControlLabel",e)}var jE=Cf("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);const FE=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],BE=ib("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${jE.label}`]:t.label},t.root,t[`labelPlacement${Vp(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>Lf({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${jE.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${jE.label}`]:{[`&.${jE.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),WE=ib("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${jE.error}`]:{color:(e.vars||e).palette.error.main}}))),$E=H.forwardRef((function(e,t){var n,r;const o=rb({props:e,name:"MuiFormControlLabel"}),{className:i,componentsProps:a={},control:l,disabled:s,disableTypography:c,label:u,labelPlacement:d="end",required:p,slotProps:f={}}=o,h=Rf(o,FE),m=dw(),g=null!=(n=null!=s?s:l.props.disabled)?n:null==m?void 0:m.disabled,v=null!=p?p:l.props.required,b={disabled:g,required:v};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===l.props[e]&&void 0!==o[e]&&(b[e]=o[e])}));const y=cw({props:o,muiFormControl:m,states:["error"]}),x=Lf({},o,{disabled:g,labelPlacement:d,required:v,error:y.error}),S=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e;return yf({root:["root",n&&"disabled",`labelPlacement${Vp(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]},AE,t)})(x),w=null!=(r=f.typography)?r:a.typography;let E=u;return null==E||E.type===rx||c||(E=Om.jsx(rx,Lf({component:"span"},w,{className:Vg(S.label,null==w?void 0:w.className),children:E}))),Om.jsxs(BE,Lf({className:Vg(S.root,i),ownerState:x,ref:t},h,{children:[H.cloneElement(l,b),v?Om.jsxs(DE,{direction:"row",alignItems:"center",children:[E,Om.jsxs(WE,{ownerState:x,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):E]}))}));var HE=$E;var UE=H.createContext();function VE(e){return Ef("MuiGrid",e)}const GE=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],KE=Cf("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...GE.map((e=>`grid-xs-${e}`)),...GE.map((e=>`grid-sm-${e}`)),...GE.map((e=>`grid-md-${e}`)),...GE.map((e=>`grid-lg-${e}`)),...GE.map((e=>`grid-xl-${e}`))]),ZE=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function XE(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function QE({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const JE=ib("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:i,spacing:a,wrap:l,zeroMinWidth:s,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(a,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,i&&t.item,s&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==l&&t[`wrap-xs-${String(l)}`],...d]}})((({ownerState:e})=>Lf({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){return Wm({theme:e},Um({values:t.direction,breakpoints:e.breakpoints.values}),(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${KE.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=Um({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=QE({breakpoints:e.breakpoints.values,values:t})),o=Wm({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{marginTop:`-${XE(i)}`,[`& > .${KE.item}`]:{paddingTop:XE(i)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${KE.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=Um({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=QE({breakpoints:e.breakpoints.values,values:t})),o=Wm({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{width:`calc(100% + ${XE(i)})`,marginLeft:`-${XE(i)}`,[`& > .${KE.item}`]:{paddingLeft:XE(i)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${KE.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let i={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=Um({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof a?a[o]:a;if(null==l)return r;const s=Math.round(n/l*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${s} + ${XE(n)})`;c={flexBasis:e,maxWidth:e}}}i=Lf({flexBasis:s,flexGrow:0,maxWidth:s},c)}return 0===e.breakpoints.values[o]?Object.assign(r,i):r[e.breakpoints.up(o)]=i,r}),{})}));const YE=e=>{const{classes:t,container:n,direction:r,item:o,spacing:i,wrap:a,zeroMinWidth:l,breakpoints:s}=e;let c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(i,s));const u=[];s.forEach((t=>{const n=e[t];n&&u.push(`grid-${t}-${String(n)}`)}));return yf({root:["root",n&&"container",o&&"item",l&&"zeroMinWidth",...c,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...u]},VE,t)},eC=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiGrid"}),{breakpoints:r}=nb(),o=Hg(n),{className:i,columns:a,columnSpacing:l,component:s="div",container:c=!1,direction:u="row",item:d=!1,rowSpacing:p,spacing:f=0,wrap:h="wrap",zeroMinWidth:m=!1}=o,g=Rf(o,ZE),v=p||f,b=l||f,y=H.useContext(UE),x=c?a||12:y,S={},w=Lf({},g);r.keys.forEach((e=>{null!=g[e]&&(S[e]=g[e],delete w[e])}));const E=Lf({},o,{columns:x,container:c,direction:u,item:d,rowSpacing:v,columnSpacing:b,wrap:h,zeroMinWidth:m,spacing:f},S,{breakpoints:r.keys}),C=YE(E);return Om.jsx(UE.Provider,{value:x,children:Om.jsx(JE,Lf({ownerState:E,className:Vg(C.root,i),as:s,ref:t},w))})}));var tC=eC;const nC=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function rC(e){return`scale(${e}, ${e**2})`}const oC={entering:{opacity:1,transform:rC(1)},entered:{opacity:1,transform:"none"}},iC="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),aC=H.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:c,onExit:u,onExited:d,onExiting:p,style:f,timeout:h="auto",TransitionComponent:m=wb}=e,g=Rf(e,nC),v=H.useRef(),b=H.useRef(),y=nb(),x=H.useRef(null),S=af(x,o.ref,t),w=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=w(c),C=w(((e,t)=>{Ay(e);const{duration:n,delay:r,easing:o}=jy({style:f,timeout:h,easing:i},{mode:"enter"});let a;"auto"===h?(a=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=a):a=n,e.style.transition=[y.transitions.create("opacity",{duration:a,delay:r}),y.transitions.create("transform",{duration:iC?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),k=w(s),L=w(p),R=w((e=>{const{duration:t,delay:n,easing:r}=jy({style:f,timeout:h,easing:i},{mode:"exit"});let o;"auto"===h?(o=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=o):o=t,e.style.transition=[y.transitions.create("opacity",{duration:o,delay:n}),y.transitions.create("transform",{duration:iC?o:.666*o,delay:iC?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=rC(.75),u&&u(e)})),O=w(d);return H.useEffect((()=>()=>{clearTimeout(v.current)}),[]),Om.jsx(m,Lf({appear:r,in:a,nodeRef:x,onEnter:C,onEntered:k,onEntering:E,onExit:R,onExited:O,onExiting:L,addEndListener:e=>{"auto"===h&&(v.current=setTimeout(e,b.current||0)),n&&n(x.current,e)},timeout:"auto"===h?null:h},g,{children:(e,t)=>H.cloneElement(o,Lf({style:Lf({opacity:0,transform:rC(.75),visibility:"exited"!==e||a?void 0:"hidden"},oC[e],f,o.props.style),ref:S},t))}))}));aC.muiSupportAuto=!0;var lC=aC;function sC(e){return Ef("MuiIcon",e)}Cf("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const cC=["baseClassName","className","color","component","fontSize"],uC=ib("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Vp(n.color)}`],t[`fontSize${Vp(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[t.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[t.color]}))),dC=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiIcon"}),{baseClassName:r="material-icons",className:o,color:i="inherit",component:a="span",fontSize:l="medium"}=n,s=Rf(n,cC),c=Lf({},n,{baseClassName:r,color:i,component:a,fontSize:l}),u=(e=>{const{color:t,fontSize:n,classes:r}=e;return yf({root:["root","inherit"!==t&&`color${Vp(t)}`,`fontSize${Vp(n)}`]},sC,r)})(c);return Om.jsx(uC,Lf({as:a,className:Vg(r,"notranslate",u.root,o),ownerState:c,"aria-hidden":!0,ref:t},s))}));dC.muiName="Icon";var pC=dC;function fC(e){return Ef("MuiInputAdornment",e)}var hC,mC=Cf("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);const gC=["children","className","component","disablePointerEvents","disableTypography","position","variant"],vC=ib("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Vp(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>Lf({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${mC.positionStart}&:not(.${mC.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),bC=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:s,variant:c}=n,u=Rf(n,gC),d=dw()||{};let p=c;c&&d.variant,d&&!p&&(p=d.variant);const f=Lf({},n,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:a,position:s,variant:p}),h=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e;return yf({root:["root",n&&"disablePointerEvents",o&&`position${Vp(o)}`,a,r&&"hiddenLabel",i&&`size${Vp(i)}`]},fC,t)})(f);return Om.jsx(uw.Provider,{value:null,children:Om.jsx(vC,Lf({as:i,ownerState:f,className:Vg(h.root,o),ref:t},u,{children:"string"!=typeof r||l?Om.jsxs(H.Fragment,{children:["start"===s?hC||(hC=Om.jsx("span",{className:"notranslate",children:""})):null,r]}):Om.jsx(rx,{color:"text.secondary",children:r})}))})}));var yC=bC;var xC=H.createContext({});function SC(e){return Ef("MuiList",e)}Cf("MuiList",["root","padding","dense","subheader"]);const wC=["children","className","component","dense","disablePadding","subheader"],EC=ib("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>Lf({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),CC=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,c=Rf(n,wC),u=H.useMemo((()=>({dense:a})),[a]),d=Lf({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return yf({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},SC,t)})(d);return Om.jsx(xC.Provider,{value:u,children:Om.jsxs(EC,Lf({as:i,className:Vg(p.root,o),ref:t,ownerState:d},c,{children:[s,r]}))})}));var kC=CC;function LC(e){return Ef("MuiListItem",e)}var RC=Cf("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);var OC=Cf("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function IC(e){return Ef("MuiListItemSecondaryAction",e)}Cf("MuiListItemSecondaryAction",["root","disableGutters"]);const TC=["className"],PC=ib("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>Lf({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),_C=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=Rf(n,TC),i=Lf({},n,{disableGutters:H.useContext(xC).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return yf({root:["root",t&&"disableGutters"]},IC,n)})(i);return Om.jsx(PC,Lf({className:Vg(a.root,r),ownerState:i,ref:t},o))}));_C.muiName="ListItemSecondaryAction";var NC=_C;const MC=["className"],qC=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],zC=ib("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>Lf({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Lf({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${OC.root}`]:{paddingRight:48}},{[`&.${RC.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${RC.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:uv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${RC.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:uv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${RC.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${RC.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:uv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:uv(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),DC=ib("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),AC=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:i=!1,children:a,className:l,component:s,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:p}={},dense:f=!1,disabled:h=!1,disableGutters:m=!1,disablePadding:g=!1,divider:v=!1,focusVisibleClassName:b,secondaryAction:y,selected:x=!1,slotProps:S={},slots:w={}}=n,E=Rf(n.ContainerProps,MC),C=Rf(n,qC),k=H.useContext(xC),L=H.useMemo((()=>({dense:f||k.dense||!1,alignItems:r,disableGutters:m})),[r,k.dense,f,m]),R=H.useRef(null);Yp((()=>{o&&R.current&&R.current.focus()}),[o]);const O=H.Children.toArray(a),I=O.length&&Zp(O[O.length-1],["ListItemSecondaryAction"]),T=Lf({},n,{alignItems:r,autoFocus:o,button:i,dense:L.dense,disabled:h,disableGutters:m,disablePadding:g,divider:v,hasSecondaryAction:I,selected:x}),P=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:l,divider:s,hasSecondaryAction:c,selected:u}=e;return yf({root:["root",o&&"dense",!a&&"gutters",!l&&"padding",s&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},LC,r)})(T),_=af(R,t),N=w.root||c.Root||zC,M=S.root||u.root||{},q=Lf({className:Vg(P.root,M.className,l),disabled:h},C);let z=s||"li";return i&&(q.component=s||"div",q.focusVisibleClassName=Vg(RC.focusVisible,b),z=Zb),I?(z=q.component||s?z:"div","li"===d&&("li"===z?z="div":"li"===q.component&&(q.component="div")),Om.jsx(xC.Provider,{value:L,children:Om.jsxs(DC,Lf({as:d,className:Vg(P.container,p),ref:_,ownerState:T},E,{children:[Om.jsx(N,Lf({},M,!ix(N)&&{as:z,ownerState:Lf({},T,M.ownerState)},q,{children:O})),O.pop()]}))})):Om.jsx(xC.Provider,{value:L,children:Om.jsxs(N,Lf({},M,{as:z,ref:_},!ix(N)&&{ownerState:Lf({},T,M.ownerState)},q,{children:[O,y&&Om.jsx(NC,{children:y})]}))})}));var jC=AC;function FC(e){return Ef("MuiListItemIcon",e)}var BC=Cf("MuiListItemIcon",["root","alignItemsFlexStart"]);const WC=["className"],$C=ib("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>Lf({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),HC=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Rf(n,WC),i=Lf({},n,{alignItems:H.useContext(xC).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return yf({root:["root","flex-start"===t&&"alignItemsFlexStart"]},FC,n)})(i);return Om.jsx($C,Lf({className:Vg(a.root,r),ownerState:i,ref:t},o))}));var UC=HC;var VC=Cf("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const GC=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function KC(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function ZC(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function XC(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function QC(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&XC(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const JC=H.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:c,variant:u="selectedMenu"}=e,d=Rf(e,GC),p=H.useRef(null),f=H.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yp((()=>{r&&p.current.focus()}),[r]),H.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${gf(Xp(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const h=af(p,t);let m=-1;H.Children.forEach(i,((e,t)=>{H.isValidElement(e)?(e.props.disabled||("selectedMenu"===u&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const g=H.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===u&&(t.tabIndex=0),H.cloneElement(e,t)}return e}));return Om.jsx(kC,Lf({role:"menu",ref:h,className:a,onKeyDown:e=>{const t=p.current,n=e.key,r=Xp(t).activeElement;if("ArrowDown"===n)e.preventDefault(),QC(t,r,s,l,KC);else if("ArrowUp"===n)e.preventDefault(),QC(t,r,s,l,ZC);else if("Home"===n)e.preventDefault(),QC(t,null,s,l,KC);else if("End"===n)e.preventDefault(),QC(t,null,s,l,ZC);else if(1===n.length){const o=f.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&XC(r,o);o.previousKeyMatched&&(s||QC(t,r,!1,l,KC,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:r?0:-1},d,{children:g}))}));var YC=JC;function ek(e){return Ef("MuiPopover",e)}Cf("MuiPopover",["root","paper"]);const tk=["onEntering"],nk=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"],rk=["slotProps"];function ok(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function ik(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function ak(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function lk(e){return"function"==typeof e?e():e}const sk=ib(OE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ck=ib(Hy,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),uk=H.forwardRef((function(e,t){var n,r,o;const i=rb({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:u="anchorEl",children:d,className:p,container:f,elevation:h=8,marginThreshold:m=16,open:g,PaperProps:v={},slots:b,slotProps:y,transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:S=lC,transitionDuration:w="auto",TransitionProps:{onEntering:E}={}}=i,C=Rf(i.TransitionProps,tk),k=Rf(i,nk),L=null!=(n=null==y?void 0:y.paper)?n:v,R=H.useRef(),O=af(R,L.ref),I=Lf({},i,{anchorOrigin:s,anchorReference:u,elevation:h,marginThreshold:m,externalPaperSlotProps:L,transformOrigin:x,TransitionComponent:S,transitionDuration:w,TransitionProps:C}),T=(e=>{const{classes:t}=e;return yf({root:["root"],paper:["paper"]},ek,t)})(I),P=H.useCallback((()=>{if("anchorPosition"===u)return c;const e=lk(l),t=(e&&1===e.nodeType?e:Xp(R.current).body).getBoundingClientRect();return{top:t.top+ok(t,s.vertical),left:t.left+ik(t,s.horizontal)}}),[l,s.horizontal,s.vertical,c,u]),_=H.useCallback((e=>({vertical:ok(e,x.vertical),horizontal:ik(e,x.horizontal)})),[x.horizontal,x.vertical]),N=H.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=_(t);if("none"===u)return{top:null,left:null,transformOrigin:ak(n)};const r=P();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,c=Qp(lk(l)),d=c.innerHeight-m,p=c.innerWidth-m;if(o<m){const e=o-m;o-=e,n.vertical+=e}else if(a>d){const e=a-d;o-=e,n.vertical+=e}if(i<m){const e=i-m;i-=e,n.horizontal+=e}else if(s>p){const e=s-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:ak(n)}}),[l,u,P,_,m]),[M,q]=H.useState(g),z=H.useCallback((()=>{const e=R.current;if(!e)return;const t=N(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,q(!0)}),[N]);H.useEffect((()=>{g&&z()})),H.useImperativeHandle(a,(()=>g?{updatePosition:()=>{z()}}:null),[g,z]),H.useEffect((()=>{if(!g)return;const e=Kp((()=>{z()})),t=Qp(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,g,z]);let D=w;"auto"!==w||S.muiSupportAuto||(D=void 0);const A=f||(l?Xp(lk(l)).body:void 0),j=null!=(r=null==b?void 0:b.root)?r:sk,F=null!=(o=null==b?void 0:b.paper)?o:ck,B=mx({elementType:F,externalSlotProps:Lf({},L,{style:M?L.style:Lf({},L.style,{opacity:0})}),additionalProps:{elevation:h,ref:O},ownerState:I,className:Vg(T.paper,null==L?void 0:L.className)}),W=mx({elementType:j,externalSlotProps:(null==y?void 0:y.root)||{},externalForwardedProps:k,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:A,open:g},ownerState:I,className:Vg(T.root,p)}),{slotProps:$}=W,U=Rf(W,rk);return Om.jsx(j,Lf({},U,!ix(j)&&{slotProps:$},{children:Om.jsx(S,Lf({appear:!0,in:g,onEntering:(e,t)=>{E&&E(e,t),z()},onExited:()=>{q(!1)},timeout:D},C,{children:Om.jsx(F,Lf({},B,{children:d}))}))}))}));var dk=uk;function pk(e){return Ef("MuiMenuItem",e)}var fk=Cf("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const hk=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],mk=ib(Zb,{shouldForwardProp:e=>ob(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>Lf({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${fk.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:uv(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${fk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:uv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${fk.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:uv(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:uv(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${fk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${fk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${TE.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${TE.inset}`]:{marginLeft:52},[`& .${VC.root}`]:{marginTop:0,marginBottom:0},[`& .${VC.inset}`]:{paddingLeft:36},[`& .${BC.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Lf({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${BC.root} svg`]:{fontSize:"1.25rem"}})))),gk=H.forwardRef((function(e,t){const n=rb({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:c="menuitem",tabIndex:u,className:d}=n,p=Rf(n,hk),f=H.useContext(xC),h=H.useMemo((()=>({dense:i||f.dense||!1,disableGutters:l})),[f.dense,i,l]),m=H.useRef(null);Yp((()=>{r&&m.current&&m.current.focus()}),[r]);const g=Lf({},n,{dense:h.dense,divider:a,disableGutters:l}),v=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return Lf({},a,yf({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},pk,a))})(n),b=af(m,t);let y;return n.disabled||(y=void 0!==u?u:-1),Om.jsx(xC.Provider,{value:h,children:Om.jsx(mk,Lf({ref:b,role:c,tabIndex:y,component:o,focusVisibleClassName:Vg(v.focusVisible,s),className:Vg(v.root,d)},p,{ownerState:g,classes:v}))})}));var vk,bk=gk;const yk=["children","classes","className","label","notched"],xk=ib("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Sk=ib("legend")((({ownerState:e,theme:t})=>Lf({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Lf({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const wk=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Ek=ib(yw,{shouldForwardProp:e=>ob(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:vw})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Lf({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${kw.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${kw.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${kw.focused} .${kw.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${kw.error} .${kw.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${kw.disabled} .${kw.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Lf({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),Ck=ib((function(e){const{className:t,label:n,notched:r}=e,o=Rf(e,yk),i=null!=n&&""!==n,a=Lf({},e,{notched:r,withLabel:i});return Om.jsx(xk,Lf({"aria-hidden":!0,className:t,ownerState:a},o,{children:Om.jsx(Sk,{ownerState:a,children:i?Om.jsx("span",{children:n}):vk||(vk=Om.jsx("span",{className:"notranslate",children:""}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),kk=ib(xw,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:bw})((({theme:e,ownerState:t})=>Lf({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),Lk=H.forwardRef((function(e,t){var n,r,o,i,a;const l=rb({props:e,name:"MuiOutlinedInput"}),{components:s={},fullWidth:c=!1,inputComponent:u="input",label:d,multiline:p=!1,notched:f,slots:h={},type:m="text"}=l,g=Rf(l,wk),v=(e=>{const{classes:t}=e;return Lf({},t,yf({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Cw,t))})(l),b=dw(),y=cw({props:l,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x=Lf({},l,{color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:b,fullWidth:c,hiddenLabel:y.hiddenLabel,multiline:p,size:y.size,type:m}),S=null!=(n=null!=(r=h.root)?r:s.Root)?n:Ek,w=null!=(o=null!=(i=h.input)?i:s.Input)?o:kk;return Om.jsx(Ew,Lf({slots:{root:S,input:w},renderSuffix:e=>Om.jsx(Ck,{ownerState:x,className:v.notchedOutline,label:null!=d&&""!==d&&y.required?a||(a=Om.jsxs(H.Fragment,{children:[d," ","*"]})):d,notched:void 0!==f?f:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:c,inputComponent:u,multiline:p,ref:t,type:m},g,{classes:Lf({},v,{notchedOutline:null})}))}));Lk.muiName="Input";var Rk=Lk,Ok=qy(Om.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),Ik=qy(Om.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");const Tk=ib("span")({position:"relative",display:"flex"}),Pk=ib(Ok)({transform:"scale(1)"}),_k=ib(Ik)((({theme:e,ownerState:t})=>Lf({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));function Nk(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=Lf({},e,{checked:t});return Om.jsxs(Tk,{className:n.root,ownerState:o,children:[Om.jsx(Pk,{fontSize:r,className:n.background,ownerState:o}),Om.jsx(_k,{fontSize:r,className:n.dot,ownerState:o})]})}var Mk=H.createContext(void 0);function qk(e){return Ef("MuiRadio",e)}var zk=Cf("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary"]);const Dk=["checked","checkedIcon","color","icon","name","onChange","size","className"],Ak=ib(Xw,{shouldForwardProp:e=>ob(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Vp(n.color)}`]]}})((({theme:e,ownerState:t})=>Lf({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:uv("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${zk.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${zk.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const jk=Om.jsx(Nk,{checked:!0}),Fk=Om.jsx(Nk,{}),Bk=H.forwardRef((function(e,t){var n,r;const o=rb({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:a=jk,color:l="primary",icon:s=Fk,name:c,onChange:u,size:d="medium",className:p}=o,f=Rf(o,Dk),h=Lf({},o,{color:l,size:d}),m=(e=>{const{classes:t,color:n}=e;return Lf({},t,yf({root:["root",`color${Vp(n)}`]},qk,t))})(h),g=H.useContext(Mk);let v=i;const b=Gp(u,g&&g.onChange);let y=c;return g&&(void 0===v&&(v=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(g.value,o.value)),void 0===y&&(y=g.name)),Om.jsx(Ak,Lf({type:"radio",icon:H.cloneElement(s,{fontSize:null!=(n=Fk.props.fontSize)?n:d}),checkedIcon:H.cloneElement(a,{fontSize:null!=(r=jk.props.fontSize)?r:d}),ownerState:h,classes:m,name:y,checked:v,onChange:b,ref:t,className:Vg(m.root,p)},f))}));var Wk=Bk;function $k(e){return Ef("MuiTooltip",e)}var Hk=Cf("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const Uk=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const Vk=ib(sw,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>Lf({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Hk.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Hk.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Hk.arrow}`]:Lf({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Hk.arrow}`]:Lf({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Gk=ib("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Vp(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return Lf({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:uv(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${Hk.popper}[data-popper-placement*="left"] &`]:Lf({transformOrigin:"right center"},t.isRtl?Lf({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Lf({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Hk.popper}[data-popper-placement*="right"] &`]:Lf({transformOrigin:"left center"},t.isRtl?Lf({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Lf({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Hk.popper}[data-popper-placement*="top"] &`]:Lf({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Hk.popper}[data-popper-placement*="bottom"] &`]:Lf({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),Kk=ib("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:uv(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Zk=!1,Xk=null,Qk={x:0,y:0};function Jk(e,t){return n=>{t&&t(n),e(n)}}const Yk=H.forwardRef((function(e,t){var n,r,o,i,a,l,s,c,u,d,p,f,h,m,g,v,b,y,x;const S=rb({props:e,name:"MuiTooltip"}),{arrow:w=!1,children:E,components:C={},componentsProps:k={},describeChild:L=!1,disableFocusListener:R=!1,disableHoverListener:O=!1,disableInteractive:I=!1,disableTouchListener:T=!1,enterDelay:P=100,enterNextDelay:_=0,enterTouchDelay:N=700,followCursor:M=!1,id:q,leaveDelay:z=0,leaveTouchDelay:D=1500,onClose:A,onOpen:j,open:F,placement:B="bottom",PopperComponent:W,PopperProps:$={},slotProps:U={},slots:V={},title:G,TransitionComponent:K=lC,TransitionProps:Z}=S,X=Rf(S,Uk),Q=H.isValidElement(E)?E:Om.jsx("span",{children:E}),J=nb(),Y="rtl"===J.direction,[ee,te]=H.useState(),[ne,re]=H.useState(null),oe=H.useRef(!1),ie=I||M,ae=H.useRef(),le=H.useRef(),se=H.useRef(),ce=H.useRef(),[ue,de]=rf({controlled:F,default:!1,name:"Tooltip",state:"open"});let pe=ue;const fe=nf(q),he=H.useRef(),me=H.useCallback((()=>{void 0!==he.current&&(document.body.style.WebkitUserSelect=he.current,he.current=void 0),clearTimeout(ce.current)}),[]);H.useEffect((()=>()=>{clearTimeout(ae.current),clearTimeout(le.current),clearTimeout(se.current),me()}),[me]);const ge=e=>{clearTimeout(Xk),Zk=!0,de(!0),j&&!pe&&j(e)},ve=of((e=>{clearTimeout(Xk),Xk=setTimeout((()=>{Zk=!1}),800+z),de(!1),A&&pe&&A(e),clearTimeout(ae.current),ae.current=setTimeout((()=>{oe.current=!1}),J.transitions.duration.shortest)})),be=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),clearTimeout(le.current),clearTimeout(se.current),P||Zk&&_?le.current=setTimeout((()=>{ge(e)}),Zk?_:P):ge(e))},ye=e=>{clearTimeout(le.current),clearTimeout(se.current),se.current=setTimeout((()=>{ve(e)}),z)},{isFocusVisibleRef:xe,onBlur:Se,onFocus:we,ref:Ee}=mf(),[,Ce]=H.useState(!1),ke=e=>{Se(e),!1===xe.current&&(Ce(!1),ye(e))},Le=e=>{ee||te(e.currentTarget),we(e),!0===xe.current&&(Ce(!0),be(e))},Re=e=>{oe.current=!0;const t=Q.props;t.onTouchStart&&t.onTouchStart(e)},Oe=be,Ie=ye,Te=e=>{Re(e),clearTimeout(se.current),clearTimeout(ae.current),me(),he.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ce.current=setTimeout((()=>{document.body.style.WebkitUserSelect=he.current,be(e)}),N)},Pe=e=>{Q.props.onTouchEnd&&Q.props.onTouchEnd(e),me(),clearTimeout(se.current),se.current=setTimeout((()=>{ve(e)}),D)};H.useEffect((()=>{if(pe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ve(e)}}),[ve,pe]);const _e=af(Q.ref,Ee,te,t);G||0===G||(pe=!1);const Ne=H.useRef(),Me={},qe="string"==typeof G;L?(Me.title=pe||!qe||O?null:G,Me["aria-describedby"]=pe?fe:null):(Me["aria-label"]=qe?G:null,Me["aria-labelledby"]=pe&&!qe?fe:null);const ze=Lf({},Me,X,Q.props,{className:Vg(X.className,Q.props.className),onTouchStart:Re,ref:_e},M?{onMouseMove:e=>{const t=Q.props;t.onMouseMove&&t.onMouseMove(e),Qk={x:e.clientX,y:e.clientY},Ne.current&&Ne.current.update()}}:{}),De={};T||(ze.onTouchStart=Te,ze.onTouchEnd=Pe),O||(ze.onMouseOver=Jk(Oe,ze.onMouseOver),ze.onMouseLeave=Jk(Ie,ze.onMouseLeave),ie||(De.onMouseOver=Oe,De.onMouseLeave=Ie)),R||(ze.onFocus=Jk(Le,ze.onFocus),ze.onBlur=Jk(ke,ze.onBlur),ie||(De.onFocus=Le,De.onBlur=ke));const Ae=H.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(ne),options:{element:ne,padding:4}}];return null!=(e=$.popperOptions)&&e.modifiers&&(t=t.concat($.popperOptions.modifiers)),Lf({},$.popperOptions,{modifiers:t})}),[ne,$]),je=Lf({},S,{isRtl:Y,arrow:w,disableInteractive:ie,placement:B,PopperComponentProp:W,touch:oe.current}),Fe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return yf({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Vp(i.split("-")[0])}`],arrow:["arrow"]},$k,t)})(je),Be=null!=(n=null!=(r=V.popper)?r:C.Popper)?n:Vk,We=null!=(o=null!=(i=null!=(a=V.transition)?a:C.Transition)?i:K)?o:lC,$e=null!=(l=null!=(s=V.tooltip)?s:C.Tooltip)?l:Gk,He=null!=(c=null!=(u=V.arrow)?u:C.Arrow)?c:Kk,Ue=ax(Be,Lf({},$,null!=(d=U.popper)?d:k.popper,{className:Vg(Fe.popper,null==$?void 0:$.className,null==(p=null!=(f=U.popper)?f:k.popper)?void 0:p.className)}),je),Ve=ax(We,Lf({},Z,null!=(h=U.transition)?h:k.transition),je),Ge=ax($e,Lf({},null!=(m=U.tooltip)?m:k.tooltip,{className:Vg(Fe.tooltip,null==(g=null!=(v=U.tooltip)?v:k.tooltip)?void 0:g.className)}),je),Ke=ax(He,Lf({},null!=(b=U.arrow)?b:k.arrow,{className:Vg(Fe.arrow,null==(y=null!=(x=U.arrow)?x:k.arrow)?void 0:y.className)}),je);return Om.jsxs(H.Fragment,{children:[H.cloneElement(Q,ze),Om.jsx(Be,Lf({as:null!=W?W:sw,placement:B,anchorEl:M?{getBoundingClientRect:()=>({top:Qk.y,left:Qk.x,right:Qk.x,bottom:Qk.y,width:0,height:0})}:ee,popperRef:Ne,open:!!ee&&pe,id:fe,transition:!0},De,Ue,{popperOptions:Ae,children:({TransitionProps:e})=>Om.jsx(We,Lf({timeout:J.transitions.duration.shorter},e,Ve,{children:Om.jsxs($e,Lf({},Ge,{children:[G,w?Om.jsx(He,Lf({},Ke,{ref:re})):null]}))}))}))]})}));var eL=Yk;const[tL,nL]=yy({}),[rL,oL]=yy({}),[iL,aL]=yy({}),[lL,sL]=yy({}),[cL,uL]=yy({}),[,dL]=yy({}),pL=e=>{let{type:t,value:n}=e;const r=dL.get(n.id);dL.set(n.id,{});const o=()=>{oL.clear(n.id),uL.set(n.id,{}),uL.dispatch(!0)},i=()=>{n.removeListener("changed",o),nL.clear(n.id),oL.clear(n.id),aL.clear(n.id),sL.clear(n.id),uL.clear(n.id),dL.clear(n.id)};if("SET"===t)r||(n.on("changed",o),n.once("closed",(()=>{i()})));return i},[fL,hL]=yy({},pL),mL=e=>{const t=pL({type:"SET",value:e});return()=>{t(),hL.clear(e.id)}};function gL(e,t){const n=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,[r]=fL(),[o]=iL(),[i,a]=H.useState();let l;n&&(l=o.get(n));for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];return H.useEffect((()=>{if(!t)return;(async()=>{if(!l){const r=t.createSessionObject(e);l=r,o.set(n,l)}const i=await l;r.set(n,i),a(i)})()}),[t,...c]),[i]}const vL={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function bL(e){return gL(vL,e)}const yL=e=>new Promise((t=>{setTimeout(t,e)})),xL=(e,t)=>{const{rpcResultStore:n,key:r,method:o}=t;let a;switch(t.type){case"INVALID":a=i(i({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":a={result:i({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":a=i(i({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}let l=n.get(r);return l||(l={}),l[o]=a,n.set(r,l),a};function SL(e,t){const n=e?"".concat(e.id):null,[r]=tL(),[o,i]=H.useReducer(xL,n?r.get(n):null),[a]=cL(),[l]=rL();let s;n&&(s=l.get(n),s||(s={},l.set(n,s)));const c=async o=>{let a=s[t];if(!a||a&&a.rpcRetry){a={rpc:e[t](),rpcRetry:!1},s[t]=a,i({type:"INVALID",method:t,key:n,model:e,rpcResultStore:r,canCancel:!0})}try{await yL(0);const o=await a.rpc;i({type:"VALID",result:o,key:n,method:t,model:e,rpcResultStore:r})}catch(e){15!==e.code||o||(a.rpcRetry||(a.rpcRetry=!0),c(!0))}},u={cancel:async()=>{const o=e.session.getObjectApi({handle:-1});await o.cancelRequest(s[t].rpc.requestId),i({type:"CANCELLED",key:n,method:t,model:e,rpcResultStore:r})},retry:()=>{s[t].rpcRetry=!0,c()}};return H.useEffect((()=>{e&&c()}),[e,a.get(e&&e.id),n,t]),[o&&o.result,{validating:o&&o.validating,canCancel:o&&o.canCancel,canRetry:o&&o.canRetry},u]}function wL(e){return SL(e,"getLayout")}function EL(e){return SL(e,"getAppLayout")}function CL(){const[e,t]=H.useState(),[n,r]=H.useState(),o=H.useCallback((e=>{e&&t(e)}),[]),i=()=>{const{left:t,top:n,width:o,height:i}=e.getBoundingClientRect();r({left:t,top:n,width:o,height:i})};return H.useLayoutEffect((()=>{if(e){if("function"==typeof ResizeObserver){let t=new ResizeObserver(i);return t.observe(e),()=>{t.unobserve(e),t.disconnect(e),t=null}}return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}}}),[e]),[o,n,e]}function kL(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function LL(e){let{size:t,style:n={},viewBox:r="0 0 16 16",shapes:o=[]}=e;const a=i({fontSize:kL(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},n);return U.createElement("i",{style:a},U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},o.map(((e,t)=>{let{type:n,attrs:r}=e;return U.createElement(n,l({key:t},r))}))))}var RL=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]}))(e));var OL=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M8 10a1 1 0 0 1 .5 1.866v.634a.5.5 0 0 1-1 0v-.634A1 1 0 0 1 8 10ZM3.625 7.035A2 2 0 0 0 2 9v5a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V9a2 2 0 0 0-1.625-1.965V5.383a4.375 4.375 0 0 0-8.75 0v1.652ZM3 9a1 1 0 0 1 .931-.998h8.138A1 1 0 0 1 13 9v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9Zm8.375-3.617V7h-6.75V5.383a3.375 3.375 0 0 1 6.75 0Z"}}]}))(e));var IL=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]}))(e));var TL=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}}(),PL=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},_L=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=PL(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},PL(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),TL(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,i=n.minimumBatchSize,a=void 0===i?10:i,l=n.threshold,s=void 0===l?15:l,c=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,i=e.stopIndex,a=[],l=null,s=null,c=o;c<=i;c++)t(c)?null!==s&&(a.push(l,s),l=s=null):(s=c,null===l&&(l=c));if(null!==s){for(var u=Math.min(Math.max(s,l+r-1),n-1),d=s+1;d<=u&&!t(d);d++)s=d;a.push(l,s)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var p=a[0]-1;if(t(p))break;a[0]=p}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:a,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==c.length||this._memoizedUnloadedRanges.some((function(e,t){return c[t]!==e})))&&(this._memoizedUnloadedRanges=c,this._loadUnloadedRanges(c))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],i=e[r+1],a=n(o,i);null!=a&&a.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:i})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(H.PureComponent);const NL=["S","XS"],ML=e=>e.reduce(((e,t)=>e.concat(t)));function qL(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[t]=e;return n=t.qState,!!NL.includes(n)&&t.qElemNumber;var n}));return t.filter((e=>!1!==e))}));return ML(t)}async function zL(e){let{selections:t,elemNumbers:n,toggle:r,isSingleSelect:o}=e;if(0===n.length)return!1;let i=!1;if(!n.some((e=>Number.isNaN(e)))){const e=n;try{i=!1!==await t.select({method:"selectListObjectValues",params:["/qListObjectDef",e,r]})}catch(e){i=!1}i||(o?t.cancel():t.clear())}return i}const DL="RowColumn",AL={row:"".concat(DL,"-row"),rowBorderBottom:"".concat(DL,"-rowBorderBottom"),column:"".concat(DL,"-column"),fieldRoot:"".concat(DL,"-fieldRoot"),cell:"".concat(DL,"-cell"),labelText:"".concat(DL,"-labelText"),labelDense:"".concat(DL,"-labelDense"),highlighted:"".concat(DL,"-highlighted"),checkboxLabel:"".concat(DL,"-checkboxLabel"),icon:"".concat(DL,"-icon"),S:"".concat(DL,"-S"),XS:"".concat(DL,"-XS"),A:"".concat(DL,"-A"),X:"".concat(DL,"-X"),frequencyCount:"".concat(DL,"-frequencyCount"),barContainer:"".concat(DL,"-barContainer"),bar:"".concat(DL,"-bar"),barSelected:"".concat(DL,"-barSelected"),barWithCheckbox:"".concat(DL,"-barWithCheckbox"),barSelectedWithCheckbox:"".concat(DL,"-barSelectedWithCheckbox"),excludedTextWithCheckbox:"".concat(DL,"-excludedTextWithCheckbox")},jL=".".concat(AL.fieldRoot),FL=e=>!(null!=e&&e.metaKey||null!=e&&e.ctrlKey);function BL(e){var t;let{selectionState:n,selections:r,checkboxes:o=!1,doc:i=document,loaderRef:a}=e;const l=H.useRef({startElemNumber:void 0,elemNumbers:[],isRange:!1,toggle:!1,active:!1,touchElemNumbers:[],touchRangeSmall:!1});H.useEffect((()=>{var e;if(null===(e=a.current)||void 0===e||null===(e=e._listRef)||void 0===e||!e._outerRef)return;const t=e=>e.preventDefault(),n=e=>e.preventDefault(),r=e=>e.preventDefault(),o=a.current._listRef._outerRef;return o.addEventListener("gesturestart",t),o.addEventListener("gesturechange",n),o.addEventListener("gestureend",r),()=>{o.removeEventListener("gesturestart",t),o.removeEventListener("gesturechange",n),o.removeEventListener("gestureend",r)}}),[null===(t=a.current)||void 0===t||null===(t=t._listRef)||void 0===t?void 0:t._outerRef]);const s=()=>(n.setSelectableValuesUpdating(),zL({selections:r,elemNumbers:l.current.elemNumbers,isSingleSelect:n.isSingleSelect,toggle:l.current.toggle})),c=(e,t)=>{const r=function(e){if(!e||!e.length)return[];const t=e.map((e=>{const t=e.qMatrix.map((e=>{const[{qElemNumber:t}]=e;return t}));return t}));return ML(t)}(n.enginePages);return function(e,t){if(!e)return[];if(e.length<=1)return e;const{min:n,max:r}=function(e,t){let n=1/0,r=-1/0;return e.forEach((e=>{const o=t.indexOf(e);n=o<n?o:n,r=o>r?o:r})),{min:n,max:r}}(e,t);return t.slice(n,r+1)}([e,t],r)},u=e=>{const{startElemNumber:t}=l.current;if(t===e)return;const r=c(l.current.startElemNumber,e);n.updateItems(r,!0,l.current.elemNumbers)},d=H.useCallback((e=>{if(n.selectDisabled())return;const t=+e.target.getAttribute("data-n"),r=!n.isSingleSelect&&FL(e.nativeEvent);l.current.elemNumbers=[t],l.current.toggle=r,r||n.clearItemStates(!0),n.updateItem(t),l.current.active=!1,s()}),[]),p=H.useCallback((e=>{if(0!==e.button||n.selectDisabled())return;const t=+e.currentTarget.getAttribute("data-n"),r=!n.isSingleSelect&&FL(e);l.current.isRange=!1,l.current.startElemNumber=t,l.current.elemNumbers=[t],l.current.toggle=r,l.current.active=!0,r||n.clearItemStates(!0),n.updateItem(t),n.isSingleSelect&&(l.current.active=!1,s()),((e,t)=>{(e.ctrlKey||e.metaKey)&&(t.focus(),e.preventDefault())})(e,e.currentTarget)}),[]),f=H.useCallback((e=>{if(0===e.button&&l.current.active){if(l.current.active=!1,l.current.isRange){const t=+e.currentTarget.getAttribute("data-n");u(t)}s()}}),[]),h=H.useCallback((e=>{0===e.button&&l.current.active&&(l.current.active=!1,s())}),[]),m=H.useCallback((e=>{if(!l.current.active)return;l.current.isRange||(l.current.isRange=!0,n.isSelected(l.current.startElemNumber)||(n.updateItem(l.current.startElemNumber,!0),l.current.elemNumbers=[]));const t=+e.currentTarget.getAttribute("data-n");u(t)}),[]),g=H.useCallback((e=>{var t,r;if(l.current.active||l.current.isRange||n.isSingleSelect||e.touches.length<=1)return;if(e.touches.length>2)return void s();const o=Number(null===(t=e.touches[0].target)||void 0===t||null===(t=t.closest(jL))||void 0===t?void 0:t.getAttribute("data-n")),i=Number(null===(r=e.touches[1].target)||void 0===r||null===(r=r.closest(jL))||void 0===r?void 0:r.getAttribute("data-n"));if(Number.isNaN(o)||Number.isNaN(o))return void s();l.current.active=!0;c(o,i).length<7&&(l.current.touchRangeSmall=!0),l.current.elemNumbers=[],l.current.touchElemNumbers=[o,i]}),[]),v=H.useCallback((()=>{if(2!==l.current.touchElemNumbers.length)return;if(l.current.touchRangeSmall)return l.current.touchRangeSmall=!1,l.current.touchElemNumbers=[],void(l.current.active=!1);const[e,t]=l.current.touchElemNumbers;l.current.startElemNumber=e,u(t),l.current.touchElemNumbers=[],l.current.active=!1,l.current.toggle=!0,s()}),[]);H.useEffect((()=>(i.addEventListener("mouseup",h),()=>{i.removeEventListener("mouseup",h)})),[h]),H.useEffect((()=>{const e=()=>{n.clearItemStates(!1)},t=()=>{n.clearItemStates(!0),n.triggerStateChanged()};return r.on("clearItemStates",e),r.on("deactivated",e),r.on("cleared",t),()=>{r.removeListener("clearItemStates",e),r.removeListener("deactivated",e),r.removeListener("cleared",t)}}),[r]);const b={};return o?Object.assign(b,{onChange:d}):Object.assign(b,{onMouseUp:f,onMouseDown:p,onMouseEnter:m,onTouchStart:g,onTouchEnd:v}),{interactionEvents:b,select:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const i=!n.isSingleSelect&&FL(null==o?void 0:o.nativeEvent);i||n.clearItemStates(!0);const a=[];return n.updateItems(e,t,a),n.setSelectableValuesUpdating(),zL({selections:r,elemNumbers:t?a:e,isSingleSelect:n.isSingleSelect,toggle:i})}}}const WL=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]});var $L=e=>LL(WL(e));const HL=e=>e?"X"===e.qState||"XS"===e.qState||"XL"===e.qState:null,UL=e=>e?"A"===e.qState:null,VL=e=>{let{cell:t,checkboxes:n}=e;return(UL(t)||HL(t))&&n},GL=e=>{let{column:t,histogram:n,checkboxes:r,cell:o,showGray:i}=e;const a=[t?AL.column:AL.row];return n||a.push(AL.rowBorderBottom),o?(r||("XS"===o.qState?a.push(i?AL.XS:AL.S):"S"===o.qState||"L"===o.qState?a.push(AL.S):i&&UL(o)?a.push(AL.A):i&&HL(o)&&a.push(AL.X)),a):[]},KL=9,ZL=80,XL=10,QL=150,JL=56,YL=20,eR="-",tR=e=>e.filter((e=>!!e)).join(" ").trim(),nR=e=>{let{qFrequency:t,frequencyMax:n}=e;const r=String(t),o="%"===r.substring(r.length-1),i=parseFloat(o?r:t);return"".concat(o?i:i/n*100,"%")},rR=e=>e||eR,oR=e=>{let{sizes:t,frequencyMode:n,isGridMode:r,freqHitsValue:o}=e;if("P"===n)return"".concat(t.freqMinWidth,"px");return r&&!o?"max-content":"25%"},iR=e=>{let{sizes:t,frequencyMode:n,isGridMode:r}=e;return r?"max-content":"P"===n?t.freqMinWidth:t.freqMaxWidth},aR=e=>{let{theme:t}=e;return{background:t.palette.selected.main,color:t.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(t.palette.custom.focusBorder),outline:"none"},"& $cell":{paddingRight:0}}},lR={width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},sR=ib("div",{shouldForwardProp:e=>!["checkboxes","isGridMode","isGridCol","dense","direction","sizes","frequencyMode","freqHitsValue"].includes(e)})((e=>{var t,n,r,o,a,l;let{theme:s,checkboxes:c,isGridMode:u,isGridCol:d,dense:p,direction:f,sizes:h,frequencyMode:m,freqHitsValue:g}=e;return{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(s.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"},"& .value":{"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(s.palette.custom.focusBorder," !important")},"&:focus-visible":{outline:"none"}},["& .".concat(AL.row)]:{flexWrap:"nowrap",color:null!==(t=null===(n=s.listBox)||void 0===n||null===(n=n.content)||void 0===n?void 0:n.color)&&void 0!==t?t:s.palette.text.primary},["& .".concat(AL.rowBorderBottom)]:{borderBottom:d?"none":"1px solid ".concat(s.palette.divider),borderLeft:d?"1px solid ".concat(s.palette.divider):"none"},["& .".concat(AL.column)]:{flexWrap:"nowrap",borderRight:"1px solid ".concat(s.palette.divider),color:null!==(r=null===(o=s.listBox)||void 0===o||null===(o=o.content)||void 0===o?void 0:o.color)&&void 0!==r?r:s.palette.text.primary},["& .".concat(AL.cell)]:{display:"flex",alignItems:"center",flexGrow:1,minWidth:c?"52px":"26px",flexBasis:c?"auto":"max-content",paddingLeft:"".concat(KL,"px"),paddingRight:0},["& .".concat(AL.labelText)]:i(i({lineHeight:"16px",userSelect:"none",paddingRight:"1px"},lR),{},{fontSize:null===(a=s.listBox)||void 0===a||null===(a=a.content)||void 0===a?void 0:a.fontSize,fontFamily:null===(l=s.listBox)||void 0===l||null===(l=l.content)||void 0===l?void 0:l.fontFamily}),["& .".concat(AL.labelDense)]:{fontSize:12},["& .".concat(AL.highlighted)]:{backgroundColor:"#FFC72A"},["& .".concat(AL.checkboxLabel)]:{margin:0,width:"100%",height:"100%",overflow:"hidden","& > span:nth-of-type(1)":{paddingRight:"8px"},"& > span:nth-of-type(2)":i(i({},lR),{},{display:"flex",alignItems:"center",paddingLeft:0,paddingRight:"2px"})},["& .".concat(AL.icon)]:{display:"flex",justifyContent:"center",width:24,minWidth:24,maxWidth:24},["& .".concat(AL.S)]:i(i({},aR({theme:s})),{},{border:u?"none":void 0}),["& .".concat(AL.XS)]:i(i({},aR({theme:s})),{},{background:s.palette.selected.excluded,color:s.palette.selected.excludedContrastText,border:u?"none":void 0}),["& .".concat(AL.A)]:{background:s.palette.selected.alternative,color:s.palette.selected.alternativeContrastText,border:u?"none":void 0},["& .".concat(AL.X)]:{background:s.palette.selected.excluded,color:s.palette.selected.excludedContrastText,border:u?"none":void 0},["& .".concat(AL.frequencyCount)]:i(i({justifyContent:"flex-end"},lR),{},{flex:"0 0 ".concat(oR({sizes:h,frequencyMode:m,isGridMode:u,freqHitsValue:g})),minWidth:!u&&"P"!==m&&g?h.freqMinWidth:"max-content",maxWidth:iR({sizes:h,frequencyMode:m,isGridMode:u}),textAlign:"rtl"===f?"left":"right",paddingLeft:"rtl"!==f?"8px":0}),["&.".concat(AL.barContainer)]:{height:"100%",display:"flex",alignItems:"center"},["& .".concat(AL.bar)]:{height:p?"16px":"20px",position:"absolute",zIndex:"-1",alignSelf:"center",left:4,width:"calc(100% - ".concat(8,"px)"),display:"flex",alignItems:"center","& .bar-filled":{border:"".concat(1,"px solid"),borderColor:"#D9D9D9",transition:"width 0.2s",backgroundColor:"#FAFAFA",height:"100%"}},["& .".concat(AL.barSelected)]:{zIndex:"0","& .bar-filled":{opacity:"30%",background:s.palette.background.lighter}},["& .".concat(AL.barWithCheckbox)]:{left:"rtl"===f?4:29,width:"calc(100% - ".concat(33,"px)")},["& .".concat(AL.barSelectedWithCheckbox)]:{"& .bar-filled":{background:"#BFE5D0",borderColor:"#BFE5D0"}},["& .".concat(AL.excludedTextWithCheckbox)]:{color:"#828282",fontStyle:"italic"}}}));var cR=U.memo(sR);const uR="ListBoxCheckbox",dR={cbIcon:"".concat(uR,"-cbIcon"),cbIconChecked:"".concat(uR,"-cbIconChecked"),cbIconExcluded:"".concat(uR,"-cbIconExcluded"),cbIconAlternative:"".concat(uR,"-cbIconAlternative"),checkbox:"".concat(uR,"-checkbox"),dense:"".concat(uR,"-dense")},pR=ib(sE)((e=>{let{theme:t}=e;return{["& .".concat(dR.cbIcon)]:{borderRadius:3,width:16,height:16,boxShadow:"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:"#f5f8fa",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",display:"flex",alignItems:"center",justifyContent:"center"},["& .".concat(dR.cbIconChecked)]:{borderRadius:3,backgroundColor:t.palette.selected.main,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&:before":{display:"block",width:16,height:16,backgroundImage:"url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E\")",content:'""'}},["& .".concat(dR.cbIconExcluded)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.excluded},["& .".concat(dR.cbIconAlternative)]:{borderRadius:2,width:12,height:12,backgroundColor:t.palette.selected.alternative},["&.".concat(dR.checkbox)]:{margin:0,"&:hover":{backgroundColor:"inherit !important"}},["&.".concat(dR.dense)]:{padding:"4px 8px"}}})),fR=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return U.createElement("span",{className:e.cbIcon},n&&U.createElement("span",{className:t&&n?e.cbIconExcluded:""}))};function hR(e){let{onChange:t,checked:n,label:r,dense:o,excluded:i,showGray:a=!0,dataN:l}=e;return U.createElement(pR,{edge:"start",onChange:t,checked:n,disableRipple:!0,className:[dR.checkbox,o&&dR.dense].filter(Boolean).join(" "),inputProps:{"aria-labelledby":r,"data-n":l},name:r,icon:fR(dR,a,i),checkedIcon:U.createElement("span",{className:dR.cbIconChecked})})}const mR="ListBoxRadioButton",gR={denseRadioButton:"".concat(mR,"-denseRadioButton"),radioButton:"".concat(mR,"-radioButton")},vR=ib(Wk)((e=>{let{theme:t,checked:n}=e;return{["&.".concat(gR.radioButton)]:{right:"5px",color:n?t.palette.selected.main:t.palette.main}}}));function bR(e){let{onChange:t,checked:n,label:r,dense:o,dataN:i}=e;return U.createElement(vR,{checked:n,onChange:t,value:r,name:r,className:gR.radioButton,inputProps:{"data-n":i},style:{backgroundColor:"transparent"},disableRipple:!0,size:o?"small":"medium",sx:o&&{padding:"0px 0px 0px 12px"}})}function yR(e){let{label:t,color:n,dense:r,showGray:o=!0,checkboxes:i,cell:a,valueTextAlign:l}=e;return U.createElement(rx,{component:"span",variant:"body2",className:tR([AL.labelText,r&&AL.labelDense,o&&VL({cell:a,checkboxes:i})&&AL.excludedTextWithCheckbox]),color:n,align:l,dir:"auto"},U.createElement("span",null,t))}function xR(e){let{label:t,color:n,dense:r,showGray:o,checkboxes:i,cell:a,valueTextAlign:l}=e;return"string"==typeof t?U.createElement(yR,{label:t,color:n,dense:r,showGray:o,checkboxes:i,cell:a,valueTextAlign:l}):t}function SR(e){let{onChange:t,label:n,color:r,qElemNumber:o,isSelected:i,dense:a,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:p}=e;const f=U.createElement(hR,{onChange:t,label:n,checked:i,dense:a,excluded:HL(l),isGridCol:s,showGray:c,dataN:o}),h=U.createElement(bR,{onChange:t,label:n,checked:i,dense:a,dataN:o});return U.createElement(HE,{color:r,control:u?h:f,className:AL.checkboxLabel,label:U.createElement(xR,{label:n,color:r,dense:a,showGray:c,checkboxes:d,cell:l,valueTextAlign:p}),key:o})}function wR(e){let{labels:t,dense:n,showGray:r,checkboxes:o}=e;const i=t.map(((e,t)=>{let[n,r]=e;return U.createElement("span",{id:t,className:r?AL.highlighted:""},n)}));return U.createElement(yR,{label:i,dense:n,showGray:r,checkboxes:o})}function ER(e){let{onChange:t,labels:n,checkboxes:r,dense:o,showGray:i,color:a,qElemNumber:l,isSelected:s,cell:c,isGridCol:u,isSingleSelect:d,valueTextAlign:p}=e;const f=U.createElement(wR,{labels:n,dense:o,showGray:i,checkboxes:r});return r?U.createElement(SR,{onChange:t,label:f,color:a,qElemNumber:l,isSelected:s,dense:o,cell:c,isGridCol:u,showGray:i,isSingleSelect:d,checkboxes:r,valueTextAlign:p}):f}var CR=U.memo((function(e){let{onChange:t,label:n,color:r,qElemNumber:o,isSelected:i,dense:a,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:p}=e;return d?U.createElement(SR,{onChange:t,label:n,color:r,qElemNumber:o,isSelected:i,dense:a,cell:l,isGridCol:s,showGray:c,isSingleSelect:u,checkboxes:d,valueTextAlign:p}):U.createElement(yR,{label:n,color:r,dense:a,showGray:!0,checkboxes:d,cell:l,valueTextAlign:p})}));function kR(e){let{qFrequency:t,histogram:n,checkboxes:r,isSelected:o,frequencyMax:i}=e;if(!(t&&n&&rR(t)!==eR))return;const a=nR({qFrequency:t,checkboxes:r,frequencyMax:i});return U.createElement(Hw,{className:tR([AL.bar,r&&AL.barWithCheckbox,o&&(r?AL.barSelectedWithCheckbox:AL.barSelected)])},U.createElement(Hw,{className:"bar-filled",width:a}))}function LR(e){let{cell:t,checkboxes:n,dense:r,showGray:o}=e;const i=rR(null==t?void 0:t.qFrequency);return U.createElement(tC,{item:!0,style:{display:"flex",alignItems:"center"},className:AL.frequencyCount,"aria-label":i,title:i},U.createElement(rx,{noWrap:!0,color:"inherit",variant:"body2",className:tR([r&&AL.labelDense,AL.labelText,o&&VL({cell:t,checkboxes:n})&&AL.excludedTextWithCheckbox])},i))}function RR(e){let{dataLayout:t,layoutOrder:n,itemPadding:r}=e;if("singleColumn"===t)return{height:"100%",width:"100%"};switch(n){case"row":case"column":return{height:"calc(100% - ".concat(r,"px)"),width:"calc(100% - ".concat(2*r,"px)"),position:"absolute",left:4};default:return{}}}const OR=ib(tC,{shouldForwardProp:e=>!["dataLayout","layoutOrder","itemPadding","cellPaddingRight","direction"].includes(e)})((e=>{let{dataLayout:t,layoutOrder:n,itemPadding:r,cellPaddingRight:o,direction:a}=e;const l="padding".concat("rtl"===a?"Left":"Right");return{["&.".concat(AL.fieldRoot)]:i(i({},RR({dataLayout:t,layoutOrder:n,itemPadding:r})),{},{[l]:o?"8px":void 0})}}));const IR={S:"Object.Listbox.Selected",A:"Object.Listbox.Alternative",O:"Object.Listbox.Optional",XS:"Object.Listbox.SelectedExcluded",L:"Object.Listbox.Locked",X:"Object.Listbox.Excluded",XL:"Object.Listbox.ExcludedLock"};function TR(e){var t;let{layout:n}=e;const{translator:r}=H.useContext(by),{qStateCounts:o={}}=(null==n||null===(t=n.qListObject)||void 0===t?void 0:t.qDimensionInfo)||{},i=o.qSelected+o.qSelectedExcluded+o.qLocked+o.qLockedExcluded;let a;switch(i){case 0:a="ScreenReader.ZeroSelected";break;case 1:a="ScreenReader.OneSelected";break;default:a="ScreenReader.ManySelected"}const l=r.get(a,[i]);return U.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},l)}const PR=Object.freeze({ENTER:13,ESCAPE:27,SPACE:32,TAB:9,BACKSPACE:8,DELETE:46,ALT:18,CTRL:17,SHIFT:16,ARROW_UP:38,ARROW_DOWN:40,ARROW_LEFT:37,ARROW_RIGHT:39,PAGE_DOWN:34,PAGE_UP:33,HOME:36,END:35,F10:121,A:65,F:70,ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,SUBTRACTION:189,DECIMAL:190,NUMPAD_DECIMAL:110,isArrow:e=>e===PR.ARROW_UP||e===PR.ARROW_DOWN||e===PR.ARROW_LEFT||e===PR.ARROW_RIGHT}),_R=e=>+e.getAttribute("data-n"),NR=e=>{const t=null==e?void 0:e.querySelector(".search input");return null==t||t.focus(),t},MR=e=>{const t=null==e?void 0:e.querySelector(".value.last-focused, .value.selector, .value");return null==t||t.setAttribute("tabIndex",0),null==t||t.focus(),t},qR=e=>{let{rowIndex:t,columnIndex:n,rowCount:r,columnCount:o,layoutOrder:i,keyCode:a,numCells:l}=e;const s=e=>{let t;return"row"===i?(t=l%o,e<t?r:r-1):(t=l%r,e<o-1?r:t)};let c=t,u=n;if(a===PR.ARROW_DOWN)if(t>=s(n)-1){if(n===o-1)return-1;c=0,u=n+1}else c=t+1;else if(0===t){if(0===n)return-1;c=s(n-1)-1,u=n-1}else c=t-1;if("row"===i)return c*o+u;const d=l%r;return 0===d||c<d?c*o+u:(c-d)*(o-1)+u+d*o};function zR(e){var t,n;let{index:r,rowIndex:o,columnIndex:a,style:l,data:s}=e;const{onChange:c,onClick:u,onMouseDown:d,onMouseUp:p,onMouseEnter:f,onTouchStart:h,onTouchEnd:m,pages:g,isLocked:v,column:b=!1,checkboxes:y=!1,textAlign:x,direction:S,layoutOptions:w={},freqIsAllowed:E,isSingleSelect:C,actions:k,frequencyMax:L="",histogram:R=!1,keyboard:O,showGray:I=!0,showTick:T=!0,columnCount:P=1,rowCount:_=1,dataOffset:N,deducedFrequencyMode:M,focusListItems:q,listCount:z,sizes:D,translator:A,showSearch:j,isModal:F}=s,{dense:B=!1,dataLayout:W="singleColumn",layoutOrder:$}=w,{itemPadding:V}=D;let G,K;const Z={max:null,currentIndex:null};if("number"==typeof o&&"number"==typeof a){"row"===$?(G=o*P+a,Z.max=_,Z.currentIndex=o):(G=a*_+o,Z.max=P,Z.currentIndex=a);const e=0;K=i(i({},l),{},{left:e+(0===a?l.left:Number(l.left)+a*e),top:0===o?l.top:Number(l.top)+o*e})}else G=r,Z.max=z,Z.currentIndex=r,K=i({},l);G+=N;const[X,Q]=H.useState(null);H.useEffect((()=>{null!==X&&(0===Z.currentIndex&&q.first&&(X.focus(),q.setFirst(!1)),Z.currentIndex===Z.max-1&&q.last&&(X.focus(),q.setLast(!1)))}),[X,q.first,q.last]);const J=H.useCallback(function(e){let{select:t,selectAll:n,onCtrlF:r,confirm:o,cancel:i,setScrollPosition:a,focusListItems:l,keyboard:s,isModal:c,rowCount:u,columnCount:d,rowIndex:p,columnIndex:f,layoutOrder:h}=e;const m=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e===PR.ARROW_LEFT||e===PR.ARROW_RIGHT||"number"!=typeof p||"number"!=typeof f){const e=null==t?void 0:t.parentElement[n?"nextElementSibling":"previousElementSibling"];return null==e?void 0:e.querySelector("[role]")}const r=null==t?void 0:t.parentElement.parentElement,o=null==r?void 0:r.childElementCount;if(o){const n=qR({rowIndex:p,columnIndex:f,rowCount:u,columnCount:d,layoutOrder:h,keyCode:e,numCells:o}),r=null==t?void 0:t.parentElement.parentElement.children[n];return null==r?void 0:r.querySelector("[role]")}};let g=!1;const v=e=>{g=e};return e=>{let u;const{currentTarget:d,nativeEvent:p}=e,{keyCode:f,shiftKey:h=!1,ctrlKey:b=!1,metaKey:y=!1}=p;switch(f){case PR.TAB:{const e=d.closest(".listbox-container"),t=c();if(d.classList.add("last-focused"),h){NR(e)||(t?s.focusSelection():s.blur(!0));break}t?s.focusSelection():(d.blur(),s.blur());break}case PR.SHIFT:v(!0);break;case PR.SPACE:t([_R(d)],!1,e);break;case PR.ARROW_DOWN:case PR.ARROW_RIGHT:u=m(f,d,!0),h&&u&&(g&&(t([_R(d)],!0),v(!1)),t([_R(u)],!0));break;case PR.ARROW_UP:case PR.ARROW_LEFT:u=m(f,d,!1),h&&u&&(g&&(t([_R(d)],!0),v(!1)),t([_R(u)],!0));break;case PR.ENTER:o();break;case PR.ESCAPE:if(!c())return;i();break;case PR.HOME:if(l.setFirst(!0),b){null==a||a("overflowStart");break}null==a||a("start");break;case PR.END:if(l.setLast(!0),b){null==a||a("overflowEnd");break}null==a||a("end");break;case PR.A:if(b||y){n();break}return;case PR.F:if(b||y){r();break}return;default:return}u&&u.focus(),e.preventDefault(),e.stopPropagation()}}(i(i({},k),{},{focusListItems:q,keyboard:O,isModal:F,rowCount:_,columnCount:P,rowIndex:o,columnIndex:a,layoutOrder:$})),[k,null==O?void 0:O.innerTabStops,_,P,o,a,$]),Y=H.useMemo((()=>function(e){let t,{pages:n,cellIndex:r}=e;const o=n.filter((e=>e.qArea.qTop<=r&&r<e.qArea.qTop+e.qArea.qHeight))[0];if(o){const e=o.qArea;r>=e.qTop&&r<e.qTop+e.qHeight&&([t]=o.qMatrix[r-e.qTop])}return t}({pages:g,cellIndex:G})),[g,G]),ee="S"===(null==Y?void 0:Y.qState)||"XS"===(null==Y?void 0:Y.qState)||"L"===(null==Y?void 0:Y.qState)||"XL"===(null==Y?void 0:Y.qState),te=H.useMemo((()=>GL({column:b,histogram:R,checkboxes:y,cell:Y,showGray:I})),[null==Y?void 0:Y.qState,R,B,y]),ne=H.useCallback((e=>{e.preventDefault()}),[y]),re=H.useMemo((()=>Y&&function(e){let{direction:t,cell:n,textAlign:r}=e;const o=!["NaN",void 0].includes(null==n?void 0:n.qNum);let i;return i=!r||r.auto?o?"rtl"===t?"left":"right":{rtl:"right",ltr:"left"}[t]:(null==r?void 0:r.align)||"left",["left","center","right"].includes(i)?i:"left"}({direction:S,cell:Y,textAlign:x})),[S,Y,x]);if(!Y)return null;const oe="grid"===W&&"column"===$,ie=null!==(t=null==Y?void 0:Y.qText)&&void 0!==t?t:"";let ae;if(null!==(n=Y.qHighlightRanges)&&void 0!==n&&null!==(n=n.qRanges)&&void 0!==n&&n.length){const e=Y.qHighlightRanges.qRanges.sort(((e,t)=>e.qCharPos-t.qCharPos))||[];ae=function(e,t){if(!t.length)return[];const n=t.reduce(((n,r,o)=>{const i=0===o?0:t[o-1].qCharPos+t[o-1].qCharCount;n.push(...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const{qCharPos:r,qCharCount:o}=t,i=[];return r>n&&i.push([e.slice(n,r),!1]),i.push([e.slice(r,r+o),!0]),i}(e,r,i));const a=o===t.length-1,l=t[o].qCharPos+t[o].qCharCount;return a&&l<e.length&&n.push([e.slice(l),!1]),n}),[]);return n}(ie,e)}const le={alignItems:"center",display:"flex",fontSize:"8px"},se="rtl"===S,ce={display:"flex",alignItems:"center",flexGrow:1,paddingLeft:se?8:y?0:void 0,paddingRight:y?0:se?8:0,justifyContent:re},ue=0===r,de=ee&&v,pe=!y&&ee&&!v,fe=!y&&T,he=y||!T,me=function(e){let{translator:t,label:n,qState:r,isSelected:o,currentIndex:i,maxIndex:a,showSearch:l}=e;const s=IR[r],c=t.get(s),u=[];if(o){const e=l?"Listbox.ScreenReader.SearchThenSelectionsMenu.WithAccSelMenu":"Listbox.ScreenReader.SelectionMenu.WithAccSelMenu",n=t.get(e);u.push(n)}const d="".concat(n," ").concat(c),p=t.get("CurrentSelections.Of",[i+1,a+1]);return u.unshift(d,p),u.join(". ").trim()}({translator:A,label:ie,qState:Y.qState,currentIndex:Z.currentIndex,maxIndex:Z.max,showSearch:j}),ge=!se&&"right"===re||se&&"left"===re;return U.createElement(cR,{className:AL.barContainer,checkboxes:y,style:K,isGridCol:oe,isGridMode:"grid"===W,dense:B,direction:S,sizes:D,frequencyMode:M,freqHitsValue:ge,"data-testid":"listbox.item"},U.createElement(OR,{role:"row","aria-label":me,"aria-selected":ee,"aria-setsize":Z.max,"aria-rowindex":Z.currentIndex,ref:Q,container:!0,dataLayout:W,cellPaddingRight:he,layoutOrder:$,itemPadding:V,gap:0,className:tR(["value",...te]),classes:{root:AL.fieldRoot},onClick:u,onMouseDown:d,onMouseUp:p,onMouseEnter:f,onKeyDown:J,onTouchStart:h,onTouchEnd:m,onContextMenu:ne,tabIndex:ue&&O.innerTabStops?0:-1,"data-n":null==Y?void 0:Y.qElemNumber,direction:S},(null==Y?void 0:Y.qFrequency)&&U.createElement(kR,{qFrequency:null==Y?void 0:Y.qFrequency,histogram:R,checkboxes:y,isSelected:ee,frequencyMax:L}),U.createElement(tC,{item:!0,style:ce,className:tR([AL.cell,AL.selectedCell]),title:"".concat(ie)},ae?U.createElement(ER,{onChange:c,labels:ae,checkboxes:y,dense:B,showGray:I,color:"inherit",qElemNumber:Y.qElemNumber,isSelected:ee,cell:Y,isGridCol:oe,isSingleSelect:C,valueTextAlign:re}):U.createElement(CR,{onChange:c,label:ie,color:"inherit",qElemNumber:Y.qElemNumber,isSelected:ee,dense:B,cell:Y,isGridCol:oe,showGray:I,isSingleSelect:C,checkboxes:y,valueTextAlign:re})),E&&U.createElement(LR,{cell:Y,checkboxes:y,dense:B,showGray:I}),fe&&U.createElement(tC,{item:!0,className:AL.icon},de&&U.createElement(OL,{style:le,size:"small"}),pe&&U.createElement($L,{style:le,size:"small"}))))}var DR=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function AR(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||DR(r)&&DR(o)))return!1;var r,o;return!0}function jR(e,t){var n;void 0===t&&(t=AR);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}}var FR="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function BR(e){cancelAnimationFrame(e.id)}function WR(e,t){var n=FR();var r={id:requestAnimationFrame((function o(){FR()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var $R=-1;function HR(e){if(void 0===e&&(e=!1),-1===$R||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),$R=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return $R}var UR=null;function VR(e){if(void 0===e&&(e=!1),null===UR||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?UR="positive-descending":(t.scrollLeft=1,UR=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),UR}return UR}var GR=function(e){var t=e.columnIndex;return e.data,e.rowIndex+":"+t};function KR(e){var t,n=e.getColumnOffset,r=e.getColumnStartIndexForOffset,o=e.getColumnStopIndexForStartIndex,i=e.getColumnWidth,a=e.getEstimatedTotalHeight,l=e.getEstimatedTotalWidth,s=e.getOffsetForColumnAndAlignment,c=e.getOffsetForRowAndAlignment,u=e.getRowHeight,d=e.getRowOffset,p=e.getRowStartIndexForOffset,f=e.getRowStopIndexForStartIndex,h=e.initInstanceProps,m=e.shouldResetStyleCacheOnItemSizeChange,g=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=h(r.props,Eb(r)),r._resetIsScrollingTimeoutId=null,r._outerRef=void 0,r.state={instance:Eb(r),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:"number"==typeof r.props.initialScrollLeft?r.props.initialScrollLeft:0,scrollTop:"number"==typeof r.props.initialScrollTop?r.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},r._callOnItemsRendered=void 0,r._callOnItemsRendered=jR((function(e,t,n,o,i,a,l,s){return r.props.onItemsRendered({overscanColumnStartIndex:e,overscanColumnStopIndex:t,overscanRowStartIndex:n,overscanRowStopIndex:o,visibleColumnStartIndex:i,visibleColumnStopIndex:a,visibleRowStartIndex:l,visibleRowStopIndex:s})})),r._callOnScroll=void 0,r._callOnScroll=jR((function(e,t,n,o,i){return r.props.onScroll({horizontalScrollDirection:n,scrollLeft:e,scrollTop:t,verticalScrollDirection:o,scrollUpdateWasRequested:i})})),r._getItemStyle=void 0,r._getItemStyle=function(e,t){var o,a=r.props,l=a.columnWidth,s=a.direction,c=a.rowHeight,p=r._getItemStyleCache(m&&l,m&&s,m&&c),f=e+":"+t;if(p.hasOwnProperty(f))o=p[f];else{var h=n(r.props,t,r._instanceProps),g="rtl"===s;p[f]=o={position:"absolute",left:g?void 0:h,right:g?h:void 0,top:d(r.props,e,r._instanceProps),height:u(r.props,e,r._instanceProps),width:i(r.props,t,r._instanceProps)}}return o},r._getItemStyleCache=void 0,r._getItemStyleCache=jR((function(e,t,n){return{}})),r._onScroll=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.clientWidth,i=t.scrollLeft,a=t.scrollTop,l=t.scrollHeight,s=t.scrollWidth;r.setState((function(e){if(e.scrollLeft===i&&e.scrollTop===a)return null;var t=r.props.direction,c=i;if("rtl"===t)switch(VR()){case"negative":c=-i;break;case"positive-descending":c=s-o-i}c=Math.max(0,Math.min(c,s-o));var u=Math.max(0,Math.min(a,l-n));return{isScrolling:!0,horizontalScrollDirection:e.scrollLeft<i?"forward":"backward",scrollLeft:c,scrollTop:u,verticalScrollDirection:e.scrollTop<a?"forward":"backward",scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&BR(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=WR(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1)}))},r}pb(t,e),t.getDerivedStateFromProps=function(e,t){return ZR(e,t),g(e),null};var v=t.prototype;return v.scrollTo=function(e){var t=e.scrollLeft,n=e.scrollTop;void 0!==t&&(t=Math.max(0,t)),void 0!==n&&(n=Math.max(0,n)),this.setState((function(e){return void 0===t&&(t=e.scrollLeft),void 0===n&&(n=e.scrollTop),e.scrollLeft===t&&e.scrollTop===n?null:{horizontalScrollDirection:e.scrollLeft<t?"forward":"backward",scrollLeft:t,scrollTop:n,scrollUpdateWasRequested:!0,verticalScrollDirection:e.scrollTop<n?"forward":"backward"}}),this._resetIsScrollingDebounced)},v.scrollToItem=function(e){var t=e.align,n=void 0===t?"auto":t,r=e.columnIndex,o=e.rowIndex,i=this.props,u=i.columnCount,d=i.height,p=i.rowCount,f=i.width,h=this.state,m=h.scrollLeft,g=h.scrollTop,v=HR();void 0!==r&&(r=Math.max(0,Math.min(r,u-1))),void 0!==o&&(o=Math.max(0,Math.min(o,p-1)));var b=a(this.props,this._instanceProps),y=l(this.props,this._instanceProps)>f?v:0,x=b>d?v:0;this.scrollTo({scrollLeft:void 0!==r?s(this.props,r,n,m,this._instanceProps,x):m,scrollTop:void 0!==o?c(this.props,o,n,g,this._instanceProps,y):g})},v.componentDidMount=function(){var e=this.props,t=e.initialScrollLeft,n=e.initialScrollTop;if(null!=this._outerRef){var r=this._outerRef;"number"==typeof t&&(r.scrollLeft=t),"number"==typeof n&&(r.scrollTop=n)}this._callPropsCallbacks()},v.componentDidUpdate=function(){var e=this.props.direction,t=this.state,n=t.scrollLeft,r=t.scrollTop;if(t.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("rtl"===e)switch(VR()){case"negative":o.scrollLeft=-n;break;case"positive-ascending":o.scrollLeft=n;break;default:var i=o.clientWidth,a=o.scrollWidth;o.scrollLeft=a-i-n}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}this._callPropsCallbacks()},v.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&BR(this._resetIsScrollingTimeoutId)},v.render=function(){var e=this.props,t=e.children,n=e.className,r=e.columnCount,o=e.direction,i=e.height,s=e.innerRef,c=e.innerElementType,u=e.innerTagName,d=e.itemData,p=e.itemKey,f=void 0===p?GR:p,h=e.outerElementType,m=e.outerTagName,g=e.rowCount,v=e.style,b=e.useIsScrolling,y=e.width,x=this.state.isScrolling,S=this._getHorizontalRangeToRender(),w=S[0],E=S[1],C=this._getVerticalRangeToRender(),k=C[0],L=C[1],R=[];if(r>0&&g)for(var O=k;O<=L;O++)for(var I=w;I<=E;I++)R.push(H.createElement(t,{columnIndex:I,data:d,isScrolling:b?x:void 0,key:f({columnIndex:I,data:d,rowIndex:O}),rowIndex:O,style:this._getItemStyle(O,I)}));var T=a(this.props,this._instanceProps),P=l(this.props,this._instanceProps);return H.createElement(h||m||"div",{className:n,onScroll:this._onScroll,ref:this._outerRefSetter,style:cb({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},v)},H.createElement(c||u||"div",{children:R,ref:s,style:{height:T,pointerEvents:x?"none":void 0,width:P}}))},v._callPropsCallbacks=function(){var e=this.props,t=e.columnCount,n=e.onItemsRendered,r=e.onScroll,o=e.rowCount;if("function"==typeof n&&t>0&&o>0){var i=this._getHorizontalRangeToRender(),a=i[0],l=i[1],s=i[2],c=i[3],u=this._getVerticalRangeToRender(),d=u[0],p=u[1],f=u[2],h=u[3];this._callOnItemsRendered(a,l,d,p,s,c,f,h)}if("function"==typeof r){var m=this.state,g=m.horizontalScrollDirection,v=m.scrollLeft,b=m.scrollTop,y=m.scrollUpdateWasRequested,x=m.verticalScrollDirection;this._callOnScroll(v,b,g,x,y)}},v._getHorizontalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanColumnCount,i=e.overscanColumnsCount,a=e.overscanCount,l=e.rowCount,s=this.state,c=s.horizontalScrollDirection,u=s.isScrolling,d=s.scrollLeft,p=n||i||a||1;if(0===t||0===l)return[0,0,0,0];var f=r(this.props,d,this._instanceProps),h=o(this.props,f,d,this._instanceProps),m=u&&"backward"!==c?1:Math.max(1,p),g=u&&"forward"!==c?1:Math.max(1,p);return[Math.max(0,f-m),Math.max(0,Math.min(t-1,h+g)),f,h]},v._getVerticalRangeToRender=function(){var e=this.props,t=e.columnCount,n=e.overscanCount,r=e.overscanRowCount,o=e.overscanRowsCount,i=e.rowCount,a=this.state,l=a.isScrolling,s=a.verticalScrollDirection,c=a.scrollTop,u=r||o||n||1;if(0===t||0===i)return[0,0,0,0];var d=p(this.props,c,this._instanceProps),h=f(this.props,d,c,this._instanceProps),m=l&&"backward"!==s?1:Math.max(1,u),g=l&&"forward"!==s?1:Math.max(1,u);return[Math.max(0,d-m),Math.max(0,Math.min(i-1,h+g)),d,h]},t}(H.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},t}var ZR=function(e,t){e.children,e.direction,e.height,e.innerTagName,e.outerTagName,e.overscanColumnsCount,e.overscanCount,e.overscanRowsCount,e.width,t.instance},XR=function(e,t){return e};function QR(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,s=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,u=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=s(r.props,Eb(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Eb(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=jR((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=jR((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,i=r.props,a=i.direction,l=i.itemSize,s=i.layout,u=r._getItemStyleCache(c&&l,c&&s,c&&a);if(u.hasOwnProperty(e))t=u[e];else{var d=n(r.props,e,r._instanceProps),p=o(r.props,e,r._instanceProps),f="horizontal"===a||"horizontal"===s,h="rtl"===a,m=f?d:0;u[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:f?0:d,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=jR((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,a=o;if("rtl"===t)switch(VR()){case"negative":a=-o;break;case"positive-descending":a=i-n-o}return a=Math.max(0,Math.min(a,i-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;r.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&BR(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=WR(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}pb(t,e),t.getDerivedStateFromProps=function(e,t){return JR(e,t),u(e),null};var d=t.prototype;return d.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},d.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,o=n.layout,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var l=0;if(this._outerRef){var s=this._outerRef;l="vertical"===o?s.scrollWidth>s.clientWidth?HR():0:s.scrollHeight>s.clientHeight?HR():0}this.scrollTo(i(this.props,e,t,a,this._instanceProps,l))},d.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},d.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(VR()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},d.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&BR(this._resetIsScrollingTimeoutId)},d.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,i=e.height,a=e.innerRef,l=e.innerElementType,s=e.innerTagName,c=e.itemCount,u=e.itemData,d=e.itemKey,p=void 0===d?XR:d,f=e.layout,h=e.outerElementType,m=e.outerTagName,g=e.style,v=e.useIsScrolling,b=e.width,y=this.state.isScrolling,x="horizontal"===o||"horizontal"===f,S=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),E=w[0],C=w[1],k=[];if(c>0)for(var L=E;L<=C;L++)k.push(H.createElement(t,{data:u,key:p(L,u),index:L,isScrolling:v?y:void 0,style:this._getItemStyle(L)}));var R=r(this.props,this._instanceProps);return H.createElement(h||m||"div",{className:n,onScroll:S,ref:this._outerRefSetter,style:cb({position:"relative",height:i,width:b,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},H.createElement(l||s||"div",{children:k,ref:a,style:{height:x?"100%":R,pointerEvents:y?"none":void 0,width:x?R:"100%"}}))},d._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},d._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,s=r.scrollOffset;if(0===t)return[0,0,0,0];var c=a(this.props,s,this._instanceProps),u=l(this.props,c,s,this._instanceProps),d=o&&"backward"!==i?1:Math.max(1,n),p=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(H.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var JR=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},YR=KR({getColumnOffset:function(e,t){return t*e.columnWidth},getColumnWidth:function(e,t){return e.columnWidth},getRowOffset:function(e,t){return t*e.rowHeight},getRowHeight:function(e,t){return e.rowHeight},getEstimatedTotalHeight:function(e){var t=e.rowCount;return e.rowHeight*t},getEstimatedTotalWidth:function(e){var t=e.columnCount;return e.columnWidth*t},getOffsetForColumnAndAlignment:function(e,t,n,r,o,i){var a=e.columnCount,l=e.columnWidth,s=e.width,c=Math.max(0,a*l-s),u=Math.min(c,t*l),d=Math.max(0,t*l-s+i+l);switch("smart"===n&&(n=r>=d-s&&r<=u+s?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(s/2)?0:p>c+Math.floor(s/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getOffsetForRowAndAlignment:function(e,t,n,r,o,i){var a=e.rowHeight,l=e.height,s=e.rowCount,c=Math.max(0,s*a-l),u=Math.min(c,t*a),d=Math.max(0,t*a-l+i+a);switch("smart"===n&&(n=r>=d-l&&r<=u+l?"auto":"center"),n){case"start":return u;case"end":return d;case"center":var p=Math.round(d+(u-d)/2);return p<Math.ceil(l/2)?0:p>c+Math.floor(l/2)?c:p;default:return r>=d&&r<=u?r:d>u||r<d?d:u}},getColumnStartIndexForOffset:function(e,t){var n=e.columnWidth,r=e.columnCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getColumnStopIndexForStartIndex:function(e,t,n){var r=e.columnWidth,o=e.columnCount,i=e.width,a=t*r,l=Math.ceil((i+n-a)/r);return Math.max(0,Math.min(o-1,t+l-1))},getRowStartIndexForOffset:function(e,t){var n=e.rowHeight,r=e.rowCount;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getRowStopIndexForStartIndex:function(e,t,n){var r=e.rowHeight,o=e.rowCount,i=e.height,a=t*r,l=Math.ceil((i+n-a)/r);return Math.max(0,Math.min(o-1,t+l-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.columnWidth,e.rowHeight}}),eO=QR({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,i){var a=e.direction,l=e.height,s=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,p="horizontal"===a||"horizontal"===u?d:l,f=Math.max(0,s*c-p),h=Math.min(f,t*c),m=Math.max(0,t*c-p+c+i);switch("smart"===n&&(n=r>=m-p&&r<=h+p?"auto":"center"),n){case"start":return h;case"end":return m;case"center":var g=Math.round(m+(h-m)/2);return g<Math.ceil(p/2)?0:g>f+Math.floor(p/2)?f:g;default:return r>=m&&r<=h?r:r<m?m:h}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,i=e.itemCount,a=e.itemSize,l=e.layout,s=e.width,c=t*a,u="horizontal"===r||"horizontal"===l?s:o,d=Math.ceil((u+n-c)/a);return Math.max(0,Math.min(i-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const tO="#BBB",nO="#f1f1f1",rO={styledScrollbars:"".concat("ListBox","-styledScrollbars")};const oO=(e,t)=>void 0!==(null==e?void 0:e.visibleRowStopIndex)||void 0!==e.visibleColumnStopIndex?t?e.visibleColumnStopIndex:e.visibleRowStopIndex:e.visibleStopIndex,iO=(e,t)=>void 0!==(null==e?void 0:e.visibleRowStartIndex)||void 0!==e.visibleColumnStartIndex?t?0===e.visibleColumnStartIndex:0===e.visibleRowStartIndex:0===e.visibleStartIndex,aO=(e,t,n,r)=>e===t*n+r+n;function lO(e){let{renderProps:t,layoutOptions:n,maxCount:r,columnCount:o,rowCount:i,overflowDisclaimer:a,qCardinal:l,dataOffset:s}=e;const c="column"===(null==n?void 0:n.layoutOrder)&&"singleColumn"!==n.dataLayout,u=oO(t,c),d=c?r.column:r.row,p=(c?o:i)>=d,f=aO(l,u,c?i:o,s),h=!!s&&iO(t,c),m=p&&!f&&u>=d-1||h||a.state.show;a.set(m)}const{StyledFixedSizeList:sO,StyledFixedSizeGrid:cO}=function(){const e=e=>({scrollbarColor:"".concat(tO," ").concat(nO),overflow:e?"hidden !important":void 0,"&::-webkit-scrollbar":{width:10,height:10},"&::-webkit-scrollbar-track":{backgroundColor:nO},"&::-webkit-scrollbar-thumb":{backgroundColor:tO,borderRadius:"1rem"},"&::-webkit-scrollbar-thumb:hover":{backgroundColor:"#555"}});return{StyledFixedSizeList:bm(eO,{shouldForwardProp:e=>"scrollDisabled"!==e})((t=>{let{scrollDisabled:n}=t;return{["&.".concat(rO.styledScrollbars)]:e(n)}})),StyledFixedSizeGrid:bm(YR,{shouldForwardProp:e=>"scrollDisabled"!==e})((t=>{let{scrollDisabled:n}=t;return{["&.".concat(rO.styledScrollbars)]:e(n)}}))}}();const uO=(e,t)=>{const n=(()=>{const e=document.createDocumentFragment(),t=document.createElement("canvas");return e.appendChild(t),t.getContext("2d")})();if(n.font=t,Array.isArray(e))return Math.max(...e.map((e=>n.measureText(e).width)));const r=n.measureText(e);return Math.ceil(r.width||0)},dO=e=>{const t=H.useMemo((()=>"text"in e?e:{}),[e]);return H.useMemo((()=>uO(t.text,t.font||"12px Source Sans Pro")),[t.text,t.font])};function pO(e){if(!e)return"";const t="number"==typeof e?e:e.qListObject.qDimensionInfo.qApprMaxGlyphCount;return Array(t).fill("M").join("")}function fO(e){var t;let{layout:n,width:r,height:o,listCount:i,count:a,freqIsAllowed:l,checkboxes:s,theme:c}=e;const{layoutOptions:u={}}=n||{},{layoutOrder:d,maxVisibleRows:p={},maxVisibleColumns:f,dense:h,dataLayout:m}=u,{fontSize:g="12px",fontFamily:v="Source sans pro"}=(null==c||null===(t=c.listBox)||void 0===t?void 0:t.content)||{},b="".concat(g," ").concat(v),y=dO({text:pO(n),font:b}),x=dO({text:pO(5),font:b}),S=dO({text:pO(8),font:b}),w=l?x:0,E=s?YL:0;let C=JL+w+E;!s&&C>=ZL&&(C+=YL);let k,L,R,O,I=y+18+w+E;!s&&I>=ZL&&(I+=YL),I=Math.min(QL,Math.max(I,C));const T="grid"===m;let P=h?20:T?32:29;T&&(P+=4);const _=null!=o?o:8*P;if(d){let e=r;"row"===d?(k={overflowX:"hidden"},e+=8,({rowCount:O,columnWidth:R,columnCount:L}=function(e){let{maxVisibleColumns:t,listCount:n,containerWidth:r,columnAutoWidth:o,itemMinWidth:i}=e;const a=(null==t?void 0:t.maxColumns)||3,l=r-XL;let s;const c=Math.min(n,Math.max(1,Math.round(l/Math.max(i,o))));s=!1!==(null==t?void 0:t.auto)?c:Math.min(n,a,c);const u=l/s;return{rowCount:Math.ceil(n/s),columnWidth:u,columnCount:s}}({maxVisibleColumns:f,listCount:i,containerWidth:e,columnAutoWidth:I,itemMinWidth:C}))):(k={overflowY:"hidden"},({rowCount:O,columnWidth:R,columnCount:L}=function(e){let t,{maxVisibleRows:n,itemHeight:r,listCount:o,listHeight:i,columnAutoWidth:a,containerWidth:l,itemMinWidth:s}=e;const c=(null==n?void 0:n.maxRows)||3,u=Math.floor(i/r);t=!1!==n.auto?u:Math.min(o,c,u);const d=Math.ceil(o/t);return{columnWidth:Math.max(a,l/d,s),columnCount:d,rowCount:t}}({maxVisibleRows:p,itemHeight:P,listCount:i,listHeight:_,columnAutoWidth:I,containerWidth:e,itemMinWidth:C})))}L=("singleColumn"===m?1:L)||1,O=("singleColumn"===m?a:O)||i;const N=u.dense?838e3:577e3;O=Math.min(O,N);const M=Math.floor(3355e4/R);L=Math.min(L,M)||1;const q=O*L,z=Math.min(i,q);return{columnCount:L,columnWidth:R,rowCount:O,overflowStyling:k,itemHeight:P,listHeight:_,listWidth:r,scrollBarWidth:XL,count:a,listCount:z,maxCount:{row:N,column:M},itemPadding:4,textWidth:y,freqMinWidth:x,freqMaxWidth:S}}const hO=e=>{let{pages:t=[],minimumBatchSize:n,count:r}=e;const o=t.some((e=>e.qArea.qHeight<n)),i=Math.max(...t.map((e=>e.qArea.qTop+e.qArea.qHeight)));return o?i:r};const[mO,gO]=yy({});function vO(e){const t="".concat(e.id),[n]=mO();return{setStoreValue:(e,r)=>n.set("".concat(t,"/").concat(e),r),getStoreValue:e=>n.get("".concat(t,"/").concat(e))}}const bO=ib(rx,{shouldForwardProp:e=>!["width","dense"].includes(e)})((e=>{let{width:t,dense:n}=e;return i({minWidth:"".concat(t,"px"),textAlign:"center",fontSize:"".concat(n?"12px":"14px")},n&&{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",width:t})}));function yO(e){let{width:t,text:n,dense:r,tooltip:o}=e;const{translator:i}=H.useContext(by);return U.createElement(eL,{title:o?i.get(n):""},U.createElement(bO,{width:t,dense:r,component:"div",variant:"body1",py:"12px"},i.get(n)))}var xO={},SO={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(SO);var wO,EO=SO.exports,CO={},kO=r(Dy);var LO=EO;Object.defineProperty(xO,"__esModule",{value:!0});var RO=xO.default=void 0,OO=LO((wO||(wO=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=kO}(CO)),CO)),IO=Om,TO=(0,OO.default)((0,IO.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");RO=xO.default=TO;const PO=ib(Hy)((e=>{let{theme:t,left:n}=e;return{position:"absolute",bottom:"12px",display:"flex",border:"1px solid ".concat(t.palette.divider),width:"calc(100% - 11px)",left:n}})),_O=ib("div")((()=>({paddingLeft:"6px",flexGrow:1}))),NO=ib("div")((e=>{let{dense:t}=e;return{display:"flex",alignItems:"".concat(t?"center":"flex-start")}})),MO=ib(RO)((()=>({fontSize:"14px"})));function qO(e){let{text:t,dismiss:n,dense:r,parentWidth:o=0}=e;const i="function"==typeof n,a=r?370:282,l=Math.max(o/2-a/2,0),s=Math.min(a,o)-42,c=r&&o<a;return U.createElement(PO,{left:l,style:{maxWidth:a}},U.createElement(_O,null,U.createElement(yO,{text:t,dense:r,width:s,tooltip:c})),U.createElement(NO,{dense:r},i&&U.createElement(Xy,{"aria-label":"close",onClick:()=>n()},U.createElement(MO,null))))}const zO=(e,t)=>e.qListObject.qDimensionInfo.qCardinal-t;const DO=80;function AO(e){let{itemWidth:t,layout:n,frequencyMode:r}=e;const o=t>DO,{frequencyEnabled:i=!1}=(null==n?void 0:n.qListObject)||{},a=!["N",void 0].includes(r);return!(!o||!a&&!i)}const jO=e=>{const t=(e=>e?/^[A-Za-z][A-Za-z0-9_]*$/.test(e)?e:"[".concat(e.replace(/\]/g,"]]"),"]"):e)(e);return"Max(AGGR(Count(".concat(t,"), ").concat(t,"))")},FO=(e,t)=>{const n=(e=>"fetch"===(null==e?void 0:e.frequencyMax))(t),[r,o]=H.useState(),[i,a]=H.useState(n);return H.useEffect((()=>{if(!n)return;(async()=>{const n=await(async(e,t)=>{const n=e.qListObject.qDimensionInfo,r=n.qGroupFieldDefs[n.qGroupPos],o=jO(r);return(await t.evaluateEx(o)).qNumber})(t,e);o(n),a(!1)})()}),[n&&t]),{frequencyMax:n?r:null==t?void 0:t.frequencyMax,awaitingFrequencyMax:i}};const BO=["isLoadingData"],WO=100,$O=ib("div")((()=>({"& .screenReaderOnly":{position:"absolute",height:0,width:0,overflow:"hidden"}})));function HO(e){var t,n;let{model:r,app:o,constraints:a,theme:c,layout:u,selections:d,selectionState:p,direction:f,checkboxes:h,height:m,width:g,frequencyMode:v,update:b,fetchStart:y,postProcessPages:x,calculatePagesHeight:S=!1,keyboard:w={},showGray:E=!0,scrollState:C,selectDisabled:k=(()=>!1),keyScroll:L={state:{},reset:()=>{}},currentScrollIndex:R={set:()=>{}},renderedCallback:O,onCtrlF:I,showSearch:T,isModal:P}=e;const{translator:_}=H.useContext(by),[N,M]=H.useState(!1),q=!(!u||!u.qListObject.qDimensionInfo.qIsOneAndOnlyOne),{checkboxes:z=h,histogram:D}=null!=u?u:{},[A,j]=H.useState(""),F=H.useRef(null),B=H.useRef({queue:[],validPages:!1,dataOffset:0}),W=H.useRef({pages:[]}),{frequencyMax:$,awaitingFrequencyMax:V}=FO(o,u),G=function(e){let{local:t,loaderRef:n,model:r,fetchStart:o,scrollTimeout:i,postProcessPages:a,listData:l}=e;const[s,c]=H.useState(!1),[u,d]=H.useState([]);let[p]=H.useState(0);const f=(e,s)=>{const u=t.current.dataOffset;t.current.queue.push({start:e+u,stop:s+u});const f=!!n.current&&n.current._listRef&&n.current._listRef.state.isScrolling;return t.current.queue.length>10&&t.current.queue.shift(),clearTimeout(t.current.timeout),c(!0),new Promise((e=>{t.current.timeout=setTimeout((()=>{const n=t.current.queue.slice(-1)[0],i=r.getListObjectData("/qListObjectDef",[{qTop:n.start>p?n.start-p:0,qHeight:p,qLeft:0,qWidth:1},{qTop:n.start,qHeight:p,qLeft:0,qWidth:1}]).then((n=>{const r=a?a(n):n;t.current.validPages=!0,l.current.pages=r,d(r),c(!1),e()}));o&&o(i)}),f?i:0)}))};return{loadMoreItems:{with(e){let{minimumBatchSize:t}=e;return t&&(p=t),f}},pages:u,isLoading:s}}({local:B,loaderRef:F,model:r,fetchStart:y,scrollTimeout:0,postProcessPages:x,listData:W}),K=s(G,BO),{getStoreValue:Z,setStoreValue:X}=vO(r),Q=H.useCallback(K.loadMoreItems,[u]),[J,Y]=H.useState({show:!1,dismissed:!1}),[ee,te]=H.useState([]);null!=K&&K.pages&&p.update({setPages:te,pages:K.pages,isSingleSelect:q,selectDisabled:k,layout:u});const ne=null==u?void 0:u.qListObject.qDimensionInfo.qCardinal;(null!=K&&K.pages.length&&!V||0===ne)&&(null==O||O());const re=H.useCallback((e=>{if(null==ee||!ee.length||!B.current.validPages)return!1;B.current.checkIdx=e;const t=t=>t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight,n=ee.filter((e=>t(e)))[0];return n&&t(n)}),[u,ee]),{interactionEvents:oe,select:ie}=BL({selectionState:p,selections:d,checkboxes:z,doc:document,loaderRef:F}),{layoutOptions:ae={}}=u||{};let le=!0;ae.dataLayout&&(le="singleColumn"===ae.dataLayout||"row"===(null==ae?void 0:ae.layoutOrder));const se="grid"===(null==ae?void 0:ae.dataLayout),ce=e=>{const t=i({},le?{rowIndex:e}:{columnIndex:e}),n=se?t:e;F.current._listRef.scrollToItem(n)},ue=()=>{if(B.current.queue=[],B.current.validPages=!1,F.current){F.current.resetloadMoreItemsCache(!0);const e="overflowEnd"===L.state.scrollPosition;if(u&&u.qSelectionInfo.qInSelections||e)return void(e&&L.reset());B.current.dataOffset=0,ce(0)}};b&&b.call(null,ue),H.useEffect((()=>{C&&!N&&F.current&&(F.current._listRef.scrollToItem(C.initScrollPos),M(!0))}),[F.current]),H.useEffect((()=>{ue()}),[u,B.current.dataOffset]);let de=WO;const pe="grid"!==ae.dataLayout,fe=null==u||null===(t=u.qListObject.qSize)||void 0===t?void 0:t.qcy,he=function(e){let{pages:t,minimumBatchSize:n,count:r,calculatePagesHeight:o=!1}=e;return(null!=t&&t.length&&o?hO({pages:t,minimumBatchSize:n,count:r}):r)||0}({pages:ee,minimumBatchSize:de,count:fe,calculatePagesHeight:S,layoutOptions:ae,model:r});let me=AO({itemWidth:g,layout:u,frequencyMode:v});const ge=function(e){return e.some((e=>{let{qMatrix:t}=e;return t.some((e=>{var t;let[n]=e;return!(null===(t=n.qFrequency)||void 0===t||!t.match("%"))}))}))?"P":"-"}(ee),ve=fO({layout:u,width:g,height:m,listCount:he,count:fe,freqIsAllowed:me,checkboxes:z,theme:c});ve.columnWidth&&(me=AO({itemWidth:ve.columnWidth,layout:u,frequencyMode:v}));const{listCount:be}=ve;X("listCount",be);const ye=Z("inputText");H.useEffect((()=>{if(ye){const e=function(e){let t;switch(e){case 0:t="Listbox.NoMatchesForYourTerms";break;case 1:t="ScreenReader.OneSearchResult";break;default:t="ScreenReader.ManySearchResults"}return t}(be),t=_.get(e,[be]);j(t)}}),[ye,be]);const xe=e=>{const{scrollIndex:t,offset:n,triggerRerender:r}=function(e){let t,{position:n,isRow:r,sizes:o,layout:i,offset:a}=e,l=!1,s=null!=a?a:0;switch(n){case"start":t=0;break;case"end":t=r?o.rowCount:o.columnCount;break;case"overflowStart":s=0,t=0,l=!0;break;case"overflowEnd":s=zO(i,o.listCount),t=i.qListObject.qDimensionInfo.qCardinal,l=!0}return{scrollIndex:t,offset:s,triggerRerender:l}}({position:e,isRow:le,sizes:ve,layout:u,offset:B.current.dataOffset});B.current.dataOffset=n,r&&p.triggerStateChanged(),ce(t)};H.useEffect((()=>{const e=L.state;e.up?ce(R.state.start-e.up):e.down?ce(R.state.stop+e.down):e.scrollPosition&&xe(e.scrollPosition),"overflowEnd"!==e.scrollPosition&&L.reset()}),[L.state.up,L.state.down,L.state.scrollPosition]);const{textAlign:Se}=(null==u?void 0:u.qListObject.qDimensionInfo)||{},[we,Ee]=H.useState({first:!1,last:!1}),{List:Ce,Grid:ke}=function(e){let{layout:t,width:n,checkboxes:r,local:o,isVertical:a,pages:s,selectDisabled:c,interactionEvents:u,deducedFrequencyMode:d,histogram:p,isSingleSelect:f,select:h,selectAll:m,onCtrlF:g,textAlign:v,selections:b,keyboard:y,showGray:x,scrollState:S,direction:w,sizes:E,listCount:C,overflowDisclaimer:k,setScrollPosition:L,focusListItems:R,setCurrentScrollIndex:O,constraints:I,frequencyMax:T,freqIsAllowed:P,translator:_,showSearch:N,isModal:M}=e;const{layoutOptions:q={}}=t||{},{columnWidth:z,listHeight:D,itemHeight:A,rowCount:j,columnCount:F}=E||{},B=("grid"===q.dataLayout?z:n)>ZL,W={direction:"rtl"===w?"rtl":"ltr",useIsScrolling:!0,className:rO.styledScrollbars},$=null==t?void 0:t.qListObject.qDimensionInfo.qLocked,H=i(i({isLocked:$,column:!a,pages:s},$||c()?{}:u),{},{checkboxes:r,layoutOptions:q,deducedFrequencyMode:d,freqIsAllowed:P,isSingleSelect:f,textAlign:v,sizes:E,actions:{select:h,confirm:()=>null==b?void 0:b.confirm.call(b),cancel:()=>null==b?void 0:b.cancel.call(b),setScrollPosition:L,selectAll:m,onCtrlF:g},frequencyMax:T,histogram:p,keyboard:y,showGray:x,showTick:B,dataOffset:o.current.dataOffset,focusListItems:R,direction:w,translator:_,showSearch:N,isModal:M});return{List:e=>{let{onItemsRendered:r,ref:a}=e;return o.current.listRef=a,U.createElement(sO,l({},W,{dataTestid:"fixed-size-list",scrollDisabled:null==I?void 0:I.active,height:D,width:n,itemCount:C,itemData:i(i({},H),{},{listCount:C}),itemSize:A,onItemsRendered:e=>{var n;O({start:e.visibleStartIndex,stop:e.visibleStopIndex}),S&&S.setScrollPos(e.visibleStopIndex),lO({renderProps:e,layoutOptions:q,maxCount:E.maxCount,columnCount:F,rowCount:j,overflowDisclaimer:k,qCardinal:null==t||null===(n=t.qListObject)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.qCardinal,dataOffset:o.current.dataOffset}),r(i({},e))},ref:a}),zR)},Grid:e=>{let{onItemsRendered:r,ref:a}=e;const{overflowStyling:s,scrollBarWidth:c}=E,{layoutOrder:u}=q||{},d=Math.min(D,j*A+c);return o.current.listRef=a,U.createElement(cO,l({},W,{dataTestid:"fixed-size-grid",scrollDisabled:null==I?void 0:I.active,height:d,width:n,columnCount:F,columnWidth:z,rowCount:j,rowHeight:A,style:i({},s),itemData:i(i({},H),{},{column:void 0,columnCount:F,rowCount:j}),onItemsRendered:e=>{var n;const i="row"===u;O({start:i?e.visibleRowStartIndex:e.visibleColumnStartIndex,stop:i?e.visibleRowStopIndex:e.visibleColumnStopIndex});const a=function(e){const{renderProps:t,scrollState:n,layoutOrder:r,rowCount:o,columnCount:i}=e,{overscanRowStartIndex:a,overscanRowStopIndex:l,overscanColumnStartIndex:s,overscanColumnStopIndex:c,visibleStopIndex:u}=t;let d,p,f,h;return n&&n.setScrollPos(u),"column"===r?(d=s*o,p=a,f=c*o,h=l):(d=s,p=a*i,f=c,h=l*i),{visibleStartIndex:d+p,visibleStopIndex:f+h}}({renderProps:e,scrollState:S,layoutOrder:u,rowCount:j,columnCount:F});lO({renderProps:e,layoutOptions:q,maxCount:E.maxCount,columnCount:F,rowCount:j,overflowDisclaimer:k,qCardinal:null==t||null===(n=t.qListObject)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.qCardinal,dataOffset:o.current.dataOffset}),r(a)},ref:a}),zR)}}}({direction:f,layout:u,height:m,width:g,checkboxes:z,deducedFrequencyMode:ge,histogram:D,keyboard:w,showGray:E,interactionEvents:oe,select:ie,selectAll:()=>{p.clearItemStates(!1),r.selectListObjectAll("/qListObjectDef")},onCtrlF:I,textAlign:Se,isVertical:pe,pages:ee,selectDisabled:k,isSingleSelect:q,selections:d,scrollState:C,local:B,sizes:ve,listCount:be,overflowDisclaimer:{state:J,set:e=>Y((t=>i(i({},t),{},{show:e})))},setScrollPosition:xe,focusListItems:{first:we.first,setFirst:e=>Ee((t=>i(i({},t),{},{first:e}))),last:we.last,setLast:e=>Ee((t=>i(i({},t),{},{last:e})))},setCurrentScrollIndex:R.set,constraints:a,frequencyMax:$,freqIsAllowed:me,translator:_,showSearch:T,isModal:P}),{columnWidth:Le,listHeight:Re,itemHeight:Oe}=ve||{};return pe||(de=function(e){let{width:t,columnWidth:n,listHeight:r,itemHeight:o}=e;return Math.ceil(t/n)*Math.ceil(r/o)*2}({width:g,columnWidth:Le,listHeight:Re,itemHeight:Oe})),U.createElement($O,null,U.createElement(TR,{className:"screenReaderOnly",layout:u}),U.createElement("div",{className:"screenReaderOnly","aria-live":"assertive"},A),!be&&ne>0&&U.createElement(yO,{width:g,text:"Listbox.NoMatchesForYourTerms"}),U.createElement(_L,{isItemLoaded:re,itemCount:be||1,loadMoreItems:Q.with({minimumBatchSize:de}),threshold:0,minimumBatchSize:de,ref:F,role:"grid"},pe?Ce:ke),J.show&&!J.dismissed&&U.createElement(qO,{text:"Listbox.ItemsOverflow",dismiss:()=>Y((e=>i(i({},e),{},{dismissed:!0}))),parentWidth:null==F||null===(n=F.current)||void 0===n||null===(n=n._listRef)||void 0===n||null===(n=n.props)||void 0===n?void 0:n.width,dense:null==ae?void 0:ae.dense}))}const UO=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]}),VO=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),GO=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]}),KO=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]});var ZO=e=>{let{layout:t,model:n,translator:r,selectionState:o,isDirectQuery:i=!1}=e;if(t.qListObject.qDimensionInfo.qIsOneAndOnlyOne)return[];return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:UO,enabled:()=>["qOption","qAlternative","qExcluded","qDeselected"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:GO,enabled:()=>["qOption"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectPossible("/qListObjectDef")}},!i&&{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:VO,enabled:()=>["qAlternative"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectAlternative("/qListObjectDef")}},!i&&{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:KO,enabled:()=>["qAlternative","qExcluded"].some((e=>t.qListObject.qDimensionInfo.qStateCounts[e]>0)),action:()=>{o.clearItemStates(!1),n.selectListObjectExcluded("/qListObjectDef")}}].filter(Boolean)};const XO=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]});function QO(e){const t=nb(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}const JO={className:"njs-cell-action"},YO=U.forwardRef(((e,t)=>{let{ariaExpanded:n=!1,item:r,addAnchor:o=!1}=e;const i=nb(),{hidden:a,disabled:l,style:s,hasSvgIconShape:c}=QO(r);if(a)return null;const u=Number.parseInt(i.spacing(.5),10),d=r.keyboardAction||r.action,p=d?e=>["Enter"].includes(e.key)&&d():null,f=d?e=>[" ","Spacebar"].includes(e.key)&&d():null,h="actions-toolbar-".concat(r.key);return U.createElement(Xy,{ref:o?null:t,title:r.label,onClick:r.action,onKeyDown:p,onKeyUp:f,disabled:l,style:s,className:[JO.className,h].join(" "),size:"large",disableRipple:!0,"aria-expanded":n,"aria-controls":"moreMenuList","data-testid":h},c&&LL(r.getSvgIconShape()),o&&U.createElement("div",{ref:t,style:{bottom:-u,right:0,position:"absolute",width:"100%",height:0}}))})),eI=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]}),tI=e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]});var nI=e=>LL(tI(e));const rI="njs-action-toolbar-more",oI={icon:"".concat("More","-icon")},iI=ib(dk)((e=>{let{theme:t}=e;return{pointerEvents:"none",["& .".concat(oI.icon)]:{color:t.palette.text.primary}}}));function aI(e){let{item:t,autoFocus:n,onActionClick:r=(()=>{})}=e;const{hidden:o,disabled:i,hasSvgIconShape:a}=QO(t);return o?null:U.createElement(bk,{autoFocus:n,title:t.label,onClick:()=>{t.action(),r()},disabled:i,tabindex:"0"},a&&U.createElement(UC,{className:oI.icon},LL(t.getSvgIconShape())),U.createElement(rx,{noWrap:!0},t.label))}const lI=U.forwardRef(((e,t)=>{let{actions:n=[],show:r=!0,alignTo:o,popoverProps:a={},popoverPaperStyle:s={},onCloseOrActionClick:c=(()=>{})}=e;const u=n.length>0,d=n.findIndex((e=>!e.disabled));return u&&U.createElement(iI,l({},a,{onClose:c,ref:t,open:r,anchorEl:o.current,getContentAnchorEl:null,container:o.current,disablePortal:!0,hideBackdrop:!0,transitionDuration:0,slotProps:{root:{className:rI}},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:i({pointerEvents:"auto",maxWidth:"250px"},s)}}),U.createElement(YC,{id:"moreMenuList"},n.map(((e,t)=>U.createElement(aI,{key:t,item:e,autoFocus:t===d,onActionClick:c})))))})),sI=e=>{const t=e.closest("#actions-toolbar"),n=null==t?void 0:t.querySelectorAll(".njs-cell-action");return Array.from(n).indexOf(e)},cI=e=>{const t=document.querySelector("#actions-toolbar"),n=null==t?void 0:t.querySelectorAll(".njs-cell-action");if(!n.length)return;n[Math.min(Math.max(0,e),n.length-1)].focus()};const uI="ActionsToolbar",dI={item:"".concat(uI,"-item"),itemSpacing:"".concat(uI,"-itemSpacing")},pI=ib(dk)((e=>{let{theme:t}=e;return{["& .".concat(dI.itemSpacing)]:{padding:t.spacing(0,.25)}}})),fI={className:"njs-action-toolbar-popover"},hI=U.forwardRef(((e,t)=>{let{className:n,ariaExpanded:r=!1,actions:o=[],addAnchor:i=!1,isRtl:a=!1}=e;return o.length>0?U.createElement(tC,{item:!0,container:!0,gap:0,flexDirection:a?"row-reverse":"row",wrap:"nowrap",className:n},o.map(((e,n)=>U.createElement(tC,{item:!0,key:e.key,className:"".concat(dI.itemSpacing," ").concat(dI.item)},U.createElement(YO,{ariaExpanded:r,key:e.key,item:e,ref:0===n?t:null,addAnchor:i}))))):null})),mI={pointerEvents:"none"},gI={vertical:"bottom",horizontal:"right"};function vI(e){var t,n;let{show:r=!0,actions:o=[],maxItems:i=3,selections:a={show:!1,api:null,onConfirm:()=>{},onCancel:()=>{}},more:l={enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}},popover:s={show:!1,anchorEl:null},focusHandler:c=null,actionsRefMock:u=null,direction:d="ltr",autoConfirm:p}=e;const f=function(e){let{api:t,onConfirm:n=(()=>{}),onCancel:r=(()=>{}),onKeyDeactivate:o=(()=>{})}=e;const{translator:i}=H.useContext(by);return[{key:"clear",type:"icon-button",label:i.get("Selection.Clear"),enabled:()=>t.canClear(),action:()=>t.clear(),getSvgIconShape:tI},{key:"cancel",type:"icon-button",label:i.get("Selection.Cancel"),enabled:()=>t.canCancel(),action:()=>{r(),t.cancel()},keyboardAction:()=>{o(),r(),t.cancel()},getSvgIconShape:eI},{key:"confirm",type:"icon-button",label:i.get("Selection.Confirm"),enabled:()=>t.canConfirm(),action:()=>{n(),t.confirm()},keyboardAction:()=>{o(),n(),t.confirm()},getSvgIconShape:WL}]}(a),{translator:h,keyboardNavigation:m}=H.useContext(by),[g,v]=H.useState(!1),b={vertical:12,horizontal:(null!==(t=null===(n=s.anchorEl)||void 0===n?void 0:n.clientWidth)&&void 0!==t?t:0)-7},y=H.useRef(),x=H.useRef(),S=nb(),w=H.useMemo((()=>({margin:S.spacing(.5,0)}))),E=e=>{const t=y.current||u;if(!t)return null;const n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]},C=H.useMemo((()=>function(e){let{keyboardNavigation:t,focusHandler:n,getEnabledButton:r,selections:o}=e;return e=>{const{target:i,nativeEvent:a}=e,{keyCode:l}=a;switch(l){case PR.ARROW_LEFT:case PR.ARROW_DOWN:case PR.ARROW_RIGHT:case PR.ARROW_UP:if(i.classList.contains("njs-cell-action")){const e=sI(i),t=[PR.ARROW_LEFT,PR.ARROW_DOWN].includes(l);cI(t?e-1:e+1)}e.stopPropagation(),e.preventDefault();break;case PR.SPACE:e.preventDefault();break;case PR.TAB:t&&null!=n&&n.refocusContent&&(e.shiftKey&&r(!1)===e.target||!e.shiftKey&&r(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),n.refocusContent());break;case PR.ESCAPE:o&&(o.onCancel(),o.api.cancel(),e.preventDefault(),e.stopPropagation())}}}({keyboardNavigation:m,focusHandler:c,getEnabledButton:E,selections:a})),[m,c,E,a]);if(H.useEffect((()=>()=>{v(!1)}),[s.show,r,a.show]),H.useEffect((()=>{if(!c)return;c.on("focus_toolbar_first",(()=>{const e=E(!1);e&&e.focus()})),c.on("focus_toolbar_last",(()=>{const e=E(!0);e&&e.focus()}))}),[]),p){if(a.show){(f.find((e=>"confirm"===e.key))||{action:()=>{}}).action()}return null}let k=l.enabled,L=l.actions;const R=l.alignTo||x,O=o.filter((e=>!e.hidden));if(O.length>i){const e=O.splice(-(O.length-i)-1);k=!0,L=[...e,...l.actions]}if(!a.show&&0===O.length)return null;const I={key:"more",label:h.get("Menu.More"),getSvgIconShape:XO,hidden:!1,active:g,enabled:()=>k,action:()=>v(!g)},T=O.length>0,P=L.length>0,_=T&&a.show||P&&a.show,N="rtl"===d,M=U.createElement(tC,{ref:y,onKeyDown:C,container:!0,gap:0,wrap:"nowrap",id:"actions-toolbar","data-testid":"actions-toolbar",sx:{flexDirection:N?"row-reverse":"row"}},T&&U.createElement(hI,{actions:O}),P&&U.createElement(hI,{id:"actions-toolbar-show-more","data-testid":"actions-toolbar-show-more",ref:x,ariaExpanded:g,actions:[I],addAnchor:!0}),_&&U.createElement(tC,{item:!0,className:dI.itemSpacing,style:w},U.createElement(qE,{orientation:"vertical"})),a.show&&U.createElement(hI,{className:"actions-toolbar-default-actions",actions:f,isRtl:N}),g&&U.createElement(lI,{show:g,actions:L,alignTo:R,popoverProps:l.popoverProps,popoverPaperStyle:l.popoverPaperStyle,onCloseOrActionClick:()=>{v(!1)}}));return s.show?U.createElement(pI,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:s.show,anchorEl:s.anchorEl,anchorOrigin:b,transformOrigin:gI,hideBackdrop:!0,style:mI,PaperProps:{id:"njs-action-toolbar-popover","data-testid":"njs-action-toolbar-popover",className:fI.className,style:{pointerEvents:"auto",padding:S.spacing(.5,.25)}}},M):r&&M}var bI=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M8.588 11.415a6 6 0 1 1 2.828-2.829l4.101 4a1.5 1.5 0 0 1 .014 2.134l-.707.707a1.5 1.5 0 0 1-2.108.014l-4.128-4.026ZM11 6A5 5 0 1 0 1 6a5 5 0 0 0 10 0Zm-1.52 4.888 3.934 3.837a.5.5 0 0 0 .703-.005l.707-.707a.5.5 0 0 0-.005-.711l-3.926-3.829a6.034 6.034 0 0 1-1.413 1.415Z"}}]}))(e));const yI="/qListObjectDef",xI="**",SI=ib(yC)((e=>{var t;let{theme:n}=e;return{color:null===(t=n.listBox)||void 0===t||null===(t=t.content)||void 0===t?void 0:t.color}})),wI=ib(Rk)((e=>{var t;let{theme:n}=e;return{color:null===(t=n.listBox)||void 0===t||null===(t=t.content)||void 0===t?void 0:t.color,display:"flex"}}));function EI(e){let{selections:t,selectionState:n,model:r,keyboard:o,dense:i=!1,visible:a=!0,autoFocus:l=!0,wildCardSearch:s=!1,searchEnabled:c,direction:u,hide:d}=e;const{translator:p}=H.useContext(by),[f,h]=H.useState(""),[m,g]=H.useState(!1),v=H.useRef(),b=nb(),{getStoreValue:y,setStoreValue:x}=vO(r),S="rtl"===u,w=S?"right":"left",E=async()=>{if(t.isModal())try{await r.abortListObjectSearch(yI)}finally{h("")}};H.useEffect((()=>{a||E()}),[a]),H.useEffect((()=>(t.on("deactivated",E),()=>{t.removeListener&&t.removeListener("deactivated",E)})),[]),H.useEffect((()=>{if(m&&v.current){const e=f.length-1;v.current.setSelectionRange(e,e),g(!1)}}),[m,v.current]),H.useEffect((()=>{x("inputText",f)}),[f]);const C=async()=>{let e;return await r.searchListObjectFor(yI,f)&&f.length&&y("listCount")>0&&(e=r.acceptListObjectSearch(yI,!0),t.selectionsMade=!0,n.clearItemStates(!1),h("")),e};function k(e){const t=(null==e?void 0:e.querySelector(".last-focused"))||(null==e?void 0:e.querySelector('[role="row"]:first-child'));t.setAttribute("tabIndex",0),null==t||t.focus()}return a&&!1!==c?U.createElement(wI,{startAdornment:U.createElement(SI,{position:"start"},U.createElement(bI,{size:i?"small":"normal"})),className:"search",sx:[{border:"none",fontSize:14,borderRadius:0,backgroundColor:"transparent","& fieldset":{border:"1px solid ".concat(b.palette.divider),borderWidth:"1px 0 1px 0",borderRadius:0},"&:hover":{border:"none"},paddingLeft:"".concat(KL,"px")},i&&{fontSize:12,paddingLeft:b.spacing(1),"& input":{paddingTop:"5px",paddingBottom:"5px"}},{flexDirection:S?"row-reverse":"row"}],inputRef:v,size:"small",fullWidth:!0,placeholder:p.get("Listbox.Search"),value:f,onFocus:()=>{s&&(h(xI),g(!0)),t.isModal()||t.begin(["/qListObjectDef"])},onChange:async e=>(h(e.target.value),e.target.value.length?r.searchListObjectFor(yI,e.target.value):E()),onKeyDown:async e=>{const{currentTarget:n}=e,r=n.closest(".listbox-container");switch(e.key){case"Enter":C();break;case"Escape":k(r),t.isActive()&&t.cancel();break;case"Tab":e.shiftKey?o.focusSelection():(k(r),null==r||r.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")})));break;case"f":case"F":if(!e.ctrlKey&&!e.metaKey)return;d&&(d(),k(r));break;default:return}e.preventDefault(),e.stopPropagation()},autoFocus:l,inputProps:{tabIndex:o.innerTabStops?0:-1,style:{textAlign:"".concat(w)},"data-testid":"search-input-field","aria-label":p.get("Listbox.Search.ScreenReaderInstructions")}}):null}function CI(e){return Object.keys(Y.prototype).forEach((t=>{e[t]=Y.prototype[t]})),Y.init(e),e}const kI=e=>{let t,{appSelections:n,appModal:r,model:o}=e,i=!1,a=!1;const l={id:o.id,setLayout(e){t=e},begin(e){const t=(()=>{let e=!1;return{isPrevented:()=>e,preventDefault:()=>{e=!0}}})();return this.emit("activate",t),t.isPrevented()?Promise.resolve():(i=!0,this.emit("activated"),r.begin({model:o,paths:e,accept:!0,objectSelections:l}))},clear(){return a=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm(){return a=!1,i=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel(){return a=!1,i=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},async select(e){const t=this.begin([e.params[0]]);if(!n.isModal())return!1;await t;const r=await o[e.method](...e.params);return a="resetMadeSelections"!==e.method,!!r||(o.resetMadeSelections(),!1)},canClear:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked&&!t.qListObject.qDimensionInfo.qIsOneAndOnlyOne:a,canConfirm:()=>t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:a,canCancel:()=>!(t&&t.qListObject&&t.qListObject.qDimensionInfo)||!t.qListObject.qDimensionInfo.qLocked,isActive:()=>i,isModal:()=>n.isModal(l),goModal:e=>r.begin({model:o,paths:e,accept:!1,objectSelections:l}),noModal:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.end(e)}};return CI(l),l},LI=e=>{let{elements:t,objectSelections:n,options:r={}}=e;const o=function(e){let{elements:t,handleClickOutside:n}=e;return e=>{if(!document.contains(e.target))return;const r=t.map((e=>"string"==typeof e?document.querySelector(e):null==e?void 0:e.current)).filter((e=>!!e&&!!document.contains(e)));r.length&&!r.some((t=>t.contains(e.target)))&&n(e)}}({elements:t,handleClickOutside:()=>n.confirm.call(n)});return{activateClickOut(){var e;document.addEventListener("mousedown",o),null==r||null===(e=r.onSelectionActivated)||void 0===e||e.call(r)},deactivateClickOut(){var e;document.removeEventListener("mousedown",o),null==r||null===(e=r.onSelectionDeactivated)||void 0===e||e.call(r)}}};function RI(e,t,n,r){const o=Array.isArray(n)?n:[n],[i]=Ly(e),[a]=wL(t),[l]=wy(),s=l.get(e.id),[c,u]=H.useState();return H.useEffect((()=>{i&&t&&!c&&u(kI({appSelections:i,appModal:s,model:t}))}),[i,t]),H.useEffect((()=>{if(!c)return()=>{};const{activateClickOut:e,deactivateClickOut:t}=LI({elements:o,objectSelections:c,options:r});return c.addListener("activated",e),c.addListener("deactivated",t),()=>{c.isActive()&&c.confirm(),c.removeListener("activated",e),c.removeListener("deactivated",t)}}),[c]),H.useEffect((()=>{c&&c.setLayout(a)}),[c,a]),[c]}function OI(){const e={itemStates:{},ignoreSelectionState:!1,selectedInEngine:[],enginePages:[],setPages:void 0,lastRowCount:void 0,lastApprMaxGlyphCount:void 0,update(t){var n,r;let{setPages:o,pages:i,isSingleSelect:a,selectDisabled:l,layout:s}=t;this.setPages=o;const c=this.lastRowCount===s.qListObject.qSize.qcy,u=this.lastApprMaxGlyphCount===s.qListObject.qDimensionInfo.qApprMaxGlyphCount;c&&u||(this.lastRowCount=s.qListObject.qSize.qcy,this.lastApprMaxGlyphCount=s.qListObject.qDimensionInfo.qApprMaxGlyphCount,this.clearItemStates(!1)),e.enginePages!==i&&void 0!==i&&(e.enginePages=null!=i?i:[],e.selectedInEngine=qL(i),e.selectableValuesUpdating=!1,e.triggerStateChanged()),e.isSingleSelect=a,e.selectDisabled=l,e.isDimCalculated=null!==(n=null==s||null===(r=s.qListObject)||void 0===r||null===(r=r.qDimensionInfo)||void 0===r?void 0:r.qIsCalculated)&&void 0!==n&&n},allowedToSelect:()=>!e.selectDisabled()&&!(e.isDimCalculated&&e.selectableValuesUpdating),setSelectableValuesUpdating(){e.selectableValuesUpdating=!0},useClientItemState:t=>e.ignoreSelectionState||t in e.itemStates,isSelected:t=>e.useClientItemState(t)?!!e.itemStates[t]:e.selectedInEngine.includes(t),getState(t){const{qElemNumber:n,qState:r}=t;return e.useClientItemState(n)?e.itemStates[n]?"XS"===r?"XS":"S":"S"===r||"XS"===r?"A":r:r},updateItemNoEvents(t,n,r){const o=e.isSelected(t);o&&!n?e.itemStates[t]=!1:o||(null==r||r.push(t),e.itemStates[t]=!0)},triggerStateChanged(){if(this.setPages){const t=e.applySelectionsOnPages(e.enginePages);this.setPages(t)}},applySelectionsOnPages(t){const n=t.map((t=>{const n=t.qMatrix.map((t=>{const[n]=t,r=e.getState(n);return[i(i({},n),{},{qState:r}),...t.slice(1)]}));return i(i({},t),{},{qMatrix:n})}));return n},updateItem(t,n,r){e.updateItemNoEvents(t,n,r),e.triggerStateChanged()},updateItems(t,n,r){t.forEach((t=>{e.updateItemNoEvents(t,n,r)})),e.triggerStateChanged()},clearItemStates(t){e.itemStates={},e.ignoreSelectionState=t}};return e}const II=function(e,t){var n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:r};function TI(e){let{alignTo:t,anchorOrigin:n={vertical:"bottom",horizontal:"center"},transformOrigin:r={vertical:"top",horizontal:"center"},show:o,close:i,app:a,fieldName:l,stateName:s="$",autoFocus:c}=e;const u=Boolean(null==l?void 0:l.qLibraryId),d=o&&Boolean(t.current),[p,f]=H.useState(0),h=nb(),m=H.useRef(),[g]=gL({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:u?void 0:[l]},qLibraryId:u?l.qLibraryId:void 0}},a,l,s),v=H.useCallback((()=>{g.lock("/qListObjectDef")}),[g]),b=H.useCallback((()=>{g.unlock("/qListObjectDef")}),[g]),{translator:y}=H.useContext(by),x=H.useRef(),S=H.useRef(),[w]=RI(a,g,S),[E]=wL(g),[C]=H.useState((()=>OI()));if(H.useEffect((()=>{w&&d&&(w.isModal(g)||w.goModal("/qListObjectDef"))}),[w,d]),!g||!E||!y)return null;const k=!0===E.qListObject.qDimensionInfo.qLocked,L=(e,t)=>{const n="escapeKeyDown"!==t;w.noModal(n),i()},R=ZO({layout:E,model:g,translator:y,selectionState:C}),O=function(e){const t=(null==e?void 0:e.qListObject.qDimensionInfo.qStateCounts)||{};return II(t,"qSelected",0)+II(t,"qSelectedExcluded",0)+II(t,"qLocked",0)+II(t,"qLockedExcluded",0)>0}(E);return U.createElement(dk,{open:d,onClose:L,anchorEl:t.current,anchorOrigin:n,transformOrigin:r,PaperProps:{style:{minWidth:"250px"}}},U.createElement(tC,{container:!0,direction:"column",gap:0,ref:S},U.createElement(tC,{item:!0,container:!0,style:{padding:h.spacing(1)}},U.createElement(tC,{item:!0},k?U.createElement(Xy,{onClick:b,disabled:!k,size:"large"},U.createElement(OL,{title:y.get("Listbox.Unlock")})):U.createElement(Xy,{onClick:v,disabled:!O,size:"large"},U.createElement(IL,{title:y.get("Listbox.Lock")}))),U.createElement(tC,{item:!0,xs:!0}),U.createElement(tC,{item:!0},U.createElement(vI,{more:{enabled:!k,actions:R,alignTo:x,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:w,onConfirm:L,onCancel:()=>L(0,"escapeKeyDown")}}))),U.createElement(tC,{item:!0,xs:!0},U.createElement("div",{ref:x}),U.createElement(tC,{item:!0,ref:m},U.createElement(EI,{visible:!0,model:g,listCount:p,selections:w,selectionState:C,keyboard:{enabled:!1},autoFocus:null==c||c})),U.createElement(HO,{model:g,app:a,layout:E,selections:w,selectionState:C,direction:"ltr",onSetListCount:e=>f(e),onCtrlF:()=>{const e=m.current.querySelector("input");null==e||e.focus()},theme:h}))))}function PI(e){let{field:t,api:n,stateIx:r=0,skipHandleShowListBoxPopover:o=!1,moreAlignTo:i=null,onClose:a=(()=>{})}=e;const{translator:l}=H.useContext(by),s=i||H.useRef(),c=nb(),[u,d]=H.useState(!1),p=e=>{e.currentTarget.contains(e.target)&&d(!u)},f=()=>{d(!1),a()},h=t.selections[r];void 0===h.qTotal&&(h.qTotal=0);const m=h.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},g=(m.qSelected+m.qLocked)/h.qTotal,v=m.qAlternative/h.qTotal,b=(m.qExcluded+m.qLockedExcluded+m.qSelectedExcluded)/h.qTotal,y=m.qSelected+m.qSelectedExcluded+m.qLocked+m.qLockedExcluded,x=0===y&&0===h.qTotal;let S="";h.qTotal===y&&h.qTotal>1?S=l.get("CurrentSelections.All"):y>1&&h.qTotal?S=l.get("CurrentSelections.Of",[y,h.qTotal]):h.qSelectedFieldSelectionInfo&&(S=h.qSelectedFieldSelectionInfo.map((e=>e.qName)).join(", ")),"$"!==t.states[r]&&(S="".concat(t.states[r],": ").concat(S));const w=[{color:c.palette.selected.main,ratio:g},{color:c.palette.selected.alternative,ratio:v},{color:c.palette.selected.excluded,ratio:b}];w.forEach(((e,t)=>{e.offset=t?w[t-1].offset+w[t-1].ratio:0}));let E=null,C=null,k=null,L=null;return i||(E=U.createElement(tC,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:h.qLocked?"0.3":""}},U.createElement(rx,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},h.qField),U.createElement(rx,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},S)),h.qLocked?C=U.createElement(tC,{item:!0},U.createElement(Xy,{size:"large"},U.createElement(OL,null))):h.qOneAndOnlyOne||(C=U.createElement(tC,{item:!0},U.createElement(Xy,{title:l.get("Selection.Clear"),onClick:e=>{e.stopPropagation(),n.clearField(h.qField,t.states[r])},size:"large"},U.createElement(RL,null)))),k=U.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===x&&w.map((e=>U.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})))),L=U.createElement(tC,{container:!0,gap:1,ref:s,sx:{backgroundColor:c.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:c.palette.action.hover}},onClick:!1===o&&p||null},E,C,k,u&&U.createElement(TI,{alignTo:s,show:u,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}))),i?U.createElement(TI,{alignTo:s,show:!0,close:f,app:n.model,fieldName:h.qField,stateName:t.states[r]}):L}var _I=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]}))(e));const NI={item:"".concat("MultiState","-item")},MI=ib(tC)((e=>{let{theme:t}=e;return{["&.".concat(NI.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"}}}));function qI(e){let{field:t,api:n,moreAlignTo:r=null,onClose:o=(()=>{})}=e;const[i,a]=H.useState(!!r),[l,s]=H.useState(-1),[c,u]=H.useState(r?r.current:null),d=r||H.useRef(),{translator:p}=H.useContext(by),f=p.get("Selection.ClearAllStates"),h=()=>{s(-1),o()};let m=null;r||(m=U.createElement(U.Fragment,null,U.createElement(tC,{item:!0,xs:!0,zeroMinWidth:!0},U.createElement(Bw,{style:{padding:"0px 8px"},color:"secondary",badgeContent:t.states.length},U.createElement(rx,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),U.createElement(tC,{item:!0},U.createElement("div",{style:{width:"12px"}})),U.createElement(tC,{item:!0},U.createElement(Xy,{size:"large"},U.createElement(_I,null)))));const g=U.createElement(kC,{dense:!0},U.createElement(jC,{title:f,onClick:()=>{t.states.forEach((e=>n.clearField(t.name,e)))}},U.createElement(iy,{variant:"contained",fullWidth:!0},f)),t.states.map(((e,r)=>U.createElement(jC,{key:r,title:t.name,onClick:e=>((e,t)=>{e.stopPropagation(),a(!1),s(t)})(e,r)},U.createElement(Hw,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},U.createElement(PI,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))))),v=U.createElement(dk,{open:i,onClose:()=>{a(!1),o()},anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},g),b=r?v:U.createElement(MI,{container:!0,gap:0,className:NI.item,onClick:e=>{e.currentTarget.contains(e.target)&&(u(e.currentTarget),d.current=e.currentTarget,a(!i))}},m,i&&v,l>-1&&U.createElement(TI,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}));return r&&l>-1?U.createElement(TI,{alignTo:d,show:l>-1,close:h,app:n.model,fieldName:t.selections[l].qField,stateName:t.states[l]}):b}const zI="More",DI={item:"".concat(zI,"-item"),badge:"".concat(zI,"-badge")},AI=ib(tC)((e=>{let{theme:t}=e;return{["&.".concat(DI.item)]:{backgroundColor:t.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:t.palette.action.hover},height:"100%",alignItems:"center"},["& .".concat(DI.badge)]:{padding:t.spacing(0,1)}}}));function jI(e){let{items:t=[],api:n}=e;const r=nb(),[o,i]=H.useState(!1),[a,l]=H.useState(-1),[s,c]=H.useState(null),u=H.useRef(),d=()=>{l(-1)};let p=null;return a>-1&&(p=t[a].states.length>1?U.createElement(qI,{field:t[a],api:n,moreAlignTo:u,onClose:d}):U.createElement(PI,{field:t[a],api:n,skipHandleShowListBoxPopover:!0,moreAlignTo:u,onClose:d})),U.createElement(AI,{container:!0,gap:0,className:DI.item,onClick:e=>{e.currentTarget.contains(e.target)&&(c(e.currentTarget),u.current=e.currentTarget,i(!o))}},U.createElement(tC,{item:!0},U.createElement(Hw,{borderRadius:r.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:r.palette.selected.main,color:r.palette.selected.mainContrastText}},U.createElement(rx,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",t.length))),U.createElement(tC,{item:!0},U.createElement(Xy,{size:"large"},U.createElement(_I,null))),o&&U.createElement(dk,{open:o,onClose:()=>{i(!1)},anchorEl:s,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},U.createElement(kC,{dense:!0},t.map(((e,t)=>U.createElement(jC,{key:t,title:e.name,onClick:e=>((e,t)=>{e.stopPropagation(),i(!1),l(t)})(e,t)},U.createElement(Hw,{border:1,width:"100%",borderRadius:1,borderColor:"divider"},e.states.length>1?U.createElement(qI,{field:e,api:n}):U.createElement(PI,{field:e,api:n}))))))),p)}const FI=120,BI=72;function WI(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((e=>{const r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function $I(e){let{api:t,app:n}=e;const r=nb(),[o]=bL(n),[i]=wL(o),[a,l]=H.useState({items:[],more:[]}),[s]=Cy(),[c,u]=CL(),[d,p]=H.useState(0);return H.useEffect((()=>{if(!u)return;const{width:e}=u,t=Math.floor(e)-BI,n=Math.floor(t/FI);p(n)}),[u]),H.useEffect((()=>{if(!(n&&o&&i&&d))return;const e=function(e){if(!e)return[];const t={};return e.qSelectionObject&&WI(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((e=>WI(e.qSelectionObject,t,e.stateName))),Object.keys(t).map((e=>t[e])).filter((e=>!e.selections.some((e=>e.qIsHidden))))}(i);l((t=>{const r=e;if((()=>{const{model:e}=s.get(n.id)||{};return"njsListbox"===(null==e?void 0:e.genericType)})()&&r.length+1===t.items.length){const e=t.items.filter((e=>!1===r.some((t=>e.name===t.name))))[0],{qField:n}=e.selections[0];e.selections=[{qField:n}];const o=t.items.indexOf(e);r.splice(o,0,e)}let o=[];return d<r.length&&(o=r.splice(d-r.length)),{items:r,more:o}}))}),[n,o,i,t.isInModal(),d]),U.createElement(tC,{ref:c,container:!0,gap:0,wrap:"nowrap",style:{height:"100%"}},a.items.map((e=>U.createElement(tC,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(FI,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?U.createElement(qI,{field:e,api:t}):U.createElement(PI,{field:e,api:t})))),a.more.length>0&&U.createElement(tC,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(BI,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},U.createElement(jI,{items:a.more,api:t})))}var HI=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]}))(e));var UI=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]}))(e));const VI=(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)};function GI(e){let{api:t,app:n}=e;const{translator:r}=H.useContext(by),[o]=function(e){const[t]=bL(e),[n]=wL(t),[r]=EL(e),[o,i]=H.useState(null);return H.useEffect((()=>{r&&t&&n&&VI(t,n,r)}),[r,t,n]),H.useEffect((()=>{if(!n)return;let e=!1,t=!1,r=!1;[n,...n.alternateStates||[]].forEach((n=>{e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((e=>!0!==e.qLocked)).length>0})),i({canGoBack:e,canGoForward:t,canClear:r})}),[n]),[o,t,n]}(n);return U.createElement(tC,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},U.createElement(tC,{item:!0},U.createElement(Xy,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:()=>t.back(),size:"large"},U.createElement(HI,null))),U.createElement(tC,{item:!0},U.createElement(Xy,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:()=>t.forward(),size:"large"},U.createElement(UI,null))),U.createElement(tC,{item:!0},U.createElement(Xy,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:()=>t.clear(),size:"large"},U.createElement(nI,null))))}const KI=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function ZI(e){let[t,n]=e;return(t+(Math.random()*(n-t)|0)).toString(32)}function XI(){return KI.map(ZI).join("")}function QI(e){let{app:t}=e;const n=nb(),[r]=Ly(t);return r?U.createElement(tC,{container:!0,gap:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},U.createElement(tC,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},U.createElement(GI,{api:r,app:t})),U.createElement(tC,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},U.createElement($I,{api:r,app:t}))):null}let JI;JI="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;let YI=null,eT=null;const tT=JI.clearTimeout,nT=JI.setTimeout,rT=JI.cancelAnimationFrame||JI.mozCancelAnimationFrame||JI.webkitCancelAnimationFrame,oT=JI.requestAnimationFrame||JI.mozRequestAnimationFrame||JI.webkitRequestAnimationFrame;function iT(e){let t,n,r,o,i,a,l;const s="undefined"!=typeof document&&document.attachEvent;if(!s){a=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},i=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;a(this),this.__resizeRAF__&&YI(this.__resizeRAF__),this.__resizeRAF__=eT((function(){i(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const c="Webkit Moz O ms".split(" ");let u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<c.length;n++)if(void 0!==t.style[c[n]+"AnimationName"]){d=c[n],s="-"+d.toLowerCase()+"-",r=u[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",o=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(i,c){if(s)i.attachEvent("onresize",c);else{if(!i.__resizeTriggers__){const s=i.ownerDocument,c=JI.getComputedStyle(i);c&&"static"===c.position&&(i.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',i=n.head||n.getElementsByTagName("head")[0],a=n.createElement("style");a.id="detectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(n.createTextNode(r)),i.appendChild(a)}}(s),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const u=s.createElement("div");u.className="expand-trigger",u.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",i.__resizeTriggers__.appendChild(u),i.__resizeTriggers__.appendChild(d),i.appendChild(i.__resizeTriggers__),a(i),i.addEventListener("scroll",l,!0),r&&(i.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&a(i)},i.__resizeTriggers__.addEventListener(r,i.__resizeTriggers__.__animationListener__))}i.__resizeListeners__.push(c)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==rT||null==oT?(YI=tT,eT=function(e){return nT(e,20)}):(YI=function([e,t]){rT(e),tT(t)},eT=function(e){const t=oT((function(){tT(n),e()})),n=nT((function(){rT(t),e()}),20);return[t,n]});class aT extends H.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){var r,o,i,a;const l=window.getComputedStyle(this._parentNode)||{},s=parseFloat(null!==(r=l.paddingLeft)&&void 0!==r?r:"0"),c=parseFloat(null!==(o=l.paddingRight)&&void 0!==o?o:"0"),u=parseFloat(null!==(i=l.paddingTop)&&void 0!==i?i:"0"),d=parseFloat(null!==(a=l.paddingBottom)&&void 0!==a?a:"0"),p=this._parentNode.getBoundingClientRect(),f=p.height-u-d,h=p.width-s-c,m=this._parentNode.offsetHeight-u-d,g=this._parentNode.offsetWidth-s-c;(e||this.state.height===m&&this.state.scaledHeight===f)&&(t||this.state.width===g&&this.state.scaledWidth===h)||(this.setState({height:m,width:g,scaledHeight:f,scaledWidth:h}),"function"==typeof n&&n({height:m,scaledHeight:f,scaledWidth:h,width:g}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props;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,null!=this._parentNode&&("undefined"!=typeof ResizeObserver?(this._resizeObserver=new ResizeObserver((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=iT(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:r=!1,disableWidth:o=!1,nonce:i,onResize:a,style:l={},tagName:s="div",...c}=this.props,{height:u,scaledHeight:d,scaledWidth:p,width:f}=this.state,h={overflow:"visible"},m={};let g=!1;return r||(0===u&&(g=!0),h.height=0,m.height=u,m.scaledHeight=d),o||(0===f&&(g=!0),h.width=0,m.width=f,m.scaledWidth=p),H.createElement(s,{ref:this._setRef,style:{...h,...l},...c},!g&&e(m))}}var lT=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"}}]}))(e));function sT(e){null==e||e.querySelectorAll(".last-focused").forEach((e=>{e.classList.remove("last-focused")}))}function cT(e){return(null==e?void 0:e.closest(".njs-cell"))||(null==e?void 0:e.closest(".qv-gridcell"))}function uT(e){let{keyboard:t,hovering:n,updateKeyScroll:r,containerRef:o,currentScrollIndex:i,isModal:a,constraints:l}=e;return{handleKeyDown:e=>{const{keyCode:n,shiftKey:r=!1}=e.nativeEvent,i=()=>{e.stopPropagation(),e.preventDefault()};if(!t.enabled)return;const l=e.currentTarget.closest(".listbox-container"),s=a();switch(n){case PR.TAB:if(s)r?MR(l)||NR(l):NR(l)||MR(l);else{if(!r)break;t.blur(!0)}i();break;case PR.ENTER:case PR.SPACE:if(!e.target.classList.contains("listbox-container"))break;t.focus(),i();break;case PR.ESCAPE:(e=>{const{currentTarget:n,target:r}=e,i=r.classList.contains("listbox-container"),a=cT(n.closest(".listbox-container")),l=1===(null==a?void 0:a.querySelectorAll(".listbox-container").length);if(i||l)t.blur(!0);else{sT(o.current),n.classList.add("last-focused"),t.blur();const e=n.closest(".listbox-container");e.setAttribute("tabIndex",-1),null==e||e.focus()}})(e)}},handleOnMouseEnter:()=>{(()=>{const e=(null==l?void 0:l.select)||(null==l?void 0:l.active),t=a();return e||t})()||(n.current=!0)},handleOnMouseLeave:()=>{n.current&&(n.current=!1)},globalKeyDown:e=>{if(!n.current)return;const{keyCode:t,ctrlKey:o=!1,shiftKey:a=!1}=e;switch(t){case PR.ARROW_UP:r({up:1});break;case PR.ARROW_DOWN:r({down:1});break;case PR.PAGE_UP:r({up:i.stop-i.start});break;case PR.PAGE_DOWN:r({down:i.stop-i.start});break;case PR.HOME:r({scrollPosition:o&&a?"overflowStart":"start"});break;case PR.END:r({scrollPosition:o&&a?"overflowEnd":"end"});break;default:return}e.preventDefault()}}}const dT=ib("div")((()=>({display:"flex",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"})));function pT(e){let{text:t}=e;const{translator:n}=H.useContext(by);return U.createElement(dT,null,n.get(t))}const fT="ListBoxInline",hT={listBoxHeader:"".concat(fT,"-listBoxHeader"),screenReaderOnly:"".concat(fT,"-screenReaderOnly"),listboxWrapper:"".concat(fT,"-listboxWrapper")},mT=ib(tC,{shouldForwardProp:e=>!["containerPadding","isGridMode"].includes(e)})((e=>{var t,n;let{theme:r,containerPadding:o,isGridMode:i}=e;return{backgroundColor:null!==(t=null===(n=r.listBox)||void 0===n?void 0:n.backgroundColor)&&void 0!==t?t:r.palette.background.default,["& .".concat(hT.listBoxHeader)]:{alignSelf:"center",display:"flex"},["& .".concat(hT.screenReaderOnly)]:{position:"absolute",height:0,width:0,overflow:"hidden"},["& .".concat(hT.listboxWrapper)]:{padding:o},"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(r.palette.custom.focusBorder," !important")},"&:focus ::-webkit-scrollbar-track":{boxShadow:i?void 0:"inset -2px -2px 0px #3F8AB3"},"&:focus-visible":{outline:"none"}}})),gT=ib(rx)((e=>{var t,n,r,o;let{theme:i}=e;return{color:null===(t=i.listBox)||void 0===t||null===(t=t.title)||void 0===t||null===(t=t.main)||void 0===t?void 0:t.color,fontSize:null===(n=i.listBox)||void 0===n||null===(n=n.title)||void 0===n||null===(n=n.main)||void 0===n?void 0:n.fontSize,fontFamily:null===(r=i.listBox)||void 0===r||null===(r=r.title)||void 0===r||null===(r=r.main)||void 0===r?void 0:r.fontFamily,fontWeight:(null===(o=i.listBox)||void 0===o||null===(o=o.title)||void 0===o||null===(o=o.main)||void 0===o?void 0:o.fontWeight)||"bold"}}));const vT=U.memo((function(e){var t,n,r;let{options:o,layout:a}=e;const{app:s,direction:c,frequencyMode:u,checkboxes:d,search:p=!0,focusSearch:f=!1,rangeSelect:h=!0,model:m,selections:g,update:v,fetchStart:b,selectDisabled:y=(()=>!1),postProcessPages:x,calculatePagesHeight:S,showGray:w=!0,scrollState:E,renderedCallback:C,toolbar:k=!0,isPopover:L=!1}=o,R=nb(),O=H.useCallback((()=>{m.unlock("/qListObjectDef")}),[m]),{translator:I,keyboardNavigation:T,themeApi:P,constraints:_}=H.useContext(by);R.listBox=(e=>{const t=(t,n)=>e.getStyle("object.listBox",t,n);return{backgroundColor:t("","backgroundColor"),title:{main:{color:t("title.main","color"),fontSize:t("title.main","fontSize"),fontFamily:t("title.main","fontFamily"),fontWeight:t("title.main","fontWeight")}},content:{color:t("content","color"),fontSize:t("content","fontSize"),fontFamily:t("content","fontFamily")}}})(P);const N=function(e){let{appLayout:t}=e;return!(null==t||!t.qIsDirectQueryMode)}({appLayout:null==s?void 0:s.layout}),M=H.useRef(),[q,z]=CL(),[D,A]=(()=>{const[e,t]=H.useState({}),n=H.useCallback((e=>{t({current:e})}),[t]);return[e,n]})(),[j,F]=H.useState(!1),[B,W]=H.useState(!1),$=H.useRef(!1),[V,G]=H.useState({down:0,up:0,scrollPosition:""}),K=e=>G((t=>i(i({},t),e))),[Z,X]=H.useState({start:0,stop:0}),[Q]=Ly(s),J=H.useRef(null),[Y]=H.useState((()=>OI())),ee=function(e){let{containerRef:t,enabled:n}=e;const[r,o]=H.useState(!1),i={enabled:n,active:r,innerTabStops:!n||r,blur(e){var r;if(!n)return;o(!1);const i=cT(t.current)||(null===(r=t.current)||void 0===r?void 0:r.parentElement);var a;null==(a=t.current)||a.querySelectorAll('[tabIndex="0"]').forEach((e=>{e.setAttribute("tabIndex",-1)})),sT(t.current),e&&i&&(i.setAttribute("tabIndex",0),i.focus())},focus(){if(!n)return;o(!0);const e=t.current,r=null==e?void 0:e.querySelector(".search input"),i=null==e?void 0:e.querySelector(".value.last-focused"),a=null==e?void 0:e.querySelector(".value.selector, .value"),l=null==e?void 0:e.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm"),s=r||i||a||l;null==s||s.setAttribute("tabIndex",0),null==s||s.focus()},focusSelection(){const e=document.querySelector(".actions-toolbar-default-actions .actions-toolbar-confirm");null==e||e.setAttribute("tabIndex",0),null==e||e.focus()}};return i}({containerRef:M,enabled:T}),te=H.useCallback((()=>(e=>{var t,n;let{app:r,appSelections:o}=e;return null!==(t=null===(n=r.isInModalSelection)||void 0===n?void 0:n.call(r))&&void 0!==t?t:o.isInModal()})({app:s,appSelections:Q})),[s,Q]),ne=null==a?void 0:a.qListObject.qDimensionInfo.qError,re=ne&&_.active?"Visualization.Invalid.Dimension":"Visualization.Incomplete",[oe,ie]=H.useState(!1),{handleKeyDown:ae,handleOnMouseEnter:le,handleOnMouseLeave:se,globalKeyDown:ce}=H.useMemo((()=>uT({keyboard:ee,hovering:$,updateKeyScroll:K,containerRef:M,currentScrollIndex:Z,app:s,appSelections:Q,constraints:_,isModal:te})),[ee,$,K,M,Z,s,Q,_,te]),ue=k&&(""===(null==a?void 0:a.title)||!1===(null==a?void 0:a.showTitle))&&!L,de=k&&""!==(null==a?void 0:a.title)&&!1!==(null==a?void 0:a.showTitle)||L;H.useEffect((()=>(document.addEventListener("keydown",ce),()=>{document.removeEventListener("keydown",ce)})),[ce]),H.useEffect((()=>{const e=()=>{F(!0)},t=()=>{F(!1),"toggle"===p&&W(!1)};return L&&(g.isActive()||(g.begin("/qListObjectDef"),g.on("activated",e),g.on("deactivated",t)),F(L)),g&&(g.isModal()||(g.on("activated",e),g.on("deactivated",t)),F(g.isActive())),()=>{g&&g.removeListener&&(g.removeListener("activated",e),g.removeListener("deactivated",t))}}),[g,L]),H.useEffect((()=>{if(D&&D.current&&(p&&f||"toggle"===p&&B)){const e=D.current.querySelector("input");e&&e.focus()}}),[D&&D.current,B,p,f]);const{wildCardSearch:pe,searchEnabled:fe,autoConfirm:he=!1,layoutOptions:me={}}=null!=a?a:{},ge=!1!==fe&&"toggle"===p,ve=!0===(null==a||null===(t=a.qListObject)||void 0===t||null===(t=t.qDimensionInfo)||void 0===t?void 0:t.qLocked),be=ve||ge,ye="H"===(null==a||null===(n=a.qListObject)||void 0===n||null===(n=n.qDimensionInfo)||void 0===n?void 0:n.qGrouping),xe=be||ye,Se=(be?28:0)+(ye?19:0),we="rtl"===c,Ee=KL-(be?7:0),Ce=we?KL-(xe?7:0):4;if(H.useEffect((()=>{if(!J.current||!z)return;const e=function(e){var t,n,r,o;let{containerRect:i,titleRef:a,iconsWidth:l,headerPaddingLeft:s,headerPaddingRight:c}=e;const u=s+c,d=i.width<(null!==(t=null==a||null===(n=a.current)||void 0===n?void 0:n.clientWidth)&&void 0!==t?t:0)+l+u+2+128,p=(null==a||null===(r=a.current)||void 0===r?void 0:r.scrollWidth)>(null==a||null===(o=a.current)||void 0===o?void 0:o.offsetWidth);return!(!d&&!p)}({containerRect:z,titleRef:J,iconsWidth:Se,headerPaddingLeft:Ee,headerPaddingRight:Ce});ie(e)}),[J.current,z]),!m||!a||!I)return null;const ke=ZO({layout:a,model:m,translator:I,selectionState:Y,isDirectQuery:N}),Le=(!0===p||"toggle"===p&&B)&&!y()&&!1!==fe,Re=null!==(r=me.dense)&&void 0!==r&&r,Oe=de?49+(Le?Re?27:40:0)+(Re?39:49):0,Ie=()=>{W(!B)},Te=()=>{if("toggle"===p)Ie();else{const e=D.current.querySelector("input");null==e||e.focus()}},Pe=e=>function(e){let{isDetached:t,showToolbar:n,containerRef:r,isLocked:o,listboxSelectionToolbarItems:i,selections:a,keyboard:l,autoConfirm:s}=e;return{autoConfirm:s,show:n&&!t,popover:{show:n&&t,anchorEl:r.current},more:{enabled:!o,actions:i,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:n,api:a,onConfirm:()=>{null==l||l.focus()},onCancel:()=>{null==l||l.focus()}}}}({isDetached:!L&&e,showToolbar:j,containerRef:M,isLocked:ve,listboxSelectionToolbarItems:ke,selections:g,keyboard:ee,autoConfirm:he}),_e=Le&&"toggle"===p,Ne="grid"===(null==me?void 0:me.dataLayout);let Me;Ne&&(Me="row"===me.layoutOrder?"2px 4px":"2px 6px 2px 4px");const qe=null!=_&&_.active?U.createElement(bI,{title:I.get("Listbox.Search"),size:"large",style:{fontSize:"12px",padding:"7px"}}):U.createElement(Xy,{onClick:Ie,tabIndex:-1,title:I.get("Listbox.Search"),size:"large",disableRipple:!0,"data-testid":"search-toggle-btn"},U.createElement(bI,{style:{fontSize:"12px"}})),ze=y()?U.createElement(OL,{size:"large",style:{fontSize:"12px",padding:"7px"}}):U.createElement(Xy,{title:I.get("SelectionToolbar.ClickToUnlock"),tabIndex:-1,onClick:O,size:"large"},U.createElement(OL,{disableRipple:!0,style:{fontSize:"12px"}}));return ne&&(null==C||C()),U.createElement(U.Fragment,null,ue&&U.createElement(vI,l({direction:c},Pe(!0))),U.createElement(mT,{className:"listbox-container",container:!0,tabIndex:ee.enabled?-1:void 0,direction:"column",gap:0,containerPadding:Me,style:{height:"100%",minHeight:"".concat(Oe,"px"),flexFlow:"column nowrap"},onKeyDown:ae,onMouseEnter:le,onMouseLeave:se,ref:e=>{M.current=e,q(e)},isGridMode:Ne,"aria-label":ee.active?I.get("Listbox.ScreenReaderInstructions"):""},de&&U.createElement(tC,{item:!0,container:!0,minHeight:32,flexDirection:we?"row-reverse":"row",marginY:1,paddingLeft:"".concat(Ee,"px"),paddingRight:"".concat(Ce,"px"),wrap:"nowrap"},xe&&U.createElement(tC,{item:!0,container:!0,alignItems:"center",width:Se},ve?ze:ge&&qe,ye&&U.createElement(lT,{tabIndex:-1,title:I.get("Listbox.DrillDown"),size:"large",style:{fontSize:"12px"}})),U.createElement(tC,{item:!0,xs:!0,minWidth:0,justifyContent:we?"flex-end":"flex-start",className:hT.listBoxHeader},U.createElement(gT,{variant:"h6",noWrap:!0,ref:J,title:a.title},a.title)),U.createElement(tC,{item:!0},U.createElement(vI,l({direction:c},Pe(oe))))),U.createElement(tC,{item:!0,container:!0,direction:"column",style:{height:"100%",minHeight:"50px"},role:"region","aria-label":I.get("Listbox.ResultFilterLabel")},U.createElement(tC,{item:!0,ref:A},U.createElement(EI,{selections:g,selectionState:Y,model:m,dense:Re,keyboard:ee,visible:Le,search:p,autoFocus:_e,wildCardSearch:pe,searchEnabled:fe,direction:c,hide:ge&&Ie})),U.createElement(tC,{item:!0,xs:!0,className:hT.listboxWrapper},ne?U.createElement(pT,{text:re}):U.createElement(aT,null,(e=>{let{height:t,width:n}=e;return U.createElement(HO,{model:m,app:s,theme:R,constraints:_,layout:a,selections:g,selectionState:Y,direction:c,frequencyMode:u,rangeSelect:h,checkboxes:d,height:t,width:n,update:v,fetchStart:b,postProcessPages:x,calculatePagesHeight:S,selectDisabled:y,keyboard:ee,showGray:w,scrollState:E,keyScroll:{state:V,reset:()=>G({up:0,down:0,scrollPosition:""})},currentScrollIndex:{state:Z,set:X},renderedCallback:C,onCtrlF:Te,isModal:te})}))))))}));function bT(e){let{options:t={}}=e;const{model:n}=t,[r]=wL(n);return U.createElement(vT,{options:t,layout:r})}const yT={qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:"",qShowAlternatives:!0,frequencyEnabled:!1,qFrequencyMode:"N",qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},histogram:!1,frequencyMax:void 0,checkboxes:!1,searchEnabled:!0,showTitle:!0,wildCardSearch:!1,autoConfirm:!1,layoutOptions:{dense:!1,dataLayout:"singleColumn",layoutOrder:"row",maxVisibleColumns:{auto:!0,maxColumns:3},maxVisibleRows:{auto:!0,maxRows:3}},title:""};function xT(e){let t;switch(!0){case["none","N","NX_FREQUENCY_NONE"].includes(e):t="N";break;case["value","V","NX_FREQUENCY_VALUE","default"].includes(e):t="V";break;case["percent","P","NX_FREQUENCY_PERCENT"].includes(e):t="P";break;case["relative","R","NX_FREQUENCY_RELATIVE"].includes(e):t="R";break;default:t="N"}return t}const ST=["__DO_NOT_USE__"],wT=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{__DO_NOT_USE__:t={}}=e,n={update:void 0,fetchStart:void 0,showGray:!0,focusSearch:!1,sessionModel:void 0,selectionsApi:void 0,selectDisabled:void 0,postProcessPages:void 0,calculatePagesHeight:!1};return i(i(i({},s(e,ST)),n),t)};function ET(e){let{app:t,fieldIdentifier:n,qId:r,stateName:o,element:a,options:l,renderedCallback:s}=e;const{isExistingObject:c,hasExternalSelectionsApi:u}=function(e){let{qId:t,options:n}=e;return{isExistingObject:!(!t&&!n.sessionModel),hasExternalSelectionsApi:!!n.selectionsApi}}({qId:r,options:l});c||Object.assign(l,{frequencyMode:xT(l.frequencyMode)});const[d,p]=H.useState(0);H.useEffect((()=>{if(d)throw new Error("Source or selection Api can not change after a listbox has been mounted");p(d+1)}),[c,u]);const f=c?function(e){let{app:t,qId:n,options:r={}}=e;const[o,i]=H.useState(),[a]=fL(),{sessionModel:l}=r,s=["dense","frequencyMode","checkboxes","histogram","title","stateName","listLayout"],c=Object.keys(r).filter((e=>s.includes(e)));if(c.length)throw new Error('Option "'.concat(c.join(", "),'" is not applicable for existing objects.'));return H.useEffect((()=>{l?i(l):async function(){const e=a.get(n);if(e)i(e);else{const e=await t.getObject(n);a.set(e.id,e),e.once("closed",(()=>{a.clear(e.id)})),i(e)}}()}),[]),o}({app:t,qId:r,options:l}):function(e){var t;let{app:n,fieldIdentifier:r,stateName:o,options:i={}}=e;const[a,l]=H.useState(""),[s,c]=H.useState(!0),[u,d]=H.useState(),[p,f]=H.useState(),h=null!==(t=i.title)&&void 0!==t?t:p;let{histogram:m=!1,frequencyMode:g="N"}=i;a&&a.failedToFetchFieldDef&&(m=!1,g="N"),H.useEffect((()=>{const e=m||"N"!==g;r.qLibraryId&&e?async function(){try{const e=await n.getDimension(r.qLibraryId),t=await e.getLayout();f(t.qDim.title),"N"===t.qDim.qGrouping?l(t.qDim.qFieldDefs?t.qDim.qFieldDefs[0]:""):l({multiFieldDim:!0}),c(!1)}catch(e){throw c(!1),l({failedToFetchFieldDef:!0}),new Error("Disabling frequency count and histogram: ".concat(e&&e.message))}}():(c(!1),f(r))}),[]);const{dense:v,checkboxes:b,listLayout:y,properties:x={}}=i,S={dense:v};"horizontal"===y&&(S.dataLayout="grid",S.layoutOrder="column",S.maxVisibleColumns={auto:!0},S.maxVisibleRows={auto:!1,maxRows:1});const w=H.useRef();w.current||(w.current=XI());const E=$e(!0,{},yT,{qInfo:{qId:w.current},qListObjectDef:{qStateName:o,qFrequencyMode:m&&"N"===g?"V":g},histogram:m,checkboxes:b,layoutOptions:S,title:h});let C;if($e(!0,E,x),r.qLibraryId?(E.qListObjectDef.qLibraryId=r.qLibraryId,C=r.qLibraryId):(E.qListObjectDef.qDef.qFieldDefs=[r],C=r),"P"!==g&&m)if(null!=a&&a.multiFieldDim)E.frequencyMax="fetch";else{const e=r.qLibraryId?a:C;E.frequencyMax={qValueExpression:jO(e)}}const[k]=gL(E,s?null:n,C,o);return H.useEffect((()=>{k&&d(k)}),[k]),u}({app:t,fieldIdentifier:n,stateName:o,options:l}),h=H.useRef(a),m=u?l.selectionsApi:RI(t,f,[h,".njs-action-toolbar-more",".njs-action-toolbar-popover"],l)[0],g=H.useMemo((()=>i(i({},l),{},{selections:m,model:f,app:t,renderedCallback:s})),[l,m,f,t]);return m&&f?U.createElement(bT,{options:g}):null}const CT={show:!0,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};function kT(e){let{app:t,fieldIdentifier:n,stateName:r,element:o,options:i={}}=e;const[a,l]=H.useState(!!i.show);return U.createElement(TI,{show:a,app:t,alignTo:{current:o},anchorOrigin:i.anchorOrigin,transformOrigin:i.transformOrigin,close:()=>{l(!1),i.onPopoverClose&&i.onPopoverClose()},fieldName:n,stateName:r,autoFocus:i.autoFocus})}function LT(e,t){for(let n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function RT(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}const OT=e=>({qDef:{qFieldDefs:[e]}}),IT=e=>({qDef:{qDef:e}});function TT(e){let{dc:t,def:n,properties:r}=e;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];const o=r,a={dimensions:()=>t.qDimensions,measures:()=>t.qMeasures,addDimension(e){const r="string"==typeof e?OT(e):i(i({},e),{},{qDef:e.qDef||{}});return r.qDef.cId=r.qDef.cId||XI(),r.qDef.qSortCriterias=r.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],r.qOtherTotalSpec=r.qOtherTotalSpec||{},r.qAttributeExpressions=r.qAttributeExpressions||[],r.qAttributeDimensions=r.qAttributeDimensions||[],t.qDimensions.length<a.maxDimensions()?(t.qDimensions.push(r),LT(t.qInterColumnSortOrder,t.qDimensions.length-1),n.dimensions.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(r)),r},removeDimension(e){const r=t.qDimensions.splice(e,1)[0];return RT(t.qInterColumnSortOrder,e),n.dimensions.removed(r,o,e),r},addMeasure(e){const r="string"==typeof e?IT(e):i(i({},e),{},{qDef:e.qDef||{}});r.qDef.cId=r.qDef.cId||XI(),r.qSortBy=r.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},r.qAttributeDimensions=r.qAttributeDimensions||[],r.qAttributeExpressions=r.qAttributeExpressions||[],t.qMeasures.length<a.maxMeasures()?(t.qMeasures.push(r),LT(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),n.measures.added(r,o)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(r))},removeMeasure(e){const r=t.qMeasures.splice(e,1)[0];RT(t.qInterColumnSortOrder,t.qDimensions.length+e),n.measures.removed(r,o,e)},maxDimensions:()=>n.dimensions.max(t.qMeasures.length),maxMeasures:()=>n.measures.max(t.qDimensions.length),canAddDimension:()=>t.qDimensions.length<a.maxDimensions(),canAddMeasure:()=>t.qMeasures.length<a.maxMeasures()};return a}const PT=e=>({qDef:{qFieldDefs:[e]}});function _T(e){let{dc:t,def:n,properties:r}=e;t.qInitialDataFetch=t.qInitialDataFetch||[];const o=r,a={dimensions:()=>t.qLibraryId||t.qDef&&t.qDef.qFieldDefs&&0!==t.qDef.qFieldDefs.length?[t]:[],measures:()=>[],addDimension(e){const r="string"==typeof e?PT(e):i(i({},e),{},{qDef:e.qDef||{}});return r.qDef.cId=r.qDef.cId||XI(),r.qDef.qSortCriterias=t.qDef.qSortCriterias||[{qSortByState:1,qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],Object.keys(r).forEach((e=>{t[e]=r[e]})),n.dimensions.added(r,o),r},removeDimension(e){const r=t;return delete t.qDef,delete t.qLibraryId,n.dimensions.removed(r,o,e),r},addMeasure(){},removeMeasure(){},maxDimensions:()=>1,maxMeasures:()=>0,canAddDimension:()=>0===a.dimensions().length,canAddMeasure:()=>!1};return a}const NT=e=>({qDef:{qFieldDefs:[e]}}),MT=e=>{let t;return t="string"==typeof e?$e(!0,{},yT,{qListObjectDef:NT(e)}):e.qListObjectDef?$e(!0,{},yT,e):$e(!0,{},yT,{qListObjectDef:e}),t};function qT(e){let{children:t,halo:n}=e;const r={async addDimension(e){const r=MT(e),o=r.qListObjectDef;if(o.qDef.cId=o.qDef.cId||XI(),!r.title)if(o.qLibraryId){const e=await n.app.getDimension(o.qLibraryId),t=await e.getProperties();t.qDim.qLabelExpression?r.title={qStringExpression:{qExpr:t.qDim.qLabelExpression}}:r.title=t.qDim.title}else{var i,a;r.title=o.qDef.title||(null===(i=o.qDef.qFieldLabels)||void 0===i?void 0:i[0])||(null===(a=o.qDef.qFieldDefs)||void 0===a?void 0:a[0])}t.push({qProperty:r,qChildren:[]})},addMeasure(){}};return r}function zT(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"}async function DT(e,t){let{sn:n,properties:r,fields:o,children:i}=e;if(!o.length)return;const a=n.qae.data.targets[0];if(!a)return;const{propertyPath:l}=a,s=l.split("/");let c=r;for(let e=0;e<s.length;e++){const t=s[e];c=t?c[t]:c}const u=function(e){return e.match("/qListObjectDef")?_T:e.match("/qChildListDef")?qT:TT}(l),d=u({dc:c,def:a,properties:r,children:i,halo:t});for(let e=0;e<o.length;++e){const t=o[e];"measure"===zT(t)?await d.addMeasure(t):await d.addDimension(t)}}var AT={getValue:(e,t,n)=>{if(null==e||null==t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(""!==t){if(void 0===o[t]||null===o[t])return n;o=o[t]}}return o},setValue:(e,t,n)=>{if(null==e||null==t)return;const r=t.split("."),o=r[r.length-1];let i=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0!==i[t]&&null!==i[t]||(i[t]=Number.isNaN(+r[e+1])?{}:[]),i=i[t]}void 0!==n&&"__proto__"!==o&&"constructor"!==o?i[o]=n:delete i[o]},isEmpty:e=>0===Object.keys(e).length&&e.constructor===Object};var jT={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;let n=e.indexOf(t[0]);if(-1!==n){for(let r=0;r<t.length;r++){const o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){let n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){let n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}};const FT=2**53-1;function BT(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function WT(e,t){const n=$e(!0,{},t,e);return AT.getValue(n,"qOtherTotalSpec.qOtherCounted")||AT.setValue(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),AT.getValue(n,"qOtherTotalSpec.qOtherLimit")||AT.setValue(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function $T(e,t){return $e(!0,{},t,e)}function HT(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var UT={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((t=>{e.qLayoutExclude.changed[t].to===AT.getValue(e,t)&&AT.setValue(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:BT,importCommonProperties:function(e,t,n){const r="masterobject"===AT.getValue(t,"properties.qInfo.qType")?"masterobject":AT.getValue(n,"qInfo.qType");AT.setValue(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:WT,createDefaultMeasure:$T,resolveValue:HT,getHypercubePath:function(e){const t=AT.getValue(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){let{exportFormat:t,newHyperCubeDef:n}=e;const r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();let i=n.qInterColumnSortOrder.length;if(i!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());i!==o;)i<o?(jT.indexAdded(n.qInterColumnSortOrder,i),++i):(--i,jT.indexRemoved(n.qInterColumnSortOrder,i))},createNewProperties:function(e){let{exportFormat:t,initialProperties:n,hypercubePath:r}=e,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((e=>{"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=$e(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?AT.setValue(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||BT(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),o=$e(!0,{},n,o),null===o.components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){let{exportFormat:t,dataDefinition:n={}}=e;const r=t.data[0],o=n.dimensions||{max:0},i=n.measures||{max:0},a=HT(i.max,r.dimensions.length,FT),l=HT(i.min,r.dimensions.length,0);return{maxDimensions:HT(o.max,a,FT),minDimensions:HT(o.min,l,0),maxMeasures:a,minMeasures:l}},shouldInitLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:i}=e;const a=t.data[0];return a.dimensions.length>n&&n>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>r||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!n&&a.dimensions.length>0},initLayoutExclude:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,maxMeasures:o,minMeasures:i,newHyperCubeDef:a}=e;const l=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){let{exportFormat:t,maxDimensions:n,minDimensions:r,newHyperCubeDef:o,defaultDimension:i}=e;const a=t.data[0];let l;if(n>0)for(l=0;l<a.dimensions.length;++l)o.qDimensions.length<n?o.qDimensions.push(WT(a.dimensions[l],i)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(WT(a.dimensions[l],i));else if(a.dimensions.length)for(l=0;l<a.dimensions.length;++l)o.qLayoutExclude.qHyperCubeDef.qDimensions.push(WT(a.dimensions[l],i));if(a.excludedDimensions.length)for(l=0;l<a.excludedDimensions.length;++l)o.qDimensions.length<r?o.qDimensions.push(WT(a.excludedDimensions[l],i)):o.qLayoutExclude.qHyperCubeDef.qDimensions.push(WT(a.excludedDimensions[l],i))},addDefaultMeasures:function(e){let{exportFormat:t,maxMeasures:n,minMeasures:r,newHyperCubeDef:o,defaultMeasure:i}=e;const a=t.data[0];let l;if(n>0)for(l=0;l<a.measures.length;++l)o.qMeasures.length<n?o.qMeasures.push($T(a.measures[l],i)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push($T(a.measures[l],i));else if(a.measures.length)for(l=0;l<a.measures.length;++l)o.qLayoutExclude.qHyperCubeDef.qMeasures.push($T(a.measures[l],i));if(a.excludedMeasures.length)for(l=0;l<a.excludedMeasures.length;++l)o.qMeasures.length<r?o.qMeasures.push($T(a.excludedMeasures[l],i)):o.qLayoutExclude.qHyperCubeDef.qMeasures.push($T(a.excludedMeasures[l],i))},updateDimensionsOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.dimensions&&"function"==typeof n.dimensions.added){const e=AT.getValue(t,r||"").qHyperCubeDef,o=[...e.qDimensions];e.qDimensions=[],o.forEach((r=>{e.qDimensions.push(r),n.dimensions.added(r,t)}))}},updateMeasuresOnAdded:function(e){let{newProperties:t,dataDefinition:n,hypercubePath:r}=e;if(n.measures&&"function"==typeof n.measures.added){const e=AT.getValue(t,r||"").qHyperCubeDef,o=[...e.qMeasures];e.qMeasures=[],o.forEach((r=>{e.qMeasures.push(r),n.measures.added(r,t)}))}}};var VT={exportProperties:e=>function(e){let{propertyTree:t,hypercubePath:n}=e;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t={data:[],properties:{}};for(let n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),o=t.qProperty,i=AT.getValue(o,n||""),a=i.qHyperCubeDef,l=r.data[0];if(a.qInterColumnSortOrder||(a.qInterColumnSortOrder=[]),l.dimensions.push(...a.qDimensions),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qDimensions&&l.excludedDimensions.push(...a.qLayoutExclude.qHyperCubeDef.qDimensions),l.measures.push(...a.qMeasures),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qMeasures&&l.excludedMeasures.push(...a.qLayoutExclude.qHyperCubeDef.qMeasures),l.interColumnSortOrder=a.qInterColumnSortOrder.concat(),a.qLayoutExclude&&a.qLayoutExclude.qHyperCubeDef&&a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){const e=a.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();jT.isOrderedSubset(e,l.interColumnSortOrder)&&(l.interColumnSortOrder=e)}return delete a.qLayoutExclude,Object.keys(o).forEach((e=>{r.properties[e]=o[e]})),n&&(r.properties.qHyperCubeDef=i.qHyperCubeDef,delete i.qHyperCubeDef),o.qLayoutExclude||(o.qLayoutExclude={}),o.qLayoutExclude.disabled&&(Object.keys(o.qLayoutExclude.disabled).forEach((e=>{r.properties.hasOwnProperty(e)||(r.properties[e]=o.qLayoutExclude.disabled[e])})),delete o.qLayoutExclude.disabled),o.qLayoutExclude.changed&&(UT.restoreChangedProperties(o),delete o.qLayoutExclude.changed),o.qLayoutExclude.quarantine&&!AT.isEmpty(o.qLayoutExclude.quarantine)||delete o.qLayoutExclude,r}(e),importProperties:e=>function(e){let{exportFormat:t,initialProperties:n={},dataDefinition:r={},defaultPropertyValues:o={},hypercubePath:i}=e;const a={qChildren:[]},l=UT.createNewProperties({exportFormat:t,initialProperties:n,hypercubePath:i}),s=AT.getValue(n,i||"").qHyperCubeDef,c=AT.getValue(l,i||"").qHyperCubeDef,{maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f}=UT.getMaxMinDimensionMeasure({exportFormat:t,dataDefinition:r}),{defaultDimension:h=UT.getDefaultDimension(),defaultMeasure:m=UT.getDefaultMeasure()}=o;return c.qDimensions.length=0,c.qMeasures.length=0,UT.shouldInitLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f})&&UT.initLayoutExclude({exportFormat:t,maxDimensions:u,minDimensions:d,maxMeasures:p,minMeasures:f,newHyperCubeDef:c}),UT.addDefaultDimensions({exportFormat:t,maxDimensions:u,minDimensions:d,newHyperCubeDef:c,defaultDimension:h}),UT.addDefaultMeasures({exportFormat:t,maxMeasures:p,minMeasures:f,newHyperCubeDef:c,defaultMeasure:m}),UT.setInterColumnSortOrder({exportFormat:t,newHyperCubeDef:c}),UT.copyPropertyIfExist("qMaxStackedCells",s,c),UT.copyPropertyIfExist("qNoOfLeftDims",s,c),UT.copyPropertyOrSetDefault("qInitialDataFetch",s,c,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),UT.copyPropertyOrSetDefault("qMode",s,c,"S"),UT.copyPropertyOrSetDefault("qReductionMode",s,c,"N"),UT.copyPropertyOrSetDefault("qSortbyYValue",s,c),UT.copyPropertyOrSetDefault("qIndentMode",s,c),UT.copyPropertyOrSetDefault("qShowTotalsAbove",s,c),UT.importCommonProperties(l,t,n),UT.updateDimensionsOnAdded({newProperties:l,dataDefinition:r,hypercubePath:i}),UT.updateMeasuresOnAdded({newProperties:l,dataDefinition:r,hypercubePath:i}),a.qProperty=l,a}(e)};const GT=e=>AT.getValue(e,"data.targets.0.propertyPath"),KT=e=>{if(e.exportProperties)return e.exportProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return VT.exportProperties})(GT(e))},ZT=e=>{if(e.importProperties)return e.importProperties;return(e=>{if(e.split("/").indexOf("qHyperCubeDef")>-1)return VT.importProperties})(GT(e))},XT=async e=>{let{halo:t,model:n,cellRef:r,newType:o}=e;const a=await n.getFullPropertyTree(),l=r.current.getQae(),s=KT(l),c=await(async e=>{let{halo:t,name:n,version:r}=e;const{types:o}=t;return await o.get({name:n,version:r}).supernova()})({halo:t,name:o}),u=c.qae;return ZT(u)({exportFormat:s({propertyTree:a,hypercubePath:UT.getHypercubePath(l)}),initialProperties:i({qInfo:{qType:o},visualization:o},AT.getValue(u,"properties.initial",{})),dataDefinition:AT.getValue(u,"data.targets.0.",{}),hypercubePath:UT.getHypercubePath(u)})},QT={hypercube:VT};var JT=e=>LL((e=>i(i({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]}))(e));function YT(e){let{d:t}=e;const n=nb();let r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);const i={color:o},a=U.createElement(rx,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},U.createElement(pC,null,t.missing||t.error?U.createElement(JT,{style:i}):U.createElement($L,{style:i})));return U.createElement(tC,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},U.createElement(tC,{item:!0},a),U.createElement(tC,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},U.createElement(rx,{noWrap:!0,component:"p"},U.createElement(rx,{component:"span",variant:"subtitle2",color:r},t.description),U.createElement(rx,{component:"span"}," "),U.createElement(rx,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))}function eP(e){let{data:t}=e;const n=nb();return U.createElement(tC,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map(((e,t)=>{const r=e.descriptions.map(((e,t)=>U.createElement(YT,{d:e,key:t})));return r.length>0&&U.createElement(tC,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},U.createElement(rx,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))}function tP(e){let{title:t="Error",message:n="",data:r=[]}=e;return U.createElement(tC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},U.createElement(tC,{item:!0},U.createElement(JT,{style:{fontSize:"38px"}})),U.createElement(tC,{item:!0},U.createElement(rx,{variant:"h6",align:"center","data-tid":"error-title"},t)),U.createElement(tC,{item:!0},U.createElement(rx,{variant:"subtitle1",align:"center","data-tid":"error-message"},n)),U.createElement(eP,{data:r}))}const nP=["size"],rP="Progress",oP={root:"".concat(rP,"-root"),front:"".concat(rP,"-front"),back:"".concat(rP,"-back")},iP=ib("div")((e=>{let{theme:t}=e;return{["&.".concat(oP.root)]:{position:"relative",display:"inline-block"},["& .".concat(oP.front)]:{color:t.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},["& .".concat(oP.back)]:{color:t.palette.divider}}})),aP={small:16,medium:32,large:64,xlarge:128};function lP(e){let{size:t="medium"}=e,n=s(e,nP);const r=aP[t];return U.createElement(iP,{className:oP.root},U.createElement(EE,l({variant:"determinate",value:100,className:oP.back,size:r,thickness:3},n)),U.createElement(EE,l({variant:"indeterminate",disableShrink:!0,className:oP.front,size:r,thickness:3},n)))}const sP=["cancel","translator"],cP=["retry","translator"],uP={stripes:"".concat("LongRunningQuery","-stripes")},dP=ib(tC)((()=>({["& .".concat(uP.stripes)]:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}})));function pP(e){let{cancel:t,translator:n}=e,r=s(e,sP);return U.createElement(U.Fragment,null,U.createElement(dP,{container:!0,item:!0,direction:"column",alignItems:"center",gap:2},U.createElement(tC,{item:!0},U.createElement(lP,null)),U.createElement(tC,{item:!0},U.createElement(rx,{variant:"h6",align:"center","data-tid":"update-active"},n.get("Object.Update.Active")))),U.createElement(tC,l({item:!0},r),U.createElement(iy,{variant:"contained",onClick:t},n.get("Cancel"))))}function fP(e){let{retry:t,translator:n}=e,r=s(e,cP);return U.createElement(U.Fragment,null,U.createElement(tC,{item:!0},U.createElement(JT,{style:{fontSize:"38px"}})),U.createElement(tC,{item:!0},U.createElement(rx,{variant:"h6",align:"center","data-tid":"update-cancelled"},n.get("Object.Update.Cancelled"))),U.createElement(tC,{item:!0},U.createElement(iy,l({variant:"contained",onClick:t},r),n.get("Retry"))))}function hP(e){let{canCancel:t,canRetry:n,api:r}=e;const{translator:o}=H.useContext(by);return U.createElement(tC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:uP.stripes,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},t&&U.createElement(pP,{cancel:r.cancel,translator:o,className:uP.cancel}),n&&U.createElement(fP,{retry:r.retry,translator:o,className:uP.retry}))}function mP(){return U.createElement(tC,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},gap:2},U.createElement(lP,{size:"large"}))}const gP="Header",vP={containerStyle:"".concat(gP,"-containerStyle"),containerTitleStyle:"".concat(gP,"-containerTitleStyle")},bP=ib(tC)((e=>{let{theme:t}=e;return{["&.".concat(vP.containerStyle)]:{flexGrow:0},["&.".concat(vP.containerTitleStyle)]:{paddingBottom:t.spacing(1)}}})),yP="njs-cell-title",xP="njs-cell-sub-title";function SP(e){let{layout:t,sn:n,anchorEl:r,hovering:o,focusHandler:i,titleStyles:a={}}=e;const l=t.showTitles&&!!t.title,s=t.showTitles&&!!t.subtitle,c=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,[u,d]=H.useState([]),[p,f]=CL(),[h,m]=H.useState(!1);H.useEffect((()=>{n&&n.component&&n.component.isHooked&&n.component.observeActions((e=>{d([...e,...n&&n.selectionToolbar&&n.selectionToolbar.items||[]])}))}),[n]),H.useEffect((()=>{if(!f)return;const{width:e}=f;m(e<221)}),[f]);const g=l||s,v=[vP.containerStyle,...g?[vP.containerTitleStyle]:[]],b=(o||c)&&(h||!g),y=g&&!b&&!h,x=U.createElement(vI,{show:y,selections:{show:c,api:n.component.selections,onKeyDeactivate:i.refocusContent},actions:u,popover:{show:b,anchorEl:r},focusHandler:i});return U.createElement(bP,{ref:p,item:!0,container:!0,wrap:"nowrap",className:v.join(" ")},U.createElement(tC,{item:!0,zeroMinWidth:!0,xs:!0},U.createElement(tC,{container:!0,wrap:"nowrap",direction:"column"},l&&U.createElement(rx,{variant:"h6",noWrap:!0,className:yP,style:a.main},t.title),s&&U.createElement(rx,{variant:"body2",noWrap:!0,className:xP,style:a.subTitle},t.subtitle))),U.createElement(tC,{item:!0},x))}const wP={itemStyle:"".concat("Footer","-itemStyle")},EP=ib(tC)((e=>{let{theme:t}=e;return{["& .".concat(wP.itemStyle)]:{minWidth:0,paddingTop:t.spacing(1)}}})),CP="njs-cell-footer";function kP(e){let{layout:t,titleStyles:n={}}=e;return t&&t.showTitles&&t.footnote?U.createElement(EP,{container:!0},U.createElement(tC,{item:!0,className:wP.itemStyle},U.createElement(rx,{noWrap:!0,variant:"body2",className:CP,style:n.footer},t.footnote))):null}class LP{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 RP="njs-viz";function OP(e){let{sn:t,snOptions:n,snPlugins:r,layout:o,appLayout:a,halo:l}=e;const{component:s}=t,{theme:c,language:u,constraints:d,interactions:p,keyboardNavigation:f}=H.useContext(by),[h]=H.useState((()=>new LP)),[m,g]=H.useState(!1),[v,b]=H.useState(0),[y,x,S]=CL(),[w,E]=H.useState(null),C=H.useCallback((e=>{e&&E(e)}),[]);return H.useEffect((()=>{if(w)return s.created({options:n}),s.mounted(w),g(!0),()=>{h.stop(),s.willUnmount()}}),[w,s]),H.useEffect((()=>{m&&w&&x&&(!s.isHooked&&o&&o.qSelectionInfo&&o.qSelectionInfo.qInSelections||h.schedule((()=>{const e=[];return d.passive||e.push("passive"),d.active||e.push("interact"),d.select||e.push("select"),d.edit||e.push("edit"),l.app&&l.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:o,options:n,plugins:r,embed:l.public.nebbie,context:i({constraints:d,interactions:p,theme:l.public.theme,appLayout:a,keyboardNavigation:f},s.isHooked?{}:{logicalSize:t.logicalSize({layout:o}),localeInfo:(a||{}).qLocaleInfo,permissions:e})})).then((e=>{!1!==e&&(0===v&&"function"==typeof n.onInitialRender&&n.onInitialRender.call(null),b(v+1))}))})))}),[x,n,r,w,S,o,a,c,u,d,p,m,f]),U.createElement("div",{ref:y,"data-render-count":v,style:{position:"relative",height:"100%"},className:RP},U.createElement("div",{ref:C,style:{position:"absolute",width:"100%",height:"100%"}}))}const IP={originalSize:"auto auto",alwaysFit:"contain",fitWidth:"100% auto",fitHeight:"auto 100%",stretchFit:"100% 100%",alwaysFill:"cover"},TP={"top-left":"top left","top-center":"top center","top-right":"top right","center-left":"center left","center-center":"center center","center-right":"center right","bottom-left":"bottom left","bottom-center":"bottom center","bottom-right":"bottom right"};function PP(e,t){return t?function(e){var t;let n,r,o,i;return null!=e&&null!==(t=e.session)&&void 0!==t&&t.config?(n=e.session.config,r=new URL(n.url),i="wss:"===r.protocol,o=i?"https://":"http://",o+r.host):""}(e)+t:void 0}function _P(e,t){const n=null==e?void 0:e.bgImage;if(n){let o="";var r;if("media"===n.mode||"media"===e.useImage)o=null!=n&&null!==(r=n.mediaUrl)&&void 0!==r&&null!==(r=r.qStaticContentUrl)&&void 0!==r&&r.qUrl?decodeURIComponent(n.mediaUrl.qStaticContentUrl.qUrl):void 0,o=PP(t,o);"expression"===n.mode&&(o=n.expressionUrl?decodeURIComponent(n.expressionUrl):void 0);const i=function(e){var t;let n="center center";return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.position&&(n=TP[e.bgImage.position]),n}(e),a=function(e){var t;let n=IP.originalSize;return null!=e&&null!==(t=e.bgImage)&&void 0!==t&&t.sizing&&(n=IP[e.bgImage.sizing]),n}(e);return o?{url:o,pos:i,size:a}:void 0}}function NP(e,t,n){const r=null==e?void 0:e.bgColor;return r&&t?r.useExpression?t.validateColor(r.colorExpression):r.color&&"none"!==r.color.color?t.getColorPickerColor(r.color,!0):void 0:t&&n?t.getStyle("object.".concat(n),"","backgroundColor"):t?t.getStyle("","","backgroundColor"):void 0}function MP(e,t,n,r){var o;const i=(null==e||null===(o=e.title)||void 0===o?void 0:o[t])||{},a=function(e,t){return e&&Array.isArray(e)?e:"main"===t?["bold"]:[]}(i.fontStyle,t);return{fontFamily:i.fontFamily||n.getStyle("object.".concat(r),"title.".concat(t),"fontFamily"),color:i.color&&"none"!==i.color.color?n.getColorPickerColor(i.color,!0):n.getStyle("object.".concat(r),t,"color"),fontWeight:a.includes("bold")?"bold":"normal",fontStyle:a.includes("italic")?"italic":"normal",textDecoration:a.includes("underline")?"underline":"initial"}}const qP="njs-cell",zP=(e,t)=>{switch(t.type){case"LOADING":return i(i({},e),{},{loading:!0});case"LOADED":return i(i({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return i(i({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return i(i({},e),{},{longRunningQuery:!0});case"ERROR":return i(i({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}};function DP(e){let{delay:t=750}=e;const[n,r]=H.useState(!1);return H.useEffect((()=>{const e=setTimeout((()=>r(!0)),t);return()=>clearTimeout(e)}),[]),n?U.createElement(mP,null):null}const AP=e=>!e.qError||7005===e.qError.qErrorCode,jP=(e,t,n,r,o)=>[...Array(e).keys()].map((e=>{const i=!(!t||!t[e]),a=i&&t[e].qError&&7005===t[e].qError.qErrorCode,l=i&&!a&&t[e].qError,s=a&&t[e].qCalcCondMsg,c="".concat(l?r:a?s||o:i&&t[e].qFallbackTitle||""),u=n(e);return{description:u?"".concat(u).concat(c.length?":":""):null,label:c,missing:t&&!i&&!l&&e>=t.length||a,error:l}})),FP=e=>e&&(Array.isArray(e)?e:[e])||[],BP=(e,t,n,r)=>{const o=r.dimensions.min(),i=r.measures.min(),a=r.resolveLayout(t);return{reqDimErrors:jP(o,FP(a.qDimensionInfo||a.qItems),(e=>r.dimensions.description(n,e)),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:jP(i,FP(a.qMeasureInfo),(e=>r.measures.description(n,e)),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},WP=async(e,t,n,r)=>{let{targets:o}=n;const{hasUnfulfilledErrors:i,aggMinD:a,aggMinM:l,hasLayoutErrors:s,layoutErrors:c}=((e,t,n)=>{let r=!1,o=0,i=0,a=!1,l=!1;const s=[];for(let c=0;c<t.length;++c){const u=t[c],d=u.dimensions.min(),p=u.measures.min(),f=u.resolveLayout(n),h=FP(f.qDimensionInfo||f.qItems).filter(AP),m=FP(f.qMeasureInfo).filter(AP);if(o+=d,i+=p,(h.length<d||m.length<p)&&(r=!0),f.qError){a=!0,l=7005===f.qError.qErrorCode;const t=l&&f.qCalcCondMsg?f.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:t,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:i,hasLayoutErrors:a,layoutErrors:s}})(e,o,t),u=[],d=[];let p=null;for(let n=0;n<o.length;++n){const a=o[n];if(!s&&i){const n=p||await r.getProperties();p=n;const o=BP(e,t,n,a);u.push(...o.reqDimErrors),d.push(...o.reqMeasErrors)}}const f=u.filter((e=>!(e.missing||e.error))).length,h=e.get("Visualization.Incomplete.Dimensions",[f,a]),m=d.filter((e=>!(e.missing||e.error))).length,g=e.get("Visualization.Incomplete.Measures",[m,l]),v=[{title:h,descriptions:[...u]},{title:g,descriptions:[...d]}],b=s?c:v;return[s||i,{title:s?c[0].title:e.get("Visualization.Incomplete"),data:b}]},$P=H.forwardRef(((e,t)=>{let{halo:n,model:r,initialSnOptions:o,initialSnPlugins:a,initialError:l,onMount:s,currentId:c,emitter:u}=e;const{app:d,types:p}=n,{nebbie:f}=n.public,{theme:h,translator:m,language:g,keyboardNavigation:v,disableCellPadding:b=!1}=H.useContext(by),y=nb(),[x,S,w]=CL(),[E,C]=H.useReducer(zP,{loading:!1,loaded:!1,longRunningQuery:!1,error:(k=l)?{title:k.message}:null,sn:null,visualization:null});var k;const[L,{validating:R,canCancel:O,canRetry:I},T]=wL(r),[P]=EL(d),[_,N,M]=CL(),[q,z]=H.useState(o),[D,A]=H.useState(a),j="njs-cell-".concat(c),[F]=RI(d,r,["#".concat(j),".njs-action-toolbar-popover"]),[B,W]=H.useState(!1),$=H.useRef({enter:null,leave:null}),[V,G]=H.useState(void 0),[K,Z]=H.useState(void 0),[X,Q]=H.useState(void 0),J=H.useRef({focusToolbarButton(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});H.useEffect((()=>{CI(J.current)}),[]),H.useEffect((()=>{if(L&&n.public.theme){const e=L.components?L.components.find((e=>"general"===e.key)):null;Q({main:MP(e,"main",n.public.theme,L.visualization),footer:MP(e,"footer",n.public.theme,L.visualization),subTitle:MP(e,"subTitle",n.public.theme,L.visualization)}),G(NP(e,n.public.theme,L.visualization)),Z(_P(e,n.app))}}),[L,n.public.theme,n.app,h]),J.current.blurCallback=e=>{n.root.toggleFocusOfCells(),e&&M&&M.focus()},J.current.refocusContent=()=>{E.sn.component&&"function"==typeof E.sn.component.focus&&E.sn.component.focus()};H.useEffect((()=>{if(l||!P||!L)return;if(E.visualization===L.visualization&&E.sn)return void(async e=>{const[t,n]=await WP(m,L,e.generator.qae.data,r);C(t?{type:"ERROR",error:n}:{type:"RENDER"}),(e=>{let{sn:t,layout:n,model:r}=e;const o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){const{targets:e}=t.generator.qae.data,n=e[0].propertyPath;o.goModal(n)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}})({sn:E.sn,layout:L,model:r})})(E.sn);const e=p.getSupportedVersion(L.visualization,L.version);return(async(e,t)=>{C({type:"LOADING"});const n=await(async e=>{let{dispatch:t,types:n,visualization:r,version:o,model:i,app:a,selections:l,nebbie:s,focusHandler:c,emitter:u}=e;try{const e=await(async e=>{let{types:t,name:n,version:r}=e;return await t.get({name:n,version:r}).supernova()})({types:n,name:r,version:o});return e.create({model:i,app:a,selections:l,nebbie:s,focusHandler:c,emitter:u})}catch(e){t(o?{type:"ERROR",error:{title:e.message}}:{type:"ERROR",error:{title:"Could not find a version of '".concat(r,"' that supports current object version. Did you forget to register ").concat(r,"?")}})}})({dispatch:C,types:p,visualization:e,version:t,model:r,app:d,selections:F,nebbie:f,focusHandler:J.current,emitter:u});n&&(C({type:"LOADED",sn:n,visualization:e}),s())})(L.visualization,e),()=>{}}),[p,E.sn,r,F,L,P,g]),H.useEffect((()=>{if(!R)return;const e=setTimeout((()=>C({type:"LONG_RUNNING_QUERY"})),2e3);return()=>clearTimeout(e)}),[R]),H.useImperativeHandle(t,(()=>({getQae:()=>E.sn.generator.qae,toggleFocus(e){"function"==typeof E.sn.component.focus&&(e?E.sn.component.focus():E.sn.component.blur())},setSnOptions:z,setSnPlugins:A,getImperativeHandle(){var e;return null!==(e=E.sn)&&void 0!==e&&e.component&&"function"==typeof E.sn.component.getImperativeHandle?E.sn.component.getImperativeHandle():{}},async takeSnapshot(){const{width:e,height:t}=S;let n=JSON.parse(JSON.stringify(L));return"function"==typeof E.sn.component.setSnapshotData&&(n=await E.sn.component.setSnapshotData(n)||n),{key:String(+Date.now()),meta:{language:m.language(),theme:y.name,appLayout:P,size:{width:Math.round(e),height:Math.round(t)}},layout:n}},async exportImage(){if("function"!=typeof n.config.snapshot.capture)throw new Error("Stardust embed has not been configured with snapshot.capture callback");const e=await this.takeSnapshot();return n.config.snapshot.capture(e)}})),[E.sn,N,S,L,y.name,P]);let Y=null;return E.loading&&!E.longRunningQuery?Y=U.createElement(DP,null):E.error?Y=U.createElement(tP,E.error):E.loaded&&(Y=U.createElement(OP,{key:L.visualization,sn:E.sn,halo:n,snOptions:q,snPlugins:D,layout:L,appLayout:P})),U.createElement(Hy,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",backgroundColor:V||"unset",backgroundImage:K&&K.url?"url(".concat(K.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:K&&K.size,backgroundPosition:K&&K.pos},elevation:0,square:!0,className:qP,ref:x,id:j,onMouseEnter:()=>{$.current.leave&&clearTimeout($.current.leave),$.enter||($.current.enter=setTimeout((()=>{W(!0),$.current.enter=null}),250))},onMouseLeave:()=>{$.current.enter&&clearTimeout($.current.enter),$.current.leave||($.current.leave=setTimeout((()=>{W(!1),$.current.leave=null}),750))}},U.createElement(tC,{container:!0,direction:"column",gap:0,style:i(i({position:"relative",width:"100%",height:"100%"},b?{}:{padding:y.spacing(1)}),E.longRunningQuery?{opacity:"0.3"}:{})},w&&L&&E.sn&&U.createElement(SP,{layout:L,sn:E.sn,anchorEl:w,hovering:B,focusHandler:J.current,titleStyles:X}," "),U.createElement(tC,{tabIndex:v?0:-1,onKeyDown:v?e=>{["Enter"," ","Spacebar"].includes(e.key)&&n.root.toggleFocusOfCells(c)}:null,item:!0,xs:!0,style:{height:"100%"},ref:_},Y),w&&L&&E.sn&&U.createElement(kP,{layout:L,titleStyles:X})),E.longRunningQuery&&U.createElement(hP,{canCancel:O,canRetry:I,api:T}))}));function HP(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function UP(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;const r=[];return Object.keys(t).forEach((o=>{const i=t[o];"object"!=typeof n[o]||"object"!=typeof i||Array.isArray(i)?function(e,t){return HP(e)&&HP(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}(i,n[o])||r.push({qPath:e+o,qOp:"add",qValue:JSON.stringify(t[o])}):r.push(...UP("".concat(e).concat(o,"/"),t[o],n[o]))})),r}function VP(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 GP=()=>{};function KP(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=GP,a=null,l=null,s=null,c=null;const u=new Promise((e=>{s=e})),d=new Promise((e=>{c=e})),p=e=>()=>{e&&e(),c()};let f={},h=[];const m=new Y,g={id:e.id,model:e,async destroy(){await r(),o(),o=GP},async convertTo(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=await XT({halo:t,model:e,cellRef:a,newType:n});return r&&(e.__snInterceptor?await e.__snInterceptor.setProperties.call(e,o.qProperty):await e.setProperties(o.qProperty)),o},addListener(e,t){m.addListener(e,t)},removeListener(e,t){m.removeListener(e,t)},getImperativeHandle:async()=>(await d,a.current.getImperativeHandle()),__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[o,a]=function(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:i,onMount:a,emitter:l,initialError:s}=e;const{root:c}=t,u=U.createRef(),d=XI(),p=xp.createPortal(U.createElement($P,{ref:u,halo:t,model:r,currentId:d,initialSnOptions:o,initialSnPlugins:i,initialError:s,onMount:a,emitter:l}),n,d),f=()=>{c.remove(p),r.removeListener("closed",f)};return r.on("closed",f),c.add(p),c.addCell(d,u),[f,u]}({halo:t,element:r,model:e,initialSnOptions:f,initialSnPlugins:h,initialError:n,onMount:s,emitter:m}),u},async applyProperties(t){const n=UP("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{const t=e.onInitialRender;l?(async()=>{await u,a.current.setSnOptions(i(i(i({},f),e),{onInitialRender:p(t)}))})():f=i(i(i({},f),e),{onInitialRender:p(t)})})(e)},plugins(e){(async e=>{VP(e),l?(async()=>{await u,a.current.setSnPlugins(e)})():h=e})(e)},exportImage:()=>a.current.exportImage(),takeSnapshot:()=>a.current.takeSnapshot(),getModel:()=>e}};return g}async function ZP(e,t,n,r){const o=KP({model:e,halo:n,initialError:r,onDestroy:arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{}});return t.options&&o.__DO_NOT_USE__.options(t.options),t.plugins&&o.__DO_NOT_USE__.plugins(t.plugins),t.element&&await o.__DO_NOT_USE__.mount(t.element),o}async function XP(e,t,n){let{type:r,version:o,fields:i,properties:a,extendProperties:l}=e,s={};const c=[];try{const e=t.types.get({name:r,version:o});s=await e.initialProperties(a,l);const n=await e.supernova();i&&await DT({sn:n,properties:s,fields:i,children:c},t),a&&n&&n.qae.properties.onChange&&n.qae.properties.onChange.call({},s)}catch(e){s=n?null:{qInfo:{qType:r},visualization:r}}if(!n){const e=await t.app.createObject(s);return c.length>0&&await e.setFullPropertyTree({qProperty:s,qChildren:c}),hL.set(e.id,e),e}return s}const QP={className:"njs-sheet"};function JP(e){let{model:t,halo:n,initialSnOptions:r,initialSnPlugins:o,initialError:i,onMount:a}=e;const{root:l}=n,[s]=wL(t),{theme:c}=H.useContext(by),[u,d]=H.useState([]),[p,f]=H.useState(void 0),[h,m]=H.useState(void 0),[g,v]=H.useState("");H.useEffect((()=>{if(s){const e=JSON.stringify(s.cells);if(e===g)return;v(e);const t=async()=>{u.forEach((e=>{l.removeCell(e.currentId)}));const e=s.cells,t=await Promise.all(e.map((async e=>{let t;const r=new Promise((e=>{t=e})),o=u.find((t=>t.id===e.name));if(o)return o.bounds=e.bounds,delete o.mountedPromise,o;const i=await async function(e,t){let{id:n,options:r,plugins:o,element:i}=e;const a="".concat(n);let l=sL.get(a);l||(l=t.app.getObject(n),sL.set(a,l));const s=await l;return hL.set(a,s),ZP(s,{options:r,plugins:o,element:i},t)}({id:e.name},n);return{model:i.model,id:e.name,bounds:e.bounds,cellRef:U.createRef(),currentId:XI(),mounted:t,mountedPromise:r}})));t.forEach((e=>l.addCell(e.currentId,e.cellRef))),d(t)};t()}}),[s]);const b=H.useMemo((()=>u?u.map((e=>function(e,t,n,r,o,i){const{x:a,y:l,width:s,height:c}=e.bounds;return U.createElement("div",{style:{left:"".concat(a,"%"),top:"".concat(l,"%"),width:"".concat(s,"%"),height:"".concat(c,"%"),position:"absolute"}},U.createElement($P,{ref:e.cellRef,halo:t,model:e.model,currentId:e.currentId,initialSnOptions:n,initialSnPlugins:r,initialError:o,onMount:i}))}(e,n,r,o,i,e.mounted))):[]),[u]);H.useEffect((()=>{const e=null!=s&&s.components?s.components.find((e=>"general"===e.key)):null;f(NP(e,n.public.theme)),m(_P(e,n.app))}),[s,n.public.theme,n.app,c]);const y=!s||Number.isNaN(s.height)?"100%":"".concat(Number(s.height),"%"),x=u.map((e=>e.mountedPromise)),S=x.filter((e=>!!e));return S.length&&Promise.all(x).then((()=>{a()})),U.createElement("div",{className:QP.className,style:{width:"100%",height:y,position:"relative",backgroundColor:p,backgroundImage:h&&h.url?"url(".concat(h.url,")"):void 0,backgroundRepeat:"no-repeat",backgroundSize:h&&h.size,backgroundPosition:h&&h.pos}},b)}const YP=()=>{};function e_(){let{model:e,halo:t,initialError:n,onDestroy:r=(async()=>{})}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=YP,a=null,l=null,s=null;const c=new Promise((e=>{s=e}));let u={},d=[];const p={id:e.id,model:e,async destroy(){await r(),o(),o=YP},__DO_NOT_USE__:{mount(r){if(l)throw new Error("Already mounted");return l=r,[o,a]=function(e){let{halo:t,element:n,model:r,initialSnOptions:o,initialSnPlugins:i,onMount:a,initialError:l}=e;const{root:s}=t,c=U.createRef(),u=xp.createPortal(U.createElement(JP,{ref:c,halo:t,model:r,initialSnOptions:o,initialSnPlugins:i,initialError:l,onMount:a}),n,r.id),d=()=>{s.remove(u),r.removeListener("closed",d)};return r.on("closed",d),s.add(u),[d,c]}({halo:t,element:r,model:e,initialSnOptions:u,initialSnPlugins:d,initialError:n,onMount:s}),c},async applyProperties(t){const n=UP("/",t,await e.getEffectiveProperties());if(n.length)return e.applyPatches(n,!0)},options(e){(async e=>{l?(async()=>{await c,a.current.setSnOptions(i(i({},u),e))})():u=i(i({},u),e)})(e)},plugins(e){(async e=>{VP(e),l?(async()=>{await c,a.current.setSnPlugins(e)})():d=e})(e)},exportImage(){throw new Error("Not implemented")},takeSnapshot(){throw new Error("Not implemented")},getModel:()=>e}};return p}async function t_(e,t){let{id:n,options:r,plugins:o,element:i}=e;const a="".concat(n);let l=sL.get(a);l||(l=t.app.getObject(n),sL.set(a,l));const s=await l;return hL.set(a,s),"sheet"===s.genericType?async function(e,t,n,r){const o=e_({model:e,halo:n,initialError:r,onDestroy:arguments.length>4&&void 0!==arguments[4]?arguments[4]:async()=>{}});return t.options&&o.__DO_NOT_USE__.options(t.options),t.plugins&&o.__DO_NOT_USE__.plugins(t.plugins),t.element&&await o.__DO_NOT_USE__.mount(t.element),o}(s,{options:r,plugins:o,element:i},t):ZP(s,{options:r,plugins:o,element:i},t)}function n_(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:t=>!0===e[t]}}const r_=$e.bind(null,!0),o_={},{isArray:i_}=Array;function a_(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function l_(e){return void 0===e}function s_(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function c_(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const i=isNaN(r)?{}:[];e[r||t]=l_(e[r||t])?i:e[t],e=e[r||t]})),e}function u_(e,t){let n=!0;if(a_(e)&&a_(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{u_(e[r],t[r])||(n=!1)})),n);if(i_(e)&&i_(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!u_(e[n],t[n]))return!1;return!0}return e===t}o_.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const i=function(e){return e?r_({},{val:e}).val:e}(t[o]),a=e[o],l="".concat(n,"/").concat(o);u_(i,a)||s_(t,o)||(l_(a)?r.push({op:"add",path:l,value:i}):a_(i)&&a_(a)?r=r.concat(o_.generate(a,i,l)):i_(i)&&i_(a)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let i=-1;function a(e,t,n){if(e[n]&&l_(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(u_(t,o))return r;if(!l_(t[0])&&l_(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)i=a(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===i?(r.push({op:"remove",path:"".concat(n,"/").concat(e)}),o.splice(e,1)):r=r.concat(o_.generate(o[e],t[i],"".concat(n,"/").concat(e)));for(let e=0,l=t.length;e<l;e+=1)i=a(o,t[e].qInfo&&t[e].qInfo.qId),-1===i?(r.push({op:"add",path:"".concat(n,"/").concat(e),value:t[e]}),o.splice(e,0,t[e])):i!==e&&(r.push({op:"move",path:"".concat(n,"/").concat(e),from:"".concat(n,"/").concat(i)}),o.splice(e,0,o.splice(i,1)[0]));return r}(a,i,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:i}))})),Object.keys(e).forEach((o=>{l_(t[o])&&!s_(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},o_.apply=function(e,t){t.forEach((t=>{let n=c_(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const i=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(i_(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(i_(o)&&i_(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(a_(o)&&a_(t.value))a=o,Object.keys(a).forEach((e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!s_(a,e)&&delete a[e]})),r_(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=c_(e,t.from);i_(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&(i_(n)?n.splice(+r,1):delete n[r]);var a}))},o_.clone=function(e){return r_({},e)},o_.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},o_.updateObject=function(e,t){Object.keys(e).length?o_.apply(e,o_.generate(e,t)):r_(e,t)};const d_=e=>t=>{const n=(r=i(i({},t),{},{action(){"function"==typeof t.action&&t.action.call(n,e),n.emit("changed")},enabled:()=>"function"!=typeof t.enabled||t.enabled.call(n,e),active:"function"==typeof t.active?function(){return t.active.call(n,e)}:void 0}),Object.keys(Y.prototype).forEach((e=>{r[e]=Y.prototype[e]})),Y.init(r),r);var r;return n};let p_,f_;function h_(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 m_(e){let{explicitResize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:()=>{}},list:[],snaps:[],menus:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:t},accessibility:{setter:null}}}function g_(e){b_(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 v_(e){if(e.__hooks.obsolete)return Promise.resolve();f_=-1,p_=e,p_.__hooks.initiated&&p_.__hooks.list.length;try{p_.fn.call(null)}catch(e){console.error(e)}p_.__hooks.initiated=!0;const t=p_.__hooks;return w_(p_),f_=void 0,p_=void 0,t.chain.promise||(t.chain.promise=new Promise((e=>{t.chain.resolve=e}))),function(e){b_(e.pendingLayoutEffects)}(t),function(e){if(e.macro)return;e.macro=requestAnimationFrame((()=>{!function(e){b_(e.pendingEffects),e.macro=null,function(e){if(e.pendingPromises.length||e.micro||e.macro)return;e.chain.promise=null,e.chain.resolve(!e.waitForData)}(e)}(e)}))}(t),t.chain.promise}function b_(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 y_(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 x_(e,t,n,r){try{return Promise.all(e.__hooks.menus.map((e=>Promise.resolve(e.fn(t,n,r))))).then((e=>e[e.length-1]))}catch(e){console.error(e)}return Promise.resolve()}function S_(e){return e.__hooks.imperativeHandle}function w_(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function E_(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,w_(e))}function C_(e){if(void 0===p_)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");const t=p_.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function k_(e){C_(++f_);return p_.context[e]}function L_(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function R_(e){return{__hooked:!0,fn:e,initiate:m_,run:v_,teardown:g_,runSnaps:y_,runMenu:x_,focus:N_,blur:M_,observeActions:E_,getImperativeHandle:S_,updateRectOnNextRun:L_}}function O_(e){const t=C_(++f_);if(!t.value){t.component=p_;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,v_(r)}),0)))};t.value=["function"==typeof e?e():e,n]}return t.value}function I_(e,t){const n=C_(++f_);h_(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===p_.__hooks.pendingEffects.indexOf(n)&&p_.__hooks.pendingEffects.push(n))}function T_(e,t){const n=C_(++f_);h_(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],p_.__hooks.pendingLayoutEffects.push(n))}function P_(e,t){const n=C_(++f_);return h_(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function __(){return k_("element")}function N_(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 M_(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 q_={app:null,model:null,actions:null,selections:null,created:()=>{},mounted:()=>{},render:()=>{},resize:()=>{},willUnmount:()=>{},destroy:()=>{},emit:()=>{},getViewState:()=>{},observeActions(){},setSnapshotData:e=>Promise.resolve(e)},z_=Object.keys(q_),D_=e=>(Object.keys(Y.prototype).forEach((t=>{e[t]=Y.prototype[t]})),Y.init(e),e);function A_(e,t){const n=i({},q_);D_(n);const r={emit(){n.emit(...arguments)}};Object.keys(e.component||{}).forEach((t=>{-1!==z_.indexOf(t)?n[t]=e.component[t].bind(r):r[t]=e.component[t]}));const o=function(e){let{sn:t,component:n}=e;const r={},o=[],i=d_(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((e=>{const t=i(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((e=>{const t=i(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy(){o.length=0}}}({sn:e,component:r}),a=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(r,{model:t.model,app:t.app,global:a,selections:t.selections,actions:o.actions}),Object.assign(n,{actions:o.actions,model:t.model,app:t.app,selections:t.selections}),[n,o]}function j_(e,t,n){"function"==typeof e.component&&(e.component=R_(e.component));const[r,o]=e.component&&e.component.__hooked?function(e,t,n){const r=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0;let o=!1;const a={},l=["appLayout","constraints","interactions"],s={},c={};t.model&&t.model.session||(s.select=!0,s.edit=!0,c.select=!1,c.edit=!1);const u={context:{model:t.model,app:t.app,global:r,selections:t.selections,nebbie:t.nebbie,element:void 0,emitter:t.emitter,deviceType:n.deviceType,theme:void 0,translator:n.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:s,interactions:c,options:{},plugins:[]},fn:e.component.fn,created(){},mounted(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render(t){let n=!o||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(n=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,n=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){const e={};let r=!1;Object.keys(t.options).forEach((n=>{e[n]=t.options[n],this.context.options[n]!==t.options[n]&&(r=!0)})),r&&(this.context.options=e,n=!0)}if(t.plugins){let e=this.context.plugins.length!==t.plugins.length;t.plugins.forEach(((t,n)=>{this.context.plugins[n]!==t&&(e=!0)})),e&&(this.context.plugins=[...t.plugins],n=!0)}l.forEach((e=>{const r=t.context;if(r&&Object.prototype.hasOwnProperty.call(r,e)){let t=JSON.stringify(r[e]);"constraints"===e&&(t=JSON.stringify(i(i({},r[e]),s))),"interactions"===e&&(t=JSON.stringify(i(i({},r[e]),c))),t!==a[e]&&(n=!0,a[e]=t,this.context[e]=JSON.parse(t))}}))}else n=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(n=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(n=!0,a.language=u.context.translator.language()),n?(o=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount(){e.component.teardown(this)},setSnapshotData(t){return e.component.runSnaps(this,t)},onContextMenu(t,n,r){return e.component.runMenu(this,t,n,r)},focus(){e.component.focus(this)},blur(){e.component.blur(this)},getImperativeHandle(){return e.component.getImperativeHandle(this)},destroy(){},observeActions(t){e.component.observeActions(this,t)},isHooked:!0};return l.forEach((e=>{a[e]=JSON.stringify(u.context[e])})),a.themeName=u.context.theme?u.context.theme.name():void 0,a.language=u.context.translator?u.context.translator.language():void 0,Object.assign(u,{selections:t.selections}),[u,null]}(e,t,n):A_(e,t),a=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.qae.properties.onChange.call({model:t.model},...r),t.model.__snInterceptor.setProperties.call(this,...r)},t.model.applyPatches=function(n,r){const o=r?"getEffectiveProperties":"getProperties";return t.model[o]().then((o=>{const i=o_.clone(o),a=n.map((e=>({op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath})));o_.apply(o,a),e.qae.properties.onChange.call({model:t.model},o);const l=o_.generate(i,o).map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path})));return t.model.__snInterceptor.applyPatches.call(this,l,r)}))},t.model.__snInterceptor.teardown=()=>{t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},a.push(t.model.__snInterceptor.teardown)),{generator:e,component:r,selectionToolbar:{items:o?o.selectionToolbarItems:[]},destroy(){a.forEach((e=>e()))},logicalSize:e.definition.logicalSize||(()=>!1)}}const F_=()=>{};function B_(e,t){return void 0===e?()=>t:()=>e}function W_(e){const t=e||{};return{min:"function"==typeof t.min?t.min:B_(t.min,0),max:"function"==typeof t.max?t.max:B_(t.max,1e3),added:t.added||t.add||F_,description:t.description||F_,moved:t.moved||t.move||F_,removed:t.removed||t.remove||F_,replaced:t.replaced||t.replace||F_,isDefined:()=>!!e}}const $_=(e,t,n)=>{const r=t.split("/");let o=e;if(void 0===o)return n;for(let e=0;e<r.length;++e)if(""!==r[e]){if(void 0===o[r[e]])return n;o=o[r[e]]}return o};function H_(e){const t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject|qChildList)$/.test(n)){const e=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(e," at ").concat(t,". Valid paths include /qHyperCubeDef, /qListObjectDef, or /qChildListDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:e=>$_(e,n,{}),dimensions:W_(e.dimensions),measures:W_(e.measures)}}function U_(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);return{properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(H_)},exportProperties:t.exportProperties,importProperties:t.importProperties}}function V_(e,t){let n;n="function"==typeof e?e(t):e;const r={qae:U_(n.qae),component:n.component||{},create:e=>j_(r,e,t),definition:{}};return Object.keys(n).forEach((e=>{r[e]||(r.definition[e]=n[e])})),r}var G_,K_;var Z_=X_;function X_(e){var t=this;if(t instanceof X_||(t=new X_),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}function Q_(e,t,n){var r=t===e.head?new eN(n,null,t,e):new eN(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function J_(e,t){e.tail=new eN(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function Y_(e,t){e.head=new eN(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function eN(e,t,n,r){if(!(this instanceof eN))return new eN(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}X_.Node=eN,X_.create=X_,X_.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},X_.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},X_.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},X_.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)J_(this,arguments[e]);return this.length},X_.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Y_(this,arguments[e]);return this.length},X_.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},X_.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},X_.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},X_.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},X_.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},X_.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},X_.prototype.map=function(e,t){t=t||this;for(var n=new X_,r=this.head;null!==r;)n.push(e.call(t,r.value,this)),r=r.next;return n},X_.prototype.mapReverse=function(e,t){t=t||this;for(var n=new X_,r=this.tail;null!==r;)n.push(e.call(t,r.value,this)),r=r.prev;return n},X_.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=e(n,r.value,o),r=r.next;return n},X_.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=e(n,r.value,o),r=r.prev;return n},X_.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},X_.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},X_.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new X_;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;for(;null!==o&&r<t;r++,o=o.next)n.push(o.value);return n},X_.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new X_;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,o=this.tail;null!==o&&r>t;r--)o=o.prev;for(;null!==o&&r>e;r--,o=o.prev)n.push(o.value);return n},X_.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;var i=[];for(r=0;o&&r<t;r++)i.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(r=0;r<n.length;r++)o=Q_(this,o,n[r]);return i},X_.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{(K_||(K_=1,G_=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}),G_)(X_)}catch(e){}const tN=Z_,nN=Symbol("max"),rN=Symbol("length"),oN=Symbol("lengthCalculator"),iN=Symbol("allowStale"),aN=Symbol("maxAge"),lN=Symbol("dispose"),sN=Symbol("noDisposeOnSet"),cN=Symbol("lruList"),uN=Symbol("cache"),dN=Symbol("updateAgeOnGet"),pN=()=>1;const fN=(e,t,n)=>{const r=e[uN].get(t);if(r){const t=r.value;if(hN(e,t)){if(gN(e,r),!e[iN])return}else n&&(e[dN]&&(r.value.now=Date.now()),e[cN].unshiftNode(r));return t.value}},hN=(e,t)=>{if(!t||!t.maxAge&&!e[aN])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[aN]&&n>e[aN]},mN=e=>{if(e[rN]>e[nN])for(let t=e[cN].tail;e[rN]>e[nN]&&null!==t;){const n=t.prev;gN(e,t),t=n}},gN=(e,t)=>{if(t){const n=t.value;e[lN]&&e[lN](n.key,n.value),e[rN]-=n.length,e[uN].delete(n.key),e[cN].removeNode(t)}};class vN{constructor(e,t,n,r,o){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=o||0}}const bN=(e,t,n,r)=>{let o=n.value;hN(e,o)&&(gN(e,n),e[iN]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};var yN=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[nN]=e.max||1/0;const t=e.length||pN;if(this[oN]="function"!=typeof t?pN:t,this[iN]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[aN]=e.maxAge||0,this[lN]=e.dispose,this[sN]=e.noDisposeOnSet||!1,this[dN]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[nN]=e||1/0,mN(this)}get max(){return this[nN]}set allowStale(e){this[iN]=!!e}get allowStale(){return this[iN]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[aN]=e,mN(this)}get maxAge(){return this[aN]}set lengthCalculator(e){"function"!=typeof e&&(e=pN),e!==this[oN]&&(this[oN]=e,this[rN]=0,this[cN].forEach((e=>{e.length=this[oN](e.value,e.key),this[rN]+=e.length}))),mN(this)}get lengthCalculator(){return this[oN]}get length(){return this[rN]}get itemCount(){return this[cN].length}rforEach(e,t){t=t||this;for(let n=this[cN].tail;null!==n;){const r=n.prev;bN(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[cN].head;null!==n;){const r=n.next;bN(this,e,n,t),n=r}}keys(){return this[cN].toArray().map((e=>e.key))}values(){return this[cN].toArray().map((e=>e.value))}reset(){this[lN]&&this[cN]&&this[cN].length&&this[cN].forEach((e=>this[lN](e.key,e.value))),this[uN]=new Map,this[cN]=new tN,this[rN]=0}dump(){return this[cN].map((e=>!hN(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[cN]}set(e,t,n){if((n=n||this[aN])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,o=this[oN](t,e);if(this[uN].has(e)){if(o>this[nN])return gN(this,this[uN].get(e)),!1;const i=this[uN].get(e).value;return this[lN]&&(this[sN]||this[lN](e,i.value)),i.now=r,i.maxAge=n,i.value=t,this[rN]+=o-i.length,i.length=o,this.get(e),mN(this),!0}const i=new vN(e,t,o,r,n);return i.length>this[nN]?(this[lN]&&this[lN](e,t),!1):(this[rN]+=i.length,this[cN].unshift(i),this[uN].set(e,this[cN].head),mN(this),!0)}has(e){if(!this[uN].has(e))return!1;const t=this[uN].get(e).value;return!hN(this,t)}get(e){return fN(this,e,!0)}peek(e){return fN(this,e,!1)}pop(){const e=this[cN].tail;return e?(gN(this,e),e.value):null}del(e){gN(this,this[uN].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{const e=o-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[uN].forEach(((e,t)=>fN(this,t,!1)))}};const xN=Object.freeze({loose:!0}),SN=Object.freeze({});var wN=e=>e?"object"!=typeof e?xN:e:SN,EN={exports:{}};var CN={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const kN="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error("SEMVER",...t)}:()=>{};var LN=kN;!function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=CN,i=LN,a=(t=e.exports={}).re=[],l=t.safeRe=[],s=t.src=[],c=t.t={};let u=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",o],[d,r]],f=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split("".concat(t,"*")).join("".concat(t,"{0,").concat(n,"}")).split("".concat(t,"+")).join("".concat(t,"{1,").concat(n,"}"));return e})(t),o=u++;i(e,o,t),c[e]=o,s[o]=t,a[o]=new RegExp(t,n?"g":void 0),l[o]=new RegExp(r,n?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-]".concat(d,"*")),f("MAINVERSION","(".concat(s[c.NUMERICIDENTIFIER],")\\.")+"(".concat(s[c.NUMERICIDENTIFIER],")\\.")+"(".concat(s[c.NUMERICIDENTIFIER],")")),f("MAINVERSIONLOOSE","(".concat(s[c.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[c.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[c.NUMERICIDENTIFIERLOOSE],")")),f("PRERELEASEIDENTIFIER","(?:".concat(s[c.NUMERICIDENTIFIER],"|").concat(s[c.NONNUMERICIDENTIFIER],")")),f("PRERELEASEIDENTIFIERLOOSE","(?:".concat(s[c.NUMERICIDENTIFIERLOOSE],"|").concat(s[c.NONNUMERICIDENTIFIER],")")),f("PRERELEASE","(?:-(".concat(s[c.PRERELEASEIDENTIFIER],"(?:\\.").concat(s[c.PRERELEASEIDENTIFIER],")*))")),f("PRERELEASELOOSE","(?:-?(".concat(s[c.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(s[c.PRERELEASEIDENTIFIERLOOSE],")*))")),f("BUILDIDENTIFIER","".concat(d,"+")),f("BUILD","(?:\\+(".concat(s[c.BUILDIDENTIFIER],"(?:\\.").concat(s[c.BUILDIDENTIFIER],")*))")),f("FULLPLAIN","v?".concat(s[c.MAINVERSION]).concat(s[c.PRERELEASE],"?").concat(s[c.BUILD],"?")),f("FULL","^".concat(s[c.FULLPLAIN],"$")),f("LOOSEPLAIN","[v=\\s]*".concat(s[c.MAINVERSIONLOOSE]).concat(s[c.PRERELEASELOOSE],"?").concat(s[c.BUILD],"?")),f("LOOSE","^".concat(s[c.LOOSEPLAIN],"$")),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE","".concat(s[c.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),f("XRANGEIDENTIFIER","".concat(s[c.NUMERICIDENTIFIER],"|x|X|\\*")),f("XRANGEPLAIN","[v=\\s]*(".concat(s[c.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIER],")")+"(?:".concat(s[c.PRERELEASE],")?").concat(s[c.BUILD],"?")+")?)?"),f("XRANGEPLAINLOOSE","[v=\\s]*(".concat(s[c.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[c.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(s[c.PRERELEASELOOSE],")?").concat(s[c.BUILD],"?")+")?)?"),f("XRANGE","^".concat(s[c.GTLT],"\\s*").concat(s[c.XRANGEPLAIN],"$")),f("XRANGELOOSE","^".concat(s[c.GTLT],"\\s*").concat(s[c.XRANGEPLAINLOOSE],"$")),f("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),f("COERCERTL",s[c.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM","(\\s*)".concat(s[c.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",f("TILDE","^".concat(s[c.LONETILDE]).concat(s[c.XRANGEPLAIN],"$")),f("TILDELOOSE","^".concat(s[c.LONETILDE]).concat(s[c.XRANGEPLAINLOOSE],"$")),f("LONECARET","(?:\\^)"),f("CARETTRIM","(\\s*)".concat(s[c.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",f("CARET","^".concat(s[c.LONECARET]).concat(s[c.XRANGEPLAIN],"$")),f("CARETLOOSE","^".concat(s[c.LONECARET]).concat(s[c.XRANGEPLAINLOOSE],"$")),f("COMPARATORLOOSE","^".concat(s[c.GTLT],"\\s*(").concat(s[c.LOOSEPLAIN],")$|^$")),f("COMPARATOR","^".concat(s[c.GTLT],"\\s*(").concat(s[c.FULLPLAIN],")$|^$")),f("COMPARATORTRIM","(\\s*)".concat(s[c.GTLT],"\\s*(").concat(s[c.LOOSEPLAIN],"|").concat(s[c.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE","^\\s*(".concat(s[c.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(s[c.XRANGEPLAIN],")")+"\\s*$"),f("HYPHENRANGELOOSE","^\\s*(".concat(s[c.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(s[c.XRANGEPLAINLOOSE],")")+"\\s*$"),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}(EN,EN.exports);var RN=EN.exports;const ON=/^[0-9]+$/,IN=(e,t)=>{const n=ON.test(e),r=ON.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var TN={compareIdentifiers:IN,rcompareIdentifiers:(e,t)=>IN(t,e)};const PN=LN,{MAX_LENGTH:_N,MAX_SAFE_INTEGER:NN}=CN,{safeRe:MN,t:qN}=RN,zN=wN,{compareIdentifiers:DN}=TN;var AN=class e{constructor(t,n){if(n=zN(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError('Invalid version. Must be a string. Got type "'.concat(typeof t,'".'));if(t.length>_N)throw new TypeError("version is longer than ".concat(_N," characters"));PN("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?MN[qN.LOOSE]:MN[qN.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>NN||this.major<0)throw new TypeError("Invalid major version");if(this.minor>NN||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>NN||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<NN)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(t){if(PN("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if("string"==typeof t&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),DN(this.major,t.major)||DN(this.minor,t.minor)||DN(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const e=this.prerelease[n],r=t.prerelease[n];if(PN("prerelease compare",n,e,r),void 0===e&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===e)return-1;if(e!==r)return DN(e,r)}while(++n)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let n=0;do{const e=this.build[n],r=t.build[n];if(PN("prerelease compare",n,e,r),void 0===e&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===e)return-1;if(e!==r)return DN(e,r)}while(++n)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,n);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":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===DN(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error("invalid increment argument: ".concat(e))}return this.raw=this.format(),this.build.length&&(this.raw+="+".concat(this.build.join("."))),this}};const jN=AN;var FN=(e,t,n)=>new jN(e,n).compare(new jN(t,n));const BN=FN;var WN=(e,t,n)=>0===BN(e,t,n);const $N=FN;var HN=(e,t,n)=>0!==$N(e,t,n);const UN=FN;var VN=(e,t,n)=>UN(e,t,n)>0;const GN=FN;var KN=(e,t,n)=>GN(e,t,n)>=0;const ZN=FN;var XN=(e,t,n)=>ZN(e,t,n)<0;const QN=FN;var JN=(e,t,n)=>QN(e,t,n)<=0;const YN=WN,eM=HN,tM=VN,nM=KN,rM=XN,oM=JN;var iM,aM,lM,sM,cM=(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 YN(e,n,r);case"!=":return eM(e,n,r);case">":return tM(e,n,r);case">=":return nM(e,n,r);case"<":return rM(e,n,r);case"<=":return oM(e,n,r);default:throw new TypeError("Invalid operator: ".concat(t))}};function uM(){if(sM)return lM;sM=1;class e{constructor(t,o){if(o=n(o),t instanceof e)return t.loose===!!o.loose&&t.includePrerelease===!!o.includePrerelease?t:new e(t.raw,o);if(t instanceof r)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=o,this.loose=!!o.loose,this.includePrerelease=!!o.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(this.raw));if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&h(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const n=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+e,i=t.get(n);if(i)return i;const h=this.options.loose,m=h?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];e=e.replace(m,L(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[l.COMPARATORTRIM],s),o("comparator trim",e),e=e.replace(a[l.TILDETRIM],c),o("tilde trim",e),e=e.replace(a[l.CARETTRIM],u),o("caret trim",e);let v=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>k(e,this.options)));h&&(v=v.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(a[l.COMPARATORLOOSE]))))),o("range list",v);const b=new Map,y=v.map((e=>new r(e,this.options)));for(const e of y){if(f(e))return[e];b.set(e.value,e)}b.size>1&&b.has("")&&b.delete("");const x=[...b.values()];return t.set(n,x),x}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((e=>m(e,n)&&t.set.some((t=>m(t,n)&&e.every((e=>t.every((t=>e.intersects(t,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new i(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(R(this.set[t],e,this.options))return!0;return!1}}lM=e;const t=new yN({max:1e3}),n=wN,r=function(){if(aM)return iM;aM=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,o){if(o=n(o),r instanceof t){if(r.loose===!!o.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),a("comparator",r,o),this.options=o,this.loose=!!o.loose,this.parse(r),this.semver===e?this.value="":this.value=this.operator+this.semver.version,a("comp",this)}parse(t){const n=this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR],i=t.match(n);if(!i)throw new TypeError("Invalid comparator: ".concat(t));this.operator=void 0!==i[1]?i[1]:"","="===this.operator&&(this.operator=""),i[2]?this.semver=new l(i[2],this.options.loose):this.semver=e}toString(){return this.value}test(t){if(a("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new l(t,this.options)}catch(e){return!1}return i(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new s(e.value,r).test(this.value):""===e.operator?""===e.value||new s(this.value,r).test(e.semver):!((r=n(r)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(i(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(i(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}iM=t;const n=wN,{safeRe:r,t:o}=RN,i=cM,a=LN,l=AN,s=uM();return iM}(),o=LN,i=AN,{safeRe:a,t:l,comparatorTrimReplace:s,tildeTrimReplace:c,caretTrimReplace:u}=RN,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:p}=CN,f=e=>"<0.0.0-0"===e.value,h=e=>""===e.value,m=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},g=(e,t)=>(o("comp",e,t),e=x(e,t),o("caret",e),e=b(e,t),o("tildes",e),e=w(e,t),o("xrange",e),e=C(e,t),o("stars",e),e),v=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{const n=t.loose?a[l.TILDELOOSE]:a[l.TILDE];return e.replace(n,((t,n,r,i,a)=>{let l;return o("tilde",e,t,n,r,i,a),v(n)?l="":v(r)?l=">=".concat(n,".0.0 <").concat(+n+1,".0.0-0"):v(i)?l=">=".concat(n,".").concat(r,".0 <").concat(n,".").concat(+r+1,".0-0"):a?(o("replaceTilde pr",a),l=">=".concat(n,".").concat(r,".").concat(i,"-").concat(a," <").concat(n,".").concat(+r+1,".0-0")):l=">=".concat(n,".").concat(r,".").concat(i," <").concat(n,".").concat(+r+1,".0-0"),o("tilde return",l),l}))},x=(e,t)=>e.trim().split(/\s+/).map((e=>S(e,t))).join(" "),S=(e,t)=>{o("caret",e,t);const n=t.loose?a[l.CARETLOOSE]:a[l.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,a,l)=>{let s;return o("caret",e,t,n,i,a,l),v(n)?s="":v(i)?s=">=".concat(n,".0.0").concat(r," <").concat(+n+1,".0.0-0"):v(a)?s="0"===n?">=".concat(n,".").concat(i,".0").concat(r," <").concat(n,".").concat(+i+1,".0-0"):">=".concat(n,".").concat(i,".0").concat(r," <").concat(+n+1,".0.0-0"):l?(o("replaceCaret pr",l),s="0"===n?"0"===i?">=".concat(n,".").concat(i,".").concat(a,"-").concat(l," <").concat(n,".").concat(i,".").concat(+a+1,"-0"):">=".concat(n,".").concat(i,".").concat(a,"-").concat(l," <").concat(n,".").concat(+i+1,".0-0"):">=".concat(n,".").concat(i,".").concat(a,"-").concat(l," <").concat(+n+1,".0.0-0")):(o("no pr"),s="0"===n?"0"===i?">=".concat(n,".").concat(i,".").concat(a).concat(r," <").concat(n,".").concat(i,".").concat(+a+1,"-0"):">=".concat(n,".").concat(i,".").concat(a).concat(r," <").concat(n,".").concat(+i+1,".0-0"):">=".concat(n,".").concat(i,".").concat(a," <").concat(+n+1,".0.0-0")),o("caret return",s),s}))},w=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>E(e,t))).join(" ")),E=(e,t)=>{e=e.trim();const n=t.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return e.replace(n,((n,r,i,a,l,s)=>{o("xRange",e,n,r,i,a,l,s);const c=v(i),u=c||v(a),d=u||v(l),p=d;return"="===r&&p&&(r=""),s=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(a=0),l=0,">"===r?(r=">=",u?(i=+i+1,a=0,l=0):(a=+a+1,l=0)):"<="===r&&(r="<",u?i=+i+1:a=+a+1),"<"===r&&(s="-0"),n="".concat(r+i,".").concat(a,".").concat(l).concat(s)):u?n=">=".concat(i,".0.0").concat(s," <").concat(+i+1,".0.0-0"):d&&(n=">=".concat(i,".").concat(a,".0").concat(s," <").concat(i,".").concat(+a+1,".0-0")),o("xRange return",n),n}))},C=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[l.STAR],"")),k=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),L=e=>(t,n,r,o,i,a,l,s,c,u,d,p,f)=>(n=v(r)?"":v(o)?">=".concat(r,".0.0").concat(e?"-0":""):v(i)?">=".concat(r,".").concat(o,".0").concat(e?"-0":""):a?">=".concat(n):">=".concat(n).concat(e?"-0":""),s=v(c)?"":v(u)?"<".concat(+c+1,".0.0-0"):v(d)?"<".concat(c,".").concat(+u+1,".0-0"):p?"<=".concat(c,".").concat(u,".").concat(d,"-").concat(p):e?"<".concat(c,".").concat(u,".").concat(+d+1,"-0"):"<=".concat(s),"".concat(n," ").concat(s).trim()),R=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(o(e[n].semver),e[n].semver!==r.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return lM}const dM=uM();var pM=(e,t,n)=>{try{t=new dM(t,n)}catch(e){return!1}return t.test(e)},fM=n(pM);const hM={};function mM(e,t){let n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{meta:a}=o,l={name:e.name,version:e.version,supportsPropertiesVersion:e=>!(e&&a&&a.deps&&a.deps.properties)||fM(e,a.deps.properties),supernova:()=>async function(e,t,n,r){let{config:o}=n;const i="".concat(e,"__").concat(t);if(!hM[i]){const n="".concat(e).concat(t&&" v".concat(t)||"");if(r&&"function"!=typeof r)throw new Error("load of visualization '".concat(n,"' is not a fuction, wrap load promise in function"));const a=(r||o.load)({name:e,version:t}),l=Promise.resolve(a);hM[i]=l.then((e=>{if(!e)throw new Error("load() of visualization '".concat(n,"' resolved to an invalid object"));return e})).catch((e=>{throw new Error("Failed to load visualization: '".concat(n,"'"))}))}return hM[i]}(l.name,l.version,t,o.load).then((e=>(n=n||V_(e,t.public.galaxy),r=JSON.stringify(n.qae.properties.initial),n))),initialProperties(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.supernova().then((()=>{const n=i({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(r));return t?($e(!0,n,e),n):i(i({},n),e)}))}};return l}function gM(e,t){const n={};let r=null;return{get:e=>n[e],register:(o,i)=>{if(n[o])throw new Error("Supernova '".concat(e,"@").concat(o,"' already registered."));n[o]=mM({name:e,version:o},t,i),r=null},getMatchingVersionFromProperties:e=>{r||(r=function(e){const t=e.filter((e=>"undefined"===e));return[...t,...e.filter((e=>"undefined"!==e)).map((e=>e.split(".").map((e=>parseInt(e,10))))).sort(((e,t)=>e[0]-t[0]||e[1]-t[1]||e[2]-t[2])).map((e=>e.join(".")))]}(Object.keys(n)));for(let t=r.length-1;t>=0;t--){if(n[r[t]].supportsPropertiesVersion(e))return r[t]}return null},versions:n}}function vM(e){let{halo:t,parent:n}=e;const r={},o=n||{get:()=>{}};return{register:(e,n)=>{r[e.name]||(r[e.name]=gM(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:(e,t)=>{if(r[e])return r[e].getMatchingVersionFromProperties(t)},get(e){const{name:t}=e;let{version:n}=e;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:()=>Object.keys(r).map((e=>({name:e,versions:Object.keys(r[e].versions).map((e=>"undefined"===e?void 0:e))}))),clearFromCache:e=>{r[e]&&(r[e]=void 0),function(e){Object.keys(hM).forEach((t=>{t.split("__")[0]===e&&(hM[t]=void 0)}))}(e)}}}const bM={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()))},yM={context:{},load:()=>{},types:[],themes:[],anything:{},snapshot:bM};yM.context={theme:"light",language:"en-US",deviceType:"auto",constraints:{},interactions:{},keyboardNavigation:!1,disableCellPadding:!1};const xM=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(i({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),e)},SM=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))};var wM=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=Z(t.context.language);function r(e,o){if(o)return r.createConfiguration(o)(e);let a=i(i({},t.context),{},{translator:n.translator});const[l]=function(e){let t,{app:n,context:r}=e;const o=new Promise((e=>{t=e})),i=U.createRef(),a=document.createElement("div");a.style.display="none",a.setAttribute("data-nebulajs-version","4.4.0"),a.setAttribute("data-app-id",n.id),document.body.appendChild(a),r&&Oy(r),dt.createRoot(a).render(U.createElement(Iy,{ref:i,app:n,initialContext:r,renderCallback:t}));const l={},s=[];return[{toggleFocusOfCells(e){Object.keys(l).forEach((t=>{l[t].current.toggleFocus(t===e)}))},cells:l,addCell(e,t){l[e]=t},removeCell(e){delete l[e]},add(e){(async()=>{await o,s.push(e),i.current.setComps(s)})()},remove(e){(async()=>{await o;const t=s.indexOf(e);-1!==t&&s.splice(t,1),i.current.setComps(s)})()},setMuiThemeName(e){(async()=>{await o,i.current.setMuiThemeName(e)})()},context(e){(async()=>{await o,e&&Oy(e),i.current.setContext(e)})()},getAppSelections:async()=>(await o,i.current.getAppSelections())},i,o]}({app:e,context:a}),s=function(){let{themes:e=[],loadTheme:t,root:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=lt();return{setTheme:async o=>{let i=e.filter((e=>e.id===o))[0],a="dark"===o?"dark":"light";if(!i&&t&&(i={load:t}),i&&i.load)try{const e=await Promise.race([i.load(o),st(ct,{__timedOut:!0})]);e.__timedOut||(a="dark"===e.type?"dark":"light",r.internalAPI.setTheme(e,o),n.setMuiThemeName(a))}catch(e){}else r.internalAPI.setTheme({type:a},o),n.setMuiThemeName(a)},externalAPI:r.externalAPI}}({themes:t.themes,loadTheme:t.loadTheme,root:l});a.themeApi=s.externalAPI;const c={galaxy:{translator:n.translator,flags:n_(t.flags),deviceType:ut(t.context.deviceType),anything:t.anything},theme:s.externalAPI,translator:n.translator,nebbie:null},u={app:e,root:l,config:t,public:c,context:a,types:null},d=vM({halo:u});t.types.forEach((e=>d.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})));let p=s.setTheme(t.context.theme),f=null,h=null;const m={render:async e=>(await p,e.id?t_(e,u):async function(e,t){let{type:n,version:r,fields:o,properties:i,options:a,plugins:l,element:s,extendProperties:c}=e,u={};const d=[];let p;try{const e=t.types.get({name:n,version:r});u=await e.initialProperties(i,c);const a=await e.supernova();o&&await DT({sn:a,properties:u,fields:o,children:d},t),i&&a&&a.qae.properties.onChange&&a.qae.properties.onChange.call({},u)}catch(e){p=e,u={qInfo:{qType:n},visualization:n}}const f=await t.app.createSessionObject(u);d.length>0&&await f.setFullPropertyTree({qProperty:u,qChildren:d}),hL.set(f.id,f);const h=mL(f);return ZP(f,{options:a,plugins:l,element:s},t,p,(async()=>{await t.app.destroySessionObject(f.id),h()}))}(e,u)),create:async e=>XP(e,u,!1),generateProperties:async e=>XP(e,u,!0),context:async e=>{let t;["theme","language","constraints","interactions","keyboardNavigation"].forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&e[n]!==a[n]&&(t||(t={}),t[n]=e[n])})),t&&(a=i(i(i({},a),t),{},{translator:n.translator}),t.theme&&(p=s.setTheme(t.theme),await p),t.language&&u.public.translator.language(t.language),l.context(a))},selections:async()=>(f||(f={mount(t){h||(h=function(e){let{element:t,app:n}=e;return xp.createPortal(U.createElement(QI,{app:n}),t,XI())}({element:t,app:e}),l.add(h))},unmount(){h&&(l.remove(h),h=null)}}),f),field:async t=>{let n;const r="string"==typeof t?t:t.qLibraryId;if(t.qId)n=t.qId;else if(!r)throw new Error("Field identifier or object id must be provided");const o={fieldName:r,async mount(a){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!a)throw new Error("Element for ".concat(r||n," not provided"));if(this._instance)throw new Error("Field or object ".concat(r||n," already mounted"));const c=()=>o.emit("selectionActivated"),u=()=>o.emit("selectionDeactivated");return new Promise((r=>{this._instance=function(e){let{element:t,app:n,fieldIdentifier:r,qId:o,stateName:i="$",options:a={},renderedCallback:l}=e;return xp.createPortal(U.createElement(ET,{app:n,element:t,fieldIdentifier:r,qId:o,stateName:i,options:a,renderedCallback:l}),t,XI())}({element:a,app:e,fieldIdentifier:t,qId:n,options:wT(i({onSelectionActivated:c,onSelectionDeactivated:u},s)),stateName:s.stateName||"$",renderedCallback:r}),l.add(this._instance)}))},unmount(){this._instance&&(l.remove(this._instance),this._instance=null)}};return CI(o),o},getRegisteredTypes:d.getList,__DO_NOT_USE__:{types:d,popover(t,n,r){m._popoverInstance&&(l.remove(m._popoverInstance),m._popoverInstance=null);const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=i({},CT);return $e(!0,t,e),t}(i({onPopoverClose:()=>m.emit("fieldPopoverClose")},r));m._popoverInstance=U.createElement(kT,{element:t,key:XI(),app:e,fieldIdentifier:n,options:o,stateName:r.stateName||"$"}),l.add(m._popoverInstance)}}};return u.public.nebbie=m,u.types=d,CI(m),m}return r.createConfiguration=n=>e(((e,t)=>({context:xM(e.context,t.context),load:t.load||e.load,loadTheme:t.loadTheme||e.loadTheme,snapshot:i({},t.snapshot||e.snapshot),types:SM(e.types,t.types),themes:SM(e.themes,t.themes),flags:xM(e.flags,t.flags),anything:xM(e.anything,t.anything)}))(t,n)),r.config=t,r}(yM);function EM(){return{getObjectApi:()=>Promise.resolve({id:"sessapi - ".concat(+Date.now())})}}const CM=globalThis.crypto||{getRandomValues:()=>123456};function kM(){return e=>{const t=$e({},e);t.qInfo=t.qInfo||{},t.qInfo.qId=t.qInfo.qId||"mock-".concat(([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^CM.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16))));const n=t._mock;let r=t;return n&&(delete t._mock,r=$e({},t,n)),Promise.resolve(i({on:()=>{},once:()=>{},getLayout:()=>Promise.resolve(r),getProperties:()=>Promise.resolve(t),getEffectiveProperties:()=>Promise.resolve(t),id:t.qInfo.qId},t))}}const LM=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},RM=function(e){let{defaultValue:t,async:n=!0,delay:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];const l=LM(e,{defaultValue:t,args:i});return n?new Promise((e=>{setTimeout((()=>e(l)),r)})):l}},OM=["id","session"],IM=["addListener","emit","listeners","on","once","removeAllListeners","removeListener","setMaxListerners"];function TM(e){return!IM.includes(e)}function PM(e){const t=LM(e.getLayout);return t.qInfo&&t.qInfo.qId}function _M(e,t){return e.reduce(((e,n)=>i(i({},e),function(e,t){let n=PM(e);const{delay:r}=t,{id:o,session:a}=e,l=s(e,OM);if(o&&n&&o!==n)throw new Error("Generic object has multiple IDs, qInfo.qId: ".concat(n,", id: ").concat(o));return n=n||o||"object - ".concat(+Date.now()),{[n]:i(i({id:n,session:LM(a,{defaultValue:!0}),on:()=>{},once:()=>{}},Object.entries(l).reduce(((e,t)=>{let[n,o]=t;return i(i({},e),{},{[n]:RM(o,{async:TM(n),delay:r})})}),{})),{},{genericType:e.type})}}(n,t))),{})}function NM(e){if(!e.getLayout)throw new Error('Generic object is missing "getLayout"');if(!PM(e))throw new Error('Generic object is missing "qId" for path "getLayout().qInfo.qId"')}function MM(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Array.isArray(e)||0===e.length)return()=>{throw new Error('No "genericObjects" specified')};e.forEach(NM);const n=_M(e,t);return async e=>Promise.resolve(n[e])}function qM(){return()=>Promise.resolve({id:"app-layout"})}const zM={fromGenericObjects(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new EM,r=new kM,o=new MM(e,t),i=new qM,a={id:"app - ".concat(+Date.now()),session:n,createSessionObject:r,destroySessionObject:async()=>{},getObject:o,getAppLayout:i};return Promise.resolve(a)}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},DM={generator:V_,hook:R_,theme:lt,locale:G};e.EnigmaMocker=zM,e.__DO_NOT_USE__=DM,e.conversion=QT,e.embed=wM,e.onContextMenu=function(e){const t=C_(++f_);t.value||(t.value=1,p_.__hooks.menus.push(t)),t.fn=e},e.onTakeSnapshot=function(e){const t=C_(++f_);t.value||(t.value=1,p_.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){const[n]=O_({action(){n._config.action.call(null)}});return n.component||(n.component=p_,p_.__hooks.actions.list.push(n)),P_((()=>{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=k_("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return k_("appLayout")},e.useConstraints=function(){return k_("constraints")},e.useDeviceType=function(){return k_("deviceType")},e.useEffect=I_,e.useElement=__,e.useEmbed=function(){return k_("nebbie")},e.useEmitter=function(){return k_("emitter")},e.useGlobal=function(){const e=k_("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){const n=C_(++f_);if(n.imperative||(n.imperative=!0),h_(n.value?n.value[0]:void 0,t)){const r=e();n.value=[t,r],p_.__hooks.imperativeHandle=r}},e.useInteractionState=function(){return k_("interactions")},e.useKeyboard=function(){const e=k_("keyboardNavigation"),t=k_("focusHandler");if(!p_.__hooks.accessibility.exitFunction){const e=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const n=this.__hooks.accessibility;n.enabled&&n.active&&(M_(this),t&&t.blurCallback&&t.blurCallback(e))}.bind(p_);p_.__hooks.accessibility.exitFunction=e;const n=function(){const e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),N_(this))}.bind(p_);p_.__hooks.accessibility.focusFunction=n;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind(p_);p_.__hooks.accessibility.focusSelectionFunction=r}const n=p_.__hooks.accessibility.focusFunction,r=p_.__hooks.accessibility.exitFunction,o=p_.__hooks.accessibility.focusSelectionFunction,[i,a]=O_({active:!1,enabled:e,blur:r,focus:n,focusSelection:o});return p_.__hooks.accessibility.setter=a,p_.__hooks.accessibility.enabled=e,I_((()=>a({active:!1,enabled:e,blur:r,focus:n,focusSelection:o})),[e]),i},e.useLayout=function(){return k_("layout")},e.useMemo=P_,e.useModel=function(){const e=k_("model");return e&&e.session?e:void 0},e.useOptions=function(){return k_("options")},e.usePlugins=function(){return k_("plugins")},e.usePromise=function(e,t){const[n,r]=O_((()=>({resolved:void 0,rejected:void 0,state:"pending"}))),o=C_(++f_);return o.component||(o.component=p_),T_((()=>{let t=!1;return o.teardown=()=>{t=!0,o.teardown=null;const e=o.component.__hooks.pendingPromises.indexOf(o);e>-1&&o.component.__hooks.pendingPromises.splice(e,1)},e().then((e=>{t||(o.teardown&&o.teardown(),r({resolved:e,rejected:void 0,state:"resolved"}))})).catch((e=>{t||(o.teardown&&o.teardown(),r({resolved:void 0,rejected:e,state:"resolved"}))})),o.component.__hooks.pendingPromises.push(o),()=>{o.teardown&&o.teardown()}}),t),[n.resolved,n.rejected]},e.useRect=function(){const e=__(),t=p_.__hooks.resizer,[n,r]=O_((()=>{const{left:t,top:n,width:r,height:o}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:o}}));return t.current=n,-1===t.setters.indexOf(r)&&t.setters.push(r),t.update&&t.resize&&(t.update=!1,t.resize()),T_((()=>{if(t.initiated)return;t.initiated=!0;const n=()=>{const{left:n,top:r,width:o,height:i}=e.getBoundingClientRect(),a=t.current;a.width===o&&a.height===i&&a.left===n&&a.top===r||t.setters.forEach((e=>e({left:n,top:r,width:o,height:i})))};if(t.resize=()=>{n()},t.explicitResize)return()=>{t.resize=void 0};if("function"==typeof ResizeObserver){let r=new ResizeObserver(n);return r.observe(e),()=>{r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}),[e]),n},e.useRenderState=function(){C_(++f_);const e=p_.__hooks;return{pending:()=>{e.waitForData=!0},restore:()=>{e.waitForData=!1}}},e.useSelections=function(){return k_("selections")},e.useStaleLayout=function(){const e=k_("layout"),[t]=O_({current:e});return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=O_,e.useTheme=function(){return k_("theme")},e.useTranslator=function(){return k_("translator")}}));
|
|
134
134
|
//# sourceMappingURL=stardust.js.map
|