@nebula.js/sn-text 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-spec/spec.json +1 -1
- package/core/esm/index.js +3 -3
- package/dist/sn-text.js +3 -3
- package/dist/sn-text.systemjs.js +3 -3
- package/package.json +52 -52
- package/sn-text-ext/dist/sn-text.js +3 -3
- package/sn-text-ext/sn-text.qext +1 -1
package/core/esm/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-text v1.3.
|
|
2
|
+
* @nebula.js/sn-text v1.3.2
|
|
3
3
|
* Copyright (c) 2025 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import{useMemo as e,useEffect as t,useElement as n,useStaleLayout as r,useModel as o,useInteractionState as i,useEmitter as l,useTranslator as a,useState as s,useTheme as u,usePromise as c,useImperativeHandle as d}from"@nebula.js/stardust";function f(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)}const p={version:"1.3.0",showTitles:!1,text:null,fontsUsed:[],components:[],qHyperCubeDef:{qDimensions:[],qMeasures:[],qSuppressZero:!1,qSuppressMissing:!0,qInitialDataFetch:[{qWidth:500,qHeight:10}]},disableNavMenu:!0,showDetails:!1},h=e=>{const t=()=>{e.setPropertiesHaveBeenModifiedForSelectedModel(!0)};return{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:0},measures:{min:0,max:100,added(e){e.qDef={...e.qDef,qAggrFunc:"None"},t()},removed:t,replaced:t,moved:t}}]}};function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var g,v,b={},y={exports:{}},x={},_={exports:{}},E={};function w(){if(g)return E;g=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function m(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}m.prototype.isReactComponent={},m.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")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var y=b.prototype=new v;y.constructor=b,p(y,m.prototype),y.isPureReactComponent=!0;var x=Array.isArray,_=Object.prototype.hasOwnProperty,w={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function S(t,n,r){var o,i={},l=null,a=null;if(null!=n)for(o in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(l=""+n.key),n)_.call(n,o)&&!C.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:e,type:t,key:l,ref:a,props:i,_owner:w.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function N(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 R(n,r,o,i,l){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var s=!1;if(null===n)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return l=l(s=n),n=""===i?"."+N(s,0):i,x(l)?(o="",null!=n&&(o=n.replace(T,"$&/")+"/"),R(l,r,o,"",(function(e){return e}))):null!=l&&(k(l)&&(l=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(l,o+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+n)),r.push(l)),1;if(s=0,i=""===i?".":i+":",x(n))for(var u=0;u<n.length;u++){var c=i+N(a=n[u],u);s+=R(a,r,o,c,l)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(a=n.next()).done;)s+=R(a=a.value,r,o,c=i+N(a,u++),l);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function A(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(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 L={current:null},M={transition:null},P={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:M,ReactCurrentOwner:w};return E.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},E.Component=m,E.Fragment=n,E.Profiler=o,E.PureComponent=b,E.StrictMode=r,E.Suspense=s,E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,E.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),i=t.key,l=t.ref,a=t._owner;if(null!=n){if(void 0!==n.ref&&(l=n.ref,a=w.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)_.call(n,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:i,ref:l,props:o,_owner:a}},E.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},E.createElement=S,E.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},E.createRef=function(){return{current:null}},E.forwardRef=function(e){return{$$typeof:a,render:e}},E.isValidElement=k,E.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:O}},E.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},E.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},E.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},E.useCallback=function(e,t){return L.current.useCallback(e,t)},E.useContext=function(e){return L.current.useContext(e)},E.useDebugValue=function(){},E.useDeferredValue=function(e){return L.current.useDeferredValue(e)},E.useEffect=function(e,t){return L.current.useEffect(e,t)},E.useId=function(){return L.current.useId()},E.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},E.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},E.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},E.useMemo=function(e,t){return L.current.useMemo(e,t)},E.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},E.useRef=function(e){return L.current.useRef(e)},E.useState=function(e){return L.current.useState(e)},E.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},E.useTransition=function(){return L.current.useTransition()},E.version="18.2.0",E}function C(){return v||(v=1,_.exports=w()),_.exports}var S,k,T,N,R,A={exports:{}},O={};function L(){return k||(k=1,A.exports=(S||(S=1,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,l=i>>>1;r<l;){var a=2*(r+1)-1,s=e[a],u=a+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[a]=n,r=a);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}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 l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,d=null,f=3,p=!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(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,L(_);else{var t=n(u);null!==t&&M(x,t.startTime-e)}}function _(t,o){h=!1,m&&(m=!1,v(S),S=-1),p=!0;var i=f;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!N());){var l=d.callback;if("function"==typeof l){d.callback=null,f=d.priorityLevel;var a=l(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof a?d.callback=a:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&M(x,g.startTime-o),c=!1}return c}finally{d=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,w=!1,C=null,S=-1,k=5,T=-1;function N(){return!(e.unstable_now()-T<k)}function R(){if(null!==C){var t=e.unstable_now();T=t;var n=!0;try{n=C(!0,t)}finally{n?E():(w=!1,C=null)}}else w=!1}if("function"==typeof b)E=function(){b(R)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,O=A.port2;A.port1.onmessage=R,E=function(){O.postMessage(null)}}else E=function(){g(R,0)};function L(e){C=e,w||(w=!0,E())}function M(t,n){S=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||p||(h=!0,L(_))},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"):k=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=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=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,i){var l=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,r){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:a=i+a,sortIndex:-1},i>l?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(v(S),S=-1):m=!0,M(x,i-l))):(r.sortIndex=a,t(s,r),h||p||(h=!0,L(_))),r},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(O)),O)),A.exports}
|
|
7
|
+
import{useMemo as e,useEffect as t,useElement as n,useStaleLayout as r,useModel as o,useInteractionState as i,useEmitter as l,useTranslator as a,useState as s,useTheme as u,usePromise as c,useImperativeHandle as d}from"@nebula.js/stardust";function f(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)}const p={version:"1.3.2",showTitles:!1,text:null,fontsUsed:[],components:[],qHyperCubeDef:{qDimensions:[],qMeasures:[],qSuppressZero:!1,qSuppressMissing:!0,qInitialDataFetch:[{qWidth:500,qHeight:10}]},disableNavMenu:!0,showDetails:!1},h=e=>{const t=()=>{e.setPropertiesHaveBeenModifiedForSelectedModel(!0)};return{targets:[{path:"/qHyperCubeDef",dimensions:{min:0,max:0},measures:{min:0,max:100,added(e){e.qDef={...e.qDef,qAggrFunc:"None"},t()},removed:t,replaced:t,moved:t}}]}};function m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var g,v,b={},y={exports:{}},x={},_={exports:{}},E={};function w(){if(g)return E;g=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function m(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}m.prototype.isReactComponent={},m.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")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var y=b.prototype=new v;y.constructor=b,p(y,m.prototype),y.isPureReactComponent=!0;var x=Array.isArray,_=Object.prototype.hasOwnProperty,w={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function S(t,n,r){var o,i={},l=null,a=null;if(null!=n)for(o in void 0!==n.ref&&(a=n.ref),void 0!==n.key&&(l=""+n.key),n)_.call(n,o)&&!C.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:e,type:t,key:l,ref:a,props:i,_owner:w.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function N(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 R(n,r,o,i,l){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var s=!1;if(null===n)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return l=l(s=n),n=""===i?"."+N(s,0):i,x(l)?(o="",null!=n&&(o=n.replace(T,"$&/")+"/"),R(l,r,o,"",(function(e){return e}))):null!=l&&(k(l)&&(l=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(l,o+(!l.key||s&&s.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+n)),r.push(l)),1;if(s=0,i=""===i?".":i+":",x(n))for(var u=0;u<n.length;u++){var c=i+N(a=n[u],u);s+=R(a,r,o,c,l)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(a=n.next()).done;)s+=R(a=a.value,r,o,c=i+N(a,u++),l);else if("object"===a)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function A(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(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 L={current:null},M={transition:null},P={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:M,ReactCurrentOwner:w};return E.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},E.Component=m,E.Fragment=n,E.Profiler=o,E.PureComponent=b,E.StrictMode=r,E.Suspense=s,E.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,E.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),i=t.key,l=t.ref,a=t._owner;if(null!=n){if(void 0!==n.ref&&(l=n.ref,a=w.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)_.call(n,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:i,ref:l,props:o,_owner:a}},E.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},E.createElement=S,E.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},E.createRef=function(){return{current:null}},E.forwardRef=function(e){return{$$typeof:a,render:e}},E.isValidElement=k,E.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:O}},E.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},E.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},E.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},E.useCallback=function(e,t){return L.current.useCallback(e,t)},E.useContext=function(e){return L.current.useContext(e)},E.useDebugValue=function(){},E.useDeferredValue=function(e){return L.current.useDeferredValue(e)},E.useEffect=function(e,t){return L.current.useEffect(e,t)},E.useId=function(){return L.current.useId()},E.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},E.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},E.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},E.useMemo=function(e,t){return L.current.useMemo(e,t)},E.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},E.useRef=function(e){return L.current.useRef(e)},E.useState=function(e){return L.current.useState(e)},E.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},E.useTransition=function(){return L.current.useTransition()},E.version="18.2.0",E}function C(){return v||(v=1,_.exports=w()),_.exports}var S,k,T,N,R,A={exports:{}},O={};function L(){return k||(k=1,A.exports=(S||(S=1,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,l=i>>>1;r<l;){var a=2*(r+1)-1,s=e[a],u=a+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[a]=n,r=a);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}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 l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],c=1,d=null,f=3,p=!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(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,L(_);else{var t=n(u);null!==t&&M(x,t.startTime-e)}}function _(t,o){h=!1,m&&(m=!1,v(S),S=-1),p=!0;var i=f;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!N());){var l=d.callback;if("function"==typeof l){d.callback=null,f=d.priorityLevel;var a=l(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof a?d.callback=a:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&M(x,g.startTime-o),c=!1}return c}finally{d=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,w=!1,C=null,S=-1,k=5,T=-1;function N(){return!(e.unstable_now()-T<k)}function R(){if(null!==C){var t=e.unstable_now();T=t;var n=!0;try{n=C(!0,t)}finally{n?E():(w=!1,C=null)}}else w=!1}if("function"==typeof b)E=function(){b(R)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,O=A.port2;A.port1.onmessage=R,E=function(){O.postMessage(null)}}else E=function(){g(R,0)};function L(e){C=e,w||(w=!0,E())}function M(t,n){S=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||p||(h=!0,L(_))},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"):k=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=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=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,i){var l=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?l+i:l,r){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:a=i+a,sortIndex:-1},i>l?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(v(S),S=-1):m=!0,M(x,i-l))):(r.sortIndex=a,t(s,r),h||p||(h=!0,L(_))),r},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(O)),O)),A.exports}
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-dom.production.min.js
|
|
@@ -93,6 +93,6 @@ import{useMemo as e,useEffect as t,useElement as n,useStaleLayout as r,useModel
|
|
|
93
93
|
animation-iteration-count: infinite;
|
|
94
94
|
animation-delay: 200ms;
|
|
95
95
|
}
|
|
96
|
-
`),Eu.rippleVisible,Ru,550,(({theme:e})=>e.transitions.easing.easeInOut),Eu.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Eu.child,Eu.childLeaving,Au,550,(({theme:e})=>e.transitions.easing.easeInOut),Eu.childPulsate,Ou,(({theme:e})=>e.transitions.easing.easeInOut)),Pu=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,l=Vn(n,wu),[a,s]=D.useState([]),u=D.useRef(0),c=D.useRef(null);D.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[a]);const d=D.useRef(!1),f=D.useRef(null),p=D.useRef(null),h=D.useRef(null);D.useEffect((()=>()=>{clearTimeout(f.current)}),[]);const m=D.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:l}=e;s((e=>[...e,Wo.jsx(Mu,{classes:{ripple:pa(o.ripple,Eu.ripple),rippleVisible:pa(o.rippleVisible,Eu.rippleVisible),ripplePulsate:pa(o.ripplePulsate,Eu.ripplePulsate),child:pa(o.child,Eu.child),childLeaving:pa(o.childLeaving,Eu.childLeaving),childPulsate:pa(o.childPulsate,Eu.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=l}),[o]),g=D.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:l=!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 a=l?null:h.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=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((a?a.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})},f.current=setTimeout((()=>{p.current&&(p.current(),p.current=null)}),80)):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m]),v=D.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=D.useCallback(((e,t)=>{if(clearTimeout(f.current),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void(f.current=setTimeout((()=>{b(e,t)})));p.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[]);return D.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),Wo.jsx(Lu,fn({className:pa(Eu.root,o.root,i),ref:h},l,{children:Wo.jsx(gu,{component:null,exit:!0,children:a})}))}));function Iu(e){return Gn("MuiButtonBase",e)}const Du=Yn("MuiButtonBase",["root","disabled","focusVisible"]),zu=["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"],$u=sa("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"},[`&.${Du.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fu=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:l,component:a="button",disabled:s=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:_,onMouseLeave:E,onMouseUp:w,onTouchEnd:C,onTouchMove:S,onTouchStart:k,tabIndex:T=0,TouchRippleProps:N,touchRippleRef:R,type:A}=n,O=Vn(n,zu),L=D.useRef(null),M=D.useRef(null),P=An(M,R),{isFocusVisibleRef:I,onFocus:z,onBlur:$,ref:F}=Bn(),[B,H]=D.useState(!1);s&&B&&H(!1),D.useImperativeHandle(r,(()=>({focusVisible:()=>{H(!0),L.current.focus()}})),[]);const[j,W]=D.useState(!1);D.useEffect((()=>{W(!0)}),[]);const K=j&&!u&&!s;function U(e,t,n=c){return Rn((r=>{t&&t(r);return!n&&M.current&&M.current[e](r),!0}))}D.useEffect((()=>{B&&d&&!u&&j&&M.current.pulsate()}),[u,d,B,j]);const G=U("start",_),Y=U("stop",m),V=U("stop",g),Q=U("stop",w),q=U("stop",(e=>{B&&e.preventDefault(),E&&E(e)})),X=U("start",k),J=U("stop",C),Z=U("stop",S),ee=U("stop",(e=>{$(e),!1===I.current&&H(!1),p&&p(e)}),!1),te=Rn((e=>{L.current||(L.current=e.currentTarget),z(e),!0===I.current&&(H(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=L.current;return a&&"button"!==a&&!("A"===e.tagName&&e.href)},re=D.useRef(!1),oe=Rn((e=>{d&&!re.current&&B&&M.current&&" "===e.key&&(re.current=!0,M.current.stop(e,(()=>{M.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=Rn((e=>{d&&" "===e.key&&M.current&&B&&!e.defaultPrevented&&(re.current=!1,M.current.stop(e,(()=>{M.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let le=a;"button"===le&&(O.href||O.to)&&(le=f);const ae={};"button"===le?(ae.type=void 0===A?"button":A,ae.disabled=s):(O.href||O.to||(ae.role="button"),s&&(ae["aria-disabled"]=s));const se=An(t,F,L),ue=fn({},n,{centerRipple:o,component:a,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:T,focusVisible:B}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=jn({root:["root",t&&"disabled",n&&"focusVisible"]},Iu,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return Wo.jsxs($u,fn({as:le,className:pa(ce.root,l),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:Y,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:G,onMouseLeave:q,onMouseUp:Q,onDragLeave:V,onTouchEnd:J,onTouchMove:Z,onTouchStart:X,ref:se,tabIndex:s?-1:T,type:A},ae,O,{children:[i,K?Wo.jsx(Pu,fn({ref:P,center:o},N)):null]}))}));function Bu(e){return Gn("MuiIconButton",e)}const Hu=Yn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ju=["edge","children","className","color","disabled","disableFocusRipple","size"],Wu=sa(Fu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${_n(n.color)}`],n.edge&&t[`edge${_n(n.edge)}`],t[`size${_n(n.size)}`]]}})((({theme:e,ownerState:t})=>fn({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})`:yl(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 fn({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&fn({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":fn({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yl(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)},{[`&.${Hu.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Ku=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:l="default",disabled:a=!1,disableFocusRipple:s=!1,size:u="medium"}=n,c=Vn(n,ju),d=fn({},n,{edge:r,color:l,disabled:a,disableFocusRipple:s,size:u}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return jn({root:["root",n&&"disabled","default"!==r&&`color${_n(r)}`,o&&`edge${_n(o)}`,`size${_n(i)}`]},Bu,t)})(d);return Wo.jsx(Wu,fn({className:pa(f.root,i),centerRipple:!0,focusRipple:!s,disabled:a,ref:t,ownerState:d},c,{children:o}))}));function Uu(e){return Gn("MuiTypography",e)}Yn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Gu=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yu=sa("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${_n(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>fn({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}))),Vu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Qu={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},qu=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiTypography"}),r=(e=>Qu[e]||e)(n.color),o=tl(fn({},n,{color:r})),{align:i="inherit",className:l,component:a,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:f=Vu}=o,p=Vn(o,Gu),h=fn({},o,{align:i,color:r,className:l,component:a,gutterBottom:s,noWrap:u,paragraph:c,variant:d,variantMapping:f}),m=a||(c?"p":f[d]||Vu[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:l}=e;return jn({root:["root",i,"inherit"!==e.align&&`align${_n(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Uu,l)})(h);return Wo.jsx(Yu,fn({as:m,ref:t,ownerState:h,className:pa(g.root,l)},p))})),Xu=["components","componentsProps","slots","slotProps"],Ju=sa(Qs,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Zu=D.forwardRef((function(e,t){var n;const r=qi(),o=la({props:e,name:"MuiPopper"}),{components:i,componentsProps:l,slots:a,slotProps:s}=o,u=Vn(o,Xu),c=null!=(n=null==a?void 0:a.root)?n:null==i?void 0:i.Root;return Wo.jsx(Ju,fn({direction:null==r?void 0:r.direction,slots:{root:c},slotProps:null!=s?s:l},u,{ref:t}))}));const ec=D.createContext(void 0);function tc(e){return Wo.jsx(Zi,fn({},e,{defaultTheme:oa,themeId:Xn}))}function nc(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function rc(e){return Gn("MuiInputBase",e)}const oc=Yn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),ic=["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"],lc=sa("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(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${_n(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>fn({},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",[`&.${oc.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&fn({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),ac=sa("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(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]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=fn({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 fn({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] + .${oc.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},[`&.${oc.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"})})),sc=Wo.jsx(tc,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),uc=D.forwardRef((function(e,t){var n;const r=la({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:l,className:a,components:s={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:v={},inputRef:b,maxRows:y,minRows:x,multiline:_=!1,name:E,onBlur:w,onChange:C,onClick:S,onFocus:k,onKeyDown:T,onKeyUp:N,placeholder:R,readOnly:A,renderSuffix:O,rows:L,slotProps:M={},slots:P={},startAdornment:I,type:z="text",value:$}=r,F=Vn(r,ic),B=null!=v.value?v.value:$,{current:H}=D.useRef(null!=B),j=D.useRef(),W=D.useCallback((e=>{}),[]),K=An(j,b,v.ref,W),[U,G]=D.useState(!1),Y=D.useContext(ec),V=function({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)),{})}({props:r,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});V.focused=Y?Y.focused:U,D.useEffect((()=>{!Y&&d&&U&&(G(!1),w&&w())}),[Y,d,U,w]);const Q=Y&&Y.onFilled,q=Y&&Y.onEmpty,X=D.useCallback((e=>{!function(e,t=!1){return e&&(nc(e.value)&&""!==e.value||t&&nc(e.defaultValue)&&""!==e.defaultValue)}(e)?q&&q():Q&&Q()}),[Q,q]);Sn((()=>{H&&X({value:B})}),[B,X,H]);D.useEffect((()=>{X(j.current)}),[]);let J=g,Z=v;_&&"input"===J&&(Z=fn(L?{type:void 0,minRows:L,maxRows:L}:{type:void 0,maxRows:y,minRows:x},Z),J=eu);D.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(I))}),[Y,I]);const ee=fn({},r,{color:V.color||"primary",disabled:V.disabled,endAdornment:p,error:V.error,focused:V.focused,formControl:Y,fullWidth:h,hiddenLabel:V.hiddenLabel,multiline:_,size:V.size,startAdornment:I,type:z}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:l,formControl:a,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e;return jn({root:["root",`color${_n(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",l&&"focused",a&&"formControl","small"===f&&"sizeSmall",c&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},rc,t)})(ee),ne=P.root||s.Root||lc,re=M.root||u.root||{},oe=P.input||s.Input||ac;return Z=fn({},Z,null!=(n=M.input)?n:u.input),Wo.jsxs(D.Fragment,{children:[!f&&sc,Wo.jsxs(ne,fn({},re,!ha(ne)&&{ownerState:fn({},ee,re.ownerState)},{ref:t,onClick:e=>{j.current&&e.currentTarget===e.target&&j.current.focus(),S&&S(e)}},F,{className:pa(te.root,re.className,a,A&&"MuiInputBase-readOnly"),children:[I,Wo.jsx(ec.Provider,{value:null,children:Wo.jsx(oe,fn({ownerState:ee,"aria-invalid":V.error,"aria-describedby":o,autoComplete:i,autoFocus:l,defaultValue:c,disabled:V.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?j.current:{value:"x"})},name:E,placeholder:R,readOnly:A,required:V.required,rows:L,value:B,onKeyDown:T,onKeyUp:N,type:z},Z,!ha(oe)&&{as:J,ownerState:fn({},ee,Z.ownerState)},{ref:K,className:pa(te.input,Z.className,A&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),v.onBlur&&v.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):G(!1)},onChange:(e,...t)=>{if(!H){const t=e.target||j.current;if(null==t)throw new Error(gn(1));X({value:t.value})}v.onChange&&v.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{V.disabled?e.stopPropagation():(k&&k(e),v.onFocus&&v.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):G(!0))}}))}),p,O?O(fn({},V,{startAdornment:I})):null]}))]})})),cc=ra(),dc=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Uo("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Gi);return D.forwardRef((function(e,l){const a=Ji(n),s=tl(e),{className:u,component:c="div"}=s,d=Vn(s,nl);return Wo.jsx(i,fn({as:c,ref:l,className:qn(u,o?o(r):r),theme:t&&a[t]||a},d))}))}({themeId:Xn,defaultTheme:cc,defaultClassName:"MuiBox-root",generateClassName:Kn.generate});function fc(e){return Gn("MuiButton",e)}const pc=Yn("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"]),hc=D.createContext({}),mc=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],gc=e=>fn({},"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}}),vc=sa(Fu,{shouldForwardProp:e=>aa(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_n(n.color)}`],t[`size${_n(n.size)}`],t[`${n.variant}Size${_n(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 fn({},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":fn({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:yl(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})`:yl(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})`:yl(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":fn({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${pc.focusVisible}`]:fn({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${pc.disabled}`]:fn({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 ${yl(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"},[`&.${pc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${pc.disabled}`]:{boxShadow:"none"}})),bc=sa("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${_n(n.size)}`]]}})((({ownerState:e})=>fn({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},gc(e)))),yc=sa("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${_n(n.size)}`]]}})((({ownerState:e})=>fn({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},gc(e)))),xc=D.forwardRef((function(e,t){const n=D.useContext(hc),r=la({props:Hn(n,e),name:"MuiButton"}),{children:o,color:i="primary",component:l="button",className:a,disabled:s=!1,disableElevation:u=!1,disableFocusRipple:c=!1,endIcon:d,focusVisibleClassName:f,fullWidth:p=!1,size:h="medium",startIcon:m,type:g,variant:v="text"}=r,b=Vn(r,mc),y=fn({},r,{color:i,component:l,disabled:s,disableElevation:u,disableFocusRipple:c,fullWidth:p,size:h,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e;return fn({},l,jn({root:["root",i,`${i}${_n(t)}`,`size${_n(o)}`,`${i}Size${_n(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${_n(o)}`],endIcon:["endIcon",`iconSize${_n(o)}`]},fc,l))})(y),_=m&&Wo.jsx(bc,{className:x.startIcon,ownerState:y,children:m}),E=d&&Wo.jsx(yc,{className:x.endIcon,ownerState:y,children:d});return Wo.jsxs(vc,fn({ownerState:y,className:pa(n.className,x.root,a),component:l,disabled:s,focusRipple:!c,focusVisibleClassName:pa(x.focusVisible,f),ref:t,type:g},b,{classes:x,children:[_,o,E]}))}));function _c(e){return Gn("MuiDivider",e)}const Ec=Yn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),wc=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Cc=sa("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})=>fn({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)`:yl(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({theme:e,ownerState:t})=>fn({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:e,ownerState:t})=>fn({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:e})=>fn({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Sc=sa("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>fn({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)`}))),kc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:l=(o?"div":"hr"),flexItem:a=!1,light:s=!1,orientation:u="horizontal",role:c=("hr"!==l?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=Vn(n,wc),h=fn({},n,{absolute:r,component:l,flexItem:a,light:s,orientation:u,role:c,textAlign:d,variant:f}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:l,textAlign:a,variant:s}=e;return jn({root:["root",t&&"absolute",s,i&&"light","vertical"===l&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===l&&"withChildrenVertical","right"===a&&"vertical"!==l&&"textAlignRight","left"===a&&"vertical"!==l&&"textAlignLeft"],wrapper:["wrapper","vertical"===l&&"wrapperVertical"]},_c,r)})(h);return Wo.jsx(Cc,fn({as:l,className:pa(m.root,i),role:c,ref:t,ownerState:h},p,{children:o?Wo.jsx(Sc,{className:m.wrapper,ownerState:h,children:o}):null}))})),Tc=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Nc(e){return`scale(${e}, ${e**2})`}const Rc={entering:{opacity:1,transform:Nc(1)},entered:{opacity:1,transform:"none"}},Ac="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Oc=D.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:l,onEnter:a,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:f,style:p,timeout:h="auto",TransitionComponent:m=cu}=e,g=Vn(e,Tc),v=D.useRef(),b=D.useRef(),y=ia(),x=D.useRef(null),_=An(x,o.ref,t),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},w=E(u),C=E(((e,t)=>{(e=>{e.scrollTop})(e);const{duration:n,delay:r,easing:o}=vu({style:p,timeout:h,easing:i},{mode:"enter"});let l;"auto"===h?(l=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=l):l=n,e.style.transition=[y.transitions.create("opacity",{duration:l,delay:r}),y.transitions.create("transform",{duration:Ac?l:.666*l,delay:r,easing:o})].join(","),a&&a(e,t)})),S=E(s),k=E(f),T=E((e=>{const{duration:t,delay:n,easing:r}=vu({style:p,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:Ac?o:.666*o,delay:Ac?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Nc(.75),c&&c(e)})),N=E(d);return D.useEffect((()=>()=>{clearTimeout(v.current)}),[]),Wo.jsx(m,fn({appear:r,in:l,nodeRef:x,onEnter:C,onEntered:S,onEntering:w,onExit:T,onExited:N,onExiting:k,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)=>D.cloneElement(o,fn({style:fn({opacity:0,transform:Nc(.75),visibility:"exited"!==e||l?void 0:"hidden"},Rc[e],p,o.props.style),ref:_},t))}))}));Oc.muiSupportAuto=!0;const Lc=D.createContext({});function Mc(e){return Gn("MuiList",e)}Yn("MuiList",["root","padding","dense","subheader"]);const Pc=["children","className","component","dense","disablePadding","subheader"],Ic=sa("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})=>fn({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Dc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:l=!1,disablePadding:a=!1,subheader:s}=n,u=Vn(n,Pc),c=D.useMemo((()=>({dense:l})),[l]),d=fn({},n,{component:i,dense:l,disablePadding:a}),f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return jn({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Mc,t)})(d);return Wo.jsx(Lc.Provider,{value:c,children:Wo.jsxs(Ic,fn({as:i,className:pa(f.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));function zc(e){return Gn("MuiListItemIcon",e)}const $c=Yn("MuiListItemIcon",["root","alignItemsFlexStart"]),Fc=["className"],Bc=sa("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})=>fn({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Hc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Vn(n,Fc),i=fn({},n,{alignItems:D.useContext(Lc).alignItems}),l=(e=>{const{alignItems:t,classes:n}=e;return jn({root:["root","flex-start"===t&&"alignItemsFlexStart"]},zc,n)})(i);return Wo.jsx(Bc,fn({className:pa(l.root,r),ownerState:i,ref:t},o))})),jc=Yn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Wc=["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 Uc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Gc(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 Yc(e,t,n,r,o,i){let l=!1,a=o(e,t,!!t&&n);for(;a;){if(a===e.firstChild){if(l)return!1;l=!0}const t=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&Gc(a,i)&&!t)return a.focus(),!0;a=o(e,a,n)}return!1}const Vc=D.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:l,disabledItemsFocusable:a=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Vn(e,Wc),f=D.useRef(null),p=D.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Sn((()=>{r&&f.current.focus()}),[r]),D.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(En(e))}px`;f.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}})),[]);const h=An(f,t);let m=-1;D.Children.forEach(i,((e,t)=>{D.isValidElement(e)&&(e.props.disabled||("selectedMenu"===c&&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)))}));const g=D.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),D.cloneElement(e,t)}return e}));return Wo.jsx(Dc,fn({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=f.current,n=e.key,r=En(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Yc(t,r,s,a,Kc);else if("ArrowUp"===n)e.preventDefault(),Yc(t,r,s,a,Uc);else if("Home"===n)e.preventDefault(),Yc(t,null,s,a,Kc);else if("End"===n)e.preventDefault(),Yc(t,null,s,a,Uc);else if(1===n.length){const o=p.current,i=n.toLowerCase(),l=performance.now();o.keys.length>0&&(l-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=l,o.keys.push(i);const s=r&&!o.repeating&&Gc(r,o);o.previousKeyMatched&&(s||Yc(t,r,!1,a,Kc,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function Qc(e){return Gn("MuiMenuItem",e)}const qc=Yn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Xc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Jc=sa(Fu,{shouldForwardProp:e=>aa(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})=>fn({},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"}},[`&.${qc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:yl(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${qc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:yl(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${qc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:yl(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})`:yl(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${qc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${qc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ec.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ec.inset}`]:{marginLeft:52},[`& .${jc.root}`]:{marginTop:0,marginBottom:0},[`& .${jc.inset}`]:{paddingLeft:36},[`& .${$c.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&fn({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${$c.root} svg`]:{fontSize:"1.25rem"}})))),Zc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:l=!1,disableGutters:a=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,f=Vn(n,Xc),p=D.useContext(Lc),h=D.useMemo((()=>({dense:i||p.dense||!1,disableGutters:a})),[p.dense,i,a]),m=D.useRef(null);Sn((()=>{r&&m.current&&m.current.focus()}),[r]);const g=fn({},n,{dense:h.dense,divider:l,disableGutters:a}),v=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:l}=e;return fn({},l,jn({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},Qc,l))})(n),b=An(m,t);let y;return n.disabled||(y=void 0!==c?c:-1),Wo.jsx(Lc.Provider,{value:h,children:Wo.jsx(Jc,fn({ref:b,role:u,tabIndex:y,component:o,focusVisibleClassName:pa(v.focusVisible,s),className:pa(v.root,d)},f,{ownerState:g,classes:v}))})}));function ed(e){return Gn("MuiTooltip",e)}const td=Yn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),nd=["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 rd=sa(Zu,{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})=>fn({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${td.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${td.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${td.arrow}`]:fn({},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"] .${td.arrow}`]:fn({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),od=sa("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${_n(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return fn({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:yl(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},{[`.${td.popper}[data-popper-placement*="left"] &`]:fn({transformOrigin:"right center"},t.isRtl?fn({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):fn({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${td.popper}[data-popper-placement*="right"] &`]:fn({transformOrigin:"left center"},t.isRtl?fn({marginRight:"14px"},t.touch&&{marginRight:"24px"}):fn({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${td.popper}[data-popper-placement*="top"] &`]:fn({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${td.popper}[data-popper-placement*="bottom"] &`]:fn({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),id=sa("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:yl(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let ld=!1,ad=null,sd={x:0,y:0};function ud(e,t){return n=>{t&&t(n),e(n)}}const cd=D.forwardRef((function(e,t){var n,r,o,i,l,a,s,u,c,d,f,p,h,m,g,v,b,y,x;const _=la({props:e,name:"MuiTooltip"}),{arrow:E=!1,children:w,components:C={},componentsProps:S={},describeChild:k=!1,disableFocusListener:T=!1,disableHoverListener:N=!1,disableInteractive:R=!1,disableTouchListener:A=!1,enterDelay:O=100,enterNextDelay:L=0,enterTouchDelay:M=700,followCursor:P=!1,id:I,leaveDelay:z=0,leaveTouchDelay:$=1500,onClose:F,onOpen:B,open:H,placement:j="bottom",PopperComponent:W,PopperProps:K={},slotProps:U={},slots:G={},title:Y,TransitionComponent:V=Oc,TransitionProps:Q}=_,q=Vn(_,nd),X=ia(),J="rtl"===X.direction,[Z,ee]=D.useState(),[te,ne]=D.useState(null),re=D.useRef(!1),oe=R||P,ie=D.useRef(),le=D.useRef(),ae=D.useRef(),se=D.useRef(),[ue,ce]=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=D.useRef(void 0!==e),[i,l]=D.useState(t);return[o?e:i,D.useCallback((e=>{o||l(e)}),[])]}({controlled:H,default:!1,name:"Tooltip",state:"open"});let de=ue;const fe=Nn(I),pe=D.useRef(),he=D.useCallback((()=>{void 0!==pe.current&&(document.body.style.WebkitUserSelect=pe.current,pe.current=void 0),clearTimeout(se.current)}),[]);D.useEffect((()=>()=>{clearTimeout(ie.current),clearTimeout(le.current),clearTimeout(ae.current),he()}),[he]);const me=e=>{clearTimeout(ad),ld=!0,ce(!0),B&&!de&&B(e)},ge=Rn((e=>{clearTimeout(ad),ad=setTimeout((()=>{ld=!1}),800+z),ce(!1),F&&de&&F(e),clearTimeout(ie.current),ie.current=setTimeout((()=>{re.current=!1}),X.transitions.duration.shortest)})),ve=e=>{re.current&&"touchstart"!==e.type||(Z&&Z.removeAttribute("title"),clearTimeout(le.current),clearTimeout(ae.current),O||ld&&L?le.current=setTimeout((()=>{me(e)}),ld?L:O):me(e))},be=e=>{clearTimeout(le.current),clearTimeout(ae.current),ae.current=setTimeout((()=>{ge(e)}),z)},{isFocusVisibleRef:ye,onBlur:xe,onFocus:_e,ref:Ee}=Bn(),[,we]=D.useState(!1),Ce=e=>{xe(e),!1===ye.current&&(we(!1),be(e))},Se=e=>{Z||ee(e.currentTarget),_e(e),!0===ye.current&&(we(!0),ve(e))},ke=e=>{re.current=!0;const t=w.props;t.onTouchStart&&t.onTouchStart(e)},Te=ve,Ne=be,Re=e=>{ke(e),clearTimeout(ae.current),clearTimeout(ie.current),he(),pe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",se.current=setTimeout((()=>{document.body.style.WebkitUserSelect=pe.current,ve(e)}),M)},Ae=e=>{w.props.onTouchEnd&&w.props.onTouchEnd(e),he(),clearTimeout(ae.current),ae.current=setTimeout((()=>{ge(e)}),$)};D.useEffect((()=>{if(de)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ge(e)}}),[ge,de]);const Oe=An(w.ref,Ee,ee,t);Y||0===Y||(de=!1);const Le=D.useRef(),Me={},Pe="string"==typeof Y;k?(Me.title=de||!Pe||N?null:Y,Me["aria-describedby"]=de?fe:null):(Me["aria-label"]=Pe?Y:null,Me["aria-labelledby"]=de&&!Pe?fe:null);const Ie=fn({},Me,q,w.props,{className:pa(q.className,w.props.className),onTouchStart:ke,ref:Oe},P?{onMouseMove:e=>{const t=w.props;t.onMouseMove&&t.onMouseMove(e),sd={x:e.clientX,y:e.clientY},Le.current&&Le.current.update()}}:{}),De={};A||(Ie.onTouchStart=Re,Ie.onTouchEnd=Ae),N||(Ie.onMouseOver=ud(Te,Ie.onMouseOver),Ie.onMouseLeave=ud(Ne,Ie.onMouseLeave),oe||(De.onMouseOver=Te,De.onMouseLeave=Ne)),T||(Ie.onFocus=ud(Se,Ie.onFocus),Ie.onBlur=ud(Ce,Ie.onBlur),oe||(De.onFocus=Se,De.onBlur=Ce));const ze=D.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(te),options:{element:te,padding:4}}];return null!=(e=K.popperOptions)&&e.modifiers&&(t=t.concat(K.popperOptions.modifiers)),fn({},K.popperOptions,{modifiers:t})}),[te,K]),$e=fn({},_,{isRtl:J,arrow:E,disableInteractive:oe,placement:j,PopperComponentProp:W,touch:re.current}),Fe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return jn({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${_n(i.split("-")[0])}`],arrow:["arrow"]},ed,t)})($e),Be=null!=(n=null!=(r=G.popper)?r:C.Popper)?n:rd,He=null!=(o=null!=(i=null!=(l=G.transition)?l:C.Transition)?i:V)?o:Oc,je=null!=(a=null!=(s=G.tooltip)?s:C.Tooltip)?a:od,We=null!=(u=null!=(c=G.arrow)?c:C.Arrow)?u:id,Ke=ma(Be,fn({},K,null!=(d=U.popper)?d:S.popper,{className:pa(Fe.popper,null==K?void 0:K.className,null==(f=null!=(p=U.popper)?p:S.popper)?void 0:f.className)}),$e),Ue=ma(He,fn({},Q,null!=(h=U.transition)?h:S.transition),$e),Ge=ma(je,fn({},null!=(m=U.tooltip)?m:S.tooltip,{className:pa(Fe.tooltip,null==(g=null!=(v=U.tooltip)?v:S.tooltip)?void 0:g.className)}),$e),Ye=ma(We,fn({},null!=(b=U.arrow)?b:S.arrow,{className:pa(Fe.arrow,null==(y=null!=(x=U.arrow)?x:S.arrow)?void 0:y.className)}),$e);return Wo.jsxs(D.Fragment,{children:[D.cloneElement(w,Ie),Wo.jsx(Be,fn({as:null!=W?W:Zu,placement:j,anchorEl:P?{getBoundingClientRect:()=>({top:sd.y,left:sd.x,right:sd.x,bottom:sd.y,width:0,height:0})}:Z,popperRef:Le,open:!!Z&&de,id:fe,transition:!0},De,Ke,{popperOptions:ze,children:({TransitionProps:e})=>Wo.jsx(He,fn({timeout:X.transitions.duration.shorter},e,Ue,{children:Wo.jsxs(je,fn({},Ge,{children:[Y,E?Wo.jsx(We,fn({},Ye,{ref:ne})):null]}))}))}))]})})),dd=function(e={}){const{createStyledComponent:t=Pl,useThemeProps:n=Il,componentName:r="MuiStack"}=e,o=t(zl);return D.forwardRef((function(e,t){const i=tl(n(e)),{component:l="div",direction:a="column",spacing:s=0,divider:u,children:c,className:d,useFlexGap:f=!1}=i,p=Vn(i,Ll),h={direction:a,spacing:s,useFlexGap:f},m=jn({root:["root"]},(e=>Gn(r,e)),{});return Wo.jsx(o,fn({as:l,ownerState:h,ref:t,className:qn(m.root,d)},p,{children:u?Dl(c,u):c}))}))}({createStyledComponent:sa("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>la({props:e,name:"MuiStack"})});function fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pd=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fd(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M9 1v1H2v12h12V7h1v7a1 1 0 0 1-.883.993L14 15H2a1 1 0 0 1-.993-.883L1 14V2a1 1 0 0 1 .883-.993L2 1zm7-1v5h-1V1.706l-4.5 4.501-.707-.707L14.292 1H11V0z"})),hd=D.forwardRef(pd);function md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gd=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){md(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})),vd=D.forwardRef(gd);var bd,yd,xd,_d={};var Ed=function(){if(xd)return yd;xd=1;const e=function(){if(bd)return _d;bd=1;var e=ae(),t=Se(),n=le(),r=re(),o=C();return _d.LinkPlugin=function({validateUrl:i}){let[l]=t.useLexicalComposerContext();return o.useEffect((()=>{if(!l.hasNodes([e.LinkNode]))throw Error("LinkPlugin: LinkNode not registered on editor");return n.mergeRegister(l.registerCommand(e.TOGGLE_LINK_COMMAND,(t=>{if(null===t)return e.toggleLink(t),!0;if("string"==typeof t)return!(void 0!==i&&!i(t)||(e.toggleLink(t),0));let{url:n,target:r,rel:o,title:l}=t;return e.toggleLink(n,{rel:o,target:r,title:l}),!0}),r.COMMAND_PRIORITY_LOW),void 0!==i?l.registerCommand(r.PASTE_COMMAND,(t=>{let n=r.$getSelection();if(!r.$isRangeSelection(n)||n.isCollapsed()||!(t instanceof ClipboardEvent)||null==t.clipboardData)return!1;let o=t.clipboardData.getData("text");return!!i(o)&&!n.getNodes().some((e=>r.$isElementNode(e)))&&(l.dispatchCommand(e.TOGGLE_LINK_COMMAND,o),t.preventDefault(),!0)}),r.COMMAND_PRIORITY_LOW):()=>{})}),[l,i]),null},_d}();return yd=e}();function wd(e){if(e.type)return e;if("#"===e.charAt(0))return wd(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(function(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Cd(e,t){return e=wd(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}(e)}const Sd={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},kd=12,Td=14,Nd=16,Rd=24,Ad=3,Od=300,Ld=400,Md=600,Pd=700,Id={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};Cd(Sd.GREYSCALE_0,.05),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5);var Dd;function zd(){return zd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zd.apply(null,arguments)}Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5);var $d,Fd=function(e){return D.createElement("svg",zd({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Dd||(Dd=D.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Bd(){return Bd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bd.apply(null,arguments)}var Hd=function(e){return D.createElement("svg",Bd({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),$d||($d=D.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function jd({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Wo.jsx("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})}function Wd(e={}){return Wo.jsx(jd,{...e,children:Wo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Wo.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Wo.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Kd(e={}){return Wo.jsx(jd,{...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Wo.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Wo.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Ud(e={}){return Wo.jsx(jd,{fontSize:"medium",...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Wo.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Gd(e={}){return Wo.jsx(jd,{fontSize:"medium",...e,children:Wo.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Wo.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Wo.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Yd({className:e}){return Wo.jsx(jd,{fontSize:"small",className:e,children:Wo.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Wo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Wo.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Wo.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Wo.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Wo.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function Vd(e={}){return Wo.jsx(jd,{...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Wo.jsx("rect",{stroke:Sd.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}Wo.jsx(Hd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Wo.jsx(Fd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Wo.jsx(Ud,{}),Wo.jsx(Gd,{}),Wo.jsx((function(e={}){return Wo.jsx(jd,{...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Wo.jsx("rect",{stroke:"#000000",fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}),{}),Wo.jsx(Wd,{}),Wo.jsx(Kd,{}),Wo.jsx(Fd,{style:{color:Sd.TEXT_PRIMARY},"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16});const Qd={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Ad,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var qd=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:Sd.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Sd.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Wo.jsx(Fd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${Sd.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`,borderRadius:Ad,backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${Sd.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Sd.WHITE,color:Sd.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:Ad},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Sd.GREYSCALE_0_15,backgroundColor:Sd.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Sd.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Sd.GREEN_PALE},"&:active":{backgroundColor:Sd.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Sd.BLUE_PALE},"&:active":{backgroundColor:Sd.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Ad,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Sd.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Sd.GREYSCALE_0_15,backgroundColor:Sd.GREYSCALE_100_60,"&:active":{backgroundColor:Sd.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Sd.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Sd.PURPLE,"&.Mui-focusVisible":{borderColor:Sd.PURPLE,boxShadow:`0 0 0 3px ${yl(Sd.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Sd.GREEN,"&.Mui-focusVisible":{borderColor:Sd.GREEN,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Sd.BLUE,"&.Mui-focusVisible":{borderColor:Sd.BLUE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Sd.ORANGE,"&.Mui-focusVisible":{borderColor:Sd.ORANGE,boxShadow:`0 0 0 3px ${yl(Sd.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Sd.RED,"&.Mui-focusVisible":{borderColor:Sd.RED,boxShadow:`0 0 0 3px ${yl(Sd.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Sd.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Sd.PURPLE_PALE},"&:active":{backgroundColor:Sd.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Sd.PURPLE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Sd.GREEN_PALE},"&:active":{backgroundColor:Sd.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Sd.BLUE_PALE},"&:active":{backgroundColor:Sd.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Sd.ORANGE_PALE},"&:active":{backgroundColor:Sd.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Sd.ORANGE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Sd.RED_PALE},"&:active":{backgroundColor:Sd.RED_DARK},"&.Mui-focusVisible":{borderColor:Sd.RED_PALE,boxShadow:`0 0 0 3px ${yl(Sd.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:Sd.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Sd.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:Ad,boxShadow:`inset 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Wo.jsx(Hd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:kd,borderRadius:Ad,color:Sd.TEXT_PRIMARY,backgroundColor:Sd.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Sd.GREYSCALE_0_05,color:Sd.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Sd.GREEN,borderColor:Sd.GREEN},"&.MuiChip-outlinedInfo":{color:Sd.BLUE,borderColor:Sd.BLUE},"&.MuiChip-outlinedWarning":{color:Sd.ORANGE,borderColor:Sd.ORANGE},"&.MuiChip-outlinedError":{color:Sd.RED,borderColor:Sd.RED}},outlined:{border:`solid 1px ${Sd.GREYSCALE_0_15}`,backgroundColor:Sd.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:Ad,boxShadow:"none",backgroundColor:Sd.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Sd.GREEN,borderColor:Sd.GREEN},outlinedSecondary:{color:Sd.BLUE,borderColor:Sd.BLUE},label:{fontFamily:Id.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Wo.jsx(Hd,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Wo.jsx(Fd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:Ad},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:Ad,fontSize:Td,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Sd.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Sd.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Sd.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Sd.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_05}}},popupIndicator:{borderRadius:Ad,border:`solid 1px ${Sd.GREYSCALE_0_15}`,color:Sd.GREYSCALE_0_60,marginRight:0,width:Rd,height:Rd},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Sd.GREYSCALE_0_15}`},clearIndicator:{borderRadius:Ad,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Sd.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Td}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:kd,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Sd.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Sd.GREYSCALE_25,fontSize:kd,fontFamily:Id.FONT_FAMILY,fontWeight:Md,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Sd.TEXT_PRIMARY},"&.Mui-error":{color:Sd.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Sd.TEXT_SECONDARY,content:"'(optional)'",fontWeight:Ld,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Sd.TEXT_SECONDARY,content:"'(required)'",fontWeight:Ld,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Td,lineHeight:"16px",backgroundColor:Sd.WHITE,borderRadius:Ad,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.GREYSCALE_0_05}`,borderColor:Sd.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Sd.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Sd.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.RED}`,boxShadow:`0px 0px 0px 1px ${Sd.RED}, inset 0 2px 0 0 ${Sd.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.GREYSCALE_0_10}`,borderColor:Sd.GREYSCALE_0_10,backgroundColor:Sd.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Sd.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Sd.GREYSCALE_0_15,borderRadius:Ad,boxShadow:`inset 0 2px 0 0 ${Sd.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Wo.jsx(Fd,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:Sd.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Sd.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03},"&:active":{backgroundColor:Sd.GREYSCALE_0_10},"&:focus":{backgroundColor:Sd.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Sd.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Sd.GREYSCALE_0_30,"&:hover":{backgroundColor:Sd.GREYSCALE_0_0,borderColor:Sd.GREYSCALE_0_15},"& ~svg":{color:Sd.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Sd.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:Ad}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Sd.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Td,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:kd,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:kd,fontWeight:Md,color:Sd.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:Md}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Sd.GREYSCALE_0_15}, 0px 0px 0px 1px ${Sd.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Wo.jsx(Ud,{}),checkedIcon:Wo.jsx(Gd,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Sd.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Sd.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Sd.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Wo.jsx(Vd,{}),checkedIcon:Wo.jsx(Wd,{}),indeterminateIcon:Wo.jsx(Kd,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:Ad,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Sd.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Sd.GREYSCALE_0_55,color:Sd.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:Sd.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Sd.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Sd.GREYSCALE_0_55,"&:hover":{color:Sd.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:Sd.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Sd.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Td,color:Sd.TEXT_PRIMARY,lineHeight:"16px",fontWeight:Md},secondary:{fontSize:kd,color:Sd.GREYSCALE_45,fontWeight:Ld,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Td,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Td,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Sd.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:kd,borderBottom:`solid 1px ${Sd.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Td,color:Sd.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Sd.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Sd.RED}}},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:Sd.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:Sd.GREEN,height:"24px","&.Mui-disabled":{color:Sd.GREYSCALE_0_15}},rail:{backgroundColor:Sd.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Sd.GREYSCALE_0_05}`,borderRadius:Ad,boxShadow:`inset 0px 0px 0px 1px ${Sd.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Sd.GREYSCALE_0_05}`,borderRadius:Ad},thumb:{height:"16px",width:"16px",borderRadius:Ad,backgroundColor:Sd.WHITE,boxShadow:`0px 1px 2px 0px ${Sd.GREYSCALE_0_15}, 0px 0px 0px 1px ${Sd.GREYSCALE_0_05}`,"&:hover":{borderRadius:Ad,boxShadow:`0 2px 4px 0 ${Sd.GREYSCALE_0_30}, 0 0 0 1px ${Sd.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Sd.GREYSCALE_0_15}, 0 0 0 1px ${Sd.GREYSCALE_0_06}, 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Sd.GREYSCALE_0_15}, 0 0 0 1px ${Sd.GREYSCALE_0_06}, 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Sd.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Sd.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Sd.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Sd.GREYSCALE_0_15},markLabel:{color:Sd.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Sd.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Sd.WHITE,color:Sd.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:Sd.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Sd.GREYSCALE_0_15,borderRadius:Ad},thumb:{height:"16px",width:"16px",borderRadius:Ad,backgroundColor:Sd.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:Td,fontWeight:Md,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Sd.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`,backgroundColor:Sd.GREYSCALE_0_03,borderRadius:Ad},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Sd.GREYSCALE_25,"&.Mui-selected":{color:Sd.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Td,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:Ad,"&:hover":{backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Sd.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Sd.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:Ad,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Sd.GREYSCALE_0_05},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Sd.GREYSCALE_85}`,borderRight:`1px solid ${Sd.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Md,backgroundColor:Sd.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:Sd.GREYSCALE_98,borderBottom:`1px solid ${Sd.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Sd.GREYSCALE_85}`,borderTop:`1px solid ${Sd.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Sd.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Sd.GREYSCALE_0_05,"&:hover":{backgroundColor:Sd.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Sd.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>Wo.jsx(Yd,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${Sd.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Td,borderRadius:Ad,padding:"7px 16px",border:`1px solid ${Sd.GREYSCALE_0_15}`,backgroundColor:Sd.GREYSCALE_100_60,color:Sd.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Sd.GREYSCALE_0_10,border:`1px solid ${Sd.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03,border:`1px solid ${Sd.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Sd.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Sd.MISC_FOCUS_BORDER}`,border:`1px solid ${Sd.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Sd.GREYSCALE_25,backgroundColor:Sd.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Sd.GREYSCALE_0_10,border:`1px solid ${Sd.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:kd,height:24,width:24,padding:7},sizeLarge:{fontSize:Nd,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Td,borderRadius:Ad}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:Sd.GREYSCALE_20},tooltip:{backgroundColor:Sd.GREYSCALE_20,fontSize:kd,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Qd}:{}}))(t);const Xd=e=>({mode:"light",primary:{ultraLight:Sd.GREEN_ULTRA_LIGHT,light:Sd.GREEN_PALE,main:Sd.GREEN,dark:Sd.GREEN_DARK,extraDark:Sd.GREEN_EXTRA_DARK,contrastText:Sd.WHITE},secondary:{ultraLight:Sd.BLUE_ULTRA_LIGHT,light:Sd.BLUE_PALE,main:Sd.BLUE,dark:Sd.BLUE_DARK,extraDark:Sd.BLUE_EXTRA_DARK,contrastText:Sd.WHITE},error:{ultraLight:Sd.RED_ULTRA_LIGHT,light:Sd.RED_PALE,main:Sd.RED,dark:Sd.RED_DARK,extraDark:Sd.RED_EXTRA_DARK,contrastText:Sd.WHITE},warning:{ultraLight:Sd.ORANGE_ULTRA_LIGHT,light:Sd.ORANGE_PALE,main:Sd.ORANGE,dark:Sd.ORANGE_DARK,extraDark:Sd.ORANGE_EXTRA_DARK,contrastText:Sd.WHITE},success:{ultraLight:Sd.GREEN_ULTRA_LIGHT,light:Sd.GREEN_PALE,main:Sd.GREEN,dark:Sd.GREEN_DARK,extraDark:Sd.GREEN_EXTRA_DARK,contrastText:Sd.WHITE},info:{ultraLight:Sd.BLUE_ULTRA_LIGHT,light:Sd.BLUE_PALE,main:Sd.BLUE,dark:Sd.BLUE_DARK,extraDark:Sd.BLUE_EXTRA_DARK,contrastText:Sd.WHITE},text:{primary:Sd.TEXT_PRIMARY,secondary:Sd.TEXT_SECONDARY,disabled:Sd.GREYSCALE_0_30},action:{hover:Sd.GREYSCALE_0_03,hoverOpacity:.03,selected:Sd.GREYSCALE_0_05,selectedOpacity:.05,focus:Sd.MISC_FOCUS_BORDER},amethyst:{ultraLight:Sd.WHITE,main:Sd.PURPLE,light:Sd.PURPLE_PALE,dark:Sd.PURPLE_DARK,extraDark:Sd.GREYSCALE_0_0,contrastText:Sd.WHITE},background:{paper:Sd.WHITE,default:Sd.GREYSCALE_95},divider:Sd.GREYSCALE_0_15}),Jd=(e="light",t=!1)=>ra(((e,t=!1)=>({components:qd(0,t),palette:Xd(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,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)"],transitions:{easing:{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)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:Td,fontWeightLight:Od,fontWeightRegular:Ld,fontWeightMedium:Md,fontWeightBold:Pd,htmlFontSize:Td,fontFamily:Id.FONT_FAMILY,button:{fontWeight:Md,fontSize:Td,textTransform:"none"},body1:{fontSize:Nd,lineHeight:"24px"},body2:{fontSize:Td,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:Rd,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Nd,fontWeight:Md,lineHeight:"16px"},h6:{fontSize:Td,fontWeight:Md,lineHeight:"16px"},caption:{color:Sd.TEXT_SECONDARY},subtitle1:{fontSize:Td,color:Sd.TEXT_SECONDARY},subtitle2:{fontSize:kd,color:Sd.TEXT_SECONDARY}},shape:{borderRadius:Ad}}))(0,t));function Zd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ef=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Zd(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m7.999 9.001-2.858-2.86a.2.2 0 0 0-.282 0l-.718.719a.2.2 0 0 0 0 .282L7 10.001l.859.858a.2.2 0 0 0 .282 0L9 10l2.859-2.859a.2.2 0 0 0 0-.282l-.718-.718a.2.2 0 0 0-.283 0L8 9Z"})),tf=D.forwardRef(ef);var nf=Object.defineProperty,rf=Object.getOwnPropertySymbols,of=Object.prototype.hasOwnProperty,lf=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?nf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sf=(e,t)=>{for(var n in t)nf(e,n,{get:t[n],enumerable:!0})},uf=(e,t,n)=>(af(e,"symbol"!=typeof t?t+"":t,n),n);sf({},{DEFAULT_LANGUAGE:()=>df,DEFAULT_LANGUAGE_SHORT:()=>ff,flattenParams:()=>_f,flattenTranslationsJSON:()=>mf,format:()=>Ef,formatWithKeys:()=>wf,getLongLanguageDesc:()=>xf,getShortLanguageDesc:()=>yf,parseLangFromUrl:()=>gf,resolveLocale:()=>bf,updateLangAttribute:()=>Cf});var cf=[{short:"es",long:"es-ES",label:"Spanish",translatedLabel:"Common.Spanish"},{short:"sv",long:"sv-SE",label:"Swedish",translatedLabel:"Common.Swedish"},{short:"ja",long:"ja-JP",label:"Japanese",translatedLabel:"Common.Japanese"},{short:"en",long:"en-US",label:"English",translatedLabel:"Common.English"},{short:"de",long:"de-DE",label:"German",translatedLabel:"Common.German"},{short:"fr",long:"fr-FR",label:"French",translatedLabel:"Common.French"},{short:"it",long:"it-IT",label:"Italian",translatedLabel:"Common.Italian"},{short:"nl",long:"nl-NL",label:"Dutch",translatedLabel:"Common.Dutch"},{short:"pt",long:"pt-BR",label:"Brazilian Portuguese",translatedLabel:"Common.BrazilianPortuguese"},{short:"ru",long:"ru-RU",label:"Russian",translatedLabel:"Common.Russian"},{short:"zh-CN",long:"zh-CN",label:"Simplified Chinese",translatedLabel:"Common.SimplifiedChinese"},{short:"zh-TW",long:"zh-TW",label:"Traditional Chinese",translatedLabel:"Common.TraditionalChinese"},{short:"pl",long:"pl-PL",label:"Polish",translatedLabel:"Common.Polish"},{short:"tr",long:"tr-TR",label:"Turkish",translatedLabel:"Common.Turkish"},{short:"ko",long:"ko-KR",label:"Korean",translatedLabel:"Common.Korean"},{short:"qps-ploc",long:"qps-ploc",label:'qps-ploc (f.k.a. "pseudo")'},{short:"zz",long:"zz",label:"zz"}],df="en-US",ff="en",pf=["zh-cn","zh-tw","qps-ploc"],hf=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),mf=e=>hf(e)?Object.keys(e).reduce(((t,n)=>{const r=e[n],o=hf(r)&&r.value;return o&&(t[n]=o),t}),{}):{},gf=()=>{var e;return null!=(e=new URLSearchParams(window.location.search).get("lang"))?e:void 0},vf=e=>{if(!e)return;"zh-hk"!==e.toLocaleLowerCase()&&"zh-mo"!==e.toLocaleLowerCase()||(e="zh-TW");const t=e.toLowerCase();if(pf.includes(e.toLocaleLowerCase()))return cf.find((({long:e})=>e.toLowerCase()===t));const[n]=t.split("-");return cf.find((({short:e})=>e.toLowerCase()===n||e.toLowerCase()===t))},bf=(...e)=>{for(const t of e){const e=vf(t);if(e)return e.short}},yf=e=>{const t=vf(e);return t?t.short:(console.warn(`Language '${e}' not supported, falling back to '${ff}'`),ff)},xf=e=>{const t=vf(e);return t?t.long:(console.warn(`Language '${e}' not supported, falling back to '${df}'`),df)},_f=e=>Array.isArray(e[0])?e[0]:e,Ef=(e,...t)=>{var n;return null==(n=e.match(/\{(\d+)\}/g))?void 0:n.length,e.replace(/\{(\d+)\}/g,((e,n)=>void 0!==t[n]?String(t[n]):e))},wf=(e,t)=>e.replace(/(\{)(\w+)(\})/g,((e,n,r)=>{var o;return t[r],null!=(o=t[r])?o:e})),Cf=e=>{const t=yf(e);document.documentElement.setAttribute("lang",t)},Sf={},kf=Array.prototype.slice,Tf=function(e){return("0"+e.toString()).substr(-2)},Nf=function(e){var t=typeof e;return"function"===t||"object"===t},Rf=function(e){return"function"===typeof e},Af=function(e){return null!=e},Of=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},Lf=function(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)},Mf=function(e){return!0===e||!1===e},Pf=function(e){return null===e},If=function(e,t,n){return void 0===n||0==+n?Math[e](t):(t=+t,n=+n,isNaN(t)||"number"!=typeof n||n%1!=0?NaN:(t=t.toString().split("e"),+((t=(t=Math[e](+(t[0]+"e"+(t[1]?+t[1]-n:-n)))).toString().split("e"))[0]+"e"+(t[1]?+t[1]+n:n))))},Df=function(e,t){return Rf(e)?e(t):e},zf=function(e,t){var n,r,o;for(n in t)t.hasOwnProperty(n)&&(r=t[n],"string"==typeof(o=r)||"[object String]"===Object.prototype.toString.call(o)||Lf(r)||Mf(r)||Of(r)||Pf(r)?e[n]=r:(null==e[n]&&(e[n]={}),zf(e[n],r)));return e},$f={day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr_day_names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],month_names:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbr_month_names:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridian:["AM","PM"]},Ff={precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1},Bf={unit:"$",precision:2,format:"%u%n",sign_first:!0,delimiter:",",separator:"."},Hf={unit:"%",precision:3,format:"%n%u",separator:".",delimiter:""},jf=[null,"kb","mb","gb","tb"],Wf={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,fallbacks:!1,translations:{},missingBehaviour:"message",missingTranslationPrefix:""};Sf.reset=function(){var e;for(e in Wf)this[e]=Wf[e]},Sf.initializeOptions=function(){var e;for(e in Wf)Af(this[e])||(this[e]=Wf[e])},Sf.initializeOptions(),Sf.locales={},Sf.locales.get=function(e){var t=this[e]||this[Sf.locale]||this.default;return Rf(t)&&(t=t(e)),!1===Of(t)&&(t=[t]),t},Sf.locales.default=function(e){var t=[],n=[];return e&&t.push(e),!e&&Sf.locale&&t.push(Sf.locale),Sf.fallbacks&&Sf.defaultLocale&&t.push(Sf.defaultLocale),t.forEach((function(e){var t=e.split("-"),r=null,o=null;3===t.length?(r=[t[0],t[1]].join("-"),o=t[0]):2===t.length&&(r=t[0]),-1===n.indexOf(e)&&n.push(e),Sf.fallbacks&&[r,o].forEach((function(t){null!=t&&t!==e&&-1===n.indexOf(t)&&n.push(t)}))})),t.length||t.push("en"),n},Sf.pluralization={},Sf.pluralization.get=function(e){return this[e]||this[Sf.locale]||this.default},Sf.pluralization.default=function(e){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}},Sf.currentLocale=function(){return this.locale||this.defaultLocale},Sf.isSet=Af,Sf.lookup=function(e,t){t=t||{};var n,r,o,i,l=this.locales.get(t.locale).slice();for(o=this.getFullScope(e,t);l.length;)if(n=l.shift(),r=o.split(t.separator||this.defaultSeparator),i=this.translations[n]){for(;r.length&&null!=(i=i[r.shift()]););if(null!=i)return i}if(Af(t.defaultValue))return Df(t.defaultValue,e)},Sf.pluralizationLookupWithoutFallback=function(e,t,n){var r,o,i=this.pluralization.get(t)(e);if(n&&Nf(n))for(;i.length;)if(r=i.shift(),Af(n[r])){o=n[r];break}return o},Sf.pluralizationLookup=function(e,t,n){n=n||{};var r,o,i,l,a=this.locales.get(n.locale).slice();for(t=this.getFullScope(t,n);a.length;)if(r=a.shift(),o=t.split(n.separator||this.defaultSeparator),i=this.translations[r]){for(;o.length&&(i=i[o.shift()],Nf(i));)0===o.length&&(l=this.pluralizationLookupWithoutFallback(e,r,i));if(null!=l)break}return null==l&&Af(n.defaultValue)&&(l=Nf(n.defaultValue)?this.pluralizationLookupWithoutFallback(e,n.locale,n.defaultValue):n.defaultValue,i=n.defaultValue),{message:l,translations:i}},Sf.meridian=function(){var e=this.lookup("time"),t=this.lookup("date");return e&&e.am&&e.pm?[e.am,e.pm]:t&&t.meridian?t.meridian:$f.meridian},Sf.prepareOptions=function(){for(var e,t=kf.call(arguments),n={};t.length;)if("object"==typeof(e=t.shift()))for(var r in e)e.hasOwnProperty(r)&&(Af(n[r])||(n[r]=e[r]));return n},Sf.createTranslationOptions=function(e,t){var n=[{scope:e}];return Af(t.defaults)&&(n=n.concat(t.defaults)),Af(t.defaultValue)&&n.push({message:t.defaultValue}),n},Sf.translate=function(e,t){t=t||{};var n,r=this.createTranslationOptions(e,t),o=e,i=this.prepareOptions(t);return delete i.defaultValue,r.some((function(t){if(Af(t.scope)?(o=t.scope,n=this.lookup(o,i)):Af(t.message)&&(n=Df(t.message,e)),null!=n)return!0}),this)?("string"==typeof n?n=this.interpolate(n,t):Of(n)?n=n.map((function(e){return"string"==typeof e?this.interpolate(e,t):e}),this):Nf(n)&&Af(t.count)&&(n=this.pluralize(t.count,o,t)),n):this.missingTranslation(e,t)},Sf.interpolate=function(e,t){if(null==e)return e;t=t||{};var n,r,o,i,l=e.match(this.placeholder);if(!l)return e;for(;l.length;)o=(n=l.shift()).replace(this.placeholder,"$1"),r=Af(t[o])?t[o].toString().replace(/\$/gm,"_#$#_"):o in t?this.nullPlaceholder(n,e,t):this.missingPlaceholder(n,e,t),i=new RegExp(n.replace(/{/gm,"\\{").replace(/}/gm,"\\}")),e=e.replace(i,r);return e.replace(/_#\$#_/g,"$")},Sf.pluralize=function(e,t,n){var r,o;return n=this.prepareOptions({count:String(e)},n),void 0===(o=this.pluralizationLookup(e,t,n)).translations||null==o.translations?this.missingTranslation(t,n):void 0!==o.message&&null!=o.message?this.interpolate(o.message,n):(r=this.pluralization.get(n.locale),this.missingTranslation(t+"."+r(e)[0],n))},Sf.missingTranslation=function(e,t){if("guess"===this.missingBehaviour){var n=e.split(".").slice(-1)[0];return(this.missingTranslationPrefix.length>0?this.missingTranslationPrefix:"")+n.replace(/_/g," ").replace(/([a-z])([A-Z])/g,(function(e,t,n){return t+" "+n.toLowerCase()}))}return'[missing "'+[null!=t&&null!=t.locale?t.locale:this.currentLocale(),this.getFullScope(e,t)].join(t.separator||this.defaultSeparator)+'" translation]'},Sf.missingPlaceholder=function(e,t,n){return"[missing "+e+" value]"},Sf.nullPlaceholder=function(){return Sf.missingPlaceholder.apply(Sf,arguments)},Sf.toNumber=function(e,t){t=this.prepareOptions(t,this.lookup("number.format"),Ff);var n,r,o=e<0,i=function(e,t){return If("round",e,-t).toFixed(t)}(Math.abs(e),t.precision).toString(),l=i.split("."),a=[],s=t.format||"%n",u=o?"-":"";for(e=l[0],n=l[1];e.length>0;)a.unshift(e.substr(Math.max(0,e.length-3),3)),e=e.substr(0,e.length-3);return r=a.join(t.delimiter),t.strip_insignificant_zeros&&n&&(n=n.replace(/0+$/,"")),t.precision>0&&n&&(r+=t.separator+n),r=(s=t.sign_first?"%s"+s:s.replace("%n","%s%n")).replace("%u",t.unit).replace("%n",r).replace("%s",u)},Sf.toCurrency=function(e,t){return t=this.prepareOptions(t,this.lookup("number.currency.format",t),this.lookup("number.format",t),Bf),this.toNumber(e,t)},Sf.localize=function(e,t,n){switch(n||(n={}),e){case"currency":return this.toCurrency(t,n);case"number":return e=this.lookup("number.format",n),this.toNumber(t,e);case"percentage":return this.toPercentage(t,n);default:var r;return r=e.match(/^(date|time)/)?this.toTime(e,t,n):t.toString(),this.interpolate(r,n)}},Sf.parseDate=function(e){var t,n,r;if(null==e)return e;if("object"==typeof e)return e;if(t=e.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})([\.,]\d{1,3})?)?(Z|\+00:?00)?/)){for(var o=1;o<=6;o++)t[o]=parseInt(t[o],10)||0;t[2]-=1,r=t[7]?1e3*("0"+t[7]):null,n=t[8]?new Date(Date.UTC(t[1],t[2],t[3],t[4],t[5],t[6],r)):new Date(t[1],t[2],t[3],t[4],t[5],t[6],r)}else"number"==typeof e?(n=new Date).setTime(e):e.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)?(n=new Date).setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" "))):(e.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/),(n=new Date).setTime(Date.parse(e)));return n},Sf.strftime=function(e,t,n){n=this.lookup("date",n);var r=Sf.meridian();if(n||(n={}),n=this.prepareOptions(n,$f),isNaN(e.getTime()))throw new Error("I18n.strftime() requires a valid date object, but received an invalid date.");var o=e.getDay(),i=e.getDate(),l=e.getFullYear(),a=e.getMonth()+1,s=e.getHours(),u=s,c=s>11?1:0,d=e.getSeconds(),f=e.getMinutes(),p=e.getTimezoneOffset(),h=Math.floor(Math.abs(p/60)),m=Math.abs(p)-60*h,g=(p>0?"-":"+")+(h.toString().length<2?"0"+h:h)+(m.toString().length<2?"0"+m:m);return u>12?u-=12:0===u&&(u=12),t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%a",n.abbr_day_names[o])).replace("%A",n.day_names[o])).replace("%b",n.abbr_month_names[a])).replace("%B",n.month_names[a])).replace("%d",Tf(i))).replace("%e",i)).replace("%-d",i)).replace("%H",Tf(s))).replace("%-H",s)).replace("%k",s)).replace("%I",Tf(u))).replace("%-I",u)).replace("%l",u)).replace("%m",Tf(a))).replace("%-m",a)).replace("%M",Tf(f))).replace("%-M",f)).replace("%p",r[c])).replace("%P",r[c].toLowerCase())).replace("%S",Tf(d))).replace("%-S",d)).replace("%w",o)).replace("%y",Tf(l))).replace("%-y",Tf(l).replace(/^0+/,""))).replace("%Y",l)).replace("%z",g)).replace("%Z",g)},Sf.toTime=function(e,t,n){var r=this.parseDate(t),o=this.lookup(e,n);if(null==r)return r;var i=r.toString();return i.match(/invalid/i)?i:o?this.strftime(r,o,n):i},Sf.toPercentage=function(e,t){return t=this.prepareOptions(t,this.lookup("number.percentage.format",t),this.lookup("number.format",t),Hf),this.toNumber(e,t)},Sf.toHumanSize=function(e,t){for(var n,r,o,i=e,l=0;i>=1024&&l<4;)i/=1024,l+=1;return 0===l?(o=this.getFullScope("number.human.storage_units.units.byte",t),n=this.t(o,{count:i}),r=0):(o=this.getFullScope("number.human.storage_units.units."+jf[l],t),n=this.t(o),r=i-Math.floor(i)==0?0:1),t=this.prepareOptions(t,{unit:n,precision:r,format:"%n%u",delimiter:""}),this.toNumber(i,t)},Sf.getFullScope=function(e,t){return t=t||{},Of(e)&&(e=e.join(t.separator||this.defaultSeparator)),t.scope&&(e=[t.scope,e].join(t.separator||this.defaultSeparator)),e},Sf.extend=function(e,t){return void 0===e&&void 0===t?{}:zf(e,t)},Sf.t=Sf.translate.bind(Sf),Sf.l=Sf.localize.bind(Sf),Sf.p=Sf.pluralize.bind(Sf);var Kf={};sf(Kf,{af:()=>Xf,ak:()=>Jf,am:()=>Zf,an:()=>ep,ar:()=>tp,ars:()=>np,as:()=>rp,asa:()=>op,ast:()=>ip,az:()=>lp,bal:()=>ap,be:()=>sp,bem:()=>up,bez:()=>cp,bg:()=>dp,bho:()=>fp,bm:()=>pp,bn:()=>hp,bo:()=>mp,br:()=>gp,brx:()=>vp,bs:()=>bp,ca:()=>yp,ce:()=>xp,ceb:()=>_p,cgg:()=>Ep,chr:()=>wp,ckb:()=>Cp,cs:()=>Sp,cy:()=>kp,da:()=>Tp,de:()=>Np,doi:()=>Rp,dsb:()=>Ap,dv:()=>Op,dz:()=>Lp,ee:()=>Mp,el:()=>Pp,en:()=>Ip,eo:()=>Dp,es:()=>zp,et:()=>$p,eu:()=>Fp,fa:()=>Bp,ff:()=>Hp,fi:()=>jp,fil:()=>Wp,fo:()=>Kp,fr:()=>Up,fur:()=>Gp,fy:()=>Yp,ga:()=>Vp,gd:()=>Qp,gl:()=>qp,gsw:()=>Xp,gu:()=>Jp,guw:()=>Zp,gv:()=>eh,ha:()=>th,haw:()=>nh,he:()=>rh,hi:()=>oh,hnj:()=>ih,hr:()=>lh,hsb:()=>ah,hu:()=>sh,hy:()=>uh,ia:()=>ch,id:()=>dh,ig:()=>fh,ii:()=>ph,io:()=>hh,is:()=>mh,it:()=>gh,iu:()=>vh,ja:()=>bh,jbo:()=>yh,jgo:()=>xh,jmc:()=>_h,jv:()=>Eh,jw:()=>wh,ka:()=>Ch,kab:()=>Sh,kaj:()=>kh,kcg:()=>Th,kde:()=>Nh,kea:()=>Rh,kk:()=>Ah,kkj:()=>Oh,kl:()=>Lh,km:()=>Mh,kn:()=>Ph,ko:()=>Ih,ks:()=>Dh,ksb:()=>zh,ksh:()=>$h,ku:()=>Fh,kw:()=>Bh,ky:()=>Hh,lag:()=>jh,lb:()=>Wh,lg:()=>Kh,lij:()=>Uh,lkt:()=>Gh,ln:()=>Yh,lo:()=>Vh,lt:()=>Qh,lv:()=>qh,mas:()=>Xh,mg:()=>Jh,mgo:()=>Zh,mk:()=>em,ml:()=>tm,mn:()=>nm,mo:()=>rm,mr:()=>om,ms:()=>im,mt:()=>lm,my:()=>am,nah:()=>sm,naq:()=>um,nb:()=>cm,nd:()=>dm,ne:()=>fm,nl:()=>pm,nn:()=>hm,nnh:()=>mm,no:()=>gm,nqo:()=>vm,nr:()=>bm,nso:()=>ym,ny:()=>xm,nyn:()=>_m,om:()=>Em,or:()=>wm,os:()=>Cm,osa:()=>Sm,pa:()=>km,pap:()=>Tm,pcm:()=>Nm,pl:()=>Rm,prg:()=>Am,ps:()=>Om,pt:()=>Lm,pt_PT:()=>Mm,rm:()=>Pm,ro:()=>Im,rof:()=>Dm,ru:()=>zm,rwk:()=>$m,sah:()=>Fm,saq:()=>Bm,sat:()=>Hm,sc:()=>jm,scn:()=>Wm,sd:()=>Km,sdh:()=>Um,se:()=>Gm,seh:()=>Ym,ses:()=>Vm,sg:()=>Qm,sh:()=>qm,shi:()=>Xm,si:()=>Jm,sk:()=>Zm,sl:()=>eg,sma:()=>tg,smi:()=>ng,smj:()=>rg,smn:()=>og,sms:()=>ig,sn:()=>lg,so:()=>ag,sq:()=>sg,sr:()=>ug,ss:()=>cg,ssy:()=>dg,st:()=>fg,su:()=>pg,sv:()=>hg,sw:()=>mg,syr:()=>gg,ta:()=>vg,te:()=>bg,teo:()=>yg,th:()=>xg,ti:()=>_g,tig:()=>Eg,tk:()=>wg,tl:()=>Cg,tn:()=>Sg,to:()=>kg,tpi:()=>Tg,tr:()=>Ng,ts:()=>Rg,tzm:()=>Ag,ug:()=>Og,uk:()=>Lg,und:()=>Mg,ur:()=>Pg,uz:()=>Ig,ve:()=>Dg,vec:()=>zg,vi:()=>$g,vo:()=>Fg,vun:()=>Bg,wa:()=>Hg,wae:()=>jg,wo:()=>Wg,xh:()=>Kg,xog:()=>Ug,yi:()=>Gg,yo:()=>Yg,yue:()=>Vg,zh:()=>Qg,zu:()=>qg});var Uf=(e,t)=>t?"other":1==e?"one":"other",Gf=(e,t)=>t?"other":0==e||1==e?"one":"other",Yf=(e,t)=>t?"other":e>=0&&e<=1?"one":"other",Vf=(e,t)=>{const n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"},Qf=(e,t)=>"other",qf=(e,t)=>t?"other":1==e?"one":2==e?"two":"other",Xf=Uf,Jf=Gf,Zf=Yf,ep=Uf,tp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},np=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},rp=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",op=Uf,ip=Vf,lp=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return t?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||60==o||90==o?"many":"other":1==e?"one":"other"},ap=(e,t)=>1==e?"one":"other",sp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},up=Uf,cp=Uf,dp=Uf,fp=Gf,pp=Qf,hp=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",mp=Qf,gp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),l=r&&n[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==l?"many":"other"},vp=Uf,bp=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},yp=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},xp=Uf,_p=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},Ep=Uf,wp=Uf,Cp=Uf,Sp=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},kp=(e,t)=>t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",Tp=(e,t)=>{const n=String(e).split("."),r=n[0],o=Number(n[0])==e;return t||1!=e&&(o||0!=r&&1!=r)?"other":"one"},Np=Vf,Rp=Yf,Ap=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-2),a=o.slice(-2);return t?"other":i&&1==l||1==a?"one":i&&2==l||2==a?"two":i&&(3==l||4==l)||3==a||4==a?"few":"other"},Op=Uf,Lp=Qf,Mp=Uf,Pp=Uf,Ip=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?1==i&&11!=l?"one":2==i&&12!=l?"two":3==i&&13!=l?"few":"other":1==e&&r?"one":"other"},Dp=Uf,zp=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e?"one":0!=r&&0==i&&o?"many":"other"},$p=Vf,Fp=Uf,Bp=Yf,Hp=(e,t)=>t?"other":e>=0&&e<2?"one":"other",jp=Vf,Wp=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},Kp=Uf,Up=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=r&&0==i&&o?"many":"other"},Gp=Uf,Yp=Vf,Vp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},Qp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},qp=Vf,Xp=Uf,Jp=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",Zp=Gf,eh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=l&&20!=l&&40!=l&&60!=l&&80!=l?o?"other":"many":"few"},th=Uf,nh=Uf,rh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==r&&o||0==r&&!o?"one":2==r&&o?"two":"other"},oh=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",ih=Qf,lh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ah=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-2),a=o.slice(-2);return t?"other":i&&1==l||1==a?"one":i&&2==l||2==a?"two":i&&(3==l||4==l)||3==a||4==a?"few":"other"},sh=(e,t)=>t?1==e||5==e?"one":"other":1==e?"one":"other",uh=(e,t)=>t?1==e?"one":"other":e>=0&&e<2?"one":"other",ch=Vf,dh=Qf,fh=Qf,ph=Qf,hh=Vf,mh=(e,t)=>{const n=String(e).split("."),r=n[0],o=(n[1]||"").replace(/0+$/,""),i=Number(n[0])==e,l=r.slice(-1),a=r.slice(-2);return t?"other":i&&1==l&&11!=a||o%10==1&&o%100!=11?"one":"other"},gh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},vh=qf,bh=Qf,yh=Qf,xh=Uf,_h=Uf,Eh=Qf,wh=Qf,Ch=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-2);return t?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==e?"one":"other"},Sh=(e,t)=>t?"other":e>=0&&e<2?"one":"other",kh=Uf,Th=Uf,Nh=Qf,Rh=Qf,Ah=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1);return t?6==o||9==o||r&&0==o&&0!=e?"many":"other":1==e?"one":"other"},Oh=Uf,Lh=Uf,Mh=Qf,Ph=Yf,Ih=Qf,Dh=Uf,zh=Uf,$h=(e,t)=>t?"other":0==e?"zero":1==e?"one":"other",Fh=Uf,Bh=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),l=r&&n[0].slice(-5),a=r&&n[0].slice(-6);return t?r&&e>=1&&e<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==e||5==o?"many":"other":0==e?"zero":1==e?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(l>=1e3&&l<=2e4||4e4==l||6e4==l||8e4==l)||0!=e&&1e5==a?"two":3==o||23==o||43==o||63==o||83==o?"few":1==e||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},Hh=Uf,jh=(e,t)=>{const n=String(e).split(".")[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},Wh=Uf,Kh=Uf,Uh=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e;return t?11==e||8==e||o&&e>=80&&e<=89||o&&e>=800&&e<=899?"many":"other":1==e&&r?"one":"other"},Gh=Qf,Yh=Gf,Vh=(e,t)=>t&&1==e?"one":"other",Qh=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?"other":1==i&&(l<11||l>19)?"one":i>=2&&i<=9&&(l<11||l>19)?"few":0!=r?"many":"other"},qh=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==l||a>=11&&a<=19||2==o&&s>=11&&s<=19?"zero":1==l&&11!=a||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},Xh=Uf,Jh=Gf,Zh=Uf,em=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?1==l&&11!=a?"one":2==l&&12!=a?"two":7!=l&&8!=l||17==a||18==a?"other":"many":i&&1==l&&11!=a||1==s&&11!=u?"one":"other"},tm=Uf,nm=Uf,rm=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},om=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other",im=(e,t)=>t&&1==e?"one":"other",lm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},am=Qf,sm=Uf,um=qf,cm=Uf,dm=Uf,fm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?r&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},pm=Vf,hm=Uf,mm=Uf,gm=Uf,vm=Qf,bm=Uf,ym=Gf,xm=Uf,_m=Uf,Em=Uf,wm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||5==e||r&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},Cm=Uf,Sm=Qf,km=Gf,Tm=Uf,Nm=Yf,Rm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(l<12||l>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&l>=12&&l<=14?"many":"other"},Am=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==l||a>=11&&a<=19||2==o&&s>=11&&s<=19?"zero":1==l&&11!=a||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},Om=Uf,Lm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":0==r||1==r?"one":0!=r&&0==i&&o?"many":"other"},Mm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},Pm=Uf,Im=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},Dm=Uf,zm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":o&&1==i&&11!=l?"one":o&&i>=2&&i<=4&&(l<12||l>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&l>=11&&l<=14?"many":"other"},$m=Uf,Fm=Qf,Bm=Uf,Hm=qf,jm=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},Wm=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},Km=Uf,Um=Uf,Gm=qf,Ym=Uf,Vm=Qf,Qm=Qf,qm=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},Xm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},Jm=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"";return t?"other":0==e||1==e||0==r&&1==o?"one":"other"},Zm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},eg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},tg=qf,ng=qf,rg=qf,og=qf,ig=qf,lg=Uf,ag=Uf,sg=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},ug=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},cg=Uf,dg=Uf,fg=Uf,pg=Qf,hg=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?1!=i&&2!=i||11==l||12==l?"other":"one":1==e&&r?"one":"other"},mg=Vf,gg=Uf,vg=Uf,bg=Uf,yg=Uf,xg=Qf,_g=Gf,Eg=Uf,wg=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-1);return t?6==r||9==r||10==e?"few":"other":1==e?"one":"other"},Cg=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},Sg=Uf,kg=Qf,Tg=Qf,Ng=Uf,Rg=Uf,Ag=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":0==e||1==e||r&&e>=11&&e<=99?"one":"other"},Og=Uf,Lg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-1),u=r.slice(-2);return t?3==l&&13!=a?"few":"other":o&&1==s&&11!=u?"one":o&&s>=2&&s<=4&&(u<12||u>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&u>=11&&u<=14?"many":"other"},Mg=Qf,Pg=Vf,Ig=Uf,Dg=Uf,zg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},$g=(e,t)=>t&&1==e?"one":"other",Fg=Uf,Bg=Uf,Hg=Gf,jg=Uf,Wg=Qf,Kg=Uf,Ug=Uf,Gg=Vf,Yg=Qf,Vg=Qf,Qg=Qf,qg=Yf,Xg=class e{static configure(t,n=df){e.translations=t,e.language=xf(n),e.languageShort=yf(n),Cf(e.language),e.onTranslationsChangeListeners.forEach((e=>e())),e.i18nProvider=Sf,Sf.missingTranslation=e=>e,Sf.defaultSeparator=null,Sf.locale=e.language,Sf.translations={[e.language]:e.translationsPlurals};const r=e.languageShort.split("-")[0];Sf.pluralization[e.language]=e=>{try{const t=Kf[r](e),n=[t];return"few"!==t&&"many"!==t||n.push("other"),n}catch(t){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}}}}static getWithKeys(t,n){var r;let o=null!=(r=e.translations[t])?r:t;return n&&Object.keys(n).length>0&&(o=wf(o,n)),o}static getPlural(t,n,r){return e.i18nProvider.t(t,((e,t)=>{for(var n in t||(t={}))of.call(t,n)&&af(e,n,t[n]);if(rf)for(var n of rf(t))lf.call(t,n)&&af(e,n,t[n]);return e})({count:n},r))}static append(t){Object.assign(e.translations,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static appendPlurals(t){Object.assign(e.translationsPlurals,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static onTranslationsChange(t){return e.onTranslationsChangeListeners.push(t),()=>{e.onTranslationsChangeListeners.splice(e.onTranslationsChangeListeners.indexOf(t))}}};uf(Xg,"translations",{}),uf(Xg,"translationsPlurals",{}),uf(Xg,"language"),uf(Xg,"languageShort"),uf(Xg,"onTranslationsChangeListeners",[]),uf(Xg,"i18nProvider"),uf(Xg,"get",((e,...t)=>{var n;const r=_f(t);let o=null!=(n=Xg.translations[e])?n:e;return r.length>0&&(o=Ef(o,...r)),o}));var Jg=Xg;var Zg,ev,tv,nv=function(){const[e,t]=D.useState(0);return D.useEffect((()=>{const n=Jg.onTranslationsChange((()=>{t(e+1)}));return()=>{n()}}),[]),Jg.get},rv=Jg,ov={};var iv,lv,av,sv=function(){if(tv)return ev;tv=1;const e=function(){if(Zg)return ov;Zg=1;var e=Se(),t=C();return ov.AutoFocusPlugin=function({defaultSelection:n}){let[r]=e.useLexicalComposerContext();return t.useEffect((()=>{r.focus((()=>{let e=document.activeElement,t=r.getRootElement();null===t||null!==e&&t.contains(e)||t.focus({preventScroll:!0})}),{defaultSelection:n})}),[n,r]),null},ov}();return ev=e}(),uv={};var cv,dv,fv,pv,hv=function(){if(av)return lv;av=1;const e=function(){if(iv)return uv;iv=1;var e=Se(),t=C();function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;return uv.ContentEditable=function({ariaActiveDescendant:o,ariaAutoComplete:i,ariaControls:l,ariaDescribedBy:a,ariaExpanded:s,ariaLabel:u,ariaLabelledBy:c,ariaMultiline:d,ariaOwns:f,ariaRequired:p,autoCapitalize:h,className:m,id:g,role:v="textbox",spellCheck:b=!0,style:y,tabIndex:x,"data-testid":_,...E}){let[w]=e.useLexicalComposerContext(),[C,S]=t.useState(!1),k=t.useCallback((e=>{w.setRootElement(e)}),[w]);return r((()=>(S(w.isEditable()),w.registerEditableListener((e=>{S(e)})))),[w]),t.createElement("div",n({},E,{"aria-activedescendant":C?o:void 0,"aria-autocomplete":C?i:"none","aria-controls":C?l:void 0,"aria-describedby":a,"aria-expanded":C&&"combobox"===v?!!s:void 0,"aria-label":u,"aria-labelledby":c,"aria-multiline":d,"aria-owns":C?f:void 0,"aria-readonly":!C||void 0,"aria-required":p,autoCapitalize:h,className:m,contentEditable:C,"data-testid":_,id:g,ref:k,role:v,spellCheck:b,style:y,tabIndex:x}))},uv}();return lv=e}();function mv(){if(dv)return cv;dv=1;var e=C();function t(e,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,n)}var n={error:null},r=function(r){function o(){for(var e,t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=r.call.apply(r,[this].concat(o))||this).state=n,e.resetErrorBoundary=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null==e.props.onReset||(t=e.props).onReset.apply(t,r),e.reset()},e}!function(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}(o,r),o.getDerivedStateFromError=function(e){return{error:e}};var i=o.prototype;return i.reset=function(){this.setState(n)},i.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},i.componentDidUpdate=function(e,t){var n,r,o=this.props.resetKeys;null!==this.state.error&&null!==t.error&&function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))}(e.resetKeys,o)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,o),this.reset())},i.render=function(){var t=this.state.error,n=this.props,r=n.fallbackRender,o=n.FallbackComponent;if(n=n.fallback,null!==t){if(t={error:t,resetErrorBoundary:this.resetErrorBoundary},e.isValidElement(n))return n;if("function"==typeof r)return r(t);if(o)return e.createElement(o,t);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},o}(e.Component);return cv=function({children:t,onError:n}){return e.createElement(r,{fallback:e.createElement("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"}},"An error was thrown."),onError:n},t)},cv}var gv,vv,bv,yv=m(function(){if(pv)return fv;pv=1;const e=mv();return fv=e}()),xv={},_v={};function Ev(){if(bv)return vv;bv=1;const e=function(){if(gv)return _v;gv=1;var e=re();function t(e,t=!0){return!e&&(e=n(),t&&(e=e.trim()),""===e)}function n(){return e.$getRoot().getTextContent()}function r(n){if(!t(n,!1))return!1;let r=(n=e.$getRoot().getChildren()).length;if(1<r)return!1;for(let t=0;t<r;t++){var o=n[t];if(e.$isDecoratorNode(o))return!1;if(e.$isElementNode(o)){if(!e.$isParagraphNode(o)||0!==o.__indent)return!1;let n=(o=o.getChildren()).length;for(let r=0;r<n;r++)if(!e.$isTextNode(o[t]))return!1}}return!0}return _v.$canShowPlaceholder=r,_v.$canShowPlaceholderCurry=function(e){return()=>r(e)},_v.$findTextIntersectionFromCharacters=function(t,n){var r=t.getFirstChild();t=0;e:for(;null!==r;){if(e.$isElementNode(r)){var o=r.getFirstChild();if(null!==o){r=o;continue}}else if(e.$isTextNode(r)){if(t+(o=r.getTextContentSize())>n)return{node:r,offset:n-t};t+=o}if(null===(o=r.getNextSibling())){for(r=r.getParent();null!==r;){if(null!==(o=r.getNextSibling())){r=o;continue e}r=r.getParent()}break}r=o}return null},_v.$isRootTextContentEmpty=t,_v.$isRootTextContentEmptyCurry=function(e,n){return()=>t(e,n)},_v.$rootTextContent=n,_v.registerLexicalTextEntity=function(t,n,r,o){let i=t=>{const n=e.$createTextNode(t.getTextContent());n.setFormat(t.getFormat()),t.replace(n)},l=t.registerNodeTransform(e.TextNode,(t=>{if(t.isSimpleText()){var l=t.getPreviousSibling(),a=t.getTextContent(),s=t;if(e.$isTextNode(l)){var u=l.getTextContent(),c=n(u+a);if(l instanceof r){if(null===c||0!==l.getLatest().__mode)return void i(l);if(0<(c=c.end-u.length))return s=u+(s=a.slice(0,c)),l.select(),l.setTextContent(s),void(c===a.length?t.remove():(l=a.slice(c),t.setTextContent(l)))}else if(null===c||c.start<u.length)return}for(;;){if(a=c=null===(t=n(a))?"":a.slice(t.end),""===c){if(u=s.getNextSibling(),e.$isTextNode(u)){if(c=s.getTextContent()+u.getTextContent(),null===(c=n(c))){u instanceof r?i(u):u.markDirty();break}if(0!==c.start)break}}else if(null!==(u=n(c))&&0===u.start)break;if(null===t)break;if(0===t.start&&e.$isTextNode(l)&&l.isTextEntity())continue;let d;if(0===t.start?[d,s]=s.splitText(t.end):[,d,s]=s.splitText(t.start,t.end),(t=o(d)).setFormat(d.getFormat()),d.replace(t),null==s)break}}}));return t=t.registerNodeTransform(r,(t=>{var o=t.getTextContent();const l=n(o);null===l||0!==l.start?i(t):o.length>l.end?t.splitText(l.end):(o=t.getPreviousSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),i(t)),o=t.getNextSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),t instanceof r&&i(t)))})),[l,t]},_v}();return vv=e}var wv,Cv,Sv,kv,Tv,Nv,Rv={};function Av(){if(Sv)return Cv;Sv=1;const e=function(){if(wv)return Rv;wv=1;var e=re();return Rv.registerDragonSupport=function(t){let n=window.location.origin,r=r=>{if(r.origin===n){var o=t.getRootElement();if(document.activeElement===o&&"string"==typeof(o=r.data)){try{var i=JSON.parse(o)}catch(e){return}if(i&&"nuanria_messaging"===i.protocol&&"request"===i.type&&(i=i.payload)&&"makeChanges"===i.functionId&&(i=i.args)){const[n,o,l,a,s]=i;t.update((()=>{const t=e.$getSelection();if(e.$isRangeSelection(t)){var i=t.anchor;let u=i.getNode(),c=0,d=0;e.$isTextNode(u)&&0<=n&&0<=o&&(c=n,d=n+o,t.setTextNodeRange(u,c,u,d)),c===d&&""===l||(t.insertRawText(l),u=i.getNode()),e.$isTextNode(u)&&(c=a,d=a+s,c=c>(i=u.getTextContentSize())?i:c,d=d>i?i:d,t.setTextNodeRange(u,c,u,d)),r.stopImmediatePropagation()}}))}}}};return window.addEventListener("message",r,!0),()=>{window.removeEventListener("message",r,!0)}},Rv}();return Cv=e}function Ov(){if(kv)return xv;kv=1;var e=Se(),t=kt(),n=C(),r=Ev(),o=le(),i=P(),l=Av(),a=ft(),s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function u(e){return e.getEditorState().read(r.$canShowPlaceholderCurry(e.isComposing()))}function c({content:r}){var[i]=e.useLexicalComposerContext();i=function(e){let[t,r]=n.useState((()=>u(e)));return s((()=>{function t(){let t=u(e);r(t)}return t(),o.mergeRegister(e.registerUpdateListener((()=>{t()})),e.registerEditableListener((()=>{t()})))}),[e]),t}(i);let l=t();return i?"function"==typeof r?r(l):r:null}return xv.RichTextPlugin=function({contentEditable:t,placeholder:r,ErrorBoundary:u}){let[d]=e.useLexicalComposerContext();return u=function(e,t){let[r,o]=n.useState((()=>e.getDecorators()));return s((()=>e.registerDecoratorListener((e=>{i.flushSync((()=>{o(e)}))}))),[e]),n.useEffect((()=>{o(e.getDecorators())}),[e]),n.useMemo((()=>{let o=[],l=Object.keys(r);for(let a=0;a<l.length;a++){let s=l[a],u=n.createElement(t,{onError:t=>e._onError(t)},n.createElement(n.Suspense,{fallback:null},r[s])),c=e.getElementByKey(s);null!==c&&o.push(i.createPortal(u,c,s))}return o}),[t,r,e])}(d,u),function(e){s((()=>o.mergeRegister(a.registerRichText(e),l.registerDragonSupport(e))),[e])}(d),n.createElement(n.Fragment,null,t,n.createElement(c,{content:r}),u)},xv}var Lv=function(){if(Nv)return Tv;Nv=1;const e=Ov();return Tv=e}();function Mv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Mv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m2.604 7.672-.276.96h2.004l-.276-.96a42 42 0 0 1-.372-1.284L3.348 5.08H3.3q-.156.66-.336 1.32-.168.648-.36 1.272m-2.628 4.176L2.532 4h1.632l2.556 7.848H5.256l-.612-2.124h-2.64l-.612 2.124zm9.23.144q-.768 0-1.26-.48-.48-.48-.48-1.248 0-.948.828-1.464.828-.528 2.64-.72a1.4 1.4 0 0 0-.252-.804q-.228-.348-.828-.348-.432 0-.852.168-.408.168-.804.408l-.504-.924a6 6 0 0 1 1.104-.54 3.8 3.8 0 0 1 1.32-.228q1.104 0 1.644.66.552.648.552 1.884v3.492h-1.14l-.096-.648h-.048a4.3 4.3 0 0 1-.852.564q-.444.228-.972.228m.444-1.08q.36 0 .648-.168.3-.18.636-.48v-1.32q-1.2.156-1.668.468-.468.3-.468.744 0 .396.24.576t.612.18M14 1h1v14h-1zm-1 0h3v1h-3zm0 13h3v1h-3z"})),Iv=D.forwardRef(Pv);function Dv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Dv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M0 1h16v2H0zm15 4v2H1V5zM0 11V9h16v2zm3 4v-2h10v2z"}),z.createElement("use",{transform:"matrix(-1 0 0 1 16 0)"})),$v=D.forwardRef(zv);function Fv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Fv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M0 1h15v2H0zm13 4v2H0V5zM0 11V9h16v2zm0 4v-2h10v2z"})),Hv=D.forwardRef(Bv);function jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){jv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M16 1v2H1V1zM3 5h13v2H3zm13 6H0V9h16zm0 4H6v-2h10z"})),Kv=D.forwardRef(Wv);function Uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Uv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})),Yv=D.forwardRef(Gv);function Vv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Vv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M1.5 10a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 1 1 0-1.5zM1.5 3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1 0-1.5z"})),qv=D.forwardRef(Qv);function Xv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Jv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Xv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M5 13v1.382L7.764 13H14a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1zm-1 3v-2H2a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8zM4 6v1h8V6zm0 3v1h7V9z"})),Zv=D.forwardRef(Jv);function eb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const tb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){eb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M2.05 9q.371 0 .72.09.349.088.623.275.273.185.436.467t.163.66a1.38 1.38 0 0 1-.284.86q-.133.179-.304.334l-.173.154-.18.152-1.245 1.004H4V14H.114v-.963l2.095-1.72.123-.115q.114-.116.196-.235a.7.7 0 0 0 .121-.399.54.54 0 0 0-.182-.423q-.183-.162-.486-.162a.7.7 0 0 0-.52.203.83.83 0 0 0-.217.406l-.022.127L0 10.57l.031-.181q.06-.264.193-.48.179-.29.452-.492a2 2 0 0 1 .626-.31q.352-.105.747-.106m13.2 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5zM3 2v5H1.698V3.328l-1.024.72L0 3.208 1.806 2zm12.25 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5z"})),nb=D.forwardRef(tb);function rb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ob=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M5.52 11.938 4.5 15H1L6.425 1h3.238L15 15h-3.5l-1.02-3.062zm.73-2.188h3.5L8 4.5z"})),ib=D.forwardRef(ob);function lb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ab=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){lb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M9.034 14.99V15H3V1h6.034v.034Q9.246 1 9.466 1c1.666 0 3.017 1.522 3.017 3.4 0 1.376-.726 2.562-1.77 3.097C12.056 8.083 13 9.475 13 11.1c0 2.154-1.66 3.9-3.707 3.9q-.13 0-.259-.01M5.586 3.5v3.2h2.71a1.6 1.6 0 1 0 0-3.2zm0 5.5v3.8H8.86a1.9 1.9 0 0 0 0-3.8z"}),z.createElement("use",{fillRule:"evenodd"})),sb=D.forwardRef(ab);function ub(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ub(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M4.145 0h1.71l2.391 6.833-.785.784L7.245 7h-4.49l-1.283 3.665-.944-.33zm-1.04 6h3.79l-1.75-5h-.29zm9.066-.321a1 1 0 0 0-1.414 0l-6.364 6.364a1 1 0 0 0 0 1.414l2.25 2.25A1 1 0 0 0 7.35 16h6.471v-1h-3.114l4.686-4.686a1 1 0 0 0 0-1.414zm-2.2 8.643L9.293 15H7.35L5.1 12.75l1.65-1.65zm.707-.708-3.22-3.221 4.006-4.007 3.222 3.221z"})),db=D.forwardRef(cb);function fb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M8.5 0a7.99 7.99 0 0 1 6.34 3.12c1.167 1.514 1.714 3.535 1.268 5.395-.444 1.85-1.776 2.609-3.192 2.897a7 7 0 0 1-1.24.113l-.683.012c-.681.018-1.276.086-1.653.484-.577.511-.487.996-.255 1.464l.106.2.281.49c.259.484.383.957-.253 1.43-.435.324-1 .408-1.54.353A8.001 8.001 0 0 1 8.5 0m0 1a7 7 0 0 0-.315 13.993.54.54 0 0 0 .235-.063c.166-.09.182-.272.088-.437-.084-.146-.175-.29-.254-.438a3 3 0 0 1-.297-.758 1.94 1.94 0 0 1 .05-1.06c.124-.365.35-.674.64-.937.519-.525 1.201-.68 1.765-.733l.294-.02.344-.012.389-.007c.466-.006.862-.011 1.278-.096.855-.174 1.538-.52 1.971-1.128q.091-.126.173-.28c1-1.887.164-4.339-1.317-5.878A6.98 6.98 0 0 0 8.5 1m-4 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4M13 6.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2m-1-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2M8 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"})),hb=D.forwardRef(pb);function mb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){mb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M14 5H2V3h12zm-9 8H2V6h3zm1 0V6h4v7zm5 0V6h3v7zM0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm1 0v12h14V2z"})),vb=D.forwardRef(gb);function bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m10.927 1.255-3.886 13.6A.2.2 0 0 1 6.85 15H5.265a.2.2 0 0 1-.192-.255l3.886-13.6A.2.2 0 0 1 9.15 1h1.584a.2.2 0 0 1 .192.255"})),xb=D.forwardRef(yb);function _b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Eb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_b(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m9.354 7.146-.708.708a2.33 2.33 0 0 0-3.292 0l-2.75 2.75a1.975 1.975 0 0 0 2.792 2.793l2.75-2.75.708.707-2.75 2.75a2.975 2.975 0 0 1-4.208-4.208l2.75-2.75a3.33 3.33 0 0 1 4.708 0m4.75-5.25a2.975 2.975 0 0 1 0 4.208l-2.75 2.75a3.33 3.33 0 0 1-4.708 0l.708-.708c.909.91 2.383.91 3.292 0l2.75-2.75a1.975 1.975 0 1 0-2.793-2.792l-2.75 2.75-.707-.708 2.75-2.75a2.975 2.975 0 0 1 4.207 0Z"})),wb=D.forwardRef(Eb);function Cb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Cb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M13 1v7.059c0 1.714-.364 2.924-1.273 3.73C10.91 12.598 9.455 13 8 13c-1.545 0-3-.403-3.818-1.21C3.455 10.983 3 9.773 3 8.059V1h2.455v7.059c0 .302 0 .706.09 1.008.091.303.182.605.364.807s.364.504.727.605c.273.1.91.202 1.455.202.909 0 1.727-.202 2-.706.364-.404.454-1.11.454-2.017V1zM3 14h10v1H3z"})),kb=D.forwardRef(Sb),Tb=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,Nb=[e=>{const t=Tb.exec(e);if(null===t)return null;const n=t[0];return{index:t.index,length:n.length,text:n,url:n.startsWith("http")?n:`https://${n}`,attributes:{target:"_blank"}}},wt.createLinkMatcherWithRegExp(/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,(e=>`mailto:${e}`))];function Rb(){return D.createElement(wt.AutoLinkPlugin,{matchers:Nb})}const Ab=()=>{const[e]=Ct.useLexicalComposerContext(),t=Tt(),n=D.useCallback((n=>{for(const[r,o]of n)"updated"!==o&&"created"!==o||e.getEditorState().read((()=>{const n=t?"pointer":"",o=e.getElementByKey(r);o&&(o.style.cursor=n)}))}),[t,e]);return D.useEffect((()=>Nt.mergeRegister(e.registerMutationListener(de.LinkNode,(e=>{n(e)})),e.registerMutationListener(de.AutoLinkNode,(e=>{n(e)})),e.registerCommand(Rt.CLICK_COMMAND,(t=>(t.metaKey&&t.target&&e.getEditorState().read((()=>{const e=Rt.$getSelection();let t;if(Rt.$isRangeSelection(e)&&(t=e.focus.getNode().getParent()),Rt.$isNodeSelection(e)&&(t=e.getNodes()[0]),de.$isAutoLinkNode(t)||de.$isLinkNode(t)){const e=t.getURL();setTimeout((()=>{const t=window.open(e,"_blank");null==t||t.focus()}),0)}})),!1)),Rt.COMMAND_PRIORITY_EDITOR))),[e,n]),null};function Ob(e){const{anchor:t,focus:n}=e,r=t.getNode(),o=n.getNode();return r===o?r:e.isBackward()?At.$isAtNodeEnd(n)?r:o:At.$isAtNodeEnd(t)?r:o}const Lb=new Set(["http:","https:","mailto:","sms:","tel:"]),Mb=e=>{const t=e;return t.password="",t.username="",t};function Pb(e){try{const t=new URL(e);return Lb.has(t.protocol)?{url:Mb(t).toString(),target:"_blank"}:{url:"about:blank"}}catch(t){return{url:e,target:"_blank"}}}const Ib=/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/;function Db(e){return"https://"===e||Ib.test(e)}const zb=sa(dd)((({theme:e})=>({background:e.palette.common.white,display:"flex",alignItems:"center",padding:e.spacing(1)}))),$b=({anchorEl:e,link:t,onChanged:n,onOpened:r})=>{const o=Boolean(e),i=D.useRef(null),[l,a]=D.useState(t);D.useEffect((()=>{a(t)}),[t]);const s=D.useCallback((()=>{n(l),window.open(Pb(l).url,"_blank"),r()}),[l,r,n]),u=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(l)}),[l,n]),c=D.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),n(l))}),[l,n]),d=D.useCallback((e=>{e.preventDefault(),a(e.currentTarget.value)}),[]);return z.createElement(Zu,{open:o,anchorEl:e,placement:"bottom-start",sx:{zIndex:1},transition:!0},(({TransitionProps:e})=>z.createElement(Oc,{...e},z.createElement(_u,{className:"tekPopperMenu"},z.createElement(zb,{direction:"row"},z.createElement(uc,{ref:i,placeholder:t,margin:"dense",size:"small",value:l,onChange:d,onKeyDown:c}),z.createElement(Ku,{onClick:s},z.createElement(hd,null)),z.createElement(Ku,{onClick:u},z.createElement(vd,null)))))))},Fb=()=>{const[e]=Ct.useLexicalComposerContext(),t=Tt(),[n,r]=D.useState(null),[o,i]=D.useState(""),l=D.useRef(!1),a=D.useCallback((()=>{if(l.current)return l.current=!1,!1;const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=Ob(t),o=n.getParent();if(de.$isAutoLinkNode(o)||de.$isAutoLinkNode(n))return r(null),i(""),!1;let l;if(de.$isLinkNode(o)&&(l=o),de.$isLinkNode(n)&&(l=n),de.$isLinkNode(l)){const t=e.getElementByKey(null==l?void 0:l.getKey());return i(l.getURL()),r(t),!0}r(null),i("")}return!1}),[e]),s=D.useCallback((t=>{l.current=!0,e.update((()=>{e.dispatchCommand(de.TOGGLE_LINK_COMMAND,Pb(t))}),{onUpdate:()=>{r(null)}})}),[e]),u=D.useCallback((()=>{r(null)}),[]);return D.useEffect((()=>Nt.mergeRegister(e.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>a()),Rt.COMMAND_PRIORITY_LOW),e.registerCommand(Rt.CLICK_COMMAND,(()=>a()),Rt.COMMAND_PRIORITY_LOW))),[e,a]),t?z.createElement($b,{anchorEl:n,link:o,onChanged:s,onOpened:u}):null};function Bb(){return D.createElement(Ed.LinkPlugin,{validateUrl:Db})}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('.tek__editor__container {\n color: #000;\n position: relative;\n line-height: 1.25;\n font-weight: 400;\n text-align: left;\n resize: none;\n height: 100%;\n overflow-y: auto;\n}\n.tek__editor__container {\n -ms-overflow-style: none; /* Internet Explorer and Edge */\n scrollbar-width: none; /* Firefox */\n}\n.tek__editor__container::-webkit-scrollbar {\n display: none;\n}\n\n.tek__editor__container__scrollbar:hover {\n -ms-overflow-style: auto;\n scrollbar-width: thin;\n scrollbar-color: lightgray transparent;\n}\n.tek__editor__container__scrollbar:hover::-webkit-scrollbar {\n display: block;\n}\n\n.tek__editor__Wrapper {\n position: relative;\n background-color: transparent;\n flex: 1;\n height: 100%;\n}\n\n.tek__editor__input {\n font-size: 16px;\n caret-color: rgb(5, 5, 5);\n position: relative;\n tab-size: 1;\n outline: 0;\n caret-color: #444;\n min-height: 0px;\n color: #404040;\n display: block;\n background-color: transparent;\n}\n\n.tek__editor__placeholder {\n color: #999;\n overflow: hidden;\n position: absolute;\n text-overflow: ellipsis;\n top: 0px;\n left: 0px;\n font-size: 16px;\n user-select: none;\n display: inline-block;\n pointer-events: none;\n}\n\n.tek__editor__logo {\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n color: #999;\n overflow: hidden;\n}\n\n.tek__editor__paragraph {\n margin: 0 0 0 0;\n position: relative;\n cursor: auto;\n}\n\n.tek__ltr {\n text-align: left;\n}\n\n.tek__rtl {\n text-align: right;\n}\n\n.tek__h1 {\n font-size: 28px;\n color: rgb(5, 5, 5);\n font-weight: bold;\n margin: 0px 0px 0.5em;\n}\n.tek__h2 {\n font-size: 16px;\n color: rgb(101, 103, 107);\n font-weight: 700;\n margin: 0px 0px 0.25em;\n text-transform: uppercase;\n}\n.tek__h3 {\n font-size: 12px;\n text-transform: uppercase;\n margin: 0px 0px 0.25em;\n}\n\n.tek__textBase {\n -webkit-user-select: text;\n user-select: text;\n}\n\n.tek__textBold {\n font-weight: bold;\n}\n\n.tek__textItalic {\n font-style: italic;\n}\n\n.tek__textUnderline {\n text-decoration: underline;\n}\n\n.tek__ol1 {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__ol2 {\n padding: 0;\n margin: 0;\n list-style-type: upper-alpha;\n list-style-position: inside;\n}\n.tek__ol3 {\n padding: 0;\n margin: 0;\n list-style-type: lower-alpha;\n list-style-position: inside;\n}\n.tek__ol4 {\n padding: 0;\n margin: 0;\n list-style-type: upper-roman;\n list-style-position: inside;\n}\n.tek__ol5 {\n padding: 0;\n margin: 0;\n list-style-type: lower-roman;\n list-style-position: inside;\n}\n.tek__ul {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__listItem {\n margin: 0 12px;\n}\n.tek__nestedListItem {\n list-style-type: none;\n}\n.tek__nestedListItem:before,\n.tek__nestedListItem:after {\n display: none;\n}\n\n.tek__quote {\n margin: 0;\n margin-left: 12px;\n margin-bottom: 10px;\n font-size: 15px;\n color: rgb(101, 103, 107);\n border-left-color: rgb(206, 208, 212);\n border-left-width: 4px;\n border-left-style: solid;\n padding-left: 16px;\n}\n\n.tek__table {\n border-collapse: collapse;\n border-spacing: 0;\n table-layout: fixed;\n position: relative;\n margin-top: 8px;\n margin-bottom: 8px;\n padding: 0;\n overflow: hidden;\n}\n\n.tek__tableCell {\n border: 1px solid rgb(206, 208, 212);\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n line-height: 1.25;\n}\n\n.tek__tableCellNoBorder {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__tableCellNoBorderEditMode {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__resizer {\n position: absolute;\n width: 6px;\n right: 0;\n top: 0;\n bottom: 0;\n cursor: col-resize;\n user-select: none;\n background-color: #009845;\n pointer-events: all;\n z-index: 2;\n opacity: 0;\n transition: opacity 0.3s ease; /* Transition effect */\n transform: translate(-3px, 0);\n}\n.tek__resizer:hover {\n opacity: 0.2;\n}\n\n.tek__resizeContainer {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n z-index: 1;\n user-select: none;\n pointer-events: none;\n margin: 0;\n padding: 0;\n}\n\n.tek__tableActionButton {\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n background-color: "white";\n user-select: none;\n}\n\n.tek__tekCellHighlight {\n background-color: rgba(100, 149, 237, 0.1);\n}\n\n.tek__resizeIndicatorDisplay {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n background-color: #54565a;\n color: white;\n text-align: center;\n font-size: 12px;\n padding: 2px;\n overflow: hidden;\n border-radius: 4px;\n width: 48px;\n height: 16px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n}\n\n.tek__leftResizerIndicator {\n left: -54px;\n}\n\n.tek__rightResizerIndicator {\n right: -54px;\n}\n');const Hb=({children:e})=>z.createElement(ca,{theme:Jd()},e),jb={namespace:"text-editor-kit",theme:{ltr:"tek__ltr",rtl:"tek__rtl",paragraph:"tek__editor__paragraph",placeholder:"text_editor__placeholder",quote:"tek__quote",table:"tek__table",tableCell:"tek__tableCell",heading:{h1:"tek__h1",h2:"tek__h2",h3:"tek__h3"},text:{base:"tek__textBase",bold:"tek__textBold",italic:"tek__textItalic",underline:"tek__textUnderline"},list:{listitem:"tek__listItem",nested:{listitem:"tek__nestedListItem"},olDepth:["tek__ol1","tek__ol2","tek__ol3","tek__ol4","tek__ol5"],ul:"tek__ul"}},nodes:[gt.HeadingNode,gt.QuoteNode,_e.ListNode,_e.ListItemNode,de.LinkNode,de.AutoLinkNode],onError:e=>{console.log(e)}},Wb=({children:e,initialConfig:t,flags:n})=>z.createElement(Hb,null,z.createElement("div",{className:"tek__editor__Wrapper"},z.createElement(Me.LexicalComposer,{initialConfig:t||jb},z.createElement("div",{className:"tek__editor__container"+((null==n?void 0:n.isEnabled("QB_26358_SN_TEXT_SCROLLBAR"))?" tek__editor__container__scrollbar":"")},e,z.createElement(Ye.ListPlugin,null),z.createElement(it.TabIndentationPlugin,null),z.createElement(Bb,null),z.createElement(Rb,null),z.createElement(Fb,null),z.createElement(Ab,null),z.createElement(He.HistoryPlugin,null)))));class Kb extends Rt.ElementNode{static getType(){return"TekCellNode"}static clone(e){return new Kb(e.__hasBorders,e.__key)}static importJSON(e){return new Kb(void 0===e.hasBorders||e.hasBorders)}constructor(e,t){super(t),this.__hasBorders=e}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,type:"TekCellNode",version:1}}createDOM(e,t){const n=document.createElement("td");return n.classList.add(e.theme.tableCell||""),this.__hasBorders||(t.isEditable()?n.classList.add("tek__tableCellNoBorderEditMode"):n.classList.add("tek__tableCellNoBorder")),n}updateDOM(e,t){return this.__hasBorders?t.classList.remove("tek__tableCellNoBorder"):t.classList.add("tek__tableCellNoBorder"),this.__hasBorders!==e.__hasBorders}isShadowRoot(){return!0}collapseAtStart(){return!0}canBeEmpty(){return!1}canIndent(){return!1}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}}const Ub=e=>new Kb(e),Gb=e=>e instanceof Kb;class Yb extends Rt.ElementNode{static getType(){return"TekTableNode"}static clone(e){return new Yb(e.__hasBorders,e.__width,e.__key)}static importJSON(e){const t=void 0===e.hasBorders||e.hasBorders,n=void 0===e.width?"100%":e.width;return new Yb(t,n)}constructor(e,t,n){super(n),this.__needsUpdate=!1,this.__hasBorders=e,this.__width=t}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,width:this.__width,type:"TekTableNode",version:1}}createDOM(e){const t=document.createElement("table");return t.classList.add(e.theme.table||""),t.style.width=this.__width,t}updateDOM(e){const t=this.__needsUpdate;try{!0===e.__needsUpdate&&(this.getWritable().__needsUpdate=!1)}catch(e){}return t||this.__width!==e.__width}markNeedsUpdate(){this.getWritable().__needsUpdate=!0}canBeEmpty(){return!1}canExtractContents(){return!1}isShadowRoot(){return!0}canSelectBefore(){return!0}canIndent(){return!1}getResizeNode(){return this.getChildAtIndex(1)}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}setWidth(e){this.getWritable().__width=e}isValid(){const e=this.getChildren();return!(e.length<3)&&"TekColGroupNode"===e[0].getType()&&"TEK_TABLE_RESIZE_NODE"===e[1].getType()&&"TekRowNode"===e[2].getType()}}function Vb(e){return e instanceof Yb}class Qb extends Rt.ElementNode{static getType(){return"TekRowNode"}static clone(e){return new Qb(e.__key)}static importJSON(){return new Qb}exportJSON(){return{...super.exportJSON(),type:"TekRowNode",version:1}}createDOM(){return document.createElement("tr")}updateDOM(){return!1}isShadowRoot(){return!0}canBeEmpty(){return!1}canIndent(){return!1}}function qb(e){return e instanceof Qb}const Xb=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),Gb(t))return t;return null},Jb=e=>{let t=e;for(;null!==t;){if(Vb(t))return t;t=null==t?void 0:t.getParent()}return null},Zb=(e,t)=>{const n=Jb(e);if(n){const e=t.getElementByKey(n.getKey());if(e)return e}return null},ey=e=>null==e?void 0:e.getChildAtIndex(2),ty=e=>{const t=e.getParent();if(qb(t)){const n=t.getChildren();for(let t=0;t<n.length;t++)if(n[t]===e)return t}return-1},ny=(e,t)=>e?.01*parseFloat(e.getAttribute("width")||"0")*t.offsetWidth:0,ry=(e,t)=>{const n=e/t.offsetWidth;return`${Math.min(100*n,100).toFixed(2)}%`},oy=e=>{if(!e)return[];return e.getChildren().filter((e=>qb(e)))},iy=e=>{let t=!1;return oy(e).forEach((e=>{e.getChildren().forEach((e=>{const n=e;n.clear(),n.append(Rt.$createParagraphNode()),t=!0}))})),t},ly=e=>{var t;const n=Rt.$getSelection();if(Rt.$isRangeSelection(n)||Rt.$isNodeSelection(n)){const r=n.getNodes().filter((e=>Gb(e)));if(r.length>0){e.preventDefault(),e.stopPropagation();const o=n.getNodes().some((e=>Vb(e))),i=Jb(r[0]),l=oy(i);if((null===(t=l[0])||void 0===t?void 0:t.getChildren()).length*l.length===r.length&&o)return null==i||i.selectPrevious(),null==i||i.remove(),!1;if(Rt.$isRangeSelection(n)){const e=n.focus.getNode();if(Vb(e))return iy(e)}return r.forEach((e=>{e.clear(),e.append(Rt.$createParagraphNode())})),(()=>{const e=Rt.$getSelection();let t=!1;if(Rt.$isRangeSelection(e)){const n=e.anchor.getNode(),r=e.focus.getNode();let o=Jb(n);!o&&Vb(r)&&(o=r),Vb(o)&&(t=iy(o))}return t})()}if(Rt.$isRangeSelection(n)){const e=n.focus.getNode();if(Vb(e))return iy(e)}}return!1},ay=e=>{if(e){const t=Jb(e);if(Vb(t)){const n=e.getParent(),r=oy(t).findIndex((e=>e===n));return{i:r,j:null==n?void 0:n.getChildren().findIndex((t=>t===e)),tableNode:t,row:n}}}return{i:0,j:0,tableNode:null,row:null}},sy=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),Gb(t))return t;return null},uy=e=>{const t=[];return oy(e).forEach((e=>{const n=e.getChildren();t.push(...n)})),t},cy=(e,t)=>{uy(e).forEach((e=>{const n=t.getElementByKey(e.getKey());null==n||n.classList.add("tek__tekCellHighlight")}))},dy=Rt.createCommand("UPDATE_COL_WIDTHS_COMMAND"),fy=Rt.createCommand("BEGIN_COL_RESIZE"),py=Rt.createCommand("END_COL_RESIZE"),hy=Rt.createCommand("INSERT_TEK_TABLE_COMMAND"),my=({colKey:e,startX:t,onMouseDown:n})=>{const r=D.useCallback((t=>{n(t,e)}),[e,n]);return z.createElement("div",{role:"button","aria-label":"resize",tabIndex:-1,className:"tek__resizer",style:{left:`${t}%`},onMouseDown:r})},gy=(e,t)=>{const n=document.createElement("div");return n.classList.add("tek__resizeIndicatorDisplay"),n.classList.add(e),n.id=t,n},vy=e=>`${parseFloat(e.getAttribute("width")||"0").toFixed(2)}%`,by=({nodeKey:e,colWidths:t})=>{const[n]=Ct.useLexicalComposerContext(),r=Tt(),[o,i]=D.useState(null),l=D.useRef(null),a=D.useRef(null),s=D.useRef(null),u=D.useRef(null),c=D.useCallback((t=>{const n=Rt.$getNodeByKey(e);if(n){const e=n.getParent();if(Vb(e)){const n=ey(e);if("TekRowNode"===(null==n?void 0:n.getType())){const e=n.getChildren(),r=[];let o=0;e.forEach(((e,n)=>{const i=parseFloat(t[n]);o+=i,r.push({key:e.getKey(),startX:o})})),i(r)}}}}),[e]),d=D.useCallback((e=>{if(l.current){const{clientX:t,col:n,tableElement:r,curColWidth:o,resizer:i,left:a,nxt:c,parentDomNode:d,currentTableWidth:f}=l.current,p=e.clientX-t,h=ry(a+p,r);if(c){const e=o+p;if(e<60)return;const t=ry(e,r),a=l.current.nxtColWidth-p,d=ry(a,r);if(a<60)return;n.setAttribute("width",t),c.setAttribute("width",d),i.style.left=h,s.current&&(s.current.innerText=t),u.current&&(u.current.innerText=d)}else if(d){i.style.left="100%";const e=f+p,{clampedWidths:t,fullyClamped:n,clampedTableWidth:o}=((e,t)=>{const n=[],r=e.rows[0];let o=0,i=0;for(let e=0;e<r.cells.length;e++){const l=Math.max(r.cells[e].offsetWidth,60);60===l&&o++,i+=l;const a=l/t,s=Math.min(100*a,100);n.push(`${s.toFixed(2)}%`)}return{clampedWidths:n,fullyClamped:o===r.cells.length,clampedTableWidth:i}})(r,e),l=ry(e,d),a=ry(o,d);r.style.width=!n||p>0?l:a,r.querySelectorAll(":scope > colgroup col").forEach(((e,n)=>{e.setAttribute("width",t[n])})),n||s.current&&(s.current.innerText=l)}}}),[]),f=D.useCallback((()=>{if(document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",f),l.current){l.current.resizer.style.opacity="",s.current=null,u.current=null;const e=(e=>{const t=e.rows[0],n=[];for(let r=0;r<t.cells.length;r++){const o=Math.max(t.cells[r].offsetWidth,60);n.push(ry(o,e))}return n})(l.current.tableElement);l.current.tableElement.querySelectorAll(":scope > colgroup col").forEach(((t,n)=>{t.setAttribute("width",e[n])})),(e=>{const t=document.getElementById("leftGripper"),n=document.getElementById("rightGripper");t&&e.removeChild(t),n&&e.removeChild(n)})(l.current.resizer),n.dispatchCommand(py,void 0)}l.current=null,a.current=null,n.update((()=>{const t=Rt.$getNodeByKey(e),r=Zb(t,n),l=null==t?void 0:t.getParent();if(r&&l){const t=r.querySelectorAll(":scope > colgroup col"),a=[];t.forEach((e=>{a.push(e.getAttribute("width")||"0")})),l.setWidth(r.style.width);let s=0;if(o){const e=o.map(((e,t)=>{const n={...e};return s+=parseFloat(a[t]),n.startX=s,n}));i(e)}n.dispatchCommand(dy,{colWidths:a,nodeKey:e})}}))}),[d,n,e,o]),p=D.useCallback(((e,t)=>{e.preventDefault(),e.stopPropagation(),document.addEventListener("mousemove",d,{passive:!0}),document.addEventListener("mouseup",f),n.getEditorState().read((()=>{const r=Rt.$getNodeByKey(t),o=Zb(r,n);if(Gb(r)){const t=ty(r);if(-1!==t&&o){const r=null==o?void 0:o.querySelectorAll(":scope > colgroup col"),i=r[t],a=r.length>t+1?r[t+1]:null,c=ny(i,o),d=e.target,f=.01*parseFloat(d.style.left),p=o.offsetWidth*f,h=ny(a,o),m=o.parentElement,g=.01*parseFloat(o.style.width),v=((null==m?void 0:m.offsetWidth)||0)*g,b=((e,t,n)=>{const r=gy("tek__leftResizerIndicator","leftGripper");r.innerText=vy(e);let o=null;return t?(o=gy("tek__rightResizerIndicator","rightGripper"),o.innerText=vy(t)):r.innerText=n.style.width,{left:r,right:o}})(i,a,o);s.current=b.left,u.current=b.right,d.appendChild(b.left),b.right&&d.appendChild(b.right),d.style.opacity="1",l.current={resizer:d,curColWidth:c,col:i,tableElement:o,clientX:e.clientX,left:p,nxt:a,nxtColWidth:h,parentDomNode:m,currentTableWidth:v},n.dispatchCommand(fy,void 0)}}}))}),[n,d,f]);return D.useEffect((()=>{n.getEditorState().read((()=>{c(t)}))}),[c,n,t]),z.createElement(z.Fragment,null,o&&r?o.map((e=>z.createElement(my,{key:`${e.key}`,colKey:e.key,startX:e.startX,onMouseDown:p}))):null)},yy="TEK_TABLE_RESIZE_NODE";class xy extends Rt.DecoratorNode{static getType(){return yy}static clone(e){return new xy(e.__colWidths,e.__key)}static importJSON(e){return new xy(e.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:yy,version:1}}createDOM(){const e=document.createElement("div");return e.classList.add("tek__resizeContainer"),e}updateDOM(){return!1}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}decorate(){return z.createElement(by,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}}const _y=e=>e instanceof xy,Ey=({nodeKey:e,colWidths:t})=>{const[n]=Ct.useLexicalComposerContext(),[r,o]=D.useState(t);return D.useEffect((()=>{n.getEditorState().read((()=>{const t=Rt.$getNodeByKey(e),n=null==t?void 0:t.getParent();if(Vb(n)){const e=n.getResizeNode();if(_y(e)){const t=e.__colWidths.map((e=>e));o(t)}}}))}),[n,e]),z.createElement(z.Fragment,null,r.map(((t,n)=>z.createElement("col",{span:1,width:t,key:`${e}.${n}`}))))};class wy extends Rt.DecoratorNode{static getType(){return"TekColGroupNode"}static clone(e){return new wy(e.__colWidths,e.__key)}static importJSON(e){return new wy(e.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:"TekColGroupNode",version:1}}createDOM(){return document.createElement("colgroup")}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}updateDOM(){return!1}decorate(){return z.createElement(Ey,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}}class Cy extends Rt.DecoratorNode{constructor(e,t){super(t),this.__formatStyle=e}setFormatStyle(e){this.getWritable().__formatStyle=e}hasStyle(e){return void 0!==this.__formatStyle[e]&&""!==this.__formatStyle[e]}getTextFormatStyle(e,t){return this.hasStyle(e)?this.__formatStyle[e]:t}}const Sy=[Yb,Kb,Qb,wy,xy],ky=(e,t)=>{const n=100/e,r=Array(e).fill(`${n}%`),o=null==t?void 0:t.getChildAtIndex(0),i=null==t?void 0:t.getChildAtIndex(1);o.setColWidths(r),i.setColWidths(r),null==t||t.markNeedsUpdate()},Ty=()=>{var e;const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=Xb(n);if(r){const t=ty(r),n=Jb(r),o=oy(n),i=((null===(e=o[0])||void 0===e?void 0:e.getChildren().length)||1)-1;if(0===i)return null==n||n.selectPrevious(),void(null==n||n.remove());o.forEach((e=>{var n;null===(n=e.getChildAtIndex(t))||void 0===n||n.remove()})),ky(i,n)}}},Ny=()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Xb(t),r=Jb(n);if(r&&3===r.getChildren().length)return Rt.$setSelection(null),void r.remove();if(n){const{row:e}=ay(n);Rt.$setSelection(null),null==e||e.remove()}}},Ry=()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Jb(t),r=ey(n);if(qb(r)&&n){const e=r.getChildren().length,t=new Qb;for(let r=0;r<e;r++){const e=Ub(null==n?void 0:n.__hasBorders);e.append(Rt.$createParagraphNode()),t.append(e)}null==n||n.append(t)}}},Ay=()=>{var e;const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=Jb(n);if(Vb(r)){const t=oy(r);let n=null;const o=((null===(e=t[0])||void 0===e?void 0:e.getChildren().length)||-1)+1;for(let e=0;e<t.length;e++){const o=Ub(r.__hasBorders);o.append(Rt.$createParagraphNode()),t[e].append(o),n=o}return ky(o,r),n}}return null},Oy=sa(Ku)({backgroundColor:"white",boxShadow:"0 2px 4px rgba(0,0,0,0.15)"}),Ly=({onDeleteAction:e,onAction:t,onClick:n})=>{const[r]=Ct.useLexicalComposerContext(),[o,i]=D.useState(null),l=nv(),a=Boolean(o),s=D.useCallback(((e,t,n)=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{t()}),{onUpdate:()=>{i(null),n()}})}),[r]),u=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(),i(e.currentTarget)}),[n]),c=D.useCallback((()=>{i(null)}),[]),d=D.useCallback((e=>{s(e,Ry,t)}),[s,t]),f=D.useCallback((e=>{s(e,Ay,t)}),[s,t]),p=D.useCallback((t=>{s(t,Ny,e)}),[s,e]),h=D.useCallback((t=>{s(t,Ty,e)}),[s,e]),m=D.useCallback((()=>{r.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Jb(t);Vb(n)&&(n.selectPrevious(),n.remove())}})()}),{onUpdate:()=>{i(null),e()}})}),[r,e]),g=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Jb(t);n&&(n.toggleBorders(),uy(n).forEach((e=>{e.toggleBorders()})))}})()}))}),[r]);return D.useEffect((()=>Nt.mergeRegister(r.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(i(null),!1)),Rt.COMMAND_PRIORITY_CRITICAL))),[r]),z.createElement(Ea,{onClickAway:c,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Oy,{size:"small",onClick:u},z.createElement(tf,{height:12})),z.createElement(Zu,{sx:{zIndex:1},open:a,anchorEl:o,placement:"auto-end"},z.createElement(_u,{id:"tekTableMenu",className:"tekPopperMenu"},z.createElement(Vc,{dense:!0},z.createElement(Zc,{onClick:g},l("ToggleBorders")),z.createElement(kc,null),z.createElement(Zc,{onClick:d},l("AddNewRow")),z.createElement(Zc,{onClick:f},l("AddNewColumn")),z.createElement(kc,null),z.createElement(Zc,{onClick:p},l("DeleteRow")),z.createElement(Zc,{onClick:h},l("DeleteCol")),z.createElement(kc,null),z.createElement(Zc,{onClick:m},l("DeleteTable")))))))},My=()=>{var e,t,n,r;const[o]=Ct.useLexicalComposerContext(),i=Tt(),[l,a]=D.useState(null),[s,u]=D.useState(!1),c=Boolean(l),d=D.useContext(Ro),f=D.useRef(null),p=D.useCallback((()=>{s||o.update((()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=Xb(e.anchor.getNode());if(Gb(t)){const e=o.getElementByKey(t.getKey());a(e)}else a(null)}}))}),[o,s]);D.useEffect((()=>{const e=e=>{0!==e.buttons?null===f.current&&(f.current=setTimeout((()=>{u(!0),a(null)}),300)):(u(!1),clearTimeout(f.current),f.current=null)};return document.addEventListener("mousemove",e),()=>{document.removeEventListener("mousemove",e)}}),[]),D.useEffect((()=>Nt.mergeRegister(o.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(p(),!1)),Rt.COMMAND_PRIORITY_EDITOR),o.registerCommand(fy,(()=>(a(null),!0)),Rt.COMMAND_PRIORITY_CRITICAL),o.registerCommand(py,(()=>(p(),!0)),Rt.COMMAND_PRIORITY_CRITICAL))),[o,p]),D.useEffect((()=>{a(null)}),[i]);const h=D.useCallback((()=>{a(null)}),[]),m=D.useCallback((()=>{a(null),setTimeout((()=>{p()}),0)}),[p]),g=D.useCallback((()=>{clearTimeout(f.current)}),[]);return z.createElement(Zu,{open:c&&i,anchorEl:l,placement:"top-end",sx:{zIndex:1},disablePortal:!0,modifiers:[{name:"offset",options:{offset:[-6,-parseInt((null===(r=null===(n=null===(t=null===(e=d.components)||void 0===e?void 0:e.MuiButton)||void 0===t?void 0:t.styleOverrides)||void 0===n?void 0:n.sizeSmall)||void 0===r?void 0:r.height)||"24",10)]}}]},z.createElement(Ly,{onDeleteAction:h,onAction:m,onClick:g}))},Py=e=>{const t=[];for(const[n,r]of e)if("created"===r){const e=Rt.$getNodeByKey(n),r=null==e?void 0:e.getParent();Rt.$isRootNode(r)&&null!==e&&t.push(e)}if(t.length>0){const e=Rt.$createParagraphNode();t[0].insertBefore(e),e.select(),t.forEach((e=>e.remove()))}},Iy=()=>{const[e]=Ct.useLexicalComposerContext(),t=Tt();return D.useEffect((()=>Nt.mergeRegister(e.registerMutationListener(Kb,(t=>{e.update((()=>{Py(t)}))})),e.registerMutationListener(Qb,(t=>{e.update((()=>{Py(t)}))})),e.registerMutationListener(Yb,(t=>{e.update((()=>{for(const[e,n]of t)if("created"===n||"updated"===n){const t=Rt.$getNodeByKey(e);if(Vb(t)&&!t.isValid()){const e=Rt.$createParagraphNode();t.insertBefore(e),e.select(),t.remove()}}}))})),e.registerCommand(hy,(()=>(e.update((()=>{const e=(()=>{const e=["50%","50%"],t=new Yb(!0,"100%"),n=new wy(e),r=new xy(e),o=[];for(let t=0;t<2;t++){const t=new Qb;for(let n=0;n<e.length;n++){const e=Ub(!0),n=Rt.$createParagraphNode();e.append(n),t.append(e)}o.push(t)}return t.append(n,r,...o),t})();Nt.$insertNodeToNearestRoot(e)})),!0)),Rt.COMMAND_PRIORITY_EDITOR),e.registerCommand(dy,(({colWidths:e,nodeKey:t})=>{const n=Rt.$getNodeByKey(t);if(_y(n)){n.setColWidths(e);const t=n.getParent(),r=null==t?void 0:t.getChildAtIndex(0);(function(e){return e instanceof wy})(r)&&r.setColWidths(e)}return!0}),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_ENTER_COMMAND,(t=>(null==t?void 0:t.shiftKey)?(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.focus.getNode(),n=Jb(t),r=sy(t);if(Vb(n)){const e=Rt.$createParagraphNode();e.append(Rt.$createTextNode("")),n.insertBefore(e,!1),e.select()}}})()})),!0):!!(null==t?void 0:t.ctrlKey)&&(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.focus.getNode(),n=Jb(t);if(Vb(n)){const e=Rt.$createParagraphNode();e.append(Rt.$createTextNode("")),n.insertBefore(e),n.insertAfter(e),n.selectNext()}}})()})),!0)),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_BACKSPACE_COMMAND,(e=>ly(e)),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_DELETE_COMMAND,(e=>ly(e)),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_TAB_COMMAND,(e=>{const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=t.focus.getNode(),{depth:r,tekCell:o}=(e=>{let t=e,n=0;for(;null!==t;){if(t=t.getParent(),Gb(t))return{depth:n,tekCell:t};n++}return{depth:Number.MAX_SAFE_INTEGER,tekCell:null}})(n);if(r<=1)return e.preventDefault(),((e,t)=>{const{i:n,j:r,tableNode:o,row:i}=e,l=t?1:-1;if(i&&o){const e=i.getChildAtIndex(r+l);if(e)e.getChildAtIndex(0).selectEnd();else{let e=0;t||0!==r||(e=i.getChildren().length-1);const a=o.getChildAtIndex(n+2+l);if(qb(a)){const t=null==a?void 0:a.getChildAtIndex(e);(null==t?void 0:t.getChildAtIndex(0)).selectEnd()}}}})(ay(o),!e.shiftKey),!0}return!1}),Rt.COMMAND_PRIORITY_EDITOR),e.registerCommand(Rt.CUT_COMMAND,(e=>{const t=e.target,n=Rt.$getSelection();if(t.classList.contains("tek__table")&&Rt.$isRangeSelection(n)&&Vb(n.anchor.getNode()))return e.preventDefault(),e.stopPropagation(),!0;if(Rt.$isRangeSelection(n)){const t=n.getNodes().some((e=>Gb(e))),r=n.getNodes().some((e=>Vb(e)));if(t&&!r)return e.preventDefault(),e.stopPropagation(),!0}return!1}),Rt.COMMAND_PRIORITY_CRITICAL))),[e]),D.useEffect((()=>e.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(t&&e.update((()=>{(e=>{const t=Rt.$getSelection(),n=[];if(Rt.$nodesOfType(Yb).forEach((e=>{const t=uy(e);n.push(...t)})),Rt.$isRangeSelection(t)){t.getNodes().filter((e=>Vb(e))).forEach((t=>{cy(t,e)}));const n=t.focus.getNode();if(Vb(n))return void cy(n,e)}if(Rt.$isRangeSelection(t)||Rt.$isNodeSelection(t)){const r=new Set(t.getNodes().map((e=>sy(e))));for(let t=0;t<n.length;t++){const o=e.getElementByKey(n[t].getKey());r.has(n[t])?null==o||o.classList.add("tek__tekCellHighlight"):null==o||o.classList.remove("tek__tekCellHighlight")}}})(e)}),{tag:"history-merge"}),!1)),Rt.COMMAND_PRIORITY_CRITICAL)),[e,t]),D.useEffect((()=>{e.update((()=>{t||(e=>{const t=[];Rt.$nodesOfType(Yb).forEach((e=>{const n=uy(e);t.push(...n)})),t.forEach((t=>{const n=e.getElementByKey(t.getKey());null==n||n.classList.remove("tek__tekCellHighlight")}))})(e)}))}),[t,e]),null},Dy=()=>z.createElement(z.Fragment,null,z.createElement(Iy,null),z.createElement(My,null)),zy=()=>{const e=Tt(),t=nv();return e?z.createElement("div",{className:"tek__editor__placeholder"},t("EnterText")):z.createElement("div",{className:"tek__editor__logo"},z.createElement(Iv,{height:32}))},$y=({showPlaceholder:e})=>z.createElement("div",{style:{position:"relative"}},z.createElement(sv.AutoFocusPlugin,null),z.createElement(Lv.RichTextPlugin,{contentEditable:z.createElement(hv.ContentEditable,{className:"tek__editor__input"}),placeholder:!1!==e?z.createElement(zy,null):null,ErrorBoundary:yv})),Fy=sa(dd)((({theme:e})=>({background:e.palette.common.white,height:e.spacing(4),display:"flex",alignItems:"center",paddingInline:e.spacing(.5),overflow:"auto",scrollbarWidth:"thin",width:"fit-content","&::-webkit-scrollbar":{height:"0.2em"},"&::-webkit-scrollbar-track":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#AAA"},"&::-webkit-scrollbar-thumb:hover":{background:"#AAA"}}))),By=["Source Sans Pro, sans-serif","American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],Hy="#404040",jy="16px",Wy=D.createContext({textFormat:{bold:!1,italic:!1,underline:!1},blockFormat:{blockType:"normal",fontName:By[0],fontSize:"16px",fontColor:"#404040",align:"left",isLink:!1}}),Ky=({children:e})=>{const t=(()=>{const[e]=Ct.useLexicalComposerContext(),[t,n]=D.useState(!1),[r,o]=D.useState(!1),[i,l]=D.useState(!1),[a,s]=D.useState("paragraph"),[u,c]=D.useState(By[0]),[d,f]=D.useState(jy),[p,h]=D.useState(Hy),[m,g]=D.useState("left"),[v,b]=D.useState(!1),y=D.useCallback((()=>{const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const r=t.anchor.getNode();let i="root"===r.getKey()?r:Nt.$findMatchingParent(r,(e=>{const t=e.getParent();return null!==t&&Rt.$isRootOrShadowRoot(t)}));null===i&&(i=r.getTopLevelElementOrThrow());const a=i.getKey();let u=i;if(null!==e.getElementByKey(a))if(_e.$isListNode(i)){const e=Nt.$getNearestNodeOfType(r,_e.ListNode),t=e?e.getListType():i.getListType();s(t)}else{const e=gt.$isHeadingNode(i)?i.getTag():i.getType();s(e)}if(_e.$isListNode(i)||gt.$isHeadingNode(i)){const e=Nt.$getNearestNodeOfType(i,Rt.ParagraphNode);e&&(u=e)}const d=Ob(t),p=d.getParent();if(de.$isLinkNode(p)||de.$isLinkNode(d)?b(!0):b(!1),Rt.$isParagraphNode(u)){const e=u.getFormatType();g(""===e?"left":e)}n(t.hasFormat("bold")),o(t.hasFormat("italic")),l(t.hasFormat("underline"));const m=At.$getSelectionStyleValueForProperty(t,"font-family",By[0]),v=At.$getSelectionStyleValueForProperty(t,"font-size",jy);c(""===m?By[0]:m),f(""!==v&&v?v:jy),h(At.$getSelectionStyleValueForProperty(t,"color",Hy))}else Rt.$isNodeSelection(t)&&t.getNodes().forEach((e=>{if(function(e){return e instanceof Cy}(e)){const t=e;n(t.hasStyle("fontWeight")),o(t.hasStyle("fontStyle")),l(t.hasStyle("textDecoration")),h(t.getTextFormatStyle("color",Hy));const r=t.getTextFormatStyle("fontSize",jy),i=t.getTextFormatStyle("fontFamily",By[0]);f(r),c(i);const a=t.getParent();if(null!==a){const e=(e=>{if(_e.$isListItemNode(e)){const t=Nt.$getNearestNodeOfType(e,_e.ListNode);return t?t.getListType():e.getListType()}return gt.$isHeadingNode(e)?e.getTag():e.getType()})(a);s(e)}}}))}),[e]);return D.useEffect((()=>Nt.mergeRegister(e.registerUpdateListener((({editorState:e})=>{e.read((()=>y()))})),e.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(e.getEditorState().read((()=>y())),!1)),Rt.COMMAND_PRIORITY_EDITOR))),[e,y]),{textFormat:{bold:t,italic:r,underline:i},blockFormat:{blockType:a,fontName:u,fontSize:d,fontColor:p,align:m,isLink:v}}})();return z.createElement(Wy.Provider,{value:t},e)},Uy=({children:e})=>z.createElement(Ky,null,z.createElement(Fy,{sx:{display:{xs:"none",sm:"flex",md:"flex",lg:"flex"}},direction:"row"},e)),Gy=({anchorEl:e,children:t})=>{const n=Boolean(e);return z.createElement(Zu,{open:n,anchorEl:e,placement:"bottom-start",transition:!0,sx:{zIndex:1}},(({TransitionProps:e})=>z.createElement(Oc,{...e},z.createElement(_u,{className:"tekPopperMenu"},t))))},Yy=sa(qu)({fontSize:12,textOverflow:"ellipsis"}),Vy=({startIcon:e,value:t,onClick:n,compact:r})=>z.createElement(cd,{title:t,PopperProps:{disablePortal:!0}},z.createElement(xc,{style:{textTransform:"none",textOverflow:"ellipsis",flexShrink:0},size:"small",variant:"text",onClick:n,startIcon:r?void 0:e,endIcon:z.createElement(Yv,{height:12})},r?e:z.createElement(Yy,null,t))),Qy=sa(Zc,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({background:t?e.palette.grey[200]:void 0}))),qy=[{text:"AlignLeft",align:"left",icon:()=>z.createElement(Hv,{height:12})},{text:"AlignCenter",align:"center",icon:()=>z.createElement($v,{height:12})},{text:"AlignRight",align:"right",icon:()=>z.createElement(Kv,{height:12})}],Xy=({compact:e})=>{const[t]=Ct.useLexicalComposerContext(),[n,r]=D.useState(null),{blockFormat:o}=D.useContext(Wy),i=nv(),l=D.useMemo((()=>qy.find((e=>e.align===o.align))||qy[0]),[o.align]),a=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),s=D.useCallback((()=>{r(null)}),[]),u=D.useCallback((e=>{r(null),t.dispatchCommand(Rt.FORMAT_ELEMENT_COMMAND,e),t.focus()}),[t]);return z.createElement(Ea,{onClickAway:s,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{value:i(l.text),startIcon:l.icon(),onClick:a,compact:e}),z.createElement(Gy,{anchorEl:n},z.createElement(Vc,{dense:!0},qy.map((e=>z.createElement(Qy,{value:e.text,dense:!0,key:e.align,active:e.align===o.align,onClick:()=>u(e.align)},z.createElement(Hc,null,e.icon()),z.createElement(Yy,null,i(e.text)))))))))},Jy=({text:e,icon:t})=>z.createElement(z.Fragment,null,z.createElement(Hc,null,t),z.createElement(Yy,null,e)),Zy=({text:e,icon:t})=>z.createElement(z.Fragment,null,z.createElement(Hc,null,z.createElement(Yy,{fontWeight:"bold"},t)),z.createElement(Yy,null,e)),ex=[{text:"Heading1",icon:"H1",tag:"h1"},{text:"Heading2",icon:"H2",tag:"h2"},{text:"Heading3",icon:"H3",tag:"h3"}],tx=(e,t,n)=>({icon:z.createElement("span",{style:{fontSize:12,fontWeight:"bold"}},t),text:n(e)}),nx=({compact:e})=>{const[t]=Ct.useLexicalComposerContext(),{blockFormat:n}=D.useContext(Wy),[r,o]=D.useState(null),i=nv(),l=D.useMemo((()=>{let e={icon:z.createElement(ib,{height:12}),text:i("Paragraph")};return"h1"===n.blockType&&(e=tx("Heading1","H1",i)),"h2"===n.blockType&&(e=tx("Heading2","H2",i)),"h3"===n.blockType&&(e=tx("Heading3","H3",i)),"quote"===n.blockType&&(e.icon=z.createElement(Zv,{height:12}),e.text=i("Quote")),"bullet"===n.blockType&&(e.icon=z.createElement(qv,{height:12}),e.text=i("UnorderedList")),"number"===n.blockType&&(e.icon=z.createElement(nb,{height:12}),e.text=i("OrderedList")),e}),[n,i]),a=D.useCallback((()=>{o(null)}),[]),s=D.useCallback((e=>{t.update((()=>{const n=Rt.$getSelection();Rt.$isRangeSelection(n)?(At.$patchStyleText(n,{"font-size":null}),At.$setBlocksType(n,e)):Rt.$isNodeSelection(n)&&n.getNodes().forEach((t=>{const n=t.getParent();null==n||n.replace(e(),!0)})),t.focus()}))}),[t]),u=D.useCallback(((e,n)=>{o(null),t.update((()=>{const r=Rt.$getSelection();Rt.$isRangeSelection(r)&&r.getNodes().forEach((r=>{const o=r.getParent();o&&o.getType()!==e&&t.dispatchCommand(n,void 0)}))})),t.focus()}),[t]),c=D.useCallback((e=>{o(null),s((()=>gt.$createHeadingNode(e)))}),[s]),d=D.useCallback((()=>{o(null),s((()=>Rt.$createParagraphNode()))}),[s]),f=D.useCallback((()=>{o(null),s((()=>gt.$createQuoteNode()))}),[s]);return z.createElement(Ea,{onClickAway:a,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:l.text,startIcon:l.icon,compact:e}),z.createElement(Gy,{anchorEl:r},z.createElement(Vc,{dense:!0},z.createElement(Zc,{dense:!0,onClick:d},z.createElement(Jy,{text:i("Paragraph"),icon:z.createElement(ib,{height:12})})),z.createElement(Zc,{dense:!0,onClick:f},z.createElement(Jy,{text:i("Quote"),icon:z.createElement(Zv,{height:12})})),ex.map((e=>z.createElement(Zc,{dense:!0,onClick:()=>c(e.tag),key:e.text},z.createElement(Zy,{text:i(e.text),icon:e.icon})))),z.createElement(kc,null),z.createElement(Zc,{dense:!0,onClick:()=>u("bullet",_e.INSERT_UNORDERED_LIST_COMMAND)},z.createElement(Jy,{text:i("UnorderedList"),icon:z.createElement(qv,{height:12})})),z.createElement(Zc,{dense:!0,onClick:()=>u("number",_e.INSERT_ORDERED_LIST_COMMAND)},z.createElement(Jy,{text:i("OrderedList"),icon:z.createElement(nb,{height:12})}))))))},rx=sa(xc,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({width:e.spacing(3),height:e.spacing(3),padding:0,background:t?e.palette.grey[300]:void 0}))),ox=(e,t)=>n=>{const r=nv();return z.createElement(cd,{title:r(t),PopperProps:{disablePortal:!0}},z.createElement("div",null,z.createElement(e,{...n,"aria-label":r(t)})))},ix=({format:e,icon:t,...n})=>{const r=D.useContext(Wy),[o]=Ct.useLexicalComposerContext(),i=D.useCallback((()=>{o.dispatchCommand(Rt.FORMAT_TEXT_COMMAND,e)}),[o,e]);return z.createElement(rx,{...n,active:r.textFormat[e],onClick:i,size:"small",variant:"text"},t)},lx=ox(ix,"Bold"),ax=()=>z.createElement(lx,{format:"bold",icon:z.createElement(sb,{height:12})}),sx=Rt.createCommand("APPLY_TEXT_FORMAT"),ux=Rt.createCommand("CLEAR_TEXT_FORMAT"),cx=ox(rx,"ClearFormat"),dx=()=>{const[e]=Ct.useLexicalComposerContext(),t=D.useCallback((()=>{e.update((()=>{const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const{anchor:e,focus:n}=t,r=t.getNodes();if(e.key===n.key&&e.offset===n.offset)return;r.forEach(((t,o)=>{try{if(Rt.$isTextNode(t)){0===o&&0!==e.offset&&(t=t.splitText(e.offset)[1]||t),o===r.length-1&&(t=t.splitText(n.offset)[0]||t),""!==t.__style&&t.setStyle(""),0!==t.__format&&(t.setFormat(0),Nt.$getNearestBlockElementAncestorOrThrow(t).setFormat(""));const i=t.getParent();(gt.$isHeadingNode(i)||gt.$isQuoteNode(i))&&i.replace(Rt.$createParagraphNode(),!0)}else(gt.$isHeadingNode(t)||gt.$isQuoteNode(t))&&t.replace(Rt.$createParagraphNode(),!0)}catch(e){}}))}e.dispatchCommand(ux,void 0)}))}),[e]);return z.createElement(cx,{onClick:t},z.createElement(db,{height:12}))};function fx(e){return fx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fx(e)}var px,hx={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},mx=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,gx=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,vx=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,bx=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,yx=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,xx=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,_x=Math.floor,Ex=Math.round,wx=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t,n,r,o,i,l,a,s,u,c,d,f,p=0,h=0,m=0,g=1;if(this._invalid=!1,arguments[0]instanceof e)p=arguments[0]._r,h=arguments[0]._g,m=arguments[0]._b,g=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(d=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f=arguments[0]))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10);else if(d=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))g=parseFloat(Ex(d[1]/2.55)/100),p=parseInt(d[2],10),h=parseInt(d[3],10),m=parseInt(d[4],10);else if(d=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10),g=parseFloat(d[4]);else if(d=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(f))p=parseInt(d[1],16),h=parseInt(d[2],16),m=parseInt(d[3],16),g=1;else if(d=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(f))p=parseInt(d[1]+d[1],16),h=parseInt(d[2]+d[2],16),m=parseInt(d[3]+d[3],16),g=1;else if(d=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),n=(n/=100)<0?0:n>1?1:n,a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=o-.5*l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ex(255*p),h=Ex(255*h),m=Ex(255*m),g=1}else if(d=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),g=parseFloat(d[7]),n=(n/=100)<0?0:n>1?1:n,a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=o-.5*l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ex(255*p),h=Ex(255*h),m=Ex(255*m)}else if(d=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),i=parseFloat(d[5]),a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(i=(i/=100)<0?0:i>1?1:i)*(n=(n/=100)<0?0:n>1?1:n))*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=i-l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ex(255*p),h=Ex(255*h),m=Ex(255*m),g=1}else hx[f.toLowerCase()]?(r=f.toLowerCase(),p=hx[r].r,h=hx[r].g,m=hx[r].b,g="number"==typeof hx[r].a?hx[r].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(g=(4278190080&arguments[0])>>>24,g/=255,p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(p=arguments[0],h=arguments[1],m=arguments[2],g=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+p+h+m+g)&&(this._invalid=!0),this._r=_x(p),this._g=_x(h),this._b=_x(m),this._a=g,this._spaces={}}var t,n;return t=e,(n=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=e.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=e.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(t){return this._spaces.hsl||(this._spaces.hsl=e.toHSL(this,t)),this._spaces.hsl}},{key:"toHSLA",value:function(t){return this._spaces.hsla||(this._spaces.hsla=e.toHSLA(this,t)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=e.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=e.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),l=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(l,")")}},{key:"isEqual",value:function(t){return t instanceof e||(t=new e(t)),this._r===t._r&&this._g===t._g&&this._b===t._b}},{key:"blend",value:function(e,t){var n=_x(this._r+(e._r-this._r)*t),r=_x(this._g+(e._g-this._g)*t),o=_x(this._b+(e._b-this._b)*t),i=_x(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(t){(void 0===t||Number.isNaN(+t))&&(t=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new e(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*t))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==fx(o=function(e){if("object"!=fx(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o),r)}var o}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();wx.toRGB=function(e){if(e instanceof wx)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=wx.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},wx.toRGBA=function(e,t){if(e instanceof wx)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=wx.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},wx.toHex=function(e){var t,n,r;return e instanceof wx?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=wx.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},wx.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new wx(e));var l=e._r/255,a=e._g/255,s=e._b/255,u=Math.max(l,a,s),c=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(u+c)/2,u===c)n=0,i=0;else{switch(o=u-c,n=r>.5?o/(2-u-c):o/(u+c),u){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},wx.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new wx(e));var l=e._r/255,a=e._g/255,s=e._b/255,u=e._a,c=Math.max(l,a,s),d=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(u,")")},wx.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new wx(e));var o=e._r/255,i=e._g/255,l=e._b/255,a=Math.max(o,i,l),s=Math.min(o,i,l),u=a;if(a===s)t=0,r=0;else{switch(t=0==(n=a-s)?0:n/u,a){case o:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-o)/n+2;break;case l:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*u}},wx.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof wx)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},wx.blend=function(e,t,n){var r=(16711680&(e=wx.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=wx.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},wx.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,l=e._a+(t._a-e._a)*n;return new wx(r,o,i,l)},wx.isCSSColor=function(e){return!(arguments.length>1||"string"!=typeof e)&&(mx.test(e)||gx.test(e)||vx.test(e)||bx.test(e)||yx.test(e)||xx.test(e)||hx[e.toLowerCase()])},wx.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},wx.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},wx.isDark=function(){var e={getLuminance:wx.prototype.getLuminance,isInvalid:wx.prototype.isInvalid};return wx.prototype.init.apply(e,[].slice.call(arguments)),wx.prototype.isDark.call(e)},wx.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},px=wx;const Cx=sa(dd)((({theme:e})=>({display:"flex",flex:4,flexDirection:"row",flexWrap:"wrap",backgroundColor:e.palette.background.default,borderRadius:"4px",padding:e.spacing(.5),alignItems:"center",justifyContent:"space-around"}))),Sx=sa(dc)((({theme:e})=>({display:"flex",width:e.spacing(3.8),height:e.spacing(3.8),borderRadius:"4px",margin:e.spacing(.1),borderWidth:"1px",borderColor:e.palette.grey[500],borderStyle:"solid",justifyContent:"center",alignItems:"center"}))),kx=({palette:e,color:t,onColorChange:n})=>{const[r,o]=D.useState(t),i=ia(),l=D.useCallback((e=>{o(e),n(e)}),[n]);return z.createElement(Cx,null,e.map((e=>z.createElement(Sx,{style:{backgroundColor:e},key:e,onClick:t=>{t.preventDefault(),t.stopPropagation(),l(e)}},e===r?z.createElement(vd,{height:12,color:i.palette.getContrastText(e)}):null))))};function Tx(e,t,n){return Math.max(t,Math.min(n,e))}const Nx=(e,t)=>{const n=new px(e).toHSVComponents(),r=window.getComputedStyle(t),o=parseInt(r.width,10),i=parseInt(r.height,10);return{left:o*(n.s/100)+"px",top:i*((100-n.v)/100)+"px"}},Rx=(e,t)=>{const{left:n,top:r,width:o,height:i}=e.currentTarget.getBoundingClientRect(),l=Tx(e.clientX-n,0,o)/o*100,a=100-Tx(e.clientY-r,0,i)/i*100,s=new px(t).toHSVComponents();return s.s=l,s.v=a,s},Ax=sa(dd)((({theme:e})=>({width:e.spacing(32),height:e.spacing(24),padding:e.spacing(1),display:"flex",flexDirection:"column"}))),Ox=sa(dc)({flex:4,backgroundImage:"linear-gradient(transparent, black), linear-gradient(to right, white, transparent)",position:"relative",cursor:"crosshair",borderRadius:"4px"}),Lx=sa(dc)((({theme:e})=>({flex:.5,marginTop:e.spacing(.5),marginBottom:e.spacing(.5),borderRadius:"4px",cursor:"crosshair",position:"relative",backgroundImage:"linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000 );"}))),Mx=sa(dc)({width:"16px",height:"16px",borderRadius:"2px"}),Px=sa(dd)({flexDirection:"row",alignItems:"center"}),Ix=sa(dc)({position:"absolute",width:"8px",height:"8px",backgroundColor:"black",left:0,top:0,borderRadius:"16px",border:"1px solid white",cursor:"pointer",transform:"translate(-50%, -50%)"}),Dx=({onClick:e,onClose:t,startColor:n,palette:r})=>{const[o,i]=D.useState(n),l=D.useRef(n),[a,s]=D.useState(!0),[u,c]=D.useState(o),d=D.useRef(null),f=D.useRef(null),p=D.useRef({left:0,top:0,on:!1,clientX:0,clientY:0}),[h,m]=D.useState({left:"0",top:"0"});D.useEffect((()=>{r.some((e=>e===n))||s(!1)}),[n,r]);const g=D.useCallback((e=>{if(!d.current&&(d.current=e,e)){const t=Nx(o,e);m(t)}}),[o]),v=D.useMemo((()=>`hsl(${new px(o).toHSVComponents().h}, 100%, 50%)`),[o]),b=D.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=Rx(t,l.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new px(r);if(l.current=o.toHex(),f.current&&d.current){const e=d.current.getBoundingClientRect(),n=t.clientX-e.left,r=t.clientY-e.top;f.current.style.left=`${n}px`,f.current.style.top=`${r}px`}e(l.current),c(l.current),i(l.current)}),[e]),y=D.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=((e,t)=>{const{width:n,left:r}=e.target.getBoundingClientRect(),o=Tx(e.clientX-r,0,n),i=Math.round(o/n*360),l=o/n*100,a=new px(t).toHSVComponents();return a.h=i,a.s=l,a})(t,l.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new px(r);l.current=o.toHex(),e(l.current),c(l.current),i(l.current)}),[e]),x=D.useCallback((t=>{l.current=t,e(l.current),i(l.current),c(t)}),[e]),_=D.useCallback((t=>{if(c(t.target.value),!new px(t.target.value).isInvalid()&&(l.current=t.target.value,i(t.target.value),t.target.value.startsWith("#")&&7===t.target.value.length?e(l.current,{tag:"collaboration"}):t.target.value.startsWith("#")||e(l.current,{tag:"collaboration"}),d.current)){const e=Nx(l.current,d.current);m(e)}}),[e]);return z.createElement(Ax,null,a?z.createElement(kx,{palette:r,color:o,onColorChange:x}):z.createElement(z.Fragment,null,z.createElement(Ox,{style:{backgroundColor:v},ref:g,onMouseDown:e=>{if(e.preventDefault(),e.stopPropagation(),f.current&&e.target===f.current){const{left:t,top:n}=f.current.style,r=parseInt(t||"0",10),o=parseInt(n||"0",10);f.current.style.cursor="pointer",d.current&&(d.current.style.cursor="pointer"),p.current={left:r,top:o,on:!0,clientX:e.clientX,clientY:e.clientY}}},onMouseMove:e=>{if(e.preventDefault(),e.stopPropagation(),p.current.on&&f.current&&d.current){const t=e.clientX-p.current.clientX,n=e.clientY-p.current.clientY,r=p.current.left+t,o=p.current.top+n,a=Rx(e,l.current),s=`hsv(${a.h},${a.s},${a.v})`,u=new px(s).toHex();f.current.style.left=`${r}px`,f.current.style.top=`${o}px`,f.current.style.backgroundColor=u,l.current=u,c(l.current),i(u)}},onMouseUp:t=>{t.preventDefault(),t.stopPropagation(),p.current.on?e(l.current):b(t),d.current&&(d.current.style.cursor="crosshair"),f.current&&(f.current.style.cursor="pointer"),p.current.on=!1}},z.createElement(Ix,{ref:f,style:{...h,backgroundColor:o}})),z.createElement(Lx,{onClick:y})),z.createElement(Px,null,z.createElement(Mx,{style:{backgroundColor:o}}),z.createElement(uc,{style:{flex:1},value:u,onChange:_}),z.createElement(Ku,{onClick:()=>s(!a)},z.createElement(hb,{height:12})),z.createElement(Ku,{onClick:t},z.createElement(vd,{height:12}))))},zx=["#404040","#ffffff","#99CFCD","#83AF9B","#C4CFDA","#10CFC9","#006580","#87205D","#8A85C6","#A16090","#AC4D58","#E0BD8D","#E1DAD5","#b0afae","#7b7a78","#000000","#C8C7A9"],$x=ox(xc,"Color"),Fx=({colorPalette:e})=>{const[t]=Ct.useLexicalComposerContext(),[n,r]=D.useState(null),{blockFormat:o}=D.useContext(Wy),i=D.useCallback(((e,n)=>{t.update((()=>{const t=Rt.$getSelection();Rt.$isRangeSelection(t)&&At.$patchStyleText(t,{color:e})}),n),t.dispatchCommand(sx,{styleKey:"color",styleValue:e})}),[t]),l=()=>{r(null)};return z.createElement(Ea,{onClickAway:l,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement($x,{variant:"text",size:"small",endIcon:z.createElement(Yv,{height:12}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}},z.createElement(dc,{sx:{backgroundColor:o.fontColor,width:12,height:12}})),z.createElement(Gy,{anchorEl:n},z.createElement(Dx,{onClick:i,onClose:l,startColor:o.fontColor,palette:e||zx}))))},Bx=({compact:e,fonts:t})=>{const[n]=Ct.useLexicalComposerContext(),[r,o]=D.useState(null),{blockFormat:i}=D.useContext(Wy),l=D.useMemo((()=>t||By),[t]),a=D.useCallback((e=>{o(null);const{fontName:t}=e.currentTarget.dataset;n.update((()=>{const e=Rt.$getSelection();Rt.$isRangeSelection(e)&&At.$patchStyleText(e,{"font-family":t||By[0]}),n.dispatchCommand(sx,{styleKey:"fontFamily",styleValue:t||By[0]}),n.focus()}))}),[n]);return z.createElement(Ea,{onClickAway:()=>{o(null)},mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:i.fontName,startIcon:z.createElement("span",{style:{fontFamily:"Times New Roman, serif",fontSize:16,fontWeight:"lighter"}},"T"),compact:e}),z.createElement(Gy,{anchorEl:r},z.createElement(Vc,{dense:!0,style:{maxHeight:200,overflow:"auto"}},l.map((e=>z.createElement(Qy,{"data-font-name":e,key:e,onClick:a,active:e===i.fontName},z.createElement(Yy,null,e))))))))},Hx=e=>parseInt(e,10),jx=({fontSize:e,onSelected:t})=>{const[n,r]=D.useState(""),o=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(e.target.value)}),[]),i=D.useCallback((()=>{const e=Hx(n);e&&t(`${e}px`)}),[t,n]),l=D.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),i())}),[i]);return z.createElement(dd,{direction:"row"},z.createElement(uc,{value:n,sx:{ml:1,flex:1},placeholder:e,onChange:o,onKeyDown:l}),z.createElement(Ku,{disabled:!Hx(n),onClick:i},z.createElement(vd,{height:12})))},Wx=["8px","9px","10px","11px","12px","14px","16px","20px","24px","32px"],Kx=({compact:e})=>{const[t]=Ct.useLexicalComposerContext(),[n,r]=D.useState(null),{blockFormat:o}=D.useContext(Wy),i=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),l=D.useCallback((()=>{r(null)}),[]),a=D.useCallback((e=>{r(null),e.length>0&&t.update((()=>{const n=Rt.$getSelection();Rt.$isRangeSelection(n)&&At.$patchStyleText(n,{"font-size":e}),t.dispatchCommand(sx,{styleKey:"fontSize",styleValue:`${e}`})}))}),[t]),s=D.useCallback((e=>{const{fontSize:t}=e.currentTarget.dataset;a(t||"16px")}),[a]),u=D.useCallback((e=>{a(e)}),[a]);return z.createElement(Ea,{onClickAway:l,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{startIcon:e?z.createElement(Yy,null,o.fontSize):void 0,value:o.fontSize,onClick:i,compact:e}),z.createElement(Gy,{anchorEl:n},z.createElement(jx,{fontSize:o.fontSize,onSelected:u}),z.createElement(kc,null),z.createElement(Vc,{dense:!0,style:{maxHeight:200,overflow:"auto"}},Wx.map((e=>z.createElement(Zc,{"data-font-size":e,key:e,onClick:s},z.createElement(Yy,null,e))))))))},Ux=ox(rx,"InsertTable"),Gx=()=>{const[e]=Ct.useLexicalComposerContext(),t=D.useCallback((()=>{e.dispatchCommand(hy,void 0)}),[e]);return z.createElement(Ux,{onClick:t},z.createElement(vb,{height:12}))},Yx=ox(ix,"Italic"),Vx=()=>z.createElement(Yx,{format:"italic",icon:z.createElement(xb,{height:12})}),Qx=ox(rx,"InsertHyperlink"),qx=()=>{const[e]=Ct.useLexicalComposerContext(),{blockFormat:t}=D.useContext(Wy),n=D.useCallback((()=>{t.isLink?e.dispatchCommand(de.TOGGLE_LINK_COMMAND,null):e.dispatchCommand(de.TOGGLE_LINK_COMMAND,Pb("https://"))}),[e,t.isLink]);return z.createElement(Qx,{onClick:n},z.createElement(wb,{height:12}))},Xx=ox(ix,"Underline"),Jx=()=>z.createElement(Xx,{format:"underline",icon:z.createElement(kb,{height:12})}),Zx=()=>z.createElement(kc,{flexItem:!0,orientation:"vertical",sx:{mx:.5,my:1}});var e_={AddNewColumn:{value:"Spalte hinzufügen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Zeile hinzufügen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Zentrieren",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Linksbündig",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechtsbündig",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fett",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textausrichtung",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Schriftgröße",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Format löschen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Schriftfarbe",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Spalte löschen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Zeile löschen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabelle löschen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geben Sie Text ein...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Überschrift 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Überschrift 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Überschrift 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Link einfügen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Großer Text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link zu",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Mittlerer Text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sortierte Liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Absatz",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Listenstil",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Kleiner Text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Rahmen wechseln",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-Link",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Unterstreichen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Unsortierte Liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},t_={AlignLeft:{value:"Align left",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)"},AlignCenter:{value:"Align center",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)"},AlignRight:{value:"Align right",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)"},SmallText:{value:"Small text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)"},MediumText:{value:"Medium text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)"},LargeText:{value:"Large text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)"},UnorderedList:{value:"Unordered list",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)"},OrderedList:{value:"Ordered list",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)"},ChangeTextSize:{value:"Text size",comment:"Change text size in toolbar menu label. (dfk 221011)"},BoldText:{value:"Bold",comment:"Bold text label in toolbar menu label. (dfk 221011)"},ItalicizeText:{value:"Italic",comment:"Italicize text label in toolbar menu label. (dfk 221011)"},UnderlineText:{value:"Underline",comment:"Underline text label in toolbar menu label. (dfk 221011)"},ChangeTextAlignment:{value:"Text alignment",comment:"Change text alignment label in toolbar menu label. (dfk 221011)"},SetTextListStyle:{value:"List style",comment:"Set text list style label in toolbar menu label. (dfk 221011)"},InsertHyperlink:{value:"Insert link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)"},LinkTo:{value:"Link to",comment:"Generic link label. (dfk 221011)"},URLLink:{value:"URL link",comment:"URL link label. (dfk 221011)"},Paragraph:{value:"Paragraph",comment:"Paragraph format for the text"},Heading1:{value:"Heading 1",comment:"HTML Header 1 format for the text"},Heading2:{value:"Heading 2",comment:"HTML Header 2 format for the text"},Heading3:{value:"Heading 3",comment:"HTML Header 2 format for the text"},Color:{value:"Font color",comment:"Button label for color picker"},ToggleBorders:{value:"Toggle borders",comment:"Menu option to toggle table borders"},AddNewRow:{value:"Add row",comment:"Menu option to add row to table"},AddNewColumn:{value:"Add column",comment:"Menu option to add column to table"},DeleteRow:{value:"Delete row",comment:"Menu option to delete row to table"},DeleteCol:{value:"Delete column",comment:"Menu option to delete column to table"},DeleteTable:{value:"Delete table",comment:"Menu option to delete table"},ClearFormat:{value:"Clear format",comment:"Clear the selected text format"},EnterText:{value:"Enter some text...",comment:"Prompt to user when the text object is empty"}},n_={AddNewColumn:{value:"Añadir columna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Añadir fila",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinear centrado",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinear a la izquierda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinear a la derecha",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrita",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alineación de texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamaño de texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Borrar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Color de fuente",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Eliminar columna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Eliminar fila",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Eliminar tabla",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Escriba algún texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabecera 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabecera 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabecera 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insertar enlace",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursiva",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Enlazar a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto mediano",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Párrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo de lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeño",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Ajustar bordes",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Enlace URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Subrayado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista no ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},r_={AddNewColumn:{value:"Ajouter une colonne",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Ajouter une ligne",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrer",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Aligner à gauche",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Aligner à droite",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Gras",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alignement du texte",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Taille du texte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Effacer le format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Couleur de police",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Supprimer une colonne",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Supprimer une ligne",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Supprimer la table",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Saisissez un texte...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"En-tête 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"En-tête 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"En-tête 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insérer un lien",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Italique",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texte de grande taille",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Lien vers",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texte de taille moyenne",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Liste triée",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraphe",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Style de liste",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texte de petite taille",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Basculer les bords",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Lien URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Souligner",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Liste non triée",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},o_={AddNewColumn:{value:"Aggiungi colonna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Aggiungi riga",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Allinea al centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Allinea a sinistra",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Allinea a destra",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Grassetto",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Allineamento testo",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Dimensione testo",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Cancella formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Colore carattere",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Elimina colonna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Elimina riga",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Elimina tabella",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Inserisci del testo...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Intestazione 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Intestazione 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Intestazione 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserisci collegamento",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Corsivo",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Testo grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Collega a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Testo medio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Elenco ordinato",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Stile elenco",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Testo piccolo",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Attiva/Disattiva bordi",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Collegamento URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sottolineato",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Elenco non ordinato",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},i_={AddNewColumn:{value:"列を追加",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"行を追加",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"中央揃え",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"左揃え",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"右揃え",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"太字",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"テキストの配置",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"テキスト サイズ",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"書式をクリア",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"フォントの色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"列を削除",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"行を削除",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"テーブルを削除",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"テキストを入力してください...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"見出し 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"見出し 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"見出し 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"リンクを挿入",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"テキスト大",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"リンク先",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"テキスト中",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"順序付きリスト",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"リスト スタイル",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"テキスト小",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"境界線の切り替え",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL リンク",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"順序なしリスト",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},l_={AddNewColumn:{value:"열 추가",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"행 추가",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"중앙 맞춤",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"왼쪽 맞춤",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"오른쪽 맞춤",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"굵게",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"텍스트 맞춤",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"텍스트 크기",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"형식 지우기",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"글꼴 색",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"열 삭제",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"행 삭제",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"테이블 삭제",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"텍스트 입력...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"머리글 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"머리글 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"머리글 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"링크 삽입",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"기울임꼴",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"큰 텍스트",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"연결 대상",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"중간 텍스트",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"순서가 지정된 목록",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"단락",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"목록 스타일",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"작은 텍스트",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"테두리 설정/해제",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 링크",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"밑줄",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"순서가 지정되지 않은 목록",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},a_={AddNewColumn:{value:"Kolom toevoegen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Rij toevoegen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Op midden uitlijnen",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Links uitlijnen",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechts uitlijnen",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Vet",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Tekstuitlijning",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tekstgrootte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Opmaak wissen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Tekstkleur",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Kolom verwijderen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Rij verwijderen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabel verwijderen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geef tekst op...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Koptekst 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Koptekst 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Koptekst 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Koppeling invoegen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursief",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Tekst groot",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Koppelen met",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Tekst medium",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Geordende lijst",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Alinea",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Lijststijl",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Tekst klein",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Randen in-/uitschakelen",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-koppeling",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Onderstrepen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Ongeordende lijst",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},s_={AddNewColumn:{value:"Dodaj kolumnę",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Dodaj wiersz",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Wyrównaj do środka",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Wyrównaj do lewej",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Wyrównaj do prawej",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Pogrubienie",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Wyrównanie tekstu",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Wielkość tekstu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Wyczyść format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Kolor czcionki",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Usuń kolumnę",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Usuń wiersz",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Usuń tabelę",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Wprowadź tekst...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Nagłówek 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Nagłówek 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Nagłówek 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Wstaw łącze",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursywa",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Duży tekst",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Łącze do:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Średni tekst",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista uporządkowana",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Akapit",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Styl listy",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Mały tekst",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Przełącz obramowania",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Łącze URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Podkreślenie",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista nieuporządkowana",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},u_={AddNewColumn:{value:"Adicionar coluna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Adicionar linha",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinhar centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinhar à esquerda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinhar à direita",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrito",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alinhamento do texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamanho do texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Limpar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Cor da fonte",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Excluir coluna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Excluir linha",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Excluir tabela",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Digite algum texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabeçalho 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabeçallho 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabeçalho 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserir link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Itálico",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link para",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto médio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Parágrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo em lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeno",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Alternar bordas",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Link da URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sublinhado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista não ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},c_={AddNewColumn:{value:"Добавить столбец",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Добавить строку",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Выровнять по центру",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Выровнять по левой стороне",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Выровнять по правой стороне",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Полужирный",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Выравнивание текста",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Размер текста",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Очистить формат",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Цвет шрифта",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Удалить столбец",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Удалить строку",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Удалить таблицу",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Введите текст...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Заголовок 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Заголовок 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Заголовок 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Вставить ссылку",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Курсив",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Крупный текст",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Ссылка на",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Средний текст",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Упорядоченный список",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Абзац",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Стиль списка",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Мелкий текст",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Переключить границы",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-ссылка",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Подчеркивание",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Неупорядоченный список",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},d_={AddNewColumn:{value:"Lägg till kolumn",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Lägg till rad",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrera",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Vänsterjustera",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Högerjustera",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fetstil",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textjustering",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Textstorlek",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Rensa format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Teckenfärg",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Ta bort kolumn",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Ta bort rad",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Ta bort tabell",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Skriv in text...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Rubrik 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Rubrik 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Rubrik 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Infoga länk",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Stor text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Länka till",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Medelstor text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sorterad lista",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Stycke",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Som lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Liten text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kantlinjer på/av",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-länk",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Understrykning",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Osorterad lista",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},f_={AddNewColumn:{value:"Sütun ekle",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Satır ekle",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Ortaya hizala",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Sola hizala",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Sağa hizala",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Kalın",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Metin hizalaması",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Metin boyutu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Biçimi temizle",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Yazı tipi rengi",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Sütun sil",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Satır sil",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabloyu sil",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Metin girin...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Başlık 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Başlık 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Başlık 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Bağlantı ekle",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"İtalik",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Büyük metin",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Bağlantı:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Orta boy metin",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sıralı liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraf",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Liste stili",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Küçük metin",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kenarlıkları değiştir",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL bağlantısı",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Altını çiz",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Sırasız liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}};const p_={de:e_,es:n_,en:t_,fr:r_,it:o_,ja:i_,ko:l_,nl:a_,pl:s_,pt:u_,ru:c_,sv:d_,tr:f_,"de-de":e_,"es-es":n_,"en-us":t_,"fr-fr":r_,"it-it":o_,"ja-jp":i_,"ko-kr":l_,"nl-nl":a_,"pl-pl":s_,"pt-br":u_,"ru-ru":c_,"sv-se":d_,"tr-tr":f_,"zh-cn":{AddNewColumn:{value:"添加列",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"添加行",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"居中对齐",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左对齐",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右对齐",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"加粗",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文本对齐",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文本大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字体颜色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"删除列",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"删除行",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"删除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"输入一些文本...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"标题 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"标题 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"标题 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入链接",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文本",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"链接到",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文本",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"有序列表",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"列表样式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文本",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切换边框",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 链接",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下划线",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"无序列表",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},"zh-tw":{AddNewColumn:{value:"新增欄",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"新增列",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"置中對齊",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左對齊",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右對齊",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"粗體",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文字對齊方式",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文字大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字型色彩",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"刪除欄",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"刪除列",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"刪除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"輸入一些文字...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"標頭 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"標頭 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"標頭 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入連結",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜體字",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文字",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"連結至",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文字",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"排序清單",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"清單樣式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文字",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切換框線",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 連結",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"底線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"未排序清單",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}}};function h_(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!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:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m_,g_,v_,b_={};var y_,x_=function(){if(v_)return g_;v_=1;const e=function(){if(m_)return b_;m_=1;var e=Se(),t=re(),n=C();function r(e,n){return e.getEditorState().read((()=>{let e=t.$getNodeByKey(n);return null!==e&&e.isSelected()}))}return b_.useLexicalNodeSelection=function(o){let[i]=e.useLexicalComposerContext(),[l,a]=n.useState((()=>r(i,o)));n.useEffect((()=>{let e=!0,t=i.registerUpdateListener((()=>{e&&a(r(i,o))}));return()=>{e=!1,t()}}),[i,o]);let s=n.useCallback((e=>{i.update((()=>{let n=t.$getSelection();t.$isNodeSelection(n)||(n=t.$createNodeSelection(),t.$setSelection(n)),e?n.add(o):n.delete(o)}))}),[i,o]),u=n.useCallback((()=>{i.update((()=>{const e=t.$getSelection();t.$isNodeSelection(e)&&e.clear()}))}),[i]);return[l,s,u]},b_}();return g_=e}(),__={};var E_=function(){if(y_)return __;y_=1;var e={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},t=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,n=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,r=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,o=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,i=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,l=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,a=Math.floor,s=Math.round,u=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n,r,o,i,l,u,c,d,f,p,h,m,g=0,v=0,b=0,y=1;if(this._invalid=!1,arguments[0]instanceof t)g=arguments[0]._r,v=arguments[0]._g,b=arguments[0]._b,y=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(h=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m=arguments[0]))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10);else if(h=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m))y=parseFloat(s(h[1]/2.55)/100),g=parseInt(h[2],10),v=parseInt(h[3],10),b=parseInt(h[4],10);else if(h=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(m))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10),y=parseFloat(h[4]);else if(h=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(m))g=parseInt(h[1],16),v=parseInt(h[2],16),b=parseInt(h[3],16),y=1;else if(h=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(m))g=parseInt(h[1]+h[1],16),v=parseInt(h[2]+h[2],16),b=parseInt(h[3]+h[3],16),y=1;else if(h=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else if(h=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),y=parseFloat(h[7]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b)}else if(h=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),l=parseFloat(h[5]),c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(l=(l/=100)<0?0:l>1?1:l)*(r=(r/=100)<0?0:r>1?1:r))*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=l-u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else e[m.toLowerCase()]?(o=m.toLowerCase(),g=e[o].r,v=e[o].g,b=e[o].b,y="number"==typeof e[o].a?e[o].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(y=(4278190080&arguments[0])>>>24,y/=255,g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(g=arguments[0],v=arguments[1],b=arguments[2],y=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+g+v+b+y)&&(this._invalid=!0),this._r=a(g),this._g=a(v),this._b=a(b),this._a=y,this._spaces={}}var n,r;return n=t,(r=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=t.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=t.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(e){return this._spaces.hsl||(this._spaces.hsl=t.toHSL(this,e)),this._spaces.hsl}},{key:"toHSLA",value:function(e){return this._spaces.hsla||(this._spaces.hsla=t.toHSLA(this,e)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=t.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=t.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),l=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(l,")")}},{key:"isEqual",value:function(e){return e instanceof t||(e=new t(e)),this._r===e._r&&this._g===e._g&&this._b===e._b}},{key:"blend",value:function(e,t){var n=a(this._r+(e._r-this._r)*t),r=a(this._g+(e._g-this._g)*t),o=a(this._b+(e._b-this._b)*t),i=a(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(e){(void 0===e||Number.isNaN(+e))&&(e=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new t(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*e))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==typeof(o=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o),r)}var o}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}();return u.toRGB=function(e){if(e instanceof u)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},u.toRGBA=function(e,t){if(e instanceof u)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},u.toHex=function(e){var t,n,r;return e instanceof u?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=u.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},u.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var l=e._r/255,a=e._g/255,s=e._b/255,c=Math.max(l,a,s),d=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},u.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var l=e._r/255,a=e._g/255,s=e._b/255,c=e._a,d=Math.max(l,a,s),f=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(d+f)/2,d===f)n=0,i=0;else{switch(o=d-f,n=r>.5?o/(2-d-f):o/(d+f),d){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(c,")")},u.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new u(e));var o=e._r/255,i=e._g/255,l=e._b/255,a=Math.max(o,i,l),s=Math.min(o,i,l),c=a;if(a===s)t=0,r=0;else{switch(t=0==(n=a-s)?0:n/c,a){case o:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-o)/n+2;break;case l:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*c}},u.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof u)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},u.blend=function(e,t,n){var r=(16711680&(e=u.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=u.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},u.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,l=e._a+(t._a-e._a)*n;return new u(r,o,i,l)},u.isCSSColor=function(a){return!(arguments.length>1||"string"!=typeof a)&&(t.test(a)||n.test(a)||r.test(a)||o.test(a)||i.test(a)||l.test(a)||e[a.toLowerCase()])},u.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},u.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},u.isDark=function(){var e={getLuminance:u.prototype.getLuminance,isInvalid:u.prototype.isInvalid};return u.prototype.init.apply(e,[].slice.call(arguments)),u.prototype.isDark.call(e)},u.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},__.Color=u,__}();async function w_(e,t){!async function(e,t){try{if(e&&t){const n=t(await e.getProperties());await e.setProperties(n)}}catch(e){console.error(e)}}(e,(e=>{const{qHyperCubeDef:n}=e;if(n){var r;const e=null===(r=n.qMeasures)||void 0===r?void 0:r.filter((e=>!(null==t?void 0:t.find((t=>{var n;return t===(null==e||null===(n=e.qDef)||void 0===n?void 0:n.cId)})))));n.qMeasures=e,n.qInterColumnSortOrder=[]}return{...e,qHyperCubeDef:n}}))}function C_(e){return{fontWeight:e.fontWeight,fontStyle:e.fontStyle,textDecoration:e.textDecoration,color:e.color,fontSize:e.fontSize,fontFamily:e.fontFamily}}function S_(e,t){return null==t?void 0:t.getNodes().some((t=>t.getKey()===e))}var k_,T_;var N_=function(){if(T_)return k_;T_=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},k_=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,l,a;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),l=1;l<o;l++)i[l-1]=arguments[l];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),l=1;l<o;l++)i[l-1]=arguments[l];for(o=(a=r.slice()).length,l=0;l<o;l++)a[l].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,l;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(l=i;l-- >0;)if(r[l]===n||r[l].listener&&r[l].listener===n){o=l;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},k_}();let R_=[];const A_=new N_.EventEmitter;A_.isSelected=e=>{var t;const n=null==e||null===(t=e.qDef)||void 0===t?void 0:t.cId;return-1!==R_.indexOf(n)},A_.setSelected=e=>{R_!==e&&(R_=e,A_.emit("change"))};function O_({cId:e,initStyle:t,nodeKey:n}){const{layout:r,theme:o,flags:i}=D.useContext(F),[l]=Ct.useLexicalComposerContext(),a=Tt(),[s,u,c]=x_.useLexicalNodeSelection(n),d=D.useRef(null),[f,p]=D.useState(t);D.useEffect((()=>{p(t)}),[t]);const h=D.useMemo((()=>{let e;return s?e="rgba(0, 152, 69, 0.25)":a&&(e="rgba(0, 0, 0, 0.075)"),{backgroundColor:e}}),[s,a]),m=D.useMemo((()=>r&&o?function(e,t){const{qHyperCube:n}=t;if(n){var r;const t=null===(r=n.qMeasureInfo)||void 0===r?void 0:r.findIndex((t=>t.cId===e));if(void 0!==t&&-1!==t){var o,i;const e=null==n||null===(o=n.qDataPages)||void 0===o||null===(o=o[0])||void 0===o||null===(o=o.qMatrix)||void 0===o?void 0:o[0][t];if(1===(null==e||null===(i=e.qAttrExps)||void 0===i||null===(i=i.qValues)||void 0===i?void 0:i.length)){var l;const t=null===(l=e.qAttrExps.qValues[0])||void 0===l?void 0:l.qText;if(t){const n=new E_.Color(t);return{value:(null==e?void 0:e.qText)||"",expressionColor:n.toHex()}}}return{value:(null==e?void 0:e.qText)||""}}}return{value:""}}(e,r):{value:""}),[r]);D.useEffect((()=>Nt.mergeRegister(l.registerCommand(Rt.FORMAT_TEXT_COMMAND,(e=>(l.update((()=>{const t=e,r=Rt.$getSelection();if(Rt.$isRangeSelection(r)&&s){if(S_(n,r)){const e=((e,t)=>{const n={};switch(e){case"bold":n.fontWeight=t;break;case"italic":n.fontStyle=t;break;case"underline":n.textDecoration=t}return n})(t,r.hasFormat(t)?t:"");p((t=>({...t,...e})))}}else if(s&&Rt.$isNodeSelection(r)&&S_(n,r)&&d.current){const e=C_(d.current.style);p(((e,t)=>{const n={};switch(e){case"bold":t.fontWeight?"bold"===t.fontWeight&&(n.fontWeight=""):n.fontWeight="bold";break;case"italic":n.fontStyle="italic"===t.fontStyle?"":"italic";break;case"underline":n.textDecoration="underline"===t.textDecoration?"":"underline"}return{...t,...n}})(t,e))}})),!1)),Rt.COMMAND_PRIORITY_HIGH),l.registerCommand(sx,(e=>(l.getEditorState().read((()=>{if("color"===e.styleKey&&m.expressionColor)return!1;if(d.current&&s){const r=Rt.$getSelection();if(S_(n,r)){var t;const n=C_(null===(t=d.current)||void 0===t?void 0:t.style);n[e.styleKey]=e.styleValue,p(n)}}})),!1)),Rt.COMMAND_PRIORITY_EDITOR),l.registerCommand(ux,(()=>(l.getEditorState().read((()=>{if(d.current&&s){const e=Rt.$getSelection();if(S_(n,e)){const e={};m.expressionColor&&(e.color=m.expressionColor),p(e)}}})),!1)),Rt.COMMAND_PRIORITY_EDITOR))),[l,u,c,s,n,m]),D.useEffect((()=>{a||(c(),null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&A_.setSelected([]))}),[a,c]),D.useEffect((()=>{l.update((()=>{!function(e,t){const n=Rt.$getNodeByKey(e);var r;n&&(null===(r=n.setFormatStyle)||void 0===r||r.call(n,t))}(n,f)}))}),[f,l]);const g=D.useCallback((e=>{if(a){const t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.left;r>3?(e.preventDefault(),e.stopPropagation(),c(),u(!0),null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&l.update((()=>{const e=[],t=Rt.$getSelection(),n=null==t?void 0:t.getNodes();null==n||n.forEach((t=>{null!=t&&t.getExpressionId&&e.push(null==t?void 0:t.getExpressionId())})),A_.setSelected(e)}))):r<t.width&&l.update((()=>{const e=Rt.$getSelection();if(Rt.$isNodeSelection(e)){const t=Rt.$getNodeByKey(n);null==t||t.selectPrevious(),e.delete(n)}}))}}),[c,a,l]);return z.createElement("span",{style:{...h,...f,color:m.expressionColor?m.expressionColor:f.color},onClick:g,ref:d,id:e},m.value)}const L_="qlik.expression.node";class M_ extends Cy{static getType(){return L_}static clone(e){return new M_(e.__expressionId,e.__formatStyle,e.__key)}static importJSON(e){const t=function(e,t){return new M_(e,t)}(e.expressionId,e.formatStyle);return t}getExpressionId(){return this.__expressionId}exportJSON(){return{expressionId:this.getExpressionId(),formatStyle:this.__formatStyle,type:L_,version:1}}setExported(){this.getWritable().__exported=!0}constructor(e,t,n){super(t,n),h_(this,"__expressionId",void 0),this.__expressionId=e}createDOM(){return document.createElement("span")}exportDOM(e){return super.exportDOM(e)}updateDOM(){return!1}decorate(){return z.createElement(O_,{cId:this.__expressionId,initStyle:this.__formatStyle,nodeKey:this.__key})}isInline(){return!0}isKeyboardSelectable(){return!0}}function P_(e){return e instanceof M_}function I_(){const[e]=Ct.useLexicalComposerContext(),t=Tt(),{edit:n,model:r,emitter:o}=D.useContext(F);return D.useEffect((()=>{const t=()=>{r&&async function(e,t){try{const n=await t.getProperties();n.text=JSON.stringify(e),await t.setProperties(n)}catch(e){console.error(e)}}(e.getEditorState().toJSON(),r)},n=t=>{const n=e.parseEditorState(t);t!==JSON.stringify(e.getEditorState().toJSON())&&e.setEditorState(n)};return null==o||o.on("saveDocument",t),null==o||o.on("reloadData",n),()=>{null==o||o.removeListener("saveDocument",t),null==o||o.removeListener("reloadData",n)}}),[o,r]),D.useEffect((()=>{e.setEditable(n)}),[n]),D.useEffect((()=>{t&&e.focus()}),[t,e]),null}class D_{constructor(){h_(this,"nodeStore",void 0),h_(this,"pendingDeletes",void 0),this.nodeStore=new Map,this.pendingDeletes=[]}update(e,t){if("updated"===t||"created"===t){const n=Rt.$getNodeByKey(e);if(P_(n)&&(this.nodeStore.set(e,n),"created"===t)){const e=this.pendingDeletes.findIndex((e=>n.getExpressionId()===e));-1!==e&&this.pendingDeletes.splice(e,1)}}else if("destroyed"===t){const t=this.nodeStore.get(e);t&&(this.pendingDeletes.push(t.getExpressionId()),this.nodeStore.delete(e))}}sync(){const e=this.pendingDeletes;return this.pendingDeletes=[],e}}function z_(){let e;const{layout:t,readyToPrint:n}=D.useContext(F),[r]=Ct.useLexicalComposerContext();D.useEffect((()=>(e=r.registerUpdateListener((({dirtyElements:r,dirtyLeaves:o,prevEditorState:i})=>{0===r.size&&0===o.size||i.isEmpty()||(()=>{const r=null==n?void 0:n.findIndex((e=>e.id===t.qInfo.qId));r>-1&&(n[r].resolve(),n.splice(r,1),e())})()})),()=>{e()})),[])}function $_(){const{layout:e,emitter:t}=D.useContext(F),[n]=Ct.useLexicalComposerContext(),r=D.useRef(new D_),o=Tt();return z_(),D.useEffect((()=>{const e=n.registerMutationListener(M_,(e=>{n.getEditorState().read((()=>{for(const[t,n]of e)r.current.update(t,n)}))}));return()=>{e()}}),[n]),D.useEffect((()=>{e&&n.update((()=>{var t;const n=null===(t=e.qHyperCube)||void 0===t?void 0:t.qMeasureInfo;if(n){const e=Rt.$nodesOfType(M_),t=((e,t)=>{const n=e.reduce(((e,n)=>{const r=t.find((e=>e.cId===n.getExpressionId()));return r||e.push(n),e}),[]);return n})(e,n);if(t.forEach((e=>{e.remove()})),n.length>e.length){const e=Rt.$getSelection(),{cId:t}=n[n.length-1],r=new M_(t,{}),o=Rt.$createTextNode(" "),i=Rt.$createTextNode("");Rt.$isRangeSelection(e)?e.insertNodes([i,r,o]):Nt.$insertNodeToNearestRoot(r)}}}))}),[e,n]),D.useEffect((()=>n.registerCommand(Rt.KEY_DOWN_COMMAND,(e=>("Backspace"===e.key&&n.update((()=>{const e=Rt.$getSelection();Rt.$isNodeSelection(e)&&e.getNodes().forEach((e=>{P_(e)&&(e.selectPrevious(),e.remove())}))})),!1)),Rt.COMMAND_PRIORITY_LOW)),[n]),D.useEffect((()=>{if(!o){const e=r.current.sync();e.length>0&&(null==t||t.emit("onNodeDestroyed",e))}}),[o,t]),null}const F_=/"/g;function B_(){const{model:e,emitter:t}=D.useContext(F),[n]=Ct.useLexicalComposerContext(),r=D.useRef(new Map);return D.useEffect((()=>{const o=n.registerMutationListener(Rt.TextNode,(e=>{e.forEach(((e,t)=>{if("destroyed"===e)r.current.delete(t);else{var o;const e=null===(o=n.getElementByKey(t))||void 0===o?void 0:o.style.fontFamily;e&&r.current.set(t,e)}}))}));async function i(){if(e){!async function(e,t){try{const n=await t.getProperties();n.fontsUsed=e,await t.setProperties(n)}catch(e){console.error(e)}}(Array.from(new Set(r.current.values())).map((e=>e.replace(F_,""))),e)}}return null==t||t.on("saveDocument",i),()=>{null==t||t.removeListener("saveDocument",i),o()}}),[n]),null}var H_=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],j_=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var W_=Object.prototype.hasOwnProperty,K_=Object.prototype.toString,U_=Object.defineProperty,G_=Object.getOwnPropertyDescriptor,Y_=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===K_.call(e)},V_=function(e){if(!e||"[object Object]"!==K_.call(e))return!1;var t,n=W_.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&W_.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||W_.call(e,t)},Q_=function(e,t){U_&&"__proto__"===t.name?U_(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},q_=function(e,t){if("__proto__"===t){if(!W_.call(e,t))return;if(G_)return G_(e,t).value}return e[t]};function X_(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function J_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Z_(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}((function e(){var t,n,r,o,i,l,a=arguments[0],s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},s=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});s<u;++s)if(null!=(t=arguments[s]))for(n in t)r=q_(a,n),a!==(o=q_(t,n))&&(c&&o&&(V_(o)||(i=Y_(o)))?(i?(i=!1,l=r&&Y_(r)?r:[]):l=r&&V_(r)?r:{},Q_(a,{name:n,newValue:e(c,l,o)})):void 0!==o&&Q_(a,{name:n,newValue:o}));return a}));var eE=1/.7,tE="\\s*([+-]?\\d+)\\s*",nE="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",rE="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",oE=/^#([0-9a-f]{3,8})$/,iE=new RegExp(`^rgb\\(${tE},${tE},${tE}\\)$`),lE=new RegExp(`^rgb\\(${rE},${rE},${rE}\\)$`),aE=new RegExp(`^rgba\\(${tE},${tE},${tE},${nE}\\)$`),sE=new RegExp(`^rgba\\(${rE},${rE},${rE},${nE}\\)$`),uE=new RegExp(`^hsl\\(${nE},${rE},${rE}\\)$`),cE=new RegExp(`^hsla\\(${nE},${rE},${rE},${nE}\\)$`),dE={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 fE(){return this.rgb().formatHex()}function pE(){return this.rgb().formatRgb()}function hE(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=oE.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?mE(t):3===n?new yE(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?gE(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?gE(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=iE.exec(e))?new yE(t[1],t[2],t[3],1):(t=lE.exec(e))?new yE(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=aE.exec(e))?gE(t[1],t[2],t[3],t[4]):(t=sE.exec(e))?gE(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=uE.exec(e))?SE(t[1],t[2]/100,t[3]/100,1):(t=cE.exec(e))?SE(t[1],t[2]/100,t[3]/100,t[4]):dE.hasOwnProperty(e)?mE(dE[e]):"transparent"===e?new yE(NaN,NaN,NaN,0):null}function mE(e){return new yE(e>>16&255,e>>8&255,255&e,1)}function gE(e,t,n,r){return r<=0&&(e=t=n=NaN),new yE(e,t,n,r)}function vE(e){return e instanceof Z_||(e=hE(e)),e?new yE((e=e.rgb()).r,e.g,e.b,e.opacity):new yE}function bE(e,t,n,r){return 1===arguments.length?vE(e):new yE(e,t,n,null==r?1:r)}function yE(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function xE(){return`#${CE(this.r)}${CE(this.g)}${CE(this.b)}`}function _E(){const e=EE(this.opacity);return`${1===e?"rgb(":"rgba("}${wE(this.r)}, ${wE(this.g)}, ${wE(this.b)}${1===e?")":`, ${e})`}`}function EE(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function wE(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function CE(e){return((e=wE(e))<16?"0":"")+e.toString(16)}function SE(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 kE(e){if(e instanceof TE)return new TE(e.h,e.s,e.l,e.opacity);if(e instanceof Z_||(e=hE(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),l=NaN,a=i-o,s=(i+o)/2;return a?(l=t===i?(n-r)/a+6*(n<r):n===i?(r-t)/a+2:(t-n)/a+4,a/=s<.5?i+o:2-i-o,l*=60):a=s>0&&s<1?0:l,new TE(l,a,s,e.opacity)}function TE(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function NE(e){return(e=(e||0)%360)<0?e+360:e}function RE(e){return Math.max(0,Math.min(1,e||0))}function AE(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}X_(Z_,hE,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:fE,formatHex:fE,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return kE(this).formatHsl()},formatRgb:pE,toString:pE}),X_(yE,bE,J_(Z_,{brighter(e){return e=null==e?eE:Math.pow(eE,e),new yE(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new yE(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new yE(wE(this.r),wE(this.g),wE(this.b),EE(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:xE,formatHex:xE,formatHex8:function(){return`#${CE(this.r)}${CE(this.g)}${CE(this.b)}${CE(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:_E,toString:_E})),X_(TE,(function(e,t,n,r){return 1===arguments.length?kE(e):new TE(e,t,n,null==r?1:r)}),J_(Z_,{brighter(e){return e=null==e?eE:Math.pow(eE,e),new TE(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,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 yE(AE(e>=240?e-240:e+120,o,r),AE(e,o,r),AE(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new TE(NE(this.h),RE(this.s),RE(this.l),EE(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=EE(this.opacity);return`${1===e?"hsl(":"hsla("}${NE(this.h)}, ${100*RE(this.s)}%, ${100*RE(this.l)}%${1===e?")":`, ${e})`}`}}));const OE=Math.PI/180,LE=180/Math.PI,ME=4/29,PE=6/29,IE=3*PE*PE;function DE(e){if(e instanceof zE)return new zE(e.l,e.a,e.b,e.opacity);if(e instanceof jE)return WE(e);e instanceof yE||(e=vE(e));var t,n,r=HE(e.r),o=HE(e.g),i=HE(e.b),l=$E((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=l:(t=$E((.4360747*r+.3850649*o+.1430804*i)/.96422),n=$E((.0139322*r+.0971045*o+.7141733*i)/.82521)),new zE(116*l-16,500*(t-l),200*(l-n),e.opacity)}function zE(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function $E(e){return e>.008856451679035631?Math.pow(e,1/3):e/IE+ME}function FE(e){return e>PE?e*e*e:IE*(e-ME)}function BE(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function HE(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function jE(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function WE(e){if(isNaN(e.h))return new zE(e.l,0,0,e.opacity);var t=e.h*OE;return new zE(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}X_(zE,(function(e,t,n,r){return 1===arguments.length?DE(e):new zE(e,t,n,null==r?1:r)}),J_(Z_,{brighter(e){return new zE(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new zE(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new yE(BE(3.1338561*(t=.96422*FE(t))-1.6168667*(e=1*FE(e))-.4906146*(n=.82521*FE(n))),BE(-.9787684*t+1.9161415*e+.033454*n),BE(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),X_(jE,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof jE)return new jE(e.h,e.c,e.l,e.opacity);if(e instanceof zE||(e=DE(e)),0===e.a&&0===e.b)return new jE(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*LE;return new jE(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new jE(e,t,n,null==r?1:r)}),J_(Z_,{brighter(e){return new jE(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new jE(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return WE(this).rgb()}}));var KE,UE=e=>()=>e;function GE(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):UE(isNaN(e)?t:e)}function YE(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function VE(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=qE)):void 0===t&&(t=QE);for(var n,r,o,i,l,a=new ZE(e),s=[a];n=s.pop();)if((o=t(n.data))&&(l=(o=Array.from(o)).length))for(n.children=o,i=l-1;i>=0;--i)s.push(r=o[i]=new ZE(o[i])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(JE)}function QE(e){return e.children}function qE(e){return Array.isArray(e)?e[1]:null}function XE(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function JE(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function ZE(e){this.data=e,this.depth=this.height=0,this.parent=null}!function e(t){var n=function(e){return 1==(e=+e)?GE:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):UE(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=bE(e)).r,(t=bE(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),l=GE(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=l(t),e+""}}return r.gamma=e,r}(1),ZE.prototype=VE.prototype={constructor:ZE,count:function(){return this.eachAfter(YE)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,l=[i],a=[],s=-1;i=l.pop();)if(a.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)l.push(n[r]);for(;i=a.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],l=-1;o=i.pop();)if(e.call(t,o,++l,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return VE(this).eachBefore(XE)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},KE=function(e){
|
|
96
|
+
`),Eu.rippleVisible,Ru,550,(({theme:e})=>e.transitions.easing.easeInOut),Eu.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Eu.child,Eu.childLeaving,Au,550,(({theme:e})=>e.transitions.easing.easeInOut),Eu.childPulsate,Ou,(({theme:e})=>e.transitions.easing.easeInOut)),Pu=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,l=Vn(n,wu),[a,s]=D.useState([]),u=D.useRef(0),c=D.useRef(null);D.useEffect((()=>{c.current&&(c.current(),c.current=null)}),[a]);const d=D.useRef(!1),f=D.useRef(null),p=D.useRef(null),h=D.useRef(null);D.useEffect((()=>()=>{clearTimeout(f.current)}),[]);const m=D.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:l}=e;s((e=>[...e,Wo.jsx(Mu,{classes:{ripple:pa(o.ripple,Eu.ripple),rippleVisible:pa(o.rippleVisible,Eu.rippleVisible),ripplePulsate:pa(o.ripplePulsate,Eu.ripplePulsate),child:pa(o.child,Eu.child),childLeaving:pa(o.childLeaving,Eu.childLeaving),childPulsate:pa(o.childPulsate,Eu.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)])),u.current+=1,c.current=l}),[o]),g=D.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:l=!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 a=l?null:h.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,g;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=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((a?a.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;g=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===p.current&&(p.current=()=>{m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})},f.current=setTimeout((()=>{p.current&&(p.current(),p.current=null)}),80)):m({pulsate:o,rippleX:u,rippleY:c,rippleSize:g,cb:n})}),[r,m]),v=D.useCallback((()=>{g({},{pulsate:!0})}),[g]),b=D.useCallback(((e,t)=>{if(clearTimeout(f.current),"touchend"===(null==e?void 0:e.type)&&p.current)return p.current(),p.current=null,void(f.current=setTimeout((()=>{b(e,t)})));p.current=null,s((e=>e.length>0?e.slice(1):e)),c.current=t}),[]);return D.useImperativeHandle(t,(()=>({pulsate:v,start:g,stop:b})),[v,g,b]),Wo.jsx(Lu,fn({className:pa(Eu.root,o.root,i),ref:h},l,{children:Wo.jsx(gu,{component:null,exit:!0,children:a})}))}));function Iu(e){return Gn("MuiButtonBase",e)}const Du=Yn("MuiButtonBase",["root","disabled","focusVisible"]),zu=["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"],$u=sa("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"},[`&.${Du.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fu=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:l,component:a="button",disabled:s=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:d=!1,LinkComponent:f="a",onBlur:p,onClick:h,onContextMenu:m,onDragLeave:g,onFocus:v,onFocusVisible:b,onKeyDown:y,onKeyUp:x,onMouseDown:_,onMouseLeave:E,onMouseUp:w,onTouchEnd:C,onTouchMove:S,onTouchStart:k,tabIndex:T=0,TouchRippleProps:N,touchRippleRef:R,type:A}=n,O=Vn(n,zu),L=D.useRef(null),M=D.useRef(null),P=An(M,R),{isFocusVisibleRef:I,onFocus:z,onBlur:$,ref:F}=Bn(),[B,H]=D.useState(!1);s&&B&&H(!1),D.useImperativeHandle(r,(()=>({focusVisible:()=>{H(!0),L.current.focus()}})),[]);const[j,W]=D.useState(!1);D.useEffect((()=>{W(!0)}),[]);const K=j&&!u&&!s;function U(e,t,n=c){return Rn((r=>{t&&t(r);return!n&&M.current&&M.current[e](r),!0}))}D.useEffect((()=>{B&&d&&!u&&j&&M.current.pulsate()}),[u,d,B,j]);const G=U("start",_),Y=U("stop",m),V=U("stop",g),Q=U("stop",w),q=U("stop",(e=>{B&&e.preventDefault(),E&&E(e)})),X=U("start",k),J=U("stop",C),Z=U("stop",S),ee=U("stop",(e=>{$(e),!1===I.current&&H(!1),p&&p(e)}),!1),te=Rn((e=>{L.current||(L.current=e.currentTarget),z(e),!0===I.current&&(H(!0),b&&b(e)),v&&v(e)})),ne=()=>{const e=L.current;return a&&"button"!==a&&!("A"===e.tagName&&e.href)},re=D.useRef(!1),oe=Rn((e=>{d&&!re.current&&B&&M.current&&" "===e.key&&(re.current=!0,M.current.stop(e,(()=>{M.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=Rn((e=>{d&&" "===e.key&&M.current&&B&&!e.defaultPrevented&&(re.current=!1,M.current.stop(e,(()=>{M.current.pulsate(e)}))),x&&x(e),h&&e.target===e.currentTarget&&ne()&&" "===e.key&&!e.defaultPrevented&&h(e)}));let le=a;"button"===le&&(O.href||O.to)&&(le=f);const ae={};"button"===le?(ae.type=void 0===A?"button":A,ae.disabled=s):(O.href||O.to||(ae.role="button"),s&&(ae["aria-disabled"]=s));const se=An(t,F,L),ue=fn({},n,{centerRipple:o,component:a,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:d,tabIndex:T,focusVisible:B}),ce=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=jn({root:["root",t&&"disabled",n&&"focusVisible"]},Iu,o);return n&&r&&(i.root+=` ${r}`),i})(ue);return Wo.jsxs($u,fn({as:le,className:pa(ce.root,l),ownerState:ue,onBlur:ee,onClick:h,onContextMenu:Y,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:G,onMouseLeave:q,onMouseUp:Q,onDragLeave:V,onTouchEnd:J,onTouchMove:Z,onTouchStart:X,ref:se,tabIndex:s?-1:T,type:A},ae,O,{children:[i,K?Wo.jsx(Pu,fn({ref:P,center:o},N)):null]}))}));function Bu(e){return Gn("MuiIconButton",e)}const Hu=Yn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ju=["edge","children","className","color","disabled","disableFocusRipple","size"],Wu=sa(Fu,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${_n(n.color)}`],n.edge&&t[`edge${_n(n.edge)}`],t[`size${_n(n.size)}`]]}})((({theme:e,ownerState:t})=>fn({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})`:yl(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 fn({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&fn({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":fn({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yl(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)},{[`&.${Hu.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Ku=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:l="default",disabled:a=!1,disableFocusRipple:s=!1,size:u="medium"}=n,c=Vn(n,ju),d=fn({},n,{edge:r,color:l,disabled:a,disableFocusRipple:s,size:u}),f=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e;return jn({root:["root",n&&"disabled","default"!==r&&`color${_n(r)}`,o&&`edge${_n(o)}`,`size${_n(i)}`]},Bu,t)})(d);return Wo.jsx(Wu,fn({className:pa(f.root,i),centerRipple:!0,focusRipple:!s,disabled:a,ref:t,ownerState:d},c,{children:o}))}));function Uu(e){return Gn("MuiTypography",e)}Yn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Gu=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Yu=sa("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${_n(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>fn({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}))),Vu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Qu={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},qu=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiTypography"}),r=(e=>Qu[e]||e)(n.color),o=tl(fn({},n,{color:r})),{align:i="inherit",className:l,component:a,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:d="body1",variantMapping:f=Vu}=o,p=Vn(o,Gu),h=fn({},o,{align:i,color:r,className:l,component:a,gutterBottom:s,noWrap:u,paragraph:c,variant:d,variantMapping:f}),m=a||(c?"p":f[d]||Vu[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:l}=e;return jn({root:["root",i,"inherit"!==e.align&&`align${_n(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},Uu,l)})(h);return Wo.jsx(Yu,fn({as:m,ref:t,ownerState:h,className:pa(g.root,l)},p))})),Xu=["components","componentsProps","slots","slotProps"],Ju=sa(Qs,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Zu=D.forwardRef((function(e,t){var n;const r=qi(),o=la({props:e,name:"MuiPopper"}),{components:i,componentsProps:l,slots:a,slotProps:s}=o,u=Vn(o,Xu),c=null!=(n=null==a?void 0:a.root)?n:null==i?void 0:i.Root;return Wo.jsx(Ju,fn({direction:null==r?void 0:r.direction,slots:{root:c},slotProps:null!=s?s:l},u,{ref:t}))}));const ec=D.createContext(void 0);function tc(e){return Wo.jsx(Zi,fn({},e,{defaultTheme:oa,themeId:Xn}))}function nc(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function rc(e){return Gn("MuiInputBase",e)}const oc=Yn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),ic=["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"],lc=sa("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(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${_n(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>fn({},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",[`&.${oc.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&fn({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),ac=sa("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(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]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=fn({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 fn({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] + .${oc.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},[`&.${oc.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"})})),sc=Wo.jsx(tc,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),uc=D.forwardRef((function(e,t){var n;const r=la({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:l,className:a,components:s={},componentsProps:u={},defaultValue:c,disabled:d,disableInjectingGlobalStyles:f,endAdornment:p,fullWidth:h=!1,id:m,inputComponent:g="input",inputProps:v={},inputRef:b,maxRows:y,minRows:x,multiline:_=!1,name:E,onBlur:w,onChange:C,onClick:S,onFocus:k,onKeyDown:T,onKeyUp:N,placeholder:R,readOnly:A,renderSuffix:O,rows:L,slotProps:M={},slots:P={},startAdornment:I,type:z="text",value:$}=r,F=Vn(r,ic),B=null!=v.value?v.value:$,{current:H}=D.useRef(null!=B),j=D.useRef(),W=D.useCallback((e=>{}),[]),K=An(j,b,v.ref,W),[U,G]=D.useState(!1),Y=D.useContext(ec),V=function({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)),{})}({props:r,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});V.focused=Y?Y.focused:U,D.useEffect((()=>{!Y&&d&&U&&(G(!1),w&&w())}),[Y,d,U,w]);const Q=Y&&Y.onFilled,q=Y&&Y.onEmpty,X=D.useCallback((e=>{!function(e,t=!1){return e&&(nc(e.value)&&""!==e.value||t&&nc(e.defaultValue)&&""!==e.defaultValue)}(e)?q&&q():Q&&Q()}),[Q,q]);Sn((()=>{H&&X({value:B})}),[B,X,H]);D.useEffect((()=>{X(j.current)}),[]);let J=g,Z=v;_&&"input"===J&&(Z=fn(L?{type:void 0,minRows:L,maxRows:L}:{type:void 0,maxRows:y,minRows:x},Z),J=eu);D.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(I))}),[Y,I]);const ee=fn({},r,{color:V.color||"primary",disabled:V.disabled,endAdornment:p,error:V.error,focused:V.focused,formControl:Y,fullWidth:h,hiddenLabel:V.hiddenLabel,multiline:_,size:V.size,startAdornment:I,type:z}),te=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:l,formControl:a,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e;return jn({root:["root",`color${_n(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",l&&"focused",a&&"formControl","small"===f&&"sizeSmall",c&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},rc,t)})(ee),ne=P.root||s.Root||lc,re=M.root||u.root||{},oe=P.input||s.Input||ac;return Z=fn({},Z,null!=(n=M.input)?n:u.input),Wo.jsxs(D.Fragment,{children:[!f&&sc,Wo.jsxs(ne,fn({},re,!ha(ne)&&{ownerState:fn({},ee,re.ownerState)},{ref:t,onClick:e=>{j.current&&e.currentTarget===e.target&&j.current.focus(),S&&S(e)}},F,{className:pa(te.root,re.className,a,A&&"MuiInputBase-readOnly"),children:[I,Wo.jsx(ec.Provider,{value:null,children:Wo.jsx(oe,fn({ownerState:ee,"aria-invalid":V.error,"aria-describedby":o,autoComplete:i,autoFocus:l,defaultValue:c,disabled:V.disabled,id:m,onAnimationStart:e=>{X("mui-auto-fill-cancel"===e.animationName?j.current:{value:"x"})},name:E,placeholder:R,readOnly:A,required:V.required,rows:L,value:B,onKeyDown:T,onKeyUp:N,type:z},Z,!ha(oe)&&{as:J,ownerState:fn({},ee,Z.ownerState)},{ref:K,className:pa(te.input,Z.className,A&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),v.onBlur&&v.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):G(!1)},onChange:(e,...t)=>{if(!H){const t=e.target||j.current;if(null==t)throw new Error(gn(1));X({value:t.value})}v.onChange&&v.onChange(e,...t),C&&C(e,...t)},onFocus:e=>{V.disabled?e.stopPropagation():(k&&k(e),v.onFocus&&v.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):G(!0))}}))}),p,O?O(fn({},V,{startAdornment:I})):null]}))]})})),cc=ra(),dc=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Uo("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Gi);return D.forwardRef((function(e,l){const a=Ji(n),s=tl(e),{className:u,component:c="div"}=s,d=Vn(s,nl);return Wo.jsx(i,fn({as:c,ref:l,className:qn(u,o?o(r):r),theme:t&&a[t]||a},d))}))}({themeId:Xn,defaultTheme:cc,defaultClassName:"MuiBox-root",generateClassName:Kn.generate});function fc(e){return Gn("MuiButton",e)}const pc=Yn("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"]),hc=D.createContext({}),mc=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],gc=e=>fn({},"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}}),vc=sa(Fu,{shouldForwardProp:e=>aa(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_n(n.color)}`],t[`size${_n(n.size)}`],t[`${n.variant}Size${_n(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 fn({},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":fn({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:yl(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})`:yl(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})`:yl(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":fn({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${pc.focusVisible}`]:fn({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${pc.disabled}`]:fn({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 ${yl(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"},[`&.${pc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${pc.disabled}`]:{boxShadow:"none"}})),bc=sa("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${_n(n.size)}`]]}})((({ownerState:e})=>fn({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},gc(e)))),yc=sa("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${_n(n.size)}`]]}})((({ownerState:e})=>fn({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},gc(e)))),xc=D.forwardRef((function(e,t){const n=D.useContext(hc),r=la({props:Hn(n,e),name:"MuiButton"}),{children:o,color:i="primary",component:l="button",className:a,disabled:s=!1,disableElevation:u=!1,disableFocusRipple:c=!1,endIcon:d,focusVisibleClassName:f,fullWidth:p=!1,size:h="medium",startIcon:m,type:g,variant:v="text"}=r,b=Vn(r,mc),y=fn({},r,{color:i,component:l,disabled:s,disableElevation:u,disableFocusRipple:c,fullWidth:p,size:h,type:g,variant:v}),x=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e;return fn({},l,jn({root:["root",i,`${i}${_n(t)}`,`size${_n(o)}`,`${i}Size${_n(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${_n(o)}`],endIcon:["endIcon",`iconSize${_n(o)}`]},fc,l))})(y),_=m&&Wo.jsx(bc,{className:x.startIcon,ownerState:y,children:m}),E=d&&Wo.jsx(yc,{className:x.endIcon,ownerState:y,children:d});return Wo.jsxs(vc,fn({ownerState:y,className:pa(n.className,x.root,a),component:l,disabled:s,focusRipple:!c,focusVisibleClassName:pa(x.focusVisible,f),ref:t,type:g},b,{classes:x,children:[_,o,E]}))}));function _c(e){return Gn("MuiDivider",e)}const Ec=Yn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),wc=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Cc=sa("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})=>fn({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)`:yl(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({theme:e,ownerState:t})=>fn({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}})),(({theme:e,ownerState:t})=>fn({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}})),(({ownerState:e})=>fn({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Sc=sa("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>fn({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)`}))),kc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:l=(o?"div":"hr"),flexItem:a=!1,light:s=!1,orientation:u="horizontal",role:c=("hr"!==l?"separator":void 0),textAlign:d="center",variant:f="fullWidth"}=n,p=Vn(n,wc),h=fn({},n,{absolute:r,component:l,flexItem:a,light:s,orientation:u,role:c,textAlign:d,variant:f}),m=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:l,textAlign:a,variant:s}=e;return jn({root:["root",t&&"absolute",s,i&&"light","vertical"===l&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===l&&"withChildrenVertical","right"===a&&"vertical"!==l&&"textAlignRight","left"===a&&"vertical"!==l&&"textAlignLeft"],wrapper:["wrapper","vertical"===l&&"wrapperVertical"]},_c,r)})(h);return Wo.jsx(Cc,fn({as:l,className:pa(m.root,i),role:c,ref:t,ownerState:h},p,{children:o?Wo.jsx(Sc,{className:m.wrapper,ownerState:h,children:o}):null}))})),Tc=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Nc(e){return`scale(${e}, ${e**2})`}const Rc={entering:{opacity:1,transform:Nc(1)},entered:{opacity:1,transform:"none"}},Ac="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Oc=D.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:l,onEnter:a,onEntered:s,onEntering:u,onExit:c,onExited:d,onExiting:f,style:p,timeout:h="auto",TransitionComponent:m=cu}=e,g=Vn(e,Tc),v=D.useRef(),b=D.useRef(),y=ia(),x=D.useRef(null),_=An(x,o.ref,t),E=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},w=E(u),C=E(((e,t)=>{(e=>{e.scrollTop})(e);const{duration:n,delay:r,easing:o}=vu({style:p,timeout:h,easing:i},{mode:"enter"});let l;"auto"===h?(l=y.transitions.getAutoHeightDuration(e.clientHeight),b.current=l):l=n,e.style.transition=[y.transitions.create("opacity",{duration:l,delay:r}),y.transitions.create("transform",{duration:Ac?l:.666*l,delay:r,easing:o})].join(","),a&&a(e,t)})),S=E(s),k=E(f),T=E((e=>{const{duration:t,delay:n,easing:r}=vu({style:p,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:Ac?o:.666*o,delay:Ac?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=Nc(.75),c&&c(e)})),N=E(d);return D.useEffect((()=>()=>{clearTimeout(v.current)}),[]),Wo.jsx(m,fn({appear:r,in:l,nodeRef:x,onEnter:C,onEntered:S,onEntering:w,onExit:T,onExited:N,onExiting:k,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)=>D.cloneElement(o,fn({style:fn({opacity:0,transform:Nc(.75),visibility:"exited"!==e||l?void 0:"hidden"},Rc[e],p,o.props.style),ref:_},t))}))}));Oc.muiSupportAuto=!0;const Lc=D.createContext({});function Mc(e){return Gn("MuiList",e)}Yn("MuiList",["root","padding","dense","subheader"]);const Pc=["children","className","component","dense","disablePadding","subheader"],Ic=sa("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})=>fn({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),Dc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:l=!1,disablePadding:a=!1,subheader:s}=n,u=Vn(n,Pc),c=D.useMemo((()=>({dense:l})),[l]),d=fn({},n,{component:i,dense:l,disablePadding:a}),f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return jn({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Mc,t)})(d);return Wo.jsx(Lc.Provider,{value:c,children:Wo.jsxs(Ic,fn({as:i,className:pa(f.root,o),ref:t,ownerState:d},u,{children:[s,r]}))})}));function zc(e){return Gn("MuiListItemIcon",e)}const $c=Yn("MuiListItemIcon",["root","alignItemsFlexStart"]),Fc=["className"],Bc=sa("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})=>fn({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Hc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=Vn(n,Fc),i=fn({},n,{alignItems:D.useContext(Lc).alignItems}),l=(e=>{const{alignItems:t,classes:n}=e;return jn({root:["root","flex-start"===t&&"alignItemsFlexStart"]},zc,n)})(i);return Wo.jsx(Bc,fn({className:pa(l.root,r),ownerState:i,ref:t},o))})),jc=Yn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Wc=["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 Uc(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Gc(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 Yc(e,t,n,r,o,i){let l=!1,a=o(e,t,!!t&&n);for(;a;){if(a===e.firstChild){if(l)return!1;l=!0}const t=!r&&(a.disabled||"true"===a.getAttribute("aria-disabled"));if(a.hasAttribute("tabindex")&&Gc(a,i)&&!t)return a.focus(),!0;a=o(e,a,n)}return!1}const Vc=D.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:l,disabledItemsFocusable:a=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,d=Vn(e,Wc),f=D.useRef(null),p=D.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Sn((()=>{r&&f.current.focus()}),[r]),D.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(En(e))}px`;f.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}})),[]);const h=An(f,t);let m=-1;D.Children.forEach(i,((e,t)=>{D.isValidElement(e)&&(e.props.disabled||("selectedMenu"===c&&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)))}));const g=D.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),D.cloneElement(e,t)}return e}));return Wo.jsx(Dc,fn({role:"menu",ref:h,className:l,onKeyDown:e=>{const t=f.current,n=e.key,r=En(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Yc(t,r,s,a,Kc);else if("ArrowUp"===n)e.preventDefault(),Yc(t,r,s,a,Uc);else if("Home"===n)e.preventDefault(),Yc(t,null,s,a,Kc);else if("End"===n)e.preventDefault(),Yc(t,null,s,a,Uc);else if(1===n.length){const o=p.current,i=n.toLowerCase(),l=performance.now();o.keys.length>0&&(l-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=l,o.keys.push(i);const s=r&&!o.repeating&&Gc(r,o);o.previousKeyMatched&&(s||Yc(t,r,!1,a,Kc,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},d,{children:g}))}));function Qc(e){return Gn("MuiMenuItem",e)}const qc=Yn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Xc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Jc=sa(Fu,{shouldForwardProp:e=>aa(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})=>fn({},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"}},[`&.${qc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:yl(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${qc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:yl(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${qc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:yl(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})`:yl(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${qc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${qc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ec.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ec.inset}`]:{marginLeft:52},[`& .${jc.root}`]:{marginTop:0,marginBottom:0},[`& .${jc.inset}`]:{paddingLeft:36},[`& .${$c.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&fn({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${$c.root} svg`]:{fontSize:"1.25rem"}})))),Zc=D.forwardRef((function(e,t){const n=la({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:l=!1,disableGutters:a=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:d}=n,f=Vn(n,Xc),p=D.useContext(Lc),h=D.useMemo((()=>({dense:i||p.dense||!1,disableGutters:a})),[p.dense,i,a]),m=D.useRef(null);Sn((()=>{r&&m.current&&m.current.focus()}),[r]);const g=fn({},n,{dense:h.dense,divider:l,disableGutters:a}),v=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:l}=e;return fn({},l,jn({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},Qc,l))})(n),b=An(m,t);let y;return n.disabled||(y=void 0!==c?c:-1),Wo.jsx(Lc.Provider,{value:h,children:Wo.jsx(Jc,fn({ref:b,role:u,tabIndex:y,component:o,focusVisibleClassName:pa(v.focusVisible,s),className:pa(v.root,d)},f,{ownerState:g,classes:v}))})}));function ed(e){return Gn("MuiTooltip",e)}const td=Yn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),nd=["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 rd=sa(Zu,{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})=>fn({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${td.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${td.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${td.arrow}`]:fn({},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"] .${td.arrow}`]:fn({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),od=sa("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${_n(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return fn({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:yl(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},{[`.${td.popper}[data-popper-placement*="left"] &`]:fn({transformOrigin:"right center"},t.isRtl?fn({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):fn({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${td.popper}[data-popper-placement*="right"] &`]:fn({transformOrigin:"left center"},t.isRtl?fn({marginRight:"14px"},t.touch&&{marginRight:"24px"}):fn({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${td.popper}[data-popper-placement*="top"] &`]:fn({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${td.popper}[data-popper-placement*="bottom"] &`]:fn({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),id=sa("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:yl(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let ld=!1,ad=null,sd={x:0,y:0};function ud(e,t){return n=>{t&&t(n),e(n)}}const cd=D.forwardRef((function(e,t){var n,r,o,i,l,a,s,u,c,d,f,p,h,m,g,v,b,y,x;const _=la({props:e,name:"MuiTooltip"}),{arrow:E=!1,children:w,components:C={},componentsProps:S={},describeChild:k=!1,disableFocusListener:T=!1,disableHoverListener:N=!1,disableInteractive:R=!1,disableTouchListener:A=!1,enterDelay:O=100,enterNextDelay:L=0,enterTouchDelay:M=700,followCursor:P=!1,id:I,leaveDelay:z=0,leaveTouchDelay:$=1500,onClose:F,onOpen:B,open:H,placement:j="bottom",PopperComponent:W,PopperProps:K={},slotProps:U={},slots:G={},title:Y,TransitionComponent:V=Oc,TransitionProps:Q}=_,q=Vn(_,nd),X=ia(),J="rtl"===X.direction,[Z,ee]=D.useState(),[te,ne]=D.useState(null),re=D.useRef(!1),oe=R||P,ie=D.useRef(),le=D.useRef(),ae=D.useRef(),se=D.useRef(),[ue,ce]=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=D.useRef(void 0!==e),[i,l]=D.useState(t);return[o?e:i,D.useCallback((e=>{o||l(e)}),[])]}({controlled:H,default:!1,name:"Tooltip",state:"open"});let de=ue;const fe=Nn(I),pe=D.useRef(),he=D.useCallback((()=>{void 0!==pe.current&&(document.body.style.WebkitUserSelect=pe.current,pe.current=void 0),clearTimeout(se.current)}),[]);D.useEffect((()=>()=>{clearTimeout(ie.current),clearTimeout(le.current),clearTimeout(ae.current),he()}),[he]);const me=e=>{clearTimeout(ad),ld=!0,ce(!0),B&&!de&&B(e)},ge=Rn((e=>{clearTimeout(ad),ad=setTimeout((()=>{ld=!1}),800+z),ce(!1),F&&de&&F(e),clearTimeout(ie.current),ie.current=setTimeout((()=>{re.current=!1}),X.transitions.duration.shortest)})),ve=e=>{re.current&&"touchstart"!==e.type||(Z&&Z.removeAttribute("title"),clearTimeout(le.current),clearTimeout(ae.current),O||ld&&L?le.current=setTimeout((()=>{me(e)}),ld?L:O):me(e))},be=e=>{clearTimeout(le.current),clearTimeout(ae.current),ae.current=setTimeout((()=>{ge(e)}),z)},{isFocusVisibleRef:ye,onBlur:xe,onFocus:_e,ref:Ee}=Bn(),[,we]=D.useState(!1),Ce=e=>{xe(e),!1===ye.current&&(we(!1),be(e))},Se=e=>{Z||ee(e.currentTarget),_e(e),!0===ye.current&&(we(!0),ve(e))},ke=e=>{re.current=!0;const t=w.props;t.onTouchStart&&t.onTouchStart(e)},Te=ve,Ne=be,Re=e=>{ke(e),clearTimeout(ae.current),clearTimeout(ie.current),he(),pe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",se.current=setTimeout((()=>{document.body.style.WebkitUserSelect=pe.current,ve(e)}),M)},Ae=e=>{w.props.onTouchEnd&&w.props.onTouchEnd(e),he(),clearTimeout(ae.current),ae.current=setTimeout((()=>{ge(e)}),$)};D.useEffect((()=>{if(de)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ge(e)}}),[ge,de]);const Oe=An(w.ref,Ee,ee,t);Y||0===Y||(de=!1);const Le=D.useRef(),Me={},Pe="string"==typeof Y;k?(Me.title=de||!Pe||N?null:Y,Me["aria-describedby"]=de?fe:null):(Me["aria-label"]=Pe?Y:null,Me["aria-labelledby"]=de&&!Pe?fe:null);const Ie=fn({},Me,q,w.props,{className:pa(q.className,w.props.className),onTouchStart:ke,ref:Oe},P?{onMouseMove:e=>{const t=w.props;t.onMouseMove&&t.onMouseMove(e),sd={x:e.clientX,y:e.clientY},Le.current&&Le.current.update()}}:{}),De={};A||(Ie.onTouchStart=Re,Ie.onTouchEnd=Ae),N||(Ie.onMouseOver=ud(Te,Ie.onMouseOver),Ie.onMouseLeave=ud(Ne,Ie.onMouseLeave),oe||(De.onMouseOver=Te,De.onMouseLeave=Ne)),T||(Ie.onFocus=ud(Se,Ie.onFocus),Ie.onBlur=ud(Ce,Ie.onBlur),oe||(De.onFocus=Se,De.onBlur=Ce));const ze=D.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(te),options:{element:te,padding:4}}];return null!=(e=K.popperOptions)&&e.modifiers&&(t=t.concat(K.popperOptions.modifiers)),fn({},K.popperOptions,{modifiers:t})}),[te,K]),$e=fn({},_,{isRtl:J,arrow:E,disableInteractive:oe,placement:j,PopperComponentProp:W,touch:re.current}),Fe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e;return jn({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${_n(i.split("-")[0])}`],arrow:["arrow"]},ed,t)})($e),Be=null!=(n=null!=(r=G.popper)?r:C.Popper)?n:rd,He=null!=(o=null!=(i=null!=(l=G.transition)?l:C.Transition)?i:V)?o:Oc,je=null!=(a=null!=(s=G.tooltip)?s:C.Tooltip)?a:od,We=null!=(u=null!=(c=G.arrow)?c:C.Arrow)?u:id,Ke=ma(Be,fn({},K,null!=(d=U.popper)?d:S.popper,{className:pa(Fe.popper,null==K?void 0:K.className,null==(f=null!=(p=U.popper)?p:S.popper)?void 0:f.className)}),$e),Ue=ma(He,fn({},Q,null!=(h=U.transition)?h:S.transition),$e),Ge=ma(je,fn({},null!=(m=U.tooltip)?m:S.tooltip,{className:pa(Fe.tooltip,null==(g=null!=(v=U.tooltip)?v:S.tooltip)?void 0:g.className)}),$e),Ye=ma(We,fn({},null!=(b=U.arrow)?b:S.arrow,{className:pa(Fe.arrow,null==(y=null!=(x=U.arrow)?x:S.arrow)?void 0:y.className)}),$e);return Wo.jsxs(D.Fragment,{children:[D.cloneElement(w,Ie),Wo.jsx(Be,fn({as:null!=W?W:Zu,placement:j,anchorEl:P?{getBoundingClientRect:()=>({top:sd.y,left:sd.x,right:sd.x,bottom:sd.y,width:0,height:0})}:Z,popperRef:Le,open:!!Z&&de,id:fe,transition:!0},De,Ke,{popperOptions:ze,children:({TransitionProps:e})=>Wo.jsx(He,fn({timeout:X.transitions.duration.shorter},e,Ue,{children:Wo.jsxs(je,fn({},Ge,{children:[Y,E?Wo.jsx(We,fn({},Ye,{ref:ne})):null]}))}))}))]})})),dd=function(e={}){const{createStyledComponent:t=Pl,useThemeProps:n=Il,componentName:r="MuiStack"}=e,o=t(zl);return D.forwardRef((function(e,t){const i=tl(n(e)),{component:l="div",direction:a="column",spacing:s=0,divider:u,children:c,className:d,useFlexGap:f=!1}=i,p=Vn(i,Ll),h={direction:a,spacing:s,useFlexGap:f},m=jn({root:["root"]},(e=>Gn(r,e)),{});return Wo.jsx(o,fn({as:l,ownerState:h,ref:t,className:qn(m.root,d)},p,{children:u?Dl(c,u):c}))}))}({createStyledComponent:sa("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>la({props:e,name:"MuiStack"})});function fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pd=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fd(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M9 1v1H2v12h12V7h1v7a1 1 0 0 1-.883.993L14 15H2a1 1 0 0 1-.993-.883L1 14V2a1 1 0 0 1 .883-.993L2 1zm7-1v5h-1V1.706l-4.5 4.501-.707-.707L14.292 1H11V0z"})),hd=D.forwardRef(pd);function md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gd=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){md(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m6 10 7-7 2 2-7 7-2 2-5-5 2-2z"})),vd=D.forwardRef(gd);var bd,yd,xd,_d={};var Ed=function(){if(xd)return yd;xd=1;const e=function(){if(bd)return _d;bd=1;var e=ae(),t=Se(),n=le(),r=re(),o=C();return _d.LinkPlugin=function({validateUrl:i}){let[l]=t.useLexicalComposerContext();return o.useEffect((()=>{if(!l.hasNodes([e.LinkNode]))throw Error("LinkPlugin: LinkNode not registered on editor");return n.mergeRegister(l.registerCommand(e.TOGGLE_LINK_COMMAND,(t=>{if(null===t)return e.toggleLink(t),!0;if("string"==typeof t)return!(void 0!==i&&!i(t)||(e.toggleLink(t),0));let{url:n,target:r,rel:o,title:l}=t;return e.toggleLink(n,{rel:o,target:r,title:l}),!0}),r.COMMAND_PRIORITY_LOW),void 0!==i?l.registerCommand(r.PASTE_COMMAND,(t=>{let n=r.$getSelection();if(!r.$isRangeSelection(n)||n.isCollapsed()||!(t instanceof ClipboardEvent)||null==t.clipboardData)return!1;let o=t.clipboardData.getData("text");return!!i(o)&&!n.getNodes().some((e=>r.$isElementNode(e)))&&(l.dispatchCommand(e.TOGGLE_LINK_COMMAND,o),t.preventDefault(),!0)}),r.COMMAND_PRIORITY_LOW):()=>{})}),[l,i]),null},_d}();return yd=e}();function wd(e){if(e.type)return e;if("#"===e.charAt(0))return wd(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(function(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Cd(e,t){return e=wd(e),t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,function(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}(e)}const Sd={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},kd=12,Td=14,Nd=16,Rd=24,Ad=3,Od=300,Ld=400,Md=600,Pd=700,Id={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};Cd(Sd.GREYSCALE_0,.05),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5);var Dd;function zd(){return zd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zd.apply(null,arguments)}Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5),Cd(Sd.GREEN_PALE,.5),Cd(Sd.BLUE_PALE,.5);var $d,Fd=function(e){return D.createElement("svg",zd({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Dd||(Dd=D.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Bd(){return Bd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bd.apply(null,arguments)}var Hd=function(e){return D.createElement("svg",Bd({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),$d||($d=D.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function jd({fontSize:e="medium",children:t=null,className:n=""}={}){const r="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return Wo.jsx("i",{style:{fontSize:r,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})}function Wd(e={}){return Wo.jsx(jd,{...e,children:Wo.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[Wo.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),Wo.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function Kd(e={}){return Wo.jsx(jd,{...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[Wo.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),Wo.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Ud(e={}){return Wo.jsx(jd,{fontSize:"medium",...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Wo.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function Gd(e={}){return Wo.jsx(jd,{fontSize:"medium",...e,children:Wo.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Wo.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),Wo.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Yd({className:e}){return Wo.jsx(jd,{fontSize:"small",className:e,children:Wo.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:Wo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Wo.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:Wo.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[Wo.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),Wo.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function Vd(e={}){return Wo.jsx(jd,{...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Wo.jsx("rect",{stroke:Sd.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}Wo.jsx(Hd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Wo.jsx(Fd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),Wo.jsx(Ud,{}),Wo.jsx(Gd,{}),Wo.jsx((function(e={}){return Wo.jsx(jd,{...e,children:Wo.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:Wo.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:Wo.jsx("rect",{stroke:"#000000",fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}),{}),Wo.jsx(Wd,{}),Wo.jsx(Kd,{}),Wo.jsx(Fd,{style:{color:Sd.TEXT_PRIMARY},"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16});const Qd={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Ad,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var qd=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:Sd.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Sd.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:Wo.jsx(Fd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${Sd.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`,borderRadius:Ad,backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${Sd.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Sd.WHITE,color:Sd.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:Ad},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Sd.GREYSCALE_0_15,backgroundColor:Sd.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Sd.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Sd.GREEN_PALE},"&:active":{backgroundColor:Sd.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Sd.BLUE_PALE},"&:active":{backgroundColor:Sd.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Ad,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Sd.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Sd.GREYSCALE_0_15,backgroundColor:Sd.GREYSCALE_100_60,"&:active":{backgroundColor:Sd.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Sd.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Sd.PURPLE,"&.Mui-focusVisible":{borderColor:Sd.PURPLE,boxShadow:`0 0 0 3px ${yl(Sd.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Sd.GREEN,"&.Mui-focusVisible":{borderColor:Sd.GREEN,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Sd.BLUE,"&.Mui-focusVisible":{borderColor:Sd.BLUE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Sd.ORANGE,"&.Mui-focusVisible":{borderColor:Sd.ORANGE,boxShadow:`0 0 0 3px ${yl(Sd.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Sd.RED,"&.Mui-focusVisible":{borderColor:Sd.RED,boxShadow:`0 0 0 3px ${yl(Sd.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Sd.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Sd.PURPLE_PALE},"&:active":{backgroundColor:Sd.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Sd.PURPLE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Sd.GREEN_PALE},"&:active":{backgroundColor:Sd.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Sd.BLUE_PALE},"&:active":{backgroundColor:Sd.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Sd.ORANGE_PALE},"&:active":{backgroundColor:Sd.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Sd.ORANGE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Sd.RED_PALE},"&:active":{backgroundColor:Sd.RED_DARK},"&.Mui-focusVisible":{borderColor:Sd.RED_PALE,boxShadow:`0 0 0 3px ${yl(Sd.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:Sd.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Sd.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:Ad,boxShadow:`inset 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:Wo.jsx(Hd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:kd,borderRadius:Ad,color:Sd.TEXT_PRIMARY,backgroundColor:Sd.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Sd.GREYSCALE_0_05,color:Sd.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Sd.GREEN,borderColor:Sd.GREEN},"&.MuiChip-outlinedInfo":{color:Sd.BLUE,borderColor:Sd.BLUE},"&.MuiChip-outlinedWarning":{color:Sd.ORANGE,borderColor:Sd.ORANGE},"&.MuiChip-outlinedError":{color:Sd.RED,borderColor:Sd.RED}},outlined:{border:`solid 1px ${Sd.GREYSCALE_0_15}`,backgroundColor:Sd.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:Ad,boxShadow:"none",backgroundColor:Sd.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Sd.GREEN,borderColor:Sd.GREEN},outlinedSecondary:{color:Sd.BLUE,borderColor:Sd.BLUE},label:{fontFamily:Id.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:Wo.jsx(Hd,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:Wo.jsx(Fd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:Ad},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:Ad,fontSize:Td,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Sd.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Sd.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Sd.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Sd.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_05}}},popupIndicator:{borderRadius:Ad,border:`solid 1px ${Sd.GREYSCALE_0_15}`,color:Sd.GREYSCALE_0_60,marginRight:0,width:Rd,height:Rd},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Sd.GREYSCALE_0_15}`},clearIndicator:{borderRadius:Ad,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Sd.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Td}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:kd,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Sd.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Sd.GREYSCALE_25,fontSize:kd,fontFamily:Id.FONT_FAMILY,fontWeight:Md,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Sd.TEXT_PRIMARY},"&.Mui-error":{color:Sd.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Sd.TEXT_SECONDARY,content:"'(optional)'",fontWeight:Ld,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Sd.TEXT_SECONDARY,content:"'(required)'",fontWeight:Ld,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Td,lineHeight:"16px",backgroundColor:Sd.WHITE,borderRadius:Ad,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.GREYSCALE_0_05}`,borderColor:Sd.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Sd.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Sd.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.RED}`,boxShadow:`0px 0px 0px 1px ${Sd.RED}, inset 0 2px 0 0 ${Sd.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Sd.GREYSCALE_0_10}`,borderColor:Sd.GREYSCALE_0_10,backgroundColor:Sd.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Sd.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Sd.GREYSCALE_0_15,borderRadius:Ad,boxShadow:`inset 0 2px 0 0 ${Sd.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>Wo.jsx(Fd,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:Sd.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Sd.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03},"&:active":{backgroundColor:Sd.GREYSCALE_0_10},"&:focus":{backgroundColor:Sd.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Sd.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Sd.GREYSCALE_0_30,"&:hover":{backgroundColor:Sd.GREYSCALE_0_0,borderColor:Sd.GREYSCALE_0_15},"& ~svg":{color:Sd.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Sd.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:Ad}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Sd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Sd.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Td,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:kd,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:kd,fontWeight:Md,color:Sd.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:Md}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Sd.GREYSCALE_0_15}, 0px 0px 0px 1px ${Sd.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:Wo.jsx(Ud,{}),checkedIcon:Wo.jsx(Gd,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Sd.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Sd.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Sd.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:Wo.jsx(Vd,{}),checkedIcon:Wo.jsx(Wd,{}),indeterminateIcon:Wo.jsx(Kd,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:Ad,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Sd.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Sd.GREYSCALE_0_55,color:Sd.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:Sd.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Sd.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Sd.GREYSCALE_0_55,"&:hover":{color:Sd.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:Sd.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Sd.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Td,color:Sd.TEXT_PRIMARY,lineHeight:"16px",fontWeight:Md},secondary:{fontSize:kd,color:Sd.GREYSCALE_45,fontWeight:Ld,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Td,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Td,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Sd.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:kd,borderBottom:`solid 1px ${Sd.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Td,color:Sd.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Sd.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Sd.RED}}},"&.Mui-focusVisible":{backgroundColor:Sd.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:Sd.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:Sd.GREEN,height:"24px","&.Mui-disabled":{color:Sd.GREYSCALE_0_15}},rail:{backgroundColor:Sd.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Sd.GREYSCALE_0_05}`,borderRadius:Ad,boxShadow:`inset 0px 0px 0px 1px ${Sd.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Sd.GREYSCALE_0_05}`,borderRadius:Ad},thumb:{height:"16px",width:"16px",borderRadius:Ad,backgroundColor:Sd.WHITE,boxShadow:`0px 1px 2px 0px ${Sd.GREYSCALE_0_15}, 0px 0px 0px 1px ${Sd.GREYSCALE_0_05}`,"&:hover":{borderRadius:Ad,boxShadow:`0 2px 4px 0 ${Sd.GREYSCALE_0_30}, 0 0 0 1px ${Sd.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Sd.GREYSCALE_0_15}, 0 0 0 1px ${Sd.GREYSCALE_0_06}, 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Sd.GREYSCALE_0_15}, 0 0 0 1px ${Sd.GREYSCALE_0_06}, 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Sd.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Sd.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Sd.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Sd.GREYSCALE_0_15},markLabel:{color:Sd.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Sd.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Sd.WHITE,color:Sd.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:Sd.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Sd.GREEN_PALE,boxShadow:`0 0 0 3px ${yl(Sd.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Sd.BLUE_PALE,boxShadow:`0 0 0 3px ${yl(Sd.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Sd.GREYSCALE_0_15,borderRadius:Ad},thumb:{height:"16px",width:"16px",borderRadius:Ad,backgroundColor:Sd.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:Td,fontWeight:Md,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Sd.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Sd.MISC_FOCUS_BORDER}`,backgroundColor:Sd.GREYSCALE_0_03,borderRadius:Ad},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Sd.GREYSCALE_25,"&.Mui-selected":{color:Sd.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Td,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:Ad,"&:hover":{backgroundColor:Sd.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Sd.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Sd.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:Ad,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Sd.GREYSCALE_0_05},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Sd.GREYSCALE_85}`,borderRight:`1px solid ${Sd.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Md,backgroundColor:Sd.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:Sd.GREYSCALE_98,borderBottom:`1px solid ${Sd.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Sd.GREYSCALE_85}`,borderTop:`1px solid ${Sd.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Sd.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Sd.GREYSCALE_0_05,"&:hover":{backgroundColor:Sd.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Sd.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>Wo.jsx(Yd,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${Sd.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Td,borderRadius:Ad,padding:"7px 16px",border:`1px solid ${Sd.GREYSCALE_0_15}`,backgroundColor:Sd.GREYSCALE_100_60,color:Sd.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Sd.GREYSCALE_0_10,border:`1px solid ${Sd.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Sd.GREYSCALE_0_03,border:`1px solid ${Sd.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Sd.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Sd.MISC_FOCUS_BORDER}`,border:`1px solid ${Sd.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Sd.GREYSCALE_25,backgroundColor:Sd.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Sd.GREYSCALE_0_10,border:`1px solid ${Sd.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:kd,height:24,width:24,padding:7},sizeLarge:{fontSize:Nd,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Td,borderRadius:Ad}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:Sd.GREYSCALE_20},tooltip:{backgroundColor:Sd.GREYSCALE_20,fontSize:kd,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Qd}:{}}))(t);const Xd=e=>({mode:"light",primary:{ultraLight:Sd.GREEN_ULTRA_LIGHT,light:Sd.GREEN_PALE,main:Sd.GREEN,dark:Sd.GREEN_DARK,extraDark:Sd.GREEN_EXTRA_DARK,contrastText:Sd.WHITE},secondary:{ultraLight:Sd.BLUE_ULTRA_LIGHT,light:Sd.BLUE_PALE,main:Sd.BLUE,dark:Sd.BLUE_DARK,extraDark:Sd.BLUE_EXTRA_DARK,contrastText:Sd.WHITE},error:{ultraLight:Sd.RED_ULTRA_LIGHT,light:Sd.RED_PALE,main:Sd.RED,dark:Sd.RED_DARK,extraDark:Sd.RED_EXTRA_DARK,contrastText:Sd.WHITE},warning:{ultraLight:Sd.ORANGE_ULTRA_LIGHT,light:Sd.ORANGE_PALE,main:Sd.ORANGE,dark:Sd.ORANGE_DARK,extraDark:Sd.ORANGE_EXTRA_DARK,contrastText:Sd.WHITE},success:{ultraLight:Sd.GREEN_ULTRA_LIGHT,light:Sd.GREEN_PALE,main:Sd.GREEN,dark:Sd.GREEN_DARK,extraDark:Sd.GREEN_EXTRA_DARK,contrastText:Sd.WHITE},info:{ultraLight:Sd.BLUE_ULTRA_LIGHT,light:Sd.BLUE_PALE,main:Sd.BLUE,dark:Sd.BLUE_DARK,extraDark:Sd.BLUE_EXTRA_DARK,contrastText:Sd.WHITE},text:{primary:Sd.TEXT_PRIMARY,secondary:Sd.TEXT_SECONDARY,disabled:Sd.GREYSCALE_0_30},action:{hover:Sd.GREYSCALE_0_03,hoverOpacity:.03,selected:Sd.GREYSCALE_0_05,selectedOpacity:.05,focus:Sd.MISC_FOCUS_BORDER},amethyst:{ultraLight:Sd.WHITE,main:Sd.PURPLE,light:Sd.PURPLE_PALE,dark:Sd.PURPLE_DARK,extraDark:Sd.GREYSCALE_0_0,contrastText:Sd.WHITE},background:{paper:Sd.WHITE,default:Sd.GREYSCALE_95},divider:Sd.GREYSCALE_0_15}),Jd=(e="light",t=!1)=>ra(((e,t=!1)=>({components:qd(0,t),palette:Xd(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,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)"],transitions:{easing:{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)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:Td,fontWeightLight:Od,fontWeightRegular:Ld,fontWeightMedium:Md,fontWeightBold:Pd,htmlFontSize:Td,fontFamily:Id.FONT_FAMILY,button:{fontWeight:Md,fontSize:Td,textTransform:"none"},body1:{fontSize:Nd,lineHeight:"24px"},body2:{fontSize:Td,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:Rd,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Nd,fontWeight:Md,lineHeight:"16px"},h6:{fontSize:Td,fontWeight:Md,lineHeight:"16px"},caption:{color:Sd.TEXT_SECONDARY},subtitle1:{fontSize:Td,color:Sd.TEXT_SECONDARY},subtitle2:{fontSize:kd,color:Sd.TEXT_SECONDARY}},shape:{borderRadius:Ad}}))(0,t));function Zd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ef=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Zd(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m7.999 9.001-2.858-2.86a.2.2 0 0 0-.282 0l-.718.719a.2.2 0 0 0 0 .282L7 10.001l.859.858a.2.2 0 0 0 .282 0L9 10l2.859-2.859a.2.2 0 0 0 0-.282l-.718-.718a.2.2 0 0 0-.283 0L8 9Z"})),tf=D.forwardRef(ef);var nf=Object.defineProperty,rf=Object.getOwnPropertySymbols,of=Object.prototype.hasOwnProperty,lf=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?nf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sf=(e,t)=>{for(var n in t)nf(e,n,{get:t[n],enumerable:!0})},uf=(e,t,n)=>(af(e,"symbol"!=typeof t?t+"":t,n),n);sf({},{DEFAULT_LANGUAGE:()=>df,DEFAULT_LANGUAGE_SHORT:()=>ff,flattenParams:()=>_f,flattenTranslationsJSON:()=>mf,format:()=>Ef,formatWithKeys:()=>wf,getLongLanguageDesc:()=>xf,getShortLanguageDesc:()=>yf,parseLangFromUrl:()=>gf,resolveLocale:()=>bf,updateLangAttribute:()=>Cf});var cf=[{short:"es",long:"es-ES",label:"Spanish",translatedLabel:"Common.Spanish"},{short:"sv",long:"sv-SE",label:"Swedish",translatedLabel:"Common.Swedish"},{short:"ja",long:"ja-JP",label:"Japanese",translatedLabel:"Common.Japanese"},{short:"en",long:"en-US",label:"English",translatedLabel:"Common.English"},{short:"de",long:"de-DE",label:"German",translatedLabel:"Common.German"},{short:"fr",long:"fr-FR",label:"French",translatedLabel:"Common.French"},{short:"it",long:"it-IT",label:"Italian",translatedLabel:"Common.Italian"},{short:"nl",long:"nl-NL",label:"Dutch",translatedLabel:"Common.Dutch"},{short:"pt",long:"pt-BR",label:"Brazilian Portuguese",translatedLabel:"Common.BrazilianPortuguese"},{short:"ru",long:"ru-RU",label:"Russian",translatedLabel:"Common.Russian"},{short:"zh-CN",long:"zh-CN",label:"Simplified Chinese",translatedLabel:"Common.SimplifiedChinese"},{short:"zh-TW",long:"zh-TW",label:"Traditional Chinese",translatedLabel:"Common.TraditionalChinese"},{short:"pl",long:"pl-PL",label:"Polish",translatedLabel:"Common.Polish"},{short:"tr",long:"tr-TR",label:"Turkish",translatedLabel:"Common.Turkish"},{short:"ko",long:"ko-KR",label:"Korean",translatedLabel:"Common.Korean"},{short:"qps-ploc",long:"qps-ploc",label:'qps-ploc (f.k.a. "pseudo")'},{short:"zz",long:"zz",label:"zz"}],df="en-US",ff="en",pf=["zh-cn","zh-tw","qps-ploc"],hf=e=>"object"==typeof e&&null!==e&&!Array.isArray(e),mf=e=>hf(e)?Object.keys(e).reduce(((t,n)=>{const r=e[n],o=hf(r)&&r.value;return o&&(t[n]=o),t}),{}):{},gf=()=>{var e;return null!=(e=new URLSearchParams(window.location.search).get("lang"))?e:void 0},vf=e=>{if(!e)return;"zh-hk"!==e.toLocaleLowerCase()&&"zh-mo"!==e.toLocaleLowerCase()||(e="zh-TW");const t=e.toLowerCase();if(pf.includes(e.toLocaleLowerCase()))return cf.find((({long:e})=>e.toLowerCase()===t));const[n]=t.split("-");return cf.find((({short:e})=>e.toLowerCase()===n||e.toLowerCase()===t))},bf=(...e)=>{for(const t of e){const e=vf(t);if(e)return e.short}},yf=e=>{const t=vf(e);return t?t.short:(console.warn(`Language '${e}' not supported, falling back to '${ff}'`),ff)},xf=e=>{const t=vf(e);return t?t.long:(console.warn(`Language '${e}' not supported, falling back to '${df}'`),df)},_f=e=>Array.isArray(e[0])?e[0]:e,Ef=(e,...t)=>{var n;return null==(n=e.match(/\{(\d+)\}/g))?void 0:n.length,e.replace(/\{(\d+)\}/g,((e,n)=>void 0!==t[n]?String(t[n]):e))},wf=(e,t)=>e.replace(/(\{)(\w+)(\})/g,((e,n,r)=>{var o;return t[r],null!=(o=t[r])?o:e})),Cf=e=>{const t=yf(e);document.documentElement.setAttribute("lang",t)},Sf={},kf=Array.prototype.slice,Tf=function(e){return("0"+e.toString()).substr(-2)},Nf=function(e){var t=typeof e;return"function"===t||"object"===t},Rf=function(e){return"function"===typeof e},Af=function(e){return null!=e},Of=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},Lf=function(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)},Mf=function(e){return!0===e||!1===e},Pf=function(e){return null===e},If=function(e,t,n){return void 0===n||0==+n?Math[e](t):(t=+t,n=+n,isNaN(t)||"number"!=typeof n||n%1!=0?NaN:(t=t.toString().split("e"),+((t=(t=Math[e](+(t[0]+"e"+(t[1]?+t[1]-n:-n)))).toString().split("e"))[0]+"e"+(t[1]?+t[1]+n:n))))},Df=function(e,t){return Rf(e)?e(t):e},zf=function(e,t){var n,r,o;for(n in t)t.hasOwnProperty(n)&&(r=t[n],"string"==typeof(o=r)||"[object String]"===Object.prototype.toString.call(o)||Lf(r)||Mf(r)||Of(r)||Pf(r)?e[n]=r:(null==e[n]&&(e[n]={}),zf(e[n],r)));return e},$f={day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr_day_names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],month_names:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbr_month_names:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridian:["AM","PM"]},Ff={precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1},Bf={unit:"$",precision:2,format:"%u%n",sign_first:!0,delimiter:",",separator:"."},Hf={unit:"%",precision:3,format:"%n%u",separator:".",delimiter:""},jf=[null,"kb","mb","gb","tb"],Wf={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,fallbacks:!1,translations:{},missingBehaviour:"message",missingTranslationPrefix:""};Sf.reset=function(){var e;for(e in Wf)this[e]=Wf[e]},Sf.initializeOptions=function(){var e;for(e in Wf)Af(this[e])||(this[e]=Wf[e])},Sf.initializeOptions(),Sf.locales={},Sf.locales.get=function(e){var t=this[e]||this[Sf.locale]||this.default;return Rf(t)&&(t=t(e)),!1===Of(t)&&(t=[t]),t},Sf.locales.default=function(e){var t=[],n=[];return e&&t.push(e),!e&&Sf.locale&&t.push(Sf.locale),Sf.fallbacks&&Sf.defaultLocale&&t.push(Sf.defaultLocale),t.forEach((function(e){var t=e.split("-"),r=null,o=null;3===t.length?(r=[t[0],t[1]].join("-"),o=t[0]):2===t.length&&(r=t[0]),-1===n.indexOf(e)&&n.push(e),Sf.fallbacks&&[r,o].forEach((function(t){null!=t&&t!==e&&-1===n.indexOf(t)&&n.push(t)}))})),t.length||t.push("en"),n},Sf.pluralization={},Sf.pluralization.get=function(e){return this[e]||this[Sf.locale]||this.default},Sf.pluralization.default=function(e){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}},Sf.currentLocale=function(){return this.locale||this.defaultLocale},Sf.isSet=Af,Sf.lookup=function(e,t){t=t||{};var n,r,o,i,l=this.locales.get(t.locale).slice();for(o=this.getFullScope(e,t);l.length;)if(n=l.shift(),r=o.split(t.separator||this.defaultSeparator),i=this.translations[n]){for(;r.length&&null!=(i=i[r.shift()]););if(null!=i)return i}if(Af(t.defaultValue))return Df(t.defaultValue,e)},Sf.pluralizationLookupWithoutFallback=function(e,t,n){var r,o,i=this.pluralization.get(t)(e);if(n&&Nf(n))for(;i.length;)if(r=i.shift(),Af(n[r])){o=n[r];break}return o},Sf.pluralizationLookup=function(e,t,n){n=n||{};var r,o,i,l,a=this.locales.get(n.locale).slice();for(t=this.getFullScope(t,n);a.length;)if(r=a.shift(),o=t.split(n.separator||this.defaultSeparator),i=this.translations[r]){for(;o.length&&(i=i[o.shift()],Nf(i));)0===o.length&&(l=this.pluralizationLookupWithoutFallback(e,r,i));if(null!=l)break}return null==l&&Af(n.defaultValue)&&(l=Nf(n.defaultValue)?this.pluralizationLookupWithoutFallback(e,n.locale,n.defaultValue):n.defaultValue,i=n.defaultValue),{message:l,translations:i}},Sf.meridian=function(){var e=this.lookup("time"),t=this.lookup("date");return e&&e.am&&e.pm?[e.am,e.pm]:t&&t.meridian?t.meridian:$f.meridian},Sf.prepareOptions=function(){for(var e,t=kf.call(arguments),n={};t.length;)if("object"==typeof(e=t.shift()))for(var r in e)e.hasOwnProperty(r)&&(Af(n[r])||(n[r]=e[r]));return n},Sf.createTranslationOptions=function(e,t){var n=[{scope:e}];return Af(t.defaults)&&(n=n.concat(t.defaults)),Af(t.defaultValue)&&n.push({message:t.defaultValue}),n},Sf.translate=function(e,t){t=t||{};var n,r=this.createTranslationOptions(e,t),o=e,i=this.prepareOptions(t);return delete i.defaultValue,r.some((function(t){if(Af(t.scope)?(o=t.scope,n=this.lookup(o,i)):Af(t.message)&&(n=Df(t.message,e)),null!=n)return!0}),this)?("string"==typeof n?n=this.interpolate(n,t):Of(n)?n=n.map((function(e){return"string"==typeof e?this.interpolate(e,t):e}),this):Nf(n)&&Af(t.count)&&(n=this.pluralize(t.count,o,t)),n):this.missingTranslation(e,t)},Sf.interpolate=function(e,t){if(null==e)return e;t=t||{};var n,r,o,i,l=e.match(this.placeholder);if(!l)return e;for(;l.length;)o=(n=l.shift()).replace(this.placeholder,"$1"),r=Af(t[o])?t[o].toString().replace(/\$/gm,"_#$#_"):o in t?this.nullPlaceholder(n,e,t):this.missingPlaceholder(n,e,t),i=new RegExp(n.replace(/{/gm,"\\{").replace(/}/gm,"\\}")),e=e.replace(i,r);return e.replace(/_#\$#_/g,"$")},Sf.pluralize=function(e,t,n){var r,o;return n=this.prepareOptions({count:String(e)},n),void 0===(o=this.pluralizationLookup(e,t,n)).translations||null==o.translations?this.missingTranslation(t,n):void 0!==o.message&&null!=o.message?this.interpolate(o.message,n):(r=this.pluralization.get(n.locale),this.missingTranslation(t+"."+r(e)[0],n))},Sf.missingTranslation=function(e,t){if("guess"===this.missingBehaviour){var n=e.split(".").slice(-1)[0];return(this.missingTranslationPrefix.length>0?this.missingTranslationPrefix:"")+n.replace(/_/g," ").replace(/([a-z])([A-Z])/g,(function(e,t,n){return t+" "+n.toLowerCase()}))}return'[missing "'+[null!=t&&null!=t.locale?t.locale:this.currentLocale(),this.getFullScope(e,t)].join(t.separator||this.defaultSeparator)+'" translation]'},Sf.missingPlaceholder=function(e,t,n){return"[missing "+e+" value]"},Sf.nullPlaceholder=function(){return Sf.missingPlaceholder.apply(Sf,arguments)},Sf.toNumber=function(e,t){t=this.prepareOptions(t,this.lookup("number.format"),Ff);var n,r,o=e<0,i=function(e,t){return If("round",e,-t).toFixed(t)}(Math.abs(e),t.precision).toString(),l=i.split("."),a=[],s=t.format||"%n",u=o?"-":"";for(e=l[0],n=l[1];e.length>0;)a.unshift(e.substr(Math.max(0,e.length-3),3)),e=e.substr(0,e.length-3);return r=a.join(t.delimiter),t.strip_insignificant_zeros&&n&&(n=n.replace(/0+$/,"")),t.precision>0&&n&&(r+=t.separator+n),r=(s=t.sign_first?"%s"+s:s.replace("%n","%s%n")).replace("%u",t.unit).replace("%n",r).replace("%s",u)},Sf.toCurrency=function(e,t){return t=this.prepareOptions(t,this.lookup("number.currency.format",t),this.lookup("number.format",t),Bf),this.toNumber(e,t)},Sf.localize=function(e,t,n){switch(n||(n={}),e){case"currency":return this.toCurrency(t,n);case"number":return e=this.lookup("number.format",n),this.toNumber(t,e);case"percentage":return this.toPercentage(t,n);default:var r;return r=e.match(/^(date|time)/)?this.toTime(e,t,n):t.toString(),this.interpolate(r,n)}},Sf.parseDate=function(e){var t,n,r;if(null==e)return e;if("object"==typeof e)return e;if(t=e.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})([\.,]\d{1,3})?)?(Z|\+00:?00)?/)){for(var o=1;o<=6;o++)t[o]=parseInt(t[o],10)||0;t[2]-=1,r=t[7]?1e3*("0"+t[7]):null,n=t[8]?new Date(Date.UTC(t[1],t[2],t[3],t[4],t[5],t[6],r)):new Date(t[1],t[2],t[3],t[4],t[5],t[6],r)}else"number"==typeof e?(n=new Date).setTime(e):e.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)?(n=new Date).setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" "))):(e.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/),(n=new Date).setTime(Date.parse(e)));return n},Sf.strftime=function(e,t,n){n=this.lookup("date",n);var r=Sf.meridian();if(n||(n={}),n=this.prepareOptions(n,$f),isNaN(e.getTime()))throw new Error("I18n.strftime() requires a valid date object, but received an invalid date.");var o=e.getDay(),i=e.getDate(),l=e.getFullYear(),a=e.getMonth()+1,s=e.getHours(),u=s,c=s>11?1:0,d=e.getSeconds(),f=e.getMinutes(),p=e.getTimezoneOffset(),h=Math.floor(Math.abs(p/60)),m=Math.abs(p)-60*h,g=(p>0?"-":"+")+(h.toString().length<2?"0"+h:h)+(m.toString().length<2?"0"+m:m);return u>12?u-=12:0===u&&(u=12),t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%a",n.abbr_day_names[o])).replace("%A",n.day_names[o])).replace("%b",n.abbr_month_names[a])).replace("%B",n.month_names[a])).replace("%d",Tf(i))).replace("%e",i)).replace("%-d",i)).replace("%H",Tf(s))).replace("%-H",s)).replace("%k",s)).replace("%I",Tf(u))).replace("%-I",u)).replace("%l",u)).replace("%m",Tf(a))).replace("%-m",a)).replace("%M",Tf(f))).replace("%-M",f)).replace("%p",r[c])).replace("%P",r[c].toLowerCase())).replace("%S",Tf(d))).replace("%-S",d)).replace("%w",o)).replace("%y",Tf(l))).replace("%-y",Tf(l).replace(/^0+/,""))).replace("%Y",l)).replace("%z",g)).replace("%Z",g)},Sf.toTime=function(e,t,n){var r=this.parseDate(t),o=this.lookup(e,n);if(null==r)return r;var i=r.toString();return i.match(/invalid/i)?i:o?this.strftime(r,o,n):i},Sf.toPercentage=function(e,t){return t=this.prepareOptions(t,this.lookup("number.percentage.format",t),this.lookup("number.format",t),Hf),this.toNumber(e,t)},Sf.toHumanSize=function(e,t){for(var n,r,o,i=e,l=0;i>=1024&&l<4;)i/=1024,l+=1;return 0===l?(o=this.getFullScope("number.human.storage_units.units.byte",t),n=this.t(o,{count:i}),r=0):(o=this.getFullScope("number.human.storage_units.units."+jf[l],t),n=this.t(o),r=i-Math.floor(i)==0?0:1),t=this.prepareOptions(t,{unit:n,precision:r,format:"%n%u",delimiter:""}),this.toNumber(i,t)},Sf.getFullScope=function(e,t){return t=t||{},Of(e)&&(e=e.join(t.separator||this.defaultSeparator)),t.scope&&(e=[t.scope,e].join(t.separator||this.defaultSeparator)),e},Sf.extend=function(e,t){return void 0===e&&void 0===t?{}:zf(e,t)},Sf.t=Sf.translate.bind(Sf),Sf.l=Sf.localize.bind(Sf),Sf.p=Sf.pluralize.bind(Sf);var Kf={};sf(Kf,{af:()=>Xf,ak:()=>Jf,am:()=>Zf,an:()=>ep,ar:()=>tp,ars:()=>np,as:()=>rp,asa:()=>op,ast:()=>ip,az:()=>lp,bal:()=>ap,be:()=>sp,bem:()=>up,bez:()=>cp,bg:()=>dp,bho:()=>fp,bm:()=>pp,bn:()=>hp,bo:()=>mp,br:()=>gp,brx:()=>vp,bs:()=>bp,ca:()=>yp,ce:()=>xp,ceb:()=>_p,cgg:()=>Ep,chr:()=>wp,ckb:()=>Cp,cs:()=>Sp,cy:()=>kp,da:()=>Tp,de:()=>Np,doi:()=>Rp,dsb:()=>Ap,dv:()=>Op,dz:()=>Lp,ee:()=>Mp,el:()=>Pp,en:()=>Ip,eo:()=>Dp,es:()=>zp,et:()=>$p,eu:()=>Fp,fa:()=>Bp,ff:()=>Hp,fi:()=>jp,fil:()=>Wp,fo:()=>Kp,fr:()=>Up,fur:()=>Gp,fy:()=>Yp,ga:()=>Vp,gd:()=>Qp,gl:()=>qp,gsw:()=>Xp,gu:()=>Jp,guw:()=>Zp,gv:()=>eh,ha:()=>th,haw:()=>nh,he:()=>rh,hi:()=>oh,hnj:()=>ih,hr:()=>lh,hsb:()=>ah,hu:()=>sh,hy:()=>uh,ia:()=>ch,id:()=>dh,ig:()=>fh,ii:()=>ph,io:()=>hh,is:()=>mh,it:()=>gh,iu:()=>vh,ja:()=>bh,jbo:()=>yh,jgo:()=>xh,jmc:()=>_h,jv:()=>Eh,jw:()=>wh,ka:()=>Ch,kab:()=>Sh,kaj:()=>kh,kcg:()=>Th,kde:()=>Nh,kea:()=>Rh,kk:()=>Ah,kkj:()=>Oh,kl:()=>Lh,km:()=>Mh,kn:()=>Ph,ko:()=>Ih,ks:()=>Dh,ksb:()=>zh,ksh:()=>$h,ku:()=>Fh,kw:()=>Bh,ky:()=>Hh,lag:()=>jh,lb:()=>Wh,lg:()=>Kh,lij:()=>Uh,lkt:()=>Gh,ln:()=>Yh,lo:()=>Vh,lt:()=>Qh,lv:()=>qh,mas:()=>Xh,mg:()=>Jh,mgo:()=>Zh,mk:()=>em,ml:()=>tm,mn:()=>nm,mo:()=>rm,mr:()=>om,ms:()=>im,mt:()=>lm,my:()=>am,nah:()=>sm,naq:()=>um,nb:()=>cm,nd:()=>dm,ne:()=>fm,nl:()=>pm,nn:()=>hm,nnh:()=>mm,no:()=>gm,nqo:()=>vm,nr:()=>bm,nso:()=>ym,ny:()=>xm,nyn:()=>_m,om:()=>Em,or:()=>wm,os:()=>Cm,osa:()=>Sm,pa:()=>km,pap:()=>Tm,pcm:()=>Nm,pl:()=>Rm,prg:()=>Am,ps:()=>Om,pt:()=>Lm,pt_PT:()=>Mm,rm:()=>Pm,ro:()=>Im,rof:()=>Dm,ru:()=>zm,rwk:()=>$m,sah:()=>Fm,saq:()=>Bm,sat:()=>Hm,sc:()=>jm,scn:()=>Wm,sd:()=>Km,sdh:()=>Um,se:()=>Gm,seh:()=>Ym,ses:()=>Vm,sg:()=>Qm,sh:()=>qm,shi:()=>Xm,si:()=>Jm,sk:()=>Zm,sl:()=>eg,sma:()=>tg,smi:()=>ng,smj:()=>rg,smn:()=>og,sms:()=>ig,sn:()=>lg,so:()=>ag,sq:()=>sg,sr:()=>ug,ss:()=>cg,ssy:()=>dg,st:()=>fg,su:()=>pg,sv:()=>hg,sw:()=>mg,syr:()=>gg,ta:()=>vg,te:()=>bg,teo:()=>yg,th:()=>xg,ti:()=>_g,tig:()=>Eg,tk:()=>wg,tl:()=>Cg,tn:()=>Sg,to:()=>kg,tpi:()=>Tg,tr:()=>Ng,ts:()=>Rg,tzm:()=>Ag,ug:()=>Og,uk:()=>Lg,und:()=>Mg,ur:()=>Pg,uz:()=>Ig,ve:()=>Dg,vec:()=>zg,vi:()=>$g,vo:()=>Fg,vun:()=>Bg,wa:()=>Hg,wae:()=>jg,wo:()=>Wg,xh:()=>Kg,xog:()=>Ug,yi:()=>Gg,yo:()=>Yg,yue:()=>Vg,zh:()=>Qg,zu:()=>qg});var Uf=(e,t)=>t?"other":1==e?"one":"other",Gf=(e,t)=>t?"other":0==e||1==e?"one":"other",Yf=(e,t)=>t?"other":e>=0&&e<=1?"one":"other",Vf=(e,t)=>{const n=!String(e).split(".")[1];return t?"other":1==e&&n?"one":"other"},Qf=(e,t)=>"other",qf=(e,t)=>t?"other":1==e?"one":2==e?"two":"other",Xf=Uf,Jf=Gf,Zf=Yf,ep=Uf,tp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},np=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},rp=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",op=Uf,ip=Vf,lp=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return t?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||60==o||90==o?"many":"other":1==e?"one":"other"},ap=(e,t)=>1==e?"one":"other",sp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},up=Uf,cp=Uf,dp=Uf,fp=Gf,pp=Qf,hp=(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",mp=Qf,gp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),l=r&&n[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==l?"many":"other"},vp=Uf,bp=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},yp=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},xp=Uf,_p=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},Ep=Uf,wp=Uf,Cp=Uf,Sp=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},kp=(e,t)=>t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",Tp=(e,t)=>{const n=String(e).split("."),r=n[0],o=Number(n[0])==e;return t||1!=e&&(o||0!=r&&1!=r)?"other":"one"},Np=Vf,Rp=Yf,Ap=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-2),a=o.slice(-2);return t?"other":i&&1==l||1==a?"one":i&&2==l||2==a?"two":i&&(3==l||4==l)||3==a||4==a?"few":"other"},Op=Uf,Lp=Qf,Mp=Uf,Pp=Uf,Ip=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?1==i&&11!=l?"one":2==i&&12!=l?"two":3==i&&13!=l?"few":"other":1==e&&r?"one":"other"},Dp=Uf,zp=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e?"one":0!=r&&0==i&&o?"many":"other"},$p=Vf,Fp=Uf,Bp=Yf,Hp=(e,t)=>t?"other":e>=0&&e<2?"one":"other",jp=Vf,Wp=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},Kp=Uf,Up=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=r&&0==i&&o?"many":"other"},Gp=Uf,Yp=Vf,Vp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},Qp=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},qp=Vf,Xp=Uf,Jp=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",Zp=Gf,eh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=l&&20!=l&&40!=l&&60!=l&&80!=l?o?"other":"many":"few"},th=Uf,nh=Uf,rh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==r&&o||0==r&&!o?"one":2==r&&o?"two":"other"},oh=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",ih=Qf,lh=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},ah=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-2),a=o.slice(-2);return t?"other":i&&1==l||1==a?"one":i&&2==l||2==a?"two":i&&(3==l||4==l)||3==a||4==a?"few":"other"},sh=(e,t)=>t?1==e||5==e?"one":"other":1==e?"one":"other",uh=(e,t)=>t?1==e?"one":"other":e>=0&&e<2?"one":"other",ch=Vf,dh=Qf,fh=Qf,ph=Qf,hh=Vf,mh=(e,t)=>{const n=String(e).split("."),r=n[0],o=(n[1]||"").replace(/0+$/,""),i=Number(n[0])==e,l=r.slice(-1),a=r.slice(-2);return t?"other":i&&1==l&&11!=a||o%10==1&&o%100!=11?"one":"other"},gh=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},vh=qf,bh=Qf,yh=Qf,xh=Uf,_h=Uf,Eh=Qf,wh=Qf,Ch=(e,t)=>{const n=String(e).split(".")[0],r=n.slice(-2);return t?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==e?"one":"other"},Sh=(e,t)=>t?"other":e>=0&&e<2?"one":"other",kh=Uf,Th=Uf,Nh=Qf,Rh=Qf,Ah=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1);return t?6==o||9==o||r&&0==o&&0!=e?"many":"other":1==e?"one":"other"},Oh=Uf,Lh=Uf,Mh=Qf,Ph=Yf,Ih=Qf,Dh=Uf,zh=Uf,$h=(e,t)=>t?"other":0==e?"zero":1==e?"one":"other",Fh=Uf,Bh=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),l=r&&n[0].slice(-5),a=r&&n[0].slice(-6);return t?r&&e>=1&&e<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==e||5==o?"many":"other":0==e?"zero":1==e?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(l>=1e3&&l<=2e4||4e4==l||6e4==l||8e4==l)||0!=e&&1e5==a?"two":3==o||23==o||43==o||63==o||83==o?"few":1==e||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},Hh=Uf,jh=(e,t)=>{const n=String(e).split(".")[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},Wh=Uf,Kh=Uf,Uh=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e;return t?11==e||8==e||o&&e>=80&&e<=89||o&&e>=800&&e<=899?"many":"other":1==e&&r?"one":"other"},Gh=Qf,Yh=Gf,Vh=(e,t)=>t&&1==e?"one":"other",Qh=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?"other":1==i&&(l<11||l>19)?"one":i>=2&&i<=9&&(l<11||l>19)?"few":0!=r?"many":"other"},qh=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==l||a>=11&&a<=19||2==o&&s>=11&&s<=19?"zero":1==l&&11!=a||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},Xh=Uf,Jh=Gf,Zh=Uf,em=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?1==l&&11!=a?"one":2==l&&12!=a?"two":7!=l&&8!=l||17==a||18==a?"other":"many":i&&1==l&&11!=a||1==s&&11!=u?"one":"other"},tm=Uf,nm=Uf,rm=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},om=(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other",im=(e,t)=>t&&1==e?"one":"other",lm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-2);return t?"other":1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},am=Qf,sm=Uf,um=qf,cm=Uf,dm=Uf,fm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?r&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},pm=Vf,hm=Uf,mm=Uf,gm=Uf,vm=Qf,bm=Uf,ym=Gf,xm=Uf,_m=Uf,Em=Uf,wm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?1==e||5==e||r&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},Cm=Uf,Sm=Qf,km=Gf,Tm=Uf,Nm=Yf,Rm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(l<12||l>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&l>=12&&l<=14?"many":"other"},Am=(e,t)=>{const n=String(e).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-2),u=r.slice(-1);return t?"other":i&&0==l||a>=11&&a<=19||2==o&&s>=11&&s<=19?"zero":1==l&&11!=a||2==o&&1==u&&11!=s||2!=o&&1==u?"one":"other"},Om=Uf,Lm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":0==r||1==r?"one":0!=r&&0==i&&o?"many":"other"},Mm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},Pm=Uf,Im=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e&&n[0].slice(-2);return t?1==e?"one":"other":1==e&&r?"one":!r||0==e||1!=e&&o>=1&&o<=19?"few":"other"},Dm=Uf,zm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-1),l=r.slice(-2);return t?"other":o&&1==i&&11!=l?"one":o&&i>=2&&i<=4&&(l<12||l>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&l>=11&&l<=14?"many":"other"},$m=Uf,Fm=Qf,Bm=Uf,Hm=qf,jm=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},Wm=(e,t)=>{const n=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},Km=Uf,Um=Uf,Gm=qf,Ym=Uf,Vm=Qf,Qm=Qf,qm=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},Xm=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},Jm=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"";return t?"other":0==e||1==e||0==r&&1==o?"one":"other"},Zm=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1];return t?"other":1==e&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},eg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},tg=qf,ng=qf,rg=qf,og=qf,ig=qf,lg=Uf,ag=Uf,sg=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},ug=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=r.slice(-2),s=o.slice(-1),u=o.slice(-2);return t?"other":i&&1==l&&11!=a||1==s&&11!=u?"one":i&&l>=2&&l<=4&&(a<12||a>14)||s>=2&&s<=4&&(u<12||u>14)?"few":"other"},cg=Uf,dg=Uf,fg=Uf,pg=Qf,hg=(e,t)=>{const n=String(e).split("."),r=!n[1],o=Number(n[0])==e,i=o&&n[0].slice(-1),l=o&&n[0].slice(-2);return t?1!=i&&2!=i||11==l||12==l?"other":"one":1==e&&r?"one":"other"},mg=Vf,gg=Uf,vg=Uf,bg=Uf,yg=Uf,xg=Qf,_g=Gf,Eg=Uf,wg=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e&&n[0].slice(-1);return t?6==r||9==r||10==e?"few":"other":1==e?"one":"other"},Cg=(e,t)=>{const n=String(e).split("."),r=n[0],o=n[1]||"",i=!n[1],l=r.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=l&&6!=l&&9!=l||!i&&4!=a&&6!=a&&9!=a?"one":"other"},Sg=Uf,kg=Qf,Tg=Qf,Ng=Uf,Rg=Uf,Ag=(e,t)=>{const n=String(e).split("."),r=Number(n[0])==e;return t?"other":0==e||1==e||r&&e>=11&&e<=99?"one":"other"},Og=Uf,Lg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=Number(n[0])==e,l=i&&n[0].slice(-1),a=i&&n[0].slice(-2),s=r.slice(-1),u=r.slice(-2);return t?3==l&&13!=a?"few":"other":o&&1==s&&11!=u?"one":o&&s>=2&&s<=4&&(u<12||u>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&u>=11&&u<=14?"many":"other"},Mg=Qf,Pg=Vf,Ig=Uf,Dg=Uf,zg=(e,t)=>{const n=String(e).split("."),r=n[0],o=!n[1],i=r.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&o?"one":0!=r&&0==i&&o?"many":"other"},$g=(e,t)=>t&&1==e?"one":"other",Fg=Uf,Bg=Uf,Hg=Gf,jg=Uf,Wg=Qf,Kg=Uf,Ug=Uf,Gg=Vf,Yg=Qf,Vg=Qf,Qg=Qf,qg=Yf,Xg=class e{static configure(t,n=df){e.translations=t,e.language=xf(n),e.languageShort=yf(n),Cf(e.language),e.onTranslationsChangeListeners.forEach((e=>e())),e.i18nProvider=Sf,Sf.missingTranslation=e=>e,Sf.defaultSeparator=null,Sf.locale=e.language,Sf.translations={[e.language]:e.translationsPlurals};const r=e.languageShort.split("-")[0];Sf.pluralization[e.language]=e=>{try{const t=Kf[r](e),n=[t];return"few"!==t&&"many"!==t||n.push("other"),n}catch(t){switch(e){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}}}}static getWithKeys(t,n){var r;let o=null!=(r=e.translations[t])?r:t;return n&&Object.keys(n).length>0&&(o=wf(o,n)),o}static getPlural(t,n,r){return e.i18nProvider.t(t,((e,t)=>{for(var n in t||(t={}))of.call(t,n)&&af(e,n,t[n]);if(rf)for(var n of rf(t))lf.call(t,n)&&af(e,n,t[n]);return e})({count:n},r))}static append(t){Object.assign(e.translations,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static appendPlurals(t){Object.assign(e.translationsPlurals,t),e.onTranslationsChangeListeners.forEach((e=>e()))}static onTranslationsChange(t){return e.onTranslationsChangeListeners.push(t),()=>{e.onTranslationsChangeListeners.splice(e.onTranslationsChangeListeners.indexOf(t))}}};uf(Xg,"translations",{}),uf(Xg,"translationsPlurals",{}),uf(Xg,"language"),uf(Xg,"languageShort"),uf(Xg,"onTranslationsChangeListeners",[]),uf(Xg,"i18nProvider"),uf(Xg,"get",((e,...t)=>{var n;const r=_f(t);let o=null!=(n=Xg.translations[e])?n:e;return r.length>0&&(o=Ef(o,...r)),o}));var Jg=Xg;var Zg,ev,tv,nv=function(){const[e,t]=D.useState(0);return D.useEffect((()=>{const n=Jg.onTranslationsChange((()=>{t(e+1)}));return()=>{n()}}),[]),Jg.get},rv=Jg,ov={};var iv,lv,av,sv=function(){if(tv)return ev;tv=1;const e=function(){if(Zg)return ov;Zg=1;var e=Se(),t=C();return ov.AutoFocusPlugin=function({defaultSelection:n}){let[r]=e.useLexicalComposerContext();return t.useEffect((()=>{r.focus((()=>{let e=document.activeElement,t=r.getRootElement();null===t||null!==e&&t.contains(e)||t.focus({preventScroll:!0})}),{defaultSelection:n})}),[n,r]),null},ov}();return ev=e}(),uv={};var cv,dv,fv,pv,hv=function(){if(av)return lv;av=1;const e=function(){if(iv)return uv;iv=1;var e=Se(),t=C();function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var r="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;return uv.ContentEditable=function({ariaActiveDescendant:o,ariaAutoComplete:i,ariaControls:l,ariaDescribedBy:a,ariaExpanded:s,ariaLabel:u,ariaLabelledBy:c,ariaMultiline:d,ariaOwns:f,ariaRequired:p,autoCapitalize:h,className:m,id:g,role:v="textbox",spellCheck:b=!0,style:y,tabIndex:x,"data-testid":_,...E}){let[w]=e.useLexicalComposerContext(),[C,S]=t.useState(!1),k=t.useCallback((e=>{w.setRootElement(e)}),[w]);return r((()=>(S(w.isEditable()),w.registerEditableListener((e=>{S(e)})))),[w]),t.createElement("div",n({},E,{"aria-activedescendant":C?o:void 0,"aria-autocomplete":C?i:"none","aria-controls":C?l:void 0,"aria-describedby":a,"aria-expanded":C&&"combobox"===v?!!s:void 0,"aria-label":u,"aria-labelledby":c,"aria-multiline":d,"aria-owns":C?f:void 0,"aria-readonly":!C||void 0,"aria-required":p,autoCapitalize:h,className:m,contentEditable:C,"data-testid":_,id:g,ref:k,role:v,spellCheck:b,style:y,tabIndex:x}))},uv}();return lv=e}();function mv(){if(dv)return cv;dv=1;var e=C();function t(e,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,n)}var n={error:null},r=function(r){function o(){for(var e,t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return(e=r.call.apply(r,[this].concat(o))||this).state=n,e.resetErrorBoundary=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null==e.props.onReset||(t=e.props).onReset.apply(t,r),e.reset()},e}!function(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}(o,r),o.getDerivedStateFromError=function(e){return{error:e}};var i=o.prototype;return i.reset=function(){this.setState(n)},i.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},i.componentDidUpdate=function(e,t){var n,r,o=this.props.resetKeys;null!==this.state.error&&null!==t.error&&function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length!==t.length||e.some((function(e,n){return!Object.is(e,t[n])}))}(e.resetKeys,o)&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,o),this.reset())},i.render=function(){var t=this.state.error,n=this.props,r=n.fallbackRender,o=n.FallbackComponent;if(n=n.fallback,null!==t){if(t={error:t,resetErrorBoundary:this.resetErrorBoundary},e.isValidElement(n))return n;if("function"==typeof r)return r(t);if(o)return e.createElement(o,t);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},o}(e.Component);return cv=function({children:t,onError:n}){return e.createElement(r,{fallback:e.createElement("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"}},"An error was thrown."),onError:n},t)},cv}var gv,vv,bv,yv=m(function(){if(pv)return fv;pv=1;const e=mv();return fv=e}()),xv={},_v={};function Ev(){if(bv)return vv;bv=1;const e=function(){if(gv)return _v;gv=1;var e=re();function t(e,t=!0){return!e&&(e=n(),t&&(e=e.trim()),""===e)}function n(){return e.$getRoot().getTextContent()}function r(n){if(!t(n,!1))return!1;let r=(n=e.$getRoot().getChildren()).length;if(1<r)return!1;for(let t=0;t<r;t++){var o=n[t];if(e.$isDecoratorNode(o))return!1;if(e.$isElementNode(o)){if(!e.$isParagraphNode(o)||0!==o.__indent)return!1;let n=(o=o.getChildren()).length;for(let r=0;r<n;r++)if(!e.$isTextNode(o[t]))return!1}}return!0}return _v.$canShowPlaceholder=r,_v.$canShowPlaceholderCurry=function(e){return()=>r(e)},_v.$findTextIntersectionFromCharacters=function(t,n){var r=t.getFirstChild();t=0;e:for(;null!==r;){if(e.$isElementNode(r)){var o=r.getFirstChild();if(null!==o){r=o;continue}}else if(e.$isTextNode(r)){if(t+(o=r.getTextContentSize())>n)return{node:r,offset:n-t};t+=o}if(null===(o=r.getNextSibling())){for(r=r.getParent();null!==r;){if(null!==(o=r.getNextSibling())){r=o;continue e}r=r.getParent()}break}r=o}return null},_v.$isRootTextContentEmpty=t,_v.$isRootTextContentEmptyCurry=function(e,n){return()=>t(e,n)},_v.$rootTextContent=n,_v.registerLexicalTextEntity=function(t,n,r,o){let i=t=>{const n=e.$createTextNode(t.getTextContent());n.setFormat(t.getFormat()),t.replace(n)},l=t.registerNodeTransform(e.TextNode,(t=>{if(t.isSimpleText()){var l=t.getPreviousSibling(),a=t.getTextContent(),s=t;if(e.$isTextNode(l)){var u=l.getTextContent(),c=n(u+a);if(l instanceof r){if(null===c||0!==l.getLatest().__mode)return void i(l);if(0<(c=c.end-u.length))return s=u+(s=a.slice(0,c)),l.select(),l.setTextContent(s),void(c===a.length?t.remove():(l=a.slice(c),t.setTextContent(l)))}else if(null===c||c.start<u.length)return}for(;;){if(a=c=null===(t=n(a))?"":a.slice(t.end),""===c){if(u=s.getNextSibling(),e.$isTextNode(u)){if(c=s.getTextContent()+u.getTextContent(),null===(c=n(c))){u instanceof r?i(u):u.markDirty();break}if(0!==c.start)break}}else if(null!==(u=n(c))&&0===u.start)break;if(null===t)break;if(0===t.start&&e.$isTextNode(l)&&l.isTextEntity())continue;let d;if(0===t.start?[d,s]=s.splitText(t.end):[,d,s]=s.splitText(t.start,t.end),(t=o(d)).setFormat(d.getFormat()),d.replace(t),null==s)break}}}));return t=t.registerNodeTransform(r,(t=>{var o=t.getTextContent();const l=n(o);null===l||0!==l.start?i(t):o.length>l.end?t.splitText(l.end):(o=t.getPreviousSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),i(t)),o=t.getNextSibling(),e.$isTextNode(o)&&o.isTextEntity()&&(i(o),t instanceof r&&i(t)))})),[l,t]},_v}();return vv=e}var wv,Cv,Sv,kv,Tv,Nv,Rv={};function Av(){if(Sv)return Cv;Sv=1;const e=function(){if(wv)return Rv;wv=1;var e=re();return Rv.registerDragonSupport=function(t){let n=window.location.origin,r=r=>{if(r.origin===n){var o=t.getRootElement();if(document.activeElement===o&&"string"==typeof(o=r.data)){try{var i=JSON.parse(o)}catch(e){return}if(i&&"nuanria_messaging"===i.protocol&&"request"===i.type&&(i=i.payload)&&"makeChanges"===i.functionId&&(i=i.args)){const[n,o,l,a,s]=i;t.update((()=>{const t=e.$getSelection();if(e.$isRangeSelection(t)){var i=t.anchor;let u=i.getNode(),c=0,d=0;e.$isTextNode(u)&&0<=n&&0<=o&&(c=n,d=n+o,t.setTextNodeRange(u,c,u,d)),c===d&&""===l||(t.insertRawText(l),u=i.getNode()),e.$isTextNode(u)&&(c=a,d=a+s,c=c>(i=u.getTextContentSize())?i:c,d=d>i?i:d,t.setTextNodeRange(u,c,u,d)),r.stopImmediatePropagation()}}))}}}};return window.addEventListener("message",r,!0),()=>{window.removeEventListener("message",r,!0)}},Rv}();return Cv=e}function Ov(){if(kv)return xv;kv=1;var e=Se(),t=kt(),n=C(),r=Ev(),o=le(),i=P(),l=Av(),a=ft(),s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function u(e){return e.getEditorState().read(r.$canShowPlaceholderCurry(e.isComposing()))}function c({content:r}){var[i]=e.useLexicalComposerContext();i=function(e){let[t,r]=n.useState((()=>u(e)));return s((()=>{function t(){let t=u(e);r(t)}return t(),o.mergeRegister(e.registerUpdateListener((()=>{t()})),e.registerEditableListener((()=>{t()})))}),[e]),t}(i);let l=t();return i?"function"==typeof r?r(l):r:null}return xv.RichTextPlugin=function({contentEditable:t,placeholder:r,ErrorBoundary:u}){let[d]=e.useLexicalComposerContext();return u=function(e,t){let[r,o]=n.useState((()=>e.getDecorators()));return s((()=>e.registerDecoratorListener((e=>{i.flushSync((()=>{o(e)}))}))),[e]),n.useEffect((()=>{o(e.getDecorators())}),[e]),n.useMemo((()=>{let o=[],l=Object.keys(r);for(let a=0;a<l.length;a++){let s=l[a],u=n.createElement(t,{onError:t=>e._onError(t)},n.createElement(n.Suspense,{fallback:null},r[s])),c=e.getElementByKey(s);null!==c&&o.push(i.createPortal(u,c,s))}return o}),[t,r,e])}(d,u),function(e){s((()=>o.mergeRegister(a.registerRichText(e),l.registerDragonSupport(e))),[e])}(d),n.createElement(n.Fragment,null,t,n.createElement(c,{content:r}),u)},xv}var Lv=function(){if(Nv)return Tv;Nv=1;const e=Ov();return Tv=e}();function Mv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Mv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m2.604 7.672-.276.96h2.004l-.276-.96a42 42 0 0 1-.372-1.284L3.348 5.08H3.3q-.156.66-.336 1.32-.168.648-.36 1.272m-2.628 4.176L2.532 4h1.632l2.556 7.848H5.256l-.612-2.124h-2.64l-.612 2.124zm9.23.144q-.768 0-1.26-.48-.48-.48-.48-1.248 0-.948.828-1.464.828-.528 2.64-.72a1.4 1.4 0 0 0-.252-.804q-.228-.348-.828-.348-.432 0-.852.168-.408.168-.804.408l-.504-.924a6 6 0 0 1 1.104-.54 3.8 3.8 0 0 1 1.32-.228q1.104 0 1.644.66.552.648.552 1.884v3.492h-1.14l-.096-.648h-.048a4.3 4.3 0 0 1-.852.564q-.444.228-.972.228m.444-1.08q.36 0 .648-.168.3-.18.636-.48v-1.32q-1.2.156-1.668.468-.468.3-.468.744 0 .396.24.576t.612.18M14 1h1v14h-1zm-1 0h3v1h-3zm0 13h3v1h-3z"})),Iv=D.forwardRef(Pv);function Dv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Dv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M0 1h16v2H0zm15 4v2H1V5zM0 11V9h16v2zm3 4v-2h10v2z"}),z.createElement("use",{transform:"matrix(-1 0 0 1 16 0)"})),$v=D.forwardRef(zv);function Fv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Bv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Fv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M0 1h15v2H0zm13 4v2H0V5zM0 11V9h16v2zm0 4v-2h10v2z"})),Hv=D.forwardRef(Bv);function jv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Wv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){jv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M16 1v2H1V1zM3 5h13v2H3zm13 6H0V9h16zm0 4H6v-2h10z"})),Kv=D.forwardRef(Wv);function Uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Gv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Uv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})),Yv=D.forwardRef(Gv);function Vv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Vv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M1.5 10a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 1 1 0-1.5zM1.5 3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m13.75.75a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1 0-1.5z"})),qv=D.forwardRef(Qv);function Xv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Jv=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Xv(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M5 13v1.382L7.764 13H14a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1zm-1 3v-2H2a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8zM4 6v1h8V6zm0 3v1h7V9z"})),Zv=D.forwardRef(Jv);function eb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const tb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){eb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M2.05 9q.371 0 .72.09.349.088.623.275.273.185.436.467t.163.66a1.38 1.38 0 0 1-.284.86q-.133.179-.304.334l-.173.154-.18.152-1.245 1.004H4V14H.114v-.963l2.095-1.72.123-.115q.114-.116.196-.235a.7.7 0 0 0 .121-.399.54.54 0 0 0-.182-.423q-.183-.162-.486-.162a.7.7 0 0 0-.52.203.83.83 0 0 0-.217.406l-.022.127L0 10.57l.031-.181q.06-.264.193-.48.179-.29.452-.492a2 2 0 0 1 .626-.31q.352-.105.747-.106m13.2 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5zM3 2v5H1.698V3.328l-1.024.72L0 3.208 1.806 2zm12.25 1.75a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5z"})),nb=D.forwardRef(tb);function rb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ob=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){rb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M5.52 11.938 4.5 15H1L6.425 1h3.238L15 15h-3.5l-1.02-3.062zm.73-2.188h3.5L8 4.5z"})),ib=D.forwardRef(ob);function lb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ab=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){lb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M9.034 14.99V15H3V1h6.034v.034Q9.246 1 9.466 1c1.666 0 3.017 1.522 3.017 3.4 0 1.376-.726 2.562-1.77 3.097C12.056 8.083 13 9.475 13 11.1c0 2.154-1.66 3.9-3.707 3.9q-.13 0-.259-.01M5.586 3.5v3.2h2.71a1.6 1.6 0 1 0 0-3.2zm0 5.5v3.8H8.86a1.9 1.9 0 0 0 0-3.8z"}),z.createElement("use",{fillRule:"evenodd"})),sb=D.forwardRef(ab);function ub(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const cb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ub(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M4.145 0h1.71l2.391 6.833-.785.784L7.245 7h-4.49l-1.283 3.665-.944-.33zm-1.04 6h3.79l-1.75-5h-.29zm9.066-.321a1 1 0 0 0-1.414 0l-6.364 6.364a1 1 0 0 0 0 1.414l2.25 2.25A1 1 0 0 0 7.35 16h6.471v-1h-3.114l4.686-4.686a1 1 0 0 0 0-1.414zm-2.2 8.643L9.293 15H7.35L5.1 12.75l1.65-1.65zm.707-.708-3.22-3.221 4.006-4.007 3.222 3.221z"})),db=D.forwardRef(cb);function fb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M8.5 0a7.99 7.99 0 0 1 6.34 3.12c1.167 1.514 1.714 3.535 1.268 5.395-.444 1.85-1.776 2.609-3.192 2.897a7 7 0 0 1-1.24.113l-.683.012c-.681.018-1.276.086-1.653.484-.577.511-.487.996-.255 1.464l.106.2.281.49c.259.484.383.957-.253 1.43-.435.324-1 .408-1.54.353A8.001 8.001 0 0 1 8.5 0m0 1a7 7 0 0 0-.315 13.993.54.54 0 0 0 .235-.063c.166-.09.182-.272.088-.437-.084-.146-.175-.29-.254-.438a3 3 0 0 1-.297-.758 1.94 1.94 0 0 1 .05-1.06c.124-.365.35-.674.64-.937.519-.525 1.201-.68 1.765-.733l.294-.02.344-.012.389-.007c.466-.006.862-.011 1.278-.096.855-.174 1.538-.52 1.971-1.128q.091-.126.173-.28c1-1.887.164-4.339-1.317-5.878A6.98 6.98 0 0 0 8.5 1m-4 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4M13 6.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2m-1-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2M8 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"})),hb=D.forwardRef(pb);function mb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const gb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){mb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M14 5H2V3h12zm-9 8H2V6h3zm1 0V6h4v7zm5 0V6h3v7zM0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm1 0v12h14V2z"})),vb=D.forwardRef(gb);function bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){bb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m10.927 1.255-3.886 13.6A.2.2 0 0 1 6.85 15H5.265a.2.2 0 0 1-.192-.255l3.886-13.6A.2.2 0 0 1 9.15 1h1.584a.2.2 0 0 1 .192.255"})),xb=D.forwardRef(yb);function _b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Eb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_b(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"m9.354 7.146-.708.708a2.33 2.33 0 0 0-3.292 0l-2.75 2.75a1.975 1.975 0 0 0 2.792 2.793l2.75-2.75.708.707-2.75 2.75a2.975 2.975 0 0 1-4.208-4.208l2.75-2.75a3.33 3.33 0 0 1 4.708 0m4.75-5.25a2.975 2.975 0 0 1 0 4.208l-2.75 2.75a3.33 3.33 0 0 1-4.708 0l.708-.708c.909.91 2.383.91 3.292 0l2.75-2.75a1.975 1.975 0 1 0-2.793-2.792l-2.75 2.75-.707-.708 2.75-2.75a2.975 2.975 0 0 1 4.207 0Z"})),wb=D.forwardRef(Eb);function Cb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Sb=(e,t)=>z.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Cb(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),z.createElement("path",{d:"M13 1v7.059c0 1.714-.364 2.924-1.273 3.73C10.91 12.598 9.455 13 8 13c-1.545 0-3-.403-3.818-1.21C3.455 10.983 3 9.773 3 8.059V1h2.455v7.059c0 .302 0 .706.09 1.008.091.303.182.605.364.807s.364.504.727.605c.273.1.91.202 1.455.202.909 0 1.727-.202 2-.706.364-.404.454-1.11.454-2.017V1zM3 14h10v1H3z"})),kb=D.forwardRef(Sb),Tb=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,Nb=[e=>{const t=Tb.exec(e);if(null===t)return null;const n=t[0];return{index:t.index,length:n.length,text:n,url:n.startsWith("http")?n:`https://${n}`,attributes:{target:"_blank"}}},wt.createLinkMatcherWithRegExp(/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,(e=>`mailto:${e}`))];function Rb(){return D.createElement(wt.AutoLinkPlugin,{matchers:Nb})}const Ab=()=>{const[e]=Ct.useLexicalComposerContext(),t=Tt(),n=D.useCallback((n=>{for(const[r,o]of n)"updated"!==o&&"created"!==o||e.getEditorState().read((()=>{const n=t?"pointer":"",o=e.getElementByKey(r);o&&(o.style.cursor=n)}))}),[t,e]);return D.useEffect((()=>Nt.mergeRegister(e.registerMutationListener(de.LinkNode,(e=>{n(e)})),e.registerMutationListener(de.AutoLinkNode,(e=>{n(e)})),e.registerCommand(Rt.CLICK_COMMAND,(t=>(t.metaKey&&t.target&&e.getEditorState().read((()=>{const e=Rt.$getSelection();let t;if(Rt.$isRangeSelection(e)&&(t=e.focus.getNode().getParent()),Rt.$isNodeSelection(e)&&(t=e.getNodes()[0]),de.$isAutoLinkNode(t)||de.$isLinkNode(t)){const e=t.getURL();setTimeout((()=>{const t=window.open(e,"_blank");null==t||t.focus()}),0)}})),!1)),Rt.COMMAND_PRIORITY_EDITOR))),[e,n]),null};function Ob(e){const{anchor:t,focus:n}=e,r=t.getNode(),o=n.getNode();return r===o?r:e.isBackward()?At.$isAtNodeEnd(n)?r:o:At.$isAtNodeEnd(t)?r:o}const Lb=new Set(["http:","https:","mailto:","sms:","tel:"]),Mb=e=>{const t=e;return t.password="",t.username="",t};function Pb(e){try{const t=new URL(e);return Lb.has(t.protocol)?{url:Mb(t).toString(),target:"_blank"}:{url:"about:blank"}}catch(t){return{url:e,target:"_blank"}}}const Ib=/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)/;function Db(e){return"https://"===e||Ib.test(e)}const zb=sa(dd)((({theme:e})=>({background:e.palette.common.white,display:"flex",alignItems:"center",padding:e.spacing(1)}))),$b=({anchorEl:e,link:t,onChanged:n,onOpened:r})=>{const o=Boolean(e),i=D.useRef(null),[l,a]=D.useState(t);D.useEffect((()=>{a(t)}),[t]);const s=D.useCallback((()=>{n(l),window.open(Pb(l).url,"_blank"),r()}),[l,r,n]),u=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(l)}),[l,n]),c=D.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),n(l))}),[l,n]),d=D.useCallback((e=>{e.preventDefault(),a(e.currentTarget.value)}),[]);return z.createElement(Zu,{open:o,anchorEl:e,placement:"bottom-start",sx:{zIndex:1},transition:!0},(({TransitionProps:e})=>z.createElement(Oc,{...e},z.createElement(_u,{className:"tekPopperMenu"},z.createElement(zb,{direction:"row"},z.createElement(uc,{ref:i,placeholder:t,margin:"dense",size:"small",value:l,onChange:d,onKeyDown:c}),z.createElement(Ku,{onClick:s},z.createElement(hd,null)),z.createElement(Ku,{onClick:u},z.createElement(vd,null)))))))},Fb=()=>{const[e]=Ct.useLexicalComposerContext(),t=Tt(),[n,r]=D.useState(null),[o,i]=D.useState(""),l=D.useRef(!1),a=D.useCallback((()=>{if(l.current)return l.current=!1,!1;const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=Ob(t),o=n.getParent();if(de.$isAutoLinkNode(o)||de.$isAutoLinkNode(n))return r(null),i(""),!1;let l;if(de.$isLinkNode(o)&&(l=o),de.$isLinkNode(n)&&(l=n),de.$isLinkNode(l)){const t=e.getElementByKey(null==l?void 0:l.getKey());return i(l.getURL()),r(t),!0}r(null),i("")}return!1}),[e]),s=D.useCallback((t=>{l.current=!0,e.update((()=>{e.dispatchCommand(de.TOGGLE_LINK_COMMAND,Pb(t))}),{onUpdate:()=>{r(null)}})}),[e]),u=D.useCallback((()=>{r(null)}),[]);return D.useEffect((()=>Nt.mergeRegister(e.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>a()),Rt.COMMAND_PRIORITY_LOW),e.registerCommand(Rt.CLICK_COMMAND,(()=>a()),Rt.COMMAND_PRIORITY_LOW))),[e,a]),t?z.createElement($b,{anchorEl:n,link:o,onChanged:s,onOpened:u}):null};function Bb(){return D.createElement(Ed.LinkPlugin,{validateUrl:Db})}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('.tek__editor__container {\n color: #000;\n position: relative;\n line-height: 1.25;\n font-weight: 400;\n text-align: left;\n resize: none;\n height: 100%;\n overflow-y: auto;\n}\n.tek__editor__container {\n -ms-overflow-style: none; /* Internet Explorer and Edge */\n scrollbar-width: none; /* Firefox */\n}\n.tek__editor__container::-webkit-scrollbar {\n display: none;\n}\n\n.tek__editor__container__scrollbar:hover {\n -ms-overflow-style: auto;\n scrollbar-width: thin;\n scrollbar-color: lightgray transparent;\n}\n.tek__editor__container__scrollbar:hover::-webkit-scrollbar {\n display: block;\n}\n\n.tek__editor__Wrapper {\n position: relative;\n background-color: transparent;\n flex: 1;\n height: 100%;\n}\n\n.tek__editor__input {\n font-size: 16px;\n caret-color: rgb(5, 5, 5);\n position: relative;\n tab-size: 1;\n outline: 0;\n caret-color: #444;\n min-height: 0px;\n color: #404040;\n display: block;\n background-color: transparent;\n}\n\n.tek__editor__placeholder {\n color: #999;\n overflow: hidden;\n position: absolute;\n text-overflow: ellipsis;\n top: 0px;\n left: 0px;\n font-size: 16px;\n user-select: none;\n display: inline-block;\n pointer-events: none;\n}\n\n.tek__editor__logo {\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n color: #999;\n overflow: hidden;\n}\n\n.tek__editor__paragraph {\n margin: 0 0 0 0;\n position: relative;\n cursor: auto;\n}\n\n.tek__ltr {\n text-align: left;\n}\n\n.tek__rtl {\n text-align: right;\n}\n\n.tek__h1 {\n font-size: 28px;\n color: rgb(5, 5, 5);\n font-weight: bold;\n margin: 0px 0px 0.5em;\n}\n.tek__h2 {\n font-size: 16px;\n color: rgb(101, 103, 107);\n font-weight: 700;\n margin: 0px 0px 0.25em;\n text-transform: uppercase;\n}\n.tek__h3 {\n font-size: 12px;\n text-transform: uppercase;\n margin: 0px 0px 0.25em;\n}\n\n.tek__textBase {\n -webkit-user-select: text;\n user-select: text;\n}\n\n.tek__textBold {\n font-weight: bold;\n}\n\n.tek__textItalic {\n font-style: italic;\n}\n\n.tek__textUnderline {\n text-decoration: underline;\n}\n\n.tek__ol1 {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__ol2 {\n padding: 0;\n margin: 0;\n list-style-type: upper-alpha;\n list-style-position: inside;\n}\n.tek__ol3 {\n padding: 0;\n margin: 0;\n list-style-type: lower-alpha;\n list-style-position: inside;\n}\n.tek__ol4 {\n padding: 0;\n margin: 0;\n list-style-type: upper-roman;\n list-style-position: inside;\n}\n.tek__ol5 {\n padding: 0;\n margin: 0;\n list-style-type: lower-roman;\n list-style-position: inside;\n}\n.tek__ul {\n padding: 0;\n margin: 0;\n list-style-position: inside;\n}\n.tek__listItem {\n margin: 0 12px;\n}\n.tek__nestedListItem {\n list-style-type: none;\n}\n.tek__nestedListItem:before,\n.tek__nestedListItem:after {\n display: none;\n}\n\n.tek__quote {\n margin: 0;\n margin-left: 12px;\n margin-bottom: 10px;\n font-size: 15px;\n color: rgb(101, 103, 107);\n border-left-color: rgb(206, 208, 212);\n border-left-width: 4px;\n border-left-style: solid;\n padding-left: 16px;\n}\n\n.tek__table {\n border-collapse: collapse;\n border-spacing: 0;\n table-layout: fixed;\n position: relative;\n margin-top: 8px;\n margin-bottom: 8px;\n padding: 0;\n overflow: hidden;\n}\n\n.tek__tableCell {\n border: 1px solid rgb(206, 208, 212);\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n line-height: 1.25;\n}\n\n.tek__tableCellNoBorder {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__tableCellNoBorderEditMode {\n border: none;\n background: transparent;\n vertical-align: center;\n text-align: start;\n padding: 6px 8px;\n position: relative;\n cursor: default;\n outline: none;\n margin: 8px;\n}\n\n.tek__resizer {\n position: absolute;\n width: 6px;\n right: 0;\n top: 0;\n bottom: 0;\n cursor: col-resize;\n user-select: none;\n background-color: #009845;\n pointer-events: all;\n z-index: 2;\n opacity: 0;\n transition: opacity 0.3s ease; /* Transition effect */\n transform: translate(-3px, 0);\n}\n.tek__resizer:hover {\n opacity: 0.2;\n}\n\n.tek__resizeContainer {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 100%;\n z-index: 1;\n user-select: none;\n pointer-events: none;\n margin: 0;\n padding: 0;\n}\n\n.tek__tableActionButton {\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n background-color: "white";\n user-select: none;\n}\n\n.tek__tekCellHighlight {\n background-color: rgba(100, 149, 237, 0.1);\n}\n\n.tek__resizeIndicatorDisplay {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n background-color: #54565a;\n color: white;\n text-align: center;\n font-size: 12px;\n padding: 2px;\n overflow: hidden;\n border-radius: 4px;\n width: 48px;\n height: 16px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n}\n\n.tek__leftResizerIndicator {\n left: -54px;\n}\n\n.tek__rightResizerIndicator {\n right: -54px;\n}\n');const Hb=({children:e})=>z.createElement(ca,{theme:Jd()},e),jb={namespace:"text-editor-kit",theme:{ltr:"tek__ltr",rtl:"tek__rtl",paragraph:"tek__editor__paragraph",placeholder:"text_editor__placeholder",quote:"tek__quote",table:"tek__table",tableCell:"tek__tableCell",heading:{h1:"tek__h1",h2:"tek__h2",h3:"tek__h3"},text:{base:"tek__textBase",bold:"tek__textBold",italic:"tek__textItalic",underline:"tek__textUnderline"},list:{listitem:"tek__listItem",nested:{listitem:"tek__nestedListItem"},olDepth:["tek__ol1","tek__ol2","tek__ol3","tek__ol4","tek__ol5"],ul:"tek__ul"}},nodes:[gt.HeadingNode,gt.QuoteNode,_e.ListNode,_e.ListItemNode,de.LinkNode,de.AutoLinkNode],onError:e=>{console.log(e)}},Wb=({children:e,initialConfig:t,flags:n})=>z.createElement(Hb,null,z.createElement("div",{className:"tek__editor__Wrapper"},z.createElement(Me.LexicalComposer,{initialConfig:t||jb},z.createElement("div",{className:"tek__editor__container"+((null==n?void 0:n.isEnabled("QB_26358_SN_TEXT_SCROLLBAR"))?" tek__editor__container__scrollbar":"")},e,z.createElement(Ye.ListPlugin,null),z.createElement(it.TabIndentationPlugin,null),z.createElement(Bb,null),z.createElement(Rb,null),z.createElement(Fb,null),z.createElement(Ab,null),z.createElement(He.HistoryPlugin,null)))));class Kb extends Rt.ElementNode{static getType(){return"TekCellNode"}static clone(e){return new Kb(e.__hasBorders,e.__key)}static importJSON(e){return new Kb(void 0===e.hasBorders||e.hasBorders)}constructor(e,t){super(t),this.__hasBorders=e}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,type:"TekCellNode",version:1}}createDOM(e,t){const n=document.createElement("td");return n.classList.add(e.theme.tableCell||""),this.__hasBorders||(t.isEditable()?n.classList.add("tek__tableCellNoBorderEditMode"):n.classList.add("tek__tableCellNoBorder")),n}updateDOM(e,t){return this.__hasBorders?t.classList.remove("tek__tableCellNoBorder"):t.classList.add("tek__tableCellNoBorder"),this.__hasBorders!==e.__hasBorders}isShadowRoot(){return!0}collapseAtStart(){return!0}canBeEmpty(){return!1}canIndent(){return!1}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}}const Ub=e=>new Kb(e),Gb=e=>e instanceof Kb;class Yb extends Rt.ElementNode{static getType(){return"TekTableNode"}static clone(e){return new Yb(e.__hasBorders,e.__width,e.__key)}static importJSON(e){const t=void 0===e.hasBorders||e.hasBorders,n=void 0===e.width?"100%":e.width;return new Yb(t,n)}constructor(e,t,n){super(n),this.__needsUpdate=!1,this.__hasBorders=e,this.__width=t}exportJSON(){return{...super.exportJSON(),hasBorders:this.__hasBorders,width:this.__width,type:"TekTableNode",version:1}}createDOM(e){const t=document.createElement("table");return t.classList.add(e.theme.table||""),t.style.width=this.__width,t}updateDOM(e){const t=this.__needsUpdate;try{!0===e.__needsUpdate&&(this.getWritable().__needsUpdate=!1)}catch(e){}return t||this.__width!==e.__width}markNeedsUpdate(){this.getWritable().__needsUpdate=!0}canBeEmpty(){return!1}canExtractContents(){return!1}isShadowRoot(){return!0}canSelectBefore(){return!0}canIndent(){return!1}getResizeNode(){return this.getChildAtIndex(1)}toggleBorders(){this.getWritable().__hasBorders=!this.__hasBorders}setWidth(e){this.getWritable().__width=e}isValid(){const e=this.getChildren();return!(e.length<3)&&"TekColGroupNode"===e[0].getType()&&"TEK_TABLE_RESIZE_NODE"===e[1].getType()&&"TekRowNode"===e[2].getType()}}function Vb(e){return e instanceof Yb}class Qb extends Rt.ElementNode{static getType(){return"TekRowNode"}static clone(e){return new Qb(e.__key)}static importJSON(){return new Qb}exportJSON(){return{...super.exportJSON(),type:"TekRowNode",version:1}}createDOM(){return document.createElement("tr")}updateDOM(){return!1}isShadowRoot(){return!0}canBeEmpty(){return!1}canIndent(){return!1}}function qb(e){return e instanceof Qb}const Xb=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),Gb(t))return t;return null},Jb=e=>{let t=e;for(;null!==t;){if(Vb(t))return t;t=null==t?void 0:t.getParent()}return null},Zb=(e,t)=>{const n=Jb(e);if(n){const e=t.getElementByKey(n.getKey());if(e)return e}return null},ey=e=>null==e?void 0:e.getChildAtIndex(2),ty=e=>{const t=e.getParent();if(qb(t)){const n=t.getChildren();for(let t=0;t<n.length;t++)if(n[t]===e)return t}return-1},ny=(e,t)=>e?.01*parseFloat(e.getAttribute("width")||"0")*t.offsetWidth:0,ry=(e,t)=>{const n=e/t.offsetWidth;return`${Math.min(100*n,100).toFixed(2)}%`},oy=e=>{if(!e)return[];return e.getChildren().filter((e=>qb(e)))},iy=e=>{let t=!1;return oy(e).forEach((e=>{e.getChildren().forEach((e=>{const n=e;n.clear(),n.append(Rt.$createParagraphNode()),t=!0}))})),t},ly=e=>{var t;const n=Rt.$getSelection();if(Rt.$isRangeSelection(n)||Rt.$isNodeSelection(n)){const r=n.getNodes().filter((e=>Gb(e)));if(r.length>0){e.preventDefault(),e.stopPropagation();const o=n.getNodes().some((e=>Vb(e))),i=Jb(r[0]),l=oy(i);if((null===(t=l[0])||void 0===t?void 0:t.getChildren()).length*l.length===r.length&&o)return null==i||i.selectPrevious(),null==i||i.remove(),!1;if(Rt.$isRangeSelection(n)){const e=n.focus.getNode();if(Vb(e))return iy(e)}return r.forEach((e=>{e.clear(),e.append(Rt.$createParagraphNode())})),(()=>{const e=Rt.$getSelection();let t=!1;if(Rt.$isRangeSelection(e)){const n=e.anchor.getNode(),r=e.focus.getNode();let o=Jb(n);!o&&Vb(r)&&(o=r),Vb(o)&&(t=iy(o))}return t})()}if(Rt.$isRangeSelection(n)){const e=n.focus.getNode();if(Vb(e))return iy(e)}}return!1},ay=e=>{if(e){const t=Jb(e);if(Vb(t)){const n=e.getParent(),r=oy(t).findIndex((e=>e===n));return{i:r,j:null==n?void 0:n.getChildren().findIndex((t=>t===e)),tableNode:t,row:n}}}return{i:0,j:0,tableNode:null,row:null}},sy=e=>{let t=e;for(;null!==t;)if(t=t.getParent(),Gb(t))return t;return null},uy=e=>{const t=[];return oy(e).forEach((e=>{const n=e.getChildren();t.push(...n)})),t},cy=(e,t)=>{uy(e).forEach((e=>{const n=t.getElementByKey(e.getKey());null==n||n.classList.add("tek__tekCellHighlight")}))},dy=Rt.createCommand("UPDATE_COL_WIDTHS_COMMAND"),fy=Rt.createCommand("BEGIN_COL_RESIZE"),py=Rt.createCommand("END_COL_RESIZE"),hy=Rt.createCommand("INSERT_TEK_TABLE_COMMAND"),my=({colKey:e,startX:t,onMouseDown:n})=>{const r=D.useCallback((t=>{n(t,e)}),[e,n]);return z.createElement("div",{role:"button","aria-label":"resize",tabIndex:-1,className:"tek__resizer",style:{left:`${t}%`},onMouseDown:r})},gy=(e,t)=>{const n=document.createElement("div");return n.classList.add("tek__resizeIndicatorDisplay"),n.classList.add(e),n.id=t,n},vy=e=>`${parseFloat(e.getAttribute("width")||"0").toFixed(2)}%`,by=({nodeKey:e,colWidths:t})=>{const[n]=Ct.useLexicalComposerContext(),r=Tt(),[o,i]=D.useState(null),l=D.useRef(null),a=D.useRef(null),s=D.useRef(null),u=D.useRef(null),c=D.useCallback((t=>{const n=Rt.$getNodeByKey(e);if(n){const e=n.getParent();if(Vb(e)){const n=ey(e);if("TekRowNode"===(null==n?void 0:n.getType())){const e=n.getChildren(),r=[];let o=0;e.forEach(((e,n)=>{const i=parseFloat(t[n]);o+=i,r.push({key:e.getKey(),startX:o})})),i(r)}}}}),[e]),d=D.useCallback((e=>{if(l.current){const{clientX:t,col:n,tableElement:r,curColWidth:o,resizer:i,left:a,nxt:c,parentDomNode:d,currentTableWidth:f}=l.current,p=e.clientX-t,h=ry(a+p,r);if(c){const e=o+p;if(e<60)return;const t=ry(e,r),a=l.current.nxtColWidth-p,d=ry(a,r);if(a<60)return;n.setAttribute("width",t),c.setAttribute("width",d),i.style.left=h,s.current&&(s.current.innerText=t),u.current&&(u.current.innerText=d)}else if(d){i.style.left="100%";const e=f+p,{clampedWidths:t,fullyClamped:n,clampedTableWidth:o}=((e,t)=>{const n=[],r=e.rows[0];let o=0,i=0;for(let e=0;e<r.cells.length;e++){const l=Math.max(r.cells[e].offsetWidth,60);60===l&&o++,i+=l;const a=l/t,s=Math.min(100*a,100);n.push(`${s.toFixed(2)}%`)}return{clampedWidths:n,fullyClamped:o===r.cells.length,clampedTableWidth:i}})(r,e),l=ry(e,d),a=ry(o,d);r.style.width=!n||p>0?l:a,r.querySelectorAll(":scope > colgroup col").forEach(((e,n)=>{e.setAttribute("width",t[n])})),n||s.current&&(s.current.innerText=l)}}}),[]),f=D.useCallback((()=>{if(document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",f),l.current){l.current.resizer.style.opacity="",s.current=null,u.current=null;const e=(e=>{const t=e.rows[0],n=[];for(let r=0;r<t.cells.length;r++){const o=Math.max(t.cells[r].offsetWidth,60);n.push(ry(o,e))}return n})(l.current.tableElement);l.current.tableElement.querySelectorAll(":scope > colgroup col").forEach(((t,n)=>{t.setAttribute("width",e[n])})),(e=>{const t=document.getElementById("leftGripper"),n=document.getElementById("rightGripper");t&&e.removeChild(t),n&&e.removeChild(n)})(l.current.resizer),n.dispatchCommand(py,void 0)}l.current=null,a.current=null,n.update((()=>{const t=Rt.$getNodeByKey(e),r=Zb(t,n),l=null==t?void 0:t.getParent();if(r&&l){const t=r.querySelectorAll(":scope > colgroup col"),a=[];t.forEach((e=>{a.push(e.getAttribute("width")||"0")})),l.setWidth(r.style.width);let s=0;if(o){const e=o.map(((e,t)=>{const n={...e};return s+=parseFloat(a[t]),n.startX=s,n}));i(e)}n.dispatchCommand(dy,{colWidths:a,nodeKey:e})}}))}),[d,n,e,o]),p=D.useCallback(((e,t)=>{e.preventDefault(),e.stopPropagation(),document.addEventListener("mousemove",d,{passive:!0}),document.addEventListener("mouseup",f),n.getEditorState().read((()=>{const r=Rt.$getNodeByKey(t),o=Zb(r,n);if(Gb(r)){const t=ty(r);if(-1!==t&&o){const r=null==o?void 0:o.querySelectorAll(":scope > colgroup col"),i=r[t],a=r.length>t+1?r[t+1]:null,c=ny(i,o),d=e.target,f=.01*parseFloat(d.style.left),p=o.offsetWidth*f,h=ny(a,o),m=o.parentElement,g=.01*parseFloat(o.style.width),v=((null==m?void 0:m.offsetWidth)||0)*g,b=((e,t,n)=>{const r=gy("tek__leftResizerIndicator","leftGripper");r.innerText=vy(e);let o=null;return t?(o=gy("tek__rightResizerIndicator","rightGripper"),o.innerText=vy(t)):r.innerText=n.style.width,{left:r,right:o}})(i,a,o);s.current=b.left,u.current=b.right,d.appendChild(b.left),b.right&&d.appendChild(b.right),d.style.opacity="1",l.current={resizer:d,curColWidth:c,col:i,tableElement:o,clientX:e.clientX,left:p,nxt:a,nxtColWidth:h,parentDomNode:m,currentTableWidth:v},n.dispatchCommand(fy,void 0)}}}))}),[n,d,f]);return D.useEffect((()=>{n.getEditorState().read((()=>{c(t)}))}),[c,n,t]),z.createElement(z.Fragment,null,o&&r?o.map((e=>z.createElement(my,{key:`${e.key}`,colKey:e.key,startX:e.startX,onMouseDown:p}))):null)},yy="TEK_TABLE_RESIZE_NODE";class xy extends Rt.DecoratorNode{static getType(){return yy}static clone(e){return new xy(e.__colWidths,e.__key)}static importJSON(e){return new xy(e.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:yy,version:1}}createDOM(){const e=document.createElement("div");return e.classList.add("tek__resizeContainer"),e}updateDOM(){return!1}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}decorate(){return z.createElement(by,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}}const _y=e=>e instanceof xy,Ey=({nodeKey:e,colWidths:t})=>{const[n]=Ct.useLexicalComposerContext(),[r,o]=D.useState(t);return D.useEffect((()=>{n.getEditorState().read((()=>{const t=Rt.$getNodeByKey(e),n=null==t?void 0:t.getParent();if(Vb(n)){const e=n.getResizeNode();if(_y(e)){const t=e.__colWidths.map((e=>e));o(t)}}}))}),[n,e]),z.createElement(z.Fragment,null,r.map(((t,n)=>z.createElement("col",{span:1,width:t,key:`${e}.${n}`}))))};class wy extends Rt.DecoratorNode{static getType(){return"TekColGroupNode"}static clone(e){return new wy(e.__colWidths,e.__key)}static importJSON(e){return new wy(e.colWidths)}constructor(e,t){super(t),this.__colWidths=e}exportJSON(){return{colWidths:this.__colWidths,type:"TekColGroupNode",version:1}}createDOM(){return document.createElement("colgroup")}setColWidths(e){this.getWritable().__colWidths=e}removeCol(e){this.getWritable().__colWidths.splice(e,1)}updateDOM(){return!1}decorate(){return z.createElement(Ey,{nodeKey:this.__key,colWidths:this.__colWidths})}isInline(){return!0}isIsolated(){return!0}isKeyboardSelectable(){return!1}}class Cy extends Rt.DecoratorNode{constructor(e,t){super(t),this.__formatStyle=e}setFormatStyle(e){this.getWritable().__formatStyle=e}hasStyle(e){return void 0!==this.__formatStyle[e]&&""!==this.__formatStyle[e]}getTextFormatStyle(e,t){return this.hasStyle(e)?this.__formatStyle[e]:t}}const Sy=[Yb,Kb,Qb,wy,xy],ky=(e,t)=>{const n=100/e,r=Array(e).fill(`${n}%`),o=null==t?void 0:t.getChildAtIndex(0),i=null==t?void 0:t.getChildAtIndex(1);o.setColWidths(r),i.setColWidths(r),null==t||t.markNeedsUpdate()},Ty=()=>{var e;const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=Xb(n);if(r){const t=ty(r),n=Jb(r),o=oy(n),i=((null===(e=o[0])||void 0===e?void 0:e.getChildren().length)||1)-1;if(0===i)return null==n||n.selectPrevious(),void(null==n||n.remove());o.forEach((e=>{var n;null===(n=e.getChildAtIndex(t))||void 0===n||n.remove()})),ky(i,n)}}},Ny=()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Xb(t),r=Jb(n);if(r&&3===r.getChildren().length)return Rt.$setSelection(null),void r.remove();if(n){const{row:e}=ay(n);Rt.$setSelection(null),null==e||e.remove()}}},Ry=()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Jb(t),r=ey(n);if(qb(r)&&n){const e=r.getChildren().length,t=new Qb;for(let r=0;r<e;r++){const e=Ub(null==n?void 0:n.__hasBorders);e.append(Rt.$createParagraphNode()),t.append(e)}null==n||n.append(t)}}},Ay=()=>{var e;const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=t.anchor.getNode(),r=Jb(n);if(Vb(r)){const t=oy(r);let n=null;const o=((null===(e=t[0])||void 0===e?void 0:e.getChildren().length)||-1)+1;for(let e=0;e<t.length;e++){const o=Ub(r.__hasBorders);o.append(Rt.$createParagraphNode()),t[e].append(o),n=o}return ky(o,r),n}}return null},Oy=sa(Ku)({backgroundColor:"white",boxShadow:"0 2px 4px rgba(0,0,0,0.15)"}),Ly=({onDeleteAction:e,onAction:t,onClick:n})=>{const[r]=Ct.useLexicalComposerContext(),[o,i]=D.useState(null),l=nv(),a=Boolean(o),s=D.useCallback(((e,t,n)=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{t()}),{onUpdate:()=>{i(null),n()}})}),[r]),u=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),n(),i(e.currentTarget)}),[n]),c=D.useCallback((()=>{i(null)}),[]),d=D.useCallback((e=>{s(e,Ry,t)}),[s,t]),f=D.useCallback((e=>{s(e,Ay,t)}),[s,t]),p=D.useCallback((t=>{s(t,Ny,e)}),[s,e]),h=D.useCallback((t=>{s(t,Ty,e)}),[s,e]),m=D.useCallback((()=>{r.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Jb(t);Vb(n)&&(n.selectPrevious(),n.remove())}})()}),{onUpdate:()=>{i(null),e()}})}),[r,e]),g=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.anchor.getNode(),n=Jb(t);n&&(n.toggleBorders(),uy(n).forEach((e=>{e.toggleBorders()})))}})()}))}),[r]);return D.useEffect((()=>Nt.mergeRegister(r.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(i(null),!1)),Rt.COMMAND_PRIORITY_CRITICAL))),[r]),z.createElement(Ea,{onClickAway:c,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Oy,{size:"small",onClick:u},z.createElement(tf,{height:12})),z.createElement(Zu,{sx:{zIndex:1},open:a,anchorEl:o,placement:"auto-end"},z.createElement(_u,{id:"tekTableMenu",className:"tekPopperMenu"},z.createElement(Vc,{dense:!0},z.createElement(Zc,{onClick:g},l("ToggleBorders")),z.createElement(kc,null),z.createElement(Zc,{onClick:d},l("AddNewRow")),z.createElement(Zc,{onClick:f},l("AddNewColumn")),z.createElement(kc,null),z.createElement(Zc,{onClick:p},l("DeleteRow")),z.createElement(Zc,{onClick:h},l("DeleteCol")),z.createElement(kc,null),z.createElement(Zc,{onClick:m},l("DeleteTable")))))))},My=()=>{var e,t,n,r;const[o]=Ct.useLexicalComposerContext(),i=Tt(),[l,a]=D.useState(null),[s,u]=D.useState(!1),c=Boolean(l),d=D.useContext(Ro),f=D.useRef(null),p=D.useCallback((()=>{s||o.update((()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=Xb(e.anchor.getNode());if(Gb(t)){const e=o.getElementByKey(t.getKey());a(e)}else a(null)}}))}),[o,s]);D.useEffect((()=>{const e=e=>{0!==e.buttons?null===f.current&&(f.current=setTimeout((()=>{u(!0),a(null)}),300)):(u(!1),clearTimeout(f.current),f.current=null)};return document.addEventListener("mousemove",e),()=>{document.removeEventListener("mousemove",e)}}),[]),D.useEffect((()=>Nt.mergeRegister(o.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(p(),!1)),Rt.COMMAND_PRIORITY_EDITOR),o.registerCommand(fy,(()=>(a(null),!0)),Rt.COMMAND_PRIORITY_CRITICAL),o.registerCommand(py,(()=>(p(),!0)),Rt.COMMAND_PRIORITY_CRITICAL))),[o,p]),D.useEffect((()=>{a(null)}),[i]);const h=D.useCallback((()=>{a(null)}),[]),m=D.useCallback((()=>{a(null),setTimeout((()=>{p()}),0)}),[p]),g=D.useCallback((()=>{clearTimeout(f.current)}),[]);return z.createElement(Zu,{open:c&&i,anchorEl:l,placement:"top-end",sx:{zIndex:1},disablePortal:!0,modifiers:[{name:"offset",options:{offset:[-6,-parseInt((null===(r=null===(n=null===(t=null===(e=d.components)||void 0===e?void 0:e.MuiButton)||void 0===t?void 0:t.styleOverrides)||void 0===n?void 0:n.sizeSmall)||void 0===r?void 0:r.height)||"24",10)]}}]},z.createElement(Ly,{onDeleteAction:h,onAction:m,onClick:g}))},Py=e=>{const t=[];for(const[n,r]of e)if("created"===r){const e=Rt.$getNodeByKey(n),r=null==e?void 0:e.getParent();Rt.$isRootNode(r)&&null!==e&&t.push(e)}if(t.length>0){const e=Rt.$createParagraphNode();t[0].insertBefore(e),e.select(),t.forEach((e=>e.remove()))}},Iy=()=>{const[e]=Ct.useLexicalComposerContext(),t=Tt();return D.useEffect((()=>Nt.mergeRegister(e.registerMutationListener(Kb,(t=>{e.update((()=>{Py(t)}))})),e.registerMutationListener(Qb,(t=>{e.update((()=>{Py(t)}))})),e.registerMutationListener(Yb,(t=>{e.update((()=>{for(const[e,n]of t)if("created"===n||"updated"===n){const t=Rt.$getNodeByKey(e);if(Vb(t)&&!t.isValid()){const e=Rt.$createParagraphNode();t.insertBefore(e),e.select(),t.remove()}}}))})),e.registerCommand(hy,(()=>(e.update((()=>{const e=(()=>{const e=["50%","50%"],t=new Yb(!0,"100%"),n=new wy(e),r=new xy(e),o=[];for(let t=0;t<2;t++){const t=new Qb;for(let n=0;n<e.length;n++){const e=Ub(!0),n=Rt.$createParagraphNode();e.append(n),t.append(e)}o.push(t)}return t.append(n,r,...o),t})();Nt.$insertNodeToNearestRoot(e)})),!0)),Rt.COMMAND_PRIORITY_EDITOR),e.registerCommand(dy,(({colWidths:e,nodeKey:t})=>{const n=Rt.$getNodeByKey(t);if(_y(n)){n.setColWidths(e);const t=n.getParent(),r=null==t?void 0:t.getChildAtIndex(0);(function(e){return e instanceof wy})(r)&&r.setColWidths(e)}return!0}),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_ENTER_COMMAND,(t=>(null==t?void 0:t.shiftKey)?(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.focus.getNode(),n=Jb(t),r=sy(t);if(Vb(n)){const e=Rt.$createParagraphNode();e.append(Rt.$createTextNode("")),n.insertBefore(e,!1),e.select()}}})()})),!0):!!(null==t?void 0:t.ctrlKey)&&(t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation(),e.update((()=>{(()=>{const e=Rt.$getSelection();if(Rt.$isRangeSelection(e)){const t=e.focus.getNode(),n=Jb(t);if(Vb(n)){const e=Rt.$createParagraphNode();e.append(Rt.$createTextNode("")),n.insertBefore(e),n.insertAfter(e),n.selectNext()}}})()})),!0)),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_BACKSPACE_COMMAND,(e=>ly(e)),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_DELETE_COMMAND,(e=>ly(e)),Rt.COMMAND_PRIORITY_CRITICAL),e.registerCommand(Rt.KEY_TAB_COMMAND,(e=>{const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const n=t.focus.getNode(),{depth:r,tekCell:o}=(e=>{let t=e,n=0;for(;null!==t;){if(t=t.getParent(),Gb(t))return{depth:n,tekCell:t};n++}return{depth:Number.MAX_SAFE_INTEGER,tekCell:null}})(n);if(r<=1)return e.preventDefault(),((e,t)=>{const{i:n,j:r,tableNode:o,row:i}=e,l=t?1:-1;if(i&&o){const e=i.getChildAtIndex(r+l);if(e)e.getChildAtIndex(0).selectEnd();else{let e=0;t||0!==r||(e=i.getChildren().length-1);const a=o.getChildAtIndex(n+2+l);if(qb(a)){const t=null==a?void 0:a.getChildAtIndex(e);(null==t?void 0:t.getChildAtIndex(0)).selectEnd()}}}})(ay(o),!e.shiftKey),!0}return!1}),Rt.COMMAND_PRIORITY_EDITOR),e.registerCommand(Rt.CUT_COMMAND,(e=>{const t=e.target,n=Rt.$getSelection();if(t.classList.contains("tek__table")&&Rt.$isRangeSelection(n)&&Vb(n.anchor.getNode()))return e.preventDefault(),e.stopPropagation(),!0;if(Rt.$isRangeSelection(n)){const t=n.getNodes().some((e=>Gb(e))),r=n.getNodes().some((e=>Vb(e)));if(t&&!r)return e.preventDefault(),e.stopPropagation(),!0}return!1}),Rt.COMMAND_PRIORITY_CRITICAL))),[e]),D.useEffect((()=>e.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(t&&e.update((()=>{(e=>{const t=Rt.$getSelection(),n=[];if(Rt.$nodesOfType(Yb).forEach((e=>{const t=uy(e);n.push(...t)})),Rt.$isRangeSelection(t)){t.getNodes().filter((e=>Vb(e))).forEach((t=>{cy(t,e)}));const n=t.focus.getNode();if(Vb(n))return void cy(n,e)}if(Rt.$isRangeSelection(t)||Rt.$isNodeSelection(t)){const r=new Set(t.getNodes().map((e=>sy(e))));for(let t=0;t<n.length;t++){const o=e.getElementByKey(n[t].getKey());r.has(n[t])?null==o||o.classList.add("tek__tekCellHighlight"):null==o||o.classList.remove("tek__tekCellHighlight")}}})(e)}),{tag:"history-merge"}),!1)),Rt.COMMAND_PRIORITY_CRITICAL)),[e,t]),D.useEffect((()=>{e.update((()=>{t||(e=>{const t=[];Rt.$nodesOfType(Yb).forEach((e=>{const n=uy(e);t.push(...n)})),t.forEach((t=>{const n=e.getElementByKey(t.getKey());null==n||n.classList.remove("tek__tekCellHighlight")}))})(e)}))}),[t,e]),null},Dy=()=>z.createElement(z.Fragment,null,z.createElement(Iy,null),z.createElement(My,null)),zy=()=>{const e=Tt(),t=nv();return e?z.createElement("div",{className:"tek__editor__placeholder"},t("EnterText")):z.createElement("div",{className:"tek__editor__logo"},z.createElement(Iv,{height:32}))},$y=({showPlaceholder:e})=>z.createElement("div",{style:{position:"relative"}},z.createElement(sv.AutoFocusPlugin,null),z.createElement(Lv.RichTextPlugin,{contentEditable:z.createElement(hv.ContentEditable,{className:"tek__editor__input"}),placeholder:!1!==e?z.createElement(zy,null):null,ErrorBoundary:yv})),Fy=sa(dd)((({theme:e})=>({background:e.palette.common.white,height:e.spacing(4),display:"flex",alignItems:"center",paddingInline:e.spacing(.5),overflow:"auto",scrollbarWidth:"thin",width:"fit-content","&::-webkit-scrollbar":{height:"0.2em"},"&::-webkit-scrollbar-track":{background:"#f1f1f1"},"&::-webkit-scrollbar-thumb":{backgroundColor:"#AAA"},"&::-webkit-scrollbar-thumb:hover":{background:"#AAA"}}))),By=["Source Sans Pro, sans-serif","American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],Hy="#404040",jy="16px",Wy=D.createContext({textFormat:{bold:!1,italic:!1,underline:!1},blockFormat:{blockType:"normal",fontName:By[0],fontSize:"16px",fontColor:"#404040",align:"left",isLink:!1}}),Ky=({children:e})=>{const t=(()=>{const[e]=Ct.useLexicalComposerContext(),[t,n]=D.useState(!1),[r,o]=D.useState(!1),[i,l]=D.useState(!1),[a,s]=D.useState("paragraph"),[u,c]=D.useState(By[0]),[d,f]=D.useState(jy),[p,h]=D.useState(Hy),[m,g]=D.useState("left"),[v,b]=D.useState(!1),y=D.useCallback((()=>{const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const r=t.anchor.getNode();let i="root"===r.getKey()?r:Nt.$findMatchingParent(r,(e=>{const t=e.getParent();return null!==t&&Rt.$isRootOrShadowRoot(t)}));null===i&&(i=r.getTopLevelElementOrThrow());const a=i.getKey();let u=i;if(null!==e.getElementByKey(a))if(_e.$isListNode(i)){const e=Nt.$getNearestNodeOfType(r,_e.ListNode),t=e?e.getListType():i.getListType();s(t)}else{const e=gt.$isHeadingNode(i)?i.getTag():i.getType();s(e)}if(_e.$isListNode(i)||gt.$isHeadingNode(i)){const e=Nt.$getNearestNodeOfType(i,Rt.ParagraphNode);e&&(u=e)}const d=Ob(t),p=d.getParent();if(de.$isLinkNode(p)||de.$isLinkNode(d)?b(!0):b(!1),Rt.$isParagraphNode(u)){const e=u.getFormatType();g(""===e?"left":e)}n(t.hasFormat("bold")),o(t.hasFormat("italic")),l(t.hasFormat("underline"));const m=At.$getSelectionStyleValueForProperty(t,"font-family",By[0]),v=At.$getSelectionStyleValueForProperty(t,"font-size",jy);c(""===m?By[0]:m),f(""!==v&&v?v:jy),h(At.$getSelectionStyleValueForProperty(t,"color",Hy))}else Rt.$isNodeSelection(t)&&t.getNodes().forEach((e=>{if(function(e){return e instanceof Cy}(e)){const t=e;n(t.hasStyle("fontWeight")),o(t.hasStyle("fontStyle")),l(t.hasStyle("textDecoration")),h(t.getTextFormatStyle("color",Hy));const r=t.getTextFormatStyle("fontSize",jy),i=t.getTextFormatStyle("fontFamily",By[0]);f(r),c(i);const a=t.getParent();if(null!==a){const e=(e=>{if(_e.$isListItemNode(e)){const t=Nt.$getNearestNodeOfType(e,_e.ListNode);return t?t.getListType():e.getListType()}return gt.$isHeadingNode(e)?e.getTag():e.getType()})(a);s(e)}}}))}),[e]);return D.useEffect((()=>Nt.mergeRegister(e.registerUpdateListener((({editorState:e})=>{e.read((()=>y()))})),e.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(e.getEditorState().read((()=>y())),!1)),Rt.COMMAND_PRIORITY_EDITOR))),[e,y]),{textFormat:{bold:t,italic:r,underline:i},blockFormat:{blockType:a,fontName:u,fontSize:d,fontColor:p,align:m,isLink:v}}})();return z.createElement(Wy.Provider,{value:t},e)},Uy=({children:e})=>z.createElement(Ky,null,z.createElement(Fy,{sx:{display:{xs:"none",sm:"flex",md:"flex",lg:"flex"}},direction:"row"},e)),Gy=({anchorEl:e,children:t})=>{const n=Boolean(e);return z.createElement(Zu,{open:n,anchorEl:e,placement:"bottom-start",transition:!0,sx:{zIndex:1}},(({TransitionProps:e})=>z.createElement(Oc,{...e},z.createElement(_u,{className:"tekPopperMenu"},t))))},Yy=sa(qu)({fontSize:12,textOverflow:"ellipsis"}),Vy=({startIcon:e,value:t,onClick:n,compact:r})=>z.createElement(cd,{title:t,PopperProps:{disablePortal:!0}},z.createElement(xc,{style:{textTransform:"none",textOverflow:"ellipsis",flexShrink:0},size:"small",variant:"text",onClick:n,startIcon:r?void 0:e,endIcon:z.createElement(Yv,{height:12})},r?e:z.createElement(Yy,null,t))),Qy=sa(Zc,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({background:t?e.palette.grey[200]:void 0}))),qy=[{text:"AlignLeft",align:"left",icon:()=>z.createElement(Hv,{height:12})},{text:"AlignCenter",align:"center",icon:()=>z.createElement($v,{height:12})},{text:"AlignRight",align:"right",icon:()=>z.createElement(Kv,{height:12})}],Xy=({compact:e})=>{const[t]=Ct.useLexicalComposerContext(),[n,r]=D.useState(null),{blockFormat:o}=D.useContext(Wy),i=nv(),l=D.useMemo((()=>qy.find((e=>e.align===o.align))||qy[0]),[o.align]),a=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),s=D.useCallback((()=>{r(null)}),[]),u=D.useCallback((e=>{r(null),t.dispatchCommand(Rt.FORMAT_ELEMENT_COMMAND,e),t.focus()}),[t]);return z.createElement(Ea,{onClickAway:s,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{value:i(l.text),startIcon:l.icon(),onClick:a,compact:e}),z.createElement(Gy,{anchorEl:n},z.createElement(Vc,{dense:!0},qy.map((e=>z.createElement(Qy,{value:e.text,dense:!0,key:e.align,active:e.align===o.align,onClick:()=>u(e.align)},z.createElement(Hc,null,e.icon()),z.createElement(Yy,null,i(e.text)))))))))},Jy=({text:e,icon:t})=>z.createElement(z.Fragment,null,z.createElement(Hc,null,t),z.createElement(Yy,null,e)),Zy=({text:e,icon:t})=>z.createElement(z.Fragment,null,z.createElement(Hc,null,z.createElement(Yy,{fontWeight:"bold"},t)),z.createElement(Yy,null,e)),ex=[{text:"Heading1",icon:"H1",tag:"h1"},{text:"Heading2",icon:"H2",tag:"h2"},{text:"Heading3",icon:"H3",tag:"h3"}],tx=(e,t,n)=>({icon:z.createElement("span",{style:{fontSize:12,fontWeight:"bold"}},t),text:n(e)}),nx=({compact:e})=>{const[t]=Ct.useLexicalComposerContext(),{blockFormat:n}=D.useContext(Wy),[r,o]=D.useState(null),i=nv(),l=D.useMemo((()=>{let e={icon:z.createElement(ib,{height:12}),text:i("Paragraph")};return"h1"===n.blockType&&(e=tx("Heading1","H1",i)),"h2"===n.blockType&&(e=tx("Heading2","H2",i)),"h3"===n.blockType&&(e=tx("Heading3","H3",i)),"quote"===n.blockType&&(e.icon=z.createElement(Zv,{height:12}),e.text=i("Quote")),"bullet"===n.blockType&&(e.icon=z.createElement(qv,{height:12}),e.text=i("UnorderedList")),"number"===n.blockType&&(e.icon=z.createElement(nb,{height:12}),e.text=i("OrderedList")),e}),[n,i]),a=D.useCallback((()=>{o(null)}),[]),s=D.useCallback((e=>{t.update((()=>{const n=Rt.$getSelection();Rt.$isRangeSelection(n)?(At.$patchStyleText(n,{"font-size":null}),At.$setBlocksType(n,e)):Rt.$isNodeSelection(n)&&n.getNodes().forEach((t=>{const n=t.getParent();null==n||n.replace(e(),!0)})),t.focus()}))}),[t]),u=D.useCallback(((e,n)=>{o(null),t.update((()=>{const r=Rt.$getSelection();Rt.$isRangeSelection(r)&&r.getNodes().forEach((r=>{const o=r.getParent();o&&o.getType()!==e&&t.dispatchCommand(n,void 0)}))})),t.focus()}),[t]),c=D.useCallback((e=>{o(null),s((()=>gt.$createHeadingNode(e)))}),[s]),d=D.useCallback((()=>{o(null),s((()=>Rt.$createParagraphNode()))}),[s]),f=D.useCallback((()=>{o(null),s((()=>gt.$createQuoteNode()))}),[s]);return z.createElement(Ea,{onClickAway:a,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:l.text,startIcon:l.icon,compact:e}),z.createElement(Gy,{anchorEl:r},z.createElement(Vc,{dense:!0},z.createElement(Zc,{dense:!0,onClick:d},z.createElement(Jy,{text:i("Paragraph"),icon:z.createElement(ib,{height:12})})),z.createElement(Zc,{dense:!0,onClick:f},z.createElement(Jy,{text:i("Quote"),icon:z.createElement(Zv,{height:12})})),ex.map((e=>z.createElement(Zc,{dense:!0,onClick:()=>c(e.tag),key:e.text},z.createElement(Zy,{text:i(e.text),icon:e.icon})))),z.createElement(kc,null),z.createElement(Zc,{dense:!0,onClick:()=>u("bullet",_e.INSERT_UNORDERED_LIST_COMMAND)},z.createElement(Jy,{text:i("UnorderedList"),icon:z.createElement(qv,{height:12})})),z.createElement(Zc,{dense:!0,onClick:()=>u("number",_e.INSERT_ORDERED_LIST_COMMAND)},z.createElement(Jy,{text:i("OrderedList"),icon:z.createElement(nb,{height:12})}))))))},rx=sa(xc,{shouldForwardProp:e=>"active"!==e})((({theme:e,active:t})=>({width:e.spacing(3),height:e.spacing(3),padding:0,background:t?e.palette.grey[300]:void 0}))),ox=(e,t)=>n=>{const r=nv();return z.createElement(cd,{title:r(t),PopperProps:{disablePortal:!0}},z.createElement("div",null,z.createElement(e,{...n,"aria-label":r(t)})))},ix=({format:e,icon:t,...n})=>{const r=D.useContext(Wy),[o]=Ct.useLexicalComposerContext(),i=D.useCallback((()=>{o.dispatchCommand(Rt.FORMAT_TEXT_COMMAND,e)}),[o,e]);return z.createElement(rx,{...n,active:r.textFormat[e],onClick:i,size:"small",variant:"text"},t)},lx=ox(ix,"Bold"),ax=()=>z.createElement(lx,{format:"bold",icon:z.createElement(sb,{height:12})}),sx=Rt.createCommand("APPLY_TEXT_FORMAT"),ux=Rt.createCommand("CLEAR_TEXT_FORMAT"),cx=ox(rx,"ClearFormat"),dx=()=>{const[e]=Ct.useLexicalComposerContext(),t=D.useCallback((()=>{e.update((()=>{const t=Rt.$getSelection();if(Rt.$isRangeSelection(t)){const{anchor:e,focus:n}=t,r=t.getNodes();if(e.key===n.key&&e.offset===n.offset)return;r.forEach(((t,o)=>{try{if(Rt.$isTextNode(t)){0===o&&0!==e.offset&&(t=t.splitText(e.offset)[1]||t),o===r.length-1&&(t=t.splitText(n.offset)[0]||t),""!==t.__style&&t.setStyle(""),0!==t.__format&&(t.setFormat(0),Nt.$getNearestBlockElementAncestorOrThrow(t).setFormat(""));const i=t.getParent();(gt.$isHeadingNode(i)||gt.$isQuoteNode(i))&&i.replace(Rt.$createParagraphNode(),!0)}else(gt.$isHeadingNode(t)||gt.$isQuoteNode(t))&&t.replace(Rt.$createParagraphNode(),!0)}catch(e){}}))}e.dispatchCommand(ux,void 0)}))}),[e]);return z.createElement(cx,{onClick:t},z.createElement(db,{height:12}))};function fx(e){return fx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fx(e)}var px,hx={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},mx=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,gx=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,vx=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,bx=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,yx=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,xx=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,_x=Math.floor,Ex=Math.round,wx=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t,n,r,o,i,l,a,s,u,c,d,f,p=0,h=0,m=0,g=1;if(this._invalid=!1,arguments[0]instanceof e)p=arguments[0]._r,h=arguments[0]._g,m=arguments[0]._b,g=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(d=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f=arguments[0]))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10);else if(d=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(f))g=parseFloat(Ex(d[1]/2.55)/100),p=parseInt(d[2],10),h=parseInt(d[3],10),m=parseInt(d[4],10);else if(d=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(f))p=parseInt(d[1],10),h=parseInt(d[2],10),m=parseInt(d[3],10),g=parseFloat(d[4]);else if(d=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(f))p=parseInt(d[1],16),h=parseInt(d[2],16),m=parseInt(d[3],16),g=1;else if(d=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(f))p=parseInt(d[1]+d[1],16),h=parseInt(d[2]+d[2],16),m=parseInt(d[3]+d[3],16),g=1;else if(d=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),n=(n/=100)<0?0:n>1?1:n,a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=o-.5*l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ex(255*p),h=Ex(255*h),m=Ex(255*m),g=1}else if(d=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),o=parseFloat(d[5]),g=parseFloat(d[7]),n=(n/=100)<0?0:n>1?1:n,a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(o=(o/=100)<0?0:o>1?1:o)<=.5?2*o*n:(2-2*o)*n)*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=o-.5*l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ex(255*p),h=Ex(255*h),m=Ex(255*m)}else if(d=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(f)){switch(t=parseFloat(d[1]),n=parseFloat(d[3]),i=parseFloat(d[5]),a=(t=(t%=360)<0?0:t>360?360:t)/60,s=(l=(i=(i/=100)<0?0:i>1?1:i)*(n=(n/=100)<0?0:n>1?1:n))*(1-Math.abs(a%2-1)),u=[],a=Math.floor(a)){case 0:u=[l,s,0];break;case 1:u=[s,l,0];break;case 2:u=[0,l,s];break;case 3:u=[0,s,l];break;case 4:u=[s,0,l];break;case 5:u=[l,0,s];break;default:u=[0,0,0]}c=i-l,p=u[0]+c,h=u[1]+c,m=u[2]+c,p=Ex(255*p),h=Ex(255*h),m=Ex(255*m),g=1}else hx[f.toLowerCase()]?(r=f.toLowerCase(),p=hx[r].r,h=hx[r].g,m=hx[r].b,g="number"==typeof hx[r].a?hx[r].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(g=(4278190080&arguments[0])>>>24,g/=255,p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(p=(16711680&arguments[0])>>16,h=(65280&arguments[0])>>8,m=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(p=arguments[0],h=arguments[1],m=arguments[2],g=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+p+h+m+g)&&(this._invalid=!0),this._r=_x(p),this._g=_x(h),this._b=_x(m),this._a=g,this._spaces={}}var t,n;return t=e,(n=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=e.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=e.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=e.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(t){return this._spaces.hsl||(this._spaces.hsl=e.toHSL(this,t)),this._spaces.hsl}},{key:"toHSLA",value:function(t){return this._spaces.hsla||(this._spaces.hsla=e.toHSLA(this,t)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=e.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=e.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),l=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(l,")")}},{key:"isEqual",value:function(t){return t instanceof e||(t=new e(t)),this._r===t._r&&this._g===t._g&&this._b===t._b}},{key:"blend",value:function(e,t){var n=_x(this._r+(e._r-this._r)*t),r=_x(this._g+(e._g-this._g)*t),o=_x(this._b+(e._b-this._b)*t),i=_x(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(t){(void 0===t||Number.isNaN(+t))&&(t=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new e(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*t))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==fx(o=function(e){if("object"!=fx(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o),r)}var o}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();wx.toRGB=function(e){if(e instanceof wx)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=wx.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},wx.toRGBA=function(e,t){if(e instanceof wx)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=wx.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},wx.toHex=function(e){var t,n,r;return e instanceof wx?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=wx.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},wx.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new wx(e));var l=e._r/255,a=e._g/255,s=e._b/255,u=Math.max(l,a,s),c=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(u+c)/2,u===c)n=0,i=0;else{switch(o=u-c,n=r>.5?o/(2-u-c):o/(u+c),u){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},wx.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new wx(e));var l=e._r/255,a=e._g/255,s=e._b/255,u=e._a,c=Math.max(l,a,s),d=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(u,")")},wx.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new wx(e));var o=e._r/255,i=e._g/255,l=e._b/255,a=Math.max(o,i,l),s=Math.min(o,i,l),u=a;if(a===s)t=0,r=0;else{switch(t=0==(n=a-s)?0:n/u,a){case o:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-o)/n+2;break;case l:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*u}},wx.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof wx)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},wx.blend=function(e,t,n){var r=(16711680&(e=wx.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=wx.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},wx.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,l=e._a+(t._a-e._a)*n;return new wx(r,o,i,l)},wx.isCSSColor=function(e){return!(arguments.length>1||"string"!=typeof e)&&(mx.test(e)||gx.test(e)||vx.test(e)||bx.test(e)||yx.test(e)||xx.test(e)||hx[e.toLowerCase()])},wx.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},wx.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},wx.isDark=function(){var e={getLuminance:wx.prototype.getLuminance,isInvalid:wx.prototype.isInvalid};return wx.prototype.init.apply(e,[].slice.call(arguments)),wx.prototype.isDark.call(e)},wx.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},px=wx;const Cx=sa(dd)((({theme:e})=>({display:"flex",flex:4,flexDirection:"row",flexWrap:"wrap",backgroundColor:e.palette.background.default,borderRadius:"4px",padding:e.spacing(.5),alignItems:"center",justifyContent:"space-around"}))),Sx=sa(dc)((({theme:e})=>({display:"flex",width:e.spacing(3.8),height:e.spacing(3.8),borderRadius:"4px",margin:e.spacing(.1),borderWidth:"1px",borderColor:e.palette.grey[500],borderStyle:"solid",justifyContent:"center",alignItems:"center"}))),kx=({palette:e,color:t,onColorChange:n})=>{const[r,o]=D.useState(t),i=ia(),l=D.useCallback((e=>{o(e),n(e)}),[n]);return z.createElement(Cx,null,e.map((e=>z.createElement(Sx,{style:{backgroundColor:e},key:e,onClick:t=>{t.preventDefault(),t.stopPropagation(),l(e)}},e===r?z.createElement(vd,{height:12,color:i.palette.getContrastText(e)}):null))))};function Tx(e,t,n){return Math.max(t,Math.min(n,e))}const Nx=(e,t)=>{const n=new px(e).toHSVComponents(),r=window.getComputedStyle(t),o=parseInt(r.width,10),i=parseInt(r.height,10);return{left:o*(n.s/100)+"px",top:i*((100-n.v)/100)+"px"}},Rx=(e,t)=>{const{left:n,top:r,width:o,height:i}=e.currentTarget.getBoundingClientRect(),l=Tx(e.clientX-n,0,o)/o*100,a=100-Tx(e.clientY-r,0,i)/i*100,s=new px(t).toHSVComponents();return s.s=l,s.v=a,s},Ax=sa(dd)((({theme:e})=>({width:e.spacing(32),height:e.spacing(24),padding:e.spacing(1),display:"flex",flexDirection:"column"}))),Ox=sa(dc)({flex:4,backgroundImage:"linear-gradient(transparent, black), linear-gradient(to right, white, transparent)",position:"relative",cursor:"crosshair",borderRadius:"4px"}),Lx=sa(dc)((({theme:e})=>({flex:.5,marginTop:e.spacing(.5),marginBottom:e.spacing(.5),borderRadius:"4px",cursor:"crosshair",position:"relative",backgroundImage:"linear-gradient(to right, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000 );"}))),Mx=sa(dc)({width:"16px",height:"16px",borderRadius:"2px"}),Px=sa(dd)({flexDirection:"row",alignItems:"center"}),Ix=sa(dc)({position:"absolute",width:"8px",height:"8px",backgroundColor:"black",left:0,top:0,borderRadius:"16px",border:"1px solid white",cursor:"pointer",transform:"translate(-50%, -50%)"}),Dx=({onClick:e,onClose:t,startColor:n,palette:r})=>{const[o,i]=D.useState(n),l=D.useRef(n),[a,s]=D.useState(!0),[u,c]=D.useState(o),d=D.useRef(null),f=D.useRef(null),p=D.useRef({left:0,top:0,on:!1,clientX:0,clientY:0}),[h,m]=D.useState({left:"0",top:"0"});D.useEffect((()=>{r.some((e=>e===n))||s(!1)}),[n,r]);const g=D.useCallback((e=>{if(!d.current&&(d.current=e,e)){const t=Nx(o,e);m(t)}}),[o]),v=D.useMemo((()=>`hsl(${new px(o).toHSVComponents().h}, 100%, 50%)`),[o]),b=D.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=Rx(t,l.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new px(r);if(l.current=o.toHex(),f.current&&d.current){const e=d.current.getBoundingClientRect(),n=t.clientX-e.left,r=t.clientY-e.top;f.current.style.left=`${n}px`,f.current.style.top=`${r}px`}e(l.current),c(l.current),i(l.current)}),[e]),y=D.useCallback((t=>{t.preventDefault(),t.stopPropagation();const n=((e,t)=>{const{width:n,left:r}=e.target.getBoundingClientRect(),o=Tx(e.clientX-r,0,n),i=Math.round(o/n*360),l=o/n*100,a=new px(t).toHSVComponents();return a.h=i,a.s=l,a})(t,l.current),r=`hsv(${n.h},${n.s},${n.v})`,o=new px(r);l.current=o.toHex(),e(l.current),c(l.current),i(l.current)}),[e]),x=D.useCallback((t=>{l.current=t,e(l.current),i(l.current),c(t)}),[e]),_=D.useCallback((t=>{if(c(t.target.value),!new px(t.target.value).isInvalid()&&(l.current=t.target.value,i(t.target.value),t.target.value.startsWith("#")&&7===t.target.value.length?e(l.current,{tag:"collaboration"}):t.target.value.startsWith("#")||e(l.current,{tag:"collaboration"}),d.current)){const e=Nx(l.current,d.current);m(e)}}),[e]);return z.createElement(Ax,null,a?z.createElement(kx,{palette:r,color:o,onColorChange:x}):z.createElement(z.Fragment,null,z.createElement(Ox,{style:{backgroundColor:v},ref:g,onMouseDown:e=>{if(e.preventDefault(),e.stopPropagation(),f.current&&e.target===f.current){const{left:t,top:n}=f.current.style,r=parseInt(t||"0",10),o=parseInt(n||"0",10);f.current.style.cursor="pointer",d.current&&(d.current.style.cursor="pointer"),p.current={left:r,top:o,on:!0,clientX:e.clientX,clientY:e.clientY}}},onMouseMove:e=>{if(e.preventDefault(),e.stopPropagation(),p.current.on&&f.current&&d.current){const t=e.clientX-p.current.clientX,n=e.clientY-p.current.clientY,r=p.current.left+t,o=p.current.top+n,a=Rx(e,l.current),s=`hsv(${a.h},${a.s},${a.v})`,u=new px(s).toHex();f.current.style.left=`${r}px`,f.current.style.top=`${o}px`,f.current.style.backgroundColor=u,l.current=u,c(l.current),i(u)}},onMouseUp:t=>{t.preventDefault(),t.stopPropagation(),p.current.on?e(l.current):b(t),d.current&&(d.current.style.cursor="crosshair"),f.current&&(f.current.style.cursor="pointer"),p.current.on=!1}},z.createElement(Ix,{ref:f,style:{...h,backgroundColor:o}})),z.createElement(Lx,{onClick:y})),z.createElement(Px,null,z.createElement(Mx,{style:{backgroundColor:o}}),z.createElement(uc,{style:{flex:1},value:u,onChange:_}),z.createElement(Ku,{onClick:()=>s(!a)},z.createElement(hb,{height:12})),z.createElement(Ku,{onClick:t},z.createElement(vd,{height:12}))))},zx=["#404040","#ffffff","#99CFCD","#83AF9B","#C4CFDA","#10CFC9","#006580","#87205D","#8A85C6","#A16090","#AC4D58","#E0BD8D","#E1DAD5","#b0afae","#7b7a78","#000000","#C8C7A9"],$x=ox(xc,"Color"),Fx=({colorPalette:e})=>{const[t]=Ct.useLexicalComposerContext(),[n,r]=D.useState(null),{blockFormat:o}=D.useContext(Wy),i=D.useCallback(((e,n)=>{t.update((()=>{const t=Rt.$getSelection();Rt.$isRangeSelection(t)&&At.$patchStyleText(t,{color:e})}),n),t.dispatchCommand(sx,{styleKey:"color",styleValue:e})}),[t]),l=()=>{r(null)};return z.createElement(Ea,{onClickAway:l,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement($x,{variant:"text",size:"small",endIcon:z.createElement(Yv,{height:12}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}},z.createElement(dc,{sx:{backgroundColor:o.fontColor,width:12,height:12}})),z.createElement(Gy,{anchorEl:n},z.createElement(Dx,{onClick:i,onClose:l,startColor:o.fontColor,palette:e||zx}))))},Bx=({compact:e,fonts:t})=>{const[n]=Ct.useLexicalComposerContext(),[r,o]=D.useState(null),{blockFormat:i}=D.useContext(Wy),l=D.useMemo((()=>t||By),[t]),a=D.useCallback((e=>{o(null);const{fontName:t}=e.currentTarget.dataset;n.update((()=>{const e=Rt.$getSelection();Rt.$isRangeSelection(e)&&At.$patchStyleText(e,{"font-family":t||By[0]}),n.dispatchCommand(sx,{styleKey:"fontFamily",styleValue:t||By[0]}),n.focus()}))}),[n]);return z.createElement(Ea,{onClickAway:()=>{o(null)},mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{onClick:e=>{e.preventDefault(),e.stopPropagation(),o(r?null:e.currentTarget)},value:i.fontName,startIcon:z.createElement("span",{style:{fontFamily:"Times New Roman, serif",fontSize:16,fontWeight:"lighter"}},"T"),compact:e}),z.createElement(Gy,{anchorEl:r},z.createElement(Vc,{dense:!0,style:{maxHeight:200,overflow:"auto"}},l.map((e=>z.createElement(Qy,{"data-font-name":e,key:e,onClick:a,active:e===i.fontName},z.createElement(Yy,null,e))))))))},Hx=e=>parseInt(e,10),jx=({fontSize:e,onSelected:t})=>{const[n,r]=D.useState(""),o=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(e.target.value)}),[]),i=D.useCallback((()=>{const e=Hx(n);e&&t(`${e}px`)}),[t,n]),l=D.useCallback((e=>{"Enter"===e.key&&(e.preventDefault(),i())}),[i]);return z.createElement(dd,{direction:"row"},z.createElement(uc,{value:n,sx:{ml:1,flex:1},placeholder:e,onChange:o,onKeyDown:l}),z.createElement(Ku,{disabled:!Hx(n),onClick:i},z.createElement(vd,{height:12})))},Wx=["8px","9px","10px","11px","12px","14px","16px","20px","24px","32px"],Kx=({compact:e})=>{const[t]=Ct.useLexicalComposerContext(),[n,r]=D.useState(null),{blockFormat:o}=D.useContext(Wy),i=D.useCallback((e=>{e.preventDefault(),e.stopPropagation(),r(n?null:e.currentTarget)}),[n]),l=D.useCallback((()=>{r(null)}),[]),a=D.useCallback((e=>{r(null),e.length>0&&t.update((()=>{const n=Rt.$getSelection();Rt.$isRangeSelection(n)&&At.$patchStyleText(n,{"font-size":e}),t.dispatchCommand(sx,{styleKey:"fontSize",styleValue:`${e}`})}))}),[t]),s=D.useCallback((e=>{const{fontSize:t}=e.currentTarget.dataset;a(t||"16px")}),[a]),u=D.useCallback((e=>{a(e)}),[a]);return z.createElement(Ea,{onClickAway:l,mouseEvent:"onMouseDown",touchEvent:"onTouchStart"},z.createElement("div",null,z.createElement(Vy,{startIcon:e?z.createElement(Yy,null,o.fontSize):void 0,value:o.fontSize,onClick:i,compact:e}),z.createElement(Gy,{anchorEl:n},z.createElement(jx,{fontSize:o.fontSize,onSelected:u}),z.createElement(kc,null),z.createElement(Vc,{dense:!0,style:{maxHeight:200,overflow:"auto"}},Wx.map((e=>z.createElement(Zc,{"data-font-size":e,key:e,onClick:s},z.createElement(Yy,null,e))))))))},Ux=ox(rx,"InsertTable"),Gx=()=>{const[e]=Ct.useLexicalComposerContext(),t=D.useCallback((()=>{e.dispatchCommand(hy,void 0)}),[e]);return z.createElement(Ux,{onClick:t},z.createElement(vb,{height:12}))},Yx=ox(ix,"Italic"),Vx=()=>z.createElement(Yx,{format:"italic",icon:z.createElement(xb,{height:12})}),Qx=ox(rx,"InsertHyperlink"),qx=()=>{const[e]=Ct.useLexicalComposerContext(),{blockFormat:t}=D.useContext(Wy),n=D.useCallback((()=>{t.isLink?e.dispatchCommand(de.TOGGLE_LINK_COMMAND,null):e.dispatchCommand(de.TOGGLE_LINK_COMMAND,Pb("https://"))}),[e,t.isLink]);return z.createElement(Qx,{onClick:n},z.createElement(wb,{height:12}))},Xx=ox(ix,"Underline"),Jx=()=>z.createElement(Xx,{format:"underline",icon:z.createElement(kb,{height:12})}),Zx=()=>z.createElement(kc,{flexItem:!0,orientation:"vertical",sx:{mx:.5,my:1}});var e_={AddNewColumn:{value:"Spalte hinzufügen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Zeile hinzufügen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Zentrieren",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Linksbündig",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechtsbündig",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fett",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textausrichtung",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Schriftgröße",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Format löschen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Schriftfarbe",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Spalte löschen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Zeile löschen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabelle löschen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geben Sie Text ein...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Überschrift 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Überschrift 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Überschrift 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Link einfügen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Großer Text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link zu",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Mittlerer Text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sortierte Liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Absatz",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Listenstil",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Kleiner Text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Rahmen wechseln",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-Link",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Unterstreichen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Unsortierte Liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},t_={AlignLeft:{value:"Align left",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)"},AlignCenter:{value:"Align center",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)"},AlignRight:{value:"Align right",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)"},SmallText:{value:"Small text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)"},MediumText:{value:"Medium text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)"},LargeText:{value:"Large text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)"},UnorderedList:{value:"Unordered list",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)"},OrderedList:{value:"Ordered list",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)"},ChangeTextSize:{value:"Text size",comment:"Change text size in toolbar menu label. (dfk 221011)"},BoldText:{value:"Bold",comment:"Bold text label in toolbar menu label. (dfk 221011)"},ItalicizeText:{value:"Italic",comment:"Italicize text label in toolbar menu label. (dfk 221011)"},UnderlineText:{value:"Underline",comment:"Underline text label in toolbar menu label. (dfk 221011)"},ChangeTextAlignment:{value:"Text alignment",comment:"Change text alignment label in toolbar menu label. (dfk 221011)"},SetTextListStyle:{value:"List style",comment:"Set text list style label in toolbar menu label. (dfk 221011)"},InsertHyperlink:{value:"Insert link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)"},LinkTo:{value:"Link to",comment:"Generic link label. (dfk 221011)"},URLLink:{value:"URL link",comment:"URL link label. (dfk 221011)"},Paragraph:{value:"Paragraph",comment:"Paragraph format for the text"},Heading1:{value:"Heading 1",comment:"HTML Header 1 format for the text"},Heading2:{value:"Heading 2",comment:"HTML Header 2 format for the text"},Heading3:{value:"Heading 3",comment:"HTML Header 2 format for the text"},Color:{value:"Font color",comment:"Button label for color picker"},ToggleBorders:{value:"Toggle borders",comment:"Menu option to toggle table borders"},AddNewRow:{value:"Add row",comment:"Menu option to add row to table"},AddNewColumn:{value:"Add column",comment:"Menu option to add column to table"},DeleteRow:{value:"Delete row",comment:"Menu option to delete row to table"},DeleteCol:{value:"Delete column",comment:"Menu option to delete column to table"},DeleteTable:{value:"Delete table",comment:"Menu option to delete table"},ClearFormat:{value:"Clear format",comment:"Clear the selected text format"},EnterText:{value:"Enter some text...",comment:"Prompt to user when the text object is empty"}},n_={AddNewColumn:{value:"Añadir columna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Añadir fila",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinear centrado",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinear a la izquierda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinear a la derecha",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrita",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alineación de texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamaño de texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Borrar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Color de fuente",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Eliminar columna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Eliminar fila",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Eliminar tabla",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Escriba algún texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabecera 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabecera 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabecera 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insertar enlace",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursiva",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Enlazar a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto mediano",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Párrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo de lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeño",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Ajustar bordes",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Enlace URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Subrayado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista no ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},r_={AddNewColumn:{value:"Ajouter une colonne",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Ajouter une ligne",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrer",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Aligner à gauche",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Aligner à droite",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Gras",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alignement du texte",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Taille du texte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Effacer le format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Couleur de police",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Supprimer une colonne",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Supprimer une ligne",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Supprimer la table",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Saisissez un texte...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"En-tête 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"En-tête 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"En-tête 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Insérer un lien",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Italique",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texte de grande taille",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Lien vers",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texte de taille moyenne",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Liste triée",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraphe",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Style de liste",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texte de petite taille",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Basculer les bords",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Lien URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Souligner",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Liste non triée",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},o_={AddNewColumn:{value:"Aggiungi colonna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Aggiungi riga",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Allinea al centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Allinea a sinistra",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Allinea a destra",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Grassetto",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Allineamento testo",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Dimensione testo",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Cancella formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Colore carattere",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Elimina colonna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Elimina riga",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Elimina tabella",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Inserisci del testo...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Intestazione 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Intestazione 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Intestazione 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserisci collegamento",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Corsivo",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Testo grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Collega a",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Testo medio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Elenco ordinato",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Stile elenco",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Testo piccolo",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Attiva/Disattiva bordi",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Collegamento URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sottolineato",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Elenco non ordinato",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},i_={AddNewColumn:{value:"列を追加",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"行を追加",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"中央揃え",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"左揃え",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"右揃え",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"太字",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"テキストの配置",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"テキスト サイズ",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"書式をクリア",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"フォントの色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"列を削除",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"行を削除",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"テーブルを削除",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"テキストを入力してください...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"見出し 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"見出し 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"見出し 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"リンクを挿入",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"テキスト大",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"リンク先",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"テキスト中",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"順序付きリスト",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"リスト スタイル",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"テキスト小",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"境界線の切り替え",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL リンク",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"順序なしリスト",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},l_={AddNewColumn:{value:"열 추가",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"행 추가",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"중앙 맞춤",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"왼쪽 맞춤",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"오른쪽 맞춤",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"굵게",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"텍스트 맞춤",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"텍스트 크기",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"형식 지우기",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"글꼴 색",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"열 삭제",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"행 삭제",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"테이블 삭제",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"텍스트 입력...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"머리글 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"머리글 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"머리글 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"링크 삽입",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"기울임꼴",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"큰 텍스트",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"연결 대상",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"중간 텍스트",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"순서가 지정된 목록",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"단락",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"목록 스타일",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"작은 텍스트",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"테두리 설정/해제",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 링크",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"밑줄",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"순서가 지정되지 않은 목록",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},a_={AddNewColumn:{value:"Kolom toevoegen",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Rij toevoegen",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Op midden uitlijnen",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Links uitlijnen",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Rechts uitlijnen",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Vet",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Tekstuitlijning",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tekstgrootte",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Opmaak wissen",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Tekstkleur",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Kolom verwijderen",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Rij verwijderen",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabel verwijderen",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Geef tekst op...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Koptekst 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Koptekst 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Koptekst 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Koppeling invoegen",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Cursief",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Tekst groot",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Koppelen met",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Tekst medium",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Geordende lijst",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Alinea",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Lijststijl",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Tekst klein",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Randen in-/uitschakelen",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-koppeling",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Onderstrepen",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Ongeordende lijst",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},s_={AddNewColumn:{value:"Dodaj kolumnę",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Dodaj wiersz",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Wyrównaj do środka",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Wyrównaj do lewej",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Wyrównaj do prawej",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Pogrubienie",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Wyrównanie tekstu",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Wielkość tekstu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Wyczyść format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Kolor czcionki",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Usuń kolumnę",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Usuń wiersz",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Usuń tabelę",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Wprowadź tekst...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Nagłówek 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Nagłówek 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Nagłówek 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Wstaw łącze",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursywa",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Duży tekst",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Łącze do:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Średni tekst",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista uporządkowana",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Akapit",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Styl listy",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Mały tekst",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Przełącz obramowania",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Łącze URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Podkreślenie",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista nieuporządkowana",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},u_={AddNewColumn:{value:"Adicionar coluna",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Adicionar linha",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Alinhar centro",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Alinhar à esquerda",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Alinhar à direita",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Negrito",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Alinhamento do texto",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Tamanho do texto",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Limpar formato",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Cor da fonte",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Excluir coluna",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Excluir linha",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Excluir tabela",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Digite algum texto...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Cabeçalho 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Cabeçallho 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Cabeçalho 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Inserir link",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Itálico",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Texto grande",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Link para",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Texto médio",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Lista ordenada",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Parágrafo",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Estilo em lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Texto pequeno",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Alternar bordas",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"Link da URL",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Sublinhado",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Lista não ordenada",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},c_={AddNewColumn:{value:"Добавить столбец",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Добавить строку",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Выровнять по центру",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Выровнять по левой стороне",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Выровнять по правой стороне",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Полужирный",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Выравнивание текста",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Размер текста",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Очистить формат",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Цвет шрифта",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Удалить столбец",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Удалить строку",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Удалить таблицу",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Введите текст...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Заголовок 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Заголовок 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Заголовок 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Вставить ссылку",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Курсив",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Крупный текст",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Ссылка на",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Средний текст",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Упорядоченный список",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Абзац",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Стиль списка",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Мелкий текст",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Переключить границы",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-ссылка",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Подчеркивание",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Неупорядоченный список",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},d_={AddNewColumn:{value:"Lägg till kolumn",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Lägg till rad",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Centrera",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Vänsterjustera",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Högerjustera",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Fetstil",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Textjustering",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Textstorlek",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Rensa format",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Teckenfärg",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Ta bort kolumn",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Ta bort rad",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Ta bort tabell",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Skriv in text...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Rubrik 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Rubrik 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Rubrik 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Infoga länk",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"Kursiv",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Stor text",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Länka till",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Medelstor text",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sorterad lista",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Stycke",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Som lista",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Liten text",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kantlinjer på/av",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL-länk",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Understrykning",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Osorterad lista",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},f_={AddNewColumn:{value:"Sütun ekle",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"Satır ekle",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"Ortaya hizala",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"Sola hizala",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"Sağa hizala",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"Kalın",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"Metin hizalaması",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"Metin boyutu",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"Biçimi temizle",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"Yazı tipi rengi",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"Sütun sil",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"Satır sil",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"Tabloyu sil",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"Metin girin...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"Başlık 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"Başlık 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"Başlık 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"Bağlantı ekle",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"İtalik",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"Büyük metin",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"Bağlantı:",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"Orta boy metin",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"Sıralı liste",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"Paragraf",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"Liste stili",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"Küçük metin",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"Kenarlıkları değiştir",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL bağlantısı",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"Altını çiz",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"Sırasız liste",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}};const p_={de:e_,es:n_,en:t_,fr:r_,it:o_,ja:i_,ko:l_,nl:a_,pl:s_,pt:u_,ru:c_,sv:d_,tr:f_,"de-de":e_,"es-es":n_,"en-us":t_,"fr-fr":r_,"it-it":o_,"ja-jp":i_,"ko-kr":l_,"nl-nl":a_,"pl-pl":s_,"pt-br":u_,"ru-ru":c_,"sv-se":d_,"tr-tr":f_,"zh-cn":{AddNewColumn:{value:"添加列",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"添加行",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"居中对齐",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左对齐",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右对齐",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"加粗",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文本对齐",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文本大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字体颜色",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"删除列",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"删除行",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"删除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"输入一些文本...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"标题 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"标题 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"标题 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入链接",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜体",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文本",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"链接到",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文本",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"有序列表",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"列表样式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文本",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切换边框",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 链接",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"下划线",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"无序列表",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}},"zh-tw":{AddNewColumn:{value:"新增欄",comment:"Menu option to add column to table",version:"+vQaijK7E48vJ9H9MJsd3Q=="},AddNewRow:{value:"新增列",comment:"Menu option to add row to table",version:"o5g9uoLTxIYAznEdFR0ioA=="},AlignCenter:{value:"置中對齊",comment:"Align center text format dropdown in toolbar menu label. (dfk 221011)",version:"33xAsCk52eZdrns6ESQAYQ=="},AlignLeft:{value:"靠左對齊",comment:"Align left text format dropdown in toolbar menu label. (dfk 221011)",version:"Xy6widnhx5lnasAS62KjOw=="},AlignRight:{value:"靠右對齊",comment:"Align right text format dropdown in toolbar menu label. (dfk 221011)",version:"uRJLJvO4eCo/vRYCoR/eCQ=="},BoldText:{value:"粗體",comment:"Bold text label in toolbar menu label. (dfk 221011)",version:"EmmVb6LoUIGAXaw+1ubcXg=="},ChangeTextAlignment:{value:"文字對齊方式",comment:"Change text alignment label in toolbar menu label. (dfk 221011)",version:"IzmYkHFKuHvhNY4z6j3BSA=="},ChangeTextSize:{value:"文字大小",comment:"Change text size in toolbar menu label. (dfk 221011)",version:"aEi5MBJWXKnW/bq2ny1Jzw=="},ClearFormat:{value:"清除格式",comment:"Clear the selected text format",version:"Q2OEIvJHrH8MsE4RQNfMWQ=="},Color:{value:"字型色彩",comment:"Button label for color picker",version:"ZSR6BBl1PNHGAiXYyfyFOw=="},DeleteCol:{value:"刪除欄",comment:"Menu option to delete column to table",version:"KdwEyWDvorWo9POIi4ZsEg=="},DeleteRow:{value:"刪除列",comment:"Menu option to delete row to table",version:"HNt6G95YEKMB64vvyDklHA=="},DeleteTable:{value:"刪除表格",comment:"Menu option to delete table",version:"t1C38w3fJ267Gr6tdoHuQQ=="},EnterText:{value:"輸入一些文字...",comment:"Prompt to user when the text object is empty",version:"PgCz8azF8kkBE7eC4afWjg=="},Heading1:{value:"標頭 1",comment:"HTML Header 1 format for the text",version:"hnjaVlzIU3eTAQZeaBzzzA=="},Heading2:{value:"標頭 2",comment:"HTML Header 2 format for the text",version:"pYerzmSdfRZrsIWHcPZJrA=="},Heading3:{value:"標頭 3",comment:"HTML Header 2 format for the text",version:"xHJCPRmh19YJg/dKSmbuFA=="},InsertHyperlink:{value:"插入連結",comment:"Insert hyperlink label in toolbar menu label. (dfk 221011)",version:"ej9rwxwF6Vh7XrQ28DuWmQ=="},ItalicizeText:{value:"斜體字",comment:"Italicize text label in toolbar menu label. (dfk 221011)",version:"1qaKn3zXIiq9tmUO81pOmw=="},LargeText:{value:"大型文字",comment:"Large text in text size dropdown in toolbar menu label. (dfk 221011)",version:"Ga4ivSCgHaK3NyfLFnD/hw=="},LinkTo:{value:"連結至",comment:"Generic link label. (dfk 221011)",version:"+3NC9+yOccLuyYnxJrdFcQ=="},MediumText:{value:"中型文字",comment:"Medium text in text size dropdown in toolbar menu label. (dfk 221011)",version:"duW4rbX+lr/NEogVsD8MfQ=="},OrderedList:{value:"排序清單",comment:"Ordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"FddCEQTnAmH1gV8D430F/g=="},Paragraph:{value:"段落",comment:"Paragraph format for the text",version:"pHFeBq44ok2V7M2esInoFA=="},SetTextListStyle:{value:"清單樣式",comment:"Set text list style label in toolbar menu label. (dfk 221011)",version:"aIB7vJ7tZ0Nddeg4AaZriQ=="},SmallText:{value:"小型文字",comment:"Small text in text size dropdown in toolbar menu label. (dfk 221011)",version:"KW+o3yZafqHkbzyid96v4g=="},ToggleBorders:{value:"切換框線",comment:"Menu option to toggle table borders",version:"X8/Cbk95LroUwE8LKSnn+A=="},URLLink:{value:"URL 連結",comment:"URL link label. (dfk 221011)",version:"NuOom1L7yZrPKpIzy2/XXg=="},UnderlineText:{value:"底線",comment:"Underline text label in toolbar menu label. (dfk 221011)",version:"5ob75WGKK4whhNVPsicswQ=="},UnorderedList:{value:"未排序清單",comment:"Unordered list in list format dropdown in toolbar menu label. (dfk 221011)",version:"GIyyLYfHs+U9DgkelqqdpA=="}}};function h_(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!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:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m_,g_,v_,b_={};var y_,x_=function(){if(v_)return g_;v_=1;const e=function(){if(m_)return b_;m_=1;var e=Se(),t=re(),n=C();function r(e,n){return e.getEditorState().read((()=>{let e=t.$getNodeByKey(n);return null!==e&&e.isSelected()}))}return b_.useLexicalNodeSelection=function(o){let[i]=e.useLexicalComposerContext(),[l,a]=n.useState((()=>r(i,o)));n.useEffect((()=>{let e=!0,t=i.registerUpdateListener((()=>{e&&a(r(i,o))}));return()=>{e=!1,t()}}),[i,o]);let s=n.useCallback((e=>{i.update((()=>{let n=t.$getSelection();t.$isNodeSelection(n)||(n=t.$createNodeSelection(),t.$setSelection(n)),e?n.add(o):n.delete(o)}))}),[i,o]),u=n.useCallback((()=>{i.update((()=>{const e=t.$getSelection();t.$isNodeSelection(e)&&e.clear()}))}),[i]);return[l,s,u]},b_}();return g_=e}(),__={};var E_=function(){if(y_)return __;y_=1;var e={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},t=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i,n=/^rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(\d(\.\d+)?)\)$/i,r=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i,o=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i,i=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i,l=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i,a=Math.floor,s=Math.round,u=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n,r,o,i,l,u,c,d,f,p,h,m,g=0,v=0,b=0,y=1;if(this._invalid=!1,arguments[0]instanceof t)g=arguments[0]._r,v=arguments[0]._g,b=arguments[0]._b,y=arguments[0]._a,this._invalid=arguments[0]._invalid;else if(arguments.length<3)if("string"==typeof arguments[0])if(h=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m=arguments[0]))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10);else if(h=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(m))y=parseFloat(s(h[1]/2.55)/100),g=parseInt(h[2],10),v=parseInt(h[3],10),b=parseInt(h[4],10);else if(h=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(m))g=parseInt(h[1],10),v=parseInt(h[2],10),b=parseInt(h[3],10),y=parseFloat(h[4]);else if(h=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(m))g=parseInt(h[1],16),v=parseInt(h[2],16),b=parseInt(h[3],16),y=1;else if(h=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(m))g=parseInt(h[1]+h[1],16),v=parseInt(h[2]+h[2],16),b=parseInt(h[3]+h[3],16),y=1;else if(h=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else if(h=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),i=parseFloat(h[5]),y=parseFloat(h[7]),r=(r/=100)<0?0:r>1?1:r,c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(i=(i/=100)<0?0:i>1?1:i)<=.5?2*i*r:(2-2*i)*r)*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=i-.5*u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b)}else if(h=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(m)){switch(n=parseFloat(h[1]),r=parseFloat(h[3]),l=parseFloat(h[5]),c=(n=(n%=360)<0?0:n>360?360:n)/60,d=(u=(l=(l/=100)<0?0:l>1?1:l)*(r=(r/=100)<0?0:r>1?1:r))*(1-Math.abs(c%2-1)),f=[],c=Math.floor(c)){case 0:f=[u,d,0];break;case 1:f=[d,u,0];break;case 2:f=[0,u,d];break;case 3:f=[0,d,u];break;case 4:f=[d,0,u];break;case 5:f=[u,0,d];break;default:f=[0,0,0]}p=l-u,g=f[0]+p,v=f[1]+p,b=f[2]+p,g=s(255*g),v=s(255*v),b=s(255*b),y=1}else e[m.toLowerCase()]?(o=m.toLowerCase(),g=e[o].r,v=e[o].g,b=e[o].b,y="number"==typeof e[o].a?e[o].a:1):this._invalid=!0;else"number"==typeof arguments[0]&&arguments[0]>=0&&"argb"===arguments[1]?(y=(4278190080&arguments[0])>>>24,y/=255,g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):"number"==typeof arguments[0]&&arguments[0]>=0?(g=(16711680&arguments[0])>>16,v=(65280&arguments[0])>>8,b=255&arguments[0]):this._invalid=!0;else arguments.length>=3?(g=arguments[0],v=arguments[1],b=arguments[2],y=arguments.length>=4?arguments[3]:1):this._invalid=!0;Number.isNaN(+g+v+b+y)&&(this._invalid=!0),this._r=a(g),this._g=a(v),this._b=a(b),this._a=y,this._spaces={}}var n,r;return n=t,(r=[{key:"isInvalid",value:function(){return this._invalid}},{key:"setAlpha",value:function(e){this._a=e,this._spaces={}}},{key:"getAlpha",value:function(){return this._a}},{key:"toRGB",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toRGBA",value:function(){return this._spaces.rgba||(this._spaces.rgba=t.toRGBA(this)),this._spaces.rgba}},{key:"toString",value:function(){return this._spaces.rgb||(this._spaces.rgb=t.toRGB(this)),this._spaces.rgb}},{key:"toHex",value:function(){return this._spaces.hex||(this._spaces.hex=t.toHex(this)),this._spaces.hex}},{key:"toHSL",value:function(e){return this._spaces.hsl||(this._spaces.hsl=t.toHSL(this,e)),this._spaces.hsl}},{key:"toHSLA",value:function(e){return this._spaces.hsla||(this._spaces.hsla=t.toHSLA(this,e)),this._spaces.hsla}},{key:"toHSV",value:function(){var e=this.toHSVComponents();return"hsv(".concat(e.h,",").concat(e.s,",").concat(e.v,")")}},{key:"toHSVComponents",value:function(){return this._spaces.hsvComp||(this._spaces.hsvComp=t.toHSVComponents(this)),this._spaces.hsvComp}},{key:"toNumber",value:function(){return this._spaces.num||(this._spaces.num=t.toNumber(this)),this._spaces.num}},{key:"isDark",value:function(){return this.isInvalid()||this.getLuminance()<125}},{key:"getLuminance",value:function(){return void 0===this._lumi&&(this._lumi=.299*this._r+.587*this._g+.114*this._b),this._lumi}},{key:"shiftLuminance",value:function(e){var t=this.toHSLA(),n=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,(\d(\.\d+)?)\)$/i.exec(t),r=parseFloat(n[1]),o=parseFloat(n[3]),i=parseFloat(n[5]),l=parseFloat(n[7]);return i+=e,i=Math.max(0,Math.min(i,100)),"hsla(".concat(r,",").concat(o,",").concat(i,",").concat(l,")")}},{key:"isEqual",value:function(e){return e instanceof t||(e=new t(e)),this._r===e._r&&this._g===e._g&&this._b===e._b}},{key:"blend",value:function(e,t){var n=a(this._r+(e._r-this._r)*t),r=a(this._g+(e._g-this._g)*t),o=a(this._b+(e._b-this._b)*t),i=a(this._a+(e._a-this._a)*t);return"rgba(".concat([n,r,o,i].join(","),")")}},{key:"createShiftedColor",value:function(e){(void 0===e||Number.isNaN(+e))&&(e=1);var n=this.getLuminance(),r=this._g<126?1:1+this._g/512;return new t(this.shiftLuminance(20*(n*r<220?.8+1/(n+1)*4:-(.8+n/255*1))*e))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,"symbol"==typeof(o=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(r.key))?o:String(o),r)}var o}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),t}();return u.toRGB=function(e){if(e instanceof u)return"rgb(".concat([e._r,e._g,e._b].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var t=(65280&e)>>8,n=255&e;return"rgb(".concat((16711680&e)>>16,",").concat(t,",").concat(n,")")},u.toRGBA=function(e,t){if(e instanceof u)return"rgba(".concat([e._r,e._g,e._b,void 0!==t?t:e._a].join(","),")");"string"==typeof e&&(e=u.toNumber(e));var n=(65280&e)>>8,r=255&e;return"rgba(".concat((16711680&e)>>16,",").concat(n,",").concat(r,",").concat(void 0!==t?t:e._a,")")},u.toHex=function(e){var t,n,r;return e instanceof u?(t=e._r.toString(16),n=e._g.toString(16),r=e._b.toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat([t,n,r].join(""))):("string"==typeof e&&(e=u.toNumber(e)),t=((16711680&e)>>16).toString(16),n=((65280&e)>>8).toString(16),r=(255&e).toString(16),1===t.length&&(t="0".concat(t)),1===n.length&&(n="0".concat(n)),1===r.length&&(r="0".concat(r)),"#".concat(t).concat(n).concat(r))},u.toHSL=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var l=e._r/255,a=e._g/255,s=e._b/255,c=Math.max(l,a,s),d=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(c+d)/2,c===d)n=0,i=0;else{switch(o=c-d,n=r>.5?o/(2-c-d):o/(c+d),c){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsl(".concat(360*i,",").concat(100*n,",").concat(100*r,")")},u.toHSLA=function(e,t){var n,r,o,i=0;"string"==typeof e&&(e=new u(e));var l=e._r/255,a=e._g/255,s=e._b/255,c=e._a,d=Math.max(l,a,s),f=Math.min(l,a,s);if(r=t?.21*l+.72*a+.07*s:(d+f)/2,d===f)n=0,i=0;else{switch(o=d-f,n=r>.5?o/(2-d-f):o/(d+f),d){case l:i=(a-s)/o+(a<s?6:0);break;case a:i=(s-l)/o+2;break;case s:i=(l-a)/o+4}i/=6}return"hsla(".concat(360*i,",").concat(100*n,",").concat(100*r,",").concat(c,")")},u.toHSVComponents=function(e){var t,n,r=0;"string"==typeof e&&(e=new u(e));var o=e._r/255,i=e._g/255,l=e._b/255,a=Math.max(o,i,l),s=Math.min(o,i,l),c=a;if(a===s)t=0,r=0;else{switch(t=0==(n=a-s)?0:n/c,a){case o:r=(i-l)/n+(i<l?6:0);break;case i:r=(l-o)/n+2;break;case l:r=(o-i)/n+4}r/=6}return{h:360*r%360,s:100*t,v:100*c}},u.toNumber=function(){if(1===arguments.length&&arguments[0]instanceof u)return(arguments[0]._r<<16)+(arguments[0]._g<<8)+arguments[0]._b;var e,t,n=0,r=0,o=0;return 1===arguments.length&&"string"==typeof arguments[0]&&((e=/^rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)$/i.exec(t=arguments[0]))?(n=parseInt(e[1],10),r=parseInt(e[2],10),o=parseInt(e[3],10)):(e=/^#([A-f0-9]{2})([A-f0-9]{2})([A-f0-9]{2})$/i.exec(t))?(n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16)):(e=/^#([A-f0-9])([A-f0-9])([A-f0-9])$/i.exec(t))&&(n=parseInt(e[1]+e[1],16),r=parseInt(e[2]+e[2],16),o=parseInt(e[3]+e[3],16))),(n<<16)+(r<<8)+o},u.blend=function(e,t,n){var r=(16711680&(e=u.toNumber(e)))>>16,o=(65280&e)>>8,i=255&e;return(r+(((16711680&(t=u.toNumber(t)))>>16)-r)*n<<16)+(o+(((65280&t)>>8)-o)*n<<8)+(i+((255&t)-i)*n)},u.getBlend=function(e,t,n){var r=e._r+(t._r-e._r)*n,o=e._g+(t._g-e._g)*n,i=e._b+(t._b-e._b)*n,l=e._a+(t._a-e._a)*n;return new u(r,o,i,l)},u.isCSSColor=function(a){return!(arguments.length>1||"string"!=typeof a)&&(t.test(a)||n.test(a)||r.test(a)||o.test(a)||i.test(a)||l.test(a)||e[a.toLowerCase()])},u.getBestContrast=function(e,t,n){var r=e.getLuminance();return Math.abs(r-t.getLuminance())>Math.abs(r-n.getLuminance())?t:n},u.getContrast=function(e,t){if(e&&t){var n=e.getLuminance()/100,r=t.getLuminance()/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}},u.isDark=function(){var e={getLuminance:u.prototype.getLuminance,isInvalid:u.prototype.isInvalid};return u.prototype.init.apply(e,[].slice.call(arguments)),u.prototype.isDark.call(e)},u.useDarkLabel=function(e,t){return e._a>.5?!e.isDark():!t},__.Color=u,__}();async function w_(e,t){!async function(e,t){try{if(e&&t){const n=t(await e.getProperties());await e.setProperties(n)}}catch(e){console.error(e)}}(e,(e=>{const{qHyperCubeDef:n}=e;if(n){var r;const e=null===(r=n.qMeasures)||void 0===r?void 0:r.filter((e=>!(null==t?void 0:t.find((t=>{var n;return t===(null==e||null===(n=e.qDef)||void 0===n?void 0:n.cId)})))));n.qMeasures=e,n.qInterColumnSortOrder=[]}return{...e,qHyperCubeDef:n}}))}function C_(e){return{fontWeight:e.fontWeight,fontStyle:e.fontStyle,textDecoration:e.textDecoration,color:e.color,fontSize:e.fontSize,fontFamily:e.fontFamily}}function S_(e,t){return null==t?void 0:t.getNodes().some((t=>t.getKey()===e))}var k_,T_;var N_=function(){if(T_)return k_;T_=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},k_=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,l,a;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),l=1;l<o;l++)i[l-1]=arguments[l];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),l=1;l<o;l++)i[l-1]=arguments[l];for(o=(a=r.slice()).length,l=0;l<o;l++)a[l].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,l;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(l=i;l-- >0;)if(r[l]===n||r[l].listener&&r[l].listener===n){o=l;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},k_}();let R_=[];const A_=new N_.EventEmitter;A_.isSelected=e=>{var t;const n=null==e||null===(t=e.qDef)||void 0===t?void 0:t.cId;return-1!==R_.indexOf(n)},A_.setSelected=e=>{R_!==e&&(R_=e,A_.emit("change"))};function O_({cId:e,initStyle:t,nodeKey:n}){const{layout:r,theme:o,flags:i}=D.useContext(F),[l]=Ct.useLexicalComposerContext(),a=Tt(),[s,u,c]=x_.useLexicalNodeSelection(n),d=D.useRef(null),[f,p]=D.useState(t);D.useEffect((()=>{p(t)}),[t]);const h=D.useMemo((()=>{let e;return s?e="rgba(0, 152, 69, 0.25)":a&&(e="rgba(0, 0, 0, 0.075)"),{backgroundColor:e}}),[s,a]),m=D.useMemo((()=>r&&o?function(e,t){const{qHyperCube:n}=t;if(n){var r;const t=null===(r=n.qMeasureInfo)||void 0===r?void 0:r.findIndex((t=>t.cId===e));if(void 0!==t&&-1!==t){var o,i;const e=null==n||null===(o=n.qDataPages)||void 0===o||null===(o=o[0])||void 0===o||null===(o=o.qMatrix)||void 0===o?void 0:o[0][t];if(1===(null==e||null===(i=e.qAttrExps)||void 0===i||null===(i=i.qValues)||void 0===i?void 0:i.length)){var l;const t=null===(l=e.qAttrExps.qValues[0])||void 0===l?void 0:l.qText;if(t){const n=new E_.Color(t);return{value:(null==e?void 0:e.qText)||"",expressionColor:n.toHex()}}}return{value:(null==e?void 0:e.qText)||""}}}return{value:""}}(e,r):{value:""}),[r]);D.useEffect((()=>Nt.mergeRegister(l.registerCommand(Rt.FORMAT_TEXT_COMMAND,(e=>(l.update((()=>{const t=e,r=Rt.$getSelection();if(Rt.$isRangeSelection(r)&&s){if(S_(n,r)){const e=((e,t)=>{const n={};switch(e){case"bold":n.fontWeight=t;break;case"italic":n.fontStyle=t;break;case"underline":n.textDecoration=t}return n})(t,r.hasFormat(t)?t:"");p((t=>({...t,...e})))}}else if(s&&Rt.$isNodeSelection(r)&&S_(n,r)&&d.current){const e=C_(d.current.style);p(((e,t)=>{const n={};switch(e){case"bold":t.fontWeight?"bold"===t.fontWeight&&(n.fontWeight=""):n.fontWeight="bold";break;case"italic":n.fontStyle="italic"===t.fontStyle?"":"italic";break;case"underline":n.textDecoration="underline"===t.textDecoration?"":"underline"}return{...t,...n}})(t,e))}})),!1)),Rt.COMMAND_PRIORITY_HIGH),l.registerCommand(sx,(e=>(l.getEditorState().read((()=>{if("color"===e.styleKey&&m.expressionColor)return!1;if(d.current&&s){const r=Rt.$getSelection();if(S_(n,r)){var t;const n=C_(null===(t=d.current)||void 0===t?void 0:t.style);n[e.styleKey]=e.styleValue,p(n)}}})),!1)),Rt.COMMAND_PRIORITY_EDITOR),l.registerCommand(ux,(()=>(l.getEditorState().read((()=>{if(d.current&&s){const e=Rt.$getSelection();if(S_(n,e)){const e={};m.expressionColor&&(e.color=m.expressionColor),p(e)}}})),!1)),Rt.COMMAND_PRIORITY_EDITOR),l.registerCommand(Rt.SELECTION_CHANGE_COMMAND,(()=>(null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&l.update((()=>{const e=[],t=Rt.$getSelection(),n=null==t?void 0:t.getNodes();null==n||n.forEach((t=>{null!=t&&t.getExpressionId&&e.push(null==t?void 0:t.getExpressionId())})),A_.setSelected(e)})),!1)),Rt.COMMAND_PRIORITY_LOW))),[l,u,c,s,n,m]),D.useEffect((()=>{a||(c(),null!=i&&i.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE")&&A_.setSelected([]))}),[a,c]),D.useEffect((()=>{l.update((()=>{!function(e,t){const n=Rt.$getNodeByKey(e);var r;n&&(null===(r=n.setFormatStyle)||void 0===r||r.call(n,t))}(n,f)}))}),[f,l]);const g=D.useCallback((e=>{if(a){const t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.left;r>3?(e.preventDefault(),e.stopPropagation(),c(),u(!0)):r<t.width&&l.update((()=>{const e=Rt.$getSelection();if(Rt.$isNodeSelection(e)){const t=Rt.$getNodeByKey(n);null==t||t.selectPrevious(),e.delete(n)}}))}}),[c,a,l]);return z.createElement("span",{style:{...h,...f,color:m.expressionColor?m.expressionColor:f.color},onClick:g,ref:d,id:e},m.value)}const L_="qlik.expression.node";class M_ extends Cy{static getType(){return L_}static clone(e){return new M_(e.__expressionId,e.__formatStyle,e.__key)}static importJSON(e){const t=function(e,t){return new M_(e,t)}(e.expressionId,e.formatStyle);return t}getExpressionId(){return this.__expressionId}exportJSON(){return{expressionId:this.getExpressionId(),formatStyle:this.__formatStyle,type:L_,version:1}}setExported(){this.getWritable().__exported=!0}constructor(e,t,n){super(t,n),h_(this,"__expressionId",void 0),this.__expressionId=e}createDOM(){return document.createElement("span")}exportDOM(e){return super.exportDOM(e)}updateDOM(){return!1}decorate(){return z.createElement(O_,{cId:this.__expressionId,initStyle:this.__formatStyle,nodeKey:this.__key})}isInline(){return!0}isKeyboardSelectable(){return!0}}function P_(e){return e instanceof M_}function I_(){const[e]=Ct.useLexicalComposerContext(),t=Tt(),{edit:n,model:r,emitter:o}=D.useContext(F);return D.useEffect((()=>{const t=()=>{r&&async function(e,t){try{const n=await t.getProperties();n.text=JSON.stringify(e),await t.setProperties(n)}catch(e){console.error(e)}}(e.getEditorState().toJSON(),r)},n=t=>{const n=e.parseEditorState(t);t!==JSON.stringify(e.getEditorState().toJSON())&&e.setEditorState(n)};return null==o||o.on("saveDocument",t),null==o||o.on("reloadData",n),()=>{null==o||o.removeListener("saveDocument",t),null==o||o.removeListener("reloadData",n)}}),[o,r]),D.useEffect((()=>{e.setEditable(n)}),[n]),D.useEffect((()=>{t&&e.focus()}),[t,e]),null}class D_{constructor(){h_(this,"nodeStore",void 0),h_(this,"pendingDeletes",void 0),this.nodeStore=new Map,this.pendingDeletes=[]}update(e,t){if("updated"===t||"created"===t){const n=Rt.$getNodeByKey(e);if(P_(n)&&(this.nodeStore.set(e,n),"created"===t)){const e=this.pendingDeletes.findIndex((e=>n.getExpressionId()===e));-1!==e&&this.pendingDeletes.splice(e,1)}}else if("destroyed"===t){const t=this.nodeStore.get(e);t&&(this.pendingDeletes.push(t.getExpressionId()),this.nodeStore.delete(e))}}sync(){const e=this.pendingDeletes;return this.pendingDeletes=[],e}}function z_(){let e;const{layout:t,readyToPrint:n}=D.useContext(F),[r]=Ct.useLexicalComposerContext();D.useEffect((()=>(e=r.registerUpdateListener((({dirtyElements:r,dirtyLeaves:o,prevEditorState:i})=>{0===r.size&&0===o.size||i.isEmpty()||(()=>{const r=null==n?void 0:n.findIndex((e=>e.id===t.qInfo.qId));r>-1&&(n[r].resolve(),n.splice(r,1),e())})()})),()=>{e()})),[])}function $_(){const{layout:e,emitter:t}=D.useContext(F),[n]=Ct.useLexicalComposerContext(),r=D.useRef(new D_),o=Tt();return z_(),D.useEffect((()=>{const e=n.registerMutationListener(M_,(e=>{n.getEditorState().read((()=>{for(const[t,n]of e)r.current.update(t,n)}))}));return()=>{e()}}),[n]),D.useEffect((()=>{e&&n.update((()=>{var t;const n=null===(t=e.qHyperCube)||void 0===t?void 0:t.qMeasureInfo;if(n){const e=Rt.$nodesOfType(M_),t=((e,t)=>{const n=e.reduce(((e,n)=>{const r=t.find((e=>e.cId===n.getExpressionId()));return r||e.push(n),e}),[]);return n})(e,n);if(t.forEach((e=>{e.remove()})),n.length>e.length){const e=Rt.$getSelection(),{cId:t}=n[n.length-1],r=new M_(t,{}),o=Rt.$createTextNode(" "),i=Rt.$createTextNode("");Rt.$isRangeSelection(e)?e.insertNodes([i,r,o]):Nt.$insertNodeToNearestRoot(r)}}}))}),[e,n]),D.useEffect((()=>n.registerCommand(Rt.KEY_DOWN_COMMAND,(e=>("Backspace"===e.key&&n.update((()=>{const e=Rt.$getSelection();Rt.$isNodeSelection(e)&&e.getNodes().forEach((e=>{P_(e)&&(e.selectPrevious(),e.remove())}))})),!1)),Rt.COMMAND_PRIORITY_LOW)),[n]),D.useEffect((()=>{if(!o){const e=r.current.sync();e.length>0&&(null==t||t.emit("onNodeDestroyed",e))}}),[o,t]),null}const F_=/"/g;function B_(){const{model:e,emitter:t}=D.useContext(F),[n]=Ct.useLexicalComposerContext(),r=D.useRef(new Map);return D.useEffect((()=>{const o=n.registerMutationListener(Rt.TextNode,(e=>{e.forEach(((e,t)=>{if("destroyed"===e)r.current.delete(t);else{var o;const e=null===(o=n.getElementByKey(t))||void 0===o?void 0:o.style.fontFamily;e&&r.current.set(t,e)}}))}));async function i(){if(e){!async function(e,t){try{const n=await t.getProperties();n.fontsUsed=e,await t.setProperties(n)}catch(e){console.error(e)}}(Array.from(new Set(r.current.values())).map((e=>e.replace(F_,""))),e)}}return null==t||t.on("saveDocument",i),()=>{null==t||t.removeListener("saveDocument",i),o()}}),[n]),null}var H_=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],j_=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var W_=Object.prototype.hasOwnProperty,K_=Object.prototype.toString,U_=Object.defineProperty,G_=Object.getOwnPropertyDescriptor,Y_=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===K_.call(e)},V_=function(e){if(!e||"[object Object]"!==K_.call(e))return!1;var t,n=W_.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&W_.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||W_.call(e,t)},Q_=function(e,t){U_&&"__proto__"===t.name?U_(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},q_=function(e,t){if("__proto__"===t){if(!W_.call(e,t))return;if(G_)return G_(e,t).value}return e[t]};function X_(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function J_(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Z_(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}((function e(){var t,n,r,o,i,l,a=arguments[0],s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},s=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});s<u;++s)if(null!=(t=arguments[s]))for(n in t)r=q_(a,n),a!==(o=q_(t,n))&&(c&&o&&(V_(o)||(i=Y_(o)))?(i?(i=!1,l=r&&Y_(r)?r:[]):l=r&&V_(r)?r:{},Q_(a,{name:n,newValue:e(c,l,o)})):void 0!==o&&Q_(a,{name:n,newValue:o}));return a}));var eE=1/.7,tE="\\s*([+-]?\\d+)\\s*",nE="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",rE="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",oE=/^#([0-9a-f]{3,8})$/,iE=new RegExp(`^rgb\\(${tE},${tE},${tE}\\)$`),lE=new RegExp(`^rgb\\(${rE},${rE},${rE}\\)$`),aE=new RegExp(`^rgba\\(${tE},${tE},${tE},${nE}\\)$`),sE=new RegExp(`^rgba\\(${rE},${rE},${rE},${nE}\\)$`),uE=new RegExp(`^hsl\\(${nE},${rE},${rE}\\)$`),cE=new RegExp(`^hsla\\(${nE},${rE},${rE},${nE}\\)$`),dE={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 fE(){return this.rgb().formatHex()}function pE(){return this.rgb().formatRgb()}function hE(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=oE.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?mE(t):3===n?new yE(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?gE(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?gE(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=iE.exec(e))?new yE(t[1],t[2],t[3],1):(t=lE.exec(e))?new yE(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=aE.exec(e))?gE(t[1],t[2],t[3],t[4]):(t=sE.exec(e))?gE(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=uE.exec(e))?SE(t[1],t[2]/100,t[3]/100,1):(t=cE.exec(e))?SE(t[1],t[2]/100,t[3]/100,t[4]):dE.hasOwnProperty(e)?mE(dE[e]):"transparent"===e?new yE(NaN,NaN,NaN,0):null}function mE(e){return new yE(e>>16&255,e>>8&255,255&e,1)}function gE(e,t,n,r){return r<=0&&(e=t=n=NaN),new yE(e,t,n,r)}function vE(e){return e instanceof Z_||(e=hE(e)),e?new yE((e=e.rgb()).r,e.g,e.b,e.opacity):new yE}function bE(e,t,n,r){return 1===arguments.length?vE(e):new yE(e,t,n,null==r?1:r)}function yE(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function xE(){return`#${CE(this.r)}${CE(this.g)}${CE(this.b)}`}function _E(){const e=EE(this.opacity);return`${1===e?"rgb(":"rgba("}${wE(this.r)}, ${wE(this.g)}, ${wE(this.b)}${1===e?")":`, ${e})`}`}function EE(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function wE(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function CE(e){return((e=wE(e))<16?"0":"")+e.toString(16)}function SE(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 kE(e){if(e instanceof TE)return new TE(e.h,e.s,e.l,e.opacity);if(e instanceof Z_||(e=hE(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),l=NaN,a=i-o,s=(i+o)/2;return a?(l=t===i?(n-r)/a+6*(n<r):n===i?(r-t)/a+2:(t-n)/a+4,a/=s<.5?i+o:2-i-o,l*=60):a=s>0&&s<1?0:l,new TE(l,a,s,e.opacity)}function TE(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function NE(e){return(e=(e||0)%360)<0?e+360:e}function RE(e){return Math.max(0,Math.min(1,e||0))}function AE(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}X_(Z_,hE,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:fE,formatHex:fE,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return kE(this).formatHsl()},formatRgb:pE,toString:pE}),X_(yE,bE,J_(Z_,{brighter(e){return e=null==e?eE:Math.pow(eE,e),new yE(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new yE(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new yE(wE(this.r),wE(this.g),wE(this.b),EE(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:xE,formatHex:xE,formatHex8:function(){return`#${CE(this.r)}${CE(this.g)}${CE(this.b)}${CE(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:_E,toString:_E})),X_(TE,(function(e,t,n,r){return 1===arguments.length?kE(e):new TE(e,t,n,null==r?1:r)}),J_(Z_,{brighter(e){return e=null==e?eE:Math.pow(eE,e),new TE(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,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 yE(AE(e>=240?e-240:e+120,o,r),AE(e,o,r),AE(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new TE(NE(this.h),RE(this.s),RE(this.l),EE(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=EE(this.opacity);return`${1===e?"hsl(":"hsla("}${NE(this.h)}, ${100*RE(this.s)}%, ${100*RE(this.l)}%${1===e?")":`, ${e})`}`}}));const OE=Math.PI/180,LE=180/Math.PI,ME=4/29,PE=6/29,IE=3*PE*PE;function DE(e){if(e instanceof zE)return new zE(e.l,e.a,e.b,e.opacity);if(e instanceof jE)return WE(e);e instanceof yE||(e=vE(e));var t,n,r=HE(e.r),o=HE(e.g),i=HE(e.b),l=$E((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=l:(t=$E((.4360747*r+.3850649*o+.1430804*i)/.96422),n=$E((.0139322*r+.0971045*o+.7141733*i)/.82521)),new zE(116*l-16,500*(t-l),200*(l-n),e.opacity)}function zE(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function $E(e){return e>.008856451679035631?Math.pow(e,1/3):e/IE+ME}function FE(e){return e>PE?e*e*e:IE*(e-ME)}function BE(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function HE(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function jE(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function WE(e){if(isNaN(e.h))return new zE(e.l,0,0,e.opacity);var t=e.h*OE;return new zE(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}X_(zE,(function(e,t,n,r){return 1===arguments.length?DE(e):new zE(e,t,n,null==r?1:r)}),J_(Z_,{brighter(e){return new zE(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new zE(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new yE(BE(3.1338561*(t=.96422*FE(t))-1.6168667*(e=1*FE(e))-.4906146*(n=.82521*FE(n))),BE(-.9787684*t+1.9161415*e+.033454*n),BE(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),X_(jE,(function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof jE)return new jE(e.h,e.c,e.l,e.opacity);if(e instanceof zE||(e=DE(e)),0===e.a&&0===e.b)return new jE(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*LE;return new jE(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new jE(e,t,n,null==r?1:r)}),J_(Z_,{brighter(e){return new jE(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new jE(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return WE(this).rgb()}}));var KE,UE=e=>()=>e;function GE(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):UE(isNaN(e)?t:e)}function YE(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function VE(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=qE)):void 0===t&&(t=QE);for(var n,r,o,i,l,a=new ZE(e),s=[a];n=s.pop();)if((o=t(n.data))&&(l=(o=Array.from(o)).length))for(n.children=o,i=l-1;i>=0;--i)s.push(r=o[i]=new ZE(o[i])),r.parent=n,r.depth=n.depth+1;return a.eachBefore(JE)}function QE(e){return e.children}function qE(e){return Array.isArray(e)?e[1]:null}function XE(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function JE(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function ZE(e){this.data=e,this.depth=this.height=0,this.parent=null}!function e(t){var n=function(e){return 1==(e=+e)?GE:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):UE(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=bE(e)).r,(t=bE(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),l=GE(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=l(t),e+""}}return r.gamma=e,r}(1),ZE.prototype=VE.prototype={constructor:ZE,count:function(){return this.eachAfter(YE)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,l=[i],a=[],s=-1;i=l.pop();)if(a.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)l.push(n[r]);for(;i=a.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],l=-1;o=i.pop();)if(e.call(t,o,++l,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return VE(this).eachBefore(XE)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},KE=function(e){
|
|
97
97
|
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
98
98
|
e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,l,a,s,u,c,d,f=e.length,p=e.search(/[0-9\-\+#]/),h=p>0?e.substring(0,p):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),v=f-g,b=e.substring(v,v+1),y=v+("."===b||","===b?1:0),x=g>0?e.substring(y,f):"";if(n=(t="-"===(e=e.substring(p,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",a=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=a)&&(t=(+t).toFixed(a+1)),c=e[0].split(i),e[0]=c.join(""),(l=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-l;)u[0]="0"+u[0];else 0==+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],s=c[1]&&c[c.length-1].length){for(m="",v=(d=t[0]).length%s,f=d.length,y=0;y<f;y++)m+=d.charAt(y),!((y-v+1)%s)&&y<f-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},KE({exports:{}});const ew=e=>`text-toolbar.${null==e?void 0:e.id}`;function tw(){const{element:e,edit:t,model:n,flags:r,theme:o}=D.useContext(F),i=D.useMemo((()=>(null==e?void 0:e.closest(".qv-inner-object"))||e),[e]),l=D.useMemo((()=>function(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?j_:H_}(r)),[r]),a=D.useMemo((()=>(e=>{const t=null==e?void 0:e.getDataColorPickerPalettes();if(t&&(null==t?void 0:t.length)>0)return["#404040",...t[0].colors.filter((e=>"none"!==e))]})(o)),[o]);return z.createElement(Zu,{open:t,anchorEl:i,placement:"top",transition:!0,sx:{zIndex:1},id:ew(n)},(({TransitionProps:e})=>z.createElement(Oc,{...e},z.createElement(_u,{sx:{borderRadius:1,padding:.25}},z.createElement(Uy,null,z.createElement(nx,{compact:!0}),z.createElement(Zx,null),z.createElement(Bx,{compact:!0,fonts:l}),z.createElement(Kx,{compact:!0}),z.createElement(Zx,null),z.createElement(ax,null),z.createElement(Vx,null),z.createElement(Jx,null),z.createElement(qx,null),z.createElement(Fx,{colorPalette:a}),z.createElement(Zx,null),z.createElement(Xy,{compact:!0}),z.createElement(Zx,null),z.createElement(dx,null),z.createElement(Zx,null),z.createElement(Gx,null))))))}function nw({interactionState:e}){const{initialData:t,lang:n,flags:r}=D.useContext(F),o=!(!1===(null==e?void 0:e.edit)&&null!=r&&r.isEnabled("GV_661_SN_TEXT_REMOVE_ICON_ANALYSIS_MODE"));D.useEffect((()=>{!function(e){const t=Object.entries(p_[e.toLowerCase()]).reduce(((e,[t,n])=>({...e,[t]:n.value})),{});rv.append(t)}(n)}),[n]);const i=D.useMemo((()=>{if(void 0!==t){return(e=>{var t;let n=jb.nodes;e.nodes&&(n=null===(t=jb.nodes)||void 0===t?void 0:t.concat(e.nodes));const r=e.initialData?e.initialData:void 0;return{...jb,nodes:n,editorState:r}})({initialData:t||void 0,nodes:[...Sy,M_]})}return null}),[t]);return i?z.createElement("div",{className:"hideScrollBar"},z.createElement(Wb,{initialConfig:i,flags:r},z.createElement(tw,null),z.createElement($y,{showPlaceholder:o}),z.createElement(Dy,null),z.createElement($_,null),z.createElement(I_,null),z.createElement(B_,null))):null}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".hideScrollBar {\n overflow-y: scroll;\n -ms-overflow-style: none; /* Internet Explorer and Edge */\n scrollbar-width: none; /* Firefox */\n height: 100%;\n position: relative;\n}\n\n.hideScrollBar::-webkit-scrollbar {\n display: none;\n}\n");const rw={uses:"data",addTranslation:"Properties.AddData",items:{dimensions:{disableRef:"",show:!1},measures:{ref:"qHyperCubeDef.qMeasures",disabledRef:"",selections:A_,items:{divider:{uses:"divider"},aggrFunc:{ref:"qDef.qAggrFunc",type:"string",defaultValue:"None",show:!1},measureColoring:{translation:"properties.color",component:"attribute-expression-reference",defaultValue:[],ref:"qAttributeExpressions",items:[{component:"expression",ref:"qExpression",expressionType:"measure",translation:"Object.Table.Measure.ForegroundExpression",defaultValue:"",id:"expressionColor"}]}}}}},ow={uses:"settings",items:{general:{items:{showTitles:{defaultValue:!1}}},presentation:{type:"items",translation:"properties.presentation",items:{styleEditor:{component:"styling-panel",chartTitle:"Object.Text",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",ref:"components",useGeneral:!0,useBackground:!0}}}}};class iw{constructor(){h_(this,"selectedModelId",void 0),h_(this,"getSelectedModelId",(()=>this.selectedModelId)),h_(this,"snTexts",{}),h_(this,"getSnTexts",(()=>this.snTexts)),h_(this,"sync",(({modelId:e})=>{this.snTexts[e]={propertiesHaveBeenModified:!1}})),h_(this,"setSelectedModelId",(e=>{this.selectedModelId=e})),h_(this,"setPropertiesHaveBeenModified",((e,t)=>{this.snTexts[e]={propertiesHaveBeenModified:t}})),h_(this,"setPropertiesHaveBeenModifiedForSelectedModel",(e=>{this.selectedModelId&&(this.snTexts[this.selectedModelId]={propertiesHaveBeenModified:e})})),h_(this,"destroy",(e=>{delete this.snTexts[e]}))}}function lw(f){const m=new iw,{flags:g}=f,v=[];return{qae:{properties:p,data:h(m)},component(){const f=n(),p=(n=>{const r=e((()=>I.createRoot(n)),[n]);return t((()=>()=>{null==r||r.unmount()}),[r]),r})(f),h=r(),b=o(),y=i(),x=l(),_=a(),[E,w]=s(!1),[C,S]=s(void 0),[k,T]=s(1),N=u(),[R,A]=s(!1),[O,L]=s(null);c((()=>new Promise((e=>{var t;const n={id:null==h||null===(t=h.qInfo)||void 0===t?void 0:t.qId,resolve:e};v.push(n)}))),[]);const M=e=>{e||T(0),(e=>!!e.qExtendsId)(h)||(!0===e&&A(!0),w(e),x.emit("njs-internal-edit-change",e))};t((()=>{const e=e=>{w_(b,e)};return x.on("onNodeDestroyed",e),()=>{x.removeListener("onNodeDestroyed",e)}}),[x,b]),t((()=>{2===k&&y.edit&&y.select&&M(!0)}),[k,y]),t((()=>{h&&void 0===C&&(S(h.text||null),L(null==h?void 0:h.text))}),[h,C]),t((()=>{const e=()=>{y.edit&&y.select&&T((e=>e+1))},t=e=>{const t=document.getElementById(ew(b));f.contains(e.target)||null!=t&&t.contains(e.target)||(e=>{const t=document.getElementsByClassName("tekPopperMenu"),n=document.getElementById("tekTableMenu");if(null!=n&&n.contains(e))return!0;for(let n=0;n<t.length;n++)if(t[n].contains(e))return!0;return!1})(e.target)||M(!1)};if(!y.edit||!y.select){var n;M(!1);const e=(null==b?void 0:b.id)&&(null===(n=m.getSnTexts()[b.id])||void 0===n?void 0:n.propertiesHaveBeenModified);(R||e)&&(x.emit("saveDocument"),m.setPropertiesHaveBeenModified(b.id,!1))}return f.addEventListener("click",e),document.addEventListener("mousedown",t),()=>{f.removeEventListener("click",e),document.removeEventListener("mousedown",t)}}),[f,y,b]),t((()=>{(({rootElement:e,layout:t,model:n,element:r,edit:o,initialData:i,emitter:l,lang:a,flags:s,theme:u,interactionState:c,readyToPrint:d})=>{e.render(z.createElement(z.StrictMode,null,z.createElement(F.Provider,{value:{layout:t,model:n,element:r,edit:o,initialData:i,emitter:l,lang:a,flags:s,theme:u,readyToPrint:d}},z.createElement(nw,{interactionState:c}))))})({rootElement:p,layout:h,model:b,element:f,edit:E,initialData:C,emitter:x,lang:_.language(),flags:g,theme:N,interactionState:y,readyToPrint:v})}),[h,p,b,f,E,f,C,x,g,N,y]),t((()=>{!E&&R&&x.emit("saveDocument")}),[E,x,R]),t((()=>{if(h){const e=h;e.text&&e.text!==O&&(L(e.text),x.emit("reloadData",e.text))}}),[h,O,x]),d((()=>({updateActiveState(e){e?m.setSelectedModelId(b.id):b.id===m.getSelectedModelId()&&m.setSelectedModelId(void 0)}})),[])},ext:{definition:{type:"items",component:"accordion",items:{data:rw,settings:ow}},exportProperties:null,importProperties:null,support:{snapshot:!0,export:!0,sharing:!0,exportData:!0,viewData:!1}}}}export{lw as default};
|